]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix missing <math_private.h> in ldbl-96 fma
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dacdc867
AS
12014-08-04 Andreas Schwab <schwab@suse.de>
2
3 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4
41f725ff
MF
52014-08-03 Mike Frysinger <vapier@gentoo.org>
6
7 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8 (main): Likewise.
9
277cfb31
RM
102014-08-01 Roland McGrath <roland@hack.frob.com>
11
12 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13
4896f049
RH
142014-08-01 Richard Henderon <rth@redhat.com>
15
16 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
18 typo in exact zero test.
19 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22
6f64e7d7
RM
232014-08-01 Roland McGrath <roland@hack.frob.com>
24
25 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27 * sysdeps/arm/sysdep.h: ... here.
28 [!__ASSEMBLER__]: Include <stdint.h>.
29
3f3dd810
SP
302014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31
a476ac4b
SP
32 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33 (HAVE_WCTYPE_H): Likewise.
34 (HAVE_ISWCTYPE): Likewise.
35 (ENABLE_NLS): Likewise.
36 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
37 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38
78dd658a
SP
39 * posix/regex_internal.c: Check if DEBUG is defined and is
40 set.
41
3f3dd810
SP
42 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43 (HAVE_MBSRTOWCS): Likewise.
44 * posix/fnmatch.c: Include string.h unconditionally.
45
95ee7fb1
SL
462014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47
48 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
49 reversal.
50
23fe486b
RM
512014-07-31 Roland McGrath <roland@hack.frob.com>
52
f61a113f
RM
53 * sysdeps/generic/safe-fatal.h: New file.
54 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
55 * nptl/forward.c: Include it.
56 (__pthread_unwind): Use __safe_fatal as default action, rather
57 than a bogus use of INTERNAL_SYSCALL that could never work.
58
9fe7e787
RM
59 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
60 * configure.ac (libc_cv_builtin_trap): New test.
61 * configure: Regenerated.
62 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
63 (ABORT_INSTRUCTION): Define using __builtin_trap.
64
23fe486b
RM
65 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
66 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
67 * sysdeps/nptl/nptl-signals.h: New file.
68 * nptl/pthreadP.h: Include <nptl-signals.h>.
69
f349489e
SL
702014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
71
72 * sysdeps/s390/s390-64/utf16-utf32-z9.c
73 (ONE_DIRECTION): Define.
74 * sysdeps/s390/s390-64/utf8-utf16-z9.c
75 (ONE_DIRECTION): Define.
76 * sysdeps/s390/s390-64/utf8-utf32-z9.c
77 (ONE_DIRECTION): Define.
78
2f438e20
SL
792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
80
81 * sysdeps/s390/Makefile: Delete file.
82 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
83 * sysdeps/s390/__longjmp.c: Delete file.
84 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
85 Remove fields __flags and __reserved.
86 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
87 and add versioning.
88 * sysdeps/s390/rtld-__longjmp.c: Delete file.
89 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
90 * sysdeps/s390/rtld-setjmp.S: Likewise.
91 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
92 * sysdeps/s390/s390-32/__longjmp.c: ... here.
93 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
94 * sysdeps/s390/s390-32/setjmp.S: ... here.
95 Add versioning.
96 (__sigsetjmp): Remove setting __flags field.
97 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
98 * sysdeps/s390/s390-64/__longjmp.c: ... here.
99 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
100 * sysdeps/s390/s390-64/setjmp.S: ... here.
101 Add versioning.
102 (__sigsetjmp): Remove setting __flags field.
103 * sysdeps/s390/setjmp.S: Delete file.
104 * sysdeps/s390/sigjmp.c: Likewise.
105 * sysdeps/s390/v1-longjmp.c: Likewise.
106 * sysdeps/s390/v1-setjmp.h: Likewise.
107 * sysdeps/s390/v1-sigjmp.c: Likewise.
108 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
109 Remove v1-longjmp_chk.
110 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
111 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
112 Include debug/longjmp_chk.c and add versioning.
113 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
114 Include nptl/pt-longjmp.c and add versioning.
115 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
116 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
117 Include __longjmp.c.
118 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
119 Move to ...
120 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
121 (__getcontext): Remove setting __flags field.
122 Add versioning.
123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
124 Don't restore upper high grps.
125 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
126 Likewise.
127 (__swapcontext): Remove setting uc_flags field.
128 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
129 Delete file.
130 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
131 Include __longjmp.c.
132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
133 Move to ...
134 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
135 (__getcontext): Remove setting __flags field.
136 Add versioning.
137 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
138 (__swapcontext): Remove setting uc_flags field.
139 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
141 Remove fields uc_high_gprs and __reserved.
142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
143 New file with reverted content.
144 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
146 Regenerated.
147 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
148 Regenerated.
149
6c9578a2
AS
1502014-07-31 Andreas Schwab <schwab@suse.de>
151
152 * config.h.in (HAVE_IFUNC): Define to 0.
153 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
154 definedness.
155
05f3633d
LM
1562014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
157
158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
159 memmove-avx-unaligned, memcpy-avx-unaligned and
160 mempcpy-avx-unaligned.
161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
162 Add tests for AVX memcpy functions.
163 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
165 memcpy_chk.
166 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
167 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
168 memmove_chk.
169 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
170 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
171 mempcpy_chk.
172 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
173 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
174 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
175
a53fbd8e
AZ
1762013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 [BZ #17213]
179 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
180 powerpc64le.
181
0961f7e1
JL
1822014-07-29 Jeff Layton <jlayton@poochiereds.net>
183
184 [BZ #16839]
185 * manual/llio.texi: Add section about open file description locks.
186 * manual/examples/ofdlocks.c: Example of open file description
187 lock usage.
188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
189 F_OFD_SETLK, and F_OFD_SETLKW.
190
cc5fb300
AM
1912014-07-23 Allan McRae <allan@archlinux.org>
192
193 * po/es.po: Update Spanish translation from translation project.
194
23329dca
AS
1952014-07-18 Andreas Schwab <schwab@linux-m68k.org>
196
197 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
198
9c82da17
MR
1992014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
200
201 [BZ #17078]
202 * sysdeps/arm/dl-machine.h (elf_machine_rela)
203 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
204 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
205
29c4f53e
JM
2062014-07-17 Joseph Myers <joseph@codesourcery.com>
207
831b9896
JM
208 [BZ #17088]
209 * math/fesetenv.c (__fesetenv)
210 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
211 * math/feupdateenv.c (__feupdateenv)
212 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
213
b21c2d50
JM
214 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
216 (__ASSUME_SOCKETCALL): Do not define.
217
067764ef
JM
218 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
219 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
220 (__ASSUME_SOCKETCALL): Do not define.
221 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
222 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
223 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
224 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
226 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
227 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
228 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
229
642530c1
JM
230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
231 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
232 (__ASSUME_SOCKETCALL): Do not define.
233 (__ASSUME_IPC64): Define unconditionally.
234 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
235 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
236 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
237 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
238 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
239 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
240 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
241 Likewise.
242
03f77315
JM
243 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
244 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
245 (__ASSUME_SOCKETCALL): Do not define.
246 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
247 (__ASSUME_FUTEX_LOCK_PI): Likewise.
248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
249 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
250 (__ASSUME_REQUEUE_PI): Define unconditionally.
251 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
252 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
253 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
254 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
255 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
256 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
257
083b1f7c
JM
258 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
259 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
260 (__ASSUME_SOCKETCALL): Do not define.
261 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
262 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
263 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
264 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
265 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
266 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
267
5be44ea6
JM
268 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
269 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
270 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
271 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
272 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
273 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
275 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
276 (__ASSUME_GETCPU_SYSCALL): Likewise.
277
d95ffd4c
JM
278 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
279 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
280 cases for individual architectures.
281 * sysdeps/gnu/configure: Regenerated.
282 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
283 LIBC_SLIBDIR_RTLDDIR.
284 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
285 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
286 LIBC_SLIBDIR_RTLDDIR.
287 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
289 LIBC_SLIBDIR_RTLDDIR.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
291 Regenerated.
292 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
293 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
294 file.
295 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
296 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
297 file.
298 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
299 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
300 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
302
29c4f53e
JM
303 * sysdeps/aarch64/shlib-versions: Move to ...
304 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
305 * sysdeps/alpha/shlib-versions: Move to ...
306 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
307 * sysdeps/arm/shlib-versions: Move to ...
308 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
309 * sysdeps/hppa/shlib-versions: Move all contents except for
310 libgcc_s entry to ...
311 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
312 entry from ...
313 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
314 * sysdeps/ia64/shlib-versions: Move to ...
315 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
316 entry from ...
317 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
318 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
319 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
320 * sysdeps/microblaze/shlib-versions: Move to ...
321 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
322 * sysdeps/mips/shlib-versions: Move to ...
323 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
324 entry from ...
325 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
326 * sysdeps/tile/shlib-versions: Move to ...
327 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
328 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
329 from ...
330 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
331 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
332 entry from ...
333 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
334
32bead5b
WN
3352014-07-17 Will Newton <will.newton@linaro.org>
336
57977c4b
WN
337 * sysdeps/arm/bits/atomic.h
338 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
339 (__arch_compare_and_exchange_bool_16_int): Likewise.
340 (__arch_compare_and_exchange_bool_64_int): Likewise.
341
32bead5b
WN
342 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
343 into an #else block.
344
37fccd41
RM
3452014-07-16 Roland McGrath <roland@hack.frob.com>
346
347 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
348 just Linux configurations. Test empirically that the compiler sets
349 __ARM_EABI__, rather than using the tuple to decide.
350 * sysdeps/arm/preconfigure: Regenerated.
351 * sysdeps/unix/sysv/linux/arm/configure: File removed.
352 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
353 contents appended ...
354 * sysdeps/arm/configure.ac: ... here.
355 * sysdeps/arm/configure: Regenerated.
356
b365f3ec
RM
3572014-07-15 Roland McGrath <roland@hack.frob.com>
358
8badf496
RM
359 * nptl/pthread_kill.c: New file.
360 * nptl/pthread_sigmask.c: New file.
361 * nptl/pthread_sigqueue.c: New file.
362
3df6f22e
RM
363 * sysdeps/nptl/lowlevellock.h: New file.
364 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
365 * sysdeps/nptl/lowlevellock-futex.h: New file.
366
b365f3ec
RM
367 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
368 Remove dead declarations.
369
f2fef657
L
3702014-07-14 H.J. Lu <hongjiu.lu@intel.com>
371
372 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
373 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
374 config-cflags-avx2.
375 * sysdeps/x86_64/configure.ac: Likewise.
376 * sysdeps/i386/configure: Regenerated.
377 * sysdeps/x86_64/configure: Likewise.
378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
379 memset-avx2 only if config-cflags-avx2 is yes.
380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
381 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
382 defined.
383 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
384 only if HAVE_AVX2_SUPPORT is defined.
385 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
386
f6c44d47
AM
3872014-07-14 Alan Modra <amodra@gmail.com>
388
389 [BZ #17153]
390 * elf/elf.h (DT_PPC64_NUM): Correct value.
391 * NEWS: Add to fixed bug list.
392
7ee03f00
JM
3932014-07-13 Jim Meyering <meyering@fb.com>
394
395 [BZ 17150]
396 regex: don't deref NULL upon heap allocation failure
397 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
398 failure in one more place.
399 To trigger the segfault, configure grep -with-included-regex,
400 build it, and run these commands:
401 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
402
9d39d517
AS
4032014-07-13 Andreas Schwab <schwab@linux-m68k.org>
404
405 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
406
a75b89b7
RH
4072014-07-11 Richard Henderson <rth@redhat.com>
408
409 * sysdeps/aarch64/libm-test-ulps: Update.
410
771eb141
FW
4112014-07-10 Florian Weimer <fweimer@redhat.com>
412
413 [BZ #17135]
414 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
415 * nptl/allocatestack.c (__nptl_setxid_error): New function.
416 (__nptl_setxid): Initialize error member. Call
417 __nptl_setxid_error.
418 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
419 * nptl/descr.h (struct xid_command): Add error member.
420 * nptl/tst-setuid3.c: New file.
421 * nptl/Makefile (tests): Add it.
422
bc1da176
AZ
4232014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
426 New define.
427 (__lll_trylock): Use __lll_base_trylock.
428 (__lll_cond_trylock): Likewise.
429
887865fc
RM
4302014-07-10 Roland McGrath <roland@hack.frob.com>
431
c0c6bac9
RM
432 * nptl/pthread_create.c (start_thread): Use atomic_or and
433 lll_futex_wake directly rather than lll_robust_dead.
434 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
435 (lll_robust_dead): Macro removed.
6a42be57 436 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
437 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
438 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
439 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
440 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
441 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
442 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
443 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
444 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
446 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
447 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
448 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
449 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
451
887865fc
RM
452 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
453 Use atomic_compare_and_exchange_val_acq directly rather than
454 lll_robust_trylock.
455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
456 (__lll_robust_trylock, lll_robust_trylock): Removed.
457 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
458 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
459 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
460 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
461 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
462 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
463 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
464 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
466 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
468 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
469 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
471
58536726
FW
4722014-07-02 Florian Weimer <fweimer@redhat.com>
473
474 * manual/locale.texi (Locale Names): New section documenting
475 locale name syntax. Adjust menu and node chaining accordingly.
476 (Choosing Locale): Reference Locale Names, Locale Categories.
477 Mention setting LC_ALL=C. Reflect that name syntax is now
478 documented.
479 (Locale Categories): New section title. Reference Locale Names.
480 LC_ALL is an environment variable, but not a category.
481 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
482 description, now in Locale Name. Reference that section. Locale
483 name syntax is now documented.
484
4e8f95a0
FW
4852014-07-02 Florian Weimer <fweimer@redhat.com>
486
487 [BZ #17137]
488 * locale/findlocale.c (name_present, valid_locale_name): New
489 functions.
490 (_nl_find_locale): Use the loc_name variable to store name
491 candidates. Call name_present and valid_locale_name to check and
492 validate locale names. Return an error if the locale is invalid.
493
d1836456
FW
4942014-07-02 Florian Weimer <fweimer@redhat.com>
495
496 * locale/setlocale.c (setlocale): Use strdup for allocating
497 composite name copy.
498
d69b7f5a
SP
4992014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
500
888c679b
SP
501 Sync up with gnulib.
502 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
503 [!_LIBC && ENABLE_NLS]: Include gettext.h.
504 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
505 and _GL_ARG_NONNULL.
506 [USE_UNLOCKED_IO]: Include unlocked-io.h.
507 [!_LIBC]: Include code for Windows and Cygwin.
508 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
509 Include prototype for int strerror_r.
510 [!_LIBC] (is_open): New function.
511 (flush_stdout): New function.
512 (print_errno_message): Use it.
513 (error): Likewise.
514 (error_at_line): Likewise.
515 (error_tail) Add function attribute macros. Use
516 __builtin_expect.
517
180e0e4b
SP
518 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
519
d22f1fe2
SP
520 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
521
12f2254b
SP
522 * io/ftw.c: Include sys/param.h unconditionally.
523
c3c7c360
SP
524 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
525
d62aa75a
SP
526 [BZ #17125]
527 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
528 libc_freeres_ptr.
529 (freecache): New function to free CACHE on exit.
530
d69b7f5a
SP
531 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
532 initialization.
533
5efe06a1
DM
5342014-07-09 David S. Miller <davem@davemloft.net>
535
536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
537
7000d82e
DM
538 * sysdeps/sparc/nptl/internaltypes.h: Delete.
539 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
540 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
541 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
542 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
543 * sysdeps/sparc/nptl/sem_init.c: Likewise.
544 * sysdeps/sparc/nptl/sem_post.c: Likewise.
545 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
546 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
547 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
548 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
549 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
550 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
551
c213442d
AS
5522014-07-09 Andreas Schwab <schwab@suse.de>
553
4a2552c3
AS
554 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
555 output.
556 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
557 (do_test): Likewise.
558
c213442d
AS
559 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
560
82374e65
WN
5612014-07-09 Will Newton <will.newton@linaro.org>
562
563 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
564 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
565 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
566 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
567 * sysdeps/hppa/start.S (_start): Likewise.
568
6680738a
SP
5692014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
570
6ee3eab4
SP
571 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
572
6680738a
SP
573 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
574 defined.
575
80b5c505
SP
5762014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
577
e35c53e3
SP
578 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
579 after checking that it is non-NULL.
580
80b5c505
SP
581 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
582
91f4b564
AZ
5832014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
584
27b75f56
AZ
585 * sysdeps/powerpc/memmove.c: Remove file.
586 * sysdeps/powerpc/powerpc32/power4/memcopy.h
587 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
588 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
589 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
591 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
593 string memmove instead of removed powerpc one.
594
e7f95bb5
AZ
595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
596 [weak_alias]: Fix compiler warning due trailing data.
597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
598 [weak_alias]: Likewise.
599 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
600 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
601
91f4b564
AZ
602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
603 (__libc_ifunc_impl_list): Add memmove functions.
604
7c33f1e5
SP
6052014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
606
607 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
608 Remove code.
609 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
610 Likewise
611 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
612 Likewise
613 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
614 Likewise
615 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
616 Likewise
617 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
618 Likewise
619 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
620 Likewise
621 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
622 Likewise
623 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
624 Likewise
625 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
626 Likewise
627 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
628 Likewise
629 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
630 Likewise
631 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
632 Likewise
633 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
634 Likewise
635 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
636 Likewise
637 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
638 Likewise
639 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
640 Likewise
641
3f17b03b
AZ
6422014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
643
87868c24
AZ
644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
645 to avoid alignment traps in non-cacheable memory.
646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
647
07aedd78
AZ
648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
649 multiarch objects.
650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
651 file: multiarch power7 memmove.
652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
653 multiarch default memmove.
654 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
655 multiarch memove for powerpc32/power4.
656
17762f66
AZ
657 * string/bcopy.c: Use full path to include memmove.c.
658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
659 multiarch objects.
660 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
661 bcopy for powerpc64.
662 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
663 bcopy for powerpc64.
664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
665 and memmove implementations.
666 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
667 optimized multiarch memmove for POWER7/powerpc64.
668 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
669 default multiarch memmove for powerpc64.
670 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
671 multiarch for powerpc64.
672 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
673 for POWER7/powerpc64.
674 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
675 memmove for POWER7/powerpc64.
676
d6f68bbe
AZ
677 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
678 glibc default one.
679
3f17b03b
AZ
680 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
681 __ELF_NATIVE_CLASS equal to 64.
682
08192659
RM
6832014-07-07 Roland McGrath <roland@hack.frob.com>
684
f4c4021b
RM
685 * sysdeps/nptl/lowlevellock.h: File removed.
686
f083450f
RM
687 * NEWS: NPTL is no longer an add-on!
688 * nptl/internaltypes.h: Moved ...
689 * sysdeps/nptl/internaltypes.h: ... here.
690 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
691 * sysdeps/nptl/fork.c: Likewise.
692 * sysdeps/nptl/gai_misc.h: Likewise.
693 * sysdeps/nptl/librt-cancellation.c: Likewise.
694 * sysdeps/nptl/jmp-unwind.c: Likewise.
695 * sysdeps/nptl/setxid.h: Likewise.
696 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
697 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
698 * sysdeps/unix/sysv/linux/arm/Implies: New file.
699 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
700 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
701 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
702 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
703 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
704 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
705 * sysdeps/unix/sysv/linux/mips/Implies: New file.
706 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
707 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
708 * sysdeps/unix/sysv/linux/sh/Implies: New file.
709 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
710 * sysdeps/unix/sysv/linux/tile/Implies: New file.
711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
712 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
713 * nptl/Makeconfig: Moved ...
714 * sysdeps/nptl/Makeconfig: ... here.
715 * nptl/configure: File removed.
716 * nptl/ANNOUNCE: File removed.
717 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
718 * sysdeps/unix/sysv/linux/configure: Regenerated.
719
08192659
RM
720 * nptl/Makefile (routines): Add libc_pthread_init,
721 libc_multiple_threads, register-atfork and unregister-atfork.
722 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
723 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
724 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
725 pthread-pi-defines.sym, structsem.sym.
726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
727 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
728 [$(subdir) = nptl] (tests): Add tst-setgetname.
729 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
730 * sysdeps/unix/sysv/linux/sigaction.c: Just include
731 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
732 [!LIBC_SIGACTION]: Remove aliases.
733 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
734 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
735 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
736 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
737 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
738 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
742 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
743 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
744 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
745 __libc_allocate_rtsig_private.
746 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
747 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
748 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
749 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
750 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
751 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
752 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
753 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
754 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
755 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
756 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
757 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
758 * nptl/internaltypes.h: ... here.
759 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
760 * sysdeps/nptl/jmp-unwind.c: ... here.
761 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
762 * nptl/libc-lowlevellock.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
764 * nptl/libc_multiple_threads.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
766 * nptl/libc_pthread_init.c: ... here.
767 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
768 * nptl/lowlevelbarrier.sym: ... here.
769 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
770 * nptl/lowlevelcond.sym: ... here.
771 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
772 * nptl/lowlevellock.c: ... here.
773 * nptl/lowlevellock.h: Moved ...
774 * sysdeps/nptl/lowlevellock.h: ... here.
775 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
776 * nptl/lowlevelrobustlock.c: ... here.
777 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
778 * nptl/lowlevelrobustlock.sym: ... here.
779 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
780 * nptl/lowlevelrwlock.sym: ... here.
781 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
782 * nptl/pt-fork.c: ... here.
783 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
784 * nptl/pthread-pi-defines.sym: ... here.
785 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
786 * nptl/pthread_attr_getaffinity.c: ... here.
787 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
788 * nptl/pthread_attr_setaffinity.c: ... here.
789 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
790 * nptl/pthread_mutex_cond_lock.c: ... here.
791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
792 Update #include.
793 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
794 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
795 * nptl/pthread_once.c: ... here, replacing old file.
796 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
797 * nptl/pthread_yield.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
799 * nptl/register-atfork.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
801 * nptl/sem_post.c: ... here.
802 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
803 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
804 * nptl/sem_timedwait.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
806 * nptl/sem_trywait.c: ... here.
807 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
808 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
809 * nptl/sem_wait.c: ... here.
810 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
811 * nptl/structsem.sym: ... here.
812 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
813 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
814 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
815 * nptl/unregister-atfork.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
817 * nptl/unwindbuf.sym: ... here.
818 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
819 * sysdeps/nptl/fork.c: ... here.
820 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
821 * sysdeps/nptl/fork.h: ... here.
822 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
823 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
824 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
825 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
826 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
828 * sysdeps/unix/sysv/linux/getpid.c: ... here.
829 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
830 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
831 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
832 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
833 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
834 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
835 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
836 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
837 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
838 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
839 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
840 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
841 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
842 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
843 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
844 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
845 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
846 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
847 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
848 * sysdeps/unix/sysv/linux/raise.c: ... here.
849 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
850 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
851 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
852 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
853 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
854 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
855 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
856 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
857 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
858 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
859 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
860 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
861 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
862 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
863 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
864
96baf6ff
SP
8652014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
866
867 * sysdeps/generic/memcopy.h: Add comment for
868 MEMCPY_OK_FOR_FWD_MEMMOVE.
869
6b7b14b2
WN
8702014-07-04 Will Newton <will.newton@linaro.org>
871
1570a72b
WN
872 * string/memchr.c: Merge from gnulib.
873 [_LIBC]: Remove conditionals.
874 (__ptr_t): Remove define.
875 (LONG_MAX_32_BITS): Likewise.
876 (LONG_MAX): Likewise.
877 (MEMCHR): Use ANSI prototype and optimize algorithm.
878
6b7b14b2
WN
879 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
880
38851324
SP
8812014-07-03 Roland McGrath <roland@hack.frob.com>
882
3d9eb57c
RM
883 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
884 (lll_futex_timed_wait_bitset): Fix syscall argument count.
885
78b984ae
RM
886 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
887 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
888 in a bare environment with no <stdlib.h> installed.
889 * sysdeps/nptl/configure: Regenerated.
890
2d5976a5
RM
891 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
892
c1f5acd4
RM
893 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
894 AC_EGREP_CPP for kernel header checks, so they only succeed if
895 including <linux/version.h> actually works right.
896 * sysdeps/unix/sysv/linux/configure: Regenerated.
897
4d614fe5
RM
898 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
899 value so it's not diagnosed as unused.
900
38851324
SP
901 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
902 thing) with "ifeq ($(subdir),rt)".
903
b3ec00e5
RH
9042014-07-03 Richard Henderson <rth@redhat.com>
905
69862e25
RH
906 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
907 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
908 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
909
d5e16ade
RH
910 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
911 (math_force_eval): New.
912
ca7b945c
RH
913 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
914 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
915
cd1175a3
RH
916 * sysdeps/alpha/fpu/s_round.c: Remove file.
917 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
918
b3ec00e5
RH
919 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
920 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
921 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
922 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
923 (_dl_start, print_statistics): Likewise.
924 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
925 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
926
927 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
928 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
929 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
930 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
932 (HP_SMALL_TIMING_AVAIL): Define.
933 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
935 (HP_SMALL_TIMING_AVAIL): Define.
936 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
937 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
938
939 * sysdeps/aarch64/hp-timing.h: New file.
940
941 * sysdeps/generic/hp-timing.h: Remove dead comment.
942 * sysdeps/generic/hp-timing-common.h: New file.
943 * sysdeps/alpha/hp-timing.h: Include it.
944 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
945 * sysdeps/i386/i686/hp-timing.h: Likewise.
946 * sysdeps/ia64/hp-timing.h: Likewise.
947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
950 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
951 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
952 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
953 (hp_timing_t): New.
954
955 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
956 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
957 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
958 * elf/rtld.c (_dl_start_final): Likewise.
959 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
960 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
961 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
962 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
963 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
965 (HP_TIMING_DIFF_INIT): Remove.
966 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
967 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
968 (HP_TIMING_DIFF_INIT): Remove.
969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
970 * sysdeps/i386/i686/hp-timing.c: Remove file.
971 * sysdeps/x86_64/hp-timing.c: Remove file.
972 * sysdeps/ia64/hp-timing.c: Remove file.
973 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
974 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
976 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
977
978 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
979 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
980 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
981 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
983 (HP_TIMING_ACCUM): Remove.
984 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
986 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
987
988 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
989 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
990 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
991 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
996
997 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
998
225f410f
MR
9992014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1000
1001 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1002
3247f285
SP
10032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1004
1005 Sync up with gettext.
1006 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1007 [_MSC_VER]: Include malloc.h
1008 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1009 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1010 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1011 TEMP_FAILURE_RETRY. Cast return of alloca.
1012 [!_LIBC] Call gl_rwlock_init.
1013 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1014
d12704c7
SP
10152014-07-02 Roland McGrath <roland@hack.frob.com>
1016
1017 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1018 before checking its value.
1019
99f8dc92
SP
10202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1021
05fdac77
SP
1022 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1023
99f8dc92
SP
1024 * debug/memcpy_chk.c: Don't include pagecopy.h.
1025 * debug/mempcpy_chk.c: Likewise.
1026 * string/memcpy.c: Likewise.
1027 * string/memmove.c: Likewise.
1028 * sysdeps/powerpc/memmove.c: Likewise.
1029 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1030 definition of PAGE_COPY_FWD_MAYBE here...
1031 * sysdeps/generic/pagecopy.h: ... from here.
1032 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1033
bc8ea385
VR
10342014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1036
1037 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1039 optimizations.
1040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1041 (__libc_ifunc_impl_list): Likewise.
1042 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1043 multiarch strcat for PPC64.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1045 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1046
fe5f34e4
RM
10472014-07-02 Roland McGrath <roland@hack.frob.com>
1048
1049 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1050
256aa665
SP
10512014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1052
d4eb8195
SP
1053 * intl/loadmsgcat.c: Remove declaration of
1054 get_sysdep_segment_value.
1055 (get_sysdep_segment_value): Use ISO C style.
1056 (_nl_load_domain): Use ISO C style. Get rid of redundant
1057 semicolon. Fix typo and formatting in comment.
1058 (_nl_unload_domain): Use ISO C style.
1059
256aa665
SP
1060 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1061
b100f9aa
WN
10622014-07-02 Will Newton <will.newton@linaro.org>
1063
1064 * malloc/obstack.c: Merge from gnulib master.
1065 [HAVE_CONFIG_H]: Remove conditional code.
1066 [!_LIBC]: Include config.h.
1067 [!ELIDE_CODE]: Don't include inttypes.h, include
1068 stdint.h unconditionally.
1069 (print_and_abort): Mark as _Noreturn.
1070 (_obstack_allocated_p): Mark as __attribute_pure__.
1071 (obstack_free): Rename to __obstack_free.
1072 [!__attribute__]: Remove conditional code.
1073 * malloc/obstack.h: Merge from gnulib master.
1074 [__cplusplus]: Move conditional down.
1075 [!__attribute_pure__]: Define __attribute_pure__ here
1076 if it is not already defined.
1077 (_obstack_memory_used): Mark as __attribute_pure__.
1078 [!__obstack_free]: Define as obstack_free.
1079 [__GNUC__]: Remove check for ancient NeXT gcc.
1080
c4c41244
PE
10812014-07-02 Will Newton <will.newton@linaro.org>
1082 Paul Eggert <eggert@cs.ucla.edu>
1083
1084 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1085
e1e041c4
SP
10862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1087
1088 * resolv/gethnamaddr.c: Add comment warning that the file is
1089 not maintained.
1090
ccf431ff
CD
10912014-07-01 Carlos O'Donell <carlos@redhat.com>
1092
d34570a6
CD
1093 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1094 entries.
1095
ccf431ff
CD
1096 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1097 entry for aio_cancel and aio_cancel64.
1098 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1099 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1100 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1101 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1102 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1103 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1105 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1106 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1107 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1108 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1109 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1110 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1111
ca06321d
RM
11122014-07-01 Roland McGrath <roland@hack.frob.com>
1113
1114 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1115 * nptl/pthread_mutex_lock.c: Likewise.
1116 * nptl/pthread_mutex_timedlock.c: Likewise.
1117 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1118
a1ac3184
RH
11192014-07-01 Richard henderson <rth@redhat.com>
1120
631021e0
RH
1121 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1122 (__isnan, __isnanl): Remove.
1123 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1124
a1ac3184
RH
1125 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1126
0c1d731f
SL
11272014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1128
1129 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1130
76985d3e
SP
11312014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
1133 * resolv/nss_dns/dns-host.c (getanswer_r)
1134 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1135
b0cb3096
JM
11362014-07-01 Joseph Myers <joseph@codesourcery.com>
1137
1138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1139 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1140 undefine.
1141 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1142 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1143
4d76cb39
RM
11442014-07-01 Roland McGrath <roland@hack.frob.com>
1145
1146 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1147 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1148
1149 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1150 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1151
1152 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1154 ... here.
1155 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1156 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1157
1158 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1159 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1161 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1162
1163 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1164 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1165 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1168 Moved ...
1169 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1170 ... here.
1171 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1174 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1178 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1182 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1184 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1190 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1191 ... here.
1192 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1195 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1196 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1197 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1198 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1199 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1200
0cdcad17
DH
12012014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1202
1203 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1204 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1205 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1206 Add sysdep.
1207
9b71d0e3
AZ
12082014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1211
665390c2
JM
12122014-06-30 Joseph Myers <joseph@codesourcery.com>
1213
ae05a9d7
JM
1214 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1215 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1216
a7672a2f
JM
1217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1218
665390c2
JM
1219 * sysdeps/arm/libm-test-ulps: Regenerated.
1220
d7a05d07
MR
12212014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1222 Roland McGrath <roland@hack.frob.com>
1223
1224 * test-skeleton.c (signal_handler): Kill the whole process group
1225 before killing the child individually.
1226 (main): Report any failure on `setpgid'.
1227
46f1d8a6
RM
12282014-06-30 Roland McGrath <roland@hack.frob.com>
1229
1230 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1231 from _TLS_H to _ARM_NPTL_TLS_H.
1232 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1233 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1234
9c37ec0b
JM
12352014-06-30 Joseph Myers <joseph@codesourcery.com>
1236
ce9c5b3e
JM
1237 [BZ #16539]
1238 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1239 (__expm1l): Return argument unchanged when small but not
1240 subnormal.
1241
3a6e9887
JM
1242 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1243 include macro name.
1244 (_FP_UNPACK_RAW_1_P): Likewise.
1245 (_FP_PACK_RAW_1): Likewise.
1246 (_FP_PACK_RAW_1_P): Likewise.
1247 (_FP_MUL_MEAT_1_wide): Likewise.
1248 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1249 (_FP_MUL_MEAT_1_hard): Likewise.
1250 (_FP_DIV_MEAT_1_imm): Likewise.
1251 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1252 (_FP_DIV_MEAT_1_udiv): Likewise.
1253 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1254 (_FP_UNPACK_RAW_2): Likewise.
1255 (_FP_UNPACK_RAW_2_P): Likewise.
1256 (_FP_PACK_RAW_2): Likewise.
1257 (_FP_PACK_RAW_2_P): Likewise.
1258 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1259 (_FP_MUL_MEAT_2_wide): Likewise.
1260 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1261 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1262 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1263 (_FP_MUL_MEAT_2_gmp): Likewise.
1264 (_FP_DIV_MEAT_2_udiv): Likewise.
1265 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1266 (_FP_FRAC_SRL_4): Likewise.
1267 (_FP_FRAC_SRST_4): Likewise.
1268 (_FP_FRAC_SRS_4): Likewise.
1269 (_FP_UNPACK_RAW_4): Likewise.
1270 (_FP_UNPACK_RAW_4_P): Likewise.
1271 (_FP_PACK_RAW_4): Likewise.
1272 (_FP_PACK_RAW_4_P): Likewise.
1273 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1274 (_FP_MUL_MEAT_4_wide): Likewise.
1275 (_FP_MUL_MEAT_4_gmp): Likewise.
1276 (umul_ppppmnnn): Likewise.
1277 (_FP_DIV_MEAT_4_udiv): Likewise.
1278 (__FP_FRAC_ADD_4): Likewise.
1279 (__FP_FRAC_SUB_3): Likewise.
1280 (__FP_FRAC_SUB_4): Likewise.
1281 (__FP_FRAC_DEC_3): Likewise.
1282 (__FP_FRAC_DEC_4): Likewise.
1283 (__FP_FRAC_ADDI_4): Likewise.
1284 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1285 (_FP_FRAC_SRL_8): Likewise.
1286 (_FP_FRAC_SRS_8): Likewise.
1287
9c37ec0b
JM
1288 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1289 include macro name.
1290 (FP_UNPACK_RAW_EP): Likewise.
1291 (FP_PACK_RAW_E): Likewise.
1292 (FP_PACK_RAW_EP): Likewise.
1293 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1294 (_FP_ISSIGNAN): Likewise.
1295 (_FP_ADD_INTERNAL): Likewise.
1296 (_FP_FMA): Likewise.
1297 (_FP_CMP): Likewise.
1298 (_FP_SQRT): Likewise.
1299 (_FP_TO_INT): Likewise.
1300 (_FP_FROM_INT): Likewise.
1301 (FP_EXTEND): Likewise.
1302 (_FP_DIV_MEAT_N_loop): Likewise.
1303
2125f674
MR
13042014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1305
1306 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1307 throughout.
1308
edea4028
JM
13092014-06-29 Joseph Myers <joseph@codesourcery.com>
1310
1311 [BZ #17097]
1312 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1313 result with correct sign in case of exponents that produce
1314 overflow except for X very close to 1.
1315
dd0ba018
PE
13162014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1317
1318 mktime: merge #if/#ifdef usage from glibc
1319 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1320 as that works with both Glibc's and Gnulib's style.
1321 See thread starting at Siddhesh Poyarekar's bug report at:
1322 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1323
64df73c2
SP
13242014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1325
1326 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1327 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1328 * sysdeps/tile/tilegx/memmove.c: Remove file.
1329
f1eafb41
JM
13302014-06-27 Joseph Myers <joseph@codesourcery.com>
1331
1332 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1333 abi-name definition.
1334 * scripts/soversions.awk: Do not handle or generate ABI lines.
1335 * shlib-versions: Remove ABI entries.
1336 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1337 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1338
58eb0862
RM
13392014-06-27 Roland McGrath <roland@hack.frob.com>
1340
37caf178
RM
1341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1342 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1348 Moved ...
1349 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1350 ... here.
1351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1352 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1354 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1358 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1364 Moved ...
1365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1371 Moved ...
1372 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1374 Moved ...
1375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1379 Moved ...
1380 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1388 Moved ...
1389 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1393 Moved ...
1394 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1396 Moved ...
1397 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1401 Moved ...
1402 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1403 ... here.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1405 Identical file removed.
1406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1410 Identical file removed.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1412 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1414 Moved ...
1415 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1417 Identical file removed.
1418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1421 Identical file removed.
1422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1425 Identical file removed.
1426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1427 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1429 Identical file removed.
1430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1431 Moved ...
1432 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1434 Identical file removed.
1435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1436 Moved ...
1437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1441 Identical file removed.
1442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1443 Moved ...
1444 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1445 ... here.
1446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1447 Identical file removed.
1448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1452 Identical file removed.
1453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1454 Moved ...
1455 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1461 Moved ...
1462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1464 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1465
58eb0862
RM
1466 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1467 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1468 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1469 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1470 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1471
6f12d062
AS
14722014-06-27 Arjun Shankar <arjun.is@lostca.se>
1473
1474 [BZ #17092]
1475 * nscd/nscd.c (monitor_child): Return exit status of child
1476 instead of return value from wait syscall.
1477
be254932
JM
14782014-06-27 Joseph Myers <joseph@codesourcery.com>
1479
cb403c34
JM
1480 * configure.ac (libc_commonpagesize): Remove variable.
1481 (libc_relro_required): Likewise.
1482 (libc_cv_z_relro): Remove configure test.
1483 * configure: Regenerated.
1484 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1485 variable.
1486 (libc_relro_required): Likewise.
1487 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1488 (libc_relro_required): Likewise.
1489 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1490 (libc_relro_required): Likewise.
1491 * sysdeps/arm/preconfigure: Regenerated.
1492 * sysdeps/ia64/preconfigure: Remove file.
1493 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1494 variable.
1495 (libc_relro_required): Likewise.
1496
be254932
JM
1497 [BZ #16561]
1498 [BZ #16562]
1499 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1500 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1501 recompute overflowing results in original rounding mode.
1502 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1503 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1504 recompute overflowing results in original rounding mode.
1505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1506 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1507 recompute overflowing results in original rounding mode.
1508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1509 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1510 recompute overflowing results in original rounding mode.
1511 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1512 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1513 recompute overflowing results in original rounding mode.
1514 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1515 (libc_feholdsetround_ctx): New macro.
1516 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1517 * sysdeps/i386/fpu/libm-test-ulps: Update.
1518 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1519
b351d85a
JM
15202014-06-26 Joseph Myers <joseph@codesourcery.com>
1521
1522 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1523 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1524 corresponding .cpsetup call.
1525
3cb4de47
RM
15262014-06-26 Roland McGrath <roland@hack.frob.com>
1527
1528 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1529 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1530 * sysdeps/arm/Makefile [$(subdir) = csu]
1531 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1532 (static-only-routines): Add aeabi_read_tp here.
1533 (shared-only-routines): Add libc-aeabi_read_tp here.
1534 (CFLAGS-libc-start.c): Add -fexceptions here.
1535 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1536 (sysdep_routines, static-only-routines, shared-only-routines):
1537 Don't add to these here.
1538 (CFLAGS-libc-start.c): Likewise.
1539
1540 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1541 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1542 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1543 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1544 * sysdeps/arm/Makefile [$(subdir) = rt]
1545 (librt-sysdep_routines, librt-shared-only-routines):
1546 Append rt-aeabi_unwind_cpp_pr1 here.
1547 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1548 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1549 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1550 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1551 Append nptl-aeabi_unwind_cpp_pr1 here.
1552 (tests): Filter out tst-cleanupx4 here.
1553 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1554 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1555 Don't do those here.
1556
354426bb
JM
15572014-06-26 Joseph Myers <joseph@codesourcery.com>
1558
1559 * scripts/list-sources.sh: Do not handle ports specially.
1560
28b0a8c9
RM
15612014-06-26 Roland McGrath <roland@hack.frob.com>
1562
a3dd035d
RM
1563 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1564 * sysdeps/arm/feupdateenv.c: Likewise.
1565
28b0a8c9
RM
1566 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1567
e66a8203
JM
15682014-06-26 Joseph Myers <joseph@codesourcery.com>
1569
1570 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1571 trailing whitespace removed.
1572 * scripts/config.guess: Update to version 2014-03-23.
1573 * scripts/config.sub: Update to version 2014-05-01
1574 * scripts/install-sh: Update to version 2013-12-25.23.
1575 * scripts/move-if-change: Update from gnulib.
1576
74171115
SP
15772014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
b97c9ce5
SP
1579 * debug/memmove_chk.c: Remove pagecopy.h include.
1580
4000f892
SP
15812014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1582
74171115
SP
1583 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1584 identical to gnulib mktime.
1585
a8779c28
JM
15862014-06-26 Joseph Myers <joseph@codesourcery.com>
1587
e64708de
JM
1588 * configure.ac: Do not test for machine being rs6000. Do not test
1589 for powerpc*-*soft.
1590 * configure: Regenerated.
1591
a8779c28
JM
1592 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1593 test.
1594 * configure: Regenerated.
1595 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1596 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1597 Remove configure test.
1598 * sysdeps/arm/configure: Regenerated.
1599 * sysdeps/nptl/configure.ac: Do not check
1600 libc_cv_asm_cfi_directives.
1601 * sysdeps/nptl/configure: Regenerated.
1602 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1603 * sysdeps/x86_64/nptl/configure: Remove generated file.
1604 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1605 unconditional.
1606 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1607
2aac0a86
SP
16082014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1609
059bf913
SP
1610 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1611 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1612 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1613 it is defined.
1614
4cf5b6d0
SP
1615 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1616 instead of whether it is defined.
1617 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1618 * sysdeps/hppa/dl-machine.h: Likewise.
1619 * sysdeps/ia64/dl-machine.h: Likewise.
1620 * sysdeps/m68k/dl-machine.h: Likewise.
1621 * sysdeps/microblaze/dl-machine.h: Likewise.
1622 * sysdeps/mips/dl-machine.: Likewise.
1623 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1625 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1626 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1627 * sysdeps/sh/dl-machine.h: Likewise.
1628 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1629 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1630 * sysdeps/tile/dl-machine.h: Likewise.
1631 * sysdeps/x86_64/dl-machine.h: Likewise.
1632
2aac0a86
SP
1633 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1634 code.
1635 (verify_persistent_db): Likewise.
1636
6ad2df0b
RM
16372014-06-26 Roland McGrath <roland@hack.frob.com>
1638
d8a483f3
RM
1639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1640 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1644 Moved ...
1645 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1646 ... here.
1647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1650 Identical file removed.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1662 Moved ...
1663 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1669 Moved ...
1670 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1672 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1674 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1676 Identical file removed.
1677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1678 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1682 Moved ...
1683 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1684 ... here.
1685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1688 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1696 Moved ...
1697 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1699 Moved ...
1700 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1704 Moved ...
1705 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1708
52ae23b4
RM
1709 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1710 folded into ...
1711 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1712 * sysdeps/unix/sysv/linux/s390/Versions
1713 (libpthread: GLIBC_2.19): New version set.
1714 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1715 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1716 (librt: GLIBC_2.3.3): New version set.
1717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1719 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1721 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1723 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1725 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1727 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1729 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1731 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1733 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1737 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1747 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1762
39507e4a
RM
1763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1764 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1765 (__libc_vfork): Define the function under this name.
1766 [!NOT_IN_libc] (__vfork): Make this an alias.
1767 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1769 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1770 (__libc_vfork): Define the function under this name.
1771 [!NOT_IN_libc] (__vfork): Make this an alias.
1772 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1773 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1774 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1778
e549ee56
RM
1779 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1780 code that was previously under [RESET_PID].
1781 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1782 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1784
6ad2df0b
RM
1785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1786 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1788 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1790 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1791 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1792 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1793 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1796 Moved ...
1797 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1821 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1822 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1823 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1824 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1825 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1826
7c1c1d8e
RM
18272014-06-25 Roland McGrath <roland@hack.frob.com>
1828
1829 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1830 that was previously under [RESET_PID].
1831 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1832
3e239be6
JM
18332014-06-25 Joseph Myers <joseph@codesourcery.com>
1834
74385da5
JM
1835 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1836 not undefine and redefine.
1837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1838 [O_CLOEXEC]: Make code unconditional.
1839 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1840 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1841 <kernel-features.h>.
1842 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1843 conditional variable definition.
1844 (shm_open) [O_CLOEXEC]: Make code unconditional.
1845 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1846 code.
1847
c2570a0b
JM
1848 * configure.ac (USE_REGPARMS): Don't define here.
1849 * configure: Regenerated.
1850 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1851 * sysdeps/i386/configure: Regenerated.
1852
11b076bb
JM
1853 * nptl/createthread.c: Don't include kernel-features.h.
1854 * nptl/pthread_cancel.c: Likewise.
1855 * nptl/pthread_condattr_setclock.c: Likewise.
1856 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1857 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1858 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1859 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1860 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1861 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1862 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1865 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1866 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1867 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1868 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1869 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1870 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1871 * nscd/gai.c: Likewise.
1872 * nss/nss_db/db-open.c: Likewise.
1873 * sysdeps/generic/ldsodefs.h: Likewise.
1874 * sysdeps/sh/nptl/tls.h: Likewise.
1875 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1876 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1877 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1878 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1879 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1880 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1881 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1882 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1884 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1885 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1886 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1887 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1888 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1889 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1890 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1891 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1892 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1893 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1894 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1898 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1904 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1905 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1906 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1907 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1910 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1911 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1912 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1913 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1914 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1915 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1916 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1917 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1918 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1919 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1920 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1921 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1922 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1923 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1924 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1925 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1926 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1927 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1928 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1929 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1955 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1956 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1957 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1958 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1959 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1960 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1962 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1963 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1964 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1965 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1966 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1967 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1968 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1969 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1970 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1972 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1973 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1974 * sysdeps/unix/sysv/linux/system.c: Likewise.
1975 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1976 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1977 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1978 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1979 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1981 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1982
92072d57
JM
1983 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1984 * configure: Regenerated.
1985 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1986
3e239be6
JM
1987 * configure.ac (base_machine): Do not set specially for particular
1988 machines here.
1989 * configure: Regenerated.
1990 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1991 settings from configure.ac.
1992 * sysdeps/i386/preconfigure: New file.
1993 * sysdeps/s390/preconfigure: Likewise.
1994 * sysdeps/sh/preconfigure: Likewise.
1995 * sysdeps/sparc/preconfigure: Likewise.
1996
06d50baa
RM
19972014-06-25 Roland McGrath <roland@hack.frob.com>
1998
74836003
RM
1999 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2000 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2001 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2002 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2003 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2004 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2005 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2006 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2007 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2008 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2009 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2010 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2011 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2012 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2014 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2015 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2016 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2017 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2018
2019 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2020 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2021 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2022 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2023 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2024 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2025 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2026 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2027 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2028 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2029 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2030 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2031 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2032 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2033 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2034 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2035 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2036 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2037 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2038 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2040 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2050 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2052 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2054 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2056 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2057
06d50baa
RM
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2059 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2063 Moved ...
2064 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2065 ... here.
2066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2071 Moved ...
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2074 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2080 Moved ...
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2083 Moved ...
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2088 Moved ...
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2099 Moved ...
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2101 ... here.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2107 Moved ...
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2114 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2116 Moved ...
2117 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2119 Moved ...
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2124 Moved ...
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2129 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2130
a4ccbc9b
JM
21312014-06-25 Joseph Myers <joseph@codesourcery.com>
2132
0828edbf
JM
2133 * timezone/checktab.awk: Update from tzcode 2014e.
2134 * timezone/private.h: Likewise.
2135 * timezone/tzfile.h: Likewise.
2136 * timezone/zdump.c: Likewise.
2137 * timezone/zic.c: Likewise.
2138
a4ccbc9b
JM
2139 * sysdeps/unix/sysv/linux/kernel-features.h
2140 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2142 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2143 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2144 Remove conditional code.
2145
9aea0cb8
WN
21462014-06-25 Will Newton <will.newton@linaro.org>
2147
2148 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2149 (_dl_arm_cap_flags): Add HWCAP2 values.
2150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2151 (_DL_HWCAP_COUNT): Increase to 37.
2152 (_DL_HWCAP_LAST): New define.
2153 (_DL_HWCAP2_LAST): New define.
2154 (_dl_procinfo): Add support for printing
2155 AT_HWCAP2 entries.
2156 (_dl_string_hwcap): Use _dl_hwcap_string.
2157
6eaa65ce
AZ
21582014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159
2160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2161
0f5b7185
JM
21622014-06-25 Joseph Myers <joseph@codesourcery.com>
2163
cfd2ea50
JM
2164 * README: Do not mention ports directory.
2165
cecf2ed4
JM
2166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2167 Remove macro.
2168 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2169 <kernel-features.h>.
2170 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2171 conditional variable definition.
2172 (__futimes): Update comment.
2173 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2174 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2175
a638de82
JM
2176 [BZ #16560]
2177 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2178 arguments close to 0.
2179 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2180 Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2182 Likewise.
2183 * math/auto-libm-test-in: Add more tests of exp10.
2184 * math/auto-libm-test-out: Regenerated.
2185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2186
0f5b7185
JM
2187 * sysdeps/unix/sysv/linux/kernel-features.h
2188 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2189 * sysdeps/unix/sysv/linux/readv.c: Do not include
2190 <kernel-features.h>.
2191 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2192 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2193 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2194 unconditional.
2195 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2196 conditional code.
2197 * sysdeps/unix/sysv/linux/writev.c: Do not include
2198 <kernel-features.h>.
2199 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2200 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2201 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2202 unconditional.
2203 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2204 conditional code.
2205
c7aec4be
WN
22062014-06-25 Will Newton <will.newton@linaro.org>
2207
2208 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2209 comment changes throughout the file. Remove checks
2210 for HAVE_*_H definitions that are not required.
2211 (__gen_tempname): Call abort if an unknown kind value is
2212 passed.
2213
c5241f95
AS
22142014-06-25 Andreas Schwab <schwab@suse.de>
2215
2216 [BZ #17086]
2217 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2218 scalbln, scalblnf, scalblnl in libc.
2219
911422da
SP
22202014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2221
2222 [BZ #17086]
2223 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2224 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2225 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2226
0d749bbe
RM
22272014-06-24 Roland McGrath <roland@hack.frob.com>
2228
2229 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2230 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2231 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2232 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2233 Update #include.
2234 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2235 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2236 Update #include.
2237 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2239 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2241 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2242 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2243 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2244 * sysdeps/x86/bits/semaphore.h: ... here.
2245 * sysdeps/x86/nptl/elide.h: Moved ...
2246 * sysdeps/x86/elide.h: ... here.
2247 * sysdeps/x86_64/nptl/Implies: File removed.
2248 * sysdeps/i386/nptl/Implies: File removed.
2249
0ea5d373
JM
22502014-06-24 Joseph Myers <joseph@codesourcery.com>
2251
4060283d
JM
2252 [BZ #16539]
2253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2254 return the argument for normal arguments with exponent below -64.
2255 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2256 Likewise.
2257 * math/auto-libm-test-in: Add another test of expm1.
2258 * math/auto-libm-test-out: Regenerated.
2259
e7dd3c8c
JM
2260 [BZ #16287]
2261 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2262 calling __erfcl for arguments at least 16.
2263 * math/auto-libm-test-in: Add more tests of erf.
2264 * math/auto-libm-test-out: Regenerated.
2265
0ea5d373
JM
2266 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2267 individual architectures.
2268 * sysdeps/unix/sysv/linux/configure: Regenerated.
2269 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2270 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2271 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2272 (ldd_rewrite_script): Define variable.
2273 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2275 file.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2277 generated file.
2278 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2279 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2280 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2281 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2282 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2283 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2284 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2285 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2286
2307e126
SP
22872014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2288
2289 [BZ #17084]
2290 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2291 Rename member __data.d to __data.__elision_data.
2292
c0a4ed77
W
22932014-06-24 Wilco <wdijkstr@arm.com>
2294
2295 * NEWS: Add 16918 to fixed bug list.
2296
b8c00573
W
22972014-06-24 Wilco <wdijkstr@arm.com>
2298
2299 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2300
b5570d92
W
23012014-06-24 Wilco <wdijkstr@arm.com>
2302
2303 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2304 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2305 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2306 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2307 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2308 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2309 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2310 Use _FPU_MASK_RM.
2311
947bdca2
W
23122014-06-24 Wilco <wdijkstr@arm.com>
2313
2314 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2315
00f669ed
W
23162014-06-24 Wilco <wdijkstr@arm.com>
2317
2318 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2319 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2320 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2321 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2322
db59bad3
W
23232014-06-24 Wilco <wdijkstr@arm.com>
2324
2325 [BZ #16918]
2326 * sysdeps/arm/feupdateenv.c (feupdateenv):
2327 Rewrite to reduce FPSCR accesses and fix return value.
2328
001f7b77
W
23292014-06-24 Wilco <wdijkstr@arm.com>
2330
2331 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2332 Optimize to avoid unnecessary FPSCR writes.
2333 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2334 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2335 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2336 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2337
4841e6a6
W
23382014-06-24 Wilco <wdijkstr@arm.com>
2339
2340 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2341 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2342 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2343 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2344 Call libc_fetestexcept_vfp.
2345 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2346 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2347 __SOFTFP__ ifdef so that they can be built for softfp.
2348
0813022c
SP
23492014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2350
08e5862f
SP
2351 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2352 argument type signed char.
2353
0813022c
SP
2354 * Makerules (check-abi): Dump diff of symlist if the test
2355 fails.
2356
3fc7236a
RM
23572014-06-23 Roland McGrath <roland@hack.frob.com>
2358
aba8ef95
RM
2359 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2360 using abort.
2361
3fc7236a
RM
2362 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2363 Remove unused variable ST.
2364
4da6db51
JM
23652014-06-23 Joseph Myers <joseph@codesourcery.com>
2366
4648909d
JM
2367 [BZ #16354]
2368 [BZ #17061]
2369 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2370 small arguments before calling __expm1.
2371 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2372 small arguments before calling __expm1f.
2373 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2374 small arguments before calling __expm1l.
2375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2376 Likewise.
2377 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2378 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2379 spurious underflow for some cosh tests.
2380 * math/auto-libm-test-out: Regenerated.
2381 * sysdeps/i386/fpu/libm-test-ulps: Update.
2382
46a3d3c7
JM
2383 [BZ #17050]
2384 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2385 (__ieee754_y1): Set errno if return value overflows.
2386 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2387 (__ieee754_y1f): Set errno if return value overflows.
2388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2389 (__ieee754_y1l): Set errno if return value overflows.
2390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2391 (__ieee754_y1l): Set errno if return value overflows.
2392 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2393 * math/auto-libm-test-out: Regenerated.
2394
863893ec
JM
2395 * math/gen-auto-libm-tests.c: Document use of
2396 ignore-zero-inf-sign.
2397 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2398 (input_flags): Add ignore-zero-inf-sign.
2399 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2400 * math/gen-libm-test.pl (generate_testfile): Handle
2401 ignore-zero-inf-sign.
2402 * math/auto-libm-test-in: Mark some cpow tests with
2403 ignore-zero-inf-sign and some with xfail-rounding.
2404 * math/auto-libm-test-out: Regenerated.
2405 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
4da6db51
JM
2409 [BZ #16315]
2410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2411 overflowing or underflowing operations take place with sign of
2412 result.
2413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2415 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2416 (__ieee754_pow): Recompute overflowing and underflowing results in
2417 original rounding mode.
2418 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2419 (__powl_helper): Allow negative argument X and scale negated value
2420 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2422 overflowing or underflowing operations take place with sign of
2423 result.
2424 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2425 Include <math.h>.
2426 * math/auto-libm-test-in: Add more tests of pow.
2427 * math/auto-libm-test-out: Regenerated.
2428 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2429 (pow_tonearest_test_data): Remove.
2430 (pow_test_tonearest): Likewise.
2431 (pow_towardzero_test_data): Likewise.
2432 (pow_test_towardzero): Likewise.
2433 (pow_downward_test_data): Likewise.
2434 (pow_test_downward): Likewise.
2435 (pow_upward_test_data): Likewise.
2436 (pow_test_upward): Likewise.
2437 (main): Don't call removed functions.
2438 * sysdeps/i386/fpu/libm-test-ulps: Update.
2439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440
5686b236
RM
24412014-06-23 Roland McGrath <roland@hack.frob.com>
2442
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2444 Moved ...
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2447 Moved ...
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2450 Moved ...
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2453 Moved ...
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2456 File removed.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2458 File removed.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2460 File removed.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2462 File removed.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2464 File removed.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2466 File removed.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2468 File removed.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2470 File removed.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2472 File removed.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2474 File removed.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2476 File removed.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2478 File removed.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2480 Moved ...
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2483 Moved ...
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2485 ... here.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2487 Moved ...
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2490 Moved ...
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2493 Moved ...
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2496 Moved ...
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2499 Moved ...
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2502 Moved ...
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2505 Moved ...
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2509 ... here.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2511 Moved ...
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2514 Moved ...
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2516 ... here.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2518 Moved ...
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2520 ... here.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2522 Moved ...
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2524 ... here.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2526 Moved ...
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2529 Moved ...
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2534 Moved ...
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2536 ... here.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2538 Moved ...
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2540 ... here.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2542 Moved ...
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2545 Moved ...
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2548 Moved ...
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2551 Moved ...
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2554 Moved ...
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2556 ... here.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2558 Moved ...
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2561 Moved ...
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2564 Moved ...
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2567 Moved ...
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2572 Moved ...
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2575 Moved ...
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2578 Moved ...
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2580 ... here.
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2582 Moved ...
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2584 ... here.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2586 Moved ...
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2588 ... here.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2590 Moved ...
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2593 Moved ...
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2596 Moved ...
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2599 Moved ...
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2601 ... here.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2603 Moved ...
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2605 ... here.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2607 Moved ...
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2609 ... here.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2611 Moved ...
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2614 Moved ...
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2616
e6d90d67
WD
26172014-06-23 Will Newton <will.newton@linaro.org>
2618 Wilco <wdijkstr@arm.com>
2619
2620 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2621 implementation. Include get-rounding-mode.h.
2622 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2623 [!libc_feholdsetround_noex_ctx]: Define
2624 libc_feholdsetround_noex_ctx.
2625 [!libc_feholdsetround_noexf_ctx]: Define
2626 libc_feholdsetround_noexf_ctx.
2627 [!libc_feholdsetround_noexl_ctx]: Define
2628 libc_feholdsetround_noexl_ctx.
2629 (libc_feholdsetround_ctx): New function.
2630 (libc_feresetround_ctx): New function.
2631 (libc_feholdsetround_noex_ctx): New function.
2632 (libc_feresetround_noex_ctx): New function.
2633
d42df555
RM
26342014-06-23 Roland McGrath <roland@hack.frob.com>
2635
88a46474
RM
2636 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2637 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2638 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2639 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2640 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2641 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2642
15bed472
RM
2643 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2644 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2645 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2646 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2647 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2648 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2650 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2654 Moved ...
2655 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2656 ... here.
2657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2658 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2662 Moved ...
2663 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2667 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2671 Moved ...
2672 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2674 Moved ...
2675 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2677 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2679 Moved ...
2680 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2684 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2685 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2686 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2687 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2688 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2690 Moved ...
2691 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2692 ... here.
2693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2706 Moved ...
2707 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2713 Moved ...
2714 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2718 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2719
d42df555
RM
2720 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2721 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2722 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2727 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2729 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2735 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2737 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2738 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2739 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2741 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2743 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2744 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2745 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2748
76e5216e
JM
27492014-06-23 Joseph Myers <joseph@codesourcery.com>
2750
2751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2752 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2753 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2754 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2755 (IPV6_PMTUDISC_INTERFACE): Likewise.
2756 (IPV6_PMTUDISC_OMIT): Likewise.
2757
7a81cbcc
AS
27582014-06-23 Andreas Schwab <schwab@suse.de>
2759
2760 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2761 Remove unused errout label.
2762
db224009
AZ
27632014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2766 macro: hardware supports Vector Crypto instructions.
2767
f393b4aa
WN
27682014-06-23 Will Newton <will.newton@linaro.org>
2769
cc7d0447
WN
2770 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2771 rather than __builtin_expect.
2772
d6d06225
WN
2773 * elf/dl-lookup.c (undefined_msg): Remove variable.
2774 (_dl_lookup_symbol_x): Replace undefined_msg with string
2775 literal.
2776
f393b4aa
WN
2777 * elf/dl-lookup.c (do_lookup_unique): New function.
2778 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2779 to a separate function.
2780
ac60763e
AS
27812014-06-23 Andreas Schwab <schwab@suse.de>
2782
2783 [BZ #17079]
2784 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2785 before reading the next line.
2786
c5c13355
WN
27872014-06-23 Will Newton <will.newton@linaro.org>
2788
2789 * test-skeleton.c (signal_handler): Use printf and %m
2790 rather than perror. Use printf rather than fprintf to
2791 stderr. Use puts rather than fputs to stderr.
2792 (main): Likewise.
2793
bd3675f9
LC
27942014-06-22 Ludovic Courtès <ludo@gnu.org>
2795
2796 * nscd/nscd.c (thread_info_t): Remove typedef.
2797 (thread_info): Remove variable.
2798
d03efb2f
AM
27992014-06-21 Allan McRae <allan@archlinux.org>
2800
2801 * NEWS: Mention CVE-2014-4043.
2802
bc4a86fa
RM
28032014-06-20 Roland McGrath <roland@hack.frob.com>
2804
dc9a54f8
RM
2805 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2806 * nptl/smp.h: ... here.
2807
bd7022c4
RM
2808 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2809
26ffd5e6
RM
2810 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2811 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2812 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2813 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2814
93a6d082
RM
2815 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2816 * nptl/stack-aliasing.h: New file.
2817 * sysdeps/i386/i686/stack-aliasing.h: New file.
2818 * sysdeps/i386/i686/nptl/Makefile: File removed.
2819 * sysdeps/x86_64/stack-aliasing.h: New file.
2820 * sysdeps/x86_64/nptl/Makefile
2821 (CFLAGS-pthread_create.c): Variable removed.
2822
bc4a86fa
RM
2823 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2824 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2825 old file.
2826 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2827 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2828 old file.
2829
2272ffc1
JM
28302014-06-21 Joseph Myers <joseph@codesourcery.com>
2831
2832 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2833 (__ASSUME_SIGFRAME_V2): Remove macro.
2834 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2835 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2836 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2837 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2838 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2839 Declare as function. Remove conditional macro definitions.
2840 (__default_rt_sa_restorer): Likewise.
2841 (__default_sa_restorer_v1): Remove declaration.
2842 (__default_sa_restorer_v2): Likewise.
2843 (__default_rt_sa_restorer_v1): Likewise.
2844 (__default_rt_sa_restorer_v2): Likewise.
2845 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2846 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2847 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2848
4b88139b
RM
28492014-06-20 Roland McGrath <roland@hack.frob.com>
2850
2851 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2852 (libpthread-routines): Add sysdep.
2853 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2854 * sysdeps/unix/sysv/linux/sparc/Versions
2855 (libpthread: GLIBC_2.3.3): New version set.
2856 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2857 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2858 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2859 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2860 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2861 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2862 Moved ...
2863 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2864 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2865 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2867 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2869 * sysdeps/sparc/nptl/sem_init.c: ... here.
2870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2871 * sysdeps/sparc/nptl/sem_post.c: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2873 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2875 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2876 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2878 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2879 (libpthread-routines): Add cpu_relax.
2880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2881 File removed.
2882 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2883 (librt: GLIBC_2.3.3): New version set.
2884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2885 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2887 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2890 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2892 Moved ...
2893 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2895 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2897 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2899 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2901 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2903 Moved ...
2904 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2905 Update #include.
2906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2907 Moved ...
2908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2909 Update #include.
2910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2911 Moved ...
2912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2913 Update #include.
2914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2915 Moved ...
2916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2917 Update #include.
2918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2919 Moved ...
2920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2921 Update #include.
2922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2923 Moved ...
2924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2925 Update #include.
2926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2927 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2933 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2937 Moved ...
2938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2943
d7109027
JM
29442014-06-20 Joseph Myers <joseph@codesourcery.com>
2945
9bc6103d
JM
2946 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2947 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2948 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2949 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2950 * nscd/nscd.c: Likewise.
2951 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2952 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2953 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2954 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2955
d7109027
JM
2956 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2957 <kernel-features.h>.
2958 (init_mq_netlink): Remove conditional have_sock_cloexec
2959 definitions. Remove code conditional on have_sock_cloexec < 0.
2960 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2961 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2962 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2963 <kernel-features.h>.
2964 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2965 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2966
d92d8f8a
L
29672014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2970 Add tests for memset_chk and memset.
2971
2972 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2973 with AVX2_Usable.
2974
4e6d2347
MR
29752014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2976
257ce712
MR
2977 [BZ #16046]
2978 * elf/tst-dl-iter-static.c: New file.
2979 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2980
4e6d2347
MR
2981 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2982 error.
2983
a2a76afe
JM
29842014-06-20 Joseph Myers <joseph@codesourcery.com>
2985
7fd00f99
JM
2986 * sysdeps/unix/sysv/linux/kernel-features.h
2987 (__ASSUME_F_GETOWN_EX): Remove macro.
2988 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2989 <kernel-features.h>.
2990 (miss_F_GETOWN_EX): Remove variable or macro.
2991 (do_fcntl): Do not check miss_F_GETOWN_EX.
2992 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2993
4a103975
JM
2994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2995 Remove macro.
2996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2997 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2998 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2999
a2a76afe
JM
3000 * sysdeps/unix/sysv/linux/kernel-features.h
3001 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3002 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3003 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3004 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3005
90e5dd48
MR
30062014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3007
3008 [BZ #17075]
3009 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3010 Fix calculation of the symbol's value.
3011 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3012 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3013 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3014 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3015 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3016 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3017 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3018 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3019 (modules-names): Add `tst-armtlsdescmod',
3020 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3021 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3022 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3023 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3024 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3025 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3026 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3027 ($(objpfx)tst-armtlsdescloc): New dependency.
3028 ($(objpfx)tst-armtlsdescextnow): Likewise.
3029 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3030 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3031 TLS scheme support.
3032 * sysdeps/arm/configure: Regenerate.
3033
809fdf0d
JM
30342014-06-20 Joseph Myers <joseph@codesourcery.com>
3035
3036 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3037 (__atfct_seterrno_2): Likewise.
3038 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3039 <kernel-features.h>.
3040 (__ASSUME_ATFCTS): Do not undefine and redefine.
3041 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3042 (__have_atfcts): Remove conditional definition.
3043 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3044 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3045 unreachable if [__ASSUME_ATFCTS].
3046 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3047 not undefine and redefine.
3048 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3049 <kernel-features.h>.
3050 (faccessat) [__NR_faccessat]: Make code unconditional.
3051 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3052 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3053 <kernel-features.h>.
3054 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3055 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3056 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3057 <kernel-features.h>.
3058 (fchownat) [__NR_fchownat]: Make code unconditional.
3059 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3060 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3061 <kernel-features.h>.
3062 (futimesat) [__NR_futimesat]: Make code unconditional.
3063 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3064 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3065 <kernel-features.h>.
3066 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3068 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3069 <kernel-features.h>.
3070 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3071 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3072 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3073 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3074 <kernel-features.h>.
3075 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3078 <kernel-features.h>.
3079 (linkat) [__NR_linkat]: Make code unconditional.
3080 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3082 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3083 <kernel-features.h>.
3084 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3085 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3087 <kernel-features.h>.
3088 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3089 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3090 * sysdeps/unix/sysv/linux/openat.c: Do not include
3091 <kernel-features.h>.
3092 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3093 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3094 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3095 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3097 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3098 <kernel-features.h>.
3099 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3100 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3101 result of INLINE_SYSCALL directly, not via int variable.
3102 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3103 <kernel-features.h>.
3104 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3105 (renameat) [__NR_renameat]: Make code unconditional.
3106 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3107 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3108 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3109 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3111 (__ASSUME_ATFCTS): Do not undefine and redefine.
3112 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3113 <kernel-features.h>.
3114 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3115 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3116 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3117 <kernel-features.h>.
3118 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3119 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3120 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3121 (__ASSUME_ATFCTS): Do not undefine and redefine.
3122 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3123 <kernel-features.h>.
3124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3126 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3127 <kernel-features.h>.
3128 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3129 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3130
224c6c51
L
31312014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3134
aa6ec754
AS
31352014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3136
3137 [BZ #17069]
3138 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3139 constructed tree before returning error.
3140 * posix/bug-regexp36.c: Expand test case.
3141
d8c2869d
SL
31422014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3143
3ef6b850
SL
3144 [BZ #6803]
3145 * math/libm-test.inc (scalbln_test_date):
3146 Add errno expectations.
3147 * math/w_scalblnf.c: New File.
3148 Add wrapper which checks for setting errno to ERANGE.
3149 Add weak_alias for corresponding scalbln function.
3150 * math/w_scalbln.c: Likewise.
3151 * math/w_scalblnl.c: Likewise.
3152 * math/Makefile (libm-calls): Add w_scalbln.
3153 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3154 Remove weak_alias for corresponding scalbln function.
3155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3157 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3159 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3160 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3161 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3162 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3163 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3164 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3165 Remove long_double_symbol for scalblnl function in libm, libc.
3166 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3167 Add wrapper which checks for setting errno to ERANGE.
3168 Add long_double_symbol for scalblnl function in libm, libc.
3169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3170 Remove long_double_symbol for scalblnl in libm.
3171 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3172 Add wrapper which checks for setting errno to ERANGE.
3173 Add long_double_symbol for scalblnl function in libm.
3174 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3175 Do not use wrapper because of own implementation.
3176
c8daec5c
L
31772014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3178
3179 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3180 3 bytes for __pad1 for x32.
3181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3182
5c74e47c
LM
31832014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3184 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3187 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3188 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3189 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3190 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3191
4d43ef1e
AS
31922014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3193
3194 [BZ #17069]
3195 * posix/regcomp.c (parse_expression): Deallocate partially
3196 constructed tree before returning error.
3197 * posix/Makefile.c (tests): Add bug-regex36.
3198 (generated): Add bug-regex36.mtrace.
3199 (tests-special): Add $(objpfx)bug-regex36-mem.out
3200 (bug-regex36-ENV): New variable.
3201 ($(objpfx)bug-regex36-mem.out): New rule.
3202 * posix/bug-regex36.c: New file.
3203
51a7380b
WN
32042014-06-19 Will Newton <will.newton@linaro.org>
3205
3206 * malloc/malloc.c (systrim): If extra is zero then return
3207 early.
3208
91b84fe5
SP
32092014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3210
3211 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3212
f940b965
RE
32132014-06-19 Richard Earnshaw <rearnsha@arm.com>
3214
3215 * sysdeps/aarch64/strchr.S: New file.
3216
4ba7a00f
JM
32172014-06-18 Joseph Myers <joseph@codesourcery.com>
3218
3219 [BZ #17022]
3220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3221 from arguments -2 or below.
3222 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3223 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3224
b3a9f56b
AS
32252014-06-18 Andreas Schwab <schwab@suse.de>
3226
3227 [BZ #17062]
3228 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3229 of a bracket expr not to run off the end of the string.
3230 * posix/Makefile (tests): Add tst-fnmatch3.
3231 * posix/tst-fnmatch3.c: New file.
3232
85d89278
JM
32332014-06-18 Joseph Myers <joseph@codesourcery.com>
3234
3235 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3236 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3237 [$(cross-compiling) = no]: Likewise.
3238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3239 [$(cross-compiling) = no]: Likewise.
3240
754c5a08
RS
32412014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3242
3243 [BZ #17031]
3244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3245 double, adjusted for any remainder from the high double.
3246 * math/libm-test.inc (nearbyint): Add tests.
3247 (rint): Likewise.
3248
556f529d
AZ
32492014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250
3251 * nptl/sysdeps/powerpc/Makefile: Moved ...
3252 * sysdeps/powerpc/nptl/Makefile: ... here.
3253 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3254 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3255 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3256 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3257 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3258 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3259 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3260 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3261 * nptl/sysdeps/powerpc/tls.h: Moved ...
3262 * sysdeps/powerpc/nptl/tls.h: ... here.
3263
91c03c53
JM
32642014-06-16 Joseph Myers <joseph@codesourcery.com>
3265
3266 [BZ #16681]
3267 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3268 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3269 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3270 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3271 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3272 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3273 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3274 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3275 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3276
a76e63c5
AS
32772014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3278
3279 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3280
f2f6d82f
AS
32812014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3282
ea8a15f6
AS
3283 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3284 defined operator.
3285
f2f6d82f
AS
3286 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3287 $TIMEOUTFACTOR.
3288
a7291117
FW
32892014-06-16 Florian Weimer <fweimer@redhat.com>
3290
3291 [BZ #17058]
3292 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3293 non-executed part of the test.
3294
3d7c00e3
AS
32952014-06-16 Andreas Schwab <schwab@suse.de>
3296
3297 * string/bits/string2.h (strdup, strndup): Update feature guard.
3298
6957fb31
DM
32992014-06-14 David S. Miller <davem@davemloft.net>
3300
3301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3302
11b9e55b
AS
33032014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3304
1d2a0492
AS
3305 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3306 that was previously under [RESET_PID].
3307 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3308
11b9e55b
AS
3309 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3310 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3311 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3313 (__libc_vfork): New strong alias.
3314 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3315
0f6901d0
AK
33162014-06-14 Andi Kleen <ak@linux.intel.com>
3317
3318 * sysdeps/generic/elide.h: New file.
3319
38bbbb9f
SL
33202014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3321
3322 * Makefile (installed-headers): Adjust path of pthread.h header.
3323
45193bb8
RM
33242014-06-13 Roland McGrath <roland@hack.frob.com>
3325
9a25fd1e
RM
3326 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3327 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3329 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3330
4004f7e4
RM
3331 * nptl/sysdeps/s390/Makefile: Moved ...
3332 * sysdeps/s390/nptl/Makefile: ... here.
3333 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3334 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3335 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3336 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3337 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3338 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3339 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3340 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3341 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3342 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3343 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3344 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3345 * nptl/sysdeps/s390/tls.h: Moved ...
3346 * sysdeps/s390/nptl/tls.h: ... here.
3347
45193bb8
RM
3348 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3349 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3350
f6fdf533
DM
33512014-06-13 David S. Miller <davem@davemloft.net>
3352
3353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3356 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3360 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3361 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3362 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3363 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3364 Remove RESET_PID cpp guards.
3365 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3366 Remove RESET_PID cpp guards.
3367 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3368
f5d71e14
AS
33692014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3370
3371 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3372 __sp to uintptr_t.
3373
b7aa8caa
AK
33742014-06-13 Andi Kleen <ak@linux.intel.com>
3375
4b266200
AZ
3376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3377 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3387 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3396
3397 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3398 (pthread_rwlock_rdlock): Add elision.
3399 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3400 (pthread_rwlock_wrlock): Add elision.
3401 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3402 (pthread_rwlock_trywrlock): Add elision.
3403 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3404 (pthread_rwlock_tryrdlock): Add elision.
3405 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3406 (pthread_rwlock_tryrdlock): Add elision unlock.
3407 * nptl/sysdeps/pthread/pthread.h:
3408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3409 (PTHREAD_RWLOCK_INITIALIZER,
3410 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3411 Handle new elision field.
3412 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3413 * sysdeps/arm/nptl/bits/pthreadtypes.h
3414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3415 * sysdeps/sh/nptl/bits/pthreadtypes.h
3416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3417 * sysdeps/tile/nptl/bits/pthreadtypes.h
3418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3419 * sysdeps/a/nptl/bits/pthreadtypes.h
3420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3425 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3431 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3433 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3435 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3437 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3438 (elision_init): Set try_xbegin to zero when no RTM.
3439 * sysdeps/x86/nptl/bits/pthreadtypes.h
3440 (pthread_rwlock_t): Change __pad1 to __rwelision.
3441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3442
a832bdd3
AK
34432014-06-13 Andi Kleen <ak@linux.intel.com>
3444
3445 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3446 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3447 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3448 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3449
995a46bb
MI
34502014-06-13 Meador Inge <meadori@codesourcery.com>
3451
3452 [BZ #16996]
03ed7738 3453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3454 that the cached result has been set before returning it.
3455
45262aee
RM
34562014-06-12 Roland McGrath <roland@hack.frob.com>
3457
febf6cc5
RM
3458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3459 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3461 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3463 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3464
e2682246
RM
3465 * nptl/sysdeps/sparc/Makefile: Moved ...
3466 * sysdeps/sparc/nptl/Makefile: ... here.
3467 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3468 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3469 * nptl/sysdeps/sparc/tls.h: Moved ...
3470 * sysdeps/sparc/nptl/tls.h: ... here.
3471 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3472 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3473 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3474 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3475 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3476 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3477 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3478 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3479 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3480 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3481 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3482 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3483 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3484 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3485 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3486 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3487 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3488 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3489 Update #include.
3490 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3491 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3492 Update #include.
3493 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3495 Update #include.
3496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3498 Update #include.
3499
b0725f43
RM
3500 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3501
b14368b8
RM
3502 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3503 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3504
c5620eb3
RM
3505 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3506 (struct list_links): Type removed.
3507 (struct thread_node, struct timer_node): Replace struct list_links
3508 with struct list_head.
3509 (list_unlink_ip): Likewise.
3510 * sysdeps/pthread/timer_routines.c
3511 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3512 (list_append, list_insbefore): Likewise.
3513 (list_init): Function removed.
3514 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3515 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3516 * sysdeps/pthread/Makefile: ... here, new file.
3517
3518 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3519 * sysdeps/nptl/Implies: ... here.
3520 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3521 * nptl/sysdeps/pthread/list.h: Moved ...
3522 * include/list.h: ... here.
3523 * nptl/sysdeps/pthread/createthread.c: Moved ...
3524 * nptl/createthread.c: ... here.
3525 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3526 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3527 * nptl/pt-longjmp.c: ... here.
3528 * nptl/sysdeps/pthread/Makefile: Moved ...
3529 * sysdeps/nptl/Makefile: ... here.
3530 * nptl/sysdeps/pthread/Subdirs: Moved ...
3531 * sysdeps/nptl/Subdirs: ... here.
3532 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3533 * sysdeps/nptl/aio_misc.h: ... here.
3534 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3535 * sysdeps/nptl/bits/libc-lock.h: ... here.
3536 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3537 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3538 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3539 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3540 * nptl/sysdeps/pthread/configure: Moved ...
3541 * sysdeps/nptl/configure: ... here.
3542 * nptl/sysdeps/pthread/configure.ac: Moved ...
3543 * sysdeps/nptl/configure.ac: ... here.
3544 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3545 * sysdeps/nptl/gai_misc.h: ... here.
3546 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3547 * sysdeps/nptl/librt-cancellation.c: ... here.
3548 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3549 * sysdeps/nptl/malloc-machine.h: ... here.
3550 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3551 * sysdeps/nptl/pthread-functions.h: ... here.
3552 * nptl/sysdeps/pthread/pthread.h: Moved ...
3553 * sysdeps/nptl/pthread.h: ... here.
3554 * nptl/sysdeps/pthread/setxid.h: Moved ...
3555 * sysdeps/nptl/setxid.h: ... here.
3556 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3557 * sysdeps/nptl/sigfillset.c: ... here.
3558 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3559 * sysdeps/nptl/tcb-offsets.h: ... here.
3560 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3561 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3562 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3563 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3564 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3565 * sysdeps/pthread/allocalim.h: ... here.
3566 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3567 * sysdeps/pthread/bits/sigthread.h: ... here.
3568 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3569 * sysdeps/pthread/flockfile.c: ... here.
3570 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3571 * sysdeps/pthread/ftrylockfile.c: ... here.
3572 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3573 * sysdeps/pthread/funlockfile.c: ... here.
3574 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3575 * sysdeps/pthread/posix-timer.h: ... here.
3576 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3577 * sysdeps/pthread/timer_create.c: ... here.
3578 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3579 * sysdeps/pthread/timer_delete.c: ... here.
3580 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3581 * sysdeps/pthread/timer_getoverr.c: ... here.
3582 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3583 * sysdeps/pthread/timer_gettime.c: ... here.
3584 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3585 * sysdeps/pthread/timer_routines.c: ... here.
3586 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3587 * sysdeps/pthread/timer_settime.c: ... here.
3588 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3589 * sysdeps/pthread/tst-timer.c: ... here.
3590 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3591 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3592
e876b090
RM
3593 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3594 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3595
f6b07b3d
RM
3596 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3597 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3598 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3599 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3600 Update #include target.
3601 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3602 * sysdeps/i386/i686/nptl/Makefile: ... here.
3603 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3604 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3605 Update #include target.
3606 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3607 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3608 * nptl/sysdeps/i386/Makefile: Moved ...
3609 * sysdeps/i386/nptl/Makefile: ... here.
3610 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3611 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3612 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3613 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3614 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3615 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3616 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3617 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3618 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3619 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3620 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3621 * nptl/sysdeps/i386/tls.h: Moved ...
3622 * sysdeps/i386/nptl/tls.h: ... here.
3623
45262aee
RM
3624 * sysdeps/sh/Makefile [$(subdir) = csu]
3625 (gen-as-const-headers): Add tcb-offsets.sym.
3626 * nptl/sysdeps/sh/Makefile: File removed.
3627 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3628 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3629 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3630 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3631 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3632 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3633 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3634 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3635 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3636 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3637 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3638 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3639 * nptl/sysdeps/sh/tls.h: Moved ...
3640 * sysdeps/sh/nptl/tls.h: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3642 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3644 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3646 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3648 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3650 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3652 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3654 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3656 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3658 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3660 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3662 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3666 Moved ...
3667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3669 Moved ...
3670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3676 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3678 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3680 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3684 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3686 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3688 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3689
35a5e3e3
SL
36902014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3691
3692 * posix/spawn_faction_addopen.c: Include string.h.
3693
14642b85
RM
36942014-06-11 Roland McGrath <roland@hack.frob.com>
3695
3696 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3697 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3698 * nptl/sysdeps/x86_64/Makefile: Moved ...
3699 * sysdeps/x86_64/nptl/Makefile: ... here.
3700 * nptl/sysdeps/x86_64/configure: Moved ...
3701 * sysdeps/x86_64/nptl/configure: ... here.
3702 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3703 * sysdeps/x86_64/nptl/configure.ac: ... here.
3704 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3705 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3706 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3707 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3708 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3709 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3710 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3711 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3712 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3713 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3714 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3715 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3716 * nptl/sysdeps/x86_64/tls.h: Moved ...
3717 * sysdeps/x86_64/nptl/tls.h: ... here.
3718 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3719 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3720 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3721 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3722
3723 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3724
31c44fea
AZ
37252014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3726
3727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3728
e81a4f9a
JM
37292014-06-11 Joseph Myers <joseph@codesourcery.com>
3730
3731 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3732 type.
3733 [POSIX] (off_t): Likewise.
3734 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3735 [POSIX] (S_ISBLK): Require macro.
3736 [POSIX] (S_ISCHR): Likewise.
3737 [POSIX] (S_ISDIR): Likewise.
3738 [POSIX] (S_ISFIFO): Likewise.
3739 [POSIX] (S_ISREG): Likewise.
3740 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3741 optional-macro.
3742 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3743 type.
3744 [POSIX] (time_t): Likewise.
3745 [POSIX] (timer_t): Likewise.
3746
89e435f3
FW
37472014-06-11 Florian Weimer <fweimer@redhat.com>
3748
3749 [BZ #17048]
3750 * posix/spawn_int.h (struct __spawn_action): Make the path string
3751 non-const to support deallocation.
3752 * posix/spawn_faction_addopen.c
3753 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3754 * posix/spawn_faction_destroy.c
3755 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3756 path in all spawn_do_open actions.
3757 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3758 posix_spawn_file_actions_addopen.
3759
c3a2ebe1
CM
37602014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3761
3762 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3763 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3764 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3765 conditional code always true.
3766 (__libc_vfork): New alias.
3767
9503784a
RM
37682014-06-11 Roland McGrath <roland@hack.frob.com>
3769
c9cab3d2
RM
3770 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3771 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3772
d3996c79
RM
3773 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3774
ba5ec611
RM
3775 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3776 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3777
f12b4814
RM
3778 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3779 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3780
9503784a
RM
3781 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3782 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3783
e23d3d26
VR
37842014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3785
3786 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3787 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3788 multiarch strcmp for PPC64.
3789 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3790 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3792 multiarch optimizations.
3793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3794 (__libc_ifunc_impl_list): Likewise.
3795
42b1161e
SP
37962014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3797
3798 * benchtests/scripts/validate_benchout.py: New script.
3799 * benchtests/Makefile (bench-func): Call it.
3800 * benchtests/scripts/benchout.schema.json: New file.
3801
2d0fc4dc
CM
38022014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3803
4a594c34
AZ
3804 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3805 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3806 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3807 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3808 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3809 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3810 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3811 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3812 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3813 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3814 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3815 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3816 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3817 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3818 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3819 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3821 Moved ...
4a594c34 3822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3823 ... here.
4a594c34 3824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3825 Moved ...
4a594c34
AZ
3826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3828 Moved ...
4a594c34 3829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3830 ... here.
4a594c34 3831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3832 Moved ...
4a594c34 3833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3834 ... here.
4a594c34 3835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3836 Moved ...
4a594c34
AZ
3837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3839 Moved ...
4a594c34 3840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3841 ... here.
4a594c34 3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3843 Moved ...
4a594c34 3844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3845 ... here.
4a594c34 3846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3847 Moved ...
4a594c34
AZ
3848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3850 Moved ...
4a594c34 3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3852 ... here.
4a594c34 3853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3854 Moved ...
4a594c34 3855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3856 ... here.
4a594c34 3857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3858 Moved ...
4a594c34 3859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3860 ... here.
4a594c34 3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3862 Moved ...
4a594c34
AZ
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3865 Moved ...
4a594c34 3866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3867 ... here.
4a594c34 3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3869 Moved ...
4a594c34 3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3871 ... here.
4a594c34 3872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3873 Moved ...
4a594c34 3874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3875 ... here.
4a594c34 3876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3877 Moved ...
4a594c34
AZ
3878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3880 Moved ...
4a594c34 3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3882 ... here.
4a594c34 3883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3884 Moved ...
4a594c34 3885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3886 ... here.
4a594c34 3887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3888 Moved ...
4a594c34
AZ
3889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3891 Moved ...
4a594c34 3892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3893 ... here.
4a594c34 3894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3895 Moved ...
4a594c34
AZ
3896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3898 Moved ...
4a594c34
AZ
3899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3901 Moved ...
4a594c34 3902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3903 ... here.
4a594c34 3904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3905 Moved ...
4a594c34 3906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3907 ... here.
4a594c34 3908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3909 Moved ...
4a594c34 3910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3911 ... here.
4a594c34 3912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3913 Moved ...
4a594c34
AZ
3914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3916 Moved ...
4a594c34 3917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3918 ... here.
4a594c34 3919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3920 Moved ...
4a594c34 3921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3922 ... here.
4a594c34
AZ
3923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3924 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3928 Moved ...
4a594c34 3929 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3930 ... here.
4a594c34
AZ
3931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3938 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3944 Moved ...
4a594c34
AZ
3945 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3947 Moved ...
4a594c34
AZ
3948 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3950 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3952 Moved ...
4a594c34
AZ
3953 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3955 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3956 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3957 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3958 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3959 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3960
0570cfed
W
39612014-06-10 Wilco <wdijkstr@arm.com>
3962
3963 * math/test-fenv-return.c: New file.
3964 * math/Makefile: Add new test test-fenv-return.
3965
f8ba1b56
JM
39662014-06-10 Joseph Myers <joseph@codesourcery.com>
3967
3968 [BZ #17042]
3969 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3970 when x - 1 is zero.
3971 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3972 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3973 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3974 0.0L for an argument of 1.0L.
3975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3976 Likewise.
3977 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3978 value when x - 1 is zero.
3979 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982
2c3520d9
BO
39832014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3984
3985 [BZ #15119]
3986 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3987
acaa4d24
RM
39882014-06-09 Roland McGrath <roland@hack.frob.com>
3989
3990 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3991 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3992
962b744d
RM
39932014-06-09 Roland McGrath <roland@hack.frob.com>
3994
d752f0cc
RM
3995 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3996 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3997
34eda6d1
RM
3998 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3999 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4000
50f0a637
RM
4001 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4002 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4003
08f41f04
RM
4004 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4005 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4006
962b744d
RM
4007 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4008 if not already defined.
4009 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4010 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4011 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4012 (TLS_INIT_TP): Use it.
4013 (TLS_DEFINE_INIT_TP): New macro.
4014 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4015
09f19b05
JM
40162014-06-09 Joseph Myers <joseph@codesourcery.com>
4017
4018 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4019 constant.
4020 [POSIX] (IXANY): Likewise.
4021 [POSIX] (OLCUC): Likewise.
4022 [POSIX || POSIX2008] (CBAUD): Do not allow.
4023 [POSIX || POSIX2008] (DEFECHO): Likewise.
4024 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4025 [POSIX || POSIX2008] (ECHOKE): Likewise.
4026 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4027 [POSIX || POSIX2008] (EXTA): Likewise.
4028 [POSIX || POSIX2008] (EXTB): Likewise.
4029 [POSIX || POSIX2008] (FLUSHO): Likewise.
4030 [POSIX || POSIX2008] (LOBLK): Likewise.
4031 [POSIX || POSIX2008] (PENDIN): Likewise.
4032 [POSIX || POSIX2008] (SWTCH): Likewise.
4033 [POSIX || POSIX2008] (VDISCARD): Likewise.
4034 [POSIX || POSIX2008] (VDSUSP): Likewise.
4035 [POSIX || POSIX2008] (VLNEXT): Likewise.
4036 [POSIX || POSIX2008] (VREPRINT): Likewise.
4037 [POSIX || POSIX2008] (VSTATUS): Likewise.
4038 [POSIX || POSIX2008] (VWERASE): Likewise.
4039 (B*): Change to B[0123456789]*.
4040 * conform/data/time.h-data [POSIX || UNIX98]
4041 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4042 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4043 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4044 [POSIX] (tm_*): Do not allow.
4045
686554bf
JM
40462014-06-07 Joseph Myers <joseph@codesourcery.com>
4047
4048 * Makefile (install): Don't set LANGUAGE.
4049 * Makefile.in (install): Likewise.
4050 * assert/Makefile (test-assert-ENV): Remove variable.
4051 (test-assert-perr-ENV): Likewise.
4052 * elf/Makefile (neededtest4-ENV): Likewise.
4053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4054 [$(cross-compiling) = no]: Don't set LANGUAGE.
4055 * io/ftwtest-sh (LANG): Remove variable.
4056 * libio/Makefile (tst-widetext-ENV): Likewise.
4057 * manual/install.texi (Running make install): Don't refer to
4058 environment settings for make install.
4059 * INSTALL: Regenerated.
4060 * nptl/tst-tls6.sh: Don't set LANG.
4061 * posix/globtest.sh (LANG): Remove variable.
4062 * string/Makefile (tester-ENV): Likewise.
4063 (inl-tester-ENV): Likewise.
4064 (noinl-tester-ENV): Likewise.
4065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4066 [$(cross-compiling) = no]: Don't set LANGUAGE.
4067 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4068 without explicit environment settings.
4069
68e6b6b1
RM
40702014-06-06 Roland McGrath <roland@hack.frob.com>
4071
4072 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4073 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4075 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4076
4d3ae034
CM
40772014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4078
4079 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4080 other files in the crypt directory.
4081 * crypt/crypt.c: Remove duplicate includes.
4082 * crypt/crypt-entry.c: Likewise.
4083 * crypt/crypt_util.c: Likewise.
4084
8540f6d2
JM
40852014-06-06 Joseph Myers <joseph@codesourcery.com>
4086
4087 * Makeconfig (run-program-env): New variable.
4088 (run-program-prefix-before-env): Likewise.
4089 (run-program-prefix-after-env): Likewise.
4090 (run-program-prefix): Define in terms of new variables.
4091 (built-program-cmd-before-env): New variable.
4092 (built-program-cmd-after-env): Likewise.
4093 (built-program-cmd): Define in terms of new variables.
4094 (test-program-prefix-before-env): New variable.
4095 (test-program-prefix-after-env): Likewise.
4096 (test-program-prefix): Define in terms of new variables.
4097 (test-program-cmd-before-env): New variable.
4098 (test-program-cmd-after-env): Likewise.
4099 (test-program-cmd): Define in terms of new variables.
4100 * Rules (make-test-out): Use $(run-program-env).
4101 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4102 (help): Do not mention environment variables. Mention
4103 --timeoutfactor option.
4104 (timeoutfactor): New variable.
4105 (blacklist_exports): Remove function.
4106 (exports): Remove variable.
4107 (command): Do not include ${exports}.
4108 * manual/install.texi (Configuring and compiling): Do not mention
4109 test wrappers preserving environment variables. Mention that last
4110 assignment to a variable must take precedence.
4111 * INSTALL: Regenerated.
4112 * benchtests/Makefile (run-bench): Use $(run-program-env).
4113 * catgets/Makefile ($(objpfx)test1.cat): Use
4114 $(built-program-cmd-before-env), $(run-program-env) and
4115 $(built-program-cmd-after-env).
4116 ($(objpfx)test2.cat): Do not specify environment variables
4117 explicitly.
4118 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4119 $(run-program-env) and $(built-program-cmd-after-env).
4120 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4121 $(run-program-env) and $(test-program-cmd-after-env).
4122 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4123 explicitly.
4124 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4125 run_program_env and test_program_cmd_after_env arguments.
4126 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4127 * elf/tst-pathopt.sh: Use run_program_env argument.
4128 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4129 $(test-wrapper-env) and $(run-program-env).
4130 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4131 run_program_env arguments.
4132 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4133 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4134 $(test-program-prefix-before-env), $(run-program-env) and
4135 $(test-program-prefix-after-env).
4136 ($(objpfx)tst-gettext2.out): Likewise.
4137 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4138 run_program_env and test_program_prefix_after_env arguments.
4139 * intl/tst-gettext2.sh: Likewise.
4140 * intl/tst-gettext4.sh: Do not set environment variables
4141 explicitly.
4142 * intl/tst-gettext6.sh: Likewise.
4143 * intl/tst-translit.sh: Likewise.
4144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4145 $(test-program-prefix-before-env), $(run-program-env) and
4146 $(test-program-prefix-after-env).
4147 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4148 run_program_env and test_program_prefix_after_env arguments.
4149 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4150 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4151 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4152 explicitly with each use of ${test_wrapper_env}.
4153 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4154 $(test-program-prefix-before-env), $(run-program-env) and
4155 $(test-program-prefix-after-env).
4156 * posix/tst-getconf.sh: Do not set environment variables
4157 explicitly.
4158 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4159 run_program_env and test_program_prefix_after_env arguments.
4160 * stdio-common/tst-printf.sh: Do not set environment variables
4161 explicitly.
4162 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4163 $(test-program-prefix-before-env), $(run-program-env) and
4164 $(test-program-prefix-after-env).
4165 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4166 run_program_env and test_program_prefix_after_env arguments.
4167 Split $test calls into $test_pre and $test.
4168 * timezone/Makefile (build-testdata): Use
4169 $(built-program-cmd-before-env), $(run-program-env) and
4170 $(built-program-cmd-after-env).
4171
ed36bfa1
AZ
41722014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173
4174 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4175 strlen for non SHARED builds.
4176
fc75bf46
SP
41772014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4178
4179 * nptl/allocatestack.c (check_list): Inlined function...
4180 (__reclaim_stacks): ... here.
4181
d89b3d80
OB
41822014-06-05 Ondřej Bílka <neleai@seznam.cz>
4183
4184 [BZ #15698]
4185 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4186 memory overrun.
4187
2bf18041
JM
41882014-06-05 Joseph Myers <joseph@codesourcery.com>
4189
4190 * Rules (make-test-out): Include
4191 LOCPATH=$(common-objpfx)localedata in default environment.
4192 * debug/Makefile (tst-chk1-ENV): Remove variable.
4193 (tst-chk2-ENV): Likewise.
4194 (tst-chk3-ENV): Likewise.
4195 (tst-chk4-ENV): Likewise.
4196 (tst-chk5-ENV): Likewise.
4197 (tst-chk6-ENV): Likewise.
4198 (tst-lfschk1-ENV): Likewise.
4199 (tst-lfschk2-ENV): Likewise.
4200 (tst-lfschk3-ENV): Likewise.
4201 (tst-lfschk4-ENV): Likewise.
4202 (tst-lfschk5-ENV): Likewise.
4203 (tst-lfschk6-ENV): Likewise.
4204 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4205 (tst-iconv7-ENV): Likewise.
4206 * intl/Makefile (LOCPATH-ENV): Likewise.
4207 (tst-codeset-ENV): Likewise.
4208 (tst-gettext3-ENV): Likewise.
4209 (tst-gettext5-ENV): Likewise.
4210 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4211 (tst-fopenloc-ENV): Likewise.
4212 (tst-fgetws-ENV): Remove variable.
4213 (tst-ungetwc1-ENV): Likewise.
4214 (tst-ungetwc2-ENV): Likewise.
4215 (bug-ungetwc2-ENV): Likewise.
4216 (tst-swscanf-ENV): Likewise.
4217 (bug-ftell-ENV): Likewise.
4218 (tst-fgetwc-ENV): Likewise.
4219 (tst-fseek-ENV): Likewise.
4220 (tst-ftell-partial-wide-ENV): Likewise.
4221 (tst-ftell-active-handler-ENV): Likewise.
4222 (tst-ftell-append-ENV): Likewise.
4223 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4224 (tst-regexloc-ENV): Likewise.
4225 (bug-regex1-ENV): Likewise.
4226 (tst-regex-ENV): Likewise.
4227 (tst-regex2-ENV): Likewise.
4228 (bug-regex5-ENV): Likewise.
4229 (bug-regex6-ENV): Likewise.
4230 (bug-regex17-ENV): Likewise.
4231 (bug-regex18-ENV): Likewise.
4232 (bug-regex19-ENV): Likewise.
4233 (bug-regex20-ENV): Likewise.
4234 (bug-regex22-ENV): Likewise.
4235 (bug-regex23-ENV): Likewise.
4236 (bug-regex25-ENV): Likewise.
4237 (bug-regex26-ENV): Likewise.
4238 (bug-regex30-ENV): Likewise.
4239 (bug-regex32-ENV): Likewise.
4240 (bug-regex33-ENV): Likewise.
4241 (bug-regex34-ENV): Likewise.
4242 (bug-regex35-ENV): Likewise.
4243 (tst-rxspencer-ENV): Likewise.
4244 (tst-rxspencer-no-utf8-ENV): Likewise.
4245 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4246 (tst-sscanf-ENV): Likewise.
4247 (tst-swprintf-ENV): Likewise.
4248 (tst-swscanf-ENV): Likewise.
4249 (test-vfprintf-ENV): Likewise.
4250 (scanf13-ENV): Likewise.
4251 (bug14-ENV): Likewise.
4252 (tst-grouping-ENV): Likewise.
4253 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4254 (tst-strtod3-ENV): Likewise.
4255 (tst-strtod4-ENV): Likewise.
4256 (tst-strtod5-ENV): Likewise.
4257 (testmb2-ENV): Likewise./
4258 * string/Makefile (tst-strxfrm-ENV): Likewise.
4259 (tst-strxfrm2-ENV): Likewise.
4260 (bug-strcoll1-ENV): Likewise.
4261 (test-strcasecmp-ENV): Likewise.
4262 (test-strncasecmp-ENV): Likewise.
4263 * time/Makefile (tst-strptime-ENV): Likewise.
4264 (tst-ftime_l-ENV): Likewise.
4265 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4266 (tst-mbrtowc-ENV): Likewise.
4267 (tst-wcrtomb-ENV): Likewise.
4268 (tst-mbrtowc2-ENV): Likewise.
4269 (tst-c16c32-1-ENV): Likewise.
4270 (tst-mbsnrtowcs-ENV): Likewise.
4271
cd1fb604
OB
42722014-06-05 Ondřej Bílka <neleai@seznam.cz>
4273
4274 * manual/resource.texi (How to get information about the memory
4275 subsystem?): Fix typo.
4276 Reported by Peon de la Parra Ivan <peon@keba.com>
4277
b42eca7d
GY
42782014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4279
4280 [BZ #16882]
4281 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4282 (pthread_spin_lock): Branch out of spin loop to proper location.
4283 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4284 (pthread_spin_lock): Likewise.
4285
902b71f9
DM
4286 * nptl/tst-spin4.c: New test.
4287 * nptl/Makefile (tests): Add tst-spin4.
4288
f9d2d032
AS
42892014-06-03 Andreas Schwab <schwab@suse.de>
4290
4291 [BZ #15946]
4292 * resolv/res_send.c (send_dg): Reload file descriptor after
4293 calling reopen.
4294
cf7bfd28
SL
42952014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4296
4297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4298
111cc714
RH
42992014-06-03 Richard Henderson <rth@redhat.com>
4300
89b4bd6b
RH
4301 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4302 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4303 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4304 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4305 in the SAVE_PID block.
4306 (__libc_vfork): New alias.
71840409 4307 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4308
111cc714
RH
4309 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4310 child in registers, not on the stack. Remove RESET_PID conditionals.
4311 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4312
ccc39911
MS
43132014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4314
4315 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4316
693096cc
W
43172014-06-03 Wilco <wdijkstr@arm.com>
4318
4319 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4320 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4321 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4322 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4323 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4324 Likewise.
4325
0b4366bc
W
43262014-06-03 Wilco <wdijkstr@arm.com>
4327
4328 * sysdeps/aarch64/fpu/math_private.h
4329 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4330 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4331 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4332 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4333 Fix declarations.
4334
8747cd03
KS
43352014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4336
4337 * crypt/crypt-private.h: Include ufc-crypt.h.
4338 (__b64_from_24bit): Declare extern.
4339 * crypt/crypt_util.c(__b64_from_24bit): New function.
4340 (b64t): New static const variable.
4341 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4342 (b64t): Remove variable.
4343 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4344 * crypt/sha256-crypt.c: Include crypt-private.h.
4345 (b64t): Remove variable.
4346 (__sha256_crypt_r): Remove b64_from_24bit and replace
4347 with __b64_from_24bit.
4348 * crypt/sha512-crypt.c: Likewise.
4349
d936d379
RM
43502014-06-02 Roland McGrath <roland@hack.frob.com>
4351
4352 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4353 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4354 Label the code __libc_vfork rather than __vfork.
4355 [!NOT_IN_libc] (vfork): Define as weak alias.
4356 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4357 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4358 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4359
9fa76613
SP
43602014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4361
4362 * malloc/malloc.c (malloc_info): Fix format specifier for
4363 n_mmaps.
4364
a88dadbe
W
43652014-06-02 Wilco <wdijkstr@arm.com>
4366
4367 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4368 FPCR write.
4369
c95b3011
W
43702014-06-02 Wilco <wdijkstr@arm.com>
4371
4372 [BZ #17009]
4373 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4374 Rewrite to reduce FPCR/FPSR accesses.
4375
6b4d7a90
DM
43762014-06-01 David S. Miller <davem@davemloft.net>
4377
4378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4379
30f3d07c
DM
43802014-05-31 David S. Miller <davem@davemloft.net>
4381
4382 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4383 to occur in round to nearest mode when |x| >= 2.0
4384
74f31c18
RH
43852014-05-30 Richard Henderson <rth@twiddle.net>
4386
f0712b54
RH
4387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4388 (PSEUDO_RET_NOERRNO): Remove.
4389 (ret): Don't redefine.
4390 (ret_NOERRNO): Define in terms of ret.
4391 (ret_ERRVAL): Likewise.
4392
74f31c18
RH
4393 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4394 use of PSEUDO_RET; perform the error check directly.
4395
30477995
MM
43962014-05-30 Marko Myllynen <myllynen@redhat.com>
4397
4398 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4399 with __int128_t.
4400
62a58816
SP
44012014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4402
4403 * malloc/malloc (malloc_info): Fix formatting.
4404
4d653a59
SP
44052014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4406 Roland McGrath <roland@hack.frob.com>
4407
4408 * malloc/malloc (malloc_info): Also print mmapped statistics.
4409
5190c17f
RM
44102014-05-30 Roland McGrath <roland@hack.frob.com>
4411
4412 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4413 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4414
987c0269
OB
44152014-05-30 Ondřej Bílka <neleai@seznam.cz>
4416
4417 * malloc/malloc.c (malloc_info): Inline mi_arena.
4418
af4e8ef9
RH
44192014-05-29 Richard Henderson <rth@twiddle.net>
4420
1670e207
RH
4421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4422 Remove comma before expanding ASM_ARGS_##nr.
4423 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4424 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4425 of ASM_ARGS_##nr.
4426 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4427 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4428 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4429 (ASM_ARGS_1): Add leading comma.
4430
11a28aee
RH
4431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4432 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4433 to __errno_location.
4434 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4435 Remove the expected plt for __errno_location.
4436
a17e5ffb 4437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4438 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4439 call to __read_tp.
4440
b5be4597
RH
4441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4442 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4443 it and break it down.
4444 (DOCARGS_0, DOCARGS_1): Do nothing.
4445 (DOCARGS_2): Update to store into the new stack frame.
4446 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4447 (UNDOCARGS_1): Update to restore from the new stack frame.
4448 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4449 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4450
645d44ab
RH
4451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4452 (SINGLE_THREAD_P): New parameter for result regno.
4453 (PSEUDO): Update to match; use cbz instead of beq.
4454
a8b4f04a
RH
4455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4456 Use ENTRY to define the _nocancel entry point. Share the syscall
4457 and syscall error check paths with the cancel path.
4458 (PSEUDO_END): New.
4459
af4e8ef9
RH
4460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4461 whitespace; tabs before and after asm mnemonics.
4462
26b0d2e1
EW
44632014-05-29 Eric Wong <normalperson@yhbt.net>
4464
4465 [BZ #15132]
4466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4467 Call fstat64 or stat64 internally, depending on arguments passed.
4468 Replace stat buffer argument with file descriptor argument.
4469 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4470 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4471 Pass fd to __internal_statvfs instead of calling fstat64.
4472 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4473 Pass fd to __internal_statvfs64 instead of calling fstat64.
4474 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4475 Pass -1 to __internal_statvfs instead of calling stat64.
4476 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4477 Pass -1 to __internal_statvfs64 instead of calling stat64.
4478
1efe2bd9
RM
44792014-05-28 Roland McGrath <roland@hack.frob.com>
4480
0d3b7a19
RM
4481 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4482 that was previously under [RESET_PID].
4483 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4484
1efe2bd9
RM
4485 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4486 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4487
a6bea3ca
RM
44882014-05-27 Roland McGrath <roland@hack.frob.com>
4489
30b6629e
RM
4490 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4491
a6bea3ca
RM
4492 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4493 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4494
3dfb9a5c
OB
44952014-05-27 Ondřej Bílka <neleai@seznam.cz>
4496
4497 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4498
774f9285
AS
44992014-05-27 Andreas Schwab <schwab@suse.de>
4500
4501 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4502 TLS_INIT_TP macro.
4503 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4504 * elf/rtld.c (init_tls, dl_main): Likewise.
4505 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4506 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4507 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4508 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4509 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4510 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4511 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4512 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4513 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4514 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4515 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4516 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4517 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4518 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4519 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4520 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4521 * sysdeps/generic/tls.h: Update description.
4522
36ffe739
WN
45232014-05-27 Will Newton <will.newton@linaro.org>
4524
4525 [BZ #16990]
4526 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4527 and restore r2 rather than just restoring.
4528
2482ae43
SP
45292014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
4531 [BZ #16724]
4532 * libio/tst-ftell-append.c: New test case.
4533 * libio/Makefile (tests): Add test case.
4534 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4535 append mode.
4536 * libio/wfileops.c (do_ftell_wide): Likewise.
4537
3d1024e8
AZ
45382014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4539
bab90016
AZ
4540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4541
c7a8d667
AZ
4542 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4543 ...
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4546 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4547 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4549 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4551 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4553 Moved ...
4554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4556 Moved ...
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4558 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4559 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4561 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4562 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4563 ...
4564 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4566 Moved ...
4567 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4568 here.
4569 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4570 ...
4571 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4573 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4574
daee7851
AZ
4575 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4576 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4578 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4579
50a40819
AZ
4580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4581 merge into ...
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4584 ...
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4587 ...
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4590 Moved ...
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4592 here.
4593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4594 Moved ...
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4597 Moved ...
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4599
8464c2a1
AZ
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4601 conditional [RESET_PID].
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4604 removed.
4605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4606 removed.
4607
3d1024e8
AZ
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4609 <tcb-offsets.h>.
4610 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4611 (__libc_vfork): New strong alias.
4612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4613 removed.
4614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4615 Removed.
4616
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4618 <tcb-offsets.h>.
4619 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4620 (__libc_vfork): New strong alias.
4621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4622 removed.
4623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4624 removed.
4625
fdfd175d
CD
46262014-05-26 Carlos O'Donell <carlos@redhat.com>
4627
4628 * malloc/malloc.c (mi_arena): New function.
4629 (malloc_info): Remove nested function mi_arena. Call non-nosted
4630 function mi_arena.
4631
d298c416
AZ
46322014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4633
4634 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4635 by insrwi.
4636 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4637 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4638 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4639 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4640 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4641 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4643
b60ea6ff
AS
46442014-05-26 Andreas Schwab <schwab@suse.de>
4645
4646 [BZ #16984]
4647 * locale/programs/repertoire.c (repertoire_read): Add slash
4648 between I18NPATH element and file name.
4649 * locale/programs/locfile.c (locfile_read): Likewise.
4650
67365926
SL
46512014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4652
4653 * nptl/pthread_mutexattr_settype.c
4654 (__pthread_mutexattr_settype):
4655 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4656
f8bdf1f0
SL
46572014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4658
4659 * nptl/tst-mutex5 (do_test):
4660 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4661
15eaf6ff
SP
46622014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4663
4664 * benchtests/README: Document 'init' directive.
4665 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4666 BENCH_INIT.
4667 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4668 (parse_file): Recognize 'init' directive.
4669
75f11331
KM
46702014-05-26 Kyle McMartin <kyle@redhat.com>
4671
4672 [BZ #16796]
4673 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4674 alignment of struct pthread.
4675
c3ec475c
SP
46762014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 [BZ #16878]
4679 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4680 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4681 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4683
82aab97c
RH
46842014-05-25 Richard Henderson <rth@twiddle.net>
4685
aa2f176d
RH
4686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4687 (SINGLE_THREAD_P_PIC): Remove.
4688 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4689 (SINGLE_THREAD_P_PIC): Remove.
4690
ca3cfa40
RH
4691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4692 branch to syscall error ...
4693 (PSEUDO): ... here.
4694 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4695 from __local_syscall_error to .Lsyscall_error.
4696 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4697 (SYSCALL_ERROR): Update label name.
4698
6e6c2d01
RH
4699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4700 Do not use DOARGS/UNDOARGS.
4701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4702 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4703 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4704 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4705 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4706
c69abcee
RH
4707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4708 block comment.
4709
82aab97c
RH
4710 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4711 define if !NOT_IN_libc.
4712 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4713 define with non-default symbol versions.
4714
8820e3ac
RH
47152014-05-23 Richard Henderson <rth@twiddle.net>
4716
900e445f
RH
4717 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4718 (vfork, __vfork): Define via compat_symbol.
4719
8820e3ac
RH
4720 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4721 [!HAVE_IFUNC] (vfork_compat): Remove.
4722 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4723
e59252a5
JM
47242014-05-23 Joseph Myers <joseph@codesourcery.com>
4725
4726 [BZ #16978]
4727 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4728 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4729 variable.
4730
132c7f5f
RH
47312014-05-23 Richard Henderson <rth@twiddle.net>
4732
bc89e962
RH
4733 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4734 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4735 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4736 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4737
4738 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4739 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4741 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4743 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4745 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4746 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4747 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4748 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4749 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4750 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4755 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4761 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4764 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4765 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4766 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4767 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4769 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4771 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4772 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4773 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4775 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4777 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4778 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4779 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4780 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4781 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4782 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4783 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4785 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4787 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4789 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4791 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4793 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4794
e2fa4bc2
RH
4795 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4796 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4797 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4798 before exiting on error.
4799 (__libc_vfork): New strong alias.
4800 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4801 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4802
279b24e2
RH
4803 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4804 that was previously under [RESET_PID].
4805 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4806
132c7f5f
RH
4807 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4808
b72592e7
JM
48092014-05-23 Joseph Myers <joseph@codesourcery.com>
4810
4811 [BZ #16977]
4812 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4813 value when x - 1 is zero.
4814 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4815 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4816 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4817 0.0L for an argument of 1.0L.
4818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4819 Likewise.
4820 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4821 value when x - 1 is zero.
4822 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4823 * sysdeps/i386/fpu/libm-test-ulps: Update.
4824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4825
2302d679
RV
48262014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4827
4828 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4829 alphasort and versionsort.
4830
32999d63
AZ
48312014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4832
4833 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4834 macro.
4835 [copysignf]: Likewise.
4836
019324d0
SP
48372014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4838
4839 * crypt/md5-crypt.c: Fix formatting.
4840
34fff5c2
KS
48412014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4842
4843 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4844 (b64_from_24bit): New function.
4845
3d2badac
AZ
48462014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4847
4848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4849 libc_hidden_builtin_def to ifunc.
4850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4851 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4852
f7bb179f 48532014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4854
4855 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4856 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4857
4134b50d
JM
48582014-05-21 Joseph Myers <joseph@codesourcery.com>
4859
bb7d0337
JM
4860 * nscd/Depend (linuxthreads): Remove.
4861 (nptl): Add.
4862 * resolv/Depend (linuxthreads): Remove.
4863 * rt/Depend (linuxthreads): Remove.
4864
4134b50d
JM
4865 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4866 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4867 $(common-objpfx)elf/.
4868 (link-libc-before-gnulib): Likewise.
4869 (elfobjdir): Remove variable.
4870 * Makefile (install): Use $(elf-objpfx) instead of
4871 $(common-objpfx)elf/.
4872 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4873 $(elfobjdir)/.
4874 (link-libc-deps): Likewise.
4875 ($(common-objpfx)libc.so): Likewise.
4876 ($(common-objpfx)linkobj/libc.so): Likewise.
4877 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4878 instead of $(common-objpfx)elf/.
4879 (symbolic-link-list): Likewise.
4880 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4881 [$(cross-compiling) = no]: Likewise.
4882 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4883 $(elfobjdir)/.
4884 (static-gnulib-arch): Likewise.
4885 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4886 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4887 $(common-objpfx)elf/.
4888
3612eb8f
RH
48892014-05-21 Richard Henderson <rth@redhat.com>
4890
a6b3657b
RH
4891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4892 (SINGLE_THREAD_P): Use the correct width load. Fold
4893 into the ldr offset.
4894
3612eb8f
RH
4895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4896 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4897
175cef41
JM
48982014-05-20 Joseph Myers <joseph@codesourcery.com>
4899
4900 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4901 (libgcc_s_resume): Use __attribute_used__.
4902 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4903 Likewise.
4904
e13bccd3
AZ
49052014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4906
4907 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4908 optimization when used with float constants.
4909
7c112a38
AZ
4910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4911
ae75a883
AJ
49122014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4913
4914 [BZ #16915]
4915 * locale/nl_langinfo_l.c: Make direct reference to every
4916 _nl_current_CATEGORY symbol.
4917 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4918 (tests-static): Add tst-langinfo-static.
4919 (tests-special): Add tst-langinfo-static.out.
4920 ($(objpfx)tst-langinfo.out): Redirect output.
4921 ($(objpfx)tst-langinfo-static.out): New.
4922 * localedata/tst-langinfo.sh: Send output to stdout.
4923 * localedata/tst-langinfo-static.c: New file.
4924
4406c41c
AJ
4925 [BZ #16965]
4926 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4927 when the shift amount is modulo the limb size.
4928
4c0a1e63
RH
49292014-05-20 Richard Henderson <rth@redhat.com>
4930
de9d8f20
RH
4931 [BZ #16967]
4932 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4933 Change type of sa_flags from unsigned int to int.
4934
4c0a1e63
RH
4935 [BZ #16966]
4936 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4937
4938 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4939
a60339aa
WN
49402014-05-20 Will Newton <will.newton@linaro.org>
4941
4942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4943 Test the return value of the system call in the nocancel case.
4944
7d05a816
YR
49452014-05-20 Will Newton <will.newton@linaro.org>
4946 Yvan Roux <yvan.roux@linaro.org>
4947
4948 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4949 #include of asm/ptrace.h.
4950 (PTRACE_GET_THREAD_AREA): Remove #undef.
4951 (PTRACE_GETHBPREGS): Likewise.
4952 (PTRACE_SETHBPREGS): Likewise.
4953 (struct user_regs_struct): New structure.
4954 (struct user_fpsimd_struct): New structure.
4955 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4956 #include of asm/ptrace.h and second #include of sys/user.h.
4957 (PTRACE_GET_THREAD_AREA): Remove #undef.
4958 (PTRACE_GETHBPREGS): Likewise.
4959 (PTRACE_SETHBPREGS): Likewise.
4960 (ELF_NGREG): Use new struct user_regs_struct.
4961 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4962
af121e37
AZ
49632014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4964
4965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4967
834caf06
JM
49682014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4969
4970 [BZ #16958]
4971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4972 membar to avoid block loads/stores to overlap previous stores.
4973
e184a918
RH
49742014-05-17 Richard Henderson <rth@redhat.com>
4975
4976 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4977 Create the __##syscall_name##_nocancel entry point.
4978 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4979 Remove; let the sysdep-cancel.h code create it.
4980
f56c7a6a
DM
49812014-05-17 David S. Miller <davem@davemloft.net>
4982
4983 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4984 Protect with __USE_GNU.
4985 (TIOCSET_TEMPT): Likewise.
4986 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4987 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4988 these are already provided in bits/ioctl-types.h
4989
f75616b2
RM
49902014-05-16 Roland McGrath <roland@hack.frob.com>
4991
3edeca86
RM
4992 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4993 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4994
f75616b2
RM
4995 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4996 Use wait4 regardless of [__NR_waitpid].
4997
deb0f7f6
MR
49982014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4999
5000 PR libgcc/60166
5001 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5002 (_FP_NANSIGN_Q): Set the quiet bit.
5003
79520f4b
JM
50042014-05-16 Joseph Myers <joseph@codesourcery.com>
5005
5006 * benchtests/Makefile
5007 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5008 not $(common-objpfx)math/libm.so.
5009 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5010 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5011 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5012 $(common-objpfx)dlfcn/libdl.so.
5013 ($(objpfx)tst-audit8): Depend on $(libm), not
5014 $(common-objpfx)math/libm.so.
5015 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5016 not $(common-objpfx)dlfcn/libdl.so.
5017 * math/Makefile
5018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5019 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5020 [$(build-shared) = yes].
5021 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5022 $(common-objpfx)nptl/libpthread.so.
5023 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5024 $(common-objpfx)math/libm.so$(libm.so-version) or
5025 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5026 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5027 $(common-objpfx)dlfcn/libdl.so.
5028 * setjmp/Makefile (link-libm): Remove variable.
5029 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5030 * stdio-common/Makefile (link-libm): Remove variable.
5031 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5032 * stdlib/Makefile (link-libm): Remove variable.
5033 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5034 ($(objpfx)tst-strtod-round): Likewise.
5035 ($(objpfx)tst-tininess): Likewise.
5036 ($(objpfx)tst-strtod-underflow): Likewise.
5037 ($(objpfx)tst-strtod6): Likewise.
5038 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5039 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5040 $(common-objpfx)dlfcn/libdl.so.
5041
026b0fe4
AZ
50422014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5043
5044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5045 BSD terminal modes definitions.
5046
def4bcb2
RM
50472014-05-16 Roland McGrath <roland@hack.frob.com>
5048
fe39b021
RM
5049 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5050 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5051
1d1fc46e 5052 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5053 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5055 Don't do #include_next.
5056 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5057 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5058 Don't do #include_next.
5059 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5060 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5061 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5062 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5063
c72399fb
AM
50642014-05-16 Allan McRae <allan@archlinux.org>
5065
d51d659d
AM
5066 * po/sv.po: Update Swedish translation from translation project.
5067
c72399fb
AM
5068 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5069 in sed expression.
5070
d0583c40
AJ
50712014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5072
5073 [BZ #16917]
5074 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5075 errno if the TIOCGPTN ioctl fails with an error different than
5076 EINVAL.
5077 * login/tst-ptsname.c: New file.
5078 * login/Makefile (tests): Add tst-ptsname.
5079
d16e6ec7
AJ
5080 [BZ #16943]
5081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5082 and prlimit64.
5083
cf26a0cb
SP
50842014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5085
5086 [BZ #16849]
5087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5088 herrno to return EAI_AGAIN.
5089
5675da1e
RM
50902014-05-14 Roland McGrath <roland@hack.frob.com>
5091
a5d87b3d
RM
5092 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5093 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5094 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5097 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5099 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5101 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5102 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5107 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5111 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5115 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5121 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5123 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5125 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5127 Moved ...
5128 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5130 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5136 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5140 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5142 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5150 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5152 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5156 Moved ...
5157 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5165 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5169 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5173 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5175 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5177 Moved ...
5178 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5180 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5181
039890a6
RM
5182 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5183 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5184 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5185 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5186 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5188 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5190 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5192 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5194 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5196 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5198 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5200 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5201 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5202 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5204 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5213
65c89320
RM
5214 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5215 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5216
348f8e8c
RM
5217 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5218 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5219 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5221 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5223 Moved ...
5224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5229 Moved ...
5230 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5232 Moved ...
5233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5235 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5237 Moved ...
5238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5240 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5244 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5246 Moved ...
5247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5249 Moved ...
5250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5251 ... here.
5252 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5253 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5255 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5257 Moved ...
5258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5259 ... here.
5260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5268 Moved ...
5269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5271 Moved ...
5272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5274 Moved ...
5275 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5277 Moved ...
5278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5280 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5282 Moved ...
5283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5285 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5289 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5291 Moved ...
5292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5294 Moved ...
5295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5296 ... here.
5297 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5298 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5300 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5302 Moved ...
5303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5304 ... here.
5305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5306 Moved ...
5307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5309 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5311 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5315 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5317 Moved ...
5318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5320 Moved ...
5321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5323 Moved ...
5324 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5326 Moved ...
5327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5329 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5330 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5331 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5333 Moved ...
5334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5335 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5336 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5340 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5342 Moved ...
5343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5345 Moved ...
5346 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5347 ... here.
5348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5353 Moved ...
5354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5355 ... here.
5356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5357 Moved ...
5358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5360 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5362 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5364 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5366 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5368 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5369
5085af05
RM
5370 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5371 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5372
708f0813
RM
5373 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5374 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5375
c96067bc
RM
5376 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5377 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5378 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5380 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5382 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5390 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5392 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5394 Moved ...
5395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5399 Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5408 Moved ...
5409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5411 Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5418 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5420 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5422 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5424 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5426 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5429
ec136444
RM
5430 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5431 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5432 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5433 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5434 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5435
2fbdf533
RM
5436 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5437 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5439 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5440 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5441 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5442 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5443 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5444 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5445 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5446
4c68138b
RM
5447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5449
4eaae765
RM
5450 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5451 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5452 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5453 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5455 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5457 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5459 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5461 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5463 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5465 Update #include.
5466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5467 Likewise.
5468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5469 Likewise.
5470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5471 Likewise.
5472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5473 Likewise.
5474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5475 Likewise.
5476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5477 Likewise.
5478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5479 Likewise.
5480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5481 Likewise.
5482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5483 Likewise.
4ef6befa
RM
5484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5499
941d7dfd
RM
5500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5501 that was previously under [RESET_PID].
5502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5503 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5504 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5505
1b731c35
RM
5506 * sysdeps/i386/nptl/Implies: New file.
5507 * sysdeps/x86_64/nptl/Implies: New file.
5508 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5509 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5511 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5512
e2787137
RM
5513 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5514 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5515 (__libc_vfork): New strong alias.
5516 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5517 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5518
5519 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5520 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5521 (__libc_vfork): New strong alias.
5522 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5523 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5524
5675da1e
RM
5525 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5526 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5527 (__libc_vfork): New strong alias.
5528 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5529 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5530 * nptl/pt-vfork.c: New file.
5531 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5532 (libpthread: GLIBC_2.20): New version set (empty).
5533
4f02e2b8
WN
55342014-05-14 Will Newton <will.newton@linaro.org>
5535
5536 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5537 rather than #if.
5538
0bf061d3
JM
55392014-05-14 Joseph Myers <joseph@codesourcery.com>
5540
1a84c3d6
JM
5541 [BZ #16564]
5542 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5543 arguments with exponent 65 or above.
5544 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5545 arguments 0x1p113L or above.
5546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5547 to arguments 0x1p107L or above.
5548 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5549 positive arguments with exponent 65 or above.
5550 * math/auto-libm-test-in: Add more tests of log1p.
5551 * math/auto-libm-test-out: Regenerated.
5552
01dbacd2
JM
5553 [BZ #16928]
5554 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5555 non-finite arguments is +0.
5556 * math/s_cacosf.c (__cacosf): Likewise.
5557 * math/s_cacosl.c (__cacosl): Likewise.
5558 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561
913d03c8
JM
5562 [BZ #16927]
5563 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5564 value.
5565 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5566 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5567 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5568 for explicit high bit of mantissa when testing for argument equal
5569 to 1.
5570 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5571 * sysdeps/i386/fpu/libm-test-ulps: Update.
5572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5573
0bf061d3
JM
5574 [BZ #16516]
5575 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5576 (__erf): Scale by 16 instead of 8 in potentially underflowing
5577 case. Ensure exception if result actually underflows.
5578 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5579 (__erff): Scale by 16 instead of 8 in potentially underflowing
5580 case. Ensure exception if result actually underflows.
5581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5582 (efx8): Remove variable.
5583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5584 case. Ensure exception if result actually underflows.
5585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5586 (efx8): Remove variable.
5587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5588 case. Ensure exception if result actually underflows.
5589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5590 (efx8): Remove variable.
5591 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5592 case. Ensure exception if result actually underflows.
5593 * math/auto-libm-test-in: Add more tests of erf.
5594 * math/auto-libm-test-out: Regenerated.
5595
73ba67cb
AS
55962014-05-14 Andreas Schwab <schwab@suse.de>
5597
3d8c8bff
AS
5598 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5599 Remove code conditionalized on USE___THREAD.
5600
73ba67cb
AS
5601 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5602 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5603 not definedness.
5604
5c521ecd
JM
56052014-05-14 Joseph Myers <joseph@codesourcery.com>
5606
5e7698c6
JM
5607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5608 Define unconditionally.
5609 (__ASSUME_O_CLOEXEC): Likewise.
5610 (__ASSUME_SOCK_CLOEXEC): Likewise.
5611 (__ASSUME_IN_NONBLOCK): Likewise.
5612 (__ASSUME_PIPE2): Likewise.
5613 (__ASSUME_EVENTFD2): Likewise.
5614 (__ASSUME_SIGNALFD4): Likewise.
5615 (__ASSUME_DUP3): Likewise.
5616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5617 (__ASSUME_DUP3): Do not define.
5618 (__ASSUME_EVENTFD2): Likewise.
5619 (__ASSUME_IN_NONBLOCK): Likewise.
5620 (__ASSUME_O_CLOEXEC): Likewise.
5621 (__ASSUME_PIPE2): Likewise.
5622 (__ASSUME_SIGNALFD4): Likewise.
5623 (__ASSUME_SOCK_CLOEXEC): Likewise.
5624 (__ASSUME_UTIMES): Undefine.
5625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5626 (__ASSUME_UTIMES): Do not define.
5627 (__ASSUME_O_CLOEXEC): Likewise.
5628 (__ASSUME_SOCK_CLOEXEC): Likewise.
5629 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5630 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5631 0x020621].
5632 (__ASSUME_PIPE2): Likewise.
5633 (__ASSUME_EVENTFD2): Likewise.
5634 (__ASSUME_SIGNALFD4): Likewise.
5635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5636 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5637 Do not define.
5638 (__ASSUME_EVENTFD2): Likewise.
5639 (__ASSUME_SIGNALFD4): Likewise.
5640 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5641 (__ASSUME_32BITUIDS): Likewise.
5642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5643 (__ASSUME_IPC64): Likewise.
5644 (__ASSUME_ST_INO_64_BIT): Likewise.
5645 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5646 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5647 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5648 (__ASSUME_UTIMES): Do not define.
5649 (__ASSUME_PSELECT): Likewise.
5650 (__ASSUME_PPOLL): Likewise.
5651 (__ASSUME_O_CLOEXEC): Likewise.
5652 (__ASSUME_SOCK_CLOEXEC): Likewise.
5653 (__ASSUME_IN_NONBLOCK): Likewise.
5654 (__ASSUME_PIPE2): Likewise.
5655 (__ASSUME_EVENTFD2): Likewise.
5656 (__ASSUME_SIGNALFD4): Likewise.
5657 (__ASSUME_DUP3): Likewise.
5658 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5659 (__ASSUME_UTIMES): Likewise.
5660 (__ASSUME_O_CLOEXEC): Likewise.
5661 (__ASSUME_SOCK_CLOEXEC): Likewise.
5662 (__ASSUME_IN_NONBLOCK): Likewise.
5663 (__ASSUME_PIPE2): Likewise.
5664 (__ASSUME_EVENTFD2): Likewise.
5665 (__ASSUME_SIGNALFD4): Likewise.
5666 (__ASSUME_DUP3): Likewise.
5667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5668 (__ASSUME_UTIMES): Likewise.
5669 (__ASSUME_O_CLOEXEC): Likewise.
5670 (__ASSUME_SOCK_CLOEXEC): Likewise.
5671 (__ASSUME_IN_NONBLOCK): Likewise.
5672 (__ASSUME_PIPE2): Likewise.
5673 (__ASSUME_EVENTFD2): Likewise.
5674 (__ASSUME_SIGNALFD4): Likewise.
5675 (__ASSUME_DUP3): Likewise.
5676 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5677 Likewise.
5678 (__ASSUME_UTIMES): Likewise.
5679 (__ASSUME_EVENTFD2): Likewise.
5680 (__ASSUME_SIGNALFD4): Likewise.
5681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5682 (__ASSUME_O_CLOEXEC): Likewise.
5683 (__ASSUME_SOCK_CLOEXEC): Likewise.
5684 (__ASSUME_IN_NONBLOCK): Likewise.
5685 (__ASSUME_PIPE2): Likewise.
5686 (__ASSUME_EVENTFD2): Likewise.
5687 (__ASSUME_SIGNALFD4): Likewise.
5688 (__ASSUME_DUP3): Likewise.
5689 (__ASSUME_UTIMES): Undefine.
5690
5c521ecd
JM
5691 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5692 feclearexcept. Remove symbol versioning code.
5693 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5694 symbol versioning code.
5695 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5696 symbol versioning code.
5697 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5698 feupdateenv. Remove symbol versioning code.
5699 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5700 fegetexceptflag. Remove symbol versioning code.
5701 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5702 fesetexceptflag. Remove symbol versioning code.
5703 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5704 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5705 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5706 (__posix_fadvise64_l32): Remove prototype.
5707 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5708 code.
5709
5da9dfad
RM
57102014-05-13 Roland McGrath <roland@hack.frob.com>
5711
5712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5713 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5714 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5715 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5716
893b4f37
SK
57172014-05-13 Sami Kerola <kerolasa@iki.fi>
5718
5719 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5720 current working directory
5721
e0db6517
RM
57222014-05-13 Roland McGrath <roland@hack.frob.com>
5723
58aa195d
RM
5724 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5725 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5726 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5727 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5728 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5729 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5730 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5737 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5741 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5749 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5751 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5757 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5758 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5759 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5760 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5761 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5762 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5763 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5765 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5766
8c6d01f0
RM
5767 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5768 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5769
5770 * sysdeps/unix/sysv/linux/arm/Makefile
5771 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5772 Add rt-aeabi_unwind_cpp_pr1.
5773 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5774 Add nptl-aeabi_unwind_cpp_pr1.
5775 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5776 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5777 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5778 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5779 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5780 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5781
5782 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5783 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5784 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5785 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5786
bba6da4e
RM
5787 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5788 Deconditionalize the code that was previously under [RESET_PID].
5789 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5790
e0db6517
RM
5791 * sysdeps/generic/exit-thread.h: New file.
5792 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5793 * include/unistd.h (__exit_thread): Remove declaration.
5794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5795 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5796 * csu/libc-start.c: Include <exit-thread.h>.
5797 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5798 * nptl/pthread_create.c: Include <exit-thread.h>.
5799 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5800 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5801 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5802 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5803 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5804 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5805 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5806 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5807 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5808 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5809 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5810 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5811 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5812 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5813 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5814 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5815 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5816
01eb16fd
AS
58172014-05-13 Andreas Schwab <schwab@suse.de>
5818
5819 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5820
637461d9
JM
58212014-05-12 Joseph Myers <joseph@codesourcery.com>
5822
5823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5824 (__ASSUME_UTIMES): Do not condition on kernel version.
5825 (__ASSUME_PSELECT): Define unconditionally.
5826 (__ASSUME_PPOLL): Likewise.
5827 (__ASSUME_ATFCTS): Likewise.
5828 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5829 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5830 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5831 (__ASSUME_UTIMENSAT): Define unconditionally.
5832 (__ASSUME_PRIVATE_FUTEX): Likewise.
5833 (__ASSUME_FALLOCATE): Likewise.
5834 (__ASSUME_O_CLOEXEC): Likewise.
5835 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5836 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5837 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5838 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5839 (__ASSUME_IN_NONBLOCK): Likewise.
5840 (__ASSUME_PIPE2): Likewise.
5841 (__ASSUME_EVENTFD2): Likewise.
5842 (__ASSUME_SIGNALFD4): Likewise.
5843 (__ASSUME_DUP3): Likewise.
5844 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5845 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5846 (__ASSUME_AT_RANDOM): Likewise.
5847 (__ASSUME_PREADV): Likewise.
5848 (__ASSUME_PWRITEV): Likewise.
5849 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5850 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5851 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5853 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5854 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5855 (__ASSUME_O_CLOEXEC): Define unconditionally.
5856 (__ASSUME_PSELECT): Do not undefine conditionally.
5857 (__ASSUME_PPOLL): Likewise.
5858 (__ASSUME_ATFCTS): Likewise.
5859 (__ASSUME_SET_ROBUST_LIST): Likewise.
5860 (__ASSUME_UTIMENSAT): Likewise.
5861 (__ASSUME_FDATASYNC): Define unconditionally.
5862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5863 (__ASSUME_SIGFRAME_V2): Likewise.
5864 )__ASSUME_EVENTFD2): Likewise.
5865 (__ASSUME_SIGNALFD4): Likewise.
5866 (__ASSUME_PSELECT): Do not undefine conditionally.
5867 (__ASSUME_PPOLL): Likewise.
5868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5869 (__ASSUME_PSELECT): Define unconditionally.
5870 (__ASSUME_PPOLL): Likewise.
5871 (__ASSUME_O_CLOEXEC): Likewise.
5872 (__ASSUME_SOCK_CLOEXEC): Likewise.
5873 (__ASSUME_IN_NONBLOCK): Likewise.
5874 (__ASSUME_PIPE2): Likewise.
5875 (__ASSUME_EVENTFD2): Likewise.
5876 (__ASSUME_SIGNALFD4): Likewise.
5877 (__ASSUME_DUP3): Likewise.
5878 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5879 (__ASSUME_O_CLOEXEC): Likewise.
5880 (__ASSUME_SOCK_CLOEXEC): Likewise.
5881 (__ASSUME_IN_NONBLOCK): Likewise.
5882 (__ASSUME_PIPE2): Likewise.
5883 (__ASSUME_EVENTFD2): Likewise.
5884 (__ASSUME_SIGNALFD4): Likewise.
5885 (__ASSUME_DUP3): Likewise.
5886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5887 (__ASSUME_EVENTFD2): Likewise.
5888 (__ASSUME_SIGNALFD4): Likewise.
5889 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5890
315eb1d8
AS
58912014-05-12 Andreas Schwab <schwab@suse.de>
5892
5893 [BZ #16932]
5894 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5895 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5896 than maximum RPC packet size.
5897 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5898 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5899 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5900 (_nss_nis_getservbyport_r): Likewise.
5901
91df99f7
WN
59022014-05-12 Will Newton <will.newton@linaro.org>
5903
5904 * malloc/Makefile (tests): Add tst-mallopt.
5905 * malloc/tst-mallopt.c: New file.
5906
0a982a29
RM
59072014-05-09 Roland McGrath <roland@hack.frob.com>
5908
5909 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5910 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5911
0ded08a5
AZ
59122014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913
5914 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5915 (tst-tlsmod6.so): Likewise.
5916
55d4d550
RM
59172014-05-09 Roland McGrath <roland@hack.frob.com>
5918
5919 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5920
77d08aca
JM
59212014-05-09 Joseph Myers <joseph@codesourcery.com>
5922
5923 [BZ #16064]
5924 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5925 and <dl-procinfo.h>.
5926 (__fegetenv): Save SSE state in envp->__eip if supported.
5927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5928 envp->__eip if supported.
5929 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5930 and <dl-procinfo.h>.
5931 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5932 __data_offset and __data_selector in environment to 0. Set SSE
5933 state if supported.
5934 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5935 test-fenv-sse.
5936 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5937 -mfpmath=sse.
5938 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5939
28162f4d
WN
59402014-05-09 Will Newton <will.newton@linaro.org>
5941
5942 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5943 and libc_relro_required for ARM.
5944 * sysdeps/arm/preconfigure: Regenerate.
5945
5a414ff7
DV
59462014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5947 Stefan Liebler <stli@linux.vnet.ibm.com>
5948
5949 * config.make.in (enable-lock-elision): New Makefile variable.
5950 * configure.ac: Likewise.
5951 * configure: Regenerate.
5952 * sysdeps/s390/configure.ac:
5953 Add check for gcc transactions support.
5954 * sysdeps/s390/configure: Regenerate.
5955 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5956 Build elision files if enabled.
5957 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5958 Add lock elision support for s390.
5959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5960 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5961 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5962 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5963 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5964 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5966 Likewise.
5967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5968 Likewise.
5969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5970 Likewise.
5971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5972 Likewise.
5973 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5974 (__lll_timedlock_elision, __lll_lock_elision)
5975 (__lll_unlock_elision, __lll_trylock_elision)
5976 (lll_timedlock_elision, lll_lock_elision)
5977 (lll_unlock_elision, lll_trylock_elision): Add.
5978 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5979 (pthread_mutex_t): Add lock elision support for s390.
5980
1a2f40e5
W
59812014-05-14 Wilco <wdijkstr@arm.com>
5982
5983 * sysdeps/arm/fclrexcpt.c: Cleanup.
5984 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5985 * sysdeps/arm/feenablxcpt.c: Cleanup.
5986 * sysdeps/arm/fegetenv.c: Cleanup.
5987 * sysdeps/arm/fegetexcept.c: Cleanup.
5988 * sysdeps/arm/fegetround.c: Cleanup.
5989 * sysdeps/arm/feholdexcpt.c: Cleanup.
5990 * sysdeps/arm/fesetenv.c: Cleanup.
5991 * sysdeps/arm/fesetround.c: Cleanup.
5992 * sysdeps/arm/feupdateenv.c: Cleanup.
5993 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5994 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5995 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5996 * sysdeps/arm/ftestexcept.c: Cleanup.
5997 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5998 * sysdeps/arm/setfpucw.c: Cleanup.
5999
f63c86fe
WN
60002014-05-09 Will Newton <will.newton@linaro.org>
6001
6002 * sysdeps/arm/armv7/strcmp.S: New file.
6003 * NEWS: Mention addition of ARMv7 optimized strcmp.
6004
7a1a51b5
RM
60052014-05-08 Roland McGrath <roland@hack.frob.com>
6006
95afbbe5
RM
6007 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6008 look for %.ac rather than %.in.
6009
6010 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6011 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6012 * sysdeps/mach/hurd/configure: Regenerated.
6013 * sysdeps/unix/sysv/linux/configure: Regenerated.
6014
7a1a51b5
RM
6015 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6016
5057ad3b
SE
60172014-05-07 Steve Ellcey <sellcey@mips.com>
6018
6019 [BZ# 16922]
6020 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6021 (LONG_SUB): Ditto.
6022 (PTR_SUB): Ditto.
6023
8dc97517
AS
60242014-05-07 Andreas Schwab <schwab@suse.de>
6025
6026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6027 when skipping over non-matching result from nscd.
6028
ce0c5b8f
OB
60292014-05-07 Ondřej Bílka <neleai@seznam.cz>
6030
6031 [BZ #16876]
6032 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6033
a1189263
OB
6034 [BZ #16877]
6035 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6036 nscd security class.
ce0c5b8f 6037
0f58d252
RM
60382014-05-06 Roland McGrath <roland@hack.frob.com>
6039
6040 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6041 * sysdeps/arm/unwind.h: ... here.
6042
83df9ad0
AJ
60432014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6044
ce0c5b8f
OB
6045 [BZ# 16916]
6046 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6047 Define.
83df9ad0 6048
f360f94a
VR
60492014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6050
6051 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6052 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6053 multiarch strncpy for PPC64.
6054 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6055 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6057 multiarch optimizations.
6058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6059 (__libc_ifunc_impl_list): Likewise.
6060 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6061 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6062 multiarch stpncpy for PPC64.
6063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6064 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6065
978a41c3
AS
60662014-05-06 Andreas Schwab <schwab@suse.de>
6067
6068 [BZ #16912]
6069 * gmon/mcount.c (_MCOUNT_DECL): Use
6070 atomic_compare_and_exchange_bool_acq instead of
6071 catomic_compare_and_exchange_bool_acq.
6072
eb1ed03d
RM
60732014-05-05 Roland McGrath <roland@hack.frob.com>
6074
fe658845
RM
6075 * elf/Makefile (others, install-bin): Remove pldd.
6076 (pldd-modules): Variable removed.
6077 ($(objpfx)pldd): Target removed.
6078 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6079 (others, install-bin): Append pldd here.
6080 ($(objpfx)pldd): New target.
6081
eb1ed03d
RM
6082 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6083 to 0, so the first #if test emitted later doesn't see it undefined.
6084 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6085 * sysdeps/gnu/errlist.c: Regenerated.
6086
19c4bec0
AZ
60872014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088
6089 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6090 [libc_hidden_builtin_def]: Define to empty value.
6091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6092 [libc_hidden_builtin_def]: Likewise.
6093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6094 [libc_hidden_builtin_def]: Likewise.
6095 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6096 [libc_hidden_builtin_def]: Likewise.
6097 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6098 __redirect_memcpy and define ifunc as default hidden symbol.
6099 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6100 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6101
7776e669
AC
61022014-05-04 Adam Conrad <adconrad@0c3.net>
6103
6104 * locale/iso-4217.def: Reintroduce XDR currency.
6105
d69aeb12
AM
61062014-05-04 Allan McRae <allan@archlinux.org>
6107
6108 * po/eo.po: Update Esperanto translation from translation project.
6109
8f1df5cf
CD
61102014-05-02 Carlos O'Donell <carlos@redhat.com>
6111
6112 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6113 and FEATURE_INDEX_MAX to 1.
6114 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6115
13e402e7
SE
61162014-05-01 Steve Ellcey <sellcey@mips.com>
6117
6118 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6119 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6120 * iconvdata/big5.c (ONE_DIRECTION): Define.
6121 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6122 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6123 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6124 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6125 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6126 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6127 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6128 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6129 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6130 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6131 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6132 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6133 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6134 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6135 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6136 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6137 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6138 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6139 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6140 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6141 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6142 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6143 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6144 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6145 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6146 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6147 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6148 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6149 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6150 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6151 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6152 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6153 * iconvdata/johab.c (ONE_DIRECTION): Define.
6154 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6155 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6156 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6157 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6158 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6159 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6160 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6161 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6162 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6163 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6164
c727f032
RM
61652014-05-01 Roland McGrath <roland@hack.frob.com>
6166
8f2f08d0
RM
6167 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6168 (_IO_JUMPS_OFFSET): Define to 0.
6169
c727f032
RM
6170 * nptl/sysdeps/pthread/bits/libc-lock.h
6171 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6172 (__libc_lock_define_initialized_recursive): Always define using
6173 initializer. Modern compilers treat uninitialized (implicit zero) and
6174 explicit zero initializers the same (i.e. put the datum in bss).
6175
a849e800
AS
61762014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6177
6178 * nscd/nscd-client.h: Include <string.h>.
6179
5331255b
DM
61802014-05-01 David S. Miller <davem@davemloft.net>
6181
6182 [BZ #16885]
6183 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6184 multiple zero bytes exist at the end of a string.
6185 Reported by Aurelien Jarno <aurelien@aurel32.net>
6186
6187 * string/test-strcmp.c (check): Add explicit test for situations where
6188 there are multiple zero bytes after the first.
6189
4fdfe821
AS
61902014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6191
6192 [BZ #16890]
6193 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6194 when compiling wprintf.
6195 * stdio-common/tstdiomisc.c (t3): New function.
6196 (main): Call it.
6197
0cdddc25
SE
61982014-05-01 Steve Ellcey <sellcey@mips.com>
6199
6200 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6201 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6202 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6203 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6204
6426d77e
SE
62052014-05-01 Steve Ellcey <sellcey@mips.com>
6206
6207 * stdlib/longlong.h: Updated from GCC.
6208
6d96f5e4
WN
62092014-05-01 Will Newton <will.newton@linaro.org>
6210 Bernard Ogden <bernie.ogden@linaro.org>
6211
7470db0c
WN
6212 * NEWS: Update fixed bug list.
6213
6d96f5e4
WN
6214 [BZ #15119]
6215 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6216
211d653c
DM
62172014-04-30 David S. Miller <davem@davemloft.net>
6218
4fa262fa
DM
6219 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6220 (libc_feholdexcept_setround_sparc_ctx): New function.
6221 (libc_fesetenv_sparc_ctx): Likewise.
6222 (libc_feupdateenv_sparc_ctx): Likewise.
6223 (libc_feholdsetround_sparc_ctx): Likewise.
6224 (libc_feholdexcept_setround_ctx): Define.
6225 (libc_feholdexcept_setroundf_ctx): Likewise.
6226 (libc_feholdexcept_setroundl_ctx): Likewise.
6227 (libc_fesetenv_ctx): Likewise.
6228 (libc_fesetenvf_ctx): Likewise.
6229 (libc_fesetenvl_ctx): Likewise.
6230 (libc_feupdateenv_ctx): Likewise.
6231 (libc_feupdateenvf_ctx): Likewise.
6232 (libc_feupdateenvl_ctx): Likewise.
6233 (libc_feresetround_ctx): Likewise.
6234 (libc_feresetroundf_ctx): Likewise.
6235 (libc_feresetroundl_ctx): Likewise.
6236 (libc_feholdsetround_ctx): Likewise.
6237 (libc_feholdsetroundf_ctx): Likewise.
6238 (libc_feholdsetroundl_ctx): Likewise.
6239
1d3d93ef
DM
6240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6241 with __USE_GNU instead of XOPEN cpp guards.
6242
8aa583c3
DM
6243 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6244 0.
6245
211d653c
DM
6246 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6247 with XOPEN cpp guards.
6248
60c8f1f6
JB
62492014-04-30 Julian Brown <julian@codesourcery.com>
6250
6251 [BZ #16888]
6252 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6253 handling.
6254
9a461d46
JM
62552014-04-30 Joseph Myers <joseph@codesourcery.com>
6256
d0f5b3f8
JM
6257 [BZ #9894]
6258 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6259 Change to 2.6.32.
6260 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6261 * sysdeps/unix/sysv/linux/configure: Regenerated.
6262 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6263 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6264 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6265 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6266 * README: Update reference to required Linux kernel version.
6267 * manual/install.texi (Linux): Update reference to required Linux
6268 kernel headers version.
6269 * INSTALL: Regenerated.
6270
9a461d46
JM
6271 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6272 header inclusion.
6273 [POSIX] (limits.h): Likewise.
6274 [POSIX] (math.h): Likewise.
6275 [POSIX] (sys/wait.h): Likewise.
6276 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6277 function.
6278 [POSIX] (stddef.h): Do not allow header inclusion.
6279
1775babf
AZ
62802014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
57f41c40 6282 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6283
8f630cca
YY
62842014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6285
6286 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6287 Return immediately after lll_futex_wake.
6288
1cdeb237
SP
62892014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
bc8f194c
SP
6291 [BZ #16791]
6292 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6293 structure.
6294 (datahead_init_pos): Call datahead_init_common early.
6295 (datahead_init_neg): Likewise.
6296
1cdeb237
SP
6297 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6298 datahead_init_neg): New functions.
6299 * nscd/aicache.c (addhstaiX): Use them.
6300 * nscd/grpcache.c (cache_addgr): Likewise.
6301 * nscd/hstcache.c (cache_addhst): Likewise.
6302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6303 * nscd/netgroupcache.c (do_notfound): Likewise.
6304 (addgetnetgrentX): Likewise.
6305 (addinnetgrX): Likewise.
6306 * nscd/pwdcache.c (cache_addpw): Likewise.
6307 * nscd/servicescache.c (cache_addserv): Likewise.
6308
16b293a7
SP
63092014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6310 Atsushi Onoe <atsushi@onoe.org>
6311
6312 [BZ #14308]
6313 [BZ #12994]
6314 [BZ #13651]
6315 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6316 one response is valid.
6317 * resolv/res_send.c (send_dg): Check for validity of other
6318 response if the current response is a referral.
6319
a28a9b94
SE
63202014-04-29 Steve Ellcey <sellcey@mips.com>
6321
6322 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6323
2ca180e9
SL
63242014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6325
6326 [BZ #16823]
6327 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6328 Always divide by positive zero when computing -Inf result.
6329 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6330 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6331
18f2945a
AZ
63322014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333
6334 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6335 FPSCR if value do not change.
6336 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6337 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6338 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6339 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6340 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6341 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6342 function.
6343
5abebba4
CD
63442014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6345
6346 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6347 * sysdeps/unix/sysv/linux/hppa: Move directory from
6348 ports/systeps/unix/sysv/linux/hppa.
6349 * README: Update listing for hppa-*-linux-gnu.
6350
f7ed60c2
OB
63512014-04-28 Ondřej Bílka <neleai@seznam.cz>
6352
fff763a5
OB
6353 [BZ #16754]
6354 * manual/stdio.texi (Hook functions): Fix types of stream hook
6355 functions.
f7ed60c2
OB
6356 [BZ #16854]
6357 * socket/sys/socket.h: Fix typo in comment.
6358
df639d73
WD
63592014-04-28 Wilco <wdijkstr@arm.com>
6360
f7ed60c2 6361 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6362 * sysdeps/arm/math_private.h: New file.
6363 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6364
48332d82
L
63652014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6366
6367 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6368 with __int128_t.
6369 (La_x86_64_retval): Likewise.
6370
e5e0d9a4
IB
63712014-04-24 Ian Bolton <ian.bolton@arm.com>
6372
6373 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6374 fpsr if value didn't change.
6375 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6376 to fpcr if value didn't change.
6377 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6378 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6379 fpsr or fpcr if value didn't change.
6380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6382 fpcr if value didn't change.
6383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6384 to fpsr if value didn't change.
6385
bacc75f7
SP
63862014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6387
6388 * nptl/tst-sem3.c: Use test-skeleton.c
6389 (main): Rename to do_test. Use return instead of
6390 exit.
6391 * nptl/tst-sem4.c: Use test-skeleton.c
6392 (main): Rename to do_test.
6393
a059d359
DM
63942014-04-22 David S. Miller <davem@davemloft.net>
6395
6396 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6397 (struct sigaction): New struct member __glibc_reserved0, change
6398 type of sa_flags to int.
6399
ea6c92f3
YZ
64002014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6401
6402 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6403 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6404
766c4a36
SP
64052014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6408 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6409
140cc7ab
VK
64102014-04-22 Will Newton <will.newton@linaro.org>
6411 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6412
6413 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6414 (__longjmp): Add longjmp and longjmp_target SystemTap
6415 probes.
6416 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6417 (__sigsetjmp): Add setjmp SystemTap probe.
6418
c54e5cf7
CD
64192014-04-17 Carlos O'Donell <carlos@redhat.com>
6420
6421 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6422 match manual order.
6423
75ffb047
AZ
64242014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6427
2cd925f7
AZ
6428 * sysdeps/powerpc/fpu/fenv_private.h
6429 (libc_feholdexcept_setroundl_ctx): Define to
6430 libc_feholdexcept_setround_ppc_ctx.
6431 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6432 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6433 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6434 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6435
39e6cd8d
IB
64362014-04-17 Ian Bolton <ian.bolton@arm.com>
6437
6438 * sysdeps/aarch64/math-tests.h: New file.
6439
f9281df9
SY
64402014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6441
6442 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6443 New.
6444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6445 Check and set bit_AVX2_Usable.
6446 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6447 macro.
6448 (bit_AVX2): Likewise.
6449 (index_AVX2_Usable): Likewise.
6450 (CPUID_AVX2): Likewise.
6451 (HAS_AVX2): Likewise.
6452
37d35007
WN
64532014-04-17 Will Newton <will.newton@linaro.org>
6454
7c677662
WN
6455 * manual/setjmp.texi (System V contexts): Add note that
6456 calling setcontext on a context created by a call to a
6457 signal handler is undefined. Update text to note that
6458 setcontext from a signal handler is possible but not
6459 recommended.
6460
37d35007 6461 [BZ #16629]
e04a4e9d
WN
6462 * stdlib/tst-setcontext.c: Include signal.h.
6463 (main): Check that the signal stack before and
6464 after swapcontext is the same.
6465
37d35007
WN
6466 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6467 Re-implement to restore registers in user code and avoid
6468 rt_sigreturn system call.
6469
423a7160
W
64702014-04-17 Wilco <wdijkstr@arm.com>
6471
6472 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6473 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6474 * math/test-fenv.c: Skip exception trap tests on targets which only
6475 support non-stop mode.
6476
bc93ab29
IB
64772014-04-17 Ian Bolton <ian.bolton@arm.com>
6478 Wilco Dijkstra <wilco.dijkstra@arm.com>
6479
6480 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6481 (libc_feholdsetround_aarch64_ctx)
6482 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6483 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6484 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6485 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6486 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6487 (libc_feresetround_noexl_ctx): Define.
6488
95fc5fa3
RH
64892014-04-16 Richard Henderson <rth@redhat.com>
6490
ddb04724
RH
6491 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6492
d77c0899
RH
6493 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6494 unwind tables.
6495
a3df56fc
RH
6496 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6497 const from the non-libc, non-ldso copy.
6498
95fc5fa3
RH
6499 * sysdeps/alpha/libm-test-ulps: Regenerate.
6500
7e0b6763
IB
65012014-04-16 Ian Bolton <ian.bolton@arm.com>
6502 Wilco Dijkstra <wilco.dijkstra@arm.com>
6503
6504 * sysdeps/aarch64/fpu/math_private.h: New file.
6505
a9ea2e0c
MS
65062014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6507
6508 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6509
ea8ba7cd
IZ
65102014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6511
6512 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6513 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6515 Intel MPX bound registers before _dl_profile_fixup.
6516 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6517 registers after _dl_profile_fixup. Save and restore bound
6518 registers bnd0/bnd1 when calling _dl_call_pltexit.
6519 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6520 (LR_BND_OFFSET): Likewise.
6521 (LRV_BND0_OFFSET): Likewise.
6522 (LRV_BND1_OFFSET): Likewise.
6523
9f2a4fbc
ST
65242014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6525
6526 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6527 to...
6528 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6529 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6530 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6531 fields.
9f2a4fbc 6532
fd15a59b
ST
65332014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6534
6535 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6536
f19dfa0a
SL
65372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6538
6539 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6540
4fa8bc3b
SL
65412014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6542
6543 [BZ #14770]
6544 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6545 * sysdeps/s390/configure: Regenerate.
6546
8ea587db
SL
6547 [BZ #16824]
6548 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6549 Set round-to-nearest internally to reduce error accumulation.
6550
aa5f0ff1
AM
65512014-04-16 Alan Modra <amodra@gmail.com>
6552
6553 [BZ #16740]
6554 [BZ #16619]
6555 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6556 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6557 * NEWS: Update fixed bug list.
aa5f0ff1 6558
bb9c256f
SP
65592014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 * benchtests/Makefile: Depend on libraries in build directory.
6562 (bench-math): Separate out math tests.
6563 (bench-pthread): Separate out pthread tests.
6564 (bench): Include math and pthread tests.
6565
f737dfd0
CD
65662014-04-14 Carlos O'Donell <carlos@redhat.com>
6567
6568 [BZ #16831]
6569 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6570 _dl_debug_initialize.
6571
0699f766
CD
6572 * configure.ac: Remove SELinux header check.
6573 * configure: Regenerate.
6574 * nscd/selinux.c (perms): Array of const char* to permission names.
6575 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6576 default policy. Call string_to_security_class and string_to_av_perm to
6577 translate strings. Enforce default policy and call avs_has_perm with
6578 results of translated strings.
6579
809bd45f
DM
65802014-04-13 David S. Miller <davem@davemloft.net>
6581
6582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6583
89e691f2
AM
65842014-04-12 Allan McRae <allan@archlinux.org>
6585
6586 [BZ #16838]
6587 * manual/string.texi (Collation Functions): Fix qsort argument
6588 order in example.
6589 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6590
9c9daaeb
CM
65912014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6592
6593 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6594 Make the test a no-op if there are no exceptions defined.
6595
95561fb9
PP
65962014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6597
fe8d072c 6598 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6599 enable-hardcoded-path-in-tests
6600
970c602a
WN
66012014-04-11 Will Newton <will.newton@linaro.org>
6602
6603 * benchtests/Makefile (extra-objs): Add json-lib.o.
6604 (bench-func): Tidy up JSON output.
6605 * benchtests/bench-skeleton.c: Include json-lib.h.
6606 (main): Use JSON library functions to do output of
6607 benchmark results.
6608 * benchtests/bench-timing-type.c (main): Output the
6609 timing type simply, leaving formatting to the user.
6610 * benchtests/json-lib.c: New file.
6611 * benchtests/json-lib.h: Likewise.
6612
36875b06
TR
66132014-04-11 Torvald Riegel <triegel@redhat.com>
6614
6615 [BZ #15215]
6616 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6617 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6618 memory barriers. Add comments.
6619 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6620 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6621 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6622 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6623 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6624 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6625
579db35a
SL
66262014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6627
6628 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6629 * sysdeps/s390/s390-64/configure.ac: ... this ...
6630 * sysdeps/s390/configure.ac: ... to here.
6631 * sysdeps/s390/s390-32/configure: Delete file.
6632 * sysdeps/s390/s390-64/configure: Delete file.
6633 * sysdeps/s390/configure: Regenerate.
6634
c12e9f37
JAPH
66352014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6636
6637 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6638
439bda32
WN
66392014-04-11 Will Newton <will.newton@linaro.org>
6640
6641 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6642 to zero if it is not defined elsewhere. (mtrim): Test
6643 the value of MALLOC_DEBUG with #if rather than #ifdef.
6644
6a5d6ea1
TR
66452014-04-10 Torvald Riegel <triegel@redhat.com>
6646
6647 * benchtests/pthread_once-inputs: New file.
6648 * benchtests/pthread_once-source.c: New file.
6649 * benchtests/README: Update documentation.
6650
a4c75cfd
IZ
66512014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6652 H.J. Lu <hongjiu.lu@intel.com>
6653
6654 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6655 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6656 * sysdeps/x86_64/configure: Regenerated.
6657 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6658 macro.
6659 (REGISTER_SAVE_RAX): Likewise.
6660 (REGISTER_SAVE_RCX): Likewise.
6661 (REGISTER_SAVE_RDX): Likewise.
6662 (REGISTER_SAVE_RSI): Likewise.
6663 (REGISTER_SAVE_RDI): Likewise.
6664 (REGISTER_SAVE_R8): Likewise.
6665 (REGISTER_SAVE_R9): Likewise.
6666 (REGISTER_SAVE_BND0): Likewise.
6667 (REGISTER_SAVE_BND1): Likewise.
6668 (REGISTER_SAVE_BND2): Likewise.
6669 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6670 bound registers when calling _dl_fixup.
6671
27822ce6
AZ
66722014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673
6674 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6675 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6676 of its definition.
27822ce6
AZ
6677 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6678 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6679 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6680 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6681 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6682 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6683 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6684
a88ddc90
PTB
66852014-04-09 Peter Brett <peter@peter-b.co.uk>
6686
6687 [BZ #15514]
6688 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6689 pathconf(_PC_NAME_MAX).
6690
01f8eac2
AZ
66912014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6692
6693 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6694 Remove macro usage.
6695 (__PTHREAD_SPINS): Move definition to ...
6696 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6697 (__PTHREAD_SPINS): ... here.
6698 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6699 (__PTHREAD_SPIN): Likewise.
6700 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6701 (__PTHREAD_SPIN): Likewise.
6702 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6703 (__PTHREAD_SPIN): Likewise.
6704 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6705 (__PTHREAD_SPIN): Likewise.
6706 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6707 (__PTHREAD_SPIN): Likewise.
6708 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6709 (__PTHREAD_SPIN): Likewise.
6710 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6711 (__PTHREAD_SPIN): Likewise.
6712 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6713 (__PTHREAD_SPIN): Likewise.
6714 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6715 (__PTHREAD_SPIN): Likewise.
6716 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6717 (__PTHREAD_SPIN): Likewise.
6718 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6719 (__PTHREAD_SPIN): Likewise.
6720 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6721 (__PTHREAD_SPIN): Likewise.
6722
de21c33c
AZ
6723 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6724 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6725 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6726 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6727 imply folder.
6728 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6729 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6730 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6731 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6732 correct imply path.
6733 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6734 strlen symbol for non multi-arch builds.
6735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6736 missing hidden_def and weak_alias.
6737
862c472e
CD
67382014-04-08 Carlos O'Donell <carlos@redhat.com>
6739
6740 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6741
8667f90e
WN
67422014-04-07 Will Newton <will.newton@linaro.org>
6743
6744 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6745 and contents. [!_LIBC] Remove #ifndef and contents.
6746 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6747 * string/memccpy.c (__memccpy): Use ANSI prototype.
6748 * string/memfrob.c (memfrob): Likewise.
6749 * string/strcoll.c (STRCOLL): Likewise.
6750 * string/strlen.c (strlen): Likewise.
6751 * string/strtok.c (STRTOK): Likewise.
6752 * string/strcat.c: Remove unused #include of memcopy.h.
6753 (strcat): Use ANSI prototype.
6754 * string/strchr.c: Remove unused #include of memcopy.h.
6755 (strchr): Use ANSI prototype.
6756 * string/strcmp.c: Remove unused #include of memcopy.h.
6757 (strcmp): Use ANSI prototype.
6758 * string/strcpy.c: Remove unused #include of memcopy.h.
6759 (strcpy): Use ANSI prototype.
6760
7ffa9423
AZ
67612014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6762
6763 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6764 * config.make.in (config-extra-cppflags): Set it from
6765 libc_extra_cppflags.
6766 * configure.ac (libc_extra_cflags): Make it accumulate over
6767 configure fragments.
6768 (libc_extra_cppflags): New flag.
6769 * configure. Regenerate.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6771 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6772 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6774
8bd70862
AZ
6775 [BZ #16815]
6776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6777 result for FE_DOWNWARD rounding mode.
6778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6779 Likewise.
6780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6781
d42f3448
CM
67822014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6783
6784 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6785 in function argument name.
6786
1c21d115
DS
67872014-04-03 David Svoboda <svoboda@cert.org>
6788
6789 [BZ #5666]
6790 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6791 explicitly.
6792
fcccd512
RM
67932014-04-03 Roland McGrath <roland@hack.frob.com>
6794
6795 * elf/dl-unmap-segments.h: New file.
6796 * sysdeps/generic/ldsodefs.h
6797 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6798 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6799 * elf/dl-fptr.c: Likewise.
6800 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6801 * sysdeps/aarch64/tlsdesc.c: Likewise.
6802 * sysdeps/arm/tlsdesc.c: Likewise.
6803 * sysdeps/i386/tlsdesc.c: Likewise.
6804 * sysdeps/tile/dl-runtime.c: Likewise.
6805 * sysdeps/x86_64/tlsdesc.c: Likewise.
6806 * elf/dl-load.h: New file.
6807 * elf/dl-load.c: Include it.
6808 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6809 Macros moved to dl-load.h.
6810 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6811 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6812 Use _dl_unmap_segments in place of __munmap.
6813 Break out segment-mapping loop into ...
6814 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6815
f6488e2b
WN
68162014-04-03 Will Newton <will.newton@linaro.org>
6817
6818 * elf/dl-lookup.c (do_lookup_x): Remove comment
6819 referring to nested function and move variable
6820 declarations down to before first use.
6821
6f05bafe
JM
68222014-04-02 Joseph Myers <joseph@codesourcery.com>
6823
a84e78c8
JM
6824 [BZ #16799]
6825 [BZ #16800]
6826 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6827 with 0 numerator.
6828 * math/s_catanf.c (__catanf): Likewise.
6829 * math/s_catanh.c (__catanh): Likewise.
6830 * math/s_catanhf.c (__catanhf): Likewise.
6831 * math/s_catanhl.c (__catanhl): Likewise.
6832 * math/s_catanl.c (__catanl): Likewise.
6833 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6834 by positive zero when computing -Inf result.
6835 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6836 (catanh_test): Likewise.
6837 * sysdeps/i386/fpu/libm-test-ulps: Update.
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6839
6f05bafe
JM
6840 [BZ #16789]
6841 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6842 instead of using underflowing value in computing result.
6843 * math/s_clog10.c (__clog10): Likewise.
6844 * math/s_clog10f.c (__clog10f): Likewise.
6845 * math/s_clog10l.c (__clog10l): Likewise.
6846 * math/s_clogf.c (__clogf): Likewise.
6847 * math/s_clogl.c (__clogl): Likewise.
6848 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6849 (clog10_test): Likewise.
6850 * sysdeps/i386/fpu/libm-test-ulps: Update.
6851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6852
b0abbc21
AM
68532014-04-02 Alan Modra <amodra@gmail.com>
6854
6855 [BZ #16739]
6856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6857 output when value is near a power of two. Use int64_t for lx and
6858 remove casts. Use decimal rather than hex exponent constants.
6859 Don't use long double multiplication when double will suffice.
6860 * math/libm-test.inc (nextafter_test_data): Add tests.
6861 * NEWS: Add 16739 and 16786 to bug list.
6862
af6b1797
AM
6863 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6864
483818d7
AM
6865 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6866
f6c55796
WN
68672014-04-01 Will Newton <will.newton@linaro.org>
6868
6869 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6870 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6871
13f7fe35
FW
68722014-04-01 Florian Weimer <fweimer@redhat.com>
6873
6874 [BZ #13347]
6875 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6876 * nptl/tst-setuid2.c: New file.
6877 * nptl/Makefile (xtests): Add tst-setuid2.
6878
c859b32e
AM
68792014-04-01 Alan Modra <amodra@gmail.com>
6880
6881 [BZ #16786]
6882 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6883
54fa2475
JM
68842014-03-31 Joseph Myers <joseph@codesourcery.com>
6885
8795b4a4
JM
6886 [BZ #6803]
6887 [BZ #6804]
6888 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6889 set errno as appropriate.
6890 * math/w_scalbf.c (__scalbf): Likewise.
6891 * math/w_scalbl.c (__scalbl): Likewise.
6892 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6893 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6894 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6895 Add more NaN tests.
6896
54fa2475
JM
6897 [BZ #16349]
6898 * math/w_atan2.c: Include <errno.h>.
6899 (__atan2): Set errno for result underflowing to zero.
6900 * math/w_atan2f.c: Include <errno.h>.
6901 (__atan2f): Set errno for result underflowing to zero.
6902 * math/w_atan2l.c: Include <errno.h>.
6903 (__atan2l): Set errno for result underflowing to zero.
6904 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6905 tests.
6906 * math/auto-libm-test-out: Regenerated.
6907
757d9dd5
AZ
69082014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909
6910 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6911 Encode instruction correctly in little endian.
6912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6913 Likewise.
6914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6915 Likewise.
6916 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6917 Likewise.
6918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6919 Likewise.
6920
d7a68734
JM
69212014-03-31 Joseph Myers <joseph@codesourcery.com>
6922
47c5adeb
JM
6923 [BZ #9894]
6924 * sysdeps/unix/sysv/linux/kernel-features.h
6925 [__sparc__ && !__arch64__ && !__sparc_v9__]
6926 (__ASSUME_SET_ROBUST_LIST): Do not define.
6927 [__sparc__ && !__arch64__ && !__sparc_v9__]
6928 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6929 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6930 Likewise.
6931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6932 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6933 (__ASSUME_REQUEUE_PI): Likewise.
6934 (__ASSUME_SET_ROBUST_LIST): Likewise.
6935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6936 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6937 Undefine.
6938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6940 Likewise.
6941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6942 Likewise.
6943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6944 Likewise.
6945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6947 Undefine.
6948 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6949 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6950 Likewise.
6951
d7a68734
JM
6952 [BZ #16648]
6953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6954 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6955 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6956
c760f5c2
WN
69572014-03-31 Will Newton <will.newton@linaro.org>
6958
6959 * benchtests/Makefile (bench): Add ffs and ffsll to list
6960 of tests.
6961 * benchtests/ffs-inputs: New file.
6962 * benchtests/ffsll-inputs: Likewise.
6963
ea6029b1
JM
69642014-03-29 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #16770]
6967 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6968 too large before casting to int.
6969 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6970 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6971 * math/libm-test.inc (scalb_test_data): Add more tests.
6972
cf806aff
SP
69732014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6974
56737508
SP
6975 * benchtests/Makefile (DETAILED_OPT): New make option.
6976 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6977 set.
6978 * benchtests/bench-skeleton.c: Include stdbool.h.
6979 (main): Store and print timings per input.
6980 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6981 member to each argument value.
6982 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6983 (_print_arg_data): Initialize per-input timing to 0.
6984
cb5e4aad
SP
6985 * benchtests/Makefile (timing-type): New binary.
6986 (bench-clean): Also remove bench-timing-type.
6987 (bench): New target for timing-type.
6988 (bench-func): Print output in JSON format.
6989 * benchtests/bench-skeleton.c (main): Print output in JSON
6990 format.
6991 * benchtests/bench-timing-type.c: New file.
6992 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6993 (TIMING_PRINT_STATS): Remove.
6994 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6995 name separately.
6996
cf806aff
SP
6997 * benchtests/bench-modf.c: Remove.
6998 * benchtests/modf-inputs: New inputs file.
6999
289e0779
JM
70002014-03-28 Joseph Myers <joseph@codesourcery.com>
7001
7002 [BZ #16362]
7003 * math/s_clog10.c (M_PI_LOG10E): New macro.
7004 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7005 imaginary parts are 0.
7006 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7007 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7008 imaginary parts are 0.
7009 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7010 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7011 imaginary parts are 0.
7012 * math/libm-test.inc (clog10_test_data): Update expected results
7013 for when real and imaginary parts are 0.
7014
277ae3f1
PP
70152014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7016
7017 * elf/dl-load.c: Finish conversion of __builtin_expect into
7018 __glibc_{un}likely.
7019
03a7091f
JM
70202014-03-27 Joseph Myers <joseph@codesourcery.com>
7021
7022 [BZ #16348]
7023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7024 1+x for argument with exponent below -67.
7025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7026 Likewise.
7027 * math/auto-libm-test-in: Add more tests of exp.
7028 * math/auto-libm-test-out: Regenerated.
7029
ea7d8b95
SP
70302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7031
dd3022d7
SP
7032 [BZ #16759]
7033 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7034 (nscd_getnetgrent): Use it.
7035
ea7d8b95
SP
7036 [BZ #16760]
7037 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7038 of stpcpy.
7039
df5b85da
AK
70402014-03-27 Andi Kleen <ak@linux.intel.com>
7041
57f41c40
AS
7042 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7043 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7044 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7045 (lll_robust_unlock): Remove out of line section. Use cfi
7046 intrinsics.
df5b85da 7047 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7048 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7049 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7050 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7051 (lll_robust_unlock): Remove out of line section. Use cfi
7052 intrinsics.
df5b85da
AK
7053 (LLL_STUB_UNWIND_INFO*): Remove.
7054
fbd6b5a4
SP
70552014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7056
7057 [BZ #16758]
7058 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7059 blank values.
7060
1b26b855
PP
70612014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7062
7063 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7064
9be36fb8
JM
70652014-03-26 Joseph Myers <joseph@codesourcery.com>
7066
7067 [BZ #16198]
7068 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7069 fnstenv.
7070 * math/test-fenv-preserve.c: New file.
7071 * math/Makefile (tests): Add test-fenv-preserve.
7072
60a2f3c1
WN
70732014-03-26 Will Newton <will.newton@linaro.org>
7074
7075 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7076
a5e5f1e2
RM
70772014-03-25 Roland McGrath <roland@hack.frob.com>
7078
7079 * scripts/versionlist.awk: Partition the version sets and emit all
7080 GLIBC_* (sorted) before all others (sorted).
7081
00f4012a
JM
70822014-03-25 Joseph Myers <joseph@codesourcery.com>
7083
7084 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7085 GLIBC_2.2.5 version.
7086
7bc5a741
AZ
70872014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7090 calls.
7091
7578473b
AZ
7092 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7093 previous change.
7094
f3f1dab3
AZ
7095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7096
6da36183
AS
70972014-03-25 Andreas Schwab <schwab@suse.de>
7098
7099 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7100 label to be used after in6ailist is initialized.
7101
f3f1dab3 71022014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7103
7578473b 7104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7105 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7106
046651c1
JM
71072014-03-25 Joseph Myers <joseph@codesourcery.com>
7108
7109 [BZ #16357]
7110 [BZ #16599]
7111 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7112 min_plus_half.
7113 (fp_formats): Update initializers.
7114 (init_fp_formats): Initialize new field.
7115 (output_for_one_input_case): Allow underflow for results up to
7116 min_plus_half.
7117 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7118 * math/auto-libm-test-in: Don't mark some underflows from asin and
7119 atanh as spurious.
7120 * math/auto-libm-test-out: Regenerated.
7121 * sysdeps/i386/fpu/libm-test-ulps: Update.
7122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123
003e49ed
AS
71242014-03-25 Andreas Schwab <schwab@suse.de>
7125
7126 * libio/Makefile (tst-ftell-partial-wide-ENV)
7127 (tst-ftell-active-handler-ENV): Define.
7128
de031874
SL
71292014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7130
7131 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7132
55a81e3b
PP
71332014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7134
7135 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7136
f3426898
JM
71372014-03-24 Joseph Myers <joseph@codesourcery.com>
7138
7139 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7140 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7141 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7142
a42faf59
PP
71432014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7144
7145 [BZ #16634]
a42faf59 7146 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7147 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7148 (open_path): Change from boolean 'secure' to complete flag 'mode'
7149 (_dl_map_object): Adjust.
a42faf59
PP
7150 * elf/Makefile (tests): Add tst-dlopen-aout.
7151 * elf/tst-dlopen-aout.c: New test.
7152
50936127
SL
71532014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7154
7155 [BZ #16714]
7156 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7157 (struct stat): Rename member pad0 to __glibc_reserved0.
7158
26011b5c
SL
7159 [BZ #16712]
7160 * sysdeps/s390/s390-32/bits/wordsize.h
7161 (__WORDSIZE32_SIZE_ULONG): New define.
7162 * sysdeps/s390/s390-64/bits/wordsize.h
7163 (__WORDSIZE32_SIZE_ULONG): Likewise.
7164 * sysdeps/generic/stdint.h (SIZE_MAX):
7165 Define as UL if __WORDSIZE32_SIZE_ULONG.
7166
a2d86bf1
SL
7167 [BZ #16713]
7168 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7169 (__glibc_reserved0): New variable.
7170 (sa_flags): Change type to int.
7171
78b6eebc
SL
7172 * posix/Makefile (before-compile): Use += before-compile instead
7173 of a :=.
7174
f1399b5a
SL
7175 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7176 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7177
a071766e
AS
71782014-03-20 Andreas Schwab <schwab@suse.de>
7179
7180 [BZ #16743]
7181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7182 non-matching result from nscd.
7183
27c673b8
SP
71842014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7185
7186 * scripts/bench.py: Moved to ...
7187 * benchtests/scripts/bench.py: ... here.
7188 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7189
44152e4b
AS
71902014-03-24 Andreas Schwab <schwab@suse.de>
7191
7192 [BZ #16002]
7193 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7194 alloca_account and account alloca use for struct in6ailist.
7195
b376a11a
JM
71962014-03-24 Joseph Myers <joseph@codesourcery.com>
7197
7198 [BZ #16284]
7199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7200 rounding mode to recompute results that overflow to infinity or
7201 underflow to zero.
7202 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7203 bug 16284.
7204 * math/auto-libm-test-out: Regenerated.
7205 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7206 (ccosh_test): Likewise.
7207 (csin_test_data): Use plus_oflow.
7208 (csin_test): Use ALL_RM_TEST.
7209 (csinh_test_data): Use plus_oflow.
7210 (csinh_test): Use ALL_RM_TEST.
7211 * sysdeps/i386/fpu/libm-test-ulps: Update.
7212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213
f7be7376
JM
72142014-03-21 Joseph Myers <joseph@codesourcery.com>
7215
1ca2d03e
JM
7216 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7217 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7218 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7219
f7be7376
JM
7220 [BZ #16731]
7221 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7222 when x - 1 is zero.
7223 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7224 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7225 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7227 argument is 1.
7228 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7229 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7230 zero.
7231 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234
fdf4534d
SP
72352014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
df26ea53
SP
7237 * scripts/bench.pl: Remove file.
7238 * scripts/bench.py: New benchmark script.
7239 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7240 * benchtests/README: Mention python dependency.
7241 * scripts/pylintrc: New file.
7242 * scripts/pylint: New file.
7243
fdf4534d
SP
7244 * bits/mathdef.h: Use #ifdef instead of #if.
7245 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7247 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7249 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7251
6f23d093
AZ
72522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7254
7255 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7257 and strpbrk-ppc64 objects.
7258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7259 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7261 multiarch strpbrk for POWER7.
7262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7263 multiarch strpbrk for PPC64.
7264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7265 ifunc selector.
7266 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7267 strpbrk for POWER7.
7268
8c92dfff
JM
72692014-03-20 Joseph Myers <joseph@codesourcery.com>
7270
7271 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7272 (atan_test): Likewise.
7273 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7274 (atanh_test): Use ALL_RM_TEST.
7275 (atan2_test_data): Likewise.
7276 (cabs_test): Likewise.
7277 (cacosh_test): Likewise.
7278 (carg_test): Likewise.
7279 (casin_test): Likewise.
7280 (casinh_test): Likewise.
7281 (cbrt_test): Likewise.
7282 (csqrt_test): Likewise.
7283 (erf_test): Likewise.
7284 (erfc_test): Likewise.
7285 (pow10_test): Likewise.
7286 (exp2_test): Likewise.
7287 (hypot_test): Likewise.
7288 (j0_test): Likewise.
7289 (j1_test): Likewise.
7290 (lgamma_test): Likewise.
7291 (gamma_test): Likewise.
7292 (sincos_test): Likewise.
7293 (tanh_test): Likewise.
7294 (y0_test): Likewise.
7295 (y1_test): Likewise.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
6eaf95cb
AZ
72992014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7300
a387428c
SP
7301 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7303 and strcspn-ppc64 objects.
7304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7305 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7307 multiarch strcspn for POWER7.
7308 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7309 multiarch strcspn for PPC64.
7310 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7311 ifunc selector.
7312 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7313 strcspn for POWER7.
7314
ae3a5dff
JM
73152014-03-20 Joseph Myers <joseph@codesourcery.com>
7316
7317 * math/gen-libm-test.pl (generate_testfile): Expect only function
7318 name as argument to AUTO_TESTS_* and pass results for all rounding
7319 modes to parse_args.
7320 (parse_auto_input): Separate inputs of automatic tests from
7321 outputs before storing in %auto_tests.
7322 * math/libm-test.inc (acos_test_data): Update call to
7323 AUTO_TESTS_f_f.
7324 (acos_test): Use ALL_RM_TEST.
7325 (acos_tonearest_test_data): Remove.
7326 (acos_test_tonearest): Likewise.
7327 (acos_towardzero_test_data): Likewise.
7328 (acos_test_towardzero): Likewise.
7329 (acos_downward_test_data): Likewise.
7330 (acos_test_downward): Likewise.
7331 (acos_upward_test_data): Likewise.
7332 (acos_test_upward): Likewise.
7333 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7334 (asin_test_data): Likewise.
7335 (asin_test): Use ALL_RM_TEST.
7336 (asin_tonearest_test_data): Remove.
7337 (asin_test_tonearest): Likewise.
7338 (asin_towardzero_test_data): Likewise.
7339 (asin_test_towardzero): Likewise.
7340 (asin_downward_test_data): Likewise.
7341 (asin_test_downward): Likewise.
7342 (asin_upward_test_data): Likewise.
7343 (asin_test_upward): Likewise.
7344 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7345 (atan_test_data): Likewise.
7346 (atanh_test_data): Likewise.
7347 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7348 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7349 (carg_test_data): Likewise.
7350 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7351 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7352 (ccosh_test_data): Likewise.
7353 (cexp_test_data): Likewise.
7354 (clog_test_data): Likewise.
7355 (clog10_test_data): Likewise.
7356 (cos_test_data): Update call to AUTO_TESTS_f_f.
7357 (cos_test): Use ALL_RM_TEST.
7358 (cos_tonearest_test_data): Remove.
7359 (cos_test_tonearest): Likewise.
7360 (cos_towardzero_test_data): Likewise.
7361 (cos_test_towardzero): Likewise.
7362 (cos_downward_test_data): Likewise.
7363 (cos_test_downward): Likewise.
7364 (cos_upward_test_data): Likewise.
7365 (cos_test_upward): Likewise.
7366 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7367 (cosh_test): Use ALL_RM_TEST.
7368 (cosh_tonearest_test_data): Remove.
7369 (cosh_test_tonearest): Likewise.
7370 (cosh_towardzero_test_data): Likewise.
7371 (cosh_test_towardzero): Likewise.
7372 (cosh_downward_test_data): Likewise.
7373 (cosh_test_downward): Likewise.
7374 (cosh_upward_test_data): Likewise.
7375 (cosh_test_upward): Likewise.
7376 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7377 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7378 (ctan_test_data): Likewise.
7379 (ctan_test): Use ALL_RM_TEST.
7380 (ctan_tonearest_test_data): Remove.
7381 (ctan_test_tonearest): Likewise.
7382 (ctan_towardzero_test_data): Likewise.
7383 (ctan_test_towardzero): Likewise.
7384 (ctan_downward_test_data): Likewise.
7385 (ctan_test_downward): Likewise.
7386 (ctan_upward_test_data): Likewise.
7387 (ctan_test_upward): Likewise.
7388 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7389 (ctanh_test): Use ALL_RM_TEST.
7390 (ctanh_tonearest_test_data): Remove.
7391 (ctanh_test_tonearest): Likewise.
7392 (ctanh_towardzero_test_data): Likewise.
7393 (ctanh_test_towardzero): Likewise.
7394 (ctanh_downward_test_data): Likewise.
7395 (ctanh_test_downward): Likewise.
7396 (ctanh_upward_test_data): Likewise.
7397 (ctanh_test_upward): Likewise.
7398 (erf_test_data): Update call to AUTO_TESTS_f_f.
7399 (erfc_test_data): Likewise.
7400 (exp_test_data): Likewise.
7401 (exp_test): Use ALL_RM_TEST.
7402 (exp_tonearest_test_data): Remove.
7403 (exp_test_tonearest): Likewise.
7404 (exp_towardzero_test_data): Likewise.
7405 (exp_test_towardzero): Likewise.
7406 (exp_downward_test_data): Likewise.
7407 (exp_test_downward): Likewise.
7408 (exp_upward_test_data): Likewise.
7409 (exp_test_upward): Likewise.
7410 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7411 (exp10_test): Use ALL_RM_TEST.
7412 (exp10_tonearest_test_data): Remove.
7413 (exp10_test_tonearest): Likewise.
7414 (exp10_towardzero_test_data): Likewise.
7415 (exp10_test_towardzero): Likewise.
7416 (exp10_downward_test_data): Likewise.
7417 (exp10_test_downward): Likewise.
7418 (exp10_upward_test_data): Likewise.
7419 (exp10_test_upward): Likewise.
7420 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7421 (expm1_test_data): Likewise.
7422 (expm1_test): Use ALL_RM_TEST.
7423 (expm1_tonearest_test_data): Remove.
7424 (expm1_test_tonearest): Likewise.
7425 (expm1_towardzero_test_data): Likewise.
7426 (expm1_test_towardzero): Likewise.
7427 (expm1_downward_test_data): Likewise.
7428 (expm1_test_downward): Likewise.
7429 (expm1_upward_test_data): Likewise.
7430 (expm1_test_upward): Likewise.
7431 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7432 (fma_test): Use ALL_RM_TEST.
7433 (fma_towardzero_test_data): Remove.
7434 (fma_test_towardzero): Likewise.
7435 (fma_downward_test_data): Likewise.
7436 (fma_test_downward): Likewise.
7437 (fma_upward_test_data): Likewise.
7438 (fma_test_upward): Likewise.
7439 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7440 (j0_test_data): Update call to AUTO_TESTS_f_f.
7441 (j1_test_data): Likewise.
7442 (jn_test_data): Update call to AUTO_TESTS_if_f.
7443 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7444 (log_test_data): Update call to AUTO_TESTS_f_f.
7445 (log10_test_data): Likewise.
7446 (log1p_test_data): Likewise.
7447 (log2_test_data): Likewise.
7448 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7449 (pow_tonearest_test_data): Likewise.
7450 (sin_test_data): Update call to AUTO_TESTS_f_f.
7451 (sin_test): Use ALL_RM_TEST.
7452 (sin_tonearest_test_data): Remove.
7453 (sin_test_tonearest): Likewise.
7454 (sin_towardzero_test_data): Likewise.
7455 (sin_test_towardzero): Likewise.
7456 (sin_downward_test_data): Likewise.
7457 (sin_test_downward): Likewise.
7458 (sin_upward_test_data): Likewise.
7459 (sin_test_upward): Likewise.
7460 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7461 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7462 (sinh_test): Use ALL_RM_TEST.
7463 (sinh_tonearest_test_data): Remove.
7464 (sinh_test_tonearest): Likewise.
7465 (sinh_towardzero_test_data): Likewise.
7466 (sinh_test_towardzero): Likewise.
7467 (sinh_downward_test_data): Likewise.
7468 (sinh_test_downward): Likewise.
7469 (sinh_upward_test_data): Likewise.
7470 (sinh_test_upward): Likewise.
7471 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7472 (sqrt_test): Use ALL_RM_TEST.
7473 (sqrt_tonearest_test_data): Remove.
7474 (sqrt_test_tonearest): Likewise.
7475 (sqrt_towardzero_test_data): Likewise.
7476 (sqrt_test_towardzero): Likewise.
7477 (sqrt_downward_test_data): Likewise.
7478 (sqrt_test_downward): Likewise.
7479 (sqrt_upward_test_data): Likewise.
7480 (sqrt_test_upward): Likewise.
7481 (tan_test_data): Update call to AUTO_TESTS_f_f.
7482 (tan_test): Use ALL_RM_TEST.
7483 (tan_tonearest_test_data): Remove.
7484 (tan_test_tonearest): Likewise.
7485 (tan_towardzero_test_data): Likewise.
7486 (tan_test_towardzero): Likewise.
7487 (tan_downward_test_data): Likewise.
7488 (tan_test_downward): Likewise.
7489 (tan_upward_test_data): Likewise.
7490 (tan_test_upward): Likewise.
7491 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7492 (tgamma_test_data): Likewise.
7493 (y0_test_data): Likewise.
7494 (y1_test_data): Likewise.
7495 (yn_test_data): Update call to AUTO_TESTS_if_f.
7496 (main): Do not call removed functions.
7497
d71aeee8
JM
74982014-03-19 Joseph Myers <joseph@codesourcery.com>
7499
7500 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7501 (ldexp_test_data): Remove.
7502 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7503 scalbn_test_data.
7504 (scalb_test): Use ALL_RM_TEST.
7505
baaf1ded
AS
75062014-03-19 Andreas Schwab <schwab@suse.de>
7507
7508 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7509
b1115e91
JM
75102014-03-19 Joseph Myers <joseph@codesourcery.com>
7511
7512 [BZ #16649]
7513 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7514 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7515 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7517 (__ASSUME_PREADV): Undefine.
7518 (__ASSUME_PWRITEV): Likewise.
7519
0283ecca
RM
75202014-03-18 Roland McGrath <roland@hack.frob.com>
7521
7d375303
RM
7522 * bits/mman-linux.h: Add comment about non-Linux use.
7523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7524 bits/mman-linux.h resting place.
7525
0283ecca
RM
7526 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7527 * bits/mman-linux.h: ... here.
7528
aebe1003
AZ
75292014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7530
7531 * conform/conformtest.pl: Add standard definition when calling C
7532 preprocessor on data files.
7533 (checknamespace): Remove unused variable.
7534
b29b6bb8
JM
75352014-03-18 Joseph Myers <joseph@codesourcery.com>
7536
7537 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7538 minus_oflow, plus_uflow and minus_uflow in expected results.
7539 * math/libm-test.inc (scalbn_test_data): Add more tests of
7540 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7541 minus_uflow.
7542 (scalbn_test): Use ALL_RM_TEST.
7543 (scalbln_test_data): Add more tests of negative arguments. Use
7544 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7545 (scalbln_test): Use ALL_RM_TEST.
7546
c8f8fa15
RM
75472014-03-18 Roland McGrath <roland@hack.frob.com>
7548
7549 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7550
fede7a5f
WN
75512014-03-18 Will Newton <will.newton@linaro.org>
7552
7553 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7554 inaccurate comment.
7555
80cf0a58
JM
75562014-03-18 Joseph Myers <joseph@codesourcery.com>
7557
7558 * Makerules [!subdir] (check-abi): Exit with error status if a
7559 test failed.
7560
b3620862
JM
75612014-03-17 Joseph Myers <joseph@codesourcery.com>
7562
7563 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7564 for rint. Include results for all rounding modes.
7565 (nearbyint_test): Use ALL_RM_TEST.
7566 (rint_test_data): Include all tests used for nearbyint.
7567
788bba36
WN
75682014-03-17 Will Newton <will.newton@linaro.org>
7569
04ec140a
WN
7570 * nptl/sysdeps/pthread/pthread.h: Revert previous
7571 change.
7572
7579d8d5
WN
7573 * sysdeps/generic/ldsodefs.h: Revert previous
7574 change.
7575
c15cf13a
WN
7576 * libio/genops.c: Revert previous change.
7577 * libio/libioP.h: Likewise.
7578 * stdio-common/vfprintf.c: Likewise.
7579
d0ac1324
WN
7580 * sysdeps/generic/math_private.h: Revert previous
7581 change.
7582
9290130a
WN
7583 * sysdeps/generic/math_private.h: Check whether
7584 HAVE_RM_CTX is defined with #ifdef rather
7585 than #if.
7586
afb466fc
WN
7587 * argp/argp-fmtstream.h: Check whether
7588 __STRICT_ANSI__ is defined with #ifdef rather
7589 than #if.
7590 * argp/argp.h: Likewise.
7591
f7efd7c3
WN
7592 * libio/genops.c: Check whether
7593 _IO_JUMPS_OFFSET is defined with #ifdef rather
7594 than #if.
7595 * libio/libioP.h: Likewise.
7596 * stdio-common/vfprintf.c: Likewise.
7597
53f1bed3
WN
7598 * sysdeps/generic/ldsodefs.h: Check whether
7599 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7600 than #if.
7601
788bba36
WN
7602 * nptl/sysdeps/pthread/pthread.h: Check
7603 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7604 its value.
7605
fcd89ebe
SP
76062014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7607
ae42bbc5
SP
7608 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7609 setting O_APPEND.
7610 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7611 test case.
7612
ea33158c
SP
7613 [BZ #16680]
7614 * libio/fileops.c (_IO_file_open): Seek to end of file but
7615 don't cache the offset.
7616 (get_file_offset): Remove function.
7617 (do_ftell): Use cached offset when available.
7618 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7619 don't cache the offset.
7620 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7621 case.
7622 (do_one_test): Call it.
7623 (do_ftell_test): Fix up expected old offset for a+ mode.
7624 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7625 available.
7626
b1dbb426
SP
7627 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7628 up test status with function return status.
7629 (do_write_test): Likewise.
7630 (do_append_test): Likewise.
7631
fcd89ebe
SP
7632 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7633 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7634 Remove.
7635
9962a2d3
JM
76362014-03-17 Joseph Myers <joseph@codesourcery.com>
7637
7638 * math/gen-libm-test.pl (parse_args): Handle results specified for
7639 each rounding mode separately.
7640 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7641 tests and results from lrint_tonearest_test_data,
7642 lrint_towardzero_test_data, lrint_downward_test_data and
7643 lrint_upward_test_data.
7644 (lrint_test): Use ALL_RM_TEST.
7645 (lrint_tonearest_test_data): Remove.
7646 (lrint_test_tonearest): Likewise.
7647 (lrint_towardzero_test_data): Likewise.
7648 (lrint_test_towardzero): Likewise.
7649 (lrint_downward_test_data): Likewise.
7650 (lrint_test_downward): Likewise.
7651 (lrint_upward_test_data): Likewise.
7652 (lrint_test_upward): Likewise.
7653 (llrint_test_data): Merge in per-rounding-mode tests and results
7654 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7655 llrint_downward_test_data and llrint_upward_test_data.
7656 (llrint_test): Use ALL_RM_TEST.
7657 (llrint_tonearest_test_data): Remove.
7658 (llrint_test_tonearest): Likewise.
7659 (llrint_towardzero_test_data): Likewise.
7660 (llrint_test_towardzero): Likewise.
7661 (llrint_downward_test_data): Likewise.
7662 (llrint_test_downward): Likewise.
7663 (llrint_upward_test_data): Likewise.
7664 (llrint_test_upward): Likewise.
7665 (rint_test_data): Merge in per-rounding-mode tests and results
7666 from rint_tonearest_test_data, rint_towardzero_test_data,
7667 rint_downward_test_data and rint_upward_test_data. Add
7668 per-rounding-mode results for tests not in those arrays.
7669 (rint_test): Use ALL_RM_TEST.
7670 (rint_tonearest_test_data): Remove.
7671 (rint_test_tonearest): Likewise.
7672 (rint_towardzero_test_data): Likewise.
7673 (rint_test_towardzero): Likewise.
7674 (rint_downward_test_data): Likewise.
7675 (rint_test_downward): Likewise.
7676 (rint_upward_test_data): Likewise.
7677 (rint_test_upward): Likewise.
7678 (main): Don't call removed functions.
7679
5006148e
RM
76802014-03-14 Roland McGrath <roland@hack.frob.com>
7681
7682 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7683 "Compiled on ..." crapola. It is anti-useful.
7684
d6fe5e58
JM
76852014-03-14 Joseph Myers <joseph@codesourcery.com>
7686
7687 * scripts/evaluate-test.sh: Handle fourth argument to determine
7688 whether test run should stop on failure.
7689 * Makeconfig (stop-on-test-failure): New variable.
7690 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7691 $(stop-on-test-failure).
7692 * Makefile (tests): Give a summary of results from testing and
7693 exit with failure status if they include an ERROR or FAIL.
7694 (xtests): Likewise.
7695 * manual/install.texi (Configuring and compiling): Mention
7696 stop-on-test-failure=y.
7697 * INSTALL: Regenerated.
7698
498a2233
RM
76992014-03-14 Roland McGrath <roland@hack.frob.com>
7700
22dbc19d
RM
7701 * scripts/versionlist.awk: New file.
7702 * Makerules [$(build-shared) = yes]
7703 (postclean-generated): Add Versions.def, not Versions.def.v and
7704 Versions.def.v.i.
7705 ($(common-objpfx)Versions.def.v.i): Target removed.
7706 ($(common-objpfx)Versions.def): New target.
7707 ($(common-objpfx)Versions.all): Depend on that rather that
7708 $(common-objpfx)Versions.def.v.
7709 * Versions.def: File removed.
7710
498a2233
RM
7711 * Makeconfig (+gccwarn): Add -Wundef.
7712 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7713 a dl-sysdep.h breaking its contract.
7714 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7715 * include/stackinfo.h: New file.
7716 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7717 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7718 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7719 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7720 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7721 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7722 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7723 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7724 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7725 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7726 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7727 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7728 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7729 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7730 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7731
c7de5025
AZ
77322014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7733
7734 [BZ #16707]
7735 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7736 implementation.
7737 * math/libm-test.inc (round_test_data): Add more tests.
7738
98fb27a3
AZ
7739 [BZ #16706]
7740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7741 implementation.
7742 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7743
374f7f61
AZ
7744 [BZ #16701]
7745 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7746 implementation.
7747 * math/libm-test.inc (ceil_test_data): Add more tests.
7748
4655c291
AZ
7749 * math/libm-test.inc (trunc_test_data): Add more tests related to
7750 BZ#16414.
7751
d7329d4b
RM
77522014-03-14 Roland McGrath <roland@hack.frob.com>
7753
7754 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7755 with #if rather than #ifdef.
7756 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7757
aa4de9ce
L
77582014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7759
7760 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7761 first. Disable AVX-512 GCC support if assembler doesn't support
7762 it.
7763 * sysdeps/x86_64/configure: Regenerated.
7764
2e03fae7
CD
77652014-03-13 Carlos O'Donell <carlos@redhat.com>
7766
7767 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7768 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7769 (__old_pthread_attr_setstack): Likewise.
7770 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7771 [!_STACK_GROWS_DOWN]: Likewise.
7772
43ca83ec
MF
77732014-03-13 Mike Frysinger <vapier@gentoo.org>
7774
7775 * config.make.in (have-bash2): Delete.
7776 * configure.ac (libc_cv_have_bash2): Delete.
7777 * configure: Regenerate.
7778 * elf/Makefile (common-ldd-rewrite): Rename to ...
7779 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7780 (sh-ldd-rewrite): Delete.
7781 (bash-ldd-rewrite): Delete.
7782 (have-bash2): Delete checks.
57f41c40
AS
7783 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7784 ldd-rewrite.
c66e48b4
MF
7785
7786 * config.make.in (have-ksh): Delete.
7787 (KSH): Delete.
7788 * configure.ac (libc_cv_have_ksh): Delete.
7789 * configure: Regenerate.
7790
b93834ef
MF
7791 * elf/Makefile: Delete $(have-ksh) check.
7792 ($(objpfx)sotruss): Change KSH to BASH.
7793 * elf/sotruss.ksh: Rename to ...
7794 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7795 function style to match POSIX. Drop ksh vim mode setting.
7796
f3a4632a
MF
7797 * manual/time.texi (Specifying the Time Zone with TZ): Change
7798 Tuesday to Thursday.
7799
5896c8bd
MF
7800 * debug/tst-longjmp_chk2.c: Update header comment.
7801 (stackoverflow_handler): Add comment. Call assert on pass value.
7802
2d63a517
IZ
78032014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7804
7805 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7806 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7807 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7808 (La_x86_64_vector): Add zmm.
7809 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7810 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7811 ($(objpfx)tst-audit10): New target.
7812 ($(objpfx)tst-audit10.out): Likewise.
7813 (tst-audit10-ENV): New.
7814 (AVX512-CFLAGS): Likewise.
7815 (CFLAGS-tst-audit10.c): Likewise.
7816 (CFLAGS-tst-auditmod10a.c): Likewise.
7817 (CFLAGS-tst-auditmod10b.c): Likewise.
7818 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7819 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7820 * sysdeps/x86_64/configure: Regenerated.
7821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7822 AVX-512 zmm register support.
7823 (_dl_x86_64_save_sse): Likewise.
7824 (_dl_x86_64_restore_sse): Likewise.
7825 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7826 size vector registers.
7827 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7828 (ZMM_SIZE): Likewise.
7829 * sysdeps/x86_64/tst-audit10.c: New file.
7830 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7831 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7832
44c4e5d5
RM
78332014-03-13 Roland McGrath <roland@hack.frob.com>
7834
7835 * configure.ac (HAVE_EHDR_START): New check.
7836 * configure: Regenerated.
7837 * config.h.in (HAVE_EHDR_START): New #undef.
7838 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7839 assuming the lowest-addressed segment maps the start of the file.
7840
acd6e389
JM
78412014-03-13 Joseph Myers <joseph@codesourcery.com>
7842
7843 * INSTALL: Regenerated.
7844
6f918f36
WN
78452014-03-13 Will Newton <will.newton@linaro.org>
7846
7847 * manual/setjmp.texi (System V contexts): Improve
7848 clarity and grammar of documentation.
7849
798212a0
PP
78502014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7851
7852 [BZ #16381]
798212a0 7853 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7854 (tests-pie): Add tst-pie2.
798212a0
PP
7855 * elf/tst-pie2.c: New file.
7856 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7857 for ET_EXEC.
7858 * elf/rtld.c (map_doit): Load executable as lt_executable.
7859 (dl_main): Likewise.
7860
abe6d90c
JM
78612014-03-12 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #16642]
7864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7865 (__ASSUME_PSELECT): Undefine.
7866
dd3946c6
AZ
78672014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7868
7869 [BZ #16689]
7870 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7871 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7872 static build.
7873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7874 selector for static builds.
7875
c44496df
SP
78762014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
7878 [BZ #16695]
7879 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7880 key in the buffer.
7881
27c7220a
AZ
78822014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7883
57f41c40
AS
7884 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7885 IFUNC selector for static builds.
27c7220a 7886
600fa361
JM
78872014-03-11 Joseph Myers <joseph@codesourcery.com>
7888
76c96cf7
JM
7889 * sysdeps/mips/math_private.h [__mips_hard_float]
7890 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7891 libc_feresetround_mips_ctx.
7892 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7893 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7894 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7895
600fa361
JM
7896 [BZ #16677]
7897 * math/s_nextafter.c (__nextafter): Do not return value from
7898 overflowing computation.
7899 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7900 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7902 Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7904 Likewise.
7905 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7906 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7907
d7706c32
RM
79082014-03-11 Roland McGrath <roland@hack.frob.com>
7909
7910 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7911 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7912 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7913 the new mov targetting sp.
7914
4facea47
AZ
79152014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7916
7917 [BZ #16683]
7918 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7919 Define it for static builds as well.
7920 (NO_BZERO_IMPL): Likewise.
7921
e65caf1f
VR
79222014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7923
7924 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7925 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7926 multiarch strspn for PPC64.
7927 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7928 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7930 (__libc_ifunc_impl_list): Likewise.
7931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7932 multiarch optimizations
7933 * string/strspn.c (strspn): Using macro to redefine symbol name.
7934
ba9cc071
AZ
79352014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7936 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7937
7938 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7939 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7940 multiarch strncat for PPC64.
7941 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7942 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7944 (__libc_ifunc_impl_list): Likewise.
7945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7946 multiarch optimizations
7947
8b4ff974
SP
79482014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7949
7950 [BZ #16639]
7951 * nscd/nscd.service: Make service type forking.
7952
54b46a4b
AZ
79532014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7954
7955 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7956 sign in non default rounding modes.
7957 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7958
e9996ef7
JM
79592014-03-08 Joseph Myers <joseph@codesourcery.com>
7960
7961 * math/libm-test.inc (ALL_RM_TEST): New macro.
7962 (ceil_test): Use ALL_RM_TEST.
7963 (cimag_test): Likewise.
7964 (conj_test): Likewise.
7965 (copysign_test): Likewise.
7966 (cproj_test): Likewise.
7967 (creal_test): Likewise.
7968 (fabs_test): Likewise.
7969 (floor_test): Likewise.
7970 (fmax_test): Likewise.
7971 (fmin_test): Likewise.
7972 (fmod_test): Likewise.
7973 (fpclassify_test): Likewise.
7974 (frexp_test): Likewise.
7975 (ilogb_test): Likewise.
7976 (isfinite_test): Likewise.
7977 (finite_test): Likewise.
7978 (isgreater_test): Likewise.
7979 (isgreaterequal_test): Likewise.
7980 (isinf_test): Likewise.
7981 (isless_test): Likewise.
7982 (islessequal_test): Likewise.
7983 (islessgreater_test): Likewise.
7984 (isnan_test): Likewise.
7985 (isnormal_test): Likewise.
7986 (issignaling_test): Likewise.
7987 (isunordered_test): Likewise.
7988 (logb_test): Likewise.
7989 (logb_downward_test_data): Remove.
7990 (logb_test_downward): Likewise.
7991 (lround_test): Use ALL_RM_TEST.
7992 (llround_test): Likewise.
7993 (modf_test): Likewise.
7994 (nexttoward_test): Likewise.
7995 (remainder_test): Likewise.
7996 (drem_test): Likewise.
7997 (remainder_tonearest_test_data): Likewise.
7998 (remainder_test_tonearest): Likewise.
7999 (drem_test_tonearest): Likewise.
8000 (remainder_towardzero_test_data): Likewise.
8001 (remainder_test_towardzero): Likewise.
8002 (drem_test_towardzero): Likewise.
8003 (remainder_downward_test_data): Likewise.
8004 (remainder_test_downward): Likewise.
8005 (drem_test_downward): Likewise.
8006 (remainder_upward_test_data): Likewise.
8007 (remainder_test_upward): Likewise.
8008 (drem_test_upward): Likewise.
8009 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8010 (round_test): Use ALL_RM_TEST.
8011 (signbit_test): Likewise.
8012 (trunc_test): Likewise.
8013 (significand_test): Likewise.
8014 (main): Don't call removed functions.
8015
bc61d27c
JM
80162014-03-07 Joseph Myers <joseph@codesourcery.com>
8017
5c780849
JM
8018 [BZ #16674]
8019 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8020 || __USE_XOPEN2K8].
8021 (ILL_ILLOPN): Likewise.
8022 (ILL_ILLADR): Likewise.
8023 (ILL_ILLTRP): Likewise.
8024 (ILL_PRVOPC): Likewise.
8025 (ILL_PRVREG): Likewise.
8026 (ILL_COPROC): Likewise.
8027 (ILL_BADSTK): Likewise.
8028 (FPE_INTDIV): Likewise.
8029 (FPE_INTOVF): Likewise.
8030 (FPE_FLTDIV): Likewise.
8031 (FPE_FLTOVF): Likewise.
8032 (FPE_FLTUND): Likewise.
8033 (FPE_FLTRES): Likewise.
8034 (FPE_FLTINV): Likewise.
8035 (FPE_FLTSUB): Likewise.
8036 (SEGV_MAPERR): Likewise.
8037 (SEGV_ACCERR): Likewise.
8038 (BUS_ADRALN): Likewise.
8039 (BUS_ADRERR): Likewise.
8040 (BUS_OBJERR): Likewise.
8041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8042 (TRAP_TRACE): Likewise.
8043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8044 __USE_XOPEN2K8].
8045 (CLD_KILLED): Likewise.
8046 (CLD_DUMPED): Likewise.
8047 (CLD_TRAPPED): Likewise.
8048 (CLD_STOPPED): Likewise.
8049 (CLD_CONTINUED): Likewise.
8050 (POLL_IN): Likewise.
8051 (POLL_OUT): Likewise.
8052 (POLL_MSG): Likewise.
8053 (POLL_ERR): Likewise.
8054 (POLL_PRI): Likewise.
8055 (POLL_HUP): Likewise.
8056 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8057 Likewise.
8058 (ILL_ILLOPN): Likewise.
8059 (ILL_ILLADR): Likewise.
8060 (ILL_ILLTRP): Likewise.
8061 (ILL_PRVOPC): Likewise.
8062 (ILL_PRVREG): Likewise.
8063 (ILL_COPROC): Likewise.
8064 (ILL_BADSTK): Likewise.
8065 (FPE_INTDIV): Likewise.
8066 (FPE_INTOVF): Likewise.
8067 (FPE_FLTDIV): Likewise.
8068 (FPE_FLTOVF): Likewise.
8069 (FPE_FLTUND): Likewise.
8070 (FPE_FLTRES): Likewise.
8071 (FPE_FLTINV): Likewise.
8072 (FPE_FLTSUB): Likewise.
8073 (SEGV_MAPERR): Likewise.
8074 (SEGV_ACCERR): Likewise.
8075 (BUS_ADRALN): Likewise.
8076 (BUS_ADRERR): Likewise.
8077 (BUS_OBJERR): Likewise.
8078 (BUS_MCEERR_AR): Likewise.
8079 (BUS_MCEERR_AO): Likewise.
8080 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8081 (TRAP_TRACE): Likewise.
8082 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8083 __USE_XOPEN2K8].
8084 (CLD_KILLED): Likewise.
8085 (CLD_DUMPED): Likewise.
8086 (CLD_TRAPPED): Likewise.
8087 (CLD_STOPPED): Likewise.
8088 (CLD_CONTINUED): Likewise.
8089 (POLL_IN): Likewise.
8090 (POLL_OUT): Likewise.
8091 (POLL_MSG): Likewise.
8092 (POLL_ERR): Likewise.
8093 (POLL_PRI): Likewise.
8094 (POLL_HUP): Likewise.
8095 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8096 (ILL_ILLOPN): Likewise.
8097 (ILL_ILLADR): Likewise.
8098 (ILL_ILLTRP): Likewise.
8099 (ILL_PRVOPC): Likewise.
8100 (ILL_PRVREG): Likewise.
8101 (ILL_COPROC): Likewise.
8102 (ILL_BADSTK): Likewise.
8103 (FPE_INTDIV): Likewise.
8104 (FPE_INTOVF): Likewise.
8105 (FPE_FLTDIV): Likewise.
8106 (FPE_FLTOVF): Likewise.
8107 (FPE_FLTUND): Likewise.
8108 (FPE_FLTRES): Likewise.
8109 (FPE_FLTINV): Likewise.
8110 (FPE_FLTSUB): Likewise.
8111 (SEGV_MAPERR): Likewise.
8112 (SEGV_ACCERR): Likewise.
8113 (BUS_ADRALN): Likewise.
8114 (BUS_ADRERR): Likewise.
8115 (BUS_OBJERR): Likewise.
8116 (BUS_MCEERR_AR): Likewise.
8117 (BUS_MCEERR_AO): Likewise.
8118 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8119 (TRAP_TRACE): Likewise.
8120 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8121 __USE_XOPEN2K8].
8122 (CLD_KILLED): Likewise.
8123 (CLD_DUMPED): Likewise.
8124 (CLD_TRAPPED): Likewise.
8125 (CLD_STOPPED): Likewise.
8126 (CLD_CONTINUED): Likewise.
8127 (POLL_IN): Likewise.
8128 (POLL_OUT): Likewise.
8129 (POLL_MSG): Likewise.
8130 (POLL_ERR): Likewise.
8131 (POLL_PRI): Likewise.
8132 (POLL_HUP): Likewise.
8133 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8134 Likewise.
8135 (ILL_ILLOPN): Likewise.
8136 (ILL_ILLADR): Likewise.
8137 (ILL_ILLTRP): Likewise.
8138 (ILL_PRVOPC): Likewise.
8139 (ILL_PRVREG): Likewise.
8140 (ILL_COPROC): Likewise.
8141 (ILL_BADSTK): Likewise.
8142 (ILL_BADIADDR): Likewise.
8143 (ILL_BREAK): Likewise.
8144 (FPE_INTDIV): Likewise.
8145 (FPE_INTOVF): Likewise.
8146 (FPE_FLTDIV): Likewise.
8147 (FPE_FLTOVF): Likewise.
8148 (FPE_FLTUND): Likewise.
8149 (FPE_FLTRES): Likewise.
8150 (FPE_FLTINV): Likewise.
8151 (FPE_FLTSUB): Likewise.
8152 (FPE_DECOVF): Likewise.
8153 (FPE_DECDIV): Likewise.
8154 (FPE_DECERR): Likewise.
8155 (FPE_INVASC): Likewise.
8156 (FPE_INVDEC): Likewise.
8157 (SEGV_MAPERR): Likewise.
8158 (SEGV_ACCERR): Likewise.
8159 (SEGV_PSTKOVF): Likewise.
8160 (BUS_ADRALN): Likewise.
8161 (BUS_ADRERR): Likewise.
8162 (BUS_OBJERR): Likewise.
8163 (BUS_MCEERR_AR): Likewise.
8164 (BUS_MCEERR_AO): Likewise.
8165 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8166 (TRAP_TRACE): Likewise.
8167 (TRAP_BRANCH): Likewise.
8168 (TRAP_HWBKPT): Likewise.
8169 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8170 __USE_XOPEN2K8].
8171 (CLD_KILLED): Likewise.
8172 (CLD_DUMPED): Likewise.
8173 (CLD_TRAPPED): Likewise.
8174 (CLD_STOPPED): Likewise.
8175 (CLD_CONTINUED): Likewise.
8176 (POLL_IN): Likewise.
8177 (POLL_OUT): Likewise.
8178 (POLL_MSG): Likewise.
8179 (POLL_ERR): Likewise.
8180 (POLL_PRI): Likewise.
8181 (POLL_HUP): Likewise.
8182 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8183 (ILL_ILLOPN): Likewise.
8184 (ILL_ILLADR): Likewise.
8185 (ILL_ILLTRP): Likewise.
8186 (ILL_PRVOPC): Likewise.
8187 (ILL_PRVREG): Likewise.
8188 (ILL_COPROC): Likewise.
8189 (ILL_BADSTK): Likewise.
8190 (FPE_INTDIV): Likewise.
8191 (FPE_INTOVF): Likewise.
8192 (FPE_FLTDIV): Likewise.
8193 (FPE_FLTOVF): Likewise.
8194 (FPE_FLTUND): Likewise.
8195 (FPE_FLTRES): Likewise.
8196 (FPE_FLTINV): Likewise.
8197 (FPE_FLTSUB): Likewise.
8198 (SEGV_MAPERR): Likewise.
8199 (SEGV_ACCERR): Likewise.
8200 (BUS_ADRALN): Likewise.
8201 (BUS_ADRERR): Likewise.
8202 (BUS_OBJERR): Likewise.
8203 (BUS_MCEERR_AR): Likewise.
8204 (BUS_MCEERR_AO): Likewise.
8205 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8206 (TRAP_TRACE): Likewise.
8207 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8208 __USE_XOPEN2K8].
8209 (CLD_KILLED): Likewise.
8210 (CLD_DUMPED): Likewise.
8211 (CLD_TRAPPED): Likewise.
8212 (CLD_STOPPED): Likewise.
8213 (CLD_CONTINUED): Likewise.
8214 (POLL_IN): Likewise.
8215 (POLL_OUT): Likewise.
8216 (POLL_MSG): Likewise.
8217 (POLL_ERR): Likewise.
8218 (POLL_PRI): Likewise.
8219 (POLL_HUP): Likewise.
8220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8221 (ILL_ILLOPN): Likewise.
8222 (ILL_ILLADR): Likewise.
8223 (ILL_ILLTRP): Likewise.
8224 (ILL_PRVOPC): Likewise.
8225 (ILL_PRVREG): Likewise.
8226 (ILL_COPROC): Likewise.
8227 (ILL_BADSTK): Likewise.
8228 (FPE_INTDIV): Likewise.
8229 (FPE_INTOVF): Likewise.
8230 (FPE_FLTDIV): Likewise.
8231 (FPE_FLTOVF): Likewise.
8232 (FPE_FLTUND): Likewise.
8233 (FPE_FLTRES): Likewise.
8234 (FPE_FLTINV): Likewise.
8235 (FPE_FLTSUB): Likewise.
8236 (SEGV_MAPERR): Likewise.
8237 (SEGV_ACCERR): Likewise.
8238 (BUS_ADRALN): Likewise.
8239 (BUS_ADRERR): Likewise.
8240 (BUS_OBJERR): Likewise.
8241 (BUS_MCEERR_AR): Likewise.
8242 (BUS_MCEERR_AO): Likewise.
8243 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8244 (TRAP_TRACE): Likewise.
8245 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8246 __USE_XOPEN2K8].
8247 (CLD_KILLED): Likewise.
8248 (CLD_DUMPED): Likewise.
8249 (CLD_TRAPPED): Likewise.
8250 (CLD_STOPPED): Likewise.
8251 (CLD_CONTINUED): Likewise.
8252 (POLL_IN): Likewise.
8253 (POLL_OUT): Likewise.
8254 (POLL_MSG): Likewise.
8255 (POLL_ERR): Likewise.
8256 (POLL_PRI): Likewise.
8257 (POLL_HUP): Likewise.
8258 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8259 (ILL_ILLOPN): Likewise.
8260 (ILL_ILLADR): Likewise.
8261 (ILL_ILLTRP): Likewise.
8262 (ILL_PRVOPC): Likewise.
8263 (ILL_PRVREG): Likewise.
8264 (ILL_COPROC): Likewise.
8265 (ILL_BADSTK): Likewise.
8266 (FPE_INTDIV): Likewise.
8267 (FPE_INTOVF): Likewise.
8268 (FPE_FLTDIV): Likewise.
8269 (FPE_FLTOVF): Likewise.
8270 (FPE_FLTUND): Likewise.
8271 (FPE_FLTRES): Likewise.
8272 (FPE_FLTINV): Likewise.
8273 (FPE_FLTSUB): Likewise.
8274 (SEGV_MAPERR): Likewise.
8275 (SEGV_ACCERR): Likewise.
8276 (BUS_ADRALN): Likewise.
8277 (BUS_ADRERR): Likewise.
8278 (BUS_OBJERR): Likewise.
8279 (BUS_MCEERR_AR): Likewise.
8280 (BUS_MCEERR_AO): Likewise.
8281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8282 (TRAP_TRACE): Likewise.
8283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8284 __USE_XOPEN2K8].
8285 (CLD_KILLED): Likewise.
8286 (CLD_DUMPED): Likewise.
8287 (CLD_TRAPPED): Likewise.
8288 (CLD_STOPPED): Likewise.
8289 (CLD_CONTINUED): Likewise.
8290 (POLL_IN): Likewise.
8291 (POLL_OUT): Likewise.
8292 (POLL_MSG): Likewise.
8293 (POLL_ERR): Likewise.
8294 (POLL_PRI): Likewise.
8295 (POLL_HUP): Likewise.
8296 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8297 (ILL_ILLOPN): Likewise.
8298 (ILL_ILLADR): Likewise.
8299 (ILL_ILLTRP): Likewise.
8300 (ILL_PRVOPC): Likewise.
8301 (ILL_PRVREG): Likewise.
8302 (ILL_COPROC): Likewise.
8303 (ILL_BADSTK): Likewise.
8304 (ILL_DBLFLT): Likewise.
8305 (ILL_HARDWALL): Likewise.
8306 (FPE_INTDIV): Likewise.
8307 (FPE_INTOVF): Likewise.
8308 (FPE_FLTDIV): Likewise.
8309 (FPE_FLTOVF): Likewise.
8310 (FPE_FLTUND): Likewise.
8311 (FPE_FLTRES): Likewise.
8312 (FPE_FLTINV): Likewise.
8313 (FPE_FLTSUB): Likewise.
8314 (SEGV_MAPERR): Likewise.
8315 (SEGV_ACCERR): Likewise.
8316 (BUS_ADRALN): Likewise.
8317 (BUS_ADRERR): Likewise.
8318 (BUS_OBJERR): Likewise.
8319 (BUS_MCEERR_AR): Likewise.
8320 (BUS_MCEERR_AO): Likewise.
8321 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8322 (TRAP_TRACE): Likewise.
8323 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8324 __USE_XOPEN2K8].
8325 (CLD_KILLED): Likewise.
8326 (CLD_DUMPED): Likewise.
8327 (CLD_TRAPPED): Likewise.
8328 (CLD_STOPPED): Likewise.
8329 (CLD_CONTINUED): Likewise.
8330 (POLL_IN): Likewise.
8331 (POLL_OUT): Likewise.
8332 (POLL_MSG): Likewise.
8333 (POLL_ERR): Likewise.
8334 (POLL_PRI): Likewise.
8335 (POLL_HUP): Likewise.
8336 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8337 (ILL_ILLOPN): Likewise.
8338 (ILL_ILLADR): Likewise.
8339 (ILL_ILLTRP): Likewise.
8340 (ILL_PRVOPC): Likewise.
8341 (ILL_PRVREG): Likewise.
8342 (ILL_COPROC): Likewise.
8343 (ILL_BADSTK): Likewise.
8344 (FPE_INTDIV): Likewise.
8345 (FPE_INTOVF): Likewise.
8346 (FPE_FLTDIV): Likewise.
8347 (FPE_FLTOVF): Likewise.
8348 (FPE_FLTUND): Likewise.
8349 (FPE_FLTRES): Likewise.
8350 (FPE_FLTINV): Likewise.
8351 (FPE_FLTSUB): Likewise.
8352 (SEGV_MAPERR): Likewise.
8353 (SEGV_ACCERR): Likewise.
8354 (BUS_ADRALN): Likewise.
8355 (BUS_ADRERR): Likewise.
8356 (BUS_OBJERR): Likewise.
8357 (BUS_MCEERR_AR): Likewise.
8358 (BUS_MCEERR_AO): Likewise.
8359 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8360 (TRAP_TRACE): Likewise.
8361 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8362 __USE_XOPEN2K8].
8363 (CLD_KILLED): Likewise.
8364 (CLD_DUMPED): Likewise.
8365 (CLD_TRAPPED): Likewise.
8366 (CLD_STOPPED): Likewise.
8367 (CLD_CONTINUED): Likewise.
8368 (POLL_IN): Likewise.
8369 (POLL_OUT): Likewise.
8370 (POLL_MSG): Likewise.
8371 (POLL_ERR): Likewise.
8372 (POLL_PRI): Likewise.
8373 (POLL_HUP): Likewise.
8374 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8375 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8376
bc61d27c
JM
8377 [BZ #16670]
8378 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8379 before #include of <time.h>.
8380 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8381 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8382 (test-xfail-UNIX98/sched.h/conform): Likewise.
8383
302949e2
MS
83842014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8385
8386 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8387 error absence of trapping exception support.
8388 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8389
a00f522a
JM
83902014-03-07 Joseph Myers <joseph@codesourcery.com>
8391
6f99f280
JM
8392 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8393 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8394 * timezone/Makefile (testdata): Move definition above include of
8395 Rules.
8396 (test-zones): New variable.
8397 (tests-special): Add zone files.
8398 (build-testdata): Use $(evaluate-test).
8399
0b20a9e8
JM
8400 * elf/Makefile (tests-special): Rename tests to end with .out.
8401 ($(objpfx)noload-mem): Likewise.
8402 ($(objpfx)tst-leaks1-mem): Likewise.
8403 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8404 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8405 $(objpfx)test-iconvconfig.out.
8406 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8407 set -e inside subshell and redirect output to file.
8408 * iconvdata/Makefile (generated): Rename tests to end with .out.
8409 Correct type.
8410 (tests-special): Rename tests to end with .out.
8411 ($(objpfx)mtrace-tst-loading): Likewise.
8412 * intl/Makefile (generated): Likewise.
8413 (tests-special): Likewise.
8414 ($(objpfx)mtrace-tst-gettext): Likewise.
8415 * misc/Makefile (generated): Likewise.
8416 (tests-special): Likewise.
8417 ($(objpfx)tst-error1-mem): Likewise.
8418 * nptl/Makefile (tests-special): Likewise.
8419 ($(objpfx)tst-stack3-mem): Likewise.
8420 (generated): Likewise.
8421 * posix/Makefile (generated): Likewise.
8422 (tests-special): Likewise.
8423 (xtests-special): Likewise.
8424 ($(objpfx)tst-fnmatch-mem): Likewise.
8425 ($(objpfx)bug-regex2-mem): Likewise.
8426 ($(objpfx)bug-regex14-mem): Likewise.
8427 ($(objpfx)bug-regex21-mem): Likewise.
8428 ($(objpfx)bug-regex31-mem): Likewise.
8429 ($(objpfx)tst-vfork3-mem): Likewise.
8430 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8431 ($(objpfx)tst-pcre-mem): Likewise.
8432 ($(objpfx)tst-boost-mem): Likewise.
8433 ($(objpfx)bug-ga2-mem): Likewise.
8434 ($(objpfx)bug-glob2-mem): Likewise.
8435 * resolv/Makefile (generate): Likewise.
8436 (tests-special): Likewise.
8437 (xtests-special): Likewise.
8438 (generated): Likewise.
8439 ($(objpfx)mtrace-tst-leaks): Likewise.
8440 ($(objpfx)mtrace-tst-leaks2): Likewise.
8441
265d52ab
JM
8442 * scripts/merge-test-results.sh: New file.
8443 * Makefile (tests-special-notdir): New variable.
8444 (tests): Run merge-test-results.sh.
8445 (xtests): Likewise.
8446 * Rules (tests-special-notdir): New variable.
8447 (xtests-special-notdir): Likewise.
8448 (tests): Run merge-test-results.sh
8449 (xtests): Likewise.
8450
54ee292d
JM
8451 * Makeconfig (test-xfail-name): New variable.
8452 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8453 compute variable name for expected failures.
8454 * conform/Makefile (conformtest-headers-data): New variable.
8455 (conformtest-standards): Likewise.
8456 (conformtest-headers-ISO): Likewise.
8457 (conformtest-headers-ISO99): Likewise.
8458 (conformtest-headers-ISO11): Likewise.
8459 (conformtest-headers-POSIX): Likewise.
8460 (conformtest-headers-XPG3): Likewise.
8461 (conformtest-headers-XPG4): Likewise.
8462 (conformtest-headers-UNIX98): Likewise.
8463 (conformtest-headers-XOPEN2K): Likewise.
8464 (conformtest-headers-POSIX2008): Likewise.
8465 (conformtest-headers-XOPEN2K8): Likewise.
8466 (conformtest-header-list-base): Likewise.
8467 (conformtest-header-list-tests): Likewise.
8468 (conformtest-header-base): Likewise.
8469 (conformtest-header-tests): Likewise.
8470 (tests-special): Add $(conformtest-header-list-tests). If
8471 [$(fast-check) && !$(cross-compiling)], add
8472 $(conformtest-header-tests) instead of
8473 $(objpfx)run-conformtest.out.
8474 (generated): Add $(conformtest-header-list-base). If
8475 [$(fast-check) && !$(cross-compiling)], add
8476 $(conformtest-header-base). Remove previous setting.
8477 ($(conformtest-header-list-tests)): New target.
8478 (test-xfail-run-conformtest): Remove variable.
8479 ($(objpfx)run-conformtest.out): Remove target.
8480 (test-xfail-ISO11/complex.h/conform): New variable.
8481 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8482 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8483 (test-xfail-XPG3/varargs.h/conform): Likewise.
8484 (test-xfail-XPG4/varargs.h/conform): Likewise.
8485 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8486 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8487 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8488 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8489 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8490 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8491 (test-xfail-XPG3/ftw.h/conform): Likewise.
8492 (test-xfail-XPG3/grp.h/conform): Likewise.
8493 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8494 (test-xfail-XPG3/limits.h/conform): Likewise.
8495 (test-xfail-XPG3/pwd.h/conform): Likewise.
8496 (test-xfail-XPG3/search.h/conform): Likewise.
8497 (test-xfail-XPG3/signal.h/conform): Likewise.
8498 (test-xfail-XPG3/stdio.h/conform): Likewise.
8499 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8500 (test-xfail-XPG3/string.h/conform): Likewise.
8501 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8502 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8503 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8504 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8505 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8506 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8507 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8508 (test-xfail-XPG3/termios.h/conform): Likewise.
8509 (test-xfail-XPG3/time.h/conform): Likewise.
8510 (test-xfail-XPG3/unistd.h/conform): Likewise.
8511 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8512 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8513 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8514 (test-xfail-XPG4/netdb.h/conform): Likewise.
8515 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8516 (test-xfail-XPG4/signal.h/conform): Likewise.
8517 (test-xfail-XPG4/stdio.h/conform): Likewise.
8518 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8519 (test-xfail-XPG4/stropts.h/conform): Likewise.
8520 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8521 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8522 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8523 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8524 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8525 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8526 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8527 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8528 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8529 (test-xfail-XPG4/termios.h/conform): Likewise.
8530 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8531 (test-xfail-XPG4/unistd.h/conform): Likewise.
8532 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8533 (test-xfail-POSIX/sched.h/conform): Likewise.
8534 (test-xfail-POSIX/signal.h/conform): Likewise.
8535 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8536 (test-xfail-POSIX/tar.h/conform): Likewise.
8537 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8538 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8539 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8540 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8541 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8542 (test-xfail-UNIX98/sched.h/conform): Likewise.
8543 (test-xfail-UNIX98/signal.h/conform): Likewise.
8544 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8545 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8546 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8547 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8548 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8549 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8550 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8551 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8552 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8553 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8554 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8555 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8556 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8557 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8558 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8559 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8560 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8561 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8562 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8563 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8564 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8565 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8566 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8567 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8568 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8569 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8570 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8571 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8572 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8573 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8574 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8575 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8576 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8577 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8578 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8579 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8580 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8581 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8582 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8583 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8584 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8585 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8586 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8587 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8588 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8589 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8590 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8591 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8592 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8593 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8594 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8595 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8596 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8597 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8598 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8599 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8600 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8601 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8602 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8603 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8604 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8605 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8606 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8607 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8608 (conformtest-cc-flags): Likewise.
8609 ($(conformtest-header-tests): New target.
8610 * conform/check-header-lists.sh: New file.
8611 * conform/run-conformtest.sh: Remove.
8612
a00f522a
JM
8613 * conform/conformtest.pl: Allow ' and \ in values given for
8614 constants.
8615 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8616 inclusion.
8617 [POSIX] (sys/types.h): Likewise.
8618 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8619 inclusion.
8620 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8621 inclusion.
8622 * conform/data/signal.h-data (SIGIO): Remove expectation.
8623 [XPG3] (SIGBUS): Do not expect.
8624 [POSIX || XPG3] (SIGPOLL): Likewise.
8625 [POSIX || XPG3] (SIGPROF): Likewise.
8626 [POSIX || XPG3] (SIGSYS): Likewise.
8627 [XPG3] (SIGTRAP): Likewise.
8628 [POSIX || XPG3] (SIGURG): Likewise.
8629 [POSIX || XPG3] (SIGVTALRM): Likewise.
8630 [POSIX || XPG3] (SIGXCPU): Likewise.
8631 [POSIX || XPG3] (SIGXFSZ): Likewise.
8632 [POSIX] (SA_SIGINFO): Expect.
8633 [XPG3] (siginfo_t): Do not expect type or contents.
8634 [POSIX] (si_pid): Do not expect element.
8635 [POSIX] (si_uid): Likewise.
8636 [POSIX] (si_addr): Likewise.
8637 [POSIX] (si_status): Likewise.
8638 [POSIX] (si_band): Likewise.
8639 [XPG4] (si_value): Likewise.
8640 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8641 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8642 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8643 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8644 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8645 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8646 [POSIX || XPG3] (ILL_COPROC): Likewise.
8647 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8648 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8649 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8650 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8651 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8652 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8653 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8654 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8655 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8656 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8657 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8658 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8659 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8660 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8661 [POSIX || XPG3] (CLD_EXITED): Likewise.
8662 [POSIX || XPG3] (CLD_KILLED): Likewise.
8663 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8664 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8665 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8666 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8667 [POSIX || XPG3] (POLL_IN): Likewise.
8668 [POSIX || XPG3] (POLL_OUT): Likewise.
8669 [POSIX || XPG3] (POLL_MSG): Likewise.
8670 [POSIX || XPG3] (POLL_ERR): Likewise.
8671 [POSIX || XPG3] (POLL_PRI): Likewise.
8672 [POSIX || XPG3] (POLL_HUP): Likewise.
8673 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8674 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8675 (SIG*): Do not allow.
8676 [XPG3] (si_*): Likewise.
8677 [XPG3] (SI_*): Likewise.
8678 [XPG3 || XPG4] (sigev_*): Likewise.
8679 [XPG3 || XPG4] (SIGEV_*): Likewise.
8680 [XPG3 || XPG4] (sival_*): Likewise.
8681 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8682 [POSIX || XPG3] (BUS_*): Likewise.
8683 [POSIX || XPG3] (CLD_*): Likewise.
8684 [POSIX || XPG3] (FPE_*): Likewise.
8685 [POSIX || XPG3] (ILL_*): Likewise.
8686 [POSIX || XPG3] (POLL_*): Likewise.
8687 [POSIX || XPG3] (SEGV_*): Likewise.
8688 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8689 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8690 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8691 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8692 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8693 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8694 Specify type and value.
8695 (TVERSLEN): Likewise.
8696 (REGTYPE): Likewise.
8697 (AREGTYPE): Likewise.
8698 (LNKTYPE): Likewise.
8699 (SYMTYPE): Likewise.
8700 (CHRTYPE): Likewise.
8701 (BLKTYPE): Likewise.
8702 (DIRTYPE): Likewise.
8703 (FIFOTYPE): Likewise.
8704 (CONTTYPE): Likewise.
8705 (TSUID): Likewise.
8706 (TSGID): Likewise.
8707 (TSVTX): Likewise.
8708 (TUREAD): Likewise.
8709 (TUWRITE): Likewise.
8710 (TUEXEC): Likewise.
8711 (TGREAD): Likewise.
8712 (TGWRITE): Likewise.
8713 (TGEXEC): Likewise.
8714 (TOREAD): Likewise.
8715 (TOWRITE): Likewise.
8716 (TOEXEC): Likewise.
8717 [POSIX] (TSVTX): Expect constant.
8718
aa97dee1
JM
87192014-03-06 Joseph Myers <joseph@codesourcery.com>
8720
f214606a
JM
8721 * Makefile (tests): Change dependencies to ....
8722 (tests-special): ... additions to this variable.
8723 (tests): Depend on $(tests-special).
8724 * Makerules (check-abi-list): New variable.
8725 (check-abi): Depend on $(check-abi-list).
8726 [$(subdir) = elf] (tests-special): Add
8727 $(objpfx)check-abi-libc.out.
8728 [$(build-shared) = yes && subdir] (tests-special): Add
8729 $(check-abi-list).
8730 [$(build-shared) = yes && subdir] (tests): Do not depend on
8731 check-abi.
8732 * Rules (tests): Depend on $(tests-special).
8733 (xtests): Depend on $(xtests-special).
8734 * catgets/Makefile (tests): Change dependencies to ....
8735 (tests-special): ... additions to this variable.
8736 * conform/Makefile (tests): Change dependencies to ....
8737 (tests-special): ... additions to this variable.
8738 * elf/Makefile (tests): Change dependencies to ....
8739 (tests-special): ... additions to this variable.
8740 * grp/Makefile (tests): Change dependencies to ....
8741 (tests-special): ... additions to this variable.
8742 * iconv/Makefile (xtests): Change dependencies to ....
8743 (xtests-special): ... additions to this variable.
8744 * iconvdata/Makefile (tests): Change dependencies to ....
8745 (tests-special): ... additions to this variable.
8746 * intl/Makefile (tests): Change dependencies to ....
8747 (tests-special): ... additions to this variable. Also add
8748 $(objpfx)tst-gettext.out.
8749 * io/Makefile (tests): Change dependencies to ....
8750 (tests-special): ... additions to this variable.
8751 * libio/Makefile (tests): Change dependencies to ....
8752 (tests-special): ... additions to this variable.
8753 * malloc/Makefile (tests): Change dependencies to ....
8754 (tests-special): ... additions to this variable.
8755 * misc/Makefile (tests): Change dependencies to ....
8756 (tests-special): ... additions to this variable.
8757 * nptl/Makefile (tests): Change dependencies to ....
8758 (tests-special): ... additions to this variable.
8759 * nptl_db/Makefile (tests): Change dependencies to ....
8760 (tests-special): ... additions to this variable.
8761 * posix/Makefile (tests): Change dependencies to ....
8762 (tests-special): ... additions to this variable.
8763 (xtests): Change dependencies to ....
8764 (xtests-special): ... additions to this variable.
8765 * resolv/Makefile (tests): Change dependencies to ....
8766 (tests-special): ... additions to this variable.
8767 (xtests): Change dependencies to ....
8768 (xtests-special): ... additions to this variable.
8769 * stdio-common/Makefile (tests): Change dependencies to ....
8770 (tests-special): ... additions to this variable.
8771 (do-tst-unbputc): Remove target.
8772 (do-tst-printf): Likewise.
8773 * stdlib/Makefile (tests): Change dependencies to ....
8774 (tests-special): ... additions to this variable.
8775 * string/Makefile (tests): Change dependencies to ....
8776 (tests-special): ... additions to this variable.
8777 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8778 (tests-special): ... additions to this variable.
8779
81700b53
JM
8780 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8781 whole file.
8782 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8783 whole file.
8784 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8785 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8786
2ea18461
JM
8787 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8788 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8789 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8790 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8791 * conform/data/libgen.h-data [XPG3]: Likewise.
8792 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8793 * conform/data/ndbm.h-data [XPG3]: Likewise.
8794 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8795 * conform/data/netdb.h-data [XPG3]: Likewise.
8796 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8797 * conform/data/poll.h-data [XPG3]: Likewise.
8798 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8799 * conform/data/strings.h-data [XPG3]: Likewise.
8800 * conform/data/stropts.h-data [XPG3]: Likewise.
8801 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8802 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8803 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8804 Likewise.
8805 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8806 * conform/data/sys/time.h-data [XPG3]: Likewise.
8807 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8808 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8809 * conform/data/sys/un.h-data [XPG3]: Likewise.
8810 * conform/data/syslog.h-data [XPG3]: Likewise.
8811 * conform/data/ucontext.h-data [XPG3]: Likewise.
8812 * conform/data/utmpx.h-data [XPG3]: Likewise.
8813 * conform/data/varargs.h-data [UNIX98]: Enable file.
8814
355bc986
JM
8815 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8816
215db402
JM
8817 * math/libm-test.inc (struct test_f_f_data): Move expected results
8818 into structure for each rounding mode.
8819 (struct test_ff_f_data): Likewise.
8820 (struct test_ff_f_data_nexttoward): Likewise.
8821 (struct test_fi_f_data): Likewise.
8822 (struct test_fl_f_data): Likewise.
8823 (struct test_if_f_data): Likewise.
8824 (struct test_fff_f_data): Likewise.
8825 (struct test_c_f_data): Likewise.
8826 (struct test_f_f1_data): Likewise.
8827 (struct test_fF_f1_data): Likewise.
8828 (struct test_ffI_f1_data): Likewise.
8829 (struct test_c_c_data): Likewise.
8830 (struct test_cc_c_data): Likewise.
8831 (struct test_f_i_data): Likewise.
8832 (struct test_ff_i_data): Likewise.
8833 (struct test_f_l_data): Likewise.
8834 (struct test_f_L_data): Likewise.
8835 (struct test_fFF_11_data): Likewise.
8836 (RM_): New macro.
8837 (RM_FE_DOWNWARD): Likewise.
8838 (RM_FE_TONEAREST): Likewise.
8839 (RM_FE_TOWARDZERO): Likewise.
8840 (RM_FE_UPWARD): Likewise.
8841 (RUN_TEST_LOOP_f_f): Update references to expected results.
8842 (RUN_TEST_LOOP_2_f): Likewise.
8843 (RUN_TEST_LOOP_fff_f): Likewise.
8844 (RUN_TEST_LOOP_c_f): Likewise.
8845 (RUN_TEST_LOOP_f_f1): Likewise.
8846 (RUN_TEST_LOOP_fF_f1): Likewise.
8847 (RUN_TEST_LOOP_fI_f1): Likewise.
8848 (RUN_TEST_LOOP_ffI_f1): Likewise.
8849 (RUN_TEST_LOOP_c_c): Likewise.
8850 (RUN_TEST_LOOP_cc_c): Likewise.
8851 (RUN_TEST_LOOP_f_i): Likewise.
8852 (RUN_TEST_LOOP_f_i_tg): Likewise.
8853 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8854 (RUN_TEST_LOOP_f_b): Likewise.
8855 (RUN_TEST_LOOP_f_b_tg): Likewise.
8856 (RUN_TEST_LOOP_f_l): Likewise.
8857 (RUN_TEST_LOOP_f_L): Likewise.
8858 (RUN_TEST_LOOP_fFF_11): Likewise.
8859 * math/gen-libm-test.pl (parse_args): Output four copies of
8860 expected results for each test.
8861
67737b8f
JM
8862 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8863 (__ASSUME_UTIMES): Remove.
8864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8865 (__ASSUME_UTIMES): Likewise.
8866
aa97dee1
JM
8867 * math/gen-auto-libm-tests.c: Update comment on output format.
8868 (output_for_one_input_case): Generate before-rounding and
8869 after-rounding information as conditions on output flags not
8870 floating-point format.
8871 * math/auto-libm-test-out: Regenerated.
8872 * math/gen-libm-test.pl (cond_value): New function.
8873 (or_cond_value): Use cond_value.
8874 (generate_testfile): Handle conditional exceptions.
8875
e6b6a857
JM
88762014-03-05 Joseph Myers <joseph@codesourcery.com>
8877
2f0a0f44
JM
8878 * math/libm-test.inc (max_valid_error): New variable.
8879 (init_max_error): Take new argument specifying whether function
8880 results are exactly determined. Set max_valid_error and bound
8881 other variables for errors based on this argument.
8882 (set_max_error): Do not record results above max_valid_error.
8883 (check_float_internal): Only accept errors of up to 0.5ulps if
8884 also at most max_valid_error.
8885 (START): Take new argument EXACT and pass it to init_max_error.
8886 (acos_test): Update call to START.
8887 (acos_test_tonearest): Likewise.
8888 (acos_test_towardzero): Likewise.
8889 (acos_test_downward): Likewise.
8890 (acos_test_upward): Likewise.
8891 (acosh_test): Likewise.
8892 (asin_test): Likewise.
8893 (asin_test_tonearest): Likewise.
8894 (asin_test_towardzero): Likewise.
8895 (asin_test_downward): Likewise.
8896 (asin_test_upward): Likewise.
8897 (asinh_test): Likewise.
8898 (atan_test): Likewise.
8899 (atanh_test): Likewise.
8900 (atan2_test): Likewise.
8901 (cabs_test): Likewise.
8902 (cacos_test): Likewise.
8903 (cacosh_test): Likewise.
8904 (carg_test): Likewise.
8905 (casin_test): Likewise.
8906 (casinh_test): Likewise.
8907 (catan_test): Likewise.
8908 (catanh_test): Likewise.
8909 (cbrt_test): Likewise.
8910 (ccos_test): Likewise.
8911 (ccosh_test): Likewise.
8912 (ceil_test): Likewise.
8913 (cexp_test): Likewise.
8914 (cimag_test): Likewise.
8915 (clog_test): Likewise.
8916 (clog10_test): Likewise.
8917 (conj_test): Likewise.
8918 (copysign_test): Likewise.
8919 (cos_test): Likewise.
8920 (cos_test_tonearest): Likewise.
8921 (cos_test_towardzero): Likewise.
8922 (cos_test_downward): Likewise.
8923 (cos_test_upward): Likewise.
8924 (cosh_test): Likewise.
8925 (cosh_test_tonearest): Likewise.
8926 (cosh_test_towardzero): Likewise.
8927 (cosh_test_downward): Likewise.
8928 (cosh_test_upward): Likewise.
8929 (cpow_test): Likewise.
8930 (cproj_test): Likewise.
8931 (creal_test): Likewise.
8932 (csin_test): Likewise.
8933 (csinh_test): Likewise.
8934 (csqrt_test): Likewise.
8935 (ctan_test): Likewise.
8936 (ctan_test_tonearest): Likewise.
8937 (ctan_test_towardzero): Likewise.
8938 (ctan_test_downward): Likewise.
8939 (ctan_test_upward): Likewise.
8940 (ctanh_test): Likewise.
8941 (ctanh_test_tonearest): Likewise.
8942 (ctanh_test_towardzero): Likewise.
8943 (ctanh_test_downward): Likewise.
8944 (ctanh_test_upward): Likewise.
8945 (erf_test): Likewise.
8946 (erfc_test): Likewise.
8947 (exp_test): Likewise.
8948 (exp_test_tonearest): Likewise.
8949 (exp_test_towardzero): Likewise.
8950 (exp_test_downward): Likewise.
8951 (exp_test_upward): Likewise.
8952 (exp10_test): Likewise.
8953 (exp10_test_tonearest): Likewise.
8954 (exp10_test_towardzero): Likewise.
8955 (exp10_test_downward): Likewise.
8956 (exp10_test_upward): Likewise.
8957 (pow10_test): Likewise.
8958 (exp2_test): Likewise.
8959 (expm1_test): Likewise.
8960 (expm1_test_tonearest): Likewise.
8961 (expm1_test_towardzero): Likewise.
8962 (expm1_test_downward): Likewise.
8963 (expm1_test_upward): Likewise.
8964 (fabs_test): Likewise.
8965 (fdim_test): Likewise.
8966 (floor_test): Likewise.
8967 (fma_test): Likewise.
8968 (fma_test_towardzero): Likewise.
8969 (fma_test_downward): Likewise.
8970 (fma_test_upward): Likewise.
8971 (fmax_test): Likewise.
8972 (fmin_test): Likewise.
8973 (fmod_test): Likewise.
8974 (fpclassify_test): Likewise.
8975 (frexp_test): Likewise.
8976 (hypot_test): Likewise.
8977 (ilogb_test): Likewise.
8978 (isfinite_test): Likewise.
8979 (finite_test): Likewise.
8980 (isgreater_test): Likewise.
8981 (isgreaterequal_test): Likewise.
8982 (isinf_test): Likewise.
8983 (isless_test): Likewise.
8984 (islessequal_test): Likewise.
8985 (islessgreater_test): Likewise.
8986 (isnan_test): Likewise.
8987 (isnormal_test): Likewise.
8988 (issignaling_test): Likewise.
8989 (isunordered_test): Likewise.
8990 (j0_test): Likewise.
8991 (j1_test): Likewise.
8992 (jn_test): Likewise.
8993 (ldexp_test): Likewise.
8994 (lgamma_test): Likewise.
8995 (gamma_test): Likewise.
8996 (lrint_test): Likewise.
8997 (lrint_test_tonearest): Likewise.
8998 (lrint_test_towardzero): Likewise.
8999 (lrint_test_downward): Likewise.
9000 (lrint_test_upward): Likewise.
9001 (llrint_test): Likewise.
9002 (llrint_test_tonearest): Likewise.
9003 (llrint_test_towardzero): Likewise.
9004 (llrint_test_downward): Likewise.
9005 (llrint_test_upward): Likewise.
9006 (log_test): Likewise.
9007 (log10_test): Likewise.
9008 (log1p_test): Likewise.
9009 (log2_test): Likewise.
9010 (logb_test): Likewise.
9011 (logb_test_downward): Likewise.
9012 (lround_test): Likewise.
9013 (llround_test): Likewise.
9014 (modf_test): Likewise.
9015 (nearbyint_test): Likewise.
9016 (nextafter_test): Likewise.
9017 (nexttoward_test): Likewise.
9018 (pow_test): Likewise.
9019 (pow_test_tonearest): Likewise.
9020 (pow_test_towardzero): Likewise.
9021 (pow_test_downward): Likewise.
9022 (pow_test_upward): Likewise.
9023 (remainder_test): Likewise.
9024 (drem_test): Likewise.
9025 (remainder_test_tonearest): Likewise.
9026 (drem_test_tonearest): Likewise.
9027 (remainder_test_towardzero): Likewise.
9028 (drem_test_towardzero): Likewise.
9029 (remainder_test_downward): Likewise.
9030 (drem_test_downward): Likewise.
9031 (remainder_test_upward): Likewise.
9032 (drem_test_upward): Likewise.
9033 (remquo_test): Likewise.
9034 (rint_test): Likewise.
9035 (rint_test_tonearest): Likewise.
9036 (rint_test_towardzero): Likewise.
9037 (rint_test_downward): Likewise.
9038 (rint_test_upward): Likewise.
9039 (round_test): Likewise.
9040 (scalb_test): Likewise.
9041 (scalbn_test): Likewise.
9042 (scalbln_test): Likewise.
9043 (signbit_test): Likewise.
9044 (sin_test): Likewise.
9045 (sin_test_tonearest): Likewise.
9046 (sin_test_towardzero): Likewise.
9047 (sin_test_downward): Likewise.
9048 (sin_test_upward): Likewise.
9049 (sincos_test): Likewise.
9050 (sinh_test): Likewise.
9051 (sinh_test_tonearest): Likewise.
9052 (sinh_test_towardzero): Likewise.
9053 (sinh_test_downward): Likewise.
9054 (sinh_test_upward): Likewise.
9055 (sqrt_test): Likewise.
9056 (sqrt_test_tonearest): Likewise.
9057 (sqrt_test_towardzero): Likewise.
9058 (sqrt_test_downward): Likewise.
9059 (sqrt_test_upward): Likewise.
9060 (tan_test): Likewise.
9061 (tan_test_tonearest): Likewise.
9062 (tan_test_towardzero): Likewise.
9063 (tan_test_downward): Likewise.
9064 (tan_test_upward): Likewise.
9065 (tanh_test): Likewise.
9066 (tgamma_test): Likewise.
9067 (trunc_test): Likewise.
9068 (y0_test): Likewise.
9069 (y1_test): Likewise.
9070 (yn_test): Likewise.
9071 (significand_test): Likewise.
9072
e6b6a857
JM
9073 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9074 individual tests in comment.
9075 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9076 (prev_max_error): New variable.
9077 (prev_real_max_error): Likewise.
9078 (prev_imag_max_error): Likewise.
9079 (compare_ulp_data): Don't refer to test names in comment.
9080 (find_test_ulps): Remove function.
9081 (find_function_ulps): Likewise.
9082 (find_complex_function_ulps): Likewise.
9083 (init_max_error): Take function name as argument. Look up ulps
9084 for that function.
9085 (print_ulps): Remove function.
9086 (print_max_error): Use prev_max_error instead of calling
9087 find_function_ulps.
9088 (print_complex_max_error): Use prev_real_max_error and
9089 prev_imag_max_error instead of calling find_complex_function_ulps.
9090 (check_float_internal): Take max_ulp parameter instead of calling
9091 find_test_ulps. Don't call print_ulps.
9092 (check_float): Update call to check_float_internal.
9093 (check_complex): Update calls to check_float_internal.
9094 (START): Pass argument to init_max_error.
9095 * math/gen-libm-test.pl (%results): Don't include "kind"
9096 information.
9097 (parse_ulps): Don't handle ulps of individual tests.
9098 (print_ulps_file): Likewise.
9099 (output_ulps): Likewise.
9100 * math/README.libm-test: Update.
9101 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9102 individual tests.
9103 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9104 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9105 * sysdeps/arm/libm-test-ulps: Likewise.
9106 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9107 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9108 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9109 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9110 * sysdeps/microblaze/libm-test-ulps: Likewise.
9111 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9112 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9114 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9115 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9116 * sysdeps/sh/libm-test-ulps: Likewise.
9117 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9118 * sysdeps/tile/libm-test-ulps: Likewise.
9119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9120
45adef3c
JM
91212014-03-04 Joseph Myers <joseph@codesourcery.com>
9122
9123 * math/libm-test.inc (print_complex_max_error): Check separately
9124 whether real and imaginary errors are within allowed range and
9125 pass 0 to print_complex_function_ulps instead of value within
9126 allowed range.
9127
000232b9
SP
91282014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
d4b17258
SP
9130 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9131 formatting.
9132 (get_handles_fopen): Likewise.
9133 (do_write_test): Likewise.
9134
091eff71
SP
9135 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9136
fa3cd248
SP
9137 * libio/fileops.c (do_ftell): Use cached offset when
9138 available.
9139 * libio/iofwide.c (do_ftell_wide): Likewise.
9140 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9141 _IO_file_attach.
9142 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9143
000232b9
SP
9144 [BZ #16532]
9145 * libio/libioP.h (get_file_offset): New function.
9146 * libio/fileops.c (get_file_offset): Likewise.
9147 (do_ftell): Likewise.
9148 (_IO_new_file_seekoff): Split out ftell logic.
9149 * libio/wfileops.c (do_ftell_wide): Likewise.
9150 (_IO_wfile_seekoff): Split out ftell logic.
9151 * libio/tst-ftell-active-handler.c: New test case.
9152 * libio/Makefile (tests): Add it.
9153
116f4d1a
RM
91542014-03-03 Roland McGrath <roland@hack.frob.com>
9155
9156 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9157 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9158
532a6035
SP
91592014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9160
9161 [BZ #16639]
9162 * nscd/connections.c (nscd_init): Call do_exit.
9163 (start_threads): Call do_exit and notify_parent.
9164 (begin_drop_privileges): Call do_exit.
9165 (finish_drop_privileges): Likewise.
9166 * nscd/selinux.c (preserve_capabilities): Likewise.
9167 (install_real_capabilities): Likewise.
9168 (nscd_selinux_enabled): Likewise.
9169 (avc_create_thread): Likewise.
9170 (avc_alloc_lock): Likewise.
9171 (nscd_avc_init): Likewise.
9172 * nscd/nscd.c (parent_fd): New static variable.
9173 (main): Create a pipe between parent and child processes.
9174 Skip closing parent_fd.
9175 (monitor_child): New function.
9176 (do_exit): Likewise.
9177 (notify_parent): Likewise.
9178 * nscd/nscd.h (notify_parent): Likewise.
9179 (do_exit): Likewise.
9180
d6285c9f
CD
91812014-03-03 Carlos O'Donell <carlos@redhat.com>
9182
9183 * malloc/malloc.c (__libc_calloc): Revert last change.
9184
2b85d2a0
AZ
91852014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9186
9187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9188
c7debbdf
RS
91892014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9190
9191 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9193 implementation.
9194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9195 (__libc_ifunc_impl_list): Likewise.
9196 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9198 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9199 * string/strrchr.c: Define STRRCHR.
9200
235eed86
OB
92012014-02-28 Ondřej Bílka <neleai@seznam.cz>
9202
9203 * benchtest/bench-strtok.c (simple_strtok): Delete.
9204 (strtok_string): Use as benchmark.
9205 * string/strtok (STRTOK): New macro.
9206
8e25d1e7
CD
92072014-02-28 Carlos O'Donell <carlos@redhat.com>
9208
ef563f92
CD
9209 * manual/threads.texi: Add header and standard comments to all
9210 functions.
9211
8e25d1e7
CD
9212 * elf/dl-lookup.c (check_match): New function.
9213 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9214 (do_lookup_x): Remove nested function check_match. Use non-nested
9215 function check_match.
9216
ff71cc37
RM
92172014-02-28 Roland McGrath <roland@hack.frob.com>
9218
f08e9a26
RM
9219 * csu/Makefile (generated, before-compile): Use += rather than =.
9220 * catgets/Makefile (generated, generated-dirs): Likewise.
9221 * debug/Makefile (generated): Likewise.
9222 * dlfcn/Makefile (generated): Likewise.
9223 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9224 * iconvdata/Makefile (before-compile, generated): Likewise.
9225 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9226 * libio/Makefile (generated): Likewise.
9227 * malloc/Makefile (generated): Likewise.
9228 * manual/Makefile (generated, generated-dirs): Likewise.
9229 * misc/Makefile (generated): Likewise.
9230 * posix/Makefile (generated): Likewise.
9231 * resolv/Makefile (generated): Likewise.
9232 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9233 * timezone/Makefile (generated, generated-dirs): Likewise.
9234
ff71cc37
RM
9235 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9236
fe13a20c
AZ
92372014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238
57f41c40
AS
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9240 power8 implementation.
9241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9242 file: POWER8 llround ifunc implementation.
9243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9244 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9245 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9246 POWER8 llround implementation.
9247
57f41c40
AS
9248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9249 power8 implementation.
9250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9251 file: POWER8 llrint ifunc implementation.
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9253 Add POWER8 implementation.
1ad8950a
AZ
9254 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9255 POWER8 llrint implementation.
9256
57f41c40
AS
9257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9258 power8 implementation.
9259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9260 file: POWER8 finite ifunc implementation.
9261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9262 Add POWER8 implementation.
cac626d6
AZ
9263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9264 Likewise.
9265 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9266 POWER8 finite implementation.
9267 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9268
57f41c40
AS
9269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9270 power8 implementation.
9271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9272 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9274 POWER8 implementation.
9275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9276 Likewise.
57f41c40
AS
9277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9278 isinf implementation.
4393fc11
AZ
9279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9280
57f41c40
AS
9281 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9282 (INIT_ARCH): Add hwcap2 initialization.
9283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9284 power8 implementation.
9285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9286 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9288 POWER8 implementation.
9289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9290 Likewise.
57f41c40
AS
9291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9292 isnan implementation.
487972ae
AZ
9293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9294
7d92b787
JY
92952014-02-27 Joey Ye <joey.ye@arm.com>
9296
9297 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9298 (_FP_NANFRAC_Q): Set to zero.
9299
1cadc858
SP
93002014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9301
9302 [BZ #16623]
9303 * math/auto-libm-test-in: New test inputs.
9304 * math/auto-libm-test-out: Regenerate.
9305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9306 and DA.
9307 (__cos): Likewise.
9308 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9309
f8c17e79
JM
93102014-02-27 Joseph Myers <joseph@codesourcery.com>
9311
9312 * scripts/evaluate-test.sh: Take new argument indicating whether
9313 failure is expected.
9314 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9315 indicating whether failure is expected.
9316 * conform/Makefile (test-xfail-run-conformtest): New variable.
9317 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9318 level.
9319 * posix/Makefile (test-xfail-annexc): New variable.
9320 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9321
a5f891ac
JM
93222014-02-26 Joseph Myers <joseph@codesourcery.com>
9323
9324 * argp/Makefile: Include Makeconfig immediately after defining
9325 subdir.
9326 * assert/Makefile: Likewise.
9327 * benchtests/Makefile: Likewise.
9328 * catgets/Makefile: Likewise.
9329 * conform/Makefile: Likewise.
9330 * crypt/Makefile: Likewise.
9331 * csu/Makefile: Likewise.
9332 (all): Remove target.
9333 * ctype/Makefile: Include Makeconfig immediately after defining
9334 subdir.
9335 * debug/Makefile: Likewise.
9336 * dirent/Makefile: Likewise.
9337 * dlfcn/Makefile: Likewise.
9338 * gmon/Makefile: Likewise.
9339 * gnulib/Makefile: Likewise.
9340 * grp/Makefile: Likewise.
9341 * gshadow/Makefile: Likewise.
9342 * hesiod/Makefile: Likewise.
9343 * hurd/Makefile: Likewise.
9344 (all): Remove target.
9345 * iconvdata/Makefile: Include Makeconfig immediately after
9346 defining subdir.
9347 * inet/Makefile: Likewise.
9348 * intl/Makefile: Likewise.
9349 * io/Makefile: Likewise.
9350 * libio/Makefile: Likewise.
9351 (all): Remove target.
9352 * locale/Makefile: Include Makeconfig immediately after defining
9353 subdir.
9354 * login/Makefile: Likewise.
9355 * mach/Makefile: Likewise.
9356 (all): Remove target.
9357 * malloc/Makefile: Include Makeconfig immediately after defining
9358 subdir.
9359 (all): Remove target.
9360 * manual/Makefile: Include Makeconfig immediately after defining
9361 subdir.
9362 * math/Makefile: Likewise.
9363 * misc/Makefile: Likewise.
9364 * nis/Makefile: Likewise.
9365 * nss/Makefile: Likewise.
9366 * po/Makefile: Likewise.
9367 (all): Remove target.
9368 * posix/Makefile: Include Makeconfig immediately after defining
9369 subdir.
9370 * pwd/Makefile: Likewise.
9371 * resolv/Makefile: Likewise.
9372 * resource/Makefile: Likewise.
9373 * rt/Makefile: Likewise.
9374 * setjmp/Makefile: Likewise.
9375 * shadow/Makefile: Likewise.
9376 * signal/Makefile: Likewise.
9377 * socket/Makefile: Likewise.
9378 * soft-fp/Makefile: Likewise.
9379 * stdio-common/Makefile: Likewise.
9380 * stdlib/Makefile: Likewise.
9381 * streams/Makefile: Likewise.
9382 * string/Makefile: Likewise.
9383 * sunrpc/Makefile: Likewise.
9384 (all): Remove target.
9385 * sysvipc/Makefile: Include Makeconfig immediately after defining
9386 subdir.
9387 * termios/Makefile: Likewise.
9388 * time/Makefile: Likewise.
9389 * timezone/Makefile: Likewise.
9390 (all): Remove target.
9391 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9392 subdir.
9393 * wctype/Makefile: Likewise.
9394
5b456e9d
SE
93952014-02-26 Steve Ellcey <sellcey@mips.com>
9396
9397 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9398 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9399 (libc_feholdexcept_setround_mips): Ditto.
9400 (libc_feholdsetround): New.
9401 (libc_feholdsetroundf): New.
9402 (libc_feholdsetroundl): New.
9403 (libc_feupdateenv_test_mips): New.
9404 (libc_feupdateenv_test): New.
9405 (libc_feupdateenv_testf): New.
9406 (libc_feupdateenv_testl): New.
9407 (libc_feresetround): New.
9408 (libc_feresetroundf): New.
9409 (libc_feresetroundl): New.
9410 (libc_fetestexcept_mips): New.
9411 (libc_fetestexcept): New.
9412 (libc_fetestexceptf): New.
9413 (libc_fetestexceptl): New.
9414 (HAVE_RM_CTX): New.
9415 (libc_feholdexcept_setround_mips_ctx): New.
9416 (libc_feholdexcept_setround_ctx): New.
9417 (libc_feholdexcept_setroundf_ctx): New.
9418 (libc_feholdexcept_setroundl_ctx): New.
9419 (libc_fesetenv_mips_ctx): New.
9420 (libc_fesetenv_ctx): New.
9421 (libc_fesetenv_ctxf): New.
9422 (libc_fesetenv_ctxl): New.
9423 (libc_feupdateenv_mips_ctx): New.
9424 (libc_feupdateenv_ctx): New.
9425 (libc_feupdateenvf_ctx): New.
9426 (libc_feupdateenvl_ctx): New.
9427 (libc_feholdsetround_mips_ctx): New.
9428 (libc_feholdsetround_ctx): New.
9429 (libc_feholdsetroundf_ctx): New.
9430 (libc_feholdsetroundl_ctx): New.
9431 (libc_feresetround_mips_ctx): New.
9432 (libc_feresetround_ctx): New.
9433 (libc_feresetroundf_ctx): New.
9434 (libc_feresetroundl_ctx): New.
9435
085d0e35
CD
94362014-02-26 Carlos O'Donell <carlos@redhat.com>
9437
f067bf1f
CD
9438 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9439
085d0e35
CD
9440 * manual/ipc.texi: New file.
9441 * manual/Makefile (chapters): Add ipc.
9442 * manual/job.texi: Add "Inter-Process Communication" to next.
9443 * manual/process.texi: Add "Inter-Process Communication" to prev.
9444
86e58c08
AZ
94452014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9446
9447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9448
4248f0da
OB
94492014-02-26 Ondřej Bílka <neleai@seznam.cz>
9450
9451 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9452
cf822e3c
OB
9453 * manual/arith.texi: Fix spaces after sentences.
9454 * manual/charset.texi: Likewise.
9455 * manual/errno.texi: Likewise.
9456 * manual/install.texi: Likewise.
9457 * manual/llio.texi: Likewise.
9458 * manual/locale.texi: Likewise.
9459 * manual/maint.texi: Likewise.
9460 * manual/math.texi: Likewise.
9461 * manual/memory.texi: Likewise.
9462 * manual/message.texi: Likewise.
9463 * manual/probes.texi: Likewise.
9464 * manual/resource.texi: Likewise.
9465 * manual/signal.texi: Likewise.
9466 * manual/socket.texi: Likewise.
9467 * manual/stdio.texi: Likewise.
9468 * manual/string.texi: Likewise.
9469 * manual/time.texi: Likewise.
9470 * manual/users.texi: Likewise.
9471
ade40b10
CD
94722014-02-25 Carlos O'Donell <carlos@redhat.com>
9473
9474 [BZ #16632]
9475 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9476 _DEFAULT_SOURCE is defined.
9477
d0503676
CD
94782014-02-25 Ulrich Drepper <drepper@gmail.com>
9479 Carlos O'Donell <carlos@redhat.com>
9480
9481 [BZ #16613]
9482 * elf/dl-tls.c (_dl_count_modids): New function.
9483 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9484 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9485 audit library and increment generation counter.
9486 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9487 * elf/tst-audit9.c: New file.
9488 * elf/tst-auditmod9a.c: New file.
9489 * elf/tst-auditmod9b.c: New file.
9490 * elf/Makefile: Add rules to build and run tst-audit9.
9491
4cbf380c
FW
94922014-02-25 Florian Weimer <fweimer@redhat.com>
9493
9494 [BZ #15347]
9495 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9496
80a56cc3
WN
94972014-02-25 Will Newton <will.newton@linaro.org>
9498
9499 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9500 (__longjmp): Restore sp and lr before restoring callee
9501 saved registers. Add longjmp and longjmp_target
9502 SystemTap probe point.
9503 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9504 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9505 Define to zero to match jmpbuf layout.
9506 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9507 (__sigsetjmp): Save sp and lr before saving callee
9508 saved registers. Add setjmp SystemTap probe point.
9509
3ea0f74e
SL
95102014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9511
9512 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9513
b04acb26
AS
95142014-02-24 Andreas Schwab <schwab@suse.de>
9515
9516 [BZ #15804]
9517 * elf/pldd.c (wait_for_ptrace_stop): New function.
9518 (main): Call it after attaching.
9519
098ad55c
RM
95202014-02-22 Roland McGrath <roland@hack.frob.com>
9521
d4ec6ae1
RM
9522 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9523 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9524 Versions files is now verboten.
9525 * hurd/Versions (libc: GLIBC_2.0):
9526 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9527 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9528 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9529 * mach/Versions: Likewise.
9530
098ad55c
RM
9531 * csu/Versions: Remove unused %include.
9532 * resolv/Versions: Likewise.
9533
acd7f096
JM
95342014-02-21 Joseph Myers <joseph@codesourcery.com>
9535
f0881698
JM
9536 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9537 ($(objpfx)check-local-headers.out): Likewise.
9538 ($(objpfx)begin-end-check.out): Likewise.
9539 * Makerules (check-abi-%.out): Likewise.
9540 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9541 ($(objpfx)test2.cat): Likewise.
9542 ($(objpfx)de/libc.cat): Likewise.
9543 ($(objpfx)test-gencat.out): Likewise.
9544 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9545 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9546 ($(objpfx)noload-mem): Likewise.
9547 ($(objpfx)tst-pathopt.out): Likewise.
9548 ($(objpfx)tst-rtld-load-self.out): Likewise.
9549 ($(objpfx)tst-array1-cmp.out): Likewise.
9550 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9551 ($(objpfx)tst-array2-cmp.out): Likewise.
9552 ($(objpfx)tst-array3-cmp.out): Likewise.
9553 ($(objpfx)tst-array4-cmp.out): Likewise.
9554 ($(objpfx)tst-array5-cmp.out): Likewise.
9555 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9556 ($(objpfx)check-textrel.out): Likewise.
9557 ($(objpfx)check-execstack.out): Likewise.
9558 ($(objpfx)check-localplt.out): Likewise.
9559 ($(objpfx)order2-cmp.out): Likewise.
9560 ($(objpfx)tst-leaks1-mem): Likewise.
9561 ($(objpfx)tst-leaks1-static-mem): Likewise.
9562 ($(objpfx)tst-initorder-cmp.out): Likewise.
9563 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9564 ($(objpfx)tst-unused-dep.out): Likewise.
9565 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9566 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9567 * iconv/Makefile (test-iconvconfig): Likewise.
9568 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9569 ($(objpfx)iconv-test.out): Likewise.
9570 ($(objpfx)tst-tables.out): Likewise.
9571 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9572 ($(objpfx)tst-gettext.out): Likewise.
9573 ($(objpfx)tst-translit.out): Likewise.
9574 ($(objpfx)tst-gettext2.out): Likewise.
9575 ($(objpfx)tst-gettext4.out): Likewise.
9576 ($(objpfx)tst-gettext6.out): Likewise.
9577 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9578 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9579 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9580 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9581 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9582 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9583 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9584 ($(objpfx)wordexp-tst.out): Likewise.
9585 ($(objpfx)annexc.out): Likewise.
9586 ($(objpfx)tst-fnmatch-mem): Likewise.
9587 ($(objpfx)bug-regex2-mem): Likewise.
9588 ($(objpfx)bug-regex14-mem): Likewise.
9589 ($(objpfx)bug-regex21-mem): Likewise.
9590 ($(objpfx)bug-regex31-mem): Likewise.
9591 ($(objpfx)tst-vfork3-mem): Likewise.
9592 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9593 ($(objpfx)tst-pcre-mem): Likewise.
9594 ($(objpfx)tst-boost-mem): Likewise.
9595 ($(objpfx)tst-getconf.out): Likewise.
9596 ($(objpfx)bug-ga2-mem): Likewise.
9597 ($(objpfx)bug-glob2-mem): Likewise.
9598 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9599 ($(objpfx)mtrace-tst-leaks2): Likewise.
9600 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9601 ($(objpfx)tst-printf.out): Likewise.
9602 ($(objpfx)tst-setvbuf1.out): Likewise.
9603 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9604 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9605 ($(objpfx)tst-fmtmsg.out): Likewise.
9606 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9607 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9608
acd7f096
JM
9609 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9610 * bits/sigaction.h [__USE_MISC]: Likewise.
9611 * bits/waitstatus.h: Update #endif comments.
9612 * ctype/ctype.h: Likewise.
9613 * dirent/dirent.h: Likewise.
9614 [__USE_MISC]: Remove redundant conditionals.
9615 * grp/grp.h: Update #endif comments.
9616 [__USE_GNU]: Remove redundant conditionals.
9617 [__USE_MISC]: Likewise.
9618 * inet/netinet/in.h [__USE_GNU]: Likewise.
9619 * io/sys/stat.h [__USE_MISC]: Likewise.
9620 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9621 * libio/bits/stdio.h: Update #endif comments.
9622 [__USE_MISC]: Remove redundant conditionals.
9623 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9624 * libio/stdio.h: Update #endif comments.
9625 [__USE_MISC]: Remove redundant conditionals.
9626 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9627 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9628 * math/math.h: Update #else and #endif comments.
9629 [__USE_MISC]: Remove redundant conditionals.
9630 * misc/sys/uio.h: Update #endif comments.
9631 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9632 * posix/glob.h [__USE_MISC]: Likewise.
9633 * posix/sys/types.h: Update #endif comments.
9634 [__USE_MISC]: Remove redundant conditionals.
9635 * posix/sys/wait.h: Update #endif comments.
9636 [__USE_MISC]: Remove redundant conditionals.
9637 * posix/unistd.h: Update #endif comments.
9638 [__USE_MISC]: Remove redundant conditionals.
9639 * pwd/pwd.h [__USE_GNU]: Likewise.
9640 [__USE_MISC]: Likewise.
9641 * resolv/netdb.h [__USE_GNU]: Likewise.
9642 * signal/signal.h: Update #endif comments.
9643 [__USE_MISC]: Remove redundant conditionals.
9644 * stdlib/stdlib.h: Update #else and #endif comments.
9645 [__USE_MISC]: Remove redundant conditionals.
9646 [__USE_GNU]: Likewise.
9647 * string/bits/string2.h [__USE_MISC]: Likewise.
9648 * string/string.h: Update #endif comments.
9649 [__USE_MISC]: Remove redundant conditionals.
9650 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9651 Likewise.
9652 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9653 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9654 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9655 Likewise.
9656 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9657 Likewise.
9658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9659 comments.
9660 [__USE_MISC]: Remove redundant conditionals.
9661 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9662 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9663 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9664 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9665 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9666 Likewise.
9667 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9668 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9669 Likewise.
9670 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9671 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9672 Likewise.
9673 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9674 Likewise.
9675 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9676 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9677 Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9679 Likewise.
9680 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9681 * sysdeps/x86/bits/string.h: Update #endif comments.
9682 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9683 conditionals.
9684 * time/sys/time.h: Update #endif comments.
9685 * time/time.h: Likewise.
9686 [__USE_MISC]: Remove redundant conditionals.
9687
a5d82e4e
YG
96882014-02-21 Yury Gribov <y.gribov@samsung.com>
9689
9690 [BZ #16600]
9691 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9692
9a80491d
AS
96932014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9694
9695 * Versions.def (librt): Add GLIBC_2.17.
9696
105fa381
AC
96972014-02-21 Adam Conrad <adconrad@0c3.net>
9698
9699 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9700 synonym for _SYS_AUXV_H to allow direct inclusion.
9701 * sysdeps/sparc/bits/hwcap.h: Likewise.
9702 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9703 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9704 * sysdeps/sparc/sysdep.h: Likewise.
9705
b8cd1c4e
SP
97062014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9707
9708 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9709
bd939d23
RS
97102014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9711
9712 * benchtests/bench-strrchr.c: Print length instead of position.
9713
5d7b57ca
JM
97142014-02-20 Joseph Myers <joseph@codesourcery.com>
9715
bc688c10
JM
9716 [BZ #16611]
9717 * sysdeps/unix/sysv/linux/kernel-features.h
9718 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9719 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9720 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9721 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9722 Likewise.
9723 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9724 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9725 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9726 (__ASSUME_SENDMMSG): Define instead of using previous
9727 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9729 (__ASSUME_SENDMMSG_SYSCALL): Define.
9730 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9731 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9732 Likewise.
9733 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9734 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9735 Likewise.
9736 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9738 Likewise.
9739 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9740 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9741 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9742 [__ASSUME_SENDMMSG]: Change conditionals to
9743 [__ASSUME_SENDMMSG_SOCKETCALL].
9744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9745 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9746 Define.
9747 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9748 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9749 Likewise.
9750 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9751 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9752 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9753 [!__ASSUME_SENDMMSG]: Change conditional to
9754 [!__ASSUME_SENDMMSG_SOCKETCALL].
9755 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9756 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9757 Define.
9758
0e31b18c
JM
9759 [BZ #16610]
9760 * sysdeps/unix/sysv/linux/kernel-features.h
9761 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9762 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9763 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9764 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9765 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9766 [__i386__ || __sparc__]
9767 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9768 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9769 (__ASSUME_RECVMMSG): Define instead of using previous
9770 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9772 (__ASSUME_RECVMMSG_SYSCALL): Define.
9773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9774 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9777 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9781 Likewise.
9782 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9783 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9784 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9785 [__ASSUME_RECVMMSG]: Change condition to
9786 [__ASSUME_RECVMMSG_SOCKETCALL].
9787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9789 Define.
9790 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9791 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9792 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9793 Likewise.
9794 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9795 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9796 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9797 [!__ASSUME_RECVMMSG]: Change condition to
9798 [!__ASSUME_RECVMMSG_SOCKETCALL].
9799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9800 (__ASSUME_RECVMMSG_SYSCALL): Define.
9801
dd481ccf
JM
9802 [BZ #16609]
9803 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9804 __powerpc__ || __s390__ || __sh__ || __sparc__]
9805 (__ASSUME_SOCKETCALL): Define.
9806 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9807 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9808 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9809 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9810 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9811 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9812 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9813 (__ASSUME_ACCEPT4): Define instead of using previous
9814 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9815 __powerpc__ || __sparc__ || __s390__)] condition.
9816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9817 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9818 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9819 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9820 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9821 [!__ASSUME_ACCEPT4]: Change condition to
9822 [!__ASSUME_ACCEPT4_SOCKETCALL].
9823 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9824 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9825 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9826 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9827 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9828 __ASSUME_ACCEPT4_SYSCALL.
9829 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9830 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9831 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9832 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9833 __ASSUME_ACCEPT4_SYSCALL.
9834 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9835 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9836 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9837 [__ASSUME_ACCEPT4]: Change condition to
9838 [__ASSUME_ACCEPT4_SOCKETCALL].
9839 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9840 (__ASSUME_SOCKETCALL): Define.
9841 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9843 (__ASSUME_SOCKETCALL): Define.
9844 (__ASSUME_ACCEPT4): Remove.
9845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9846 Define.
9847 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9848 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9849 Likewise.
9850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9851 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9852
5d7b57ca
JM
9853 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9854 macro.
9855 (HWCAP_ARM_LPAE): Likewise.
9856 (HWCAP_ARM_EVTSTRM): Likewise.
9857 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9858 Add vpfd32, lpae and evtstrm.
9859 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9860 Increase to 22.
9861
63689d61
JM
98622014-02-19 Joseph Myers <joseph@codesourcery.com>
9863
9864 * math/auto-libm-test-in: Add tests of clog10.
9865 * math/auto-libm-test-out: Regenerated.
9866 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9867 * sysdeps/i386/fpu/libm-test-ulps: Update.
9868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9869
ab09bf61
AS
98702014-02-18 Andreas Schwab <schwab@suse.de>
9871
9872 [BZ #16574]
9873 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9874 Store non-zero if the second buffer was newly allocated.
9875 (send_dg): Likewise.
9876 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9877 to send_vc and send_dg.
9878 (res_nsend): Pass NULL for ansp2_malloced.
9879 * resolv/res_query.c (__libc_res_nquery): Add parameter
9880 answerp2_malloced and pass it down to __libc_res_nsend.
9881 (res_nquery): Pass additional NULL to __libc_res_nquery.
9882 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9883 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9884 second answer buffer if answerp2_malloced was set.
9885 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9886 (__libc_res_nquerydomain): Add parameter
9887 answerp2_malloced and pass it down to __libc_res_nquery.
9888 (res_nquerydomain): Pass additional NULL to
9889 __libc_res_nquerydomain.
9890 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9891 additional NULL to __libc_res_nsend and __libc_res_nquery.
9892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9893 additional NULL to __libc_res_nsearch.
9894 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9895 parameter of __libc_res_nsearch to check for separately allocated
9896 second buffer.
9897 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9898 __libc_res_nquery.
9899 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9900 additional NULL to __libc_res_nquery.
9901 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9902 __libc_res_nsearch.
9903 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9904 * include/resolv.h: Update prototypes of __libc_res_nquery,
9905 __libc_res_nsearch, __libc_res_nsend.
9906
a4fb7861
JM
99072014-02-18 Joseph Myers <joseph@codesourcery.com>
9908
c6af2d89
JM
9909 * math/auto-libm-test-in: Add tests of fma.
9910 * math/auto-libm-test-out: Regenerated.
9911 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9912 (fma_towardzero_test_data): Likewise.
9913 (fma_downward_test_data): Likewise.
9914 (fma_upward_test_data): Likewise.
9915 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9916 mpc_mode.
9917 (rounding_modes): Add values for new field.
9918 (func_calc_method): Add value mpfr_fff_f.
9919 (func_calc_desc): Add mpfr_fff_f union field.
9920 (test_function): Add field exact_args.
9921 (FUNC): Add macro argument EXACT_ARGS.
9922 (FUNC_mpfr_f_f): Update call to FUNC.
9923 (FUNC_mpfr_f_f): Likewise.
9924 (FUNC_mpfr_ff_f): Likewise.
9925 (FUNC_mpfr_if_f): Likewise.
9926 (FUNC_mpc_c_f): Likewise.
9927 (FUNC_mpc_c_c): Likewise.
9928 (test_functions): Add fma. Update calls to FUNC.
9929 (handle_input_arg): Add argument exact_args.
9930 (add_test): Update call to handle_input_arg.
9931 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9932 (output_for_one_input_case): Update call to calc_generic_results.
9933 Recalculate exact zero results in each rounding mode.
9934
a4fb7861
JM
9935 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9936 non-negative before setting low bit.
9937 * math/auto-libm-test-in: Mark one asin test possibly having
9938 spurious underflow.
9939 * math/auto-libm-test-out: Regenerated.
9940 * sysdeps/i386/fpu/libm-test-ulps: Update.
9941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9942
ef114eaf
DH
99432014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9944
2b7f4f2c
SP
9945 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9946 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9947 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9948 * README: Add missing listing for microblaze*-*-linux-gnu.
9949
8125aedc
AM
99502014-02-16 Ondřej Bílka <neleai@seznam.cz>
9951
9952 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9953 duplicate code
9954
c70a4b1d
MF
99552014-02-16 Mike Frysinger <vapier@gentoo.org>
9956
9957 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9958 * sysdeps/unix/sysv/linux/ia64: Move directory from
9959 ports/sysdeps/unix/sysv/linux/ia64.
9960 * README: Update listing for ia64-*-linux-gnu.
9961
591aeaf7
TD
99622014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9963 Joseph Myers <joseph@codesourcery.com>
9964
9965 * Makeconfig (test-name): New variable.
9966 (evaluate-test): Likewise.
9967 * Makerules (do-test-clean): Remove .test-result files.
9968 (common-mostlyclean): Likewise.
9969 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9970 * scripts/evaluate-test.sh: New file.
9971
6e89caf1
JM
99722014-02-14 Joseph Myers <joseph@codesourcery.com>
9973
7f98f180
JM
9974 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9975 separate $(objpfx)tst-fopenloc-cmp.out and
9976 $(objpfx)tst-fopenloc-mem.out targets.
9977 (tests): Update dependencies.
9978 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9979 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9980 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9981 (tst-rxspencer-no-utf8-ARGS): New variable.
9982 (tst-rxspencer-no-utf8-ENV): Likewise.
9983 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9984 instead of $(objpfx)tst-rxspencer-mem.
9985 ($(objpfx)tst-rxspencer-mem): Change target to
9986 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9987 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9988 * posix/tst-rxspencer-no-utf8.c: New file.
9989
6e89caf1
JM
9990 * elf/Makefile ($(objpfx)order.out): Remove rule.
9991 [$(run-built-tests) = yes] (tests): Depend on
9992 $(objpfx)order-cmp.out.
9993 ($(objpfx)order-cmp.out): New rule.
9994 [$(run-built-tests) = yes] (tests): Depend on
9995 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9996 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9997 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9998 $(objpfx)tst-array5-static-cmp.out.
9999 ($(objpfx)tst-array1.out): Remove rule.
10000 ($(objpfx)tst-array1-cmp.out): New rule.
10001 ($(objpfx)tst-array1-static.out): Remove rule.
10002 ($(objpfx)tst-array1-static-cmp.out): New rule.
10003 ($(objpfx)tst-array2.out): Remove rule.
10004 ($(objpfx)tst-array2-cmp.out): New rule.
10005 ($(objpfx)tst-array3.out): Remove rule.
10006 ($(objpfx)tst-array3-cmp.out): New rule.
10007 ($(objpfx)tst-array4.out): Remove rule.
10008 ($(objpfx)tst-array4-cmp.out): New rule.
10009 ($(objpfx)tst-array5.out): Remove rule.
10010 ($(objpfx)tst-array5-cmp.out): New rule.
10011 ($(objpfx)tst-array5-static.out): Remove rule.
10012 ($(objpfx)tst-array5-static-cmp.out): New rule.
10013 [$(run-built-tests) = yes] (tests): Depend on
10014 $(objpfx)order2-cmp.out.
10015 ($(objpfx)order2.out): Remove rule.
10016 ($(objpfx)order2-cmp.out): New rule.
10017 ($(objpfx)tst-initorder.out): Remove rule.
10018 [$(run-built-tests) = yes] (tests): Depend on
10019 $(objpfx)tst-initorder-cmp.out.
10020 ($(objpfx)tst-initorder-cmp.out): New rule.
10021 ($(objpfx)tst-initorder2.out): Remove rule.
10022 [$(run-built-tests) = yes] (tests): Depend on
10023 $(objpfx)tst-initorder2-cmp.out.
10024 ($(objpfx)tst-initorder2-cmp.out): New rule.
10025 [$(run-built-tests) = yes] (tests): Depend on
10026 $(objpfx)tst-unused-dep-cmp.out.
10027 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10028 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10029 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10030 on $(objpfx)tst-setvbuf1-cmp.out.
10031 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10032 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10033 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10034 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10035 ($(objpfx)tst-svc.out): Remove rule.
10036 ($(objpfx)tst-svc-cmp.out): New rule.
10037
ed9a38e2
JM
100382014-02-13 Joseph Myers <joseph@codesourcery.com>
10039
10040 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10041 * ctype/ctype.h [__USE_MISC]: Likewise.
10042 * dirent/dirent.h [__USE_MISC]: Likewise.
10043 * grp/grp.h [__USE_MISC]: Likewise.
10044 * io/fcntl.h [__USE_MISC]: Likewise.
10045 * io/sys/stat.h [__USE_MISC]: Likewise.
10046 * libio/stdio.h [__USE_MISC]: Likewise.
10047 * posix/unistd.h [__USE_MISC]: Likewise.
10048 * pwd/pwd.h [__USE_MISC]: Likewise.
10049 * stdlib.h [__USE_MISC]: Likewise.
10050 * string/bits/string2.h [__USE_MISC]: Likewise.
10051 * string/string.h [__USE_MISC]: Likewise.
10052 * time/time.h [__USE_MISC]: Likewise.
10053
d6680619
AS
100542014-02-13 Andreas Schwab <schwab@suse.de>
10055
10056 [BZ #16574]
10057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10058 second answer buffer if it was separately allocated.
10059
ace614b8
JM
100602014-02-12 Joseph Myers <joseph@codesourcery.com>
10061
743151ae
JM
10062 * sysdeps/mips/math-tests.h: Include <features.h>.
10063 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10064 (ROUNDING_TESTS_long_double): Do not define.
10065 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10066 (EXCEPTION_TESTS_long_double): Likewise.
10067 * sysdeps/mips/mips64/libm-test-ulps: Update.
10068
498afc54
JM
10069 * include/features.h (__USE_BSD): Remove macro definitions.
10070 (__USE_SVID): Likewise.
10071 (_BSD_SOURCE): Likewise.
10072 (_SVID_SOURCE): Likewise.
10073 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10074 from definition of _DEFAULT_SOURCE.
10075 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10076 [_DEFAULT_SOURCE].
10077 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10078 * bits/mman.h [__USE_BSD]: Likewise.
10079 * bits/termios.h [__USE_BSD]: Likewise.
10080 * bits/waitstatus.h [__USE_BSD]: Likewise.
10081 * ctype/ctype.h [__USE_SVID]: Likewise.
10082 * dirent/dirent.h [__USE_BSD]: Likewise.
10083 * grp/grp.h [__USE_SVID]: Likewise.
10084 [__USE_BSD]: Likewise.
10085 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10086 * io/fcntl.h [__USE_BSD]: Likewise.
10087 * io/ftw.h [__USE_BSD]: Likewise.
10088 * io/sys/stat.h [__USE_BSD]: Likewise.
10089 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10090 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10091 * libio/stdio.h [__USE_SVID]: Likewise.
10092 [__USE_BSD]: Likewise.
10093 * math/math.h [__USE_SVID]: Likewise.
10094 [__USE_BSD]: Likewise.
10095 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10096 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10097 * misc/search.h [__USE_SVID]: Likewise.
10098 * misc/sys/mman.h [__USE_BSD]: Likewise.
10099 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10100 * misc/sys/uio.h [__USE_BSD]: Likewise.
10101 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10102 * posix/glob.h [__USE_BSD]: Likewise.
10103 * posix/regex.h [__USE_BSD]: Likewise.
10104 * posix/sys/types.h [__USE_BSD]: Likewise.
10105 [__USE_SVID]: Likewise.
10106 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10107 * posix/sys/wait.h [__USE_BSD]: Likewise.
10108 [__USE_SVID]: Likewise.
10109 * posix/unistd.h [__USE_BSD]: Likewise.
10110 [__USE_SVID]: Likewise.
10111 * pwd/pwd.h [__USE_SVID]: Likewise.
10112 * resolv/netdb.h [__USE_BSD]: Likewise.
10113 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10114 * signal/signal.h [__USE_BSD]: Likewise.
10115 [__USE_SVID]: Likewise.
10116 * socket/sys/socket.h [__USE_BSD]: Likewise.
10117 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10118 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10119 [__USE_SVID]: Likewise.
10120 * string/bits/string2.h [__USE_BSD]: Likewise.
10121 [__USE_SVID]: Likewise.
10122 * string/bits/string3.h [__USE_BSD]: Likewise.
10123 * string/endian.h [__USE_BSD]: Likewise.
10124 * string/string.h [__USE_SVID]: Likewise.
10125 [__USE_BSD]: Likewise.
10126 * string/strings.h [__USE_BSD]: Likewise.
10127 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10128 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10129 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10130 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10131 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10132 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10133 Likewise.
10134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10135 Likewise.
10136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10137 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10138 Likewise.
10139 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10140 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10141 Likewise.
10142 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10143 Likewise.
10144 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10145 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10147 Likewise.
10148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10149 Likewise.
10150 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10151 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10152 * termios/termios.h [__USE_BSD]: Likewise.
10153 * time/sys/time.h [__USE_BSD]: Likewise.
10154 * time/time.h [__USE_BSD]: Likewise.
10155 [__USE_SVID]: Likewise.
10156
dd7b064c
JM
10157 * Makefile (subdir_targets): Remove subdir_lint.out.
10158
a2c4c199
JM
10159 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10160 (do-tst-printf): Likewise.
10161 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10162 $(objpfx)tst-printf.out.
10163
8756f740
JM
10164 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10165
1b6dd3f1
JM
10166 * Makerules (check-abi-%): Change target to
10167 $(objpfx)check-abi-%.out.
10168 (check-abi target): Update dependencies.
10169 (check-abi-pattern variable): Redirect output of diff to $@.
10170 (check-abi variable): Likewise.
10171 * elf/Makefile (check-abi): Update dependencies.
10172
ace614b8
JM
10173 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10174 unused.
10175 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10176 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10177 subnormal range.
10178 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10179 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10180 value has largest subnormal exponent.
10181 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10182 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10183 * sysdeps/aarch64/soft-fp/sfp-machine.h
10184 (_FP_TININESS_AFTER_ROUNDING): New macro.
10185 * sysdeps/alpha/soft-fp/sfp-machine.h
10186 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10187 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10188 Likewise.
10189 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10190 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10191 * sysdeps/mips/soft-fp/sfp-machine.h
10192 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10193 * sysdeps/powerpc/soft-fp/sfp-machine.h
10194 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10195 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10196 Likewise.
10197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10200 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10201 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10202 Likewise.
10203
fbfdf9cb
DAS
102042014-02-12 Dylan Alex Simon <dylan@dylex.net>
10205
10206 [BZ #16545]
10207 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10208 model 1.
10209
68b7efaa
RH
102102014-02-12 Richard Henderson <rth@redhat.com>
10211
c70a4b1d 10212 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10213 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10214 * sysdeps/unix/sysv/linux/alpha: Move directory from
10215 ports/sysdeps/unix/sysv/linux/alpha.
10216 * README: Update listing for alpha-*-linux-gnu.
10217
cb4a2928
JM
102182014-02-11 Joseph Myers <joseph@codesourcery.com>
10219
c941736c
JM
10220 * include/features.h: Update comment documenting feature test
10221 macros.
10222 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10223 _DEFAULT_SOURCE.
10224 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10225 (_SVID_SOURCE): Likewise.
10226 (_DEFAULT_SOURCE): Update description of default features.
10227 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10228 with _GNU_SOURCE.
10229 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10230 (S_ISVTX): Likewise.
10231 * manual/math.texi (Mathematical Constants): Likewise.
10232 * manual/signal.texi (Interrupted Primitives): Likewise.
10233 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10234 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10235 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10236 Don't refer to _SVID_SOURCE in warning text.
10237
e8d8d7ec
JM
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10239
cb4a2928
JM
10240 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10241 already defined.
10242 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10243 * sysdeps/mips/dl-lookup.c: Remove.
10244 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10245
7e6424e3
AK
102462014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10247
10248 [BZ #16447]
10249 * math/auto-libm-test-in: Add testcase for expl.
10250 * math/auto-libm-test-out: Regenerate.
10251 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10252 calculation of unsafe.
10253 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10254
75eff3fe
MS
102552014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10256
10257 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10258 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10259 ports/sysdeps/unix/sysv/linux/aarch64.
10260 * README: Update listing for aarch64*-*-linux-gnu.
10261
d35f1e80
WN
102622014-02-11 Will Newton <will.newton@linaro.org>
10263
10264 * manual/probes.texi (Mathematical Function Probes): Use
10265 "triggered" instead of "hit".
10266
7b3436d4
WN
10267 * manual/probes.texi (Internal Probes): Add documentation
10268 of setjmp, longjmp and longjmp_target probes.
10269
b4f12ca3
WN
10270 * include/stap-probe.h: Add comment about probe argument
10271 format.
10272
c13a72b7
WN
10273 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10274 definition. (tr_where, tr_freehook, tr_mallochook,
10275 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10276
195b8165
DM
102772014-02-11 David S. Miller <davem@davemloft.net>
10278
10279 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10280 processing int_tests.
10281
2ad7600b
JM
102822014-02-10 Joseph Myers <joseph@codesourcery.com>
10283
10284 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10285 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10286 * sysdeps/unix/sysv/linux/mips: Move directory from
10287 ports/sysdeps/unix/sysv/linux/mips.
10288 * README: Update listing for mips-*-linux-gnu and
10289 mips64-*-linux-gnu.
10290
73588a72
AS
102912014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10292
10293 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10294 * sysdeps/unix/sysv/linux/m68k: Move directory from
10295 ports/sysdeps/unix/sysv/linux/m68k.
10296 * README: Update listing for m68k-*-linux-gnu.
10297
4372980f
CM
102982014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10299
10300 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10301 * sysdeps/unix/sysv/linux/generic: Move directory from
10302 ports/sysdeps/unix/sysv/linux/generic.
10303 * sysdeps/unix/sysv/linux/tile: Move directory from
10304 ports/sysdeps/unix/sysv/linux/tile.
10305 * README: Update listing for tile*-*-linux-gnu.
10306
a1ffb40e
OB
103072014-02-10 Ondřej Bílka <neleai@seznam.cz>
10308
57f41c40
AS
10309 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10310 __builtin_expect.
a1ffb40e
OB
10311 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10312 * catgets/open_catalog.c (__open_catalog): Likewise.
10313 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10314 * debug/confstr_chk.c: Likewise.
10315 * debug/fread_chk.c (__fread_chk): Likewise.
10316 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10317 * debug/getgroups_chk.c: Likewise.
10318 * debug/mbsnrtowcs_chk.c: Likewise.
10319 * debug/mbsrtowcs_chk.c: Likewise.
10320 * debug/mbstowcs_chk.c: Likewise.
10321 * debug/memcpy_chk.c: Likewise.
10322 * debug/memmove_chk.c: Likewise.
10323 * debug/mempcpy_chk.c: Likewise.
10324 * debug/memset_chk.c: Likewise.
10325 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10326 * debug/strcat_chk.c (__strcat_chk): Likewise.
10327 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10328 * debug/strncat_chk.c (__strncat_chk): Likewise.
10329 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10330 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10331 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10332 * debug/wcpncpy_chk.c: Likewise.
10333 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10334 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10335 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10336 * debug/wcsncpy_chk.c: Likewise.
10337 * debug/wcsnrtombs_chk.c: Likewise.
10338 * debug/wcsrtombs_chk.c: Likewise.
10339 * debug/wcstombs_chk.c: Likewise.
10340 * debug/wmemcpy_chk.c: Likewise.
10341 * debug/wmemmove_chk.c: Likewise.
10342 * debug/wmempcpy_chk.c: Likewise.
10343 * debug/wmemset_chk.c: Likewise.
10344 * dirent/scandirat.c (SCANDIRAT): Likewise.
10345 * dlfcn/dladdr1.c (dladdr1): Likewise.
10346 * dlfcn/dladdr.c (dladdr): Likewise.
10347 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10348 * dlfcn/dlerror.c (__dlerror): Likewise.
10349 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10350 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10351 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10352 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10353 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10354 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10355 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10356 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10357 Likewise.
10358 * elf/dl-conflict.c: Likewise.
10359 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10360 * elf/dl-dst.h: Likewise.
10361 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10362 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10364 * elf/dl-init.c (call_init, _dl_init): Likewise.
10365 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10366 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10367 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10368 Likewise.
a1ffb40e
OB
10369 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10370 Likewise.
10371 * elf/dl-minimal.c (__libc_memalign): Likewise.
10372 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10373 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10374 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10375 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10376 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10377 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10378 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10379 * elf/dl-writev.h (_dl_writev): Likewise.
10380 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10381 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10382 (dl_main): Likewise.
a1ffb40e
OB
10383 * elf/setup-vdso.h (setup_vdso): Likewise.
10384 * grp/compat-initgroups.c (compat_call): Likewise.
10385 * grp/fgetgrent.c (fgetgrent): Likewise.
10386 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10387 * grp/putgrent.c (putgrent): Likewise.
10388 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10389 Likewise.
10390 * hurd/hurdinit.c: Likewise.
10391 * iconvdata/8bit-gap.c (struct): Likewise.
10392 * iconvdata/ansi_x3.110.c : Likewise.
10393 * iconvdata/big5.c : Likewise.
10394 * iconvdata/big5hkscs.c : Likewise.
10395 * iconvdata/cp1255.c: Likewise.
10396 * iconvdata/cp1258.c : Likewise.
10397 * iconvdata/cp932.c : Likewise.
10398 * iconvdata/euc-cn.c: Likewise.
10399 * iconvdata/euc-jisx0213.c : Likewise.
10400 * iconvdata/euc-jp.c: Likewise.
10401 * iconvdata/euc-jp-ms.c : Likewise.
10402 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10403 * iconvdata/gb18030.c : Likewise.
10404 * iconvdata/gbbig5.c (const): Likewise.
10405 * iconvdata/gbgbk.c: Likewise.
10406 * iconvdata/gbk.c : Likewise.
10407 * iconvdata/ibm1364.c : Likewise.
10408 * iconvdata/ibm930.c : Likewise.
10409 * iconvdata/ibm932.c: Likewise.
10410 * iconvdata/ibm933.c : Likewise.
10411 * iconvdata/ibm935.c : Likewise.
10412 * iconvdata/ibm937.c : Likewise.
10413 * iconvdata/ibm939.c : Likewise.
10414 * iconvdata/ibm943.c: Likewise.
10415 * iconvdata/iso_11548-1.c: Likewise.
10416 * iconvdata/iso-2022-cn.c : Likewise.
10417 * iconvdata/iso-2022-cn-ext.c : Likewise.
10418 * iconvdata/iso-2022-jp-3.c: Likewise.
10419 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10420 * iconvdata/iso-2022-kr.c : Likewise.
10421 * iconvdata/iso646.c (gconv_end): Likewise.
10422 * iconvdata/iso_6937-2.c : Likewise.
10423 * iconvdata/iso_6937.c : Likewise.
10424 * iconvdata/iso8859-1.c: Likewise.
10425 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10426 * iconvdata/shift_jisx0213.c : Likewise.
10427 * iconvdata/sjis.c : Likewise.
10428 * iconvdata/t.61.c : Likewise.
10429 * iconvdata/tcvn5712-1.c : Likewise.
10430 * iconvdata/tscii.c: Likewise.
10431 * iconvdata/uhc.c : Likewise.
10432 * iconvdata/unicode.c (gconv_end): Likewise.
10433 * iconvdata/utf-16.c (gconv_end): Likewise.
10434 * iconvdata/utf-32.c (gconv_end): Likewise.
10435 * iconvdata/utf-7.c (base64): Likewise.
10436 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10437 * iconv/gconv_close.c (__gconv_close): Likewise.
10438 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10439 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10440 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10441 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10442 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10443 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10444 * iconv/iconv.c (iconv): Likewise.
10445 * iconv/iconv_close.c: Likewise.
10446 * iconv/loop.c (SINGLE): Likewise.
10447 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10448 * include/atomic.h: Likewise.
10449 * inet/inet6_option.c (option_alloc): Likewise.
10450 * intl/bindtextdom.c (set_binding_values): Likewise.
10451 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10452 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10453 * intl/localealias.c (read_alias_file): Likewise.
10454 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10455 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10456 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10457 * libio/fmemopen.c (fmemopen): Likewise.
10458 * libio/iofgets.c (_IO_fgets): Likewise.
10459 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10460 * libio/iofgetws.c (fgetws): Likewise.
10461 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10462 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10463 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10464 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10465 * locale/findlocale.c (_nl_find_locale): Likewise.
10466 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10467 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10468 Likewise.
10469 * locale/setlocale.c (setlocale): Likewise.
10470 * login/programs/pt_chown.c (main): Likewise.
10471 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10472 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10473 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10474 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10475 * math/e_exp2l.c: Likewise.
10476 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10477 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10478 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10479 * math/s_catan.c (__catan): Likewise.
10480 * math/s_catanf.c (__catanf): Likewise.
10481 * math/s_catanh.c (__catanh): Likewise.
10482 * math/s_catanhf.c (__catanhf): Likewise.
10483 * math/s_catanhl.c (__catanhl): Likewise.
10484 * math/s_catanl.c (__catanl): Likewise.
10485 * math/s_ccosh.c (__ccosh): Likewise.
10486 * math/s_ccoshf.c (__ccoshf): Likewise.
10487 * math/s_ccoshl.c (__ccoshl): Likewise.
10488 * math/s_cexp.c (__cexp): Likewise.
10489 * math/s_cexpf.c (__cexpf): Likewise.
10490 * math/s_cexpl.c (__cexpl): Likewise.
10491 * math/s_clog10.c (__clog10): Likewise.
10492 * math/s_clog10f.c (__clog10f): Likewise.
10493 * math/s_clog10l.c (__clog10l): Likewise.
10494 * math/s_clog.c (__clog): Likewise.
10495 * math/s_clogf.c (__clogf): Likewise.
10496 * math/s_clogl.c (__clogl): Likewise.
10497 * math/s_csin.c (__csin): Likewise.
10498 * math/s_csinf.c (__csinf): Likewise.
10499 * math/s_csinh.c (__csinh): Likewise.
10500 * math/s_csinhf.c (__csinhf): Likewise.
10501 * math/s_csinhl.c (__csinhl): Likewise.
10502 * math/s_csinl.c (__csinl): Likewise.
10503 * math/s_csqrt.c (__csqrt): Likewise.
10504 * math/s_csqrtf.c (__csqrtf): Likewise.
10505 * math/s_csqrtl.c (__csqrtl): Likewise.
10506 * math/s_ctan.c (__ctan): Likewise.
10507 * math/s_ctanf.c (__ctanf): Likewise.
10508 * math/s_ctanh.c (__ctanh): Likewise.
10509 * math/s_ctanhf.c (__ctanhf): Likewise.
10510 * math/s_ctanhl.c (__ctanhl): Likewise.
10511 * math/s_ctanl.c (__ctanl): Likewise.
10512 * math/w_pow.c: Likewise.
10513 * math/w_powf.c: Likewise.
10514 * math/w_powl.c: Likewise.
10515 * math/w_scalb.c (sysv_scalb): Likewise.
10516 * math/w_scalbf.c (sysv_scalbf): Likewise.
10517 * math/w_scalbl.c (sysv_scalbl): Likewise.
10518 * misc/error.c (error_tail): Likewise.
10519 * misc/pselect.c (__pselect): Likewise.
10520 * nis/nis_callback.c (__nis_create_callback): Likewise.
10521 * nis/nis_call.c (__nisfind_server): Likewise.
10522 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10523 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10524 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10525 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10526 * nis/nis_lookup.c (nis_lookup): Likewise.
10527 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10528 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10529 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10530 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10531 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10532 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10533 * nis/nss_compat/compat-initgroups.c (add_group)
10534 (internal_getgrent_r): Likewise.
10535 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10536 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10537 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10538 (internal_getspnam_r): Likewise.
10539 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10540 (_nss_nis_getaliasbyname_r): Likewise.
10541 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10542 (_nss_nis_getntohost_r): Likewise.
10543 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10544 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10545 (_nss_nis_getgrgid_r): Likewise.
10546 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10547 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10548 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10549 (_nss_nis_gethostbyname4_r): Likewise.
10550 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10551 (initgroups_netid): Likewise.
a1ffb40e 10552 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10553 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10554 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10555 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10556 (_nss_nis_getprotobynumber_r): Likewise.
10557 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10558 (_nss_nis_getsecretkey): Likewise.
10559 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10560 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10561 (_nss_nis_getpwuid_r): Likewise.
10562 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10563 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10564 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10565 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10566 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10567 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10568 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10569 Likewise.
57f41c40
AS
10570 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10571 (_nss_nisplus_getntohost_r): Likewise.
10572 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10573 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10574 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10575 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10576 Likewise.
57f41c40
AS
10577 * nis/nss_nisplus/nisplus-initgroups.c
10578 (_nss_nisplus_initgroups_dyn): Likewise.
10579 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10580 (_nss_nisplus_getnetbyaddr_r): Likewise.
10581 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10582 (_nss_nisplus_getprotobynumber_r): Likewise.
10583 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10584 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10585 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10586 Likewise.
57f41c40
AS
10587 * nis/nss_nisplus/nisplus-service.c
10588 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10589 (_nss_nisplus_getservbyport_r): Likewise.
10590 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10591 (_nss_nisplus_getspnam_r): Likewise.
10592 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10593 Likewise.
a1ffb40e
OB
10594 * nscd/aicache.c (addhstaiX): Likewise.
10595 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10596 * nscd/connections.c (register_traced_file, send_ro_fd)
10597 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10598 (main_loop_epoll): Likewise.
a1ffb40e
OB
10599 * nscd/grpcache.c (addgrbyX): Likewise.
10600 * nscd/hstcache.c (addhstbyX): Likewise.
10601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10602 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10603 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10604 (addinnetgrX): Likewise.
10605 * nscd/nscd-client.h (__nscd_acquire_maplock)
10606 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10607 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10608 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10609 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10610 Likewise.
10611 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10612 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10613 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10614 (__nscd_get_map_ref): Likewise.
a1ffb40e 10615 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10616 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10617 Likewise.
a1ffb40e
OB
10618 * nscd/pwdcache.c (addpwbyX): Likewise.
10619 * nscd/selinux.c (preserve_capabilities): Likewise.
10620 * nscd/servicescache.c (addservbyX): Likewise.
10621 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10622 * posix/fnmatch.c (fnmatch): Likewise.
10623 * posix/getopt.c (_getopt_internal_r): Likewise.
10624 * posix/glob.c (glob, glob_in_dir): Likewise.
10625 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10626 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10627 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10628 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10629 * resolv/res_init.c: Likewise.
10630 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10631 * resolv/res_query.c (__libc_res_nquery): Likewise.
10632 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10633 Likewise.
10634 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10635 * stdio-common/perror.c (perror): Likewise.
10636 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10637 * stdio-common/tmpnam.c (tmpnam): Likewise.
10638 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10639 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10640 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10641 Likewise.
a1ffb40e
OB
10642 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10643 * stdlib/putenv.c (putenv): Likewise.
10644 * stdlib/setenv.c (__add_to_environ): Likewise.
10645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10646 * stdlib/strtol_l.c (INTERNAL): Likewise.
10647 * string/memmem.c (memmem): Likewise.
10648 * string/strerror.c (strerror): Likewise.
10649 * string/strnlen.c (__strnlen): Likewise.
10650 * string/test-memmem.c (simple_memmem): Likewise.
10651 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10652 * sunrpc/pm_getport.c (__get_socket): Likewise.
10653 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10654 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10655 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10656 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10657 Likewise.
10658 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10659 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10660 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10661 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10662 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10663 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10664 Likewise.
10665 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10666 Likewise.
a1ffb40e
OB
10667 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10668 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10670 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10671 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10673 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10675 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10676 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10677 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10678 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10679 Likewise.
10680 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10681 Likewise.
10682 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10683 Likewise.
10684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10686 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10688 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10689 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10690 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10693 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10696 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10697 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10700 Likewise.
a1ffb40e
OB
10701 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10702 Likewise.
10703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10704 Likewise.
10705 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10706 Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10709 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10710 Likewise.
10711 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10712 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10713 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10714 * sysdeps/posix/sleep.c: Likewise.
10715 * sysdeps/posix/tempname.c: Likewise.
10716 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10717 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10718 Likewise.
57f41c40
AS
10719 * sysdeps/powerpc/powerpc32/dl-machine.h
10720 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10721 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10723 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10724 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10725 Likewise.
10726 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10728 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10730 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10731 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10732 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10733 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10735 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10737 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10738 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10740 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10741 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10742 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10743 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10744 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10745 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10746 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10747 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10749 Likewise.
10750 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10751 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10752 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10753 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10754 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10755 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10756 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10757 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10758 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10759 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10760 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10761 Likewise.
10762 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10763 (__posix_fallocate64_l64): Likewise.
10764 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10765 (posix_fallocate): Likewise.
57f41c40
AS
10766 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10767 Likewise.
a1ffb40e 10768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10769 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10770 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10771 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10772 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10773 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10774 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10775 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10776 (__posix_fallocate64_l64): Likewise.
10777 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10778 Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10780 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10781 (__get_clockfreq): Likewise.
a1ffb40e
OB
10782 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10783 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10784 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10785 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10787 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10788 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10790 Likewise.
10791 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10792 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10793 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10794 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10795 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10796 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10797 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10798 Likewise.
10799 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10800 (posix_fallocate): Likewise.
10801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10802 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10803 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10804 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10805 (elf_machine_rela, elf_machine_rela_relative)
10806 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10807 * time/asctime.c (asctime_internal): Likewise.
10808 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10809 * time/tzset.c (__tzset_parse_tz): Likewise.
10810 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10811 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10812 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10813 * wcsmbs/wcsmbsload.h: Likewise.
10814
f3d338c9
OB
10815 [BZ #15894]
10816 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10817
57f41c40
AS
10818 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10819 (arena_get2): Remove THREAD_STATS conditionals.
10820 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10821 (__malloc_stats, int): Likewise.
bdfe308a 10822
d674667c
MF
108232014-02-08 Mike Frysinger <vapier@gentoo.org>
10824
10825 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10826 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10827
6349768c
MF
10828 * manual/setjmp.texi: Fix typos/grammar errors.
10829
0b7c7473
MF
10830 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10831 Only return early when n is <= 0. Delete unused return statement.
10832
ac8cc9e3
MF
10833 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10834 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10835 * debug/tst-longjmp_chk3.c: New file.
10836
c5bb8e23
MF
10837 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10838 (test_main): Replace code with set_fortify_handler call.
10839 * debug/test-strcpy_chk.c: Likewise.
10840 * debug/tst-chk1.c: Likewise.
10841 * debug/tst-longjmp_chk.c: Likewise.
10842 * test-skeleton.c: Include fcntl.h & paths.h
10843 (set_fortify_handler): Define.
10844
10444e42
MF
10845 * debug/tst-longjmp_chk.c: Add header comment and include
10846 ../test-skeleton.c.
10847 (do_test): Mark static.
10848 (TEST_FUNCTION): Define.
10849
1e805e8d
MF
10850 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10851 (IP_PMTUDISC_INTERFACE): Likewise.
10852 (IP_MULTICAST_IF): Likewise.
10853 (IP_MULTICAST_TTL): Likewise.
10854 (IP_MULTICAST_LOOP): Likewise.
10855 (IP_ADD_MEMBERSHIP): Likewise.
10856 (IP_DROP_MEMBERSHIP): Likewise.
10857 (IP_UNBLOCK_SOURCE): Likewise.
10858 (IP_BLOCK_SOURCE): Likewise.
10859 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10860 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10861 (IP_MSFILTER): Likewise.
10862 (MCAST_JOIN_GROUP): Likewise.
10863 (MCAST_BLOCK_SOURCE): Likewise.
10864 (MCAST_UNBLOCK_SOURCE): Likewise.
10865 (MCAST_LEAVE_GROUP): Likewise.
10866 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10867 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10868 (MCAST_MSFILTER): Likewise.
10869 (IP_MULTICAST_ALL): Likewise.
10870 (IP_UNICAST_IF): Likewise.
10871
73f79bb7
MF
10872 * timezone/Makefile: Delete $(have-ksh) check.
10873 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10874 * timezone/tzselect.ksh: Add +x mode bits.
10875
8da79b60
MF
10876 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10877 (ANON_INODE_FS_MAGIC): Likewise.
10878 (BDEVFS_MAGIC): Likewise.
10879 (BINFMTFS_MAGIC): Likewise.
10880 (BTRFS_TEST_MAGIC): Likewise.
10881 (CRAMFS_MAGIC_WEND): Likewise.
10882 (DEBUGFS_MAGIC): Likewise.
10883 (ECRYPTFS_SUPER_MAGIC): Likewise.
10884 (EXT3_SUPER_MAGIC): Likewise.
10885 (EXT4_SUPER_MAGIC): Likewise.
10886 (FUTEXFS_SUPER_MAGIC): Likewise.
10887 (HOSTFS_SUPER_MAGIC): Likewise.
10888 (HUGETLBFS_MAGIC): Likewise.
10889 (MINIX3_SUPER_MAGIC): Likewise.
10890 (MTD_INODE_FS_MAGIC): Likewise.
10891 (NILFS_SUPER_MAGIC): Likewise.
10892 (OPENPROM_SUPER_MAGIC): Likewise.
10893 (PIPEFS_MAGIC): Likewise.
10894 (PSTOREFS_MAGIC): Likewise.
10895 (QNX6_SUPER_MAGIC): Likewise.
10896 (RAMFS_MAGIC): Likewise.
10897 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10898 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10899 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10900 (SECURITYFS_MAGIC): Likewise.
10901 (SELINUX_MAGIC): Likewise.
10902 (SMACK_MAGIC): Likewise.
10903 (SOCKFS_MAGIC): Likewise.
10904 (SQUASHFS_MAGIC): Likewise.
10905 (STACK_END_MAGIC): Likewise.
10906 (TMPFS_MAGIC): Likewise.
10907 (USBDEVICE_SUPER_MAGIC): Likewise.
10908 (V9FS_MAGIC): Likewise.
10909 (XENFS_SUPER_MAGIC): Likewise.
10910 (CRAMFS_MAGIC): Fix typo in comment.
10911 (EXT2_SUPER_MAGIC): Update comment.
10912 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10913
464263cc
JM
109142014-02-08 Joseph Myers <joseph@codesourcery.com>
10915
c6bfe5c4
JM
10916 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10917 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10918 * sysdeps/unix/sysv/linux/arm: Move directory from
10919 ports/sysdeps/unix/sysv/linux/arm.
10920 * README: Update listing for arm-*-linux-gnueabi.
10921
464263cc
JM
10922 * README: Remove mention of am33.
10923
32749f6c
RM
109242014-02-07 Roland McGrath <roland@hack.frob.com>
10925
10926 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10927 than the comma operator, to avoid "rhs of comma has no effect"
10928 compiler warnings.
10929 (__sigfillset, __sigandset, __sigorset): Likewise.
10930 * include/signal.h (__sigemptyset): Likewise.
10931 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10932
d5b396c1
AM
109332014-02-07 Allan McRae <allan@archlinux.org>
10934
10935 * version.h (RELEASE): Set to "development".
10936 (VERSION): Set to "2.19.90"
10937 * NEWS: Add 2.20 section.
10938
3bfff2ed
CD
109392014-02-06 Carlos O'Donell <carlos@redhat.com>
10940
10941 [BZ #16529]
10942 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10943
ee7cc385
SP
109442014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10945
10946 * manual/contrib.texi: Update entry for Carlos O'Donell,
10947 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10948
f877c4f2
CD
109492014-02-05 Carlos O'Donell <carlos@rehdat.com>
10950
27e839f6
CD
10951 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10952
f877c4f2
CD
10953 * sysdeps/unix/sysv/linux/kernel-features.h
10954 [__LINUX_KERNEL_VERSION >= 0x020621]
10955 (__ASSUME_PROC_PID_TASK_COMM): Define.
10956
68159946
SP
109572014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
ba17cdbd
SP
10959 [BZ #16398]
10960 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10961 conversion when destination buffer does not have enough space.
10962 * libio/tst-ftell-partial-wide.c: New test case.
10963 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10964
68159946
SP
10965 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10966 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10967 Leonard and Allan McRae.
10968
2b528732
DM
109692014-02-04 David S. Miller <davem@davemloft.net>
10970
10971 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10972 32-bit.
10973
0ff82463
AZ
109742014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975
57f41c40
AS
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10977 New file
c01603f7
AZ
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10979 New file
57f41c40
AS
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10981 New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10983 New file.
c01603f7
AZ
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10985 New file.
57f41c40
AS
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10987 New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10989 New file.
c01603f7
AZ
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10991 New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10993 New file.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10995 New file.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10997 New file.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10999 New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11001 New file.
11002
110032014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11004
0ff82463
AZ
11005 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11006 * shlib-versions: Likewise.
11007
1695c773
AZ
110082014-02-04 Roland McGrath <roland@hack.frob.com>
11009 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11010
11011 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11012 (abilist-pattern): New variable, set to %-le.abilist.
11013
11014 * Makerules (abilist-pattern): New variable.
11015 (vpath): Use $(abilist-pattern) in place of %.abilist.
11016 (check-abi-% pattern rule): Likewise.
11017 (check-abi, update-abi): Likewise.
11018
6c0ce4b4
EW
110192014-02-04 Eric Wong <normalperson@yhbt.net>
11020
11021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11022
481e3524
CD
110232014-02-03 Carlos O'Donell <carlos@redhat.com>
11024
11025 * manual/startup.texi: Add next, previous, and top entries for
11026 the `Program Arguments' and `Environment Variables' nodes.
11027
375592d3
AO
110282014-02-03 Alexandre Oliva <aoliva@redhat.com>
11029
11030 * manual/macros.texi: Add comments before MTASC-safety macros.
11031
f54838ba
AO
11032 * manual/users.texi: Document MTASC-safety properties.
11033
57f41c40
AS
11034 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11035 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11036 @deftypefun, and add @safety note.
11037 * manual/signal.texi: Move comments that analyze the above
11038 functions to their home place.
11039
fd3daba4
AM
110402014-02-03 Allan McRae <allan@archlinux.org>
11041
11042 * po/sl.po: Update Slovenian translation from translation project.
11043
597636d7
AO
110442014-02-02 Alexandre Oliva <aoliva@redhat.com>
11045
11046 * manual/time.texi (timegm): Add missing blank after @c.
11047 Reported by Joseph Myers <joseph@codesourcery.com>.
11048
ee196e3c
AO
110492014-02-01 Alexandre Oliva <aoliva@redhat.com>
11050
11051 * manual/check-safety.sh: New.
11052 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11053
f8d529d5
AO
11054 * manual/terminal.texi: Document MTASC-safety properties.
11055
de55fdf4
AO
11056 * manual/filesys.texi: Document MTASC-safety properties.
11057
c3299c08
AO
11058 * manual/errno.texi: Document MTASC-safety properties.
11059
06e90b14
AO
11060 * manual/intro.texi: Document safety identifiers and
11061 conditionals.
11062
1acd4371
AO
11063 * manual/string.texi (wcstok): Fix prototype.
11064 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11065
23e5b8cb
AO
11066 * manual/time.texi: Document MTASC-safety properties.
11067
11087373
AO
11068 * manual/string.texi: Document MTASC-safety properties.
11069
5da2c93d
AO
11070 * manual/threads.texi: Document MTASC-safety properties.
11071
171e9210
AO
11072 * manual/stdio.texi: Document MTASC-safety properties.
11073
d9e02532
AO
11074 * manual/syslog.texi: Document MTASC-safety properties.
11075
6af8bab7
AO
11076 * manual/sysinfo.texi: Document MTASC-safety properties.
11077
663b02d7
AO
11078 * manual/startup.texi: Document MTASC-safety properties.
11079
973f180b
AO
11080 * manual/socket.texi: Document MTASC-safety properties.
11081
8f3c25c8
AO
11082 * manual/signal.texi: Document MTASC-safety properties.
11083
542210fb
AO
110842014-01-31 Alexandre Oliva <aoliva@redhat.com>
11085
11086 * manual/setjmp.texi: Document MTASC-safety properties.
11087
433c45a2
AO
11088 * manual/search.texi: Document MTASC-safety properties.
11089
c8ce789c
AO
11090 * manual/resource.texi: Document MTASC-safety properties.
11091
19f5d29c
AO
11092 * manual/process.texi: Document MTASC-safety properties.
11093
e2dfb7f4
AO
11094 * manual/platform.texi: Document MTASC-safety properties.
11095
8c1413f5
AO
11096 * manual/pipe.texi: Document MTASC-safety properties.
11097
03483ada
AO
11098 * manual/pattern.texi: Document MTASC-safety properties.
11099
29e7e2df
AO
11100 * manual/message.texi: Document MTASC-safety properties.
11101
9f529d7c
AO
11102 [BZ #12751]
11103 * manual/memory.texi: Document MTASC-safety properties.
11104
27aaa791
AO
11105 * manual/math.texi: Document MTASC-safety properties.
11106
f2d58726
AO
11107 * manual/locale.texi: Document MTASC-safety properties.
11108
2cc3615c
AO
11109 * manual/llio.texi: Document MTASC-safety properties.
11110
d9f0ec97
AO
11111 * manual/libdl.texi: New.
11112
e7c4409a
AO
11113 * manual/lang.texi: Document MTASC-safety properties.
11114
27bdc63c
AO
11115 * manual/job.texi: Document MTASC-safety properties.
11116
a7b90ea9
AO
11117 * manual/getopt.texi: Document MTASC-safety properties.
11118
c49130e3
AO
11119 * manual/ctype.texi: Document MTASC-safety properties.
11120
0d23a5c1
MR
111212014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11122
11123 [BZ #16046]
11124 * csu/libc-tls.c (static_map): Remove variable.
11125 (__libc_setup_tls): Use main executable's link map for TLS data.
11126 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11127 casing for LM_ID_BASE and GL(dl_nns).
11128 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11129 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11130 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11131 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11132 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11133 member.
11134 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11135 l_phnum members.
11136
0037bb60
AO
111372014-01-30 Alexandre Oliva <aoliva@redhat.com>
11138
11139 * manual/debug.texi: Document MTASC-safety properties.
11140
409e00bd
L
111412014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11142
11143 [BZ #16510]
11144 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11145 of __x86_64__ when disabling x87 inline functions.
11146
86e60666
AO
111472014-01-29 Alexandre Oliva <aoliva@redhat.com>
11148
11149 * manual/charset.texi: Document MTASC-safety properties.
11150
76167637
AO
11151 * manual/crypt.texi: Document MTASC-safety properties.
11152
e567f2a0
AO
11153 * manual/conf.texi: Document MTASC-safety properties.
11154
b719dafd
AO
11155 * manual/arith.texi: Document MTASC-safety properties.
11156
4a16c662
AO
11157 * manual/argp.texi: Document MTASC-safety properties.
11158
0a57b83e
AO
11159 * manual/macros.texi: Introduce macros to document multi
11160 thread, asynchronous signal and asynchronous cancellation
11161 safety properties.
11162 * manual/intro.texi: Introduce the properties themselves.
11163
feab2397
KK
111642014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11165
11166 * sysdeps/sh/sh4/Makefile: New file.
11167
1c0d11bc
AS
111682014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11169
11170 * math/gen-libm-test.pl ($srcdir): New variable.
11171 ($auto_input): Use it.
11172
af37a8a3
SP
111732014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11174
d7b00f98
SP
11175 [BZ #16506]
11176 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11177 access beyond array bounds when parsing netgroups file.
11178
af37a8a3
SP
11179 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11180 the old buffer before realloc.
11181
0c00f062
AM
111822014-01-27 Allan McRae <allan@archlinux.org>
11183
11184 * po/fr.po: Update French translation from translation project.
11185
7d69a1b0
KK
111862014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11187
11188 * sysdeps/sh/libm-test-ulps: Regenerate.
11189
6e697ff7
DM
111902014-01-24 David S. Miller <davem@davemloft.net>
11191
11192 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11193
9cadb35c
KK
111942014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11195
11196 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11197 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11198
5d41dadf
SP
111992013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
11201 [BZ #16474]
11202 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11203 string pointers after reallocation.
11204
0bad441c
KK
112052014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11206
11207 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11208 __SH4A__ instead of __SH_FPU_ANY__.
11209
7007c661
KK
112102014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11211
11212 * sysdeps/sh/fpu_control.h: New file.
11213 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11214 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11215 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11216 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11217 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11218 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11219 * sysdeps/sh/sys/ucontext.h: Remove.
11220 * sysdeps/sh/sys: Remove directory.
11221
0f0c35e4
AK
112222014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11223
11224 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11225 s390/sys/ucontext.h.
11226 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11228
4959e284
L
112292014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11230
11231 [BZ #15605]
11232 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11233
d98720e0
AZ
112342014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11235
11236 [BZ#16431]
11237 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11238 Adjust the vDSO correctly for internal calls.
11239 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11240
91cbd0bc
AM
112412014-01-20 Allan McRae <allan@archlinux.org>
11242
11243 * po/ca.po: Update Catalan translation from translation project.
11244
7a02cfad
MF
112452014-01-16 Mike Frysinger <vapier@gentoo.org>
11246
11247 * sysdeps/s390/sotruss-lib.c: New file.
11248
736c304a
AZ
112492014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11250
11251 [BZ#16430]
6e077ee5 11252 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11253 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11254 local calls issues by not having a PLT stub required for IFUNC calls.
11255 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11256
94d0cea0
JM
112572014-01-16 Joseph Myers <joseph@codesourcery.com>
11258
11259 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11260 * math/test-fpucw-static.c: Likewise.
11261
980cb518
SP
112622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11263
11264 [BZ #16453]
11265 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11266
2393fc01
AZ
112672014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11268
11269 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11270 implementation for powerpc.
11271
d359bcc2
OB
112722014-01-15 Ondřej Bílka <neleai@seznam.cz>
11273
11274 [BZ #14782]
11275 * sysdeps/posix/system.c (__libc_system): Do not enable
11276 asynchronous cancellation.
11277
7beb48cb
AK
112782014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11279
11280 [BZ #16427]
11281 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11282 handling only for numbers special also in the IEEE case.
11283
c20d5bf5
AK
112842014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11285
11286 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11287
e83bd4ee
AM
112882014-01-11 Allan McRae <allan@archlinux.org>
11289
76d0ea69
AM
11290 * po/bg.po: Update Bulgarian translation from translation project.
11291
e83bd4ee
AM
11292 * po/de.po: Update German translation from translation project.
11293
bc2ba20a
RM
112942014-01-10 Roland McGrath <roland@hack.frob.com>
11295
11296 * sysdeps/generic/gcc-compat.h: New file.
11297
649ecea2
SP
112982014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11299
11300 * benchtests/asin-inputs: Correct slow inputs.
11301 * benchtests/acos-inputs: Likewise.
11302
1b19c006
AM
113032014-01-10 Allan McRae <allan@archlinux.org>
11304
a46dab08
AM
11305 * po:sv.po: Update Swedish translation from translation project.
11306
421df74a
AM
11307 * po/vi.po: Update Vietnamese translation from translation project.
11308
d61c51a7
AM
11309 * po/eo.po: Update Esperanto translation from translation project.
11310
0339a319
AM
11311 * po/cs.po: Update Czech translation from translation project.
11312
94ad3e99
AM
11313 * po/nl.po: Update Dutch translation from translation project.
11314
e349ca71
AM
11315 * po/pl.po: Update Polish translation from translation project.
11316
ddf930c1
AM
11317 * po/ru.po: Update Russian translation from translation project.
11318
1b19c006
AM
11319 * po/uk.po: Update Ukrainian translation from translation project.
11320
9f236c49
BM
113212014-01-08 Brooks Moses <bmoses@google.com>
11322
11323 * elf/dl-load.c: Fix comment typo.
11324
cd6701cf
CD
113252014-01-08 Carlos O'Donell <carlos@redhat.com>
11326
11327 * po/header.pot: Rename to...
11328 * po/pot.header: ... this.
11329 * po/Makefile: Use pot.header.
11330
66671c84
YK
113312014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11332 Maxim Kuvyrkov <maxim@kugelworks.com>
11333
11334 [BZ #16394]
cd6701cf
CD
11335 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11336 SRC and DEST against LEN.
66671c84 11337
38f34581
AZ
113382014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11339
11340 [BZ #16414]
11341 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11342 implementation.
11343 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11344
113452014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11346
11347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11348
4c327f2a
JM
113492014-01-08 Joseph Myers <joseph@codesourcery.com>
11350
11351 [BZ #16408]
11352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11353 for large positive arguments.
11354
b821f414
JM
113552014-01-07 Joseph Myers <joseph@codesourcery.com>
11356
1f0f2067
JM
11357 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11358
a5a326f6
JM
11359 * math/auto-libm-test-in: Mark various tests with
11360 xfail-rounding:ldbl-128ibm.
11361 * math/auto-libm-test-out: Regenerated.
11362
b821f414
JM
11363 [BZ #16407]
11364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11365 Increase overflow threshold.
11366
94c8a4bc
OB
113672014-01-07 Ondřej Bílka <neleai@seznam.cz>
11368
11369 [BZ #14286]
11370 * stdio-common/vfprintf.c: Check for integer overflow.
11371
87ded0c3
AK
113722014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11373
11374 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11375 the first argument and return value of __tls_get_addr_internal.
11376
c5eebdd0
AK
113772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11378
11379 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11380 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11381
05d138ef
AK
113822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11383
11384 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11385 * sysdeps/s390/rtld-global-offsets.sym: New file.
11386 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11387 GLIBC_2.19 symbol.
11388 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11390 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11391 ... this.
11392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11393 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11394 ... this.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11396 Regenerate.
11397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11398 Regenerate.
11399 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11400 halfs of GPRs for high_gprs contexts.
11401 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11402 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11403 field.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11405 uc_flags field.
11406 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11407 64 bit versions:
11408 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11409 for high GPRs (uc_high_gprs) and for future extensions
11410 (__reserved).
11411 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11412 for future extensions (__reserved).
11413 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11414 64 bit versions:
11415 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11416 SC_HIGHGPRS offset definition.
11417 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11418 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11419
93a45ff1
AK
11420 * Versions.def: Add GLIBC_2.19 for libpthread.
11421 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11422 siglongjmp for libpthread with GLIBC_2.19 symver.
11423 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11424 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11425 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11426 * sysdeps/s390/__longjmp.c: New file.
11427 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11428 * sysdeps/s390/longjmp.c: New file.
11429 * sysdeps/s390/setjmp.S: New file.
11430 * sysdeps/s390/sigjmp.S: New file.
11431 * sysdeps/s390/v1-longjmp.c: New file.
11432 * sysdeps/s390/v1-setjmp.h: New file.
11433 * sysdeps/s390/v1-sigjmp.c: New file.
11434 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11435 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11436 GLIBC_2.19 version.
11437 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11438 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11439 versioned symbols for ____longjmp_chk.
11440 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11441 Likewise.
11442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11443 Regenerate.
11444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11445 Regenerate.
11446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11447 Regenerate.
11448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11449 Regenerate.
11450 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11451 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11452 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11453 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11454 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11455 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11456 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11457 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11458 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11459 * sysdeps/s390/rtld-__longjmp.c: New file.
11460 * sysdeps/s390/rtld-setjmp.S: New file.
11461
eb3fc44b
JM
114622014-01-06 Joseph Myers <joseph@codesourcery.com>
11463
11464 [BZ #16400]
11465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11466 Return -__logl (x) for small positive arguments without evaluating
11467 a polynomial.
11468
9341dde4
MF
114692014-01-06 Mike Frysinger <vapier@gentoo.org>
11470
11471 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11472 Rename to ...
11473 (__ptrace_peeksiginfo_args): ... this.
11474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11476 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11477
4cff0293
AM
114782014-01-06 Allan McRae <allan@archlinux.org>
11479
11480 * inet/netinet/in.h: Fix typo in comment.
11481
75595dcf
AJ
114822014-01-05 Andreas Jaeger <aj@suse.de>
11483
11484 * sysdeps/i386/fpu/libm-test-ulps: Update.
11485
79c1e109
AM
114862014-01-05 Allan McRae <allan@archlinux.org>
11487
dd804818
AM
11488 * po/libc.pot: Regenerated.
11489
79c1e109
AM
11490 * malloc/memusagestat.c: Fix gettext call formatting.
11491
0c813d1f
SK
114922014-01-04 Sami Kerola <kerolasa@iki.fi>
11493
11494 * nscd/nscd.c: Improve usage() output.
11495
20f4a8d9
MF
114962014-01-04 Mike Frysinger <vapier@gentoo.org>
11497
11498 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11499 * sysdeps/unix/sysv/linux/configure: Regenerated.
11500 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11501 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11502
22562bb2
JM
115032014-01-03 Joseph Myers <joseph@codesourcery.com>
11504
11505 [BZ #16390]
11506 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11507 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11508
d7ad2d9b
AZ
115092014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11510
11511 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11512 extra tokens at end of #undef directive.
11513 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11514 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11515 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11516
7dd009d8
JM
115172014-01-03 Joseph Myers <joseph@codesourcery.com>
11518
24db925a
JM
11519 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11520
7dd009d8
JM
11521 * math/auto-libm-test-in: Mark various tests with
11522 xfail-rounding:ldbl-128ibm.
11523 * math/auto-libm-test-out: Regenerated.
11524
396e3ecf
JM
115252014-01-02 Joseph Myers <joseph@codesourcery.com>
11526
819e5d50
JM
11527 [BZ #16386]
11528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11529 numbers with subnormal high part when calculating exponent.
11530
90b6a1e5
JM
11531 [BZ #16385]
11532 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11533 fabs.
11534
396e3ecf
JM
11535 [BZ #16384]
11536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11537 M_LN2l.
11538 (__ieee754_acoshl): Use __log1pl not __log1p.
11539
6c8dbf00
OB
115402013-01-02 Ondřej Bílka <neleai@seznam.cz>
11541
57f41c40
AS
11542 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11543 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11544 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11545 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11546 (reused_arena, arena_get2): Convert to GNU style.
11547 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11548 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11549 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11550 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11551 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11552 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11553 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11554 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11555 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11556 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11557 * malloc/malloc.h: Likewise.
57f41c40
AS
11558 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11559 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11560 * malloc/mcheck.h: Likewise.
57f41c40
AS
11561 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11562 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11563 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11564 * malloc/morecore.c (__default_morecore): Likewise.
11565 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11566 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11567 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11568 (print_and_abort): Likewise.
6c8dbf00
OB
11569 * malloc/obstack.h: Likewise.
11570 * malloc/set-freeres.c (__libc_freeres): Likewise.
11571 * malloc/tst-mallocstate.c (main): Likewise.
11572 * malloc/tst-mtrace.c (main): Likewise.
11573 * malloc/tst-realloc.c (do_test): Likewise.
11574
d4124212
SP
115752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11576
9a3c6a6f
SP
11577 [BZ #16366]
11578 * nscd/netgroupcache.c (do_notfound): New function.
11579 (addgetnetgrentX): Use it.
11580
d4124212
SP
11581 [BZ # 16365]
11582 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11583 NSS_STATUS_NOTFOUND.
11584
97b9a009
JM
115852014-01-01 Joseph Myers <joseph@codesourcery.com>
11586
11587 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589
d4697bc9
AM
115902014-01-01 Allan McRae <allan@archlinux.org>
11591
ddb3687f
AM
11592 * scripts/update-copyrights: Update configure input file suffix.
11593
88726d48
AM
11594 * NEWS: Update copyright year.
11595 * catgets/gencat.c: Likewise.
11596 * csu/version.c: Likewise.
11597 * debug/catchsegv.sh: Likewise.
11598 * debug/pcprofiledump.c: Likewise.
11599 * debug/xtrace.sh: Likewise.
11600 * elf/ldconfig.c: Likewise.
11601 * elf/ldd.bash.in: Likewise.
11602 * elf/pldd.c: Likewise.
11603 * elf/sotruss.ksh: Likewise.
11604 * elf/sprof.c: Likewise.
11605 * iconv/iconv_prog.c: Likewise.
11606 * iconv/iconvconfig.c: Likewise.
11607 * locale/programs/locale.c: Likewise.
11608 * locale/programs/localedef.c: Likewise.
11609 * login/programs/pt_chown.c: Likewise.
11610 * malloc/memusage.sh: Likewise.
11611 * malloc/memusagestat.c: Likewise.
11612 * malloc/mtrace.pl: Likewise.
11613 * manual/libc.texinfo: Likewise.
11614 * nscd/nscd.c: Likewise.
11615 * nss/getent.c: Likewise.
11616 * nss/makedb.c: Likewise.
11617 * posix/getconf.c: Likewise.
11618 * scripts/test-installation.pl: Likewise.
11619
d4697bc9
AM
11620 * All files with FSF copyright notices: Update copyright dates
11621 using scripts/update-copyrights.
11622 * intl/plural.c: Regenerated.
11623 * locale/programs/charmap-kw.h: Likewise.
11624 * locale/programs/locfile-kw.h: Likewise.
11625
c8590f9d
MF
116262013-12-31 Mike Frysinger <vapier@gentoo.org>
11627
11628 * sysdeps/unix/sysv/linux/configure: Regenerated.
11629 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11630 the linux/fanotify.h header.
11631 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11632 HAVE_LINUX_FANOTIFY_H is defined.
11633
b19221b9
SP
116342013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11635
dd1d85e5
SP
11636 * benchtests/cos-inputs: New inputs.
11637 * benchtests/sin-inputs: Likewise.
11638
1acbb90f
SP
11639 * benchtests/atan-inputs: New inputs. Fix name of multiple
11640 precision fallback inputs.
11641
4c012ed3
SP
11642 * benchtests/atanh-inputs: New inputs.
11643 * benchtests/tanh-inputs: Likewise.
11644
eff98324
SP
11645 * benchtests/acosh-inputs: New inputs.
11646 * benchtests/asinh-inputs: Likewise.
11647
ce641152
SP
11648 * benchtests/cosh-inputs: New inputs.
11649 * benchtests/sinh-inputs: Likewise.
11650
b19221b9
SP
11651 * benchtests/acos-inputs: Add more inputs.
11652 * benchtests/asin-inputs: Likewise.
11653
030a4976 116542013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11655
030a4976 11656 [BZ #16375]
9dcc8f11
VS
11657 * manual/arith.texi: Fix spelling.
11658 * manual/charset.texi: Likewise.
11659 * manual/errno.texi: Likewise.
11660 * manual/filesys.texi: Likewise.
11661 * manual/lang.texi: Likewise.
11662 * manual/llio.texi: Likewise.
11663 * manual/locale.texi: Likewise.
11664 * manual/message.texi: Likewise.
11665 * manual/resource.texi: Likewise.
11666 * manual/search.texi: Likewise.
11667 * manual/setjmp.texi: Likewise.
11668 * manual/stdio.texi: Likewise.
11669 * manual/string.texi: Likewise.
11670 * manual/sysinfo.texi: Likewise.
11671 * manual/time.texi: Likewise.
11672
11520a57
CD
116732013-12-27 Carlos O'Donell <carlos@redhat.com>
11674
11675 * po/sl.po: New file.
11676
471103ae
MF
116772013-12-27 Mike Frysinger <vapier@gentoo.org>
11678
11679 * .gitignore: Add core/.gdbinit/.gdb_history.
11680
6c9642ed
AM
116812013-12-27 Allan McRae <allan@archlinux.org>
11682
11683 [BZ #16369]
11684 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11685 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11686
3f637079
BM
116872013-12-24 Brooks Moses <bmoses@google.com>
11688
11689 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11690 all compilers that claim C++98 compliance, not just GCC.
11691 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11692 Likewise.
11693
abc26e99
MK
116942013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11695
11696 * NEWS: Restore accidentally deleted bug-fix entries.
11697
362b47fe
MK
116982013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11699 Ondřej Bílka <neleai@seznam.cz>
11700
11701 [BZ #15073]
11702 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11703 have_lock.
362b47fe 11704
b9bcbbcb
OB
117052013-12-23 Ondřej Bílka <neleai@seznam.cz>
11706
11707 [BZ #12986]
11708 * manual/stdio.texi (String Input Conversions): Clarify that character
11709 classes are not supported.
11710
fb55fcd2
AZ
117112013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11712
11713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11714
ef7344f0
JM
117152013-12-22 Joseph Myers <joseph@codesourcery.com>
11716
4f40e4b3
JM
11717 [BZ #16337]
11718 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11719 Calculate results for small negative arguments directly rather
11720 than using reflection formula with special underflow handling.
11721
ef7344f0
JM
11722 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11723 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11724 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11725 (fchflags): Likewise.
11726 (revoke): Likewise.
11727 (setlogin): Likewise.
11728 (sigaltstack): Likewise.
11729 (wait4): Likewise.
11730 (sigblock): Remove.
11731 (sigsetmask): Likewise.
11732 (wait3): Likewise.
11733 (waitpid): Likewise.
11734 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11735 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11736 file.
11737 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11738 * sysdeps/unix/bsd/Makefile: ... here.
11739 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11740 * sysdeps/unix/bsd/Versions: ... here.
11741 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11742 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11743 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11744 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11745 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11746 * sysdeps/unix/bsd/sigblock.c: ... here.
11747 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11748 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11749 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11750 * sysdeps/unix/bsd/sigvec.c: ... here.
11751 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11752 * sysdeps/unix/bsd/tcdrain.c: ... here.
11753 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11754 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11755 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11756 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11757 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11758 * sysdeps/unix/bsd/wait.c: ... here.
11759 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11760 * sysdeps/unix/bsd/wait3.c: ... here.
11761 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11762 * sysdeps/unix/bsd/waitpid.c: ... here.
11763
5b0626b9
JM
117642013-12-21 Joseph Myers <joseph@codesourcery.com>
11765
11766 [BZ #16356]
11767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11768 round-to-nearest for [!USE_AS_EXPM1L].
11769 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11770 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11771 more tests of exp and exp10. Expect some exp10 tests to miss
11772 exceptions or fail in directed rounding modes.
11773 * math/auto-libm-test-out: Regenerated.
11774 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11775 (exp10_test_tonearest): New function.
11776 (exp10_towardzero_test_data): New array.
11777 (exp10_test_towardzero): New function.
11778 (exp10_downward_test_data): New array.
11779 (exp10_test_downward): New function.
11780 (exp10_upward_test_data): New array.
11781 (exp10_test_upward): New function.
11782 (main): Call the new functions.
11783 * sysdeps/i386/fpu/libm-test-ulps: Update.
11784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785
7fda5682
JM
117862013-12-20 Joseph Myers <joseph@codesourcery.com>
11787
31e3a405
JM
11788 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11789 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11790 * math/auto-libm-test-out: Regenerated.
11791 * math/libm-test.inc (acosh_test_data): Add more tests.
11792 (atanh_test_data): Likewise.
11793 (ceil_test_data): Likewise.
11794 (copysign_test_data): Likewise.
11795 * sysdeps/i386/fpu/libm-test-ulps: Update.
11796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797
85bff96a
JM
11798 * timezone/checktab.awk: Update from tzcode 2013i.
11799 * timezone/private.h: Likewise.
11800 * timezone/scheck.c: Likewise.
11801 * timezone/tzfile.h: Likewise.
11802 * timezone/tzselect.ksh: Likewise.
11803 * timezone/zdump.c: Likewise.
11804 * timezone/zic.c: Likewise.
11805
b7867a3b
JM
11806 * math/auto-libm-test-in: Add tests of cpow.
11807 * math/auto-libm-test-out: Regenerated.
11808 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11809 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11810 mpc_cc_c.
11811 (func_calc_desc): Add mpc_cc_c union field.
11812 (test_functions): Add cpow.
11813 (special_fill_2pi): New function.
11814 (special_real_inputs): Add 2pi.
11815 (calc_generic_results): Handle mpc_cc_c.
11816 * sysdeps/i386/fpu/libm-test-ulps: Update.
11817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11818
7fda5682
JM
11819 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11820 csqrt, ctan and ctanh.
11821 * math/auto-libm-test-out: Regenerated.
11822 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11823 (TEST_COND_x86): Likewise.
11824 (ccos_test_data): Use AUTO_TESTS_c_c.
11825 (ccosh_test_data): Likewise.
11826 (cexp_test_data): Likewise.
11827 (clog_test_data): Likewise.
11828 (csqrt_test_data): Likewise.
11829 (ctan_test_data): Likewise.
11830 (ctan_tonearest_test_data): Likewise.
11831 (ctan_towardzero_test_data): Likewise.
11832 (ctan_downward_test_data): Likewise.
11833 (ctan_upward_test_data): Likewise.
11834 (ctanh_test_data): Likewise.
11835 (ctanh_tonearest_test_data): Likewise.
11836 (ctanh_towardzero_test_data): Likewise.
11837 (ctanh_downward_test_data): Likewise.
11838 (ctanh_upward_test_data): Likewise.
11839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11840 mpc_c_c.
11841 (func_calc_desc): Add mpc_c_c union field.
11842 (FUNC_mpc_c_c): New macro.
11843 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11844 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11845 ctanh.
11846 (special_fill_min_subnorm_p120): New function.
11847 (special_real_inputs): Add min_subnorm_p120.
11848 (calc_generic_results): Handle mpc_c_c.
11849 * sysdeps/i386/fpu/libm-test-ulps: Update.
11850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11851
5ff8d60e
SP
118522013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
57f41c40
AS
11854 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11855 (do_sin_slow): New functions.
11856 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11857 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11858
84ba214c
SP
11859 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11860 Use M to change sign of result instead of X. Assume X is
11861 positive.
11862 (csloww1): Likewise.
11863 (__sin): Adjust.
11864 (__cos): Adjust.
11865
975195e4
SP
11866 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11867 arguments A and DA.
11868 (__sin): Adjust.
11869 (__cos): Likewise.
11870
5ff8d60e
SP
11871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11872 (__cos): Likewise.
11873 (sloww1): Don't adjust sign of DX.
11874 (csloww1): Likewise.
11875 (sloww2): Use X directly and don't adjust sign of DX.
11876 (csloww2): Likewise.
11877
eb983568
JM
118782013-12-19 Joseph Myers <joseph@codesourcery.com>
11879
64a17f1a
JM
11880 * math/auto-libm-test-in: Add tests of cabs and carg.
11881 * math/auto-libm-test-out: Regenerated.
11882 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11883 (carg_test_data): Likewise.
11884 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11885 mpc_c_f.
11886 (func_calc_desc): Add mpc_c_f union field.
11887 (test_functions): Add cabs and carg.
11888 (calc_generic_results): Handle mpc_c_f.
11889
eb983568
JM
11890 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11891 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11892 as a macro and a compat symbol.
11893 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11894 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11895 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11896 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11897 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11899 not use .hidden.
11900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11901 Likewise.
11902 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11903 Likewise.
11904 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11905 Likewise.
11906 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11907 Likewise.
11908 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11909 Likewise.
11910 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11911 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11912 from GLIBC_2.3.2.
11913
6eeb678a
AZ
119142013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11915
11916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11917
6f6fc482
JM
119182013-12-19 Joseph Myers <joseph@codesourcery.com>
11919
21fea2e2
JM
11920 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11921 trailing whitespace removed.
11922 * scripts/config.guess: Update to version 2013-11-29.
11923 * scripts/config.sub: Update to version 2013-10-01.
11924
6f6fc482
JM
11925 * math/auto-libm-test-in: Add tests of sincos.
11926 * math/auto-libm-test-out: Regenerated.
11927 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11928 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11929 mpfr_f_11.
11930 (func_calc_desc): Add mpfr_f_11 union field.
11931 (test_functions): Add sincos.
11932 (calc_generic_results): Handle mpfr_f_11.
11933 * sysdeps/i386/fpu/libm-test-ulps: Update.
11934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11935
83f5c32d
AS
119362013-12-19 Andreas Schwab <schwab@suse.de>
11937
11938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11939 CALL_MCOUNT.
11940 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11941 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11942 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11943
c688b419
JM
119442013-12-19 Joseph Myers <joseph@codesourcery.com>
11945
335ee092
JM
11946 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949
f88acd39
JM
11950 [BZ #16293]
11951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11952 round-to-nearest mode when using frndint.
11953 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11954 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11956 Likewise.
11957 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11958 sinh test to fail.
11959 * math/auto-libm-test-out: Regenerated.
11960 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11961 (TEST_COND_x86): Likewise.
11962 (expm1_tonearest_test_data): New array.
11963 (expm1_test_tonearest): New function.
11964 (expm1_towardzero_test_data): New array.
11965 (expm1_test_towardzero): New function.
11966 (expm1_downward_test_data): New array.
11967 (expm1_test_downward): New function.
11968 (expm1_upward_test_data): New array.
11969 (expm1_test_upward): New function.
11970 (main): Run the new test functions.
11971 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973
c688b419
JM
11974 * include/features.h: Update comment documenting feature test
11975 macros. Mention _DEFAULT_SOURCE in comment.
11976 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11977 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11978 _BSD_SOURCE and _SVID_SOURCE.
11979 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11980 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11981 !_SVID_SOURCE]: Likewise.
11982 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11983 (__USE_POSIX_IMPLICITLY): Define.
11984 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11985 (_POSIX_SOURCE): Undefine and redefine.
11986 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11987 (_POSIX_C_SOURCE): Likewise.
11988 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11989 (Feature Test Macros): Update documentation of default features.
11990
9f6e964c
RS
119912013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11992
11993 * benchtests/Makefile: Add bench-strtok.
11994 * benchtests/bench-strtok.c: New file: strtok benchtest.
11995
ee0a148a
AM
119962013-12-19 Allan McRae <allan@archlinux.org>
11997
11998 * manual/install.texi: Suppress menu for plain text output.
11999 * INSTALL: Regenerated.
12000
b9ab448f
BM
120012013-12-18 Brooks Moses <bmoses@google.com>
12002
12003 [BZ #15846]
12004 * misc/getauxval.c: Include errno.h.
12005 (__getauxval): Set errno to ENOENT if the requested type is not
12006 found.
12007 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12008 don't declare with __attribute_const__.
12009 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12010 * manual/startup.texi: Document that getauxval sets errno.
12011
23776487
JM
120122013-12-18 Joseph Myers <joseph@codesourcery.com>
12013
f889953b
JM
12014 * math/auto-libm-test-in: Add tests of jn and yn.
12015 * math/auto-libm-test-out: Regenerated.
12016 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12017 (yn_test_data): Likewise.
12018 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12019 mpfr_if_f.
12020 (func_calc_desc): Add mpfr_if_f union field.
12021 (FUNC_mpfr_if_f): New macro.
12022 (test_functions): Add jn and yn.
12023 (calc_generic_results): Assert type of second input for
12024 mpfr_ff_f. Handle mpfr_if_f.
12025 (output_for_one_input_case): Disable all checking for arguments
12026 fitting floating-point types in case of an integer argument.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12029
23776487
JM
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12031 Don't expect fegetround reference in libm.so.
12032
cb756c6d
MS
120332013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12034
12035 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12036 $(config-cflags-nofma).
12037
2dec468f
JM
120382013-12-18 Joseph Myers <joseph@codesourcery.com>
12039
5953eb3a
JM
12040 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12041 * math/auto-libm-test-out: Regenerated.
12042
2dec468f
JM
12043 [BZ #16338]
12044 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12045 to determine exponent and adjust argument to have exponent of -1.
12046 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12047 log2.
12048 * math/auto-libm-test-out: Regenerated.
12049 * sysdeps/i386/fpu/libm-test-ulps: Update.
12050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051
4d84e6ad
OB
120522013-12-18 Ondřej Bílka <neleai@seznam.cz>
12053
12054 * manual/probes.texi: Remove cases when per-thread arenas are
12055 disabled.
12056
1818483b
AS
120572013-12-18 Andreas Schwab <schwab@suse.de>
12058
12059 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12060 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12061 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12062 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12063 * sysdeps/i386/i686/multiarch/Makefile: Update.
12064 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12065
25de95bf
JM
120662013-12-17 Joseph Myers <joseph@codesourcery.com>
12067
12068 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12069 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12070
674762d9
PE
120712013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12072
ed27ed83 12073 [BZ #15968]
0748546f
PE
12074 Support TZ transition times < 00:00:00.
12075 This is needed for version-3 tz-format files; it supports time
12076 stamps past 2037 for America/Godthab (the only entry in the tz
12077 database for which this change is relevant).
12078 * manual/time.texi (TZ Variable): Document transition times
12079 from -167:59:59 through -00:00:01.
12080 * time/tzset.c (tz_rule): Time of day is now signed.
12081 (__tzset_parse_tz): Parse negative time of day.
12082
4480e934
PE
12083 Document TZ transition times >= 25:00:00.
12084 * manual/time.texi (TZ Variable): Document transition times from
12085 25:00:00 through 167:59:59. These are already supported, and this
12086 support will help with version-3 tz-format files.
12087
69947401
PE
12088 * manual/time.texi (TZ Variable): Modernize North America example
12089 to reflect current (i.e., 2007-and-later) daylight saving rules.
12090
674762d9
PE
12091 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12092
7011c262
JM
120932013-12-17 Joseph Myers <joseph@codesourcery.com>
12094
2fc6557e
JM
12095 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12096 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12099 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12100 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12101 * sysdeps/unix/bsd/clock.c: Likewise.
12102 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12103 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12104 * sysdeps/unix/bsd/init-posix.c: Likewise.
12105 * sysdeps/unix/bsd/poll.c: Likewise.
12106 * sysdeps/unix/bsd/ptsname.c: Likewise.
12107 * sysdeps/unix/bsd/seekdir.c: Likewise.
12108 * sysdeps/unix/bsd/setegid.c: Likewise.
12109 * sysdeps/unix/bsd/seteuid.c: Likewise.
12110 * sysdeps/unix/bsd/setgid.c: Likewise.
12111 * sysdeps/unix/bsd/setrgid.c: Likewise.
12112 * sysdeps/unix/bsd/setruid.c: Likewise.
12113 * sysdeps/unix/bsd/setsid.c: Likewise.
12114 * sysdeps/unix/bsd/setuid.c: Likewise.
12115 * sysdeps/unix/bsd/sigaction.c: Likewise.
12116 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12117 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12118 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12119 * sysdeps/unix/bsd/telldir.c: Likewise.
12120 * sysdeps/unix/bsd/times.c: Likewise.
12121 * sysdeps/unix/bsd/usleep.c: Likewise.
12122
029c7b25
JM
12123 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12124 ($(objpfx)libbsd-compat.a): Remove rule.
12125
7011c262
JM
12126 * include/features.h (__FAVOR_BSD): Do not define.
12127 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12128 features conflicting with POSIX.
12129 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12130 (_BSD_SOURCE): Remove description of not being a subset of other
12131 feature test macros.
12132 * manual/job.texi (getpgrp): Do not document BSD version.
12133 (getpgid): Do not document by reference to BSD getpgrp.
12134 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12135 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12136 * signal/signal.h [__FAVOR_BSD]: Likewise.
12137 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12138 instead of making contents conditional on [__FAVOR_BSD].
12139 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12140
affb6f78
AZ
121412013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12142
12143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12144
c88769dd
JM
121452013-12-17 Joseph Myers <joseph@codesourcery.com>
12146
6432a540
JM
12147 [BZ #16314]
12148 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12149 values below 2**-450, not 2**-500.
12150 * math/auto-libm-test-in: Don't allow spurious underflow from
12151 hypot.
12152 * math/auto-libm-test-out: Regenerated.
12153
c88769dd
JM
12154 [BZ #16316]
12155 [BZ #16330]
12156 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12157 values of ha and hb and sort them after adjusting subnormal
12158 arguments.
12159 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12160 Likewise.
12161 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12162 values of ea and eb and sort them after adjusting subnormal
12163 arguments.
12164 * math/auto-libm-test-in: Do not expect some hypot tests of
12165 subnormals to fail. Add more hypot tests.
12166 * math/auto-libm-test-out: Regenerated.
12167
29618f6b
KK
121682013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12169
12170 [BZ #13304]
12171 * sysdeps/sh/s_fma.c: New file.
12172 * sysdeps/sh/s_fmaf.c: New file.
12173 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12174 version.
12175 * sysdeps/sh/Implies: Add sh/soft-fp.
12176
eacfdfbf
RM
121772013-12-16 Roland McGrath <roland@hack.frob.com>
12178
12179 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12180 level of indirection to members `objname', `errstring', `malloced'.
12181 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12182 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12183 it as the __longjmp argument (just pass 1 instead).
12184 (_dl_catch_error): Initialize C with argument pointers and address of
12185 volatile local ERRCODE rather than copying values out of C at return.
12186
ff362e5b
JM
121872013-12-16 Joseph Myers <joseph@codesourcery.com>
12188
12189 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12190 * math/auto-libm-test-out: Regenerated.
12191 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12192 (hypot_test_data): Likewise.
12193 (pow_test_data): Likewise.
12194 (pow_tonearest_test_data): Likewise.
12195 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12196 mpfr_ff_f.
12197 (func_calc_desc): Add mpfr_ff_f union field.
12198 (FUNC_mpfr_ff_f): New macro.
12199 (test_functions): Add atan2, hypot and pow.
12200 (special_fill_min): New function.
12201 (special_fill_minus_min): Likewise.
12202 (special_fill_min_subnorm): Likewise.
12203 (special_fill_minus_min_subnorm): Likewise.
12204 (special_real_inputs): Add min, -min, min_subnorm and
12205 -min_subnorm.
12206 (calc_generic_results): Handle mpfr_ff_f.
12207 * sysdeps/i386/fpu/libm-test-ulps: Update.
12208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
5764c27f
WN
122102013-12-16 Will Newton <will.newton@linaro.org>
12211
12212 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12213 (Aligned Memory Blocks): Add documentation for aligned_alloc
12214 and suggest it as an alternative to posix_memalign.
12215 (Hooks for Malloc): Document __memalign_hook is also called
12216 for aligned_alloc. (Summary of Malloc): Add summary for
12217 aligned alloc. Document __memalign_hook is also called
12218 for aligned_alloc.
12219
0a096e44
WN
122202013-12-16 Will Newton <will.newton@linaro.org>
12221
12222 * manual/memory.texi (Malloc Examples): Clarify default
12223 alignment documentation. Suggest posix_memalign rather
12224 than memalign or valloc.
12225 (Aligned Memory Blocks): Remove suggestion to use memalign
12226 or valloc. Remove obsolete comment about BSD.
12227 Document memalign errno values and mark the function obsolete.
12228 Document posix_memalign returned error codes. Mark valloc
12229 as obsolete. (Hooks for Malloc): __memalign_hook is also
12230 called for posix_memalign and valloc.
12231 (Summary of Malloc): Add posix_memalign to function summary.
12232 __memalign_hook is also called for posix_memalign and valloc.
12233
8d561986
SP
122342013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12235
12236 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12237 TAYLOR_SIN.
12238 (__sin): Adjust.
12239 (__cos): Likewise.
12240 (sloww): Use mynumber union. Expand ternary operator into
12241 if-else statements.
12242 (cslow): use mynumber union.
12243
73616a74
AM
122442013-12-16 Allan McRae <allan@archlinux.org>
12245
9e8ac24b
AM
12246 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12247 * configure: Regenerated.
12248
6f8e37eb
AM
12249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12250
8894bad3
AM
12251 [BZ #14120]
12252 * configure.ac: Added --enable-maintainer-mode. Check for
12253 autoconf when enabled.
12254 * configure: Regenerated.
12255
73616a74
AM
12256 * nscd/nscd.service: New file.
12257 * nscd/nscd.tmpfiles: New file.
12258
584b18eb
OB
122592013-12-14 Ondřej Bílka <neleai@seznam.cz>
12260
12261 [BZ #12100]
12262 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12263 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12264 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12265 (strstr): Add __strstr_sse2_unaligned ifunc.
12266 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12267 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12268 (strcasestr): Remove __strcasestr_sse42 ifunc.
12269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12272
8a5c7897
KK
122732013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12274
12275 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12276 * sysdeps/sh/bits/fenv.h: ... here.
12277 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12278
fd712ef3
AZ
122792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12280
12281 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12282
42fcb46c
AZ
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12284 hypotf multiarch implementations.
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12288 multiarch hypot for PPC64.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12292 multiarch hypotf for PPC64.
12293
83efded4
AZ
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12295 modff multiarch implementations.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12299 multiarch modf for PPC64.
12300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12303 multiarch modff for PPC64.
12304
43e246d2
AZ
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12306 and logl multiarch implementations.
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12310 multiarch logb for PPC64.
12311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12314 multiarch logb for PPC64.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12318 multiarch logb for PPC64.
12319
8fdad123
AZ
12320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12321 isinff multiarch implementation.
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12323 file.
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12326 multiarch isinf for PPC64.
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12328 file.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12330 multiarch isinff for PPC64.
12331
1481d706
AZ
12332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12333 finitef multiarch implementation.
12334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12335 file.
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12338 multiarch finite for PPC64.
12339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12340 file.
12341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12342 multiarch finitef for PPC64.
12343
5ccd5fc8
AZ
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12345 lrint multiarch implementation.
12346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12347 file.
12348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12350 multiarch llrint for PPC64.
12351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12352 multiarch lrint for PPC64.
12353
2568f3fa
AZ
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12355 copysignf multiarch implementation.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12357 file.
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12359 file.
12360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12361 multiarch copysign for PPC64.
12362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12363 multiarch copysignf for PPC64.
12364
1cb341fd
AZ
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12366 multiarch implementation.
12367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12368 file.
12369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12370 file.
12371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12372 file.
12373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12374 file.
12375 multiarch llround for PPC64.
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12377 multiarch trunc for PPC64.
12378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12379 multiarch truncf for PPC64.
12380
59a3e194
AZ
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12382 multiarch implementation.
12383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12384 file.
12385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12386 file.
12387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12388 file.
12389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12390 file.
12391 multiarch llround for PPC64.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12393 multiarch round for PPC64.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12395 multiarch roundf for PPC64.
12396
357fd3b4
AZ
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12398 multiarch implementation.
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12400 file.
12401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12402 file.
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12404 file.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12406 file.
12407 multiarch llround for PPC64.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12409 multiarch floor for PPC64.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12411 multiarch floorf for PPC64.
12412
96770f12
AZ
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12414 multiarch implementation.
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12416 file.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12418 file.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12420 file.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12422 file.
12423 multiarch llround for PPC64.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12425 multiarch ceil for PPC64.
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12427 multiarch ceilf for PPC64.
12428
c3627f6e
AZ
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12430 multiarch implementation.
12431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12432 file.
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12434 file.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12436 file.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12438 multiarch llround for PPC64.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12440 multiarch lround for PPC64.
12441
b2284ad7
AZ
12442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12443 multiarch implementation.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12447 file.
12448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12451 multiarch isnan for PPC64.
12452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12453 multiarch isnanf for PPC64.
12454
69bbc63d
AZ
12455 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12456 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12457 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12458 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12459 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12461
c24517c9
AZ
12462 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12463 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12466
a52374e8
AZ
12467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12468 multiarch implementations.
12469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12470 (__libc_ifunc_impl_list): Likewise.
12471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12473 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12474 multiarch stpcpy for PPC64.
12475
7f5ec113
AZ
12476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12477 multiarch implementations.
12478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12479 (__libc_ifunc_impl_list): Likewise.
12480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12481 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12482 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12483 multiarch strcpy for PPC64.
12484
e28bcd42
AZ
12485 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12486 redefine function name.
12487 (_wordcopy_fwd_dest_aligned): Likewise.
12488 (_wordcopy_bwd_aligned): Likewise.
12489 (_wordcopy_bwd_dest_aligned): Likewise.
12490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12491 multiarch implementations.
12492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12493 (__libc_ifunc_impl_list): Likewise.
12494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12497 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12498 multiarch wcscpy for PPC64.
12499
92cacfce
AZ
12500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12501 multiarch implementations.
12502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12503 (__libc_ifunc_impl_list): Likewise.
12504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12507 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12508 multiarch wcscpy for PPC64.
12509
7b714620
AZ
12510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12511 multiarch implementations.
12512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12513 (__libc_ifunc_impl_list): Likewise.
12514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12518 multiarch wcsrchr for PPC64.
12519
16fd2ae3
AZ
12520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12521 multiarch implementations.
12522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12523 (__libc_ifunc_impl_list): Likewise.
12524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12525 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12526 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12527 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12528 multiarch wcschr for PPC64.
12529
9ee2969b
AZ
12530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12531 multiarch implementations.
12532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12533 (__libc_ifunc_impl_list): Likewise.
12534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12536 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12537 multiarch strchrnul for PPC64.
12538
372dc060
AZ
12539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12540 implementations.
12541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12542 (__libc_ifunc_impl_list): Likewise.
12543 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12544 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12545 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12546 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12547 strchr for PPC64.
12548
24c2c3b9
AZ
12549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12550 implementations.
12551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12552 (__libc_ifunc_impl_list): Likewise.
12553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12555 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12556 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12557 strncmp for PPC64.
12558
1c92d9a0
AZ
12559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12560 multiarch implementations.
12561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12562 (__libc_ifunc_impl_list): Likewise.
12563 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12564 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12565 strncasecmp for PPC64.
12566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12567 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12568 multiarch strncasecmp_l for PPC64.
12569
17de3ee3
AZ
12570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12571 multiarch implementations.
12572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12573 (__libc_ifunc_impl_list): Likewise.
12574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12576 multiarch strcasecmp for PPC64.
12577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12578 file.
12579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12580 multiarch strcasecmp_l for PPC64.
12581
62982bf9
AZ
12582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12583 implementations.
12584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12585 (__libc_ifunc_impl_list): Likewise.
12586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12587 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12588 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12589 strnlen for PPC64.
12590
a65f4904
AZ
12591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12592 implementations.
12593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12594 (__libc_ifunc_impl_list): Likewise.
12595 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12596 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12597 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12598 strlen for PPC64.
12599
1fd005ad
AZ
12600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12601 implementations.
12602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12603 (__libc_ifunc_impl_list): Likewise.
12604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12606 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12607 rawmemrchr for PPC64.
12608
cd05ba91
AZ
12609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12610 implementation.
12611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12612 (__libc_ifunc_impl_list): Likewise.
12613 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12614 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12615 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12616 memrchr for PPC64.
12617
870f8676
AZ
12618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12619 implementation.
12620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12621 (__libc_ifunc_impl_list): Likewise.
12622 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12623 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12624 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12625 memchr for PPC64.
12626
f00be62b
AZ
12627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12628 implementation.
12629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12630 (__libc_ifunc_impl_list): Likewise.
12631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12633 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12634 mempcpy for PPC64.
12635
8a29a3d0
AZ
12636 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12637 avoid cretion of __bzero symbol.
12638 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12639 Likewise.
12640 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12641 Likewise.
12642 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12643 Likewise.
12644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12645 multiarch implementations.
12646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12647 (__libc_ifunc_impl_list): Likewise.
12648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12649 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12650 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12651 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12652 bzero for PPC32.
12653 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12654 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12656 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12657 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12658 memset for PPC64.
12659 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12660
07253fcf
AZ
12661 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12663 implementations.
12664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12665 (__libc_ifunc_impl_list): Likewise.
12666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12669 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12670 memcmp for PPC64.
12671
b5beafbc
AZ
12672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12673 multiarch for POWER/PPC64.
12674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12675 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12682 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12683 memcpy for PPC64.
12684
5e6a4d4b
AZ
12685 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12686 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12687 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12688 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12689 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12690 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12691 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12692 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12693 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12694 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12695 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12696 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12697 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12698 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12699 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12707
ddfab6dc
KK
127082013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12709
12710 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12711
19b5525e
SP
127122013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12713
12714 * benchtests/Makefile (bench): Add exp2 and log2.
12715 (LDLIBS-bench-exp2): Add -lm.
12716 (LDLIBS-bench-log2): Likewise.
12717 * benchtests/exp2-inputs: New inputs file.
12718 * benchtests/log2-inputs: New inputs file.
12719 * benchtests/log-inputs: Add new inputs.
12720 * benchtests/tan-inputs: Likewise.
12721
196f7f5d
SP
127222013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12723
7a74607f
SP
12724 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12725 definition...
57f41c40
AS
12726 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12727 (csloww2): ... from here.
7a74607f 12728
196f7f5d
SP
12729 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12730 instead of structures.
12731 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12732 (POLYNOMIAL): Likewise.
12733 (TAYLOR_SLOW): Likewise.
12734 (__sin): Likewise.
12735 (__cos): Likewise.
12736 (slow1): Likewise.
12737 (slow2): Likewise.
12738 (sloww): Likewise.
12739 (sloww1); Likewise.
12740 (sloww2): Likewise.
12741 (bsloww1): Likewise.
12742 (bsloww2): Likewise.
12743 (cslow2): Likewise.
12744 (csloww): Likewise.
12745 (csloww1): Likewise.
12746 (csloww2): Likewise.
12747
0dfa665c
OB
127482013-12-10 Ondřej Bílka <neleai@seznam.cz>
12749
12750 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12751 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12752 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12753 * malloc/hooks.c (realloc_check): Likewise.
12754
5782a80f
OB
12755 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12756 * malloc/arena.c: Remove PER_THREAD conditional.
12757 [!PER_THREAD]: Remove code.
12758 (ptmalloc_unlock_all2): Likewise.
12759 (ptmalloc_init): Likewise.
12760 (_int_new_arena): Likewise.
12761 (arena_get2): Likewise.
12762 * malloc/hooks.c (__malloc_get_state): Likewise.
12763 (__malloc_set_state): Likewise.
12764 * malloc/malloc.c: Likewise.
12765 (struct malloc_state): Likewise.
12766 (struct malloc_par): Likewise.
12767 (__libc_realloc): Likewise.
12768 (__libc_mallopt): Likewise.
12769
aeb95445
AZ
127702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12771
12772 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12773
e8349efd
OB
127742013-12-09 Ondřej Bílka <neleai@seznam.cz>
12775
12776 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12777 macro to a function. Check for zero perturb_byte.
12778 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12779
f3eeb3fc 12780 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12781 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12782 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12783 force_reg by atomic_forced_read.
12784 * malloc/arena.c (ptmalloc_init): Likewise.
12785 * malloc/hooks.c (top_check): Likewise.
12786
be2f9009
AZ
127872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12788
12789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12790
e7b914bd
MT
127912013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12792
12793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12794
9f0be4f8
JM
127952013-12-08 Joseph Myers <joseph@codesourcery.com>
12796
12797 * math/auto-libm-test-in: Add tests of lgamma.
12798 * math/auto-libm-test-out: Regenerated.
12799 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12800 (M_LOG_2_SQRT_PIl): Likewise.
12801 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12802 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12803 mpfr_f_f1.
12804 (func_calc_desc): Add mpfr_f_f1 union field.
12805 (ARGS1): New macro.
12806 (ARGS2): Likewise.
12807 (ARGS3): Likewise.
12808 (ARGS4): Likewise.
12809 (RET1): Likewise.
12810 (RET2): Likewise.
12811 (CALC): Likewise.
12812 (FUNC): Likewise.
12813 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12814 (test_functions): Add lgamma.
12815 (calc_generic_results): Handle mpfr_f_f1.
12816 * sysdeps/i386/fpu/libm-test-ulps: Update.
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12818
24eeafdb
AZ
128192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12820
12821 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12822 __mpn_add_n for PowerPC64/POWER7.
12823 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12824 __mpn_sub_n for PowerPC64/POWER7.
12825
4a2c0fd4
AZ
12826 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12827 __mpn_addmul_1 for PowerPC64.
12828 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12829 __mpn_submul_1 for PowerPC64.
12830 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12831 for PowerPC64.
12832 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12833 for PowerPC64.
12834
4b5b548c
FS
128352013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12836
12837 [BZ #15089]
12838 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12839
0a3ac0aa
AZ
128402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12841
12842 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12843
ccdc8438
AZ
12844 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12845 add multiarch folders.
12846 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12847 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12848 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12849 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12850 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12851 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12852 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12853 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12854 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12855 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12856 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12863
2e973d99
AZ
12864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12865 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12867 New file.
12868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12869 New file.
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12871 multiarch __ieee754_hypot for PowerPC32.
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12873 New file.
12874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12875 New file.
12876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12877 multiarch __ieee754_hypotf for PowerPC32.
12878
2d9470b2
AZ
12879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12880 long_double_symbol only if __logbl is defined.
12881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12882 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12884 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12886 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12888 path for implementation.
12889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12892 logb, and logbl multiarch implementations for PowerPC32.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12894 file.
12895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12896 file.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12898 multiarch logb for PowerPC32.
12899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12900 file.
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12902 file.
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12904 multiarch logbf for PowerPC32.
12905 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12907 file.
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12909 multiarch logbl implementation for PowerPC32.
12910
5212ffce
AZ
12911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12912 and modff multiarch implementations.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12914 New file.
12915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12916 New file.
12917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12918 multiarch modf for PowerPC32.
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12920 New file.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12922 New file.
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12924 multiarch modff for PowerPC32.
12925
79dccf31
AZ
12926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12927 and lrintf multiarch implementations.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12929 New file.
12930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12931 New file.
12932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12933 multiarch lrint for PowerPC32.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12935 file: multiarch lrintf for PowerPC32.
12936
deb66480
AZ
12937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12938 and lroundf multiarch implementations.
12939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12940 New file.
12941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12942 New file.
12943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12944 New file.
12945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12946 multiarch lround for PowerPC32.
12947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12948 file: multiarch lroundf for PowerPC32.
12949
264b036b
AZ
12950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12951 copysign and copysignf multiarch implementations.
12952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12953 New file.
12954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12955 New file.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12957 file: multiarch copysign for PowerPC32.
12958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12959 file: multiarch copysignf for PowerPC32.
12960
d47db6c9
AZ
12961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12962 and truncf multiarch implementations.
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12964 New file.
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12966 file.
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12968 multiarch trunc for PowerPC32.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12970 New file.
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12972 New file.
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12974 multiarch truncf for PowerPC32.
12975
ddb60b5a
AZ
12976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12977 and roundf multiarch implementations.
12978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12979 New file.
12980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12981 file.
12982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12983 multiarch round for PowerPC32.
12984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12985 New file.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12987 New file.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12989 multiarch roundf for PowerPC32.
12990
bedcf49b
AZ
12991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12992 and floorf multiarch implementations.
12993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12994 New file.
12995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12996 file.
12997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12998 multiarch floor for PowerPC32.
12999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13000 New file.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13002 New file.
13003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13004 multiarch floorf for PowerPC32.
13005
35ae5b40
AZ
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13007 and ceilf multiarch implementations.
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13009 New file.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13011 file.
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13013 multiarch ceil for PowerPC32.
13014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13015 New file.
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13017 file.
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13019 multiarch ceilf for PowerPC32.
13020
ae1a4cd9
AZ
13021 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13022 is defined.
13023 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13024 FINITEF is defined.
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13026 and finitef multiarch implementations.
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13028 New file.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13030 file.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13032 multiarch finite for PowerPC32.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13034 New file.
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13036 file: multiarch finitef for PowerPC32.
13037
64fffd65
AZ
13038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13039 and isinff multiarch implementations.
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13041 file.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13043 file.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13045 multiarch isinf for PowerPC32.
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13047 New file.
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13049 multiarch isinff for PowerPC32.
13050
8e4e7ba2
AZ
13051 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13052 alias when __isnan is defined.
13053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13054 and isnanf multiarch implementations.
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13056 file.
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13058 file.
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13060 file.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13062 file.
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13064 multiarch isnan for PowerPC32.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13066 New file.
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13068 New file.
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13070 multiarch isnanf for PowerPC32.
13071
ddba588e
AZ
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13073 and sqrtf multiarch implementations.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13075 file.
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13077 file.
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13079 multiarch sqrt for PowerPC32.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13081 file.
13082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13083 file.
13084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13085 multiarch sqrtf for PowerPC32.
13086
0f96a2f0
AZ
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13088 and llroundf multiarch implementations.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13090 New file.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13092 New file.
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13094 New file.
13095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13096 file: multiarch llround for PowerPC32.
13097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13098 file: multiarch llroundf for PowerPC32.
13099
c9b5d79e
AZ
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13101 multiarch PowerPC32 fpu implementations.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13103 New file.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13105 New file.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13107 multiarch llrint for PowerPC32.
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13109 New file.
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13111 New file.
13112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13113 file.
13114
9cbb3aab
AZ
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13116
ea5a72f8
AZ
13117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13118 file.
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13120 file.
13121 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13122 file.
13123 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13124 multiarch wordcopy for PPC32.
13125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13126 wordcopy objects.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13128 (__libc_ifunc_impl_list): Likewise.
13129 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13130 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13131 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13132 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13134 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13135
93be09e7
AZ
13136 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13138 file.
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13140 file.
13141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13142 file.
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13144 multiarch wcscpy for PPC32.
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13146 multiarch objects.
13147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13148 (__libc_ifunc_impl_list): Likewise.
13149 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13150 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13151 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13152 sysdeps/powerpc/power6/wcscpy.c.
13153
bb04e529
AZ
13154 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13156 file.
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13158 file.
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13160 file.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13162 multiarch wcsrchr for PPC32.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13164 multiarch objects.
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13166 (__libc_ifunc_impl_list): Likewise.
13167 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13168 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13169 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13170 sysdeps/powerpc/power6/wcsrchr.c.
13171
05b5cd1c
AZ
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13173 file.
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13175 file.
13176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13178 multiarch wcschr for PPc32.
13179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13180 multiarch objects.
13181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13182 (__libc_ifunc_impl_list): Likewise.
13183 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13184 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13185 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13186 sysdeps/powerpc/power6/wcschr.c.
13187
ba964147
AZ
13188 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13190 file.
13191 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13192 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13193 file: multiarch strchr for PPC32.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13195 multiarch objects.
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13197 (__libc_ifunc_impl_list): Likewise.
13198
31c81aaa
AZ
13199 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13200 name.
13201 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13202 file.
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13204 file.
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13206 multiarch strchrnul for PPC32.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13208 multiarch objects.
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13210 (__libc_ifunc_impl_list): Likewise.
13211
0d0607d9
AZ
13212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13213 file.
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13215 multiarch strncasecmp for PPC32.
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13217 file.
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13219 multiarch strncasecmp_l for PPC32.
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13221 strncasecmp multiarch objects.
13222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13223 (__libc_ifunc_impl_list): Likewise.
13224
4dfd5c86
AZ
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13226 file.
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13228 multiarch strncasecmp for PPC32.
13229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13230 New file.
13231 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13232 multiarch strcasecmp_l for PPC32.
13233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13234 multiarch objects.
13235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13236 (__libc_ifunc_impl_list): Likewise.
13237
a19e01a3
AZ
13238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13239 file.
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13241 file.
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13243 multiarch strncmp for PPC32.
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13245 multiarch objects.
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13247 (__libc_ifunc_impl_list): Likewise.
13248
ae9cf7a2
AZ
13249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13250 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13251 file.
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13253 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13255 multiarch objects.
13256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13257 (__libc_ifunc_impl_list): Likewise.
13258
3148bb7d
AZ
13259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13260 file.
13261 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13262 file.
13263 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13265 multiarch objects.
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13267 (__libc_ifunc_impl_list): Likewise.
13268
7af8b946
AZ
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13270 file.
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13272 file.
13273 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13274 multiarch rawmemchr for PPC32.
13275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13276 multiarch objects.
13277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13278 (__libc_ifunc_impl_list): Likewise.
13279
03a6aa6a
AZ
13280 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13281 file.
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13283 file.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13285 file: memrchr multiarch for PPC32.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13287 multiarch objects.
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13289 (__libc_ifunc_impl_list): Likewise.
13290
1c62e6d9
AZ
13291 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13293 file.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13295 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13296 multiarch memchr for PPC32.
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13298 multiarch objects.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13300 (__libc_ifunc_impl_list): Likewise.
13301
87da8bdb
AZ
13302 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13304 file.
13305 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13306 file.
13307 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13308 file: multiarch mempcpy for PPC32.
13309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13310 multiarch objects.
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13312 (__libc_ifunc_impl_list): Likewise.
13313
20ed4714
AZ
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13318 multiarch bzero for PPC32.
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13320 file.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13322 file.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13324 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13325 file: multiarch memset for PPC32.
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13328 memset multiarch objects.
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13330 (__libc_ifunc_impl_list): Likewise.
13331
ab3e3a46
AZ
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13333 file.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13336 memcmp for PPC32.
13337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13339 multiarch objects.
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13341 (__libc_ifunc_impl_list): Likewise.
13342
930de6f0
AZ
13343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13346 file.
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13348 file.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13350 file.
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13352 multiarch memcpy for PPC32.
13353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13354 multiarch objects.
13355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13356 (__libc_ifunc_impl_list): Likewise.
13357
4c628e00
AZ
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13359 support multiarch for POWER/PPC32.
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13361 Likewise.
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13364 Implies file to make multiarch folder appers before the fpu and
13365 default folder for power4 configuration.
13366
f4479220
SP
133672013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 * scripts/bench.pl: Append volatile keyword to type.
13370
8517800f
KK
133712013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13372
13373 * sysdeps/sh/sotruss-lib.c: New file.
13374 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13375
180138f1
AZ
133762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13377
13378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13379
bbf37bdc
JM
133802013-12-05 Joseph Myers <joseph@codesourcery.com>
13381
e47cc4e0
JM
13382 [BZ #6810]
13383 * math/w_tgamma.c: Include <errno.h>.
13384 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13385 * math/w_tgammaf.c: Include <errno.h>.
13386 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13387 * math/w_tgammal.c: Include <errno.h>.
13388 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13389 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13390 underflow. Add more tgamma tests.
13391 * math/auto-libm-test-out: Regenerated.
13392 * sysdeps/i386/fpu/libm-test-ulps: Update.
13393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13394
bbf37bdc
JM
13395 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13396 sin, sinh, tan, tanh, tgamma, y0 and y1.
13397 * math/auto-libm-test-out: Regenerated.
13398 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13399 (TEST_COND_x86): Likewise.
13400 (M_E2l): Remove macro.
13401 (M_E3l): Likewise.
13402 (M_2_SQRT_PIl): Likewise.
13403 (M_SQRT_PIl): Likewise.
13404 (M_1_DIV_El): Likewise.
13405 (log_test_data): Use AUTO_TESTS_f_f.
13406 (log10_test_data): Likewise.
13407 (log1p_test_data): Likewise.
13408 (log2_test_data): Likewise.
13409 (sin_test_data): Likewise.
13410 (sin_tonearest_test_data): Likewise.
13411 (sin_towardzero_test_data): Likewise.
13412 (sin_downward_test_data): Likewise.
13413 (sin_upward_test_data): Likewise.
13414 (sinh_test_data): Likewise.
13415 (sinh_tonearest_test_data): Likewise.
13416 (sinh_towardzero_test_data): Likewise.
13417 (sinh_downward_test_data): Likewise.
13418 (sinh_upward_test_data): Likewise.
13419 (tan_test_data): Likewise.
13420 (tan_tonearest_test_data): Likewise.
13421 (tan_towardzero_test_data): Likewise.
13422 (tan_downward_test_data): Likewise.
13423 (tan_upward_test_data): Likewise.
13424 (tanh_test_data): Likewise.
13425 (tgamma_test_data): Likewise.
13426 (y0_test_data): Likewise.
13427 (y1_test_data): Likewise.
13428 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13429 (special_real_inputs): Add pi/4.
13430 * sysdeps/i386/fpu/libm-test-ulps: Update.
13431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13432
eb5ad6b9
AZ
134332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13434
13435 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13436 "longjmp_target" static probes.
13437 (__longjmp): Rename to __longjmp_symbol.
13438 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13439 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13440 on which longjmp to generate.
13441 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13442 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13443 probe.
13444 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13445 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13446 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13447 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13448 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13449 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13451 __longjmp_symbol based on which __longjmp to generate.
13452 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13453 probe.
13454 (setjmp): Rename to setjmp_symbol.
13455 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13456 (_setjmp): Rename to _setjmp_symbol.
13457 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13458 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13459 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13460 which setjmp to generate.
13461 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13462 "longjmp_target" static probes.
13463
d136c6dc
SP
134642013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13465
9298ecba
SP
13466 * benchtests/README: Add note about output arguments.
13467 * benchtests/bench-sincos.c: Remove file.
13468 * benchtests/sincos-inputs: New file.
13469 * scripts/bench.pl: Identify output arguments and define
13470 static variables for them.
13471
232983e9
SP
13472 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13473
d136c6dc
SP
13474 [BZ #15941]
13475 * Makefile (INSTALL): Add install-plain.texi as the primary
13476 dependency.
13477 * manual/install-plain.texi: New file.
13478 * manual/install.texi: Include node directive only for
13479 non-plaintext output.
13480
699ff837
JM
134812013-12-04 Joseph Myers <joseph@codesourcery.com>
13482
ab07cea8
JM
13483 * stdlib/longlong.h: Update from GCC.
13484
699ff837
JM
13485 [BZ #6807]
13486 [BZ #15901]
13487 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13488 * math/w_j0f.c (y0f): Likewise.
13489 * math/w_j0l.c (__y0l): Likewise.
13490 * math/w_j1.c (y1): Likewise.
13491 * math/w_j1f.c (y1f): Likewise.
13492 * math/w_j1l.c (__y1l): Likewise
13493 * math/w_jn.c (yn): Likewise.
13494 * math/w_jnf.c (ynf): Likewise.
13495 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13496 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13497 value for Bessel function domain errors outside _SVID_ mode.
13498 Adjust sign of return value for yn (negative integer, 0).
13499 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13500 by zero in return for negative x and set sign appropriately for
13501 negative n.
13502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13503 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13504 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13505 expectations in error cases.
13506 (y1_test_data): Likewise.
13507 (yn_test_data): Likewise.
13508 * sysdeps/i386/fpu/libm-test-ulps: Update.
13509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13510
5b118558
UW
135112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13512
13513 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13514 "64" to "64-v1". Add "64-v2".
13515 (abi-64-options): Rename to ...
13516 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13517 (abi-64-condition): Rename to ...
13518 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13519 (abi-64-ld-soname): Rename to ...
13520 (abi-64-v1-ld-soname): ... this.
13521 (abi-64-v2-options): Define.
13522 (abi-64-v2-condition): Likewise.
13523 (abi-64-v2-ld-soname): Likewise.
13524 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13529
61cd8fe4
UW
135302013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13531 Alan Modra <amodra@gmail.com>
13532
13533 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13534 New versions for use with the ELFv2 ABI.
13535 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13536 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13537 declaration.
13538 (struct La_ppc64v2_retval): Likewise.
13539 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13540 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13541 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13542 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13543 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13544 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13545 Do not save or restore CR.
13546 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13547 (_dl_profile_resolve): Do no save or restore CR. Support extended
13548 return values for ELFv2 ABI. Fix location of FPR return registers.
13549 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13550 updated values for _CALL_ELF == 2.
13551 (La_regs, La_retval, int_retval): Likewise.
13552
8b8a692c
UW
135532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13554
13555 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13556 (FRAME_MIN_SIZE_PARM): Likewise.
13557 (FRAME_BACKCHAIN): Likewise.
13558 (FRAME_CR_SAVE): Likewise.
13559 (FRAME_LR_SAVE): Likewise.
13560 (FRAME_TOC_SAVE): Likewise.
13561 (FRAME_PARM_SAVE): Likewise.
13562 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13563 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13564 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13565 (call_mcount_parm_offset): New macro.
13566 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13567 (PROF): Use symbolic stack frame offsets.
13568 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13569 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13570 Redefine in terms of FRAME_MIN_SIZE.
13571 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13572 (_dl_profile_resolve): Likewise. Update comment.
13573 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13574 symbols stack frame offsets.
13575 (__sigsetjmp): Likewise.
13576 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13577 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13578 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13579 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13580
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13582 (FRAME_BACKCHAIN): Remove.
13583 (FRAME_CR_SAVE): Likewise.
13584 (FRAME_LR_SAVE): Likewise.
13585 (FRAME_COMPILER_DW): Likewise.
13586 (FRAME_LINKER_DW): Likewise.
13587 (FRAME_TOC_SAVE): Likewise.
13588 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13589 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13590 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13591 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13593 (CHECK_SP): Use symbolic stack frame offsets.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13595 zone" instead of caller's parameter save area for temp storage.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13597 Likewise. Also, use symbolic stack frame offsets.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13599 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13600 our own stack frame instead of the caller's.
13601 (__socket): Use symbolic stack frame offsets.
13602
122b66de
UW
136032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13604 Alan Modra <amodra@gmail.com>
13605
13606 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13607 Define.
57f41c40
AS
13608 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13609 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13610 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13611 New function.
13612 (elf_machine_fixup_plt): Call it.
13613 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13614 reloc arguments.
13615 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13616 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13617 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13618 r2 before calling target.
13619
696caf1d
UW
136202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13621 Alan Modra <amodra@gmail.com>
13622
13623 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13624 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13625 versions of macros to support ELFv2 ABI.
13626 (LOCALENTRY): New macro.
13627 (ENTRY, EALIGN): Use it.
13628 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13629 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13630 fall through into ENTRY entry point.
13631 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13632 Only define if _CALL_ELF != 2.
13633
13634 (elf_machine_matches_host): Verify ABI version matches.
13635 (RTLD_START): Use LOCALENTRY.
13636 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13637 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13638 (PLT_ENTRY_WORDS): New macro.
13639 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13640 (elf_machine_runtime_setup): Support ELFv2 ABI.
13641 (elf_machine_fixup_plt): Likewise.
13642 (elf_machine_plt_conflict): Likewise.
13643 (resolve_ifunc): Likewise.
13644 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13646 Likewise.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13648 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13650 (makecontext): Support ELFv2 ABI.
13651 * elf/elf.h (EF_PPC64_ABI): Define.
13652
d31beafa
UW
136532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13654
57f41c40
AS
13655 * sysdeps/powerpc/powerpc64/sysdep.h
13656 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13657 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13658 (ENTRY) [ASSEMBLER]: ... but instead here ...
13659 (EALIGN) [ASSEMBLER]: ... and here.
13660 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13661 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13662 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13663 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13664 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13666 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13667 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13669 Use PPC64_LOAD_FUNCPTR.
13670
b525166b
UW
13671 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13672
7ec07d9a
AM
136732013-12-04 Alan Modra <amodra@gmail.com>
13674
13675 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13676 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13677 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13678 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13679
13680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13681 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13682 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13683 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13684 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13685 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13686
5162e7dd
UW
136872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13688
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13690 (__makecontext): Fix incorrect CFI when backtracing out of
13691 context created via makecontext.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13693 (__setcontext): Fix incorrect CFI during switch to new context.
13694 (__novec_setcontext): Likewise.
13695
19e3372b
OB
136962013-12-04 Ondřej Bílka <neleai@seznam.cz>
13697
13698 [BZ #4772]
13699 * time/strptime_l.c (__strptime_internal): Allow modifiers
13700 in strptime.
13701 * time/tst-strptime.c (day_tests): Add testcase.
13702
ecaf142d
SP
137032013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13704
13705 * scripts/bench.pl: Skip over blank lines.
13706
fbf964ae
PE
137072013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13708
13709 [BZ #926]
13710 * manual/time.texi (Calendar Time): Clarify what timezone functions
13711 use.
13712
fa60a674
AZ
137132013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13714
13715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13716
d674f0ef
OB
137172013-12-04 Ondřej Bílka <neleai@seznam.cz>
13718
13719 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13720 implementation.
13721 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13722 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13723 * debug/memset_chk.c (__memset_chk): Likewise.
13724 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13725 * debug/strncpy_chk.c: Likewise.
13726
17dea188
JM
137272013-12-03 Joseph Myers <joseph@codesourcery.com>
13728
749008ff
JM
13729 [BZ #15268]
13730 [BZ #15425]
13731 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13732 (__ieee754_exp): For possibly underflowing results, check size of
13733 result and force underflow exception if required.
13734 * math/auto-libm-test-in: Add more tests of exp.
13735 * math/auto-libm-test-out: Regenerated.
13736 * sysdeps/i386/fpu/libm-test-ulps: Update.
13737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13738
17dea188
JM
13739 [BZ #16283]
13740 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13741 * math/w_exp2f.c (__exp2f): Likewise.
13742 * math/w_exp2l.c (__exp2l): Likewise.
13743 * math/auto-libm-test-in: Do not allow missing errno on exp2
13744 underflow.
13745 * math/auto-libm-test-out: Regenerated.
13746
b20de2c3
OB
137472013-12-03 Ondřej Bílka <neleai@seznam.cz>
13748
13749 [BZ #16274]
13750 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13751 handle filename validation.
13752 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13753 (do_open): Delete.
13754
d8e2dbe3
JM
137552013-12-03 Joseph Myers <joseph@codesourcery.com>
13756
34e16df5
JM
13757 [BZ #6786]
13758 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13759 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13760 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13761 <float.h>.
13762 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13764 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13766 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13768 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13769 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13770 Add more erfc tests.
13771 * math/auto-libm-test-out: Regenerated.
13772 * sysdeps/i386/fpu/libm-test-ulps: Update.
13773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13774
d8e2dbe3
JM
13775 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13776 exp2, expm1, j0 and j1.
13777 * math/auto-libm-test-out: Regenerated.
13778 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13779 (erfc_test_data): Likewise.
13780 (exp_test_data): Likewise.
13781 (exp_tonearest_test_data): Likewise.
13782 (exp_towardzero_test_data): Likewise.
13783 (exp_downward_test_data): Likewise.
13784 (exp_upward_test_data): Likewise.
13785 (exp10_test_data): Likewise.
13786 (exp2_test_data): Likewise.
13787 (expm1_test_data): Likewise.
13788 (j0_test_data): Likewise.
13789 (j1_test_data): Likewise.
13790 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13791 (input_flag_type): Add flag_xfail_rounding.
13792 (input_flags): Add xfail-rounding.
13793 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13794 (output_for_one_input_case): Handle flag_xfail_rounding.
13795 * sysdeps/i386/fpu/libm-test-ulps: Update.
13796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13797
18d14251
AJ
137982013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13799
3d2e6075 13800 [BZ #16289]
18d14251
AJ
13801 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13802 division by 0.
13803
520d437b
SP
138042013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13805
13806 [BZ #16195]
13807 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13808 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13809 (STAP_PROBE0): New macro.
13810 (STAP_PROBE1): Likewise.
13811 (STAP_PROBE2): Likewise.
13812 (STAP_PROBE3): Likewise.
13813 (STAP_PROBE4): Likewise.
13814
416e0145
OB
138152013-12-02 Ondřej Bílka <neleai@seznam.cz>
13816
13817 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13818
9d17796a
SE
138192013-12-02 Steve Ellcey <sellcey@mips.com>
13820
13821 * benchtests/Makefile (bench): Add sqrt.
13822 (LDLIBS-bench-sqrt): New.
13823 * benchtests/sqrt-input: New.
13824
f524d6a8
PS
138252013-12-02 Pavel Simerda <psimerda@redhat.com>
13826
639a0ef8
PS
13827 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13828 (GAIH_EAI): Likewise.
13829 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13830 (gaih_inet): Likewise.
13831 (getaddrinfo): Don't use GAIH_EAI.
13832
f524d6a8
PS
13833 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13834 (struct gaih): Remove definition.
13835
df3aedaf
SP
138362013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13837
13838 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13839 Use HERRNOP directly.
13840
1ab19dec
AZ
138412013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13842
b42ad38d 13843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13844
176b0c79
JM
138452013-11-30 Joseph Myers <joseph@codesourcery.com>
13846
13847 * math/gen-auto-libm-tests.c (test_functions): Add more
13848 single-argument functions.
13849 (special_fill_pi_2): New function.
13850 (special_fill_minus_pi_2): Likewise.
13851 (special_fill_pi_6): Likewise.
13852 (special_fill_minus_pi_6): Likewise.
13853 (special_fill_pi_3): Likewise.
13854 (special_fill_2pi_3): Likewise.
13855 (special_fill_e): Likewise.
13856 (special_fill_1_e): Likewise.
13857 (special_fill_e_minus_1): Likewise.
13858 (special_real_inputs): Add more special inputs.
13859 (output_for_one_input_case): Do not require ERANGE on underflow to
13860 zero if round-to-nearest result does not underflow to zero, unless
13861 exact results required.
13862 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13863 atan, atanh, cbrt, cos and cosh.
13864 * math/auto-libm-test-out: Regenerated.
13865 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13866 (acos_tonearest_test_data): Likewise.
13867 (acos_towardzero_test_data): Likewise.
13868 (acos_downward_test_data): Likewise.
13869 (acos_upward_test_data): Likewise.
13870 (acosh_test_data): Likewise.
13871 (asin_test_data): Likewise.
13872 (asin_tonearest_test_data): Likewise.
13873 (asin_towardzero_test_data): Likewise.
13874 (asin_upward_test_data): Likewise.
13875 (asinh_test_data): Likewise.
13876 (atan_test_data): Likewise.
13877 (atanh_test_data): Likewise.
13878 (cbrt_test_data): Likewise.
13879 (cos_test_data): Likewise.
13880 (cos_tonearest_test_data): Likewise.
13881 (cos_towardzero_test_data): Likewise.
13882 (cos_downward_test_data): Likewise.
13883 (cos_upward_test_data): Likewise.
13884 (cosh_test_data): Likewise.
13885 (cosh_tonearest_test_data): Likewise.
13886 (cosh_towardzero_test_data): Likewise.
13887 (cosh_downward_test_data): Likewise.
13888 (cosh_upward_test_data): Likewise.
13889 * sysdeps/i386/fpu/libm-test-ulps: Update.
13890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13891
ffb536d0
JM
138922013-11-29 Joseph Myers <joseph@codesourcery.com>
13893
2a77a467
JM
13894 [BZ #6787]
13895 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13896 * math/w_exp10f.c (__exp10f): Likewise.
13897 * math/w_exp10l.c (__exp10l): Likewise.
13898 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13899 errno settings in existing tests.
13900
ea3bc4e8
JM
13901 [BZ #14032]
13902 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13903 precision control set to double precision.
13904 * sysdeps/i386/fpu/w_sqrt.c: New file.
13905 * math/auto-libm-test-in: Add more tests.
13906 * math/auto-libm-test-out: Update.
13907
0712c9d8
JM
13908 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13909 (sqrt_test_tonearest): New function.
13910 (sqrt_towardzero_test_data): New variable.
13911 (sqrt_test_towardzero): New function.
13912 (sqrt_downward_test_data): New variable.
13913 (sqrt_test_downward): New function.
13914 (sqrt_upward_test_data): New variable.
13915 (sqrt_test_upward): New function.
13916 (main): Call the new functions.
13917
ffb536d0
JM
13918 * math/gen-auto-libm-tests.c: New file.
13919 * math/auto-libm-test-in: Likewise.
13920 * math/auto-libm-test-out: New generated file.
13921 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13922 variables.
13923 (%beautify): Add generated representations of zero.
13924 (top level): Set $auto_input and call parse_auto_input.
13925 (beautify): Remove trailing "f" from hex float constants.
13926 (parse_args): Handle XFAIL_TEST.
13927 (convert_condition): New function.
13928 (or_value): Likewise.
13929 (or_cond_value): Likewise.
13930 (generate_testfile): Handle AUTO_TESTS_* lines.
13931 (parse_auto_input): New function.
13932 * math/libm-test.inc (XFAIL_TEST): New macro.
13933 (ERRNO_UNCHANGED): Update value.
13934 (ERRNO_EDOM): Likewise.
13935 (ERRNO_ERANGE): Likewise.
13936 (IGNORE_RESULT): Likewise.
13937 (TEST_COND_flt_32): New macro.
13938 (TEST_COND_dbl_64): Likewise.
13939 (TEST_COND_ldbl_96_intel): Likewise.
13940 (TEST_COND_ldbl_96_m68k): Likewise.
13941 (TEST_COND_ldbl_128): Likewise.
13942 (TEST_COND_ldbl_128ibm): Likewise.
13943 (TEST_COND_long32): Likewise.
13944 (TEST_COND_long64): Likewise.
13945 (TEST_COND_before_rounding): Likewise.
13946 (TEST_COND_after_rounding): Likewise.
13947 (enable_test): Handle XFAIL_TEST flag.
13948 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13949 with finite results.
13950 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13951 auto-libm-test-out.
13952
acd98a8e
AK
139532013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13954 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13955
13956 [BZ #16214]
13957 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13958 __tls_get_addr_internal instead of __tls_get_offset in order to
13959 avoid GOT pointer dependency. Make rtld export
13960 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13961 __tls_get_addr since we are a __tls_get_offset platform.
13962 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13963 GOT pointer being set up before.
13964 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13965
3c1c46a6
JM
139662013-11-28 Joseph Myers <joseph@codesourcery.com>
13967
7475aef5
JM
13968 * manual/math.texi (Errors in Math Functions): Document accuracy
13969 goals.
13970
8bca7cd8
JM
13971 [BZ #15004]
13972 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13973 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13988
91a1f3fe
JM
13989 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13990 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13991 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13992 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13993 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13994 Likewise.
13995 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13996 Likewise.
13997 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13998 Likewise.
13999 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14000 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14001 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14002 atomic-feupdateenv and flt-rounds.
14003 * sysdeps/powerpc/nofpu/Versions (libc): Add
14004 __atomic_feholdexcept, __atomic_feclearexcept,
14005 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14006 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14007 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14008 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14009 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14010 here.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14012 Update.
14013
c5df7609
JM
14014 * manual/arith.texi (FP Exceptions): Document that exceptions may
14015 not be raised when matherr is used.
14016 (Math Error Reporting): Document overflow in directed rounding
14017 modes. Document that errno may not be set when finite values are
14018 returned on overflow. Document intent to set errno on underflow
14019 only for underflow to zero.
14020
3c1c46a6
JM
14021 [BZ #16271]
14022 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14023 round-to-nearest then adjust result for other rounding modes.
14024 * include/fenv.h (fegetround): Use libm_hidden_proto.
14025 * math/fegetround.c (fegetround): Use libm_hidden_def.
14026 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14027 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14028 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14029 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14030 Likewise.
14031 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14032 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14033 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14034 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14035
5a4c6d53
SP
140362013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14037
14038 [BZ #16077]
14039 * nss/Versions (libnss_files): Add
14040 _nss_files_gethostbyname3_r.
14041 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14042 New function.
14043 (HOST_DB_LOOKUP): Remove macro.
14044 (_nss_files_gethostbyname_r): Implement function without the
14045 HOST_DB_LOOKUP macro.
14046 (_nss_files_gethostbyname2_r): Likewise.
14047
897b98ba
OB
140482013-11-28 Ondřej Bílka <neleai@seznam.cz>
14049
14050 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14051
6f476861
UB
140522013-11-26 Uros Bizjak <ubizjak@gmail.com>
14053
14054 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14055 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14056 warning.
14057
bd12ab55
AZ
140582013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14059
14060 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14061 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14062 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14063 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14064 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14065 __fe_nomask_env_priv and attribute_hidden.
14066 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14067 (libc_feupdateenv_test_ppc): Likewise.
14068 (libc_feresetround_ppc): Likewise.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14070 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14071 compat_symbol macro.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14073 (__fe_nomask_env): Likewise.
14074 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14075
52bb6543
OB
140762013-11-26 Ondřej Bílka <neleai@seznam.cz>
14077
14078 * string/Makefile: Remove ifunc tests.
14079 * string/test-string.h: Define TEST_IFUNC.
14080 * string/test-bcopy-ifunc.c: Remove.
14081 * string/test-bzero-ifunc.c: Likewise.
14082 * string/test-memccpy-ifunc.c: Likewise.
14083 * string/test-memchr-ifunc.c: Likewise.
14084 * string/test-memcmp-ifunc.c: Likewise.
14085 * string/test-memcpy-ifunc.c: Likewise.
14086 * string/test-memmem-ifunc.c: Likewise.
14087 * string/test-memmove-ifunc.c: Likewise.
14088 * string/test-mempcpy-ifunc.c: Likewise.
14089 * string/test-memrchr-ifunc.c: Likewise.
14090 * string/test-memset-ifunc.c: Likewise.
14091 * string/test-rawmemchr-ifunc.c: Likewise.
14092 * string/test-stpcpy-ifunc.c: Likewise.
14093 * string/test-stpncpy-ifunc.c: Likewise.
14094 * string/test-strcasecmp-ifunc.c: Likewise.
14095 * string/test-strcasestr-ifunc.c: Likewise.
14096 * string/test-strcat-ifunc.c: Likewise.
14097 * string/test-strchr-ifunc.c: Likewise.
14098 * string/test-strchrnul-ifunc.c: Likewise.
14099 * string/test-strcmp-ifunc.c: Likewise.
14100 * string/test-strcpy-ifunc.c: Likewise.
14101 * string/test-strcspn-ifunc.c: Likewise.
14102 * string/test-strlen-ifunc.c: Likewise.
14103 * string/test-strncasecmp-ifunc.c: Likewise.
14104 * string/test-strncat-ifunc.c: Likewise.
14105 * string/test-strncmp-ifunc.c: Likewise.
14106 * string/test-strncpy-ifunc.c: Likewise.
14107 * string/test-strnlen-ifunc.c: Likewise.
14108 * string/test-strpbrk-ifunc.c: Likewise.
14109 * string/test-strrchr-ifunc.c: Likewise.
14110 * string/test-strspn-ifunc.c: Likewise.
14111 * string/test-strstr-ifunc.c: Likewise.
14112
ab260039 141132013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14114
14115 * benchtests/Makefile: Remove ifunc tests.
14116 * benchtests/bench-string.h: Define TEST_IFUNC.
14117 * benchtests/bench-bcopy-ifunc.c: Remove.
14118 * benchtests/bench-bzero-ifunc.c: Likewise.
14119 * benchtests/bench-memccpy-ifunc.c: Likewise.
14120 * benchtests/bench-memchr-ifunc.c: Likewise.
14121 * benchtests/bench-memcmp-ifunc.c: Likewise.
14122 * benchtests/bench-memcpy-ifunc.c: Likewise.
14123 * benchtests/bench-memmem-ifunc.c: Likewise.
14124 * benchtests/bench-memmove-ifunc.c: Likewise.
14125 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14126 * benchtests/bench-memrchr-ifunc.c: Likewise.
14127 * benchtests/bench-memset-ifunc.c: Likewise.
14128 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14129 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14130 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14131 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14132 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14133 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14134 * benchtests/bench-strcat-ifunc.c: Likewise.
14135 * benchtests/bench-strchr-ifunc.c: Likewise.
14136 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14137 * benchtests/bench-strcmp-ifunc.c: Likewise.
14138 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14139 * benchtests/bench-strcpy-ifunc.c: Likewise.
14140 * benchtests/bench-strcspn-ifunc.c: Likewise.
14141 * benchtests/bench-strlen-ifunc.c: Likewise.
14142 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14143 * benchtests/bench-strncat-ifunc.c: Likewise.
14144 * benchtests/bench-strncmp-ifunc.c: Likewise.
14145 * benchtests/bench-strncpy-ifunc.c: Likewise.
14146 * benchtests/bench-strnlen-ifunc.c: Likewise.
14147 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14148 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14149 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14150 * benchtests/bench-strspn-ifunc.c: Likewise.
14151 * benchtests/bench-strstr-ifunc.c: Likewise.
14152
141532013-11-26 Ondřej Bílka <neleai@seznam.cz>
14154
ab260039
OB
14155 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14156
d1d9eaf4 141572013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14158
d1d9eaf4
OB
14159 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14160 * rt/aio.h: Likewise.
14161 * sysdeps/gnu/bits/utmp.h: Likewise.
14162 * sysdeps/gnu/bits/utmpx.h: Likewise.
14163 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14164 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14165 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14166 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14167 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14168 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14169 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14170 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14173 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14175 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14177 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14178 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14179 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14180 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14181 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14182 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14184 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14186 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14187 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14192 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14197 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14198 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14199 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14200 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14201 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14202 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14203 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14204 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14205
a7624ed9
CD
142062013-11-25 Carlos O'Donell <carlos@redhat.com>
14207
14208 [BZ #16245]
14209 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14210 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14211
63cfe52b
JM
142122013-11-25 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14215 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14216 Likewise.
14217
41e8926a
AZ
142182013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14219
14220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14221 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14222 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14223 (__fesetround): Remove define.
14224 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14225 rounding and exceptions handling.
14226 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14227 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14228 (__fe_nomask_env): Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14230 __fegetround instead of fegetround.
14231 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14233
6851bd4d
RM
142342013-11-21 Roland McGrath <roland@hack.frob.com>
14235
070906ff
RM
14236 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14237 it's there.
14238
6851bd4d
RM
14239 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14240
84ae135d
MI
142412013-11-21 Meador Inge <meadori@codesourcery.com>
14242
14243 [BZ #11157]
14244 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14245 (encrypt_r): Likewise.
14246 * malloc/obstack.h (obstack_free): Likewise.
14247 * posix/unistd.h (encrypt): Likewise.
14248
daf75146
GM
142492013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14250
14251 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14252 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14253 DL_CALL_DT_FINI() that call the functions directly.
14254 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14255 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14256 * elf/dl-fini.c: Likewise.
14257
10ad46bc
OB
142582013-11-20 Ondřej Bílka <neleai@seznam.cz>
14259
14260 * malloc/hooks.c (memalign_check): Add alignment rounding.
14261 * malloc/malloc.c (_mid_memalign): New function.
14262 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14263 Implement by calling _mid_memalign.
14264 * manual/probes.texi (Memory Allocation Probes): Remove
14265 memory_valloc_retry and memory_pvalloc_retry.
14266
f3fd2628
SP
142672013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14268
4712799f
SP
14269 * locale/programs/locarchive.c (open_archive): Add const
14270 qualifier to ARCHIVEFNAME and copy default fname to
14271 DEFAULT_FNAME.
14272
0417b20f
SP
14273 [BZ #15601]
14274 * libio/tst-widetext.input: Rename Oriya to Odia.
14275 * locale/iso-639.def: Likewise.
14276
f3fd2628
SP
14277 * manual/probes.texi (Mathematical Function Probes): Add
14278 documentation for sin, cos, asin and acos probes.
14279 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14280 (__sin32): Add slowasin probe.
14281 (__cos32): Add slowacos probe.
14282 (__mpsin): Add slowsin probe.
14283 (__mpcos): Add slowcos probe.
14284
73c1ce4f
JM
142852013-11-19 Joseph Myers <joseph@codesourcery.com>
14286
14287 [BZ #15483]
14288 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14289 thread-local __sim_exceptions_thread and global
14290 __sim_exceptions_global.
14291 (__sim_disabled_exceptions): Change to thread-local
14292 __sim_disabled_exceptions_thread and global
14293 __sim_disabled_exceptions_global.
14294 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14295 and global __sim_round_mode_global.
14296 (__simulate_exceptions): Use thread-local floating-point state and
14297 set global state from it as needed.
14298 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14299 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14300 __sim_round_mode_thread.
14301 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14302 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14303 and global __sim_exceptions_global.
14304 (__sim_disabled_exceptions): Change to thread-local
14305 __sim_disabled_exceptions_thread and global
14306 __sim_disabled_exceptions_global.
14307 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14308 and global __sim_round_mode_global.
14309 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14310 (SIM_SET_GLOBAL): Likewise.
14311 * sysdeps/powerpc/soft-fp/sfp-machine.h
14312 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14313 __sim_round_mode_thread.
14314 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14315 __sim_disabled_exceptions_thread.
14316 (__sim_exceptions): Change to __sim_exceptions_thread.
14317 (__sim_disabled_exceptions): Change to
14318 __sim_disabled_exceptions_thread.
14319 (__sim_round_mode): Change to __sim_round_mode_thread.
14320 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14321 thread-local floating-point state and set global state from it as
14322 needed.
14323 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14324 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14325 (__sim_disabled_exceptions): Remove extern declaration.
14326 (feenableexcept): Use thread-local floating-point state and set
14327 global state from it as needed.
14328 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14329 extern declaration.
14330 (__sim_disabled_exceptions): Likewise.
14331 (__sim_round_mode): Likewise.
14332 (__fegetenv): Use thread-local floating-point state.
14333 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14334 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14335 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14336 floating-point state and set global state from it as needed.
14337 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14338 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14339 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14340 Likewise.
14341 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14342 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14343 Likewise.
14344 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14345 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14346 Use __sim_round_mode_thread.
14347 * math/test-fenv-tls.c: New file.
14348 * math/Makefile (tests): Add test-fenv-tls.
14349 ($(objpfx)test-fenv-tls): Depend on
14350 $(common-objpfx)nptl/libpthread.so.
14351
b5449b12
AS
143522013-11-19 Andreas Schwab <schwab@suse.de>
14353
14354 * locale/programs/locale.c (show_info): Decode wordarray elements.
14355 * locale/categories.def (LC_MONETARY): Add element for
14356 _NL_MONETARY_CRNCYSTR.
14357 * locale/C-monetary.c (conversion_rate): New variable.
14358 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14359 element.
14360
e186536b
CM
143612013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14362
14363 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14364 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14365
5c349950
PP
143662013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14367
14368 * elf/Makefile (tst-auxv): New test.
14369 * elf/tst-auxv.c: New
14370 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14371
699df45b
JM
143722013-11-18 Joseph Myers <joseph@codesourcery.com>
14373
14374 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14375 (hidden_proto): Caller changed.
14376 (hidden_tls_proto): New macro.
14377 (libc_hidden_tls_proto): Likewise.
14378 (rtld_hidden_tls_proto): Likewise.
14379 (libm_hidden_tls_proto): Likewise.
14380 (libresolv_hidden_tls_proto): Likewise.
14381 (librt_hidden_tls_proto): Likewise.
14382 (libdl_hidden_tls_proto): Likewise.
14383 (libnss_files_hidden_tls_proto): Likewise.
14384 (libnsl_hidden_tls_proto): Likewise.
14385 (libnss_nisplus_hidden_tls_proto): Likewise.
14386 (libutil_hidden_tls_proto): Likewise.
14387
b7589107
OB
143882013-11-18 Ondřej Bílka <neleai@seznam.cz>
14389
14390 [BZ #10253]
14391 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14392 (decompose_rpath): Defer expansion to fillin_rpath.
14393 (_dl_init_paths): Pass linkmap to fillin_rpath.
14394
250c23bd
RS
143952013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14396
14397 * benchtests/Makefile: Add strsep.
14398 * benchtests/bench-strsep.c: New file: strsep benchtest.
14399 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14400
a7931fcf
AS
144012013-11-18 Andreas Schwab <schwab@suse.de>
14402
14403 * locale/programs/locale.c (show_info) [case byte]: Check for
14404 '\377' instead of '\177'.
14405 * locale/C-monetary.c (not_available): Always use "\377".
14406 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14407 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14408 detect unavailable sign_posn locale elements.
14409 * locale/localeconv.c (__localeconv): For grouping and
14410 mon_grouping handle "\177" and "\377" like no grouping.
14411 (INT_ELEM): New macro. Use it to set all numeric members.
14412 * locale/programs/ld-monetary.c (monetary_read)
14413 <tok_mon_grouping>: Normalize single -1 to the empty string.
14414 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14415 Likewise.
14416
728dab0e
OB
144172013-11-07 Ondřej Bílka <neleai@seznam.cz>
14418
14419 [BZ #16055]
14420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14421 when we match (nil).
14422 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14423
66294491
JM
144242013-11-16 Joseph Myers <joseph@codesourcery.com>
14425
ce665817
JM
14426 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14427 (NO_TEST_INLINE): Update value.
14428 (ERRNO_UNCHANGED): Likewise.
14429 (ERRNO_EDOM): Likewise.
14430 (ERRNO_ERANGE): Likewise.
14431 (IGNORE_RESULT): Likewise.
14432 (check_float_internal): Check signs of NaN results if
14433 TEST_NAN_SIGN used.
14434 (check_complex): Pass TEST_NAN_SIGN flag through to second
14435 check_float_internal call.
14436 (copysign_test_data): Add tests with quiet NaNs as second
14437 argument. Use TEST_NAN_SIGN.
14438 (fabs_test_data): Add test of negative quiet NaN argument. Use
14439 TEST_NAN_SIGN.
14440 (signbit_test_data): Add tests of quiet NaN argument.
14441 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14442
ee1466a9
JM
14443 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14444 $ignore_result.
14445 (parse_args): Handle function results specified as IGNORE.
14446 * math/libm-test.inc (IGNORE_RESULT): New macro.
14447 (check_float_internal): Do not check numerical result if flag
14448 IGNORE_RESULT set.
14449 (check_complex): Pass through IGNORE_RESULT to second
14450 check_float_internal call.
14451 (check_int): Do not check numerical result if flag IGNORE_RESULT
14452 set.
14453 (check_long): Likewise.
14454 (check_bool): Likewise.
14455 (check_longlong): Likewise.
14456 (lrint_test_data): Add tests of infinite and NaN arguments.
14457 (lrint_tonearest_test_data): Likewise.
14458 (lrint_towardzero_test_data): Likewise.
14459 (lrint_downward_test_data): Likewise.
14460 (lrint_upward_test_data): Likewise.
14461 (llrint_test_data): Likewise.
14462 (llrint_tonearest_test_data): Likewise.
14463 (llrint_towardzero_test_data): Likewise.
14464 (llrint_downward_test_data): Likewise.
14465 (llrint_upward_test_data): Likewise.
14466 (lround_test_data): Likewise.
14467 (llround_test_data): Likewise.
14468
14407b7e
JM
14469 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14470 (ERRNO_UNCHANGED): Update value.
14471 (ERRNO_EDOM): Likewise.
14472 (ERRNO_ERANGE): Likewise.
14473 (NO_TEST_INLINE_FLOAT): New macro.
14474 (NO_TEST_INLINE_DOUBLE): Likewise.
14475 (enable_test): New function.
14476 (RUN_TEST_f_f): Check enable_test before running test.
14477 (RUN_TEST_2_f): Likewise.
14478 (RUN_TEST_fff_f): Likewise.
14479 (RUN_TEST_c_f): Likewise.
14480 (RUN_TEST_f_f1): Likewise.
14481 (RUN_TEST_fF_f1): Likewise.
14482 (RUN_TEST_fI_f1): Likewise.
14483 (RUN_TEST_ffI_f1): Likewise.
14484 (RUN_TEST_c_c): Likewise.
14485 (RUN_TEST_cc_c): Likewise.
14486 (RUN_TEST_f_i): Likewise.
14487 (RUN_TEST_f_i_tg): Likewise.
14488 (RUN_TEST_ff_i_tg): Likewise.
14489 (RUN_TEST_f_b): Likewise.
14490 (RUN_TEST_f_b_tg): Likewise.
14491 (RUN_TEST_f_l): Likewise.
14492 (RUN_TEST_f_L): Likewise.
14493 (RUN_TEST_fFF_11): Likewise.
14494 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14495 conditionals.
14496 (cosh_test_data): Likewise.
14497 (exp_test_data): Likewise.
14498 (expm1_test_data): Likewise.
14499 (hypot_test_data): Likewise.
14500 (pow_test_data): Likewise.
14501 (sinh_test_data): Likewise.
14502 (tanh_test_data): Likewise.
14503 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14504 flags argument.
14505
ca07f197
JM
14506 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14507 tests with quiet NaN input and output.
14508 (acosh_test_data): Likewise.
14509 (asin_test_data): Likewise.
14510 (asinh_test_data): Likewise.
14511 (atan_test_data): Likewise.
14512 (atanh_test_data): Likewise.
14513 (atan2_test_data): Likewise.
14514 (cbrt_test_data): Likewise.
14515 (cos_test_data): Likewise.
14516 (cosh_test_data): Likewise.
14517 (erf_test_data): Likewise.
14518 (erfc_test_data): Likewise.
14519 (exp_test_data): Likewise.
14520 (exp10_test_data): Likewise.
14521 (exp2_test_data): Likewise.
14522 (expm1_test_data): Likewise.
14523 (hypot_test_data): Likewise.
14524 (j0_test_data): Likewise.
14525 (j1_test_data): Likewise.
14526 (jn_test_data): Likewise.
14527 (lgamma_test_data): Likewise.
14528 (log_test_data): Likewise.
14529 (log10_test_data): Likewise.
14530 (log1p_test_data): Likewise.
14531 (log2_test_data): Likewise.
14532 (pow_test_data): Likewise.
14533 (scalb_test_data): Likewise.
14534 (sin_test_data): Likewise.
14535 (sincos_test_data): Likewise.
14536 (sinh_test_data): Likewise.
14537 (tan_test_data): Likewise.
14538 (tanh_test_data): Likewise.
14539 (tgamma_test_data): Likewise.
14540 (y0_test_data): Likewise.
14541 (y1_test_data): Likewise.
14542 (yn_test_data): Likewise.
14543
66294491
JM
14544 [BZ #16167]
14545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14546 argument being NaN and avoid computations with second argument in
14547 that case.
14548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14550 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14551
1820b143
CL
145522013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14553
14554 * locale/iso-639.def: Add Chitwani Tharu (the).
14555
714bd261
AS
145562013-11-14 Andreas Schwab <schwab@suse.de>
14557
14558 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14559 word instead of empty string.
14560
7ab44563
AZ
145612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14564 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14566 (__fe_nomask_env): Likewise.
14567
e8470ea2
SE
145682013-11-13 Steve Ellcey <sellcey@mips.com>
14569
14570 * benchtests/bench-timing.h: Include time.h.
14571
17c1d9f0
L
145722013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14573
14574 [BZ #15997]
14575 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14576 to 3.4.0 for x32.
14577 * sysdeps/unix/sysv/linux/configure: Regenerated.
14578
9310c284
JM
145792013-11-13 Joseph Myers <joseph@codesourcery.com>
14580
14581 [BZ #16151]
14582 * stdlib/strtod_l.c (round_and_return): Do not consider
14583 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14584 exponent one less than half the least subnormal exponent.
14585 * stdlib/test-strtod-round-data: Add more tests.
14586 * stdlib/tst-strtod-round.c (tests): Regenerated.
14587
7a2ad8cf
AZ
145882013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14589
14590 [BZ #14143]
14591 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14592 (__fe_mask_env): Likewise.
14593 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14594 libm_hidden_proto and add function prototype.
14595 (__fe_mask_env): Add function prototype.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14597 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14599 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14601 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14602
50727aa7
MS
146032013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14604
b2f386c1 14605 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14606 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14607
a615be46
MS
146082013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14609
14610 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14611 of htab_find_slot().
14612
7ddace62
DM
146132013-11-11 David S. Miller <davem@davemloft.net>
14614
14615 [BZ #16150]
14616 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14617 symbol in the non-vis3 case in static builds.
14618 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14619 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14620 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14621 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14622
9182aa67
JK
146232013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14624
14625 [BZ #387]
14626 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14627 it is empty.
14628
450a2e2d
AZ
146292013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14630
b2f386c1
SP
14631 * benchtests/Makefile: Add bench-strtod.
14632 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14633
8ec3f656
AS
146342013-11-11 Andreas Schwab <schwab@suse.de>
14635
14636 [BZ #16153]
14637 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14638 terminating NUL in key length.
14639
76a9b998
AZ
146402013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14641
14642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14643 Add artificial ODP entry for vDSO symbol for PPC64.
14644 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14645 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14646
e4368156
OB
146472013-11-07 Ondřej Bílka <neleai@seznam.cz>
14648
14649 [BZ #15374]
14650 * nss/getent.c (services_keys): Recognize services starting with digit.
14651
8d6bb57c
DM
146522013-11-06 David S. Miller <davem@davemloft.net>
14653
14654 [BZ #15985]
14655 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14656 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14657
e256c421
WN
146582013-11-06 Will Newton <will.newton@linaro.org>
14659
14660 * manual/memory.texi (Malloc Examples): Remove register
14661 keyword from examples.
14662
f6e12daa 146632013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14664
f6e12daa 14665 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14666
9d880655
AS
146672013-11-04 Joseph Myers <joseph@codesourcery.com>
14668
fd2f9486 14669 [BZ #6981]
9d880655
AS
14670 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14671 depending on [__GCC_IEC_559 > 0].
14672 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14673 depending on [__GCC_IEC_559_COMPLEX > 0].
14674
ae129d3c
CL
146752013-11-03 Chris Leonard <cjl@sugarlabs.org>
14676
14677 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14678 to iso-639.def.
14679
4a15c2a4 146802013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14681
14682 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14683
8b35e35d
OB
146842013-11-01 Ondřej Bílka <neleai@seznam.cz>
14685
14686 [BZ #16112]
14687 * malloc/malloc (malloc_info): Do not handle first bin as
14688 special case.
14689
1d70fd6c
CL
146902013-11-01 Chris Leonard <cjl@sugarlabs.org>
14691
14692 * locale/iso-639.def: Add Central Nahuatl (nhn).
14693
8c5c2600
BH
146942013-11-01 Bruno Haible <bruno@clisp.org>
14695
14696 [BZ #7003]
14697 * manual/math.texi (BSD Random): Specify range upper bound as
14698 in POSIX.
14699
da5579c2
CL
147002013-10-31 Chris Leonard <cjl@sugarlabs.org>
14701
14702 * locale/iso-639.def: Add Meadow Mari (mhr).
14703
5d30d853
OB
147042013-10-31 Ondřej Bílka <neleai@seznam.cz>
14705
14706 [BZ #14752], [BZ #15763]
14707 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14708 Validate name.
14709 * rt/tst_shm.c: Add test for escaping directory.
14710
a4966c61
AS
147112013-10-31 Andreas Schwab <schwab@suse.de>
14712
8a43e768 14713 [BZ #15917]
a4966c61
AS
14714 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14715 followed by 'x' as part of digit sequence.
14716 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14717
28d708c4
MAP
147182013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14719
14720 [BZ #16037]
14721 * configure.ac: allow GNU Make 4.0 and greater.
14722 * configure: Regenerated.
14723
a56ee40b
WN
147242013-10-30 Will Newton <will.newton@linaro.org>
14725
14726 [BZ #16038]
14727 * malloc/hooks.c (memalign_check): Limit alignment to the
14728 maximum representable power of two.
14729 * malloc/malloc.c (__libc_memalign): Likewise.
14730 * malloc/tst-memalign.c (do_test): Add test for very
14731 large alignment values.
14732 * malloc/tst-posix_memalign.c (do_test): Likewise.
14733
c6e4925d
OB
147342013-10-30 Ondřej Bílka <neleai@seznam.cz>
14735
14736 [BZ #11087]
14737 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14738 (munmap_chunk): Likewise.
14739 (mremap_chunk): Likewise.
14740
147412013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14742
8a43e768 14743 [BZ #15799]
bbea82f7
OB
14744 * stdlib/div.c (div): Remove obsolete code.
14745 * stdlib/ldiv.c (ldiv): Likewise.
14746 * stdlib/lldiv.c (lldiv): Likewise.
14747
977f4b31
SP
147482013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14749
14750 [BZ #16071]
14751 * nss/nss_files/files-XXX.c (get_contents_ret): New
14752 enumerator.
14753 (get_contents): New function.
14754 (internal_getent): Use it. Expand size of LINEBUFLEN.
14755
cb8a6dbd
MF
147562013-10-30 Mike Frysinger <vapier@gentoo.org>
14757
14758 * configure.in: Moved to ...
14759 * configure.ac: ... here. Change reference to configure.in
14760 to configure.ac.
14761 * sysdeps/arm/preconfigure.ac: ... here.
14762 configure.in to configure.ac.
14763 * sysdeps/gnu/configure.in: Moved to ...
14764 * sysdeps/gnu/configure.ac: ... here.
14765 * sysdeps/i386/configure.in: Moved to ...
14766 * sysdeps/i386/configure.ac: ... here.
14767 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14768 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14769 * sysdeps/mach/configure.in: Moved to ...
14770 * sysdeps/mach/configure.ac: ... here.
14771 * sysdeps/mach/hurd/configure.in: Moved to ...
14772 * sysdeps/mach/hurd/configure.ac: ... here.
14773 * sysdeps/powerpc/configure.in: Moved to ...
14774 * sysdeps/powerpc/configure.ac: ... here.
14775 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14776 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14777 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14778 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14779 * sysdeps/s390/s390-32/configure.in: Moved to ...
14780 * sysdeps/s390/s390-32/configure.ac: ... here.
14781 * sysdeps/s390/s390-64/configure.in: Moved to ...
14782 * sysdeps/s390/s390-64/configure.ac: ... here.
14783 * sysdeps/sh/configure.in: Moved to ...
14784 * sysdeps/sh/configure.ac: ... here.
14785 * sysdeps/sparc/configure.in: Moved to ...
14786 * sysdeps/sparc/configure.ac: ... here.
14787 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14788 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14789 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14790 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14791 * sysdeps/x86_64/configure.in: Moved to ...
14792 * sysdeps/x86_64/configure.ac: ... here.
14793 * sysdeps/x86_64/preconfigure.in: Moved to ...
14794 * sysdeps/x86_64/preconfigure.ac: ... here.
14795 * aclocal.m4: Change reference to configure.in to configure.ac.
14796 * config.h.in: Likewise.
14797 * manual/install.texi: Likewise.
14798 * manual/maint.texi: Likewise.
14799 * Makefile: Likewise.
14800 * malloc/Makefile: Likewise.
14801 * nscd/Makefile: Likewise.
14802 * Makeconfig: Change reference to configure.in and
14803 preconfigure.in to configure.ac and preconfigure.ac
14804 respectively.
14805 * INSTALL: Regenerated.
14806 * configure: Likewise.
14807 * sysdeps/gnu/configure: Likewise.
14808 * sysdeps/i386/configure: Likewise.
14809 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14810 * sysdeps/mach/configure: Likewise.
14811 * sysdeps/mach/hurd/configure: Likewise.
14812 * sysdeps/powerpc/configure: Likewise.
14813 * sysdeps/powerpc/powerpc32/configure: Likewise.
14814 * sysdeps/powerpc/powerpc64/configure: Likewise.
14815 * sysdeps/s390/s390-32/configure: Likewise.
14816 * sysdeps/s390/s390-64/configure: Likewise.
14817 * sysdeps/sh/configure: Likewise.
14818 * sysdeps/sparc/configure: Likewise.
14819 * sysdeps/unix/sysv/linux/configure: Likewise.
14820 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14821 * sysdeps/x86_64/configure: Likewise.
14822 * sysdeps/x86_64/preconfigure: Likewise.
14823
36a4953a
AS
148242013-10-29 Andreas Schwab <schwab@suse.de>
14825
14826 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14827
c79a1204
SP
148282013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14829
dfa1b402
SP
14830 * benchtests/pow-inputs: Add new inputs.
14831
54f73d9c
SP
14832 * benchtests/exp-inputs: Add new inputs.
14833
c79a1204
SP
14834 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14835 conditional check for return value.
14836 (__cos32): Likewise.
14837
67beb545 148382013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14839
14840 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14841 to provide a boost for large inputs with word alignment.
14842 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14843 implementation based on optimized PPC64 strcpy.
14844 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14845 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14846 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14847 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14848
151659f6
OB
148492013-10-25 Ondřej Bílka <neleai@seznam.cz>
14850
482a077e 14851 [BZ #2801]
151659f6
OB
14852 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14853
10b0f26b
OB
148542013-10-25 Ondřej Bílka <neleai@seznam.cz>
14855
14856 [BZ #14876]
14857 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14858 * time/tst-strptime.c (day_tests): Add testcase.
14859
ca42d35e
OB
148602013-10-25 Ondřej Bílka <neleai@seznam.cz>
14861
482a077e 14862 [BZ #14029]
ca42d35e
OB
14863 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14864
52e6d801
FB
148652013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14866
14867 [BZ #16074]
14868 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14869 MAP_FAILED on error.
14870
7cbcdb36
SP
148712013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14872
14873 [BZ #16072]
14874 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14875 heap for large requests.
14876
894f3f10
AM
148772013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14878
14879 [BZ #9954]
14880 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14881 result if the result has no associated interface.
14882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14883 interface for all 127.X.Y.Z addresses.
14884
b85545a6
CL
148852013-10-24 Chris Leonard <cjl@sugarlabs.org>
14886
14887 * locale/iso-639.def: Add Ligurian (lij)
14888
d1f23d46
OB
148892013-10-21 Ondřej Bílka <neleai@seznam.cz>
14890
14891 [BZ #15825]
14892 * sunrpc/rpc_main.c: Document rpcgen -5.
14893
4db5b08f
MS
148942013-10-19 Michael Stahl <mstahl@redhat.com>
14895
14896 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14897
a471e96a
OB
148982013-10-19 Ondřej Bílka <neleai@seznam.cz>
14899
d1f23d46 14900 [BZ #10278]
a471e96a
OB
14901 * posix/glob.c: Match only directories when trailing slash is present.
14902 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14903 (main): Add testcase.
14904
45c30c61
OB
149052013-10-19 Ondřej Bílka <neleai@seznam.cz>
14906
14907 [BZ #15670]
14908 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14909
484c12fb
CD
149102013-10-18 Carlos O'Donell <carlos@redhat.com>
14911
3d7dc513
CD
14912 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14913 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14914 AUTH_DES and cindex for FIPS 140-2.
14915 (DES Encryption): Add cindex FIPS 46-3.
14916
484c12fb
CD
14917 * locale/locarchive.h (struct locarhandle): Add fname.
14918 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14919 if an optional argument was specified to --list-archive,
14920 otherwise NULL.
14921 * locale/programs/locarchive.c (show_archive_content): Take new
14922 argument fname and pass it via ah.fname to open_archive.
14923 * locale/programs/localedef.h: Update decl.
14924 (open_archive): If AH->fname is non-null, open that file
14925 rather than the default file name, and don't ignore ENOENT.
14926 (create_archive): Set AH.fname to NULL.
14927 (delete_locales_from_archive): Likewise.
14928 (add_locales_to_archive): Likewise.
14929 * locale/programs/locfile.c (write_all_categories): Likewise.
14930
3c8325fb
JM
149312013-10-18 Joseph Myers <joseph@codesourcery.com>
14932 Aldy Hernandez <aldyh@redhat.com>
14933
14934 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14935 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14936 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14937 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14938 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14941 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14942 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14944 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14946 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14947 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14948 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14949 Likewise.
14950 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14951 Likewise.
14952 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14953 Likewise.
14954 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14955 Likewise.
14956 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14958 Likewise.
14959 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14960 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14961 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14962 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14963 Likewise.
14964 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14965 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14966 * sysdeps/powerpc/preconfigure: Likewise.
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14968 Likewise.
14969 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14970 Replace contents of file by #include of <fenv_libc.h>.
14971 * sysdeps/powerpc/soft-fp/sfp-machine.h
14972 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14973 and <sys/prctl.h>.
14974 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14987 Allow copysignl PLT reference to be missing.
14988
5abe0682
RS
149892013-10-18 Richard Sandiford <richard@codesourcery.com>
14990 Joseph Myers <joseph@codesourcery.com
14991
14992 [BZ #15948]
14993 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14994 single character.
14995 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14996
c7738d08
SP
149972013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14998
14999 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15000 * elf/tst-tls1.c: Likewise.
15001 * elf/tst-tls10.h: Likewise.
15002 * elf/tst-tls14.c: Likewise.
15003 * elf/tst-tls2.c: Likewise.
15004 * elf/tst-tls3.c: Likewise.
15005 * elf/tst-tls4.c: Likewise.
15006 * elf/tst-tls5.c: Likewise.
15007 * elf/tst-tls6.c: Likewise.
15008 * elf/tst-tls7.c: Likewise.
15009 * elf/tst-tls8.c: Likewise.
15010 * elf/tst-tls9.c: Likewise.
15011 * elf/tst-tlsmod1.c: Likewise.
15012 * elf/tst-tlsmod13.c: Likewise.
15013 * elf/tst-tlsmod13a.c: Likewise.
15014 * elf/tst-tlsmod14a.c: Likewise.
15015 * elf/tst-tlsmod16a.c: Likewise.
15016 * elf/tst-tlsmod16b.c: Likewise.
15017 * elf/tst-tlsmod2.c: Likewise.
15018 * elf/tst-tlsmod3.c: Likewise.
15019 * elf/tst-tlsmod4.c: Likewise.
15020 * elf/tst-tlsmod5.c: Likewise.
15021 * elf/tst-tlsmod6.c: Likewise.
15022
0bfcf2c7
OB
150232013-10-18 Ondřej Bílka <neleai@seznam.cz>
15024
15025 [BZ #12486]
15026 * malloc/malloc.c: remove checks for statistics.
15027
264aad1e
OB
150282013-10-17 Ondřej Bílka <neleai@seznam.cz>
15029
15030 [BZ #15277]
15031 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15032 * inet/tst-network.c: Add testcase.
15033
b957ced8
AS
150342013-10-17 Andreas Schwab <schwab@suse.de>
15035
15036 [BZ #15218]
15037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15038 to determine canonical name.
15039
c5d5d574
OB
150402013-10-17 Ondřej Bílka <neleai@seznam.cz>
15041
15042 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15043 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15066 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15067 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15072 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15089 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15091 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15092 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15100
e5c2c2d0
JM
151012013-10-17 Joseph Myers <joseph@codesourcery.com>
15102
15103 [BZ #16041]
15104 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15105 make result into a quiet NaN.
15106
51ca9e29
JM
151072013-10-16 Joseph Myers <joseph@codesourcery.com>
15108
15109 * soft-fp/adddf3.c: Fix horizontal whitespace.
15110 * soft-fp/addsf3.c: Likewise.
15111 * soft-fp/addtf3.c: Likewise.
15112 * soft-fp/divdf3.c: Likewise.
15113 * soft-fp/divsf3.c: Likewise.
15114 * soft-fp/divtf3.c: Likewise.
15115 * soft-fp/double.h: Likewise.
15116 * soft-fp/eqdf2.c: Likewise.
15117 * soft-fp/eqsf2.c: Likewise.
15118 * soft-fp/eqtf2.c: Likewise.
15119 * soft-fp/extenddftf2.c: Likewise.
15120 * soft-fp/extended.h: Likewise.
15121 * soft-fp/extendsfdf2.c: Likewise.
15122 * soft-fp/extendsftf2.c: Likewise.
15123 * soft-fp/extendxftf2.c: Likewise.
15124 * soft-fp/fixdfdi.c: Likewise.
15125 * soft-fp/fixdfsi.c: Likewise.
15126 * soft-fp/fixdfti.c: Likewise.
15127 * soft-fp/fixsfdi.c: Likewise.
15128 * soft-fp/fixsfsi.c: Likewise.
15129 * soft-fp/fixsfti.c: Likewise.
15130 * soft-fp/fixtfdi.c: Likewise.
15131 * soft-fp/fixtfsi.c: Likewise.
15132 * soft-fp/fixtfti.c: Likewise.
15133 * soft-fp/fixunsdfdi.c: Likewise.
15134 * soft-fp/fixunsdfsi.c: Likewise.
15135 * soft-fp/fixunsdfti.c: Likewise.
15136 * soft-fp/fixunssfdi.c: Likewise.
15137 * soft-fp/fixunssfsi.c: Likewise.
15138 * soft-fp/fixunssfti.c: Likewise.
15139 * soft-fp/fixunstfdi.c: Likewise.
15140 * soft-fp/fixunstfsi.c: Likewise.
15141 * soft-fp/fixunstfti.c: Likewise.
15142 * soft-fp/floatdidf.c: Likewise.
15143 * soft-fp/floatdisf.c: Likewise.
15144 * soft-fp/floatditf.c: Likewise.
15145 * soft-fp/floatsidf.c: Likewise.
15146 * soft-fp/floatsisf.c: Likewise.
15147 * soft-fp/floatsitf.c: Likewise.
15148 * soft-fp/floattidf.c: Likewise.
15149 * soft-fp/floattisf.c: Likewise.
15150 * soft-fp/floattitf.c: Likewise.
15151 * soft-fp/floatundidf.c: Likewise.
15152 * soft-fp/floatundisf.c: Likewise.
15153 * soft-fp/floatunditf.c: Likewise.
15154 * soft-fp/floatunsidf.c: Likewise.
15155 * soft-fp/floatunsisf.c: Likewise.
15156 * soft-fp/floatunsitf.c: Likewise.
15157 * soft-fp/floatuntidf.c: Likewise.
15158 * soft-fp/floatuntisf.c: Likewise.
15159 * soft-fp/floatuntitf.c: Likewise.
15160 * soft-fp/fmadf4.c: Likewise.
15161 * soft-fp/fmasf4.c: Likewise.
15162 * soft-fp/fmatf4.c: Likewise.
15163 * soft-fp/gedf2.c: Likewise.
15164 * soft-fp/gesf2.c: Likewise.
15165 * soft-fp/getf2.c: Likewise.
15166 * soft-fp/ledf2.c: Likewise.
15167 * soft-fp/lesf2.c: Likewise.
15168 * soft-fp/letf2.c: Likewise.
15169 * soft-fp/muldf3.c: Likewise.
15170 * soft-fp/mulsf3.c: Likewise.
15171 * soft-fp/multf3.c: Likewise.
15172 * soft-fp/negdf2.c: Likewise.
15173 * soft-fp/negsf2.c: Likewise.
15174 * soft-fp/negtf2.c: Likewise.
15175 * soft-fp/op-1.h: Likewise.
15176 * soft-fp/op-2.h: Likewise.
15177 * soft-fp/op-4.h: Likewise.
15178 * soft-fp/op-8.h: Likewise.
15179 * soft-fp/op-common.h: Likewise.
15180 * soft-fp/quad.h: Likewise.
15181 * soft-fp/single.h: Likewise.
15182 * soft-fp/soft-fp.h: Likewise.
15183 * soft-fp/sqrtdf2.c: Likewise.
15184 * soft-fp/sqrtsf2.c: Likewise.
15185 * soft-fp/sqrttf2.c: Likewise.
15186 * soft-fp/subdf3.c: Likewise.
15187 * soft-fp/subsf3.c: Likewise.
15188 * soft-fp/subtf3.c: Likewise.
15189 * soft-fp/truncdfsf2.c: Likewise.
15190 * soft-fp/trunctfdf2.c: Likewise.
15191 * soft-fp/trunctfsf2.c: Likewise.
15192 * soft-fp/trunctfxf2.c: Likewise.
15193 * soft-fp/unorddf2.c: Likewise.
15194 * soft-fp/unordsf2.c: Likewise.
15195 * soft-fp/unordtf2.c: Likewise.
15196
9ebb0332
JM
151972013-10-15 Joseph Myers <joseph@codesourcery.com>
15198
15199 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15200 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15201
4b1a6d8b
OB
152022013-10-15 Ondřej Bílka <neleai@seznam.cz>
15203
15204 * elf/dl-libc.c: Clear initfini list after freeing.
15205
1e145589
JM
152062013-10-14 Joseph Myers <joseph@codesourcery.com>
15207
15208 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15209 * soft-fp/addsf3.c: Likewise.
15210 * soft-fp/addtf3.c: Likewise.
15211 * soft-fp/divdf3.c: Likewise.
15212 * soft-fp/divsf3.c: Likewise.
15213 * soft-fp/divtf3.c: Likewise.
15214 * soft-fp/double.h: Likewise.
15215 * soft-fp/eqdf2.c: Likewise.
15216 * soft-fp/eqsf2.c: Likewise.
15217 * soft-fp/eqtf2.c: Likewise.
15218 * soft-fp/extenddftf2.c: Likewise.
15219 * soft-fp/extended.h: Likewise.
15220 * soft-fp/extendsfdf2.c: Likewise.
15221 * soft-fp/extendsftf2.c: Likewise.
15222 * soft-fp/extendxftf2.c: Likewise.
15223 * soft-fp/fixdfdi.c: Likewise.
15224 * soft-fp/fixdfsi.c: Likewise.
15225 * soft-fp/fixdfti.c: Likewise.
15226 * soft-fp/fixsfdi.c: Likewise.
15227 * soft-fp/fixsfsi.c: Likewise.
15228 * soft-fp/fixsfti.c: Likewise.
15229 * soft-fp/fixtfdi.c: Likewise.
15230 * soft-fp/fixtfsi.c: Likewise.
15231 * soft-fp/fixtfti.c: Likewise.
15232 * soft-fp/fixunsdfdi.c: Likewise.
15233 * soft-fp/fixunsdfsi.c: Likewise.
15234 * soft-fp/fixunsdfti.c: Likewise.
15235 * soft-fp/fixunssfdi.c: Likewise.
15236 * soft-fp/fixunssfsi.c: Likewise.
15237 * soft-fp/fixunssfti.c: Likewise.
15238 * soft-fp/fixunstfdi.c: Likewise.
15239 * soft-fp/fixunstfsi.c: Likewise.
15240 * soft-fp/fixunstfti.c: Likewise.
15241 * soft-fp/floatdidf.c: Likewise.
15242 * soft-fp/floatdisf.c: Likewise.
15243 * soft-fp/floatditf.c: Likewise.
15244 * soft-fp/floatsidf.c: Likewise.
15245 * soft-fp/floatsisf.c: Likewise.
15246 * soft-fp/floatsitf.c: Likewise.
15247 * soft-fp/floattidf.c: Likewise.
15248 * soft-fp/floattisf.c: Likewise.
15249 * soft-fp/floattitf.c: Likewise.
15250 * soft-fp/floatundidf.c: Likewise.
15251 * soft-fp/floatundisf.c: Likewise.
15252 * soft-fp/floatunsidf.c: Likewise.
15253 * soft-fp/floatunsisf.c: Likewise.
15254 * soft-fp/floatuntidf.c: Likewise.
15255 * soft-fp/floatuntisf.c: Likewise.
15256 * soft-fp/floatuntitf.c: Likewise.
15257 * soft-fp/fmadf4.c: Likewise.
15258 * soft-fp/fmasf4.c: Likewise.
15259 * soft-fp/fmatf4.c: Likewise.
15260 * soft-fp/gedf2.c: Likewise.
15261 * soft-fp/gesf2.c: Likewise.
15262 * soft-fp/getf2.c: Likewise.
15263 * soft-fp/ledf2.c: Likewise.
15264 * soft-fp/lesf2.c: Likewise.
15265 * soft-fp/letf2.c: Likewise.
15266 * soft-fp/muldf3.c: Likewise.
15267 * soft-fp/mulsf3.c: Likewise.
15268 * soft-fp/multf3.c: Likewise.
15269 * soft-fp/negdf2.c: Likewise.
15270 * soft-fp/negsf2.c: Likewise.
15271 * soft-fp/negtf2.c: Likewise.
15272 * soft-fp/op-1.h: Likewise.
15273 * soft-fp/op-2.h: Likewise.
15274 * soft-fp/op-4.h: Likewise.
15275 * soft-fp/op-8.h: Likewise.
15276 * soft-fp/op-common.h: Likewise.
15277 * soft-fp/quad.h: Likewise.
15278 * soft-fp/single.h: Likewise.
15279 * soft-fp/soft-fp.h: Likewise.
15280 * soft-fp/sqrtdf2.c: Likewise.
15281 * soft-fp/sqrtsf2.c: Likewise.
15282 * soft-fp/sqrttf2.c: Likewise.
15283 * soft-fp/subdf3.c: Likewise.
15284 * soft-fp/subsf3.c: Likewise.
15285 * soft-fp/subtf3.c: Likewise.
15286 * soft-fp/truncdfsf2.c: Likewise.
15287 * soft-fp/trunctfdf2.c: Likewise.
15288 * soft-fp/trunctfsf2.c: Likewise.
15289 * soft-fp/trunctfxf2.c: Likewise.
15290 * soft-fp/unorddf2.c: Likewise.
15291 * soft-fp/unordsf2.c: Likewise.
15292 * soft-fp/unordtf2.c: Likewise.
15293
17c48a60
OB
152942013-10-14 Ondřej Bílka <neleai@seznam.cz>
15295
15296 [BZ #15672]
15297 * misc/error.c (error_tail): Fix possible buffer overflow.
15298
cabba934
OB
152992013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15300
15301 [BZ #13028]
15302 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15303 address.
15304
94bf958a
PM
153052013-10-14 P. J. McDermott <pj@pehjota.net>
15306
15307 [BZ #832]
15308 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15309 testing pipefail option.
15310
71b4dea7
JM
153112013-10-12 Joseph Myers <joseph@codesourcery.com>
15312
15313 * soft-fp/double.h: Indent preprocessor directives inside #if.
15314 * soft-fp/extended.h: Likewise.
15315 * soft-fp/op-2.h: Likewise.
15316 * soft-fp/op-4.h: Likewise.
15317 * soft-fp/op-common.h: Likewise.
15318 * soft-fp/quad.h: Likewise.
15319 * soft-fp/single.h: Likewise.
15320 * soft-fp/soft-fp.h: Likewise.
15321
55602758
YC
153222013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15323
15324 * iconv/iconv_prog.c: Fix typos.
15325 * stdio-common/psiginfo-data.h: Likewise.
15326
9cd83302
RT
153272013-10-12 Reuben Thomas <rrt@sc3d.org>
15328
15329 [BZ #15764]
15330 * locale/setlocale.c: Fix typo.
15331
99fd9f47
JM
153322013-10-12 Joseph Myers <joseph@codesourcery.com>
15333
b7ea74f0
JM
15334 [BZ #16036]
15335 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15336 signaling NaN arguments.
15337 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15338 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15339
8a509447
JM
15340 [BZ #14910]
15341 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15342 unordered operands.
15343 * soft-fp/gesf2.c (__gesf2): Likewise.
15344 * soft-fp/getf2.c (__getf2): Likewise.
15345 * soft-fp/ledf2.c (__ledf2): Likewise.
15346 * soft-fp/lesf2.c (__lesf2): Likewise.
15347 * soft-fp/letf2.c (__letf2): Likewise.
15348
98998e9f
JM
15349 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15350 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15351 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15352 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15353 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15354 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15355 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15356 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15357 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15358 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15359 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15360 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15361 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15362 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15363 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15364 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15365 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15366 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15367 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15368 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15369 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15370 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15371 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15372 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15373 * soft-fp/floattidf.c (__floattidf): Likewise.
15374 * soft-fp/floattisf.c (__floattisf): Likewise.
15375 * soft-fp/floattitf.c (__floattitf): Likewise.
15376 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15377 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15378 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15379 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15380 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15381 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15382 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15383 * soft-fp/gesf2.c (__gesf2): Likewise.
15384 * soft-fp/getf2.c (__getf2): Likewise.
15385 * soft-fp/ledf2.c (__ledf2): Likewise.
15386 * soft-fp/lesf2.c (__lesf2): Likewise.
15387 * soft-fp/letf2.c (__letf2): Likewise.
15388
8edc4a11
JM
15389 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15390 Undefine and redefine.
15391 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15392 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15393 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15394 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15395 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15396 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15397 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15398 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15399 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15400 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15401 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15402 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15403 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15404 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15405 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15406
8399acaf
JM
15407 [BZ #16032]
15408 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15409 without decrementing exponent if mantissa >= that for the
15410 denominator, not >.
15411 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15412 denominator, not >. Decrement exponent in < case instead of
15413 incrementing in >= case.
15414 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15415 without decrementing exponent if mantissa >= that for the
15416 denominator, not >.
15417
99fd9f47
JM
15418 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15419 computing saturated result for unsigned overflow.
15420
10e1cf6b
SP
154212013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15422 Jeff Law <law@redhat.com>
15423
15424 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15425 (atan2Mp): Add systemtap probe marker.
15426 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15427 (__ieee754_log): Add systemtap probe marker.
15428 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15429 (atanMp): Add systemtap probe marker.
15430 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15431 (tanMp): Add systemtap probe marker.
15432 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15433 (__slowexp): Add systemtap probe marker.
15434 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15435 (__slowpow): Add systemtap probe marker.
15436 * manual/probes.texi: Document probes.
15437
3d110c7c
EB
154382013-10-11 Eric Biggers <ebiggers3@gmail.com>
15439
15440 [BZ #15362]
15441 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15442 written.
15443 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15444 written.
15445 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15446 written to buffer but not flushed.
15447 * libio/iofwrite_u.c: Likewise.
15448 * libio/iopadn.c: Return bytes returned even if EOF was
15449 encountered.
15450 * libio/iowpadn.c: Likewise.
15451 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15452 if _IO_padn does not write the whole buffer.
15453 [!COMPILE_WPRINTF] (PAD): Likewise.
15454
75b4202a
DM
154552013-10-10 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15458 directory block.
15459
6c6352e6
JM
154602013-10-10 Joseph Myers <joseph@codesourcery.com>
15461
33b853c3
JM
15462 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15463 instead of FSF address.
15464 * soft-fp/fixdfti.c: Likewise.
15465 * soft-fp/fixsfti.c: Likewise.
15466 * soft-fp/fixtfti.c: Likewise.
15467 * soft-fp/fixunsdfti.c: Likewise.
15468 * soft-fp/fixunssfti.c: Likewise.
15469 * soft-fp/fixunstfti.c: Likewise.
15470 * soft-fp/floattidf.c: Likewise.
15471 * soft-fp/floattisf.c: Likewise.
15472 * soft-fp/floattitf.c: Likewise.
15473 * soft-fp/floatuntidf.c: Likewise.
15474 * soft-fp/floatuntisf.c: Likewise.
15475 * soft-fp/floatuntitf.c: Likewise.
15476 * soft-fp/trunctfxf2.c: Likewise.
15477
6c6352e6
JM
15478 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15479 * soft-fp/fixdfti.c: Likewise.
15480 * soft-fp/fixsfti.c: Likewise.
15481 * soft-fp/fixtfti.c: Likewise.
15482 * soft-fp/fixunsdfti.c: Likewise.
15483 * soft-fp/fixunssfti.c: Likewise.
15484 * soft-fp/fixunstfti.c: Likewise.
15485 * soft-fp/floattidf.c: Likewise.
15486 * soft-fp/floattisf.c: Likewise.
15487 * soft-fp/floattitf.c: Likewise.
15488 * soft-fp/floatuntidf.c: Likewise.
15489 * soft-fp/floatuntisf.c: Likewise.
15490 * soft-fp/floatuntitf.c: Likewise.
15491 * soft-fp/trunctfxf2.c: Likewise.
15492
3bf78b71
DM
154932013-10-10 David S. Miller <davem@davemloft.net>
15494
15495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15496
6f10289e
JM
154972013-10-10 Joseph Myers <joseph@codsourcery.com>
15498
bd878fc0
JM
15499 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15500 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15501 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15502 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15503 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15504 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15505 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15506
6f10289e
JM
15507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15508 for NaNs before doing comparisons on argument.
15509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15510 Likewise.
15511
321e2684
WN
155122013-10-10 Will Newton <will.newton@linaro.org>
15513
15514 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15515 passed to _int_memalign does not overflow.
15516
40fefba1
TR
155172013-10-10 Torvald Riegel <triegel@redhat.com>
15518
15519 * scripts/bench.pl: Add include-sources directive.
15520 * benchtests/README: Update documentation.
15521
2ae21ed2
JM
155222013-10-10 Joseph Myers <joseph@codesourcery.com>
15523
dcc2dd3f
JM
15524 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15525 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15526 instead of FP_INIT_ROUNDMODE.
15527 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15528 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15529
2ae21ed2
JM
15530 [BZ #16034]
15531 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15532 copy class of input value.
15533 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15534 not handle exceptions.
15535 * soft-fp/negsf2.c (__negsf2): Likewise.
15536 * soft-fp/negtf2.c (__negtf2): Likewise.
15537 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15538
cb8f9562
JM
155392013-10-09 Joseph Myers <joseph@codesourcery.com>
15540
15541 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15542 semicolon. From Linux kernel.
15543
5b60c59d
AB
155442013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15545
15546 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15547
b86835ca
YC
155482013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15549
15550 [BZ #156]
15551 * manual/socket.texi: Added statement about buffer
15552 for gethostbyname2_r.
15553
e7044ea7
OB
155542013-10-08 Ondřej Bílka <neleai@seznam.cz>
15555
15556 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15557 Use .p2align directive instead, throughout.
15558 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15559 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15560 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15561 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15563 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15564 * sysdeps/x86_64/strchr.S: Likewise.
15565 * sysdeps/x86_64/strrchr.S: Likewise.
15566
09544cbc
SP
155672013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
88576635
SP
15569 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15570
e7b2d1dd
SP
15571 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15572
09544cbc
SP
15573 * sysdeps/generic/math_private.h (__mpsin1): Remove
15574 declaration.
15575 (__mpcos1): Likewise.
15576 (__mpsin): New argument __range_reduce.
15577 (__mpcos): Likewise.
15578 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15579 (slow): Use __mpsin and __mpcos.
15580 (slow1): Likewise.
15581 (slow2): Likewise.
15582 (sloww): Likewise.
15583 (sloww1): Likewise.
15584 (sloww2): Likewise.
15585 (bsloww): Likewise.
15586 (bsloww1): Likewise.
15587 (bsloww2): Likewise.
15588 (cslow2): Likewise.
15589 (csloww): Likewise.
15590 (csloww1): Likewise.
15591 (csloww2): Likewise.
15592 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15593 range_reduce. Merge in __mpsin1.
15594 (__mpcos): Likewise.
15595 (__mpsin1): Remove.
15596 (__mpcos1): Likewise.
15597
7602d070
JM
155982013-10-07 Joseph Myers <joseph@codesourcery.com>
15599
15600 * locale/loadlocale.c (_nl_intern_locale_data): Use
15601 LOCFILE_ALIGNED_P.
15602 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15603 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15604 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15605 obstack data is appropriately aligned.
15606 (obstack_int32_grow_fast): Likewise.
15607 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15608 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15609 (add_locale_uint32_array): Likewise.
15610
a357259b
SP
156112013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15612
15613 * benchtests/Makefile: Remove ARGLIST and RET variables.
15614 ($(objpfx)bench-%.c): Pass only function name to the script.
15615 * benchtests/README: Update documentation.
15616 * benchtests/acos-inputs: Add new directives.
15617 * benchtests/acosh-inputs: Likewise.
15618 * benchtests/asin-inputs: Likewise.
15619 * benchtests/asinh-inputs: Likewise.
15620 * benchtests/atan-inputs: Likewise.
15621 * benchtests/atanh-inputs: Likewise.
15622 * benchtests/cos-inputs: Likewise.
15623 * benchtests/cosh-inputs: Likewise.
15624 * benchtests/exp-inputs: Likewise.
15625 * benchtests/log-inputs: Likewise.
15626 * benchtests/pow-inputs: Likewise.
15627 * benchtests/rint-inputs: Likewise.
15628 * benchtests/sin-inputs: Likewise.
15629 * benchtests/sinh-inputs: Likewise.
15630 * benchtests/tan-inputs: Likewise.
15631 * benchtests/tanh-inputs: Likewise.
15632 * scripts/bench.pl: Add support for new directives.
15633
9ec1b13d
AM
156342013-10-07 Alan Modra <amodra@gmail.com>
15635
15636 * README: Fix careless merge.
15637
8b7d57cd
AM
156382013-10-05 Alan Modra <amodra@gmail.com>
15639
15640 * NEWS: Mention powerpc64le support and bugs fixed.
15641 * README: Both big-endian and little-endian powerpc64 supported.
15642
7b7bab13
ST
156432013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15644
57f41c40
AS
15645 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15646 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15647 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15648 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15649
d39baad1
RA
156502013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15651
15652 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15653 match prototype.
15654
cd78f7e7
JM
156552013-10-04 Joseph Myers <joseph@codesourcery.com>
15656
29d73d86
JM
15657 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15658 Move -mhard-float appending from
15659 ports/sysdeps/powerpc/powerpc32/Makefile.
15660 [$(with-fp) = yes] (ASFLAGS): Likewise.
15661 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15662 * sysdeps/powerpc/nofpu: Move directory from
15663 ports/sysdeps/powerpc/nofpu.
15664 * sysdeps/powerpc/soft-fp: Move directory from
15665 ports/sysdeps/powerpc/soft-fp.
15666 * sysdeps/powerpc/powerpc32/405: Move directory from
15667 ports/sysdeps/powerpc/powerpc32/405.
15668 * sysdeps/powerpc/powerpc32/440: Move directory from
15669 ports/sysdeps/powerpc/powerpc32/440.
15670 * sysdeps/powerpc/powerpc32/464: Move directory from
15671 ports/sysdeps/powerpc/powerpc32/464.
15672 * sysdeps/powerpc/powerpc32/476: Move directory from
15673 ports/sysdeps/powerpc/powerpc32/476.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15675 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15677 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15679 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15681 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15683 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15684 * README: Update for powerpc-*-linux-gnu software floating point
15685 support in libc.
15686
e246b347
JM
15687 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15688 case to powerpc/powerpc32*.
15689 * sysdeps/unix/sysv/linux/configure: Regenerated.
15690
89c2003e
JM
15691 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15692 (_FPU_MASK_OM): Define as 0x04.
15693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15695 0x00c10080.
15696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15697 0x0000003c.
15698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15699
cd78f7e7
JM
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15701 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15702 getcontext_e500.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15705 setcontext_e500.
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15707 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15708 and setcontext_e500.
15709
c755294d
CL
157102013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15711
15712 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15713
e16d221c
SP
157142013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
15716 * manual/threads.texi (Default Thread Attributes): Fix typo.
15717
215c7d43
WN
157182013-10-04 Will Newton <will.newton@linaro.org>
15719
15720 * malloc/Makefile: Add tst-memalign.
15721 * malloc/tst-memalign.c: New file.
15722
27d0461b
WN
15723 * malloc/tst-posix_memalign.c: Add comments.
15724 (do_test): Add comments and call free on all potentially
15725 allocated pointers. Add space after cast.
15726
1bc92709
WN
15727 * malloc/tst-pvalloc.c: Add comments.
15728 (do_test): Add comments and call free on all potentially
15729 allocated pointers. Remove duplicate check for NULL pointer.
15730 Add space after cast.
15731
66a9be9d
WN
15732 * malloc/tst-valloc.c: Add comments.
15733 (do_test): Add comments and call free on all potentially
15734 allocated pointers. Remove duplicate check for NULL pointer.
15735 Add space after cast.
15736
4cb81307
AM
157372013-10-04 Alan Modra <amodra@gmail.com>
15738
15739 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15740 Use stdint types in rather than __attribute__((mode())).
15741 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15742
f8e3e9f3
AM
157432013-10-04 Alan Modra <amodra@gmail.com>
15744
15745 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15746 Correct handling of unaligned relocs for little-endian.
15747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15748
8f9ebb08
AM
157492013-10-04 Alan Modra <amodra@gmail.com>
15750
15751 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15752 * configure: Regenerate.
15753 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15754 * shlib-versions: Likewise.
15755
0edf96c2
AM
157562013-10-04 Alan Modra <amodra@gmail.com>
15757
15758 * string/tester.c (test_memrchr): Increment reported test cycle.
15759
e0f7a380
AM
157602013-10-04 Alan Modra <amodra@gmail.com>
15761
15762 * string/test-memcpy.c (do_one_test): When reporting errors, print
15763 string address and don't overrun end of string.
15764
466b0393
AM
157652013-10-04 Alan Modra <amodra@gmail.com>
15766
15767 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15768 insrdi. Make better use of reg selection to speed exit slightly.
15769 Schedule entry path a little better. Remove useless "are we done"
15770 checks on entry to main loop. Handle wrapping around zero address.
15771 Correct main loop count. Handle single left-over word from main
15772 loop inline rather than by using loop_small. Remove extra word
15773 case in loop_small caused by wrong loop count. Add little-endian
15774 support.
15775 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15776 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15777 cache hint.
15778 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15779 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15780 support. Avoid rlwimi.
15781 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15782
3be87c77
AM
157832013-10-04 Alan Modra <amodra@gmail.com>
15784
15785 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15786 insrdi. Formatting.
3be87c77
AM
15787 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15788 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15789 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15790 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15791 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15792 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15793
759cfef3
AM
157942013-10-04 Alan Modra <amodra@gmail.com>
15795
15796 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15799 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15800 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15801 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15803 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15804 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15805 use of regs. Use power7 mtocrf. Tidy function tails.
15806
fe6e95d7
AM
158072013-10-04 Alan Modra <amodra@gmail.com>
15808
15809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15810 Formatting. Consistently use rXXX register defines or rN defines.
15811 Use early exit labels that avoid restoring unused non-volatile regs.
15812 Make cr field use more consistent with rWORDn compares. Rename
15813 regs used as shift registers for unaligned loop, using rN defines
15814 for short lifetime/multiple use regs.
15815 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15816 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15817 addi 1,1,64 to pop stack frame. Simplify return value code.
15818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15819
664318c3
AM
158202013-10-04 Alan Modra <amodra@gmail.com>
15821
15822 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15823 support. Correct typos, formatting. Optimize tail. Use insrdi
15824 rather than rlwimi.
15825 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15826 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15827 little-endian support. Correct typos.
15828 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15829 rather than rlwimi.
15830 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15831 in loop and entry code to keep "and." results.
15832 (strchr): Add little-endian support. Comment. Move cntlzd
15833 earlier in tail.
15834 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15835
43b84013
AM
158362013-10-04 Alan Modra <amodra@gmail.com>
15837
15838 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15839 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15840 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15841 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15842
8a7413f9
AM
158432013-10-04 Alan Modra <amodra@gmail.com>
15844
15845 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15846 (rTMP): Define as r11.
15847 (strcmp): Add little-endian support. Optimise tail.
15848 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15849 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15850 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15851 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15852 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15854 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15855
33ee81de
AM
158562013-10-04 Alan Modra <amodra@gmail.com>
15857
15858 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15859 little-endian support. Remove unnecessary "are we done" tests.
15860 Handle "s" wrapping around zero and extremely large "size".
15861 Correct main loop count. Handle single left-over word from main
15862 loop inline rather than by using small_loop. Correct comments.
15863 Delete "zero" tail, use "end_max" instead.
15864 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15865
db9b4570
AM
158662013-10-04 Alan Modra <amodra@gmail.com>
15867
15868 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15869 support. Don't branch over align.
15870 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15871 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15872 support. Rearrange tmp reg use to suit. Comment.
15873 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15874
f7c399cf
AM
158752013-10-04 Alan Modra <amodra@gmail.com>
15876
15877 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15878
0b2c2ace
AM
158792013-10-04 Alan Modra <amodra@gmail.com>
15880
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15882 conditional form of branch and link when obtaining pc.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15884
02f04a6c
AM
158852013-10-04 Alan Modra <amodra@gmail.com>
15886
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15888 HIWORD/LOWORD.
15889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15891
9b874b2f
AM
158922013-10-04 Alan Modra <amodra@gmail.com>
15893
15894 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15895 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15896 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15897 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15898 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15899 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15900 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15901 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15902 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15903 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15904
be1e5d31
AB
159052013-10-04 Anton Blanchard <anton@au1.ibm.com>
15906 Alistair Popple <alistair@ozlabs.au.ibm.com>
15907 Alan Modra <amodra@gmail.com>
15908
15909 [BZ #15723]
15910 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15911 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15912 _dl_hwcap access for little-endian.
15913 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15914 destroy vmx regs when saving unaligned.
15915 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15916 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15917 destroy vmx regs when saving unaligned.
15918
fef13a78
AM
159192013-10-04 Alan Modra <amodra@gmail.com>
15920
15921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15922 Don't use a union to pack hi/low value.
15923
76a66d51
AB
159242013-10-04 Anton Blanchard <anton@au1.ibm.com>
15925
15926 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15927 for little-endian.
15928 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15930 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15931 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15932 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15933
6a31fe7f
AM
159342013-10-04 Alan Modra <amodra@gmail.com>
15935
15936 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15937 constants to usual value for .cst8 section, and remove redundant
15938 high address load.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15940 constant for 0x1p52. Load little-endian words of double from
15941 correct stack offsets.
15942
7b88401f
AM
159432013-10-04 Alan Modra <amodra@gmail.com>
15944
15945 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15946 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15947 words of double from correct stack offsets.
15948 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15952 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15955 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15956 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15959 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15960 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15961 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15962 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15963 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15964 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15965
9c008155
AM
159662013-10-04 Alan Modra <amodra@gmail.com>
15967
15968 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15969 64-bit int/double union.
15970 (_FPU_SETCW): Likewise.
15971 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15972 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15973
da13146d
AM
159742013-10-04 Alan Modra <amodra@gmail.com>
15975
15976 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15977 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15978
603e8410
AM
159792013-10-04 Alan Modra <amodra@gmail.com>
15980
15981 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15982 use vector int constants.
15983 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15984
4a28b3ca
AB
159852013-10-04 Anton Blanchard <anton@au1.ibm.com>
15986
15987 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15988 array with long long.
15989 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15990 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15991 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15992 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15993 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15994 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15995 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15996 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15997 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15998 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15999 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16000 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16001 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16002
2ca85d2b
AB
160032013-10-04 Anton Blanchard <anton@au1.ibm.com>
16004
16005 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16006 (__signbit): Likewise. Correct for little-endian.
16007 (__signbitl): Call __signbit.
16008 (lrint): Correct for little-endian.
16009 (lrintf): Call lrint.
16010
62a728ae
AM
160112013-10-04 Alan Modra <amodra@gmail.com>
16012
16013 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16014 union 32-bit int array member with 64-bit int array.
16015 (t515, tm256): Double rather than long double.
16016 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16017
32c301df
AM
160182013-10-04 Alan Modra <amodra@gmail.com>
16019
16020 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16021 Delete.
16022 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16024 version of math_ldbl.h.
16025
650ef4bd
AM
160262013-10-04 Alan Modra <amodra@gmail.com>
16027
16028 [BZ #15734], [BZ #15735]
16029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16030 all uses of ieee875 long double macros and unions. Simplify test
16031 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16032 ldbl_extract_mantissa value for ix,iy exponents. Properly
16033 normalize after ldbl_extract_mantissa, and don't add hidden bit
16034 already handled. Don't treat low word of ieee854 mantissa like
16035 low word of IBM long double and mask off bit when testing for
16036 zero.
16037 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16038 all uses of ieee875 long double macros and unions. Simplify tests
16039 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16040 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16041 two1022, instead use their values. Recognise that tests for large
16042 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16043 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16044 Rewrite all uses of ieee875 long double macros and unions. Simplify
16045 test for 0.0L and nan. Correct negation.
16046 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16047 ieee875 long double macros and unions. Correct output for large
16048 magnitude x. Correct absolute value calculation.
16049 (__erfcl): Likewise.
16050 * math/libm-test.inc: Add tests for errors discovered in IBM long
16051 double versions of fmodl, remainderl, erfl and erfcl.
16052
765714ca
AM
160532013-10-04 Alan Modra <amodra@gmail.com>
16054
16055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16056 all uses of ieee854 long double macros and unions. Simplify tests
16057 for long doubles that are fully specified by the high double.
16058 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16059 Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16061 Remove dead code too.
16062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16063 (__ieee754_ynl): Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16067 Remove dead code too.
16068 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16072 Simplify.
16073 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16074 Simplify.
16075 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16077 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16078 Comment on variable precision.
16079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16081 Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16086 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16087
4ebd120c
AM
160882013-10-04 Alan Modra <amodra@gmail.com>
16089
16090 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16092 all uses of ieee854 long double macros and unions.
16093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16099 Likewise.
16100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16104 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16106 Simplify sign and nan test too.
16107 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16110 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16111 Likewise.
16112 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16113 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16114 Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16121
1b6adf88
AM
161222013-10-04 Alan Modra <amodra@gmail.com>
16123
16124 * stdio-common/printf_size.c (__printf_size): Don't use
16125 union ieee854_long_double in fpnum union.
16126 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16127 signbit macro to retrieve sign from long double.
16128 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16129 retrieve sign from long double.
16130 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16131 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16132 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16133 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16134 * math/test-misc.c (main): Don't use union ieee854_long_double.
16135
4cf69995
AM
161362013-10-04 Alan Modra <amodra@gmail.com>
16137
16138 [BZ #15680]
16139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16140 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16141 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16142 calculation. Remove unnecessary test for denormal exponent.
16143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16144 Correct handling of denormals. Avoid undefined shift behaviour.
16145 Correct normalisation of low mantissa when low double is denormal.
16146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16147 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16148 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16149 Correct normalisation of low mantissa. Test for overflow of high
16150 mantissa and normalise.
16151 (ldbl_nearbyint): Use more readable constant for two52.
16152 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16153 (__mpn_construct_long_double): Fix test for overflow of high
16154 mantissa and correct normalisation. Avoid undefined shift.
16155
9605ca6c
AM
161562013-10-04 Alan Modra <amodra@gmail.com>
16157
16158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16159 (union ibm_extended_long_double): Define as an array of ieee754_double.
16160 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16161 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16162 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16163 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16171
975569d0
JM
161722013-10-03 Joseph Myers <joseph@codesourcery.com>
16173
d3d23756
JM
16174 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16175 page size instead of calling getpagesize.
16176
975569d0
JM
16177 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16178 (LOCFILE_ALIGN_MASK): Likewise.
16179 (LOCFILE_ALIGN_UP): Likewise.
16180 (LOCFILE_ALIGNED_P): Likewise.
16181 * locale/programs/ld-collate.c (collate_output): Use the new
16182 macros instead of __alignof__ (int32_t).
16183 * locale/weight.h (findidx): Likewise.
16184
b1fe1f2b
OB
161852013-10-03 Ondřej Bílka <neleai@seznam.cz>
16186
16187 [BZ #431]
16188 * manual/string.texi: Fix strncat and wcsncat.
16189
5f855e35
BM
161902013-10-03 Brooks Moses <bmoses@google.com>
16191
16192 [BZ #15915]
16193 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16194 * Makerules: ...here, and adjust associated comments.
16195
3cef6009
WN
161962013-10-02 Will Newton <will.newton@linaro.org>
16197
16198 * malloc/Makefile: Add tst-pvalloc.
16199 * malloc/tst-pvalloc.c: New file.
16200
7815420b
WN
162012013-10-02 Will Newton <will.newton@linaro.org>
16202
16203 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16204 improve test coverage.
16205
4868b204
WN
162062013-10-02 Will Newton <will.newton@linaro.org>
16207
16208 * malloc/Makefile: Add tst-posix_memalign.
16209 * malloc/tst-posix_memalign.c: New file.
16210
29c793b3
EB
162112013-10-01 Eric Blake <eblake@redhat.com>
16212
16213 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16214 Use __THROWNL rather than __THROW on static functions.
16215
fd967522
PM
162162013-09-30 Petr Machata <pmachata@redhat.com>
16217
16218 * elf/elf.h (R_AARCH64_ABS16): New macro.
16219 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16220 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16221 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16222 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16223 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16224 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16225 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16226 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16227 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16228 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16229 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16230 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16231 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16232 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16233 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16234 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16235 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16236 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16237 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16238 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16239 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16240 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16241 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16242 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16243 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16244 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16245 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16246 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16247 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16248 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16249 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16250 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16251 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16252 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16253 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16254 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16255 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16256 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16257 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16258 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16259 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16260 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16261 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16262 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16263 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16264 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16265 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16266 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16267 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16268 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16269 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16270 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16271 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16272 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16273 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16274 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16275 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16276 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16277 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16278 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16279 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16280 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16281 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16282 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16283 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16284 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16285 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16286 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16287 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16288 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16289 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16290 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16291 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16292 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16293 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16294 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16295 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16296 (R_AARCH64_TLSDESC_LDR): Likewise.
16297 (R_AARCH64_TLSDESC_ADD): Likewise.
16298 (R_AARCH64_TLSDESC_CALL): Likewise.
16299
b2179107
AS
163002013-09-30 Andreas Schwab <schwab@suse.de>
16301
16302 [BZ #15048]
16303 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16304 the nss database lookup.
16305 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16307
47f28d0a
MF
163082013-09-28 Mike Frysinger <vapier@gentoo.org>
16309
16310 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16311
163122013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16313
16314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16315 ${Bash-specific parameter/pattern/string} parameter expansion.
16316 * sysdeps/unix/make-syscalls.sh: Likewise.
16317
f4518a17
KK
163182013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16319
16320 * sysdeps/sh/stackguard-macros.h: New file.
16321
dc1a95c7
OB
163222013-09-26 Ondřej Bílka <neleai@seznam.cz>
16323
16324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16326 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16327 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16329 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16330
5ebbff8f
AZ
163312013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332
16333 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16334 Fix thread ID register.
16335
4fd2cf9f
JM
163362013-09-25 Joseph Myers <joseph@codesourcery.com>
16337
16338 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16339 [POSIX || UNIX98]: Require rather than permitting all symbols from
16340 <time.h>.
16341 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16342 element of struct sched_param.
16343 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16344 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16345 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16346 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16347 constant.
16348
12c22bc4
OL
163492013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16350
16351 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16352 argument calculation.
16353
a03d8ea7
JM
163542013-09-24 Joseph Myers <joseph@codesourcery.com>
16355
16356 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16357 Expect macro.
16358 [POSIX] (pthread_attr_t): Do not require type.
16359 [POSIX] (pthread_cond_t): Likewise.
16360 [POSIX] (pthread_condattr_t): Likewise.
16361 [POSIX] (pthread_key_t): Likewise.
16362 [POSIX] (pthread_mutex_t): Likewise.
16363 [POSIX] (pthread_mutexattr_t): Likewise.
16364 [POSIX] (pthread_once_t): Likewise.
16365 [POSIX] (pthread_t): Likewise.
16366 [POSIX-based standards] (pthread_atfork): Expect function.
16367
6055173a
JM
163682013-09-24 Joseph Myers <joseph@codesourcery.com>
16369 Richard Sandiford <richard@codesourcery.com>
16370
16371 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16372 (swap_endianness_p): New extern variable.
16373 (set_big_endian): New inline function.
16374 (maybe_swap_uint32): Likewise.
16375 (maybe_swap_uint32_array): Likewise.
16376 (maybe_swap_uint32_obstack): Likewise.
16377 * locale/programs/locfile.c: Include <stdbool.h>.
16378 (swap_endianness_p): New variable.
16379 (add_locale_uint32): Call maybe_swap_uint32.
16380 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16381 (write_locale_data): Call maybe_swap_uint32_array.
16382 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16383 maybe_swap_uint32.
16384 (obstack_int32_grow_fast): Likewise.
16385 (output_weightwc): Call maybe_swap_uint32_obstack.
16386 (collate_output): Likewise.
16387 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16388 (OPT_LITTLE_ENDIAN): Likewise.
16389 (options): Add --little-endian and --big-endian options.
16390 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16391 * locale/programs/locarchive.c: Include "locfile.h".
16392 (GET): New macro.
16393 (SET): Likewise.
16394 (INC): Likewise.
16395 (create_archive): Use the new macros to access fields of
16396 structures directly mapped from or written to locale archives.
16397 (oldlocrecentcmp): Likewise.
16398 (enlarge_archive): Likewise.
16399 (insert_name): Likewise.
16400 (add_alias): Likewise.
16401 (add_locale): Likewise.
16402 (delete_locales_from_archive): Likewise.
16403 (show_archive_content): Likewise.
16404 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16405 locale data.
16406
39bf0bb4
RM
164072013-09-24 Roland McGrath <roland@hack.frob.com>
16408
16409 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16410 http://www.gnu.org/doc/freemanuals.texi.
16411 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16412
f02eed10
WN
164132013-09-24 Will Newton <will.newton@linaro.org>
16414
16415 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16416 macro.
16417
a3a6c312
JM
164182013-09-23 Joseph Myers <joseph@codesourcery.com>
16419
16420 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16421 unsigned char.
16422
107375ac
MR
164232013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16424
16425 * manual/threads.texi (POSIX Threads): Fix a typo.
16426
141f3a77
SP
164272013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16428
303e567a
SP
16429 [BZ #14547]
16430 * string/tst-strcoll-overflow.c: New test case.
16431 * string/Makefile (xtests): Add tst-strcoll-overflow.
16432 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16433 cache if string sizes may cause integer overflow.
16434
141f3a77
SP
16435 [BZ #14547]
16436 * string/strcoll_l.c (coll_seq): New members rule, idx,
16437 save_idx and back_us.
16438 (get_next_seq_nocache): New function.
16439 (do_compare_nocache): New function.
16440 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16441 when malloc fails.
16442
c61b4d41
CD
164432013-09-23 Carlos O'Donell <carlos@redhat.com>
16444
0b1f8e35
CD
16445 [BZ #15754]
16446 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16447 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16448 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16449
c61b4d41
CD
16450 [BZ #15754]
16451 * elf/Makefile (tests): Add tst-ptrguard1.
16452 (tests-static): Add tst-ptrguard1-static.
16453 (tst-ptrguard1-ARGS): Define.
16454 (tst-ptrguard1-static-ARGS): Define.
16455 * elf/tst-ptrguard1.c: New file.
16456 * elf/tst-ptrguard1-static.c: New file.
16457 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16458 * sysdeps/i386/stackguard-macros.h: Likewise.
16459 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16460 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16461 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16462 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16463 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16464 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16465
164662013-09-23 Hector Marco <hecmargi@upv.es>
16467 Ismael Ripoll <iripoll@disca.upv.es>
16468 Carlos O'Donell <carlos@redhat.com>
16469
16470 [BZ #15754]
16471 * sysdeps/generic/stackguard-macros.h: Define
16472 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16473 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16474 Define __pointer_chk_guard_local.
16475 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16476 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16477
f5f4e7b4
VV
164782013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16479
16480 [BZ #15859]
16481 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16482
5bb43a43
AS
164832013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16484
16485 * include/string.h (__ffs): Declare as hidden.
16486 * string/ffs.c (__ffs): Define as hidden.
16487 * sysdeps/i386/ffs.c (__ffs): Likewise.
16488 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16489 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16490 * sysdeps/s390/ffs.c (__ffs): Likewise.
16491 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16492
3ea5be54
AO
164932013-09-20 Alexandre Oliva <aoliva@redhat.com>
16494
ffb89e53
AO
16495 * NEWS: Mention malloc probes.
16496
322dea08
AO
16497 * malloc/arena.c (new_heap): New memory_heap_new probe.
16498 (grow_heap): New memory_heap_more probe.
16499 (shrink_heap): New memory_heap_less probe.
16500 (heap_trim): New memory_heap_free probe.
16501 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16502 (systrim): New memory_sbrk_less probe.
16503 * manual/probes.texi: Document them.
16504
655673f3
AO
16505 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16506 * manual/probes.texi: Document it.
16507
35fed6f1
AO
16508 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16509 (__libc_realloc): Add memory_realloc_retry probe.
16510 (__libc_memalign): Add memory_memalign_retry probe.
16511 (__libc_valloc): Add memory_valloc_retry probe.
16512 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16513 (__libc_calloc): Add memory_calloc_retry probe.
16514 * manual/probes.texi: Document them.
16515
6999d38c
AO
16516 * malloc/arena.c (get_free_list): Add probe
16517 memory_arena_reuse_free_list.
16518 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16519 and memory_arena_reuse.
16520 (arena_get2) [!PER_THREAD]: Likewise.
16521 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16522 memory_arena_reuse_realloc.
16523 * manual/probes.texi: Document them.
16524
0653427f
AO
16525 * malloc/malloc.c (__libc_free): Add
16526 memory_mallopt_free_dyn_thresholds probe.
16527 (__libc_mallopt): Add multiple memory_mallopt probes.
16528 * manual/probes.texi: Document them.
16529
3ea5be54
AO
16530 * malloc/malloc.c: Include stap-probe.h.
16531 (__libc_mallopt): Add memory_mallopt probe.
16532 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16533 * manual/probes.texi: New.
16534 * manual/Makefile (chapters): Add probes.
16535 * manual/threads.texi: Set next node.
16536
e35696c3 165372013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16538
e35696c3
CL
16539 [BZ #15963, #13985]
16540 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16541 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16542 Add `Chinese' to `nan' entry name.
16543
4aafb73c
SP
165442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16545
16546 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16547 (POLYNOMIAL): Likewise.
16548 (TAYLOR_SINCOS): Likewise.
16549 (TAYLOR_SLOW): Likewise.
16550 (__sin): Use TAYLOR_SINCOS.
16551 (__cos): Likewise.
16552 (slow): Use TAYLOR_SLOW.
16553 (sloww): Likewise.
16554 (bsloww): Likewise.
16555 (csloww): Likewise.
16556
d84f25c7
LD
165572013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16558
16559 * stdlib/strtod_l.c: Fix buffer overrun.
16560
5eea0404
SP
165612013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16562
7849ff93
SP
16563 * benchtests/Makefile (bench): Add sincos.
16564 * benchtests/bench-sincos.c: New file.
16565
cfa3c886
SP
16566 * math/libm-test.inc (cos_test_data): New test inputs.
16567 (sin_test_data): Likewise.
16568
b348e1e3
SP
16569 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16570 macro.
16571 (__sin): Use it.
16572 (__cos): Likewise.
16573 (slow1): Likewise.
16574 (slow2): Likewise.
16575 (sloww1): Likewise.
16576 (sloww2): Likewise.
16577 (bsloww1): Likewise.
16578 (bsloww2): Likewise.
16579 (cslow2): Likewise.
16580 (csloww1): Likewise.
16581 (csloww2): Likewise.
16582
6cce25f8
SP
16583 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16584 function.
16585 (__sin): Use it.
16586 (__cos): Likewise.
16587
5eea0404
SP
16588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16589 gotos.
16590 (__cos): Likewise.
16591
9c21573c
MR
165922013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16593
16594 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16595 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16596 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16597 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16598 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16599 * elf/cache.c (print_entry): Handle the new cache flags.
16600
24d22e65
JM
166012013-09-18 Joseph Myers <joseph@codesourcery.com>
16602 Aldy Hernandez <aldyh@redhat.com>
16603
16604 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16605 Change condition to [_SOFT_FLOAT].
16606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16618 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16621 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16622 declaration.
16623
d13ef066
JM
166242013-09-18 Joseph Myers <joseph@codesourcery.com>
16625
2e071de0
JM
16626 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16627 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16628 (__longjmp): Use LOAD_GP to load saved GPRs.
16629 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16630 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16631 (__sigsetjmp): Use SAVE_GP to save GPRs.
16632
d13ef066
JM
16633 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16634 Do not append -msoft-float.
16635 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16636
97a0650b
SP
166372013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16640
11ca09e9
JM
166412013-09-17 Joseph Myers <joseph@codesourcery.com>
16642
16643 [BZ #15966]
16644 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16645 (_FPU_GETCW): Use initial "__" on variable and field names but not
16646 on macro parameter name.
16647 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16648 parentheses around reference to macro parameter.
16649
08ffcf34
RS
166502013-09-13 Richard Sandiford <richard@codesourcery.com>
16651
16652 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16653 prototype.
16654 (ctype_startup): Use uint32_t in cast and sizeof for
16655 ctype->charnames.
16656
ae7080d3
JL
166572013-09-11 Jia Liu <proljc@gmail.com>
16658
16659 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16660 __daddr_t_defined.
16661 [__FreeBSD__]: Likewise.
16662
5905e7b3
OB
166632013-09-11 Ondřej Bílka <neleai@seznam.cz>
16664
16665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16666 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16667 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16668 (strchr): Remove __strchr_sse42 ifunc selection.
16669 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16670 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16671
b987c776
WN
166722013-09-11 Will Newton <will.newton@linaro.org>
16673
16674 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16675 parameter to RES. Remove hardcoded 1000 value.
16676 * benchtests/bench-skeleton.c (main): Pass RES parameter
16677 to TIMING_INIT and multiply result by 1000.
16678
ddf985af
AZ
166792013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680
16681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16682
ffdd3181
AS
166832013-09-11 Andreas Schwab <schwab@suse.de>
16684
16685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16686 if not defined.
16687 (O_TMPFILE) [__USE_GNU]: Define.
16688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16689 Define.
16690
b73ed247
WN
166912013-09-11 Will Newton <will.newton@linaro.org>
16692
16693 [BZ #15857]
16694 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16695 does not overflow.
16696
55e17aad
WN
166972013-09-11 Will Newton <will.newton@linaro.org>
16698
16699 [BZ #15856]
16700 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16701 does not overflow.
16702
1159a193
WN
167032013-09-11 Will Newton <will.newton@linaro.org>
16704
16705 [BZ #15855]
16706 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16707 does not overflow.
16708
5905e7b3 167092013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16710
16711 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16715 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16716
cdfc721b
AM
167172013-09-10 Allan McRae <allan@archlinux.org>
16718
aa04af00
AM
16719 [BZ #15748]
16720 * manual/arith.texi (Parsing of Floats): Clarify
16721 cross-reference.
16722
cdfc721b
AM
16723 [BZ #15849]
16724 * manual/install.texi (Running make install): Mention
16725 --enable-pt-chown.
16726 * INSTALL: Regenerated.
16727
95e7cf29
MR
167282013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16729
16730 * csu/init-first.c (_init): Remove the !SHARED condition around
16731 FPU control word initialization.
16732 * elf/dl-support.c (_dl_fpu_control): New variable.
16733 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16734 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16735 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16736 * math/test-fpucw-static.c: New file.
16737 * math/test-fpucw-ieee.c: New file.
16738 * math/test-fpucw-ieee-static.c: New file.
16739 * math/Makefile (tests): Add `test-fpucw-ieee' and
16740 `$(tests-static)'.
16741 (tests-static): New variable.
16742 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16743 dependency to...
16744 [($(build-shared),yes)]
16745 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16746 ... this.
16747 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16748 New dependency.
16749
83e43bf0
AM
167502013-09-09 Allan McRae <allan@archlinux.org>
16751
a9f5ce09
AM
16752 [BZ #15939]
16753 * manual/string.texi (Collation Functions): Fix typo in
16754 strcoll example.
16755 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16756
34829bc2
AM
16757 [BZ #15893]
16758 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16759
3932737d
AM
16760 [BZ #15892]
16761 * libio/memstream.c (open_memstream): Fix memory leak.
16762 * libio/wmemstream.c (open_wmemstream): Likewise.
16763
83e43bf0
AM
16764 [BZ #15895]
16765 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16766
0c66b8e9
WN
167672013-09-09 Will Newton <will.newton@linaro.org>
16768
16769 * malloc/Makefile: Add tst-realloc to tests.
16770 * malloc/tst-realloc.c: New file.
16771
f6b00fd1
AM
167722013-09-09 Allan McRae <allan@archlinux.org>
16773
16774 [BZ #15844]
16775 * COPYING: Update from GNU website to fix FSF address.
16776 * COPYING.LIB: Likewise.
16777
eec55e16
DM
167782013-09-06 David S. Miller <davem@davemloft.net>
16779
16780 * po/zh_TW.po: Update Chinese (traditional) translation from
16781 translation project.
16782
1ecbb381
RS
167832013-09-06 Richard Sandiford <richard@codesourcery.com>
16784 Joseph Myers <joseph@codesourcery.com>
16785
16786 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16787 "localeinfo.h".
16788 (obstack_chunk_alloc): New macro.
16789 (obstack_chunk_free): Likewise.
16790 (record_offset): New function.
16791 (init_locale_data): Likewise.
16792 (align_locale_data): Likewise.
16793 (add_locale_empty): Likewise.
16794 (add_locale_raw_data): Likewise.
16795 (add_locale_raw_obstack): Likewise.
16796 (add_locale_string): Likewise.
16797 (add_locale_wstring): Likewise.
16798 (add_locale_uint32): Likewise.
16799 (add_locale_uint32_array): Likewise.
16800 (add_locale_char): Likewise.
16801 (start_locale_structure): Likewise.
16802 (end_locale_structure): Likewise.
16803 (start_locale_prelude): Likewise.
16804 (end_locale_prelude): Likewise.
16805 (write_locale_data): Take locale_file structure rather than an
16806 iovec.
16807 * locale/programs/locfile.h: Include "obstack.h".
16808 (struct locale_file): Change to store locale file contents instead
16809 of header.
16810 (init_locale_data): New prototype.
16811 (align_locale_data): Likewise.
16812 (add_locale_empty): Likewise.
16813 (add_locale_raw_data): Likewise.
16814 (add_locale_raw_obstack): Likewise.
16815 (add_locale_string): Likewise.
16816 (add_locale_wstring): Likewise.
16817 (add_locale_uint32): Likewise.
16818 (add_locale_uint32_array): Likewise.
16819 (add_locale_char): Likewise.
16820 (start_locale_structure): Likewise.
16821 (end_locale_structure): Likewise.
16822 (start_locale_prelude): Likewise.
16823 (end_locale_prelude): Likewise.
16824 (write_locale_data): Update prototype.
16825 * locale/programs/3level.h (struct TABLE): Remove result field.
16826 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16827 Use new locale_file interface.
16828 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16829 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16830 * locale/programs/ld-address.c (address_output): Use new
16831 locale_file interface.
16832 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16833 NO_ADD_LOCALE.
16834 (collate_finish): Don't call collseq_table_finalize.
16835 (collate_output): Use new locale_file interface.
16836 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16837 in file.
16838 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16839 (TABLE): Move defines earlier in file.
16840 (ELEMENT): Likewise.
16841 (DEFAULT): Likewise.
16842 (wctrans_table_add): Move macro and inline function earlier in
16843 file.
16844 (struct wctype_table): Move type earlier in file.
16845 (add_locale_wctype_table): New static prototype.
16846 (struct locale_ctype_t): Use logical types instead of struct iovec
16847 pointers for members.
16848 (ctype_output): Use new locale_file interface.
16849 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16850 new locale_file interface.
16851 (allocate_arrays): Update for use of new locale_file interface.
16852 * locale/programs/ld-identification.c (identification_output): Use
16853 new locale_file interface.
16854 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16855 * locale/programs/ld-messages.c (messages_output): Likewise.
16856 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16857 * locale/programs/ld-name.c (name_output): Likewise.
16858 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16859 * locale/programs/ld-paper.c (paper_output): Likewise.
16860 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16861 * locale/programs/ld-time.c (time_output): Likewise.
16862
e029e2e5
AZ
168632013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16864
16865 * benchtests/Makefile: Add memrchr benchmark.
16866 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16867 benchmark as memrchr.
16868 * benchtests/bench-memrchr-ifunc.c: New file.
16869 * benchtests/bench-memrchr.c: New file.
16870
bbf6e8e4
WN
168712013-09-06 Will Newton <will.newton@linaro.org>
16872
16873 * benchtests/Makefile (string-bench): Add memcpy.
16874
6c82a2f8
CD
168752013-09-05 Carlos O'Donell <carlos@redhat.com>
16876 Cong Wang <amwang@redhat.com>
16877
e732c5f0 16878 [BZ #15850]
6c82a2f8
CD
16879 * sysdeps/unix/sysv/linux/bits/in.h
16880 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16881 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16882 before __USE_KERNEL_IPV6_DEFS uses.
16883 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16884 IPPROTO_BEETPH.
16885 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16886 sockaddr_in6, or ipv6_mreq.
16887
5430fc65
AZ
168882013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16889
16890 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16891 memory access for final bytes in some large inputs.
16892 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16893
4660856c
AZ
168942013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16895
16896 * string/test-memrchr.c: New file.
16897 * string/test-memrchr-ifunc.c: New file.
16898 * string/Makefile: Add new memrchr testcase.
16899
bb8ea713
MF
169002013-09-05 Mike Frysinger <vapier@gentoo.org>
16901
16902 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16903 fanotify_init returns EPERM.
16904
b92a20b5
JM
169052013-09-04 Joseph Myers <joseph@codesourcery.com>
16906
16907 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16908 errors.
16909 (top level): Treat second token from macro or constant entries for
16910 allowed headers as allowed.
16911 * include/complex.h: Condition internal declarations on
16912 [!_ISOMAC].
16913 * include/fenv.h: Condition include of <stdbool.h> and internal
16914 declarations on [!_ISOMAC].
7447ccd9
CL
16915
169162013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16917
3e181dda 16918 [BZ #15923]
7447ccd9
CL
16919 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16920
3f2e46a4
JM
169212013-09-04 Joseph Myers <joseph@codesourcery.com>
16922
16923 * configure.in (--enable-versioning): Remove configure option.
16924 (libc_cv_asm_symver_directive): Remove configure test.
16925 (libc_cv_ld_version_script_option): Likewise.
16926 (VERSIONING): Remove variable and AC_SUBST.
16927 (DO_VERSIONING): Remove AC_DEFINE.
16928 * configure: Regenerated.
16929 * config.h.in (DO_VERSIONING): Remove macro.
16930 * Makerules [$(versioning) = yes]: Change conditionals to
16931 [$(build-shared) = yes].
16932 * config.make.in (versioning): Remove variable.
16933 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16934 [$(build-shared) = yes].
16935 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16936 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16937 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16938 [$(build-shared) = yes].
16939 * extra-lib.mk [$(versioning) = yes]: Likewise.
16940 * hurd/Makefile [$(versioning) = yes]: Likewise.
16941 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16942 [SHARED].
16943 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16944 [SHARED].
16945 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16946 [SHARED && !NO_HIDDEN].
16947 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16948 [SHARED].
16949 [SHARED && DO_VERSIONING]: Likewise..
16950 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16951 [$(build-shared) = yes].
16952 * manual/install.texi (--disable-versioning): Remove
16953 documentation.
16954 * INSTALL: Regenerated.
16955 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16956 to [SHARED].
16957 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16958 [$(build-shared) = yes].
16959 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16960 * sysdeps/i386/i686/multiarch/strstr-c.c
16961 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16962 [SHARED && !NO_HIDDEN].
16963 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16964 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16965 * sysdeps/powerpc/powerpc32/dl-machine.c
16966 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16967 * sysdeps/powerpc/powerpc32/sysdep.h
16968 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16969 to [SHARED && PIC && !NO_HIDDEN].
16970 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16971 conditional to [SHARED].
16972
44558701
WN
169732013-09-04 Will Newton <will.newton@linaro.org>
16974
16975 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16976 * benchtests/bench-string.h: Include bench-timing.h instead
16977 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16978 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16979 call to HP_TIMING_DIFF_INIT.
16980 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16981 instead of hp-timing.h macros.
16982 * benchtests/bench-memchr.c: Likewise.
16983 * benchtests/bench-memcmp.c: Likewise.
16984 * benchtests/bench-memcpy.c: Likewise.
16985 * benchtests/bench-memmem.c: Likewise.
16986 * benchtests/bench-memmove.c: Likewise.
16987 * benchtests/bench-memset.c: Likewise.
16988 * benchtests/bench-rawmemchr.c: Likewise.
16989 * benchtests/bench-strcasecmp.c: Likewise.
16990 * benchtests/bench-strcasestr.c: Likewise.
16991 * benchtests/bench-strcat.c: Likewise.
16992 * benchtests/bench-strchr.c: Likewise.
16993 * benchtests/bench-strcmp.c: Likewise.
16994 * benchtests/bench-strcpy.c: Likewise.
16995 * benchtests/bench-strcpy_chk.c: Likewise.
16996 * benchtests/bench-strlen.c: Likewise.
16997 * benchtests/bench-strncasecmp.c: Likewise.
16998 * benchtests/bench-strncat.c: Likewise.
16999 * benchtests/bench-strncmp.c: Likewise.
17000 * benchtests/bench-strncpy.c: Likewise.
17001 * benchtests/bench-strnlen.c: Likewise.
17002 * benchtests/bench-strpbrk.c: Likewise.
17003 * benchtests/bench-strrchr.c: Likewise.
17004 * benchtests/bench-strspn.c: Likewise.
17005 * benchtests/bench-strstr.c: Likewise.
17006
cae16d66
WN
170072013-09-04 Will Newton <will.newton@linaro.org>
17008
17009 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17010
ffa3cd7f
JM
170112013-09-03 Joseph Myers <joseph@codesourcery.com>
17012
17013 [BZ #15427]
17014 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17015 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17016 * math/libm-test.inc (lgamma_test_data): Add more tests.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17019
8f02859f
OB
170202013-09-03 Ondřej Bílka <neleai@seznam.cz>
17021
17022 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17024 Add ifunc.
17025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17026 Add strcmp-sse2-unaligned
17027 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17028
18d43716
MF
170292013-09-02 Mike Frysinger <vapier@gentoo.org>
17030
17031 * Versions.def (libc): Add GLIBC_2.19.
17032
ac444012
MF
170332013-09-02 Mike Frysinger <vapier@gentoo.org>
17034
17035 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17036 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17037
b7835e32
JM
170382013-09-02 Joseph Myers <joseph@codesourcery.com>
17039
17040 [BZ #14155]
17041 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17042 intermediate calculations in recurrence.
17043 (__ieee754_ynf): Likewise.
17044 * math/libm-test.inc (jn_test_data): Do not allow spurious
17045 underflow exception. Add more tests.
17046 (yn_test_data): Add more tests.
17047 * sysdeps/i386/fpu/libm-test-ulps: Update.
17048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17049
8220f4f0
OB
170502013-09-02 Ondřej Bílka <neleai@seznam.cz>
17051
17052 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17053
f24a6d08
OB
170542013-08-30 Ondřej Bílka <neleai@seznam.cz>
17055
17056 * csu/init-first.c: Fix then/than typos.
17057 * locale/programs/ld-collate.c: Likewise.
17058 * locale/programs/linereader.h: Likewise.
17059 * manual/charset.texi: Likewise.
17060 * manual/filesys.texi: Likewise.
17061 * manual/stdio.texi: Likewise.
17062 * manual/string.texi: Likewise.
17063 * stdlib/fmtmsg.c: Likewise.
17064 * sysdeps/i386/stpncpy.S: Likewise.
17065 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17066 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17068 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17069
382466e0
OB
170702013-08-30 Ondřej Bílka <neleai@seznam.cz>
17071
17072 * elf/dl-open.c: Fix typos.
17073 * iconvdata/gbbig5.c: Likewise.
17074 * iconvdata/iso-2022-jp.c: Likewise.
17075 * iconv/gconv_int.h: Likewise.
17076 * iconv/loop.c: Likewise.
17077 * nis/rpcsvc/nis.h: Likewise.
17078 * resolv/ns_name.c: Likewise.
17079 * stdio-common/vfscanf.c: Likewise.
17080 * streams/stropts.h: Likewise.
17081 * sunrpc/rpc_thread.c: Likewise.
17082 * sysdeps/i386/strpbrk.S: Likewise.
17083 * sysdeps/ieee754/k_standard.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17086 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17087 * sysdeps/mach/hurd/profil.c: Likewise.
17088 * sysdeps/s390/dl-procinfo.h: Likewise.
17089 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17091 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17092 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17094
0186c6e9
OB
170952013-08-30 Ondřej Bílka <neleai@seznam.cz>
17096
17097 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17099
d4e16af1
OB
171002013-08-29 Ondřej Bílka <neleai@seznam.cz>
17101
17102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17103 aix specific files.
17104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17106 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17107 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17108 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17109 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17111 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17112
88335980
TS
171132013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17114 Roland McGrath <roland@hack.frob.com>
17115
17116 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17117 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17118
ed479b02
ST
171192013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17120
17121 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17122 __executable_start symbol instead of _start.
17123
f1cc4c86
TS
171242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17125
d821f07c
TS
17126 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17127 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17128 Move macros to...
17129 * sysdeps/gnu/ldsodefs.h: ... this new file.
17130
c54290cf
TS
17131 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17132 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17133 instead of ELFOSABI_LINUX.
17134
0007fc9b 17135 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17136 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17137 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17138 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17139 Likewise.
17140 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17141 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17142 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17143 Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17145 (ibm_extended_long_double): Add ieee_nan member.
17146 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17147 (do_test): New function.
17148
f1cc4c86
TS
17149 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17150 TEST_TRUNC.
17151 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17152 functions, renamed from truncdfsf_test, trunctfsf_test,
17153 trunctfdf_test.
17154 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17155 functions.
17156 (do_test): Run all these.
17157
6f65e668
OB
171582013-08-29 Ondřej Bílka <neleai@seznam.cz>
17159
17160 * argp/argp-help.c: Fix typos.
17161 * argp/argp-parse.c: Likewise.
17162 * debug/backtracesyms.c: Likewise.
17163 * elf/elf.h: Likewise.
17164 * malloc/malloc.c: Likewise.
17165 * nis/nis_print.c: Likewise.
17166 * resolv/res_comp.c: Likewise.
17167 * stdlib/stdlib.h: Likewise.
17168 * sunrpc/clnt_tcp.c: Likewise.
17169 * sunrpc/clnt_udp.c: Likewise.
17170 * sunrpc/clnt_unix.c: Likewise.
17171 * sysdeps/unix/bsd/ptsname.c: Likewise.
17172 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17173 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17175 Likewise.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17177 Likewise.
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17179 Likewise.
6f65e668
OB
17180 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17181
3a309239
SP
171822013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17186
3b813b29
MF
171872013-08-27 Mike Frysinger <vapier@gentoo.org>
17188
17189 [BZ #15897]
17190 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17191 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17192 ($(objpfx)bug-dl-leaf): New rule.
17193 ($(objpfx)bug-dl-leaf.so): Likewise.
17194 ($(objpfx)bug-dl-leaf.out): Likewise.
17195 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17196 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17197 * dlfcn/bug-dl-leaf.c: New test.
17198 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17199 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17200 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17201 (dlclose): Likewise.
17202 (dlmopen): Likewise.
17203
8cc3269f
RM
172042013-08-27 Roland McGrath <roland@hack.frob.com>
17205
7f9d0034
RM
17206 * include/netdb.h [!_ISOMAC]:
17207 Don't include <tls.h>.
17208 (h_errno, __libc_h_errno): Move declaration and macros out of
17209 [_LIBC_REENTRANT].
17210
fb431262
RM
17211 * include/resolv.h [_RESOLV_H_]:
17212 Don't include <tls.h>.
17213 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17214 * resolv/res_libc.c: Don't include <tls.h>.
17215 (_res): Use __attribute__ ((nocommon)) in place of
17216 __attribute__ ((section (".bss"))).
17217
bd81123a
RM
17218 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17219 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17220
c4e42566
RM
17221 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17222
f890a59b
RM
17223 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17224 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17225
17226 * resolv/res_mkquery.c: Include <sys/time.h>.
17227
5d1f0a09
RM
17228 * inet/ifreq.c: Moved to ...
17229 * sysdeps/unix/ifreq.c: ... here.
17230 * inet/ifreq.c: New file, true stub version.
17231
6fcf28b3
RM
17232 * socket/sa_len.c: New file.
17233 * socket/Makefile (aux): Add it.
17234 * sysdeps/unix/sysv/linux/Makefile
17235 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17236 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17237 and #include <socket/sa_len.c>.
17238 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17239 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17240
e041fb8b
RM
17241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17242 * bits/socket.h: ... here.
17243
8cc3269f
RM
17244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17245 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17246 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17247
5d228a43
AS
172482013-08-27 Andreas Schwab <schwab@suse.de>
17249
45b8accc
AS
17250 [BZ #15736]
17251 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17252 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17253 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17254 * string/test-strcasecmp.c (test_main): Run tests in several
17255 locales.
17256 * string/test-strncasecmp.c (test_main): Likewise.
17257
5d228a43
AS
17258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17259 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17260 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17262 (__strncasecmp_ssse3) [PIC]: Likewise.
17263
59d112a4
RM
172642013-08-26 Roland McGrath <roland@hack.frob.com>
17265
53234cc3
RM
17266 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17267
59d112a4
RM
17268 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17269 instead of explicitly declaring xdecrypt.
17270 * nis/nss_nis/nis-publickey.c: Likewise.
17271
595aba70
SP
172722013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17273
17274 [BZ #15890]
17275 * nscd/aicache.c: Include res_hconf.h.
17276 (addhstaiX): Initialize res_hconf.
17277
ffabd393
AS
172782013-08-26 Andreas Schwab <schwab@suse.de>
17279
17280 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17281 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17282
e0a69f5c
SP
172832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
17285 * nscd/aicache.c (addhstaiX): Fix indentation.
17286
8c12f01d
MF
172872013-08-25 Mike Frysinger <vapier@gentoo.org>
17288
17289 * configure.ac: Quote $build_pt_chown test.
17290 * configure: Regenerated.
17291
8fe89494
JM
172922013-08-23 Joseph Myers <joseph@codesourcery.com>
17293
17294 [BZ #15532]
17295 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17296 * math/s_cexpf.c (__cexpf): Likewise.
17297 * math/s_cexpl.c (__cexpl): Likewise.
17298 * math/libm-test.inc (cexp_test_data): Correct expected return
17299 value for NaN + i0. Add another test.
17300
75b181d6
DM
173012013-08-22 David S. Miller <davem@davemloft.net>
17302
17303 * po/ca.po: Update Catalan translation from translation project.
936241e4 17304 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17305
acd06bb1
JM
173062013-08-21 Joseph Myers <joseph@codesourcery.com>
17307
17308 [BZ #15797]
17309 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17310 is infinite, not alongside NaN test.
17311 * math/s_fdimf.c (__fdimf): Likewise.
17312 * math/s_fdiml.c (__fdiml): Likewise.
17313 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17314 errno is unchanged.
17315
c0c3f78a
OB
173162013-08-21 Ondřej Bílka <neleai@seznam.cz>
17317
17318 * argp/argp-help.c: Fix typos.
17319 * crypt/speeds.c: Likewise.
17320 * csu/check_fds.c: Likewise.
17321 * elf/dl-load.c: Likewise.
17322 * elf/dl-open.c: Likewise.
17323 * elf/reldep3.c: Likewise.
17324 * elf/reldep.c: Likewise.
17325 * elf/sprof.c: Likewise.
17326 * iconv/iconv_charmap.c: Likewise.
17327 * iconv/skeleton.c: Likewise.
17328 * iconv/strtab.c: Likewise.
17329 * io/lockf64.c: Likewise.
17330 * libio/libioP.h: Likewise.
17331 * resolv/gai_notify.c: Likewise.
17332 * resolv/ns_name.c: Likewise.
17333 * resolv/ns_samedomain.c: Likewise.
17334 * resolv/res_send.c: Likewise.
17335 * stdlib/random.c: Likewise.
17336 * sunrpc/rpc/xdr.h: Likewise.
17337 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17338 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17344 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17345 * sysdeps/mach/hurd/check_fds.c: Likewise.
17346 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17347 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17348 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17350 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17351 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17352 * sysdeps/pthread/aio_notify.c: Likewise.
17353 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17354 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17356 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17357 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17358
46ed1038
LD
173592013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17360
17361 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17362 version if bit_Slow_SSE4_2 is set.
17363 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17364 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17365
d400dcac
AZ
173662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17367
17368 [BZ #15867]
17369 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17370 trampoline stack frame information.
17371 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17372 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17373 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17374 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17375 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17376 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17377 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17378 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17379 sa_flags value.
17380 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17381 interrupting a syscall and set with option SA_SIGINFO.
17382
42c8fdd8
JM
173832013-08-20 Joseph Myers <joseph@codesourcery.com>
17384
c980f2f4
JM
17385 [BZ #15531]
17386 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17387 argument is infinite.
17388 * math/s_cprojf.c (__cprojf): Likewise.
17389 * math/s_cprojl.c (__cprojl): Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17391 * math/libm-test.inc (cproj_test_data): Add more tests.
17392
0716c4fc
JM
17393 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17394
42c8fdd8
JM
17395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17396 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17397 size. Use __ffs to determine corresponding shift.
17398
b31469d0
JM
173992013-08-20 Joseph Myers <joseph@codesourcery.com>
17400 Roland McGrath <roland@hack.frob.com>
17401
17402 * Makefile (INSTALL): Remove trailing blank lines from output of
17403 makeinfo.
17404
4e39af6e
AK
174052013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406
17407 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17408 Align 32 bit compat elf_greg to 8 bytes.
17409
f315524e
AA
174102013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17411
17412 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17413
1326ba1a
SP
174142013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17415
17416 * string/strcoll_l.c (coll_seq): New structure.
17417 (get_next_seq_cached): New function.
17418 (get_next_seq): New function.
17419 (do_compare): New function.
17420 (STRCOLL): Use GNU style definition. Simplify implementation
17421 by using get_next_seq, get_next_seq_cached and do_compare.
17422
91ce4085
FW
174232013-08-16 Florian Weimer <fweimer@redhat.com>
17424
17425 [BZ #14699]
17426 CVE-2013-4237
17427 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17428 member.
17429 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17430 member.
17431 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17432 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17433 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17434 conditional.
17435 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17436 GETDENTS_64BIT_ALIGNED.
17437 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17438 * manual/filesys.texi (Reading/Closing Directory): Document
17439 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17440 strongly.
17441 * manual/conf.texi (Limits for Files): Add portability note to
17442 NAME_MAX, PATH_MAX.
17443 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17444
ca0a6bc4
AS
174452013-08-13 Andreas Schwab <schwab@suse.de>
17446
17447 [BZ #15749]
17448 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17449 of fabs.
17450 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17451 LDBL_MAX_EXP >= 16384]: Add tests for it.
17452
6c1fd795
DM
174532013-08-12 David S. Miller <davem@davemloft.net>
17454
17455 * version.h (RELEASE): Set to "development".
17456 (VERSION): Set to "2.18.90".
17457 * NEWS: Add 2.19 section.
17458
31ad488d
DM
174592013-08-03 David S. Miller <davem@davemloft.net>
17460
17461 * po/ko.po: Update Korean translation from translation project.
17462
db24e684
DM
174632013-08-01 David S. Miller <davem@davemloft.net>
17464
17465 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17466 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17467 Bilka.
17468
f723285b
DM
174692013-07-30 David S. Miller <davem@davemloft.net>
17470
17471 * po/fr.po: Update French translation from translation project.
17472
3cbc52db
DM
174732013-07-28 David S. Miller <davem@davemloft.net>
17474
30bbc0cc
DM
17475 * po/cs.po: Update Czech translation from translation project.
17476
3cbc52db
DM
17477 * po/sv.po: Update Swedish translation from translation project.
17478
d492e6d0
DM
174792013-07-27 David S. Miller <davem@davemloft.net>
17480
f1a7f492
DM
17481 * po/eo.po: Update Esperanto translation from translation project.
17482
90e62a4a
DM
17483 * po/vi.po: Update Vietnamese translation from translation project.
17484
d492e6d0
DM
17485 * po/de.po: Update German translation from translation project.
17486
d4baa62d
DM
174872013-07-26 David S. Miller <davem@davemloft.net>
17488
641aa7b4
DM
17489 * po/bg.po: Update Bulgarian translation from translation project.
17490
d4baa62d
DM
17491 * po/nl.po: Update Dutch translation from translation project.
17492 * po/pl.po: Update Polish translation from translation project.
17493 * po/ru.po: Update Russian translation from translation project.
17494
61a9dcb9
DM
174952013-07-24 David S. Miller <davem@davemloft.net>
17496
17497 * po/libc.pot: Update.
17498
7b1f8b58
AZ
174992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17500
17501 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17502 variable page size.
17503 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17504 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17505 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17506
a8fc7a03
AK
175072013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17508
17509 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17510
e4608715
CD
175112013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17512 Andreas Schwab <schwab@suse.de>
17513 Roland McGrath <roland@hack.frob.com>
17514 Joseph Myers <joseph@codesourcery.com>
17515 Carlos O'Donell <carlos@redhat.com>
17516
17517 [BZ #15755]
17518 * config.h.in: Define HAVE_PT_CHOWN.
17519 * config.make.in (build-pt-chown): New variable.
17520 * configure.in (--enable-pt_chown): New configure option.
17521 * configure: Regenerate.
17522 * login/Makefile: Include Makeconfig. Build pt_chown only if
17523 build-pt-chown is enabled.
17524 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17525 pt_chown to fix pty ownership.
17526 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17527 CLOSE_ALL_FDS.
17528 * manual/install.texi (Configuring and compiling): Mention
17529 --enable-pt_chown. Add @findex for grantpt.
17530 * INSTALL: Regenerate.
17531
da2d62df
DM
175322013-07-20 David S. Miller <davem@davemloft.net>
17533
17534 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17535 difference between 32-bit and 64-bit.
17536
d7e06450
CD
175372013-07-15 Carlos O'Donell <carlos@redhat.com>
17538
17539 [BZ #15711]
17540 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17541 Avoid system header dependency with -ffreestanding.
17542 ($(objpfx)bits/syscall%d): Likewise.
17543
f959cfd7
DM
175442013-07-13 David S. Miller <davem@davemloft.net>
17545
17546 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17547 underflows from atanl/atan2l due to bug 15319.
17548 (casinh_test_data): Likewise.
17549
c61f8513
DM
175502013-07-07 David S. Miller <davem@davemloft.net>
17551
17552 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17553
72c90ed0
JA
175542013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17555
17556 * sysdeps/i386/fpu/libm-test-ulps: Update.
17557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17558
52dfbe13
SP
175592013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17560
17561 * configure.in (--enable-lock-elision): Fix message text.
17562 * INSTALL: Regenerate.
17563 * configure: Regenerate.
17564
3f169543
AZ
175652013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17566
17567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17568
521c6785
AJ
175692013-07-03 Andreas Jaeger <aj@suse.de>
17570
17571 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17572 define.
17573 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17574 (ptrace_peeksiginfo_args): Add.
17575 (__ptrace_peeksiginfo_flags): Add.
17576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17579
d2cc15cb
AM
175802013-07-03 Allan McRae <allan@archlinux.org>
17581
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583
3aaeeca7
DM
175842013-07-02 David S. Miller <davem@davemloft.net>
17585
17586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17587
5314ed1a
MT
175882013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17589
17590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17591
67338156
JM
175922013-07-02 Joseph Myers <joseph@codesourcery.com>
17593
17594 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596
1717da59
AK
175972013-07-02 Andi Kleen <ak@linux.intel.com>
17598
17599 * config.h.in (ENABLE_LOCK_ELISION): Add.
17600 * configure.in (--enable-lock-elision): Add option.
17601 * manual/install.texi: Document --enable lock elision.
17602 * configure: Regenerate
17603 * INSTALL: Regenerate.
17604
1c81621c
L
176052013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17606
17607 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17608 SSE4.2 strcasecmp for libc.a.
17609 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17610
77f01ab5
JM
176112013-07-02 Joseph Myers <joseph@codesourcery.com>
17612
17613 [BZ #13304]
17614 * soft-fp/op-common.h (_FP_FMA): New macro.
17615 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17616 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17617 (_FP_MUL_MEAT_1_imm): ... here.
17618 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17619 (_FP_MUL_MEAT_1_wide): ... here.
17620 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17621 (_FP_MUL_MEAT_1_hard): ... here.
17622 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17623 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17624 (_FP_MUL_MEAT_2_wide): ... here.
17625 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17626 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17627 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17628 (_FP_MUL_MEAT_2_gmp): ... here.
17629 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17630 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17631 (_FP_MUL_MEAT_4_wide): ... here.
17632 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17633 (_FP_MUL_MEAT_4_gmp): ... here.
17634 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17635 (_FP_WFRACBITS_DW_S): Likewise.
17636 (_FP_WFRACXBITS_DW_S): Likewise.
17637 (_FP_HIGHBIT_DW_S): Likewise.
17638 (FP_FMA_S): Likewise.
17639 (_FP_FRAC_HIGH_DW_S): Likewise.
17640 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17641 (_FP_WFRACBITS_DW_D): Likewise.
17642 (_FP_WFRACXBITS_DW_D): Likewise.
17643 (_FP_HIGHBIT_DW_D): Likewise.
17644 (FP_FMA_D): Likewise.
17645 (_FP_FRAC_HIGH_DW_D): Likewise.
17646 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17647 (_FP_WFRACBITS_DW_E): Likewise.
17648 (_FP_WFRACXBITS_DW_E): Likewise.
17649 (_FP_HIGHBIT_DW_E): Likewise.
17650 (FP_FMA_E): Likewise.
17651 (_FP_FRAC_HIGH_DW_E): Likewise.
17652 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17653 (_FP_WFRACBITS_DW_Q): Likewise.
17654 (_FP_WFRACXBITS_DW_Q): Likewise.
17655 (_FP_HIGHBIT_DW_Q): Likewise.
17656 (FP_FMA_Q): Likewise.
17657 (_FP_FRAC_HIGH_DW_Q): Likewise.
17658 * soft-fp/fmasf4.c: New file.
17659 * soft-fp/fmadf4.c: Likewise.
17660 * soft-fp/fmatf4.c: Likewise.
17661
6308fd9a
LD
176622013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17663
17664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17665 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17666 Silvermont.
17667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17668 macro.
17669 (index_Slow_SSE4_2): Likewise.
17670 (index_Prefer_PMINUB_for_stringop): Likewise.
17671 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17672 bit_Slow_SSE4_2 is set.
17673 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17675
89cd9569
RA
176762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17677
17678 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17679 rtld_global._dl_hwcap2.
17680 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17681 POWER8.
17682 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17683 POWER8 feature descriptions defined in _dl_hwcap2.
17684 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17685 string handling for POWER8 feature bits.
17686 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17687 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17688 _dl_powerpc_cap_flags.
17689 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17690 * sysdeps/powerpc/rtld-global-offsets.sym
17691 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17692 _dl_hwcap2 in the rtld_global_ro structure.
17693
1ae8bfe0
RA
176942013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17695
17696 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17697 hardware capabilities in support of AT_HWCAP2.
17698 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17699 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17700 GLRO(dl_hwcap2).
17701 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17702 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17703 explicitly the unknown a_type display mechanism is used.
17704 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17705 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17706 struct member.
17707 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17708 to macro prototype for AT_HWCAP2 support.
17709 * sysdeps/i386/dl-procinfo.h: Likewise.
17710 * sysdeps/s390/dl-procinfo.h: Likewise.
17711 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17712 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17713 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17714 return -1 for unknown a_type display fallback.
17715 * sysdeps/sparc/dl-procinfo.h: Likewise.
17716 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17718
8fbec010
JM
177192013-06-28 Joseph Myers <joseph@codesourcery.com>
17720
17721 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17722 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17723
0432680e
PY
177242013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17725
17726 [BZ #12492]
17727 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17728 mprotect making __stack_prot writable.
17729
ce61a2ad
NF
177302013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17731 Joseph Myers <joseph@codesourcery.com>
17732
17733 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17734 as being properly aligned.
17735
f91f1c0f
MR
177362013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17737
3d0f5d0c
MR
17738 * dlfcn/modstatic5.c: New file.
17739 * dlfcn/tststatic5.c: New file.
17740 * dlfcn/Makefile (tests): Add tststatic5.
17741 (tests-static): Likewise.
17742 (modules-names): Add modstatic5.
17743 (tststatic5-ENV): New variable.
17744 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17745
f91f1c0f
MR
17746 [BZ #15022]
17747 * elf/dl-support.c (_dl_main_map): New variable.
17748 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17749 (_dl_nns, _dl_load_adds): Set to 1.
17750 (_dl_initial_searchlist): Refer to _dl_main_map.
17751 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17752 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17753 call to _dl_get_origin.
17754 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17755 around call_map.
17756 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17757 * dlfcn/modstatic3.c: New file.
17758 * dlfcn/tststatic3.c: New file.
17759 * dlfcn/tststatic4.c: New file.
17760 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17761 (tests-static): Likewise.
17762 (modules-names): Add modstatic3.
17763 (tststatic3-ENV, tststatic4-ENV): New variables.
17764 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17765 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17766
cbe7d24b
JM
177672013-06-26 Joseph Myers <joseph@codesourcery.com>
17768
17769 * configure.in (CC): Require GCC version 4.4 or later.
17770 * configure: Regenerated.
17771 * manual/install.texi (Tools for Compilation): Update GCC version
17772 requirement.
17773 * INSTALL: Regenerated.
17774
11b8a0e1
LD
177752013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17776
17777 [BZ #15674]
bb5bb87c
L
17778 * string/test-memcmp.c (check2): New.
17779 (main): Call check2.
17780
11b8a0e1
LD
17781 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17782
b0037103
MR
177832013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17784
17785 [BZ #15022]
17786 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17787 over to...
17788 (dl_open_worker) [!SHARED]: ... here.
17789
c18c701d
RA
177902013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17791
17792 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17793
1d17fa5f
RH
177942013-06-25 Richard Henderson <rth@redhat.com>
17795
17796 * locale/programs/locarchive.c: Include <libc-internal.h>
17797
8fcb833a
JM
177982013-06-25 Joseph Myers <joseph@codesourcery.com>
17799
17800 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17801 trailing whitespace removed.
17802
17db6e8d
MF
178032013-06-24 Mike Frysinger <vapier@gentoo.org>
17804
17805 [BZ #10283]
17db6e8d
MF
17806 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17807 * locale/programs/locarchive.c: Include libc-mmap.h.
17808 (prepare_address_space): Take two new outputs (the mmap base and len).
17809 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17810 values.
17811 (create_archive): Declare new mmap base and len values for
17812 prepare_address_space, and store the result in ah.
17813 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17814 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17815 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17816 Declare new mmap base and len values for
17817 prepare_address_space, and store the result in new_ah.
17818 (open_archive): Declare new mmap base and len values for
17819 prepare_address_space, and store the result in ah.
17820 (close_archive): If ah->mmap_base is not NULL, use that and
17821 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17822 * sysdeps/generic/libc-mmap.h: New file.
17823
d605071e
MF
178242013-06-24 Mike Frysinger <vapier@gentoo.org>
17825
17826 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17827 (ALIGN_UP): Likewise.
17828 (PTR_ALIGN_DOWN): Likewise.
17829 (PTR_ALIGN_UP): Likewise.
17830
2f063a6e
RA
178312013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17832
17833 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17834 entry mapped to PPC_PLATFORM_POWER8.
17835 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17836 POWER8.
17837 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17838 (_dl_string_platform): Add case for exporting platform position for
17839 POWER8.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17841 search path to sysdeps/powerpc/powerpc32/power8 directory.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17843 search path to sysdeps/powerpc/powerpc64/power8 directory.
17844 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17845 power7 directories.
17846 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17847 power7 directories.
17848
a31ee4b3
SP
178492013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17850
a74ca98f
SP
17851 * INSTALL: Regenerate.
17852
a31ee4b3
SP
17853 * nscd/connections.c (nscd_init): Fix comment.
17854
695c378f
JM
178552013-06-22 Joseph Myers <joseph@codesourcery.com>
17856
d8412221
JM
17857 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17858
695c378f
JM
17859 [BZ #15667]
17860 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17861 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17862
d1d54715
MR
178632013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17864
17865 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17866 DL_DST_REQ_STATIC.
17867 (DL_DST_REQ_STATIC): Remove macro.
17868
8fdda7af
JM
178692013-06-21 Joseph Myers <joseph@codesourcery.com>
17870
17871 [BZ #7006]
17872 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17873 with a shift of 0 bits.
17874
f3bc5e5a
MR
178752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17876
17877 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17878 $(tststatic-ENV).
17879
be09e8c9
KK
178802013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17881
17882 [BZ #15655]
17883 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17884
85c2e611
AZ
178852013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17886
17887 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17888 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17889 accepts -fno-tree-loop-distribute-patterns.
17890 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17891 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17892 recursive call.
17893 * string/memset.c (memset): Likewise.
17894 * string/test-memmove.c (simple_memmove): Disable loop transformation
17895 to library calls.
17896 * string/test-memset.c (simple_memset): Likewise.
17897 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17898 * benchtests/bench-memset.c (simple_memset): Likewise.
17899 * configure: Regenerated.
17900
c91e0825
JM
179012013-06-20 Joseph Myers <joseph@codesourcery.com>
17902
b8c792af
JM
17903 * math/test-misc.c (main): Ignore fesetround failure when failures
17904 of subsequent rounding tests would be ignored.
17905
c91e0825
JM
17906 [BZ #15654]
17907 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17908 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17909 * math/fegetenv.c (__fegetenv): Return 0.
17910 * math/fegetexcept.c (fegetexcept): Return 0.
17911 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17912 FE_TONEAREST.
17913 * math/feholdexcpt.c (feholdexcept): Return 0.
17914 * math/fesetenv.c (__fesetenv): Return 0.
17915 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17916 argument FE_TONEAREST.
17917 * math/feupdateenv.c (__feupdateenv): Return 0.
17918 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17919
bfcacbde
RM
179202013-06-18 Roland McGrath <roland@hack.frob.com>
17921
17922 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17923 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17924 ($(objpfx)rtld-%.os rules): Use them.
17925
e55a9b25
AZ
179262013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17927
17928 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17929 fields.
17930
346d65b3
RM
179312013-06-17 Roland McGrath <roland@hack.frob.com>
17932
12086fb4
RM
17933 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17934 length of target pattern, then descending length of dependency pattern.
17935 * configure.in (AWK): Require gawk 3.1.2 or newer.
17936 * manual/install.texi (Tools for Compilation): Say that we do.
17937 * configure: Regenerated.
17938
346d65b3
RM
17939 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17940 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17941 * scripts/sysd-rules.awk: ... this new script.
17942 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17943 than a glob-style pattern.
17944
1a846317
JM
179452013-06-17 Joseph Myers <joseph@codesourcery.com>
17946
17947 * math/test-misc.c (main): Do not treat incorrectly rounded
17948 conversions as failure unless ROUNDING_TESTS passes.
17949
8fc75e6f
JM
179502013-06-15 Joseph Myers <joseph@codesourcery.com>
17951
3711a167
JM
17952 [BZ #15631]
17953 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17954 restore exception state around main square root computation, then
17955 check for inexactness explicitly.
17956
8fc75e6f
JM
17957 * math/libm-test.inc (fma_test_data): Add another test.
17958
61dd6208
SP
179592013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17960
adf23d2c
SP
17961 * manual/threads.texi (Non-POSIX Extensions): New document
17962 node. Document pthread_getattr_default_np and
17963 pthread_setattr_default_np.
17964
61dd6208
SP
17965 * Versions.def (libpthread): Add GLIBC_2.18.
17966 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17968 Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17970 Likewise.
17971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17972 Likewise.
17973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17974 Likewise.
17975 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17976 Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17978 Likewise.
17979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17980 Likewise.
17981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17982 Likewise.
17983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17984 Likewise.
17985
d086fc7b
LD
179862013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17987
17988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17989 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17990
747ef469
SP
179912013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17992 H.J. Lu <hjl.tools@gmail.com>
17993
17994 [BZ #15627]
17995 * sysdeps/x86_64/rtld-memset.c: Remove file.
17996 * sysdeps/x86_64/rtld-memset.S: New file.
17997
1b2feed2
JM
179982013-06-14 Joseph Myers <joseph@codesourcery.com>
17999
18000 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18001 (test_in_one_mode): Take arguments for whether the rounding mode
18002 is supported for each floating-point type.
18003 (do_test): Pass new arguments to test_in_one_mode using
18004 ROUNDING_TESTS.
18005
a58ad3f8
RM
180062013-06-13 Roland McGrath <roland@hack.frob.com>
18007
18008 * posix/tst-waitid.c (do_test): Distinguish different instances of
18009 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18010 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18011 before entering the kernel for waitpid.
18012
c204ab28
SP
180132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18014
18015 * NEWS: Fix note on clock function precision. Text by Roland
18016 McGrath.
18017
f4a29fba
RM
180182013-06-13 Roland McGrath <roland@hack.frob.com>
18019
18020 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18021 it into place only when and if the sanity check passes.
18022
1f24b9ad
JM
180232013-06-13 Joseph Myers <joseph@codesourcery.com>
18024
18025 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18026 output for whether conversion result is exact. Take argument
18027 indicating whether type is IBM long double.
18028 (round_for_all): Change need_exact field to ibm_ld.
18029 * stdlib/tst-strtod-round.c (struct exactness): New type.
18030 (struct test): Change bool ld_ok field to struct exactness exact.
18031 (TEST): Update all definitions for change to field.
18032 (tests): Regenerate array contents.
18033 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18034 field value. Check for IBM long double here.
18035 (do_test): Update calls to test_in_one_mode.
18036
58206c68
SP
180372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18038
18039 [BZ #12515]
18040 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18041 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18042
2d6f4c5b 180432013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18044
18045 [BZ #15605]
18046 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18047 generated by the compiler on loop optimizations.
18048 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18049 general definitions.
18050
94f2c076
JM
180512013-06-12 Joseph Myers <joseph@codesourcery.com>
18052
18053 * math/bug-nextafter.c: Include <math-tests.h>.
18054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18055 the relevant type.
18056 * math/bug-nexttoward.c: Include <math-tests.h>.
18057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18058 the relevant type.
18059 * math/test-misc.c: Include <math-tests.h>.
18060 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18061 the relevant type.
18062
e0e50a0a
AJ
180632013-06-12 Andreas Jaeger <aj@suse.de>
18064
18065 * po/ia.po: Update Interlingua translation from translation
18066 project.
18067
25061094
SP
180682013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18069
18070 * include/fenv.h: Include stdbool.h.
18071 (struct rm_ctx): New structure.
18072 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18073 Define macro.
18074 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18075 (SET_RESTORE_ROUNDF): Likewise.
18076 (SET_RESTORE_ROUNDL): Likewise.
18077 (SET_RESTORE_ROUND_NOEX): Likewise.
18078 (SET_RESTORE_ROUND_NOEXF): Likewise.
18079 (SET_RESTORE_ROUND_NOEXL): Likewise.
18080 (SET_RESTORE_ROUND_53BIT): Likewise.
18081 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18082 (libc_feresetround_noexf_ctx): Likewise.
18083 (libc_feresetround_noexl_ctx): Likewise.
18084 (libc_feholdsetround_53bit_ctx): Likewise.
18085 (libc_feresetround_53bit_ctx): Likewise.
18086 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18087 (libc_feholdexcept_setround_sse_ctx): New function.
18088 (libc_fesetenv_sse_ctx): Likewise.
18089 (libc_feupdateenv_sse_ctx): Likewise.
18090 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18091 (libc_feholdexcept_setround_387_ctx): Likewise.
18092 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18093 (libc_feholdsetround_387_prec_ctx): Likewise.
18094 (libc_feholdsetround_387_ctx): Likewise.
18095 (libc_feholdsetround_387_53bit_ctx): Likewise.
18096 (libc_feholdsetround_sse_ctx): Likewise.
18097 (libc_feresetround_sse_ctx): Likewise.
18098 (libc_feresetround_387_ctx): Likewise.
18099 (libc_feupdateenv_387_ctx): Likewise.
18100 (libc_feholdexcept_setroundf_ctx): Define macro.
18101 (libc_fesetenvf_ctx): Likewise.
18102 (libc_feupdateenvf_ctx): Likewise.
18103 (libc_feholdsetroundf_ctx): Likewise.
18104 (libc_feresetroundf_ctx): Likewise.
18105 (libc_feholdexcept_setround_ctx): Likewise.
18106 (libc_fesetenv_ctx): Likewise.
18107 (libc_feupdateenv_ctx): Likewise.
18108 (libc_feholdsetround_ctx): Likewise.
18109 (libc_feresetround_ctx): Likewise.
18110 (libc_feholdexcept_setroundl_ctx): Likewise.
18111 (libc_feupdateenvl_ctx): Likewise.
18112 (libc_feholdsetroundl_ctx): Likewise.
18113 (libc_feresetroundl_ctx): Likewise.
18114 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18115 (libc_feresetround_53bit_ctx): Likewise.
18116
59b30555
SP
181172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18118
18119 * locale/iso-639.def: Convert to UTF-8.
18120
f1d73d30
JM
181212013-06-11 Joseph Myers <joseph@codesourcery.com>
18122
18123 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18124 (EXCEPTION_TESTS_double): Likewise.
18125 (EXCEPTION_TESTS_long_double): Likewise.
18126 (EXCEPTION_TESTS): Likewise.
18127 * math/libm-test.inc (test_exceptions): Only test exceptions if
18128 EXCEPTION_TESTS (FLOAT).
18129
94aca5e7
SP
181302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18131
18132 * benchtests/Makefile (string-bench): Add strcpy_chk and
18133 stpcpy_chk.
18134 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18135 * benchtests/bench-stpcpy_chk.c: New file.
18136 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18137 * benchtests/bench-strcpy_chk.c: New file.
18138 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18139 code.
18140 (do_test): Likewise.
18141
fac0c5f2
RA
181422013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18143
18144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18145 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18146 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18147 with tabs where appropriate.
18148 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18149 dl-procinfo.h.
18150 [PPC_PLATFORM_PPC440]: Likewise.
18151 [PPC_PLATFORM_PPC464]: Likewise.
18152 [PPC_PLATFORM_PPC476]: Likewise.
18153 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18154 ppc464, and ppc476 platform strings merging from ports/
18155 dl-procinfo.h.
18156
f22bc486
AS
181572013-06-11 Andreas Schwab <schwab@suse.de>
18158
18159 [BZ #14991]
18160 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18161 (from_ucs4_idx): Regenerate.
18162 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18163 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18164 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18165 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18166 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18167 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18168 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18169 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18170 from FROM_LOOP and TO_LOOP specific macros.
18171 (BODY): Handle combining characters.
18172 * iconvdata/BIG5HKSCS.irreversible: Update.
18173 * iconvdata/BIG5HKSCS.precomposed: New file.
18174 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18175 characters.
18176 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18177
c1f75dc3
SP
181782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18179
4eacded2
SP
18180 * include/sys/time.h: Fix indentation and add copyright header.
18181
fec799f8
SP
18182 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18183 (do_test): Likewise.
18184 * string/test-memchr.c (do_one_test): Likewise.
18185 (do_test): Likewise.
18186 * string/test-memcmp.c (do_one_test): Likewise.
18187 (do_test): Likewise.
18188 * string/test-memcpy.c (do_one_test): Likewise.
18189 (do_test): Likewise.
18190 * string/test-memmem.c (do_one_test): Likewise.
18191 (do_test): Likewise.
18192 (do_random_tests): Likewise.
18193 * string/test-memmove.c (do_one_test): Likewise.
18194 (do_test): Likewise.
18195 * string/test-memset.c (do_one_test): Likewise.
18196 (do_test): Likewise.
18197 * string/test-rawmemchr.c (do_one_test): Likewise.
18198 (do_test): Likewise.
18199 * string/test-strcasecmp.c (do_one_test): Likewise.
18200 (do_test): Likewise.
18201 * string/test-strcasestr.c (do_one_test): Likewise.
18202 (do_test): Likewise.
18203 * string/test-strcat.c (do_one_test): Likewise.
18204 (do_test): Likewise.
18205 * string/test-strchr.c (do_one_test): Likewise.
18206 (do_test): Likewise.
18207 * string/test-strcmp.c (do_one_test): Likewise.
18208 (do_test): Likewise.
18209 * string/test-strcpy.c (do_one_test): Likewise.
18210 (do_test): Likewise.
18211 * string/test-string.h: Likewise.
18212 (test_init): Likewise.
18213 * string/test-strlen.c (do_one_test): Likewise.
18214 (do_test): Likewise.
18215 * string/test-strncasecmp.c (do_one_test): Likewise.
18216 (do_test): Likewise.
18217 * string/test-strncat.c (do_one_test): Likewise.
18218 (do_test): Likewise.
18219 * string/test-strncmp.c (do_one_test): Likewise.
18220 (do_test_limit): Likewise.
18221 (do_test): Likewise.
18222 * string/test-strncpy.c (do_one_test): Likewise.
18223 (do_test): Likewise.
18224 * string/test-strnlen.c (do_one_test): Likewise.
18225 (do_test): Likewise.
18226 * string/test-strpbrk.c (do_one_test): Likewise.
18227 (do_test): Likewise.
18228 * string/test-strrchr.c (do_one_test): Likewise.
18229 (do_test): Likewise.
18230 * string/test-strspn.c (do_one_test): Likewise.
18231 (do_test): Likewise.
18232 * string/test-strstr.c (do_one_test): Likewise.
18233 (do_test): Likewise.
18234
97020474
SP
18235 * benchtests/Makefile (string-bench): Add string benchmarks.
18236 * benchtests/bench-bcopy-ifunc.c: New file.
18237 * benchtests/bench-bcopy.c: New file.
18238 * benchtests/bench-bzero-ifunc.c: New file.
18239 * benchtests/bench-bzero.c: New file.
18240 * benchtests/bench-memccpy-ifunc.c: New file.
18241 * benchtests/bench-memccpy.c: New file.
18242 * benchtests/bench-memchr-ifunc.c: New file.
18243 * benchtests/bench-memchr.c: New file.
18244 * benchtests/bench-memcmp-ifunc.c: New file.
18245 * benchtests/bench-memcmp.c: New file.
18246 * benchtests/bench-memmem-ifunc.c: New file.
18247 * benchtests/bench-memmem.c: New file.
18248 * benchtests/bench-memmove-ifunc.c: New file.
18249 * benchtests/bench-memmove.c: New file.
18250 * benchtests/bench-mempcpy-ifunc.c: New file.
18251 * benchtests/bench-mempcpy.c: New file.
18252 * benchtests/bench-memset-ifunc.c: New file.
18253 * benchtests/bench-memset.c: New file.
18254 * benchtests/bench-rawmemchr-ifunc.c: New file.
18255 * benchtests/bench-rawmemchr.c: New file.
18256 * benchtests/bench-stpcpy-ifunc.c: New file.
18257 * benchtests/bench-stpcpy.c: New file.
18258 * benchtests/bench-stpncpy-ifunc.c: New file.
18259 * benchtests/bench-stpncpy.c: New file.
18260 * benchtests/bench-strcasecmp-ifunc.c: New file.
18261 * benchtests/bench-strcasecmp.c: New file.
18262 * benchtests/bench-strcasestr-ifunc.c: New file.
18263 * benchtests/bench-strcasestr.c: New file.
18264 * benchtests/bench-strcat-ifunc.c: New file.
18265 * benchtests/bench-strcat.c: New file.
18266 * benchtests/bench-strchr-ifunc.c: New file.
18267 * benchtests/bench-strchr.c: New file.
18268 * benchtests/bench-strchrnul-ifunc.c: New file.
18269 * benchtests/bench-strchrnul.c: New file.
18270 * benchtests/bench-strcmp-ifunc.c: New file.
18271 * benchtests/bench-strcmp.c: New file.
18272 * benchtests/bench-strcpy-ifunc.c: New file.
18273 * benchtests/bench-strcpy.c: New file.
18274 * benchtests/bench-strcspn-ifunc.c: New file.
18275 * benchtests/bench-strcspn.c: New file.
18276 * benchtests/bench-strlen-ifunc.c: New file.
18277 * benchtests/bench-strlen.c: New file.
18278 * benchtests/bench-strncasecmp-ifunc.c: New file.
18279 * benchtests/bench-strncasecmp.c: New file.
18280 * benchtests/bench-strncat-ifunc.c: New file.
18281 * benchtests/bench-strncat.c: New file.
18282 * benchtests/bench-strncmp-ifunc.c: New file.
18283 * benchtests/bench-strncmp.c: New file.
18284 * benchtests/bench-strncpy-ifunc.c: New file.
18285 * benchtests/bench-strncpy.c: New file.
18286 * benchtests/bench-strnlen-ifunc.c: New file.
18287 * benchtests/bench-strnlen.c: New file.
18288 * benchtests/bench-strpbrk-ifunc.c: New file.
18289 * benchtests/bench-strpbrk.c: New file.
18290 * benchtests/bench-strrchr-ifunc.c: New file.
18291 * benchtests/bench-strrchr.c: New file.
18292 * benchtests/bench-strspn-ifunc.c: New file.
18293 * benchtests/bench-strspn.c: New file.
18294 * benchtests/bench-strstr-ifunc.c: New file.
18295 * benchtests/bench-strstr.c: New file.
18296
c1f75dc3
SP
18297 * benchtests/Makefile: Disable parallel execution of targets.
18298 (string-bench): Add memcpy.
18299 (benchset): New variable to store a list of benchmark sets.
18300 (bench-func): Renamed from bench.
18301 (bench-set): New target.
18302 (bench): Depend on bench-func and bench-set.
18303 * benchtests/README: Add section on benchmark sets.
18304 * benchtests/bench-memcpy-ifunc.c: New file.
18305 * benchtests/bench-memcpy.c: New file.
18306 * benchtests/bench-string.h: New file.
18307
50fd745b
AS
183082013-06-11 Andreas Schwab <schwab@suse.de>
18309
18310 [BZ #15577]
18311 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18312 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18313 values in the triple.
18314 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18315 terminator in the group key.
18316
3ee7e9fe
AJ
183172013-06-11 Andreas Jaeger <aj@suse.de>
18318
18319 * po/zh_TW.po: Update Chinese (traditional) translation from
18320 translation project.
18321
89fb6835
SP
183222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18323
18324 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18325 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18326 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18327 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18328 (clock_getcpuclockid): Likewise.
18329 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18330 Add weak_alias and libc_hidden_def.
18331 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18332 * rt/clock_gettime.c (clock_gettime): Rename to
18333 __clock_gettime. Add weak_alias and libc_hidden_def.
18334 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18335 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18336 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18337 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18338 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18339 Likewise.
18340 * rt/clock_settime.c (clock_settime): Rename to
18341 __clock_settime. Add weak_alias and libc_hidden_def.
18342 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18343
0efa6f8b
JM
183442013-06-10 Joseph Myers <joseph@codesourcery.com>
18345
b8c61b4b
JM
18346 * mach/err_boot.sub: Remove trailing whitespace.
18347 * mach/err_ipc.sub: Likewise.
18348 * mach/err_mach.sub: Likewise.
18349
0efa6f8b
JM
18350 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18351 (ROUNDING_TESTS_double): Likewise.
18352 (ROUNDING_TESTS_long_double): Likewise.
18353 (ROUNDING_TESTS): Likewise.
18354 * math/libm-test.inc: Include <math-tests.h>.
18355 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18356 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18357 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18358 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18359
50b818bf
SP
183602013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
18362 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18363 of assigning.
18364
60d2f8f3
JM
183652013-06-08 Joseph Myers <joseph@codesourcery.com>
18366
4902d2c3
JM
18367 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18368 otherwise empty TRANS lines.
18369 * sysdeps/gnu/errlist.c: Regenerated.
18370
60d2f8f3
JM
18371 * catgets/gencat.c (error_print): Use (void) in function
18372 definition.
18373 * crypt/crypt_util.c (__init_des): Likewise.
18374 * crypt/speeds.c (Stop): Likewise.
18375 (main): Likewise.
18376 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18377 * inet/ruserpass.c (token): Likewise.
18378 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18379 * intl/localealias.c (extend_alias_table): Likewise.
18380 * intl/plural-exp.c (init_germanic_plural): Likewise.
18381 * libio/fcloseall.c (__fcloseall): Likewise.
18382 * libio/genops.c (_IO_flush_all): Likewise.
18383 (_IO_flush_all_linebuffered): Likewise.
18384 (_IO_cleanup): Likewise.
18385 (_IO_iter_begin): Likewise.
18386 (_IO_iter_end): Likewise.
18387 (_IO_list_lock): Likewise.
18388 (_IO_list_unlock): Likewise.
18389 (_IO_list_resetlock): Likewise.
18390 * libio/getchar.c (getchar): Likewise.
18391 * libio/getchar_u.c (getchar_unlocked): Likewise.
18392 * libio/getwchar.c (getwchar): Likewise.
18393 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18394 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18395 * login/getpt.c (__getpt): Likewise.
18396 * login/tst-utmp.c (main): Likewise.
18397 * malloc/hooks.c (__malloc_check_init): Likewise.
18398 * malloc/malloc.c (__malloc_stats): Likewise.
18399 * malloc/mtrace.c (tr_break): Likewise.
18400 (mtrace): Likewise.
18401 (muntrace): Likewise.
18402 * misc/fstab.c (endfsent): Likewise.
18403 * misc/getclktck.c (__getclktck): Likewise.
18404 * misc/getdtsz.c (__getdtablesize): Likewise.
18405 * misc/gethostid.c (gethostid): Likewise.
18406 * misc/getpagesize.c (__getpagesize): Likewise.
18407 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18408 (__get_nprocs): Likewise.
18409 (__get_phys_pages): Likewise.
18410 (__get_avphys_pages): Likewise.
18411 * misc/getttyent.c (getttyent): Likewise.
18412 (setttyent): Likewise.
18413 (endttyent): Likewise.
18414 * misc/getusershell.c (getusershell): Likewise.
18415 (endusershell): Likewise.
18416 (setusershell): Likewise.
18417 (initshells): Likewise.
18418 * misc/hsearch.c (__hdestroy): Likewise.
18419 * misc/sync.c (sync): Likewise.
18420 * misc/syslog.c (closelog_internal): Likewise.
18421 (closelog): Likewise.
18422 * misc/ttyslot.c (ttyslot): Likewise.
18423 * misc/vhangup.c (vhangup): Likewise.
18424 * posix/fork.c (__fork): Likewise.
18425 * posix/getegid.c (__getegid): Likewise.
18426 * posix/geteuid.c (__geteuid): Likewise.
18427 * posix/getgid.c (__getgid): Likewise.
18428 * posix/getpid.c (__getpid): Likewise.
18429 * posix/getppid.c (__getppid): Likewise.
18430 * posix/getuid.c (__getuid): Likewise.
18431 * posix/pause.c (pause): Likewise.
18432 * posix/setpgrp.c (setpgrp): Likewise.
18433 * posix/setsid.c (__setsid): Likewise.
18434 * posix/test-vfork.c (noop): Likewise.
18435 * resolv/gethnamaddr.c (_endhtent): Likewise.
18436 (_gethtent): Likewise.
18437 (ht_endhostent): Likewise.
18438 (gethostent): Likewise.
18439 (dns_service): Likewise.
18440 * stdlib/drand48.c (drand48): Likewise.
18441 * stdlib/lrand48.c (lrand48): Likewise.
18442 * stdlib/mrand48.c (mrand48): Likewise.
18443 * stdlib/rand.c (rand): Likewise.
18444 * stdlib/random.c (__random): Likewise.
18445 * stdlib/setenv.c (clearenv): Likewise.
18446 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18447 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18448 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18449 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18450 (__get_nprocs): Likewise.
18451 (__get_phys_pages): Likewise.
18452 (__get_avphys_pages): Likewise.
18453 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18454 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18455 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18456 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18457 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18458 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18459 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18460 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18461 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18462 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18463 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18464 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18465 * sysdeps/posix/clock.c (clock): Likewise.
18466 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18467 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18468 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18469 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18470 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18472 (__get_nprocs_conf): Likewise.
18473 (__get_phys_pages): Likewise.
18474 (__get_avphys_pages): Likewise.
18475 * time/clock.c (clock): Likewise.
18476 * time/tzset.c (__tzname_max): Likewise.
18477
2e09a79a
JM
184782013-06-07 Joseph Myers <joseph@codesourcery.com>
18479
18480 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18481 (__bswap_32): Do not use "register".
18482 * crypt/crypt.c (_ufc_doit_r): Likewise.
18483 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18484 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18485 * gmon/gmon.c (__monstartup): Likewise.
18486 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18487 * hurd/hurdmalloc.c (more_memory): Likewise.
18488 (malloc): Likewise.
18489 (free): Likewise.
18490 (realloc): Likewise.
18491 (malloc_fork_prepare): Likewise.
18492 (malloc_fork_parent): Likewise.
18493 (malloc_fork_child): Likewise.
18494 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18495 (_svcauth_des): Likewise.
18496 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18497 * inet/inet_net.c (inet_network): Likewise.
18498 * inet/inet_netof.c (inet_netof): Likewise.
18499 * inet/rcmd.c (__validuser2_sa): Likewise.
18500 * io/fts.c (fts_open): Likewise.
18501 (fts_load): Likewise.
18502 (fts_close): Likewise.
18503 (fts_read): Likewise.
18504 (fts_children): Likewise.
18505 (fts_build): Likewise.
18506 (fts_stat): Likewise.
18507 (fts_sort): Likewise.
18508 (fts_alloc): Likewise.
18509 (fts_lfree): Likewise.
18510 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18511 (_IO_file_xsgetn): Likewise.
18512 (_IO_file_xsgetn_mmap): Likewise.
18513 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18514 (_IO_cookie_write): Likewise.
18515 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18516 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18517 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18518 * malloc/obstack.c (_obstack_begin): Likewise.
18519 (_obstack_begin_1): Likewise.
18520 (_obstack_newchunk): Likewise.
18521 (_obstack_allocated_p): Likewise.
18522 (obstack_free): Likewise.
18523 (_obstack_memory_used): Likewise.
18524 * misc/getttyent.c (getttynam): Likewise.
18525 (getttyent): Likewise.
18526 (skip): Likewise.
18527 (value): Likewise.
18528 * misc/getusershell.c (initshells): Likewise.
18529 * misc/syslog.c (__vsyslog_chk): Likewise.
18530 * misc/ttyslot.c (ttyslot): Likewise.
18531 * nis/nis_hash.c (__nis_hash): Likewise.
18532 * posix/fnmatch_loop.c (FCT): Likewise.
18533 * posix/getconf.c (print_all): Likewise.
18534 (main): Likewise.
18535 * posix/getopt.c (exchange): Likewise.
18536 * posix/glob.c (globfree): Likewise.
18537 (prefix_array): Likewise.
18538 (__glob_pattern_type): Likewise.
18539 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18540 (NS_GET32): Likewise.
18541 (NS_PUT16): Likewise.
18542 (NS_PUT32): Likewise.
18543 * resolv/gethnamaddr.c (getanswer): Likewise.
18544 (gethostbyname2): Likewise.
18545 (gethostbyaddr): Likewise.
18546 (_gethtent): Likewise.
18547 (_gethtbyname2): Likewise.
18548 (_gethtbyaddr): Likewise.
18549 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18550 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18551 * resolv/res_init.c (__res_vinit): Likewise.
18552 (net_mask): Likewise.
18553 * resolv/res_mkquery.c (outchar): Likewise.
18554 (PRINT): Likewise.
18555 * stdio-common/printf_fp.c (outchar): Likewise.
18556 (PRINT): Likewise.
18557 * stdio-common/printf_fphex.c (outchar): Likewise.
18558 (PRINT): Likewise.
18559 * stdio-common/printf_size.c (outchar): Likewise.
18560 (PRINT): Likewise.
18561 * stdio-common/test_rdwr.c (main): Likewise.
18562 * stdio-common/tfformat.c (matches): Likewise.
18563 * stdio-common/vfprintf.c (outchar): Likewise.
18564 (printf_unknown): Likewise.
18565 (buffered_vfprintf): Likewise.
18566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18567 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18568 (ReadFile): Likewise.
18569 * stdlib/qsort.c (SWAP): Likewise.
18570 (_quicksort): Likewise.
18571 * stdlib/setenv.c (__add_to_environ): Likewise.
18572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18573 * stdlib/strtol_l.c (__strtol_l): Likewise.
18574 * stdlib/tst-strtod.c (main): Likewise.
18575 * stdlib/tst-strtol.c (main): Likewise.
18576 * stdlib/tst-strtoll.c (main): Likewise.
18577 * string/bits/string2.h (__strcmp_cc): Likewise.
18578 (__strcmp_cg): Likewise.
18579 (__strcspn_c1): Likewise.
18580 (__strcspn_c2): Likewise.
18581 (__strcspn_c3): Likewise.
18582 (__strspn_c1): Likewise.
18583 (__strspn_c2): Likewise.
18584 (__strspn_c3): Likewise.
18585 (__strsep_1c): Likewise.
18586 (__strsep_2c): Likewise.
18587 (__strsep_3c): Likewise.
18588 * string/memccpy.c (__memccpy): Likewise.
18589 * string/stpcpy.c (__stpcpy): Likewise.
18590 * string/strcmp.c (strcmp): Likewise.
18591 * string/strrchr.c (strrchr): Likewise.
18592 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18593 Likewise.
18594 * sysdeps/mach/hurd/getcwd.c
18595 (_hurd_canonicalize_directory_name_internal): Likewise.
18596 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18597 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18598 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18599 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18600 Likewise, in both definitions.
18601 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18602 definitions.
18603 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18604 64] (__bswap_64): Likewise.
18605 * time/test_time.c (main): Likewise.
18606 * time/tzfile.c (__tzfile_read): Likewise.
18607 (__tzfile_compute): Likewise.
18608 * time/tzset.c (__tzset_parse_tz): Likewise.
18609 (tzset_internal): Likewise.
18610 (compute_change): Likewise.
18611 * wcsmbs/wcscat.c (__wcscat): Likewise.
18612 * wcsmbs/wcschr.c (wcschr): Likewise.
18613 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18614 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18615 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18616 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18617 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18618 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18619 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18620 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18621 * wcsmbs/wmemset.c (wmemset): Likewise.
18622
9e54314b
JM
186232013-06-06 Joseph Myers <joseph@codesourcery.com>
18624
18625 * scripts/config.guess: Update to version 2013-05-16.
18626 * scripts/config.sub: Update to version 2013-04-24.
18627 * scripts/install-sh: Update to version 2011-11-20.07.
18628 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18629 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18630
350635a5
OB
186312013-06-06 Ondřej Bílka <neleai@seznam.cz>
18632
18633 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18634 * elf/sln.c: Likewise.
18635 * hurd/hurd/ioctl.h: Likewise.
18636 * hurd/hurdmalloc.c: Likewise.
18637 * hurd/xattr.c: Likewise.
18638 * include/shlib-compat.h: Likewise.
18639 * inet/ruserpass.c: Likewise.
18640 * libio/iofgets_u.c: Likewise.
18641 * libio/iofgetws_u.c: Likewise.
18642 * locale/programs/ld-identification.c: Likewise.
18643 * locale/programs/ld-time.c: Likewise.
18644 * mach/msg-destroy.c: Likewise.
18645 * nss/nss_files/files-netgrp.c: Likewise.
18646 * resolv/res_data.c: Likewise.
18647 * soft-fp/op-1.h: Likewise.
18648 * soft-fp/op-2.h: Likewise.
18649 * soft-fp/op-4.h: Likewise.
18650 * soft-fp/op-common.h: Likewise.
18651 * stdio-common/printf_fphex.c: Likewise.
18652 * stdlib/strtod_l.c: Likewise.
18653 * sunrpc/rpc/clnt.h: Likewise.
18654 * sysdeps/generic/framestate.c: Likewise.
18655 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18656 * sysdeps/i386/bsd-setjmp.S: Likewise.
18657 * sysdeps/i386/__longjmp.S: Likewise.
18658 * sysdeps/i386/setjmp.S: Likewise.
18659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18660 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18673 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18675 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18676 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18677 * sysdeps/ieee754/support.c: Likewise.
18678 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18679 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18680 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18681 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18682 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18683 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18684 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18685 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18686 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18687 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18688 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18689 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18692 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18693 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18694 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18696
44a988af
OB
186972013-06-05 Ondřej Bílka <neleai@seznam.cz>
18698
25506f09 18699 * posix/transbug.c: Remove executable mode.
44a988af 18700
9c84384c
JM
187012013-06-05 Joseph Myers <joseph@codesourcery.com>
18702
18703 * crypt/speeds.c: Remove trailing whitespace.
18704 * dlfcn/default.c: Likewise.
18705 * elf/ifuncdep2.c: Likewise.
18706 * elf/ifuncmain1.c: Likewise.
18707 * elf/ifuncmain1vis.c: Likewise.
18708 * elf/testobj.h: Likewise.
18709 * elf/tst-stackguard1.c: Likewise.
18710 * gmon/sys/gmon.h: Likewise.
18711 * hurd/hurdmsg.c: Likewise.
18712 * hurd/new-fd.c: Likewise.
18713 * hurd/ports-get.c: Likewise.
18714 * iconvdata/ibm1008_420.c: Likewise.
18715 * inet/tst-getni1.c: Likewise.
18716 * inet/tst-getni2.c: Likewise.
18717 * libio/ioungetc.c: Likewise.
18718 * libio/wfiledoalloc.c: Likewise.
18719 * manual/libm-err-tab.pl: Likewise.
18720 * math/w_dremf.c: Likewise.
18721 * misc/ftruncate.c: Likewise.
18722 * posix/bug-glob2.c: Likewise.
18723 * posix/tst-pcre.c: Likewise.
18724 * posix/wait4.c: Likewise.
18725 * resolv/README: Likewise.
18726 * resolv/res_debug.h: Likewise.
18727 * resolv/tst-inet_ntop.c: Likewise.
18728 * setjmp/bug269-setjmp.c: Likewise.
18729 * soft-fp/extended.h: Likewise.
18730 * soft-fp/op-1.h: Likewise.
18731 * soft-fp/op-2.h: Likewise.
18732 * soft-fp/op-4.h: Likewise.
18733 * soft-fp/op-8.h: Likewise.
18734 * soft-fp/testit.c: Likewise.
18735 * stdio-common/bug16.c: Likewise.
18736 * stdlib/random.c: Likewise.
18737 * sunrpc/rpcsvc/rquota.x: Likewise.
18738 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18739 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18767 * sysdeps/ieee754/s_lib_version.c: Likewise.
18768 * sysdeps/mach/hurd/check_fds.c: Likewise.
18769 * sysdeps/mach/hurd/getsockname.c: Likewise.
18770 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18771 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18772 * sysdeps/powerpc/bits/link.h: Likewise.
18773 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18774 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18775 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18776 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18777 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18778 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18779 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18780 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18781 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18782 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18783 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18784 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18785 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18786 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18787 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18788 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18793 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18794 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18796 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18797 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18801 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18806 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18807 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18808 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18809 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18810 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18811 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18812 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18813 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18815 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18816 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18817 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18818 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18820 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18821 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18822 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18825 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18826 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18827 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18828 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18829 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18830 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18833 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18834 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18835 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18836 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18837 * sysdeps/powerpc/sysdep.h: Likewise.
18838 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18839 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18840 * sysdeps/sh/dl-trampoline.S: Likewise.
18841 * sysdeps/sh/memset.S: Likewise.
18842 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18843 * sysdeps/sh/strlen.S: Likewise.
18844 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18845 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18846 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18847 * sysdeps/sparc/sparc32/rem.S: Likewise.
18848 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18849 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18850 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18851 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18852 * sysdeps/sparc/sparc32/urem.S: Likewise.
18853 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18854 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18855 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18856 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18857 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18858 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18859 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18860 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18861 * sysdeps/unix/bsd/times.c: Likewise.
18862 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18863 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18869 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18870 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18871 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18872 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18873 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18874 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18876 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18877 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18879 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18880 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18881 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18883 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18884 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18885 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18886 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18887 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18888 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18889 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18890 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18891 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18892 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18893 * sysdeps/x86_64/strcspn.S: Likewise.
18894
869378a5
RA
188952013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18896
18897 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18898 generated file. Regenerate properly from gen-translit.pl.
18899 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18900 locale/C-translit.h.
18901
840e2943
AS
189022013-06-05 Andreas Schwab <schwab@suse.de>
18903
18904 [BZ #15100]
18905 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18906 week as 6 instead of -1.
18907 * time/tst-strptime.c (day_tests): Add test case.
18908
4c60cb0c
SP
189092013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18910
18911 * sysdeps/generic/math_private.h
18912 (libc_feholdexcept_setround_53bit): Replace with
18913 libc_feholdsetround_53bit.
18914 (libc_feupdateenv_53bit): Replace with
18915 libc_feresetround_53bit.
18916 (SET_RESTORE_ROUND_53BIT): Adjust.
18917
d180203e
SP
189182013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18919
96df079a
SP
18920 * string/test-strchrnul.c: Add copyright header.
18921
d180203e
SP
18922 * posix/tst-getaddrinfo4.c: Increase test timeout.
18923
8b0ccb2d
CD
189242013-06-03 Carlos O'Donell <carlos@redhat.com>
18925
18926 [BZ #15536]
18927 * math/libm-test.inc (MAX_EXP): Remove
18928 (MIN_EXP): Define.
18929 (ulp): Use MIN_EXP - MANT_DIG.
18930 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18931
3b3c4d40
CD
189322013-05-31 Carlos O'Donell <carlos@redhat.com>
18933
18934 * po/be.po: Revert last change.
18935 * po/zh_CN.po: Likewise.
18936 * po/header.pot: Likewise.
18937
fab7ce3f
JM
189382013-05-31 Joseph Myers <joseph@codesourcery.com>
18939
18940 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18941 link-libc-deps to empty as target-specific variable.
18942 * Makerules (link-libc-args): New variable.
18943 (libc-for-link): Likewise.
18944 (link-libc-deps): Likewise.
18945 (lib%.so): Depend on $(link-libc-deps). Link with
18946 $(link-libc-args).
18947 (build-module): Link with $(link-libc-args).
18948 (build-module-asneeded): Likewise.
18949 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18950 list of objects.
18951 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18952 target-specific variable.
18953 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18954 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18955 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18956 libc.
18957 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18958 libc and ld.so.
18959 ($(objpfx)libpcprofile.so): Likewise.
18960 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18961 libc_nonshared.a.
18962 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18963 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18964 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18965 $(link-libc-deps).
18966 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18967 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18968 * login/Makefile ($(objpfx)libutil.so): Likewise.
18969 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18970 * math/Makefile ($(objpfx)libm.so): Likewise.
18971 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18972 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18973 variable instead of depending directly on libc.
18974 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18975 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18976 $(link-libc-deps).
18977 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18978 libc.
18979 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18980 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18981 ($(objpfx)libanl.so): Likewise.
18982 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18983 ld.so.
18984 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18985 $(link-libc-deps).
18986 * sysdeps/i386/fpu/Makefile: Remove file.
18987 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18988 ($(objpfx)libm.so): Remove dependency on ld.so.
18989
eca5920c
PF
189902013-05-30 Patsy Franklin <pfrankli@redhat.com>
18991
18992 [BZ # 15553]
18993 * nis/yp_xdr.c (XDRMAXNAME): Define.
18994 (XDRMAXRECORD): Define.
18995 (xdr_domainname): Use XDRMAXNAME.
18996 (xdr_mapname): Likewise.
18997 (xdr_peername): Likewise.
18998 (xdr_keydat): Use XDRMAXRECORD.
18999 (xdr_valdat): Likewise.
19000
190012013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19002
19003 [BZ #14256]
19004 * manual/errno.texi (ESTALE): Update to account for more than
19005 just NFS file systems.
19006 * sysdeps/gnu/errlist.c: Regenerated.
19007
b9375348
SP
190082013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19009
19010 [BZ #15465]
19011 * elf/Makefile (tests): Add tst-null-argv.
19012 (modules-names): Add tst-null-argv-lib.
19013 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19014 (tst-null-argv-ENV): Set environment for tst-null-argv.
19015 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19016 (RTLD_PROGNAME): New macro.
19017 * elf/tst-null-argv.c: New test case.
19018 * elf/tst-null-argv-lib.c: Library for test case.
19019 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19020 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19021 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19022 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19023 * elf/dl-init.c (call_init): Likewise.
19024 (_dl_init): Likewise.
19025 * elf/dl-load.c (print_search_path): Likewise.
19026 (_dl_map_object): Likewise.
19027 * elf/dl-lookup.c (do_lookup_x): Likewise.
19028 (add_dependency): Likewise.
19029 (_dl_lookup_symbol_x): Likewise.
19030 (_dl_debug_bindings): Likewise.
19031 * elf/dl-open.c (_dl_show_scope): Likewise.
19032 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19033 * elf/dl-version.c (match_symbol): Likewise.
19034 (_dl_check_map_versions): Likewise.
19035 * elf/rtld.c (dl_main): Likewise.
19036 (print_unresolved): Use RTLD_PROGNAME.
19037 (print_missing_version): Likewise.
19038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19039 (elf_machine_rela): Likewise.
19040 * sysdeps/powerpc/powerpc32/dl-machine.c
19041 (__process_machine_rela): Likewise.
19042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19043 Likewise.
19044 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19045 Likewise.
19046 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19047 Likewise.
19048 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19050 Likewise.
19051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19052 Likewise.
19053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19054
8a9f20c8
CD
190552013-05-28 Carlos O'Donell <carlos@redhat.com>
19056
19057 * po/be.po: Add descriptive title.
19058 * po/zh_CN.po: Likewise.
19059 * po/header.pot: Likewise.
19060
0e60d68e
MF
190612013-05-28 Mike Frysinger <vapier@gentoo.org>
19062
19063 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19064 error message.
19065 (enlarge_archive): Likewise.
19066
56b672e9
BN
190672013-05-28 Ben North <ben@redfrontdoor.org>
19068
19069 * manual/arith.texi (frexp): It is the magnitude of the return
19070 value which lies in [0.5, 1), not the return value itself.
19071
5e056687
AZ
190722013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19073
19074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19075
2b66ef5d
TS
190762013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19077
528c2405
TS
19078 * stdio-common/bug26.c (main): Correct fscanf template.
19079
07b4c13d
TS
19080 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19081 declare _dl_skip_args.
19082
ec9dd97c
TS
19083 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19084 Don't declare.
19085
2b66ef5d
TS
19086 * manual/platform.texi: Add missing @end deftypefun.
19087
4f8dfe27
JM
190882013-05-24 Joseph Myers <joseph@codesourcery.com>
19089
0323d086
JM
19090 [BZ #15529]
19091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19092 bit of mantissa of 2^16382.
19093 * math/libm-test.inc (hypot_test_data): Add more tests.
19094
dd4259b9
JM
19095 * math/libm-test.inc: Add drem and pow10 to list of tested
19096 functions.
19097 (pow10_test): New function.
19098 (drem_test): Likewise.
19099 (drem_test_tonearest): Likewise.
19100 (drem_test_towardzero): Likewise.
19101 (drem_test_downward): Likewise.
19102 (drem_test_upward): Likewise.
19103 (main): Call the new functions.
19104
4f8dfe27
JM
19105 * math/libm-test.inc (finite_test_data): Remove.
19106 (finite_test): Run tests from isfinite_test_data.
19107 (gamma_test_data): Remove.
19108 (gamma_test): Run tests from lgamma_test_data.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111
d116b7c4
AZ
191122013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19113
19114 * manual/platform.texi: Add PowerPC PPR function set documentation.
19115 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19116 implementation.
19117
e96e3767
CD
191182013-05-24 Carlos O'Donell <carlos@redhat.com>
19119
19120 * math/libm-test.inc (MAX_EXP): Define.
19121 (ULPDIFF): Define.
19122 (ulp): New function.
19123 (check_float_internal): Use ULPDIFF.
19124 (cpow_test): Disable failing test.
19125 (check_ulp): Test ulp() implemetnation.
19126 (main): Call check_ulp before starting tests.
19127
b679a606
JM
191282013-05-24 Joseph Myers <joseph@codesourcery.com>
19129
e8bdba36
JM
19130 * math/gen-libm-test.pl (generate_testfile): Do not handle
19131 START_DATA and END_DATA.
19132 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19133 END_DATA.
19134 (acos_tonearest_test_data): Likewise.
19135 (acos_towardzero_test_data): Likewise.
19136 (acos_downward_test_data): Likewise.
19137 (acos_upward_test_data): Likewise.
19138 (acosh_test_data): Likewise.
19139 (asin_test_data): Likewise.
19140 (asin_tonearest_test_data): Likewise.
19141 (asin_towardzero_test_data): Likewise.
19142 (asin_downward_test_data): Likewise.
19143 (asin_upward_test_data): Likewise.
19144 (asinh_test_data): Likewise.
19145 (atan_test_data): Likewise.
19146 (atanh_test_data): Likewise.
19147 (atan2_test_data): Likewise.
19148 (cabs_test_data): Likewise.
19149 (cacos_test_data): Likewise.
19150 (cacosh_test_data): Likewise.
19151 (carg_test_data): Likewise.
19152 (casin_test_data): Likewise.
19153 (casinh_test_data): Likewise.
19154 (catan_test_data): Likewise.
19155 (catanh_test_data): Likewise.
19156 (cbrt_test_data): Likewise.
19157 (ccos_test_data): Likewise.
19158 (ccosh_test_data): Likewise.
19159 (ceil_test_data): Likewise.
19160 (cexp_test_data): Likewise.
19161 (cimag_test_data): Likewise.
19162 (clog_test_data): Likewise.
19163 (clog10_test_data): Likewise.
19164 (conj_test_data): Likewise.
19165 (copysign_test_data): Likewise.
19166 (cos_test_data): Likewise.
19167 (cos_tonearest_test_data): Likewise.
19168 (cos_towardzero_test_data): Likewise.
19169 (cos_downward_test_data): Likewise.
19170 (cos_upward_test_data): Likewise.
19171 (cosh_test_data): Likewise.
19172 (cosh_tonearest_test_data): Likewise.
19173 (cosh_towardzero_test_data): Likewise.
19174 (cosh_downward_test_data): Likewise.
19175 (cosh_upward_test_data): Likewise.
19176 (cpow_test_data): Likewise.
19177 (cproj_test_data): Likewise.
19178 (creal_test_data): Likewise.
19179 (csin_test_data): Likewise.
19180 (csinh_test_data): Likewise.
19181 (csqrt_test_data): Likewise.
19182 (ctan_test_data): Likewise.
19183 (ctan_tonearest_test_data): Likewise.
19184 (ctan_towardzero_test_data): Likewise.
19185 (ctan_downward_test_data): Likewise.
19186 (ctan_upward_test_data): Likewise.
19187 (ctanh_test_data): Likewise.
19188 (ctanh_tonearest_test_data): Likewise.
19189 (ctanh_towardzero_test_data): Likewise.
19190 (ctanh_downward_test_data): Likewise.
19191 (ctanh_upward_test_data): Likewise.
19192 (erf_test_data): Likewise.
19193 (erfc_test_data): Likewise.
19194 (exp_test_data): Likewise.
19195 (exp_tonearest_test_data): Likewise.
19196 (exp_towardzero_test_data): Likewise.
19197 (exp_downward_test_data): Likewise.
19198 (exp_upward_test_data): Likewise.
19199 (exp10_test_data): Likewise.
19200 (exp2_test_data): Likewise.
19201 (expm1_test_data): Likewise.
19202 (fabs_test_data): Likewise.
19203 (fdim_test_data): Likewise.
19204 (finite_test_data): Likewise.
19205 (floor_test_data): Likewise.
19206 (fma_test_data): Likewise.
19207 (fma_towardzero_test_data): Likewise.
19208 (fma_downward_test_data): Likewise.
19209 (fma_upward_test_data): Likewise.
19210 (fmax_test_data): Likewise.
19211 (fmin_test_data): Likewise.
19212 (fmod_test_data): Likewise.
19213 (fpclassify_test_data): Likewise.
19214 (frexp_test_data): Likewise.
19215 (gamma_test_data): Likewise.
19216 (hypot_test_data): Likewise.
19217 (ilogb_test_data): Likewise.
19218 (isfinite_test_data): Likewise.
19219 (isgreater_test_data): Likewise.
19220 (isgreaterequal_test_data): Likewise.
19221 (isinf_test_data): Likewise.
19222 (isless_test_data): Likewise.
19223 (islessequal_test_data): Likewise.
19224 (islessgreater_test_data): Likewise.
19225 (isnan_test_data): Likewise.
19226 (isnormal_test_data): Likewise.
19227 (issignaling_test_data): Likewise.
19228 (isunordered_test_data): Likewise.
19229 (j0_test_data): Likewise.
19230 (j1_test_data): Likewise.
19231 (jn_test_data): Likewise.
19232 (ldexp_test_data): Likewise.
19233 (lgamma_test_data): Likewise.
19234 (lrint_test_data): Likewise.
19235 (lrint_tonearest_test_data): Likewise.
19236 (lrint_towardzero_test_data): Likewise.
19237 (lrint_downward_test_data): Likewise.
19238 (lrint_upward_test_data): Likewise.
19239 (llrint_test_data): Likewise.
19240 (llrint_tonearest_test_data): Likewise.
19241 (llrint_towardzero_test_data): Likewise.
19242 (llrint_downward_test_data): Likewise.
19243 (llrint_upward_test_data): Likewise.
19244 (log_test_data): Likewise.
19245 (log10_test_data): Likewise.
19246 (log1p_test_data): Likewise.
19247 (log2_test_data): Likewise.
19248 (logb_test_data): Likewise.
19249 (logb_downward_test_data): Likewise.
19250 (lround_test_data): Likewise.
19251 (llround_test_data): Likewise.
19252 (modf_test_data): Likewise.
19253 (nearbyint_test_data): Likewise.
19254 (nextafter_test_data): Likewise.
19255 (nexttoward_test_data): Likewise.
19256 (pow_test_data): Likewise.
19257 (pow_tonearest_test_data): Likewise.
19258 (pow_towardzero_test_data): Likewise.
19259 (pow_downward_test_data): Likewise.
19260 (pow_upward_test_data): Likewise.
19261 (remainder_test_data): Likewise.
19262 (remainder_tonearest_test_data): Likewise.
19263 (remainder_towardzero_test_data): Likewise.
19264 (remainder_downward_test_data): Likewise.
19265 (remainder_upward_test_data): Likewise.
19266 (remquo_test_data): Likewise.
19267 (rint_test_data): Likewise.
19268 (rint_tonearest_test_data): Likewise.
19269 (rint_towardzero_test_data): Likewise.
19270 (rint_downward_test_data): Likewise.
19271 (rint_upward_test_data): Likewise.
19272 (round_test_data): Likewise.
19273 (scalb_test_data): Likewise.
19274 (scalbn_test_data): Likewise.
19275 (scalbln_test_data): Likewise.
19276 (signbit_test_data): Likewise.
19277 (sin_test_data): Likewise.
19278 (sin_tonearest_test_data): Likewise.
19279 (sin_towardzero_test_data): Likewise.
19280 (sin_downward_test_data): Likewise.
19281 (sin_upward_test_data): Likewise.
19282 (sincos_test_data): Likewise.
19283 (sinh_test_data): Likewise.
19284 (sinh_tonearest_test_data): Likewise.
19285 (sinh_towardzero_test_data): Likewise.
19286 (sinh_downward_test_data): Likewise.
19287 (sinh_upward_test_data): Likewise.
19288 (sqrt_test_data): Likewise.
19289 (tan_test_data): Likewise.
19290 (tan_tonearest_test_data): Likewise.
19291 (tan_towardzero_test_data): Likewise.
19292 (tan_downward_test_data): Likewise.
19293 (tan_upward_test_data): Likewise.
19294 (tanh_test_data): Likewise.
19295 (tgamma_test_data): Likewise.
19296 (trunc_test_data): Likewise.
19297 (y0_test_data): Likewise.
19298 (y1_test_data): Likewise.
19299 (yn_test_data): Likewise.
19300 (significand_test_data): Likewise.
19301
b679a606
JM
19302 * math/gen-libm-test.pl (@functions): Remove variable.
19303 (generate_testfile): Don't handle START and END lines.
19304 * math/libm-test.inc (START): New macro.
19305 (END): Likewise.
19306 (END_COMPLEX): Likewise.
19307 (acos_test): Use END macro without arguments.
19308 (acos_test_tonearest): Likewise.
19309 (acos_test_towardzero): Likewise.
19310 (acos_test_downward): Likewise.
19311 (acos_test_upward): Likewise.
19312 (acosh_test): Likewise.
19313 (asin_test): Likewise.
19314 (asin_test_tonearest): Likewise.
19315 (asin_test_towardzero): Likewise.
19316 (asin_test_downward): Likewise.
19317 (asin_test_upward): Likewise.
19318 (asinh_test): Likewise.
19319 (atan_test): Likewise.
19320 (atanh_test): Likewise.
19321 (atan2_test): Likewise.
19322 (cabs_test): Likewise.
19323 (cacos_test): Use END_COMPLEX macro without arguments.
19324 (cacosh_test): Likewise.
19325 (carg_test): Use END macro without arguments.
19326 (casin_test): Use END_COMPLEX macro without arguments.
19327 (casinh_test): Likewise.
19328 (catan_test): Likewise.
19329 (catanh_test): Likewise.
19330 (cbrt_test): Use END macro without arguments.
19331 (ccos_test): Use END_COMPLEX macro without arguments.
19332 (ccosh_test): Likewise.
19333 (ceil_test): Use END macro without arguments.
19334 (cexp_test): Use END_COMPLEX macro without arguments.
19335 (cimag_test): Use END macro without arguments.
19336 (clog_test): Use END_COMPLEX macro without arguments.
19337 (clog10_test): Likewise.
19338 (conj_test): Likewise.
19339 (copysign_test): Use END macro without arguments.
19340 (cos_test): Likewise.
19341 (cos_test_tonearest): Likewise.
19342 (cos_test_towardzero): Likewise.
19343 (cos_test_downward): Likewise.
19344 (cos_test_upward): Likewise.
19345 (cosh_test): Likewise.
19346 (cosh_test_tonearest): Likewise.
19347 (cosh_test_towardzero): Likewise.
19348 (cosh_test_downward): Likewise.
19349 (cosh_test_upward): Likewise.
19350 (cpow_test): Use END_COMPLEX macro without arguments.
19351 (cproj_test): Likewise.
19352 (creal_test): Use END macro without arguments.
19353 (csin_test): Use END_COMPLEX macro without arguments.
19354 (csinh_test): Likewise.
19355 (csqrt_test): Likewise.
19356 (ctan_test): Likewise.
19357 (ctan_test_tonearest): Likewise.
19358 (ctan_test_towardzero): Likewise.
19359 (ctan_test_downward): Likewise.
19360 (ctan_test_upward): Likewise.
19361 (ctanh_test): Likewise.
19362 (ctanh_test_tonearest): Likewise.
19363 (ctanh_test_towardzero): Likewise.
19364 (ctanh_test_downward): Likewise.
19365 (ctanh_test_upward): Likewise.
19366 (erf_test): Use END macro without arguments.
19367 (erfc_test): Likewise.
19368 (exp_test): Likewise.
19369 (exp_test_tonearest): Likewise.
19370 (exp_test_towardzero): Likewise.
19371 (exp_test_downward): Likewise.
19372 (exp_test_upward): Likewise.
19373 (exp10_test): Likewise.
19374 (exp2_test): Likewise.
19375 (expm1_test): Likewise.
19376 (fabs_test): Likewise.
19377 (fdim_test): Likewise.
19378 (finite_test): Likewise.
19379 (floor_test): Likewise.
19380 (fma_test): Likewise.
19381 (fma_test_towardzero): Likewise.
19382 (fma_test_downward): Likewise.
19383 (fma_test_upward): Likewise.
19384 (fmax_test): Likewise.
19385 (fmin_test): Likewise.
19386 (fmod_test): Likewise.
19387 (fpclassify_test): Likewise.
19388 (frexp_test): Likewise.
19389 (gamma_test): Likewise.
19390 (hypot_test): Likewise.
19391 (ilogb_test): Likewise.
19392 (isfinite_test): Likewise.
19393 (isgreater_test): Likewise.
19394 (isgreaterequal_test): Likewise.
19395 (isinf_test): Likewise.
19396 (isless_test): Likewise.
19397 (islessequal_test): Likewise.
19398 (islessgreater_test): Likewise.
19399 (isnan_test): Likewise.
19400 (isnormal_test): Likewise.
19401 (issignaling_test): Likewise.
19402 (isunordered_test): Likewise.
19403 (j0_test): Likewise.
19404 (j1_test): Likewise.
19405 (jn_test): Likewise.
19406 (ldexp_test): Likewise.
19407 (lgamma_test): Likewise.
19408 (lrint_test): Likewise.
19409 (lrint_test_tonearest): Likewise.
19410 (lrint_test_towardzero): Likewise.
19411 (lrint_test_downward): Likewise.
19412 (lrint_test_upward): Likewise.
19413 (llrint_test): Likewise.
19414 (llrint_test_tonearest): Likewise.
19415 (llrint_test_towardzero): Likewise.
19416 (llrint_test_downward): Likewise.
19417 (llrint_test_upward): Likewise.
19418 (log_test): Likewise.
19419 (log10_test): Likewise.
19420 (log1p_test): Likewise.
19421 (log2_test): Likewise.
19422 (logb_test): Likewise.
19423 (logb_test_downward): Likewise.
19424 (lround_test): Likewise.
19425 (llround_test): Likewise.
19426 (modf_test): Likewise.
19427 (nearbyint_test): Likewise.
19428 (nextafter_test): Likewise.
19429 (nexttoward_test): Likewise.
19430 (pow_test): Likewise.
19431 (pow_test_tonearest): Likewise.
19432 (pow_test_towardzero): Likewise.
19433 (pow_test_downward): Likewise.
19434 (pow_test_upward): Likewise.
19435 (remainder_test): Likewise.
19436 (remainder_test_tonearest): Likewise.
19437 (remainder_test_towardzero): Likewise.
19438 (remainder_test_downward): Likewise.
19439 (remainder_test_upward): Likewise.
19440 (remquo_test): Likewise.
19441 (rint_test): Likewise.
19442 (rint_test_tonearest): Likewise.
19443 (rint_test_towardzero): Likewise.
19444 (rint_test_downward): Likewise.
19445 (rint_test_upward): Likewise.
19446 (round_test): Likewise.
19447 (scalb_test): Likewise.
19448 (scalbn_test): Likewise.
19449 (scalbln_test): Likewise.
19450 (signbit_test): Likewise.
19451 (sin_test): Likewise.
19452 (sin_test_tonearest): Likewise.
19453 (sin_test_towardzero): Likewise.
19454 (sin_test_downward): Likewise.
19455 (sin_test_upward): Likewise.
19456 (sincos_test): Likewise.
19457 (sinh_test): Likewise.
19458 (sinh_test_tonearest): Likewise.
19459 (sinh_test_towardzero): Likewise.
19460 (sinh_test_downward): Likewise.
19461 (sinh_test_upward): Likewise.
19462 (sqrt_test): Likewise.
19463 (tan_test): Likewise.
19464 (tan_test_tonearest): Likewise.
19465 (tan_test_towardzero): Likewise.
19466 (tan_test_downward): Likewise.
19467 (tan_test_upward): Likewise.
19468 (tanh_test): Likewise.
19469 (tgamma_test): Likewise.
19470 (trunc_test): Likewise.
19471 (y0_test): Likewise.
19472 (y1_test): Likewise.
19473 (yn_test): Likewise.
19474 (significand_test): Likewise.
19475
bae143d2
OB
194762013-05-24 Ondřej Bílka <neleai@seznam.cz>
19477
19478 [BZ #15381]
19479 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19480
9323d39b
EM
194812013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19482
d4ea44a0 19483 [BZ #14894]
9323d39b
EM
19484 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19485 __ppc_mdoio and __ppc_mdoom.
19486 * manual/platform.texi: Document new functions __ppc_yield,
19487 __ppc_mdoio and __ppc_mdoom.
19488
13e23af7
CD
194892013-05-22 Carlos O'Donell <carlos@redhat.com>
19490
19491 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19492 (main): Mention "tls" pseudo-hwcap is legacy.
19493 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19494
351fe550
JM
194952013-05-22 Joseph Myers <joseph@codesourcery.com>
19496
19497 * math/gen-libm-test.pl (parse_args): Output only string of
19498 arguments as text for test name, not full call or descriptions of
19499 tests for extra outputs.
19500 (generate_testfile): Do not pass function name to parse_args.
19501 Generate this_func variable from START.
19502 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19503 field to arg_str.
19504 (struct test_ff_f_data): Likewise.
19505 (test_ff_f_data_nexttoward): Likewise.
19506 (struct test_fi_f_data): Likewise.
19507 (struct test_fl_f_data): Likewise.
19508 (struct test_if_f_data): Likewise.
19509 (struct test_fff_f_data): Likewise.
19510 (struct test_c_f_data): Likewise.
19511 (struct test_f_f1_data): Likewise. Remove field extra_name.
19512 (struct test_fF_f1_data): Likewise.
19513 (struct test_ffI_f1_data): Likewise.
19514 (struct test_c_c_data): Rename test_name field to arg_str.
19515 (struct test_cc_c_data): Likewise.
19516 (struct test_f_i_data): Likewise.
19517 (struct test_ff_i_data): Likewise.
19518 (struct test_f_l_data): Likewise.
19519 (struct test_f_L_data): Likewise.
19520 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19521 and extra2_name.
19522 (COMMON_TEST_SETUP): New macro.
19523 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19524 (COMMON_TEST_CLEANUP): Likewise.
19525 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19526 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19527 macros.
19528 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19529 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19530 macros.
19531 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19532 (RUN_TEST_fff_f): Take argument string. Call new setup and
19533 cleanup macros.
19534 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19535 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19536 macros.
19537 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19538 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19539 macros.
19540 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19541 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19542 cleanup macros.
19543 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19544 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19545 cleanup macros.
19546 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19547 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19548 cleanup macros.
19549 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19550 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19551 macros.
19552 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19553 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19554 macros.
19555 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19556 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19557 macros.
19558 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19559 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19560 cleanup macros.
19561 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19562 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19563 cleanup macros.
19564 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19565 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19566 macros.
19567 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19568 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19569 cleanup macros.
19570 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19571 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19572 macros.
19573 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19574 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19575 macros.
19576 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19577 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19578 cleanup macros.
19579 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19580
85118d4d
EBM
195812013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19582
19583 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19584 to _sifields.sigfault.
19585 (si_addr_lsb): Define new macro.
19586 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19589
7a44c18f
CD
195902013-05-03 Carlos O'Donell <carlos at redhat.com>
19591
19592 [BZ #15441]
19593 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19594 returns -1.
19595 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19596 null return -1.
19597 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19598 loading the domain.
19599
b50a7181
JM
196002013-05-22 Joseph Myers <joseph@codesourcery.com>
19601
19602 * math/gen-libm-test.pl (parse_args): Do not include expected
19603 result in test name.
19604 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19605 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19607 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19610
051063c8
SP
196112013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19612
3ce9e010
SP
19613 * benchtests/Makefile: Sort function entries.
19614
051063c8
SP
19615 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19616 tanh, asinh, acosh, atanh.
19617 * benchtests/acos-inputs: New file.
19618 * benchtests/acosh-inputs: New file.
19619 * benchtests/asin-inputs: New file.
19620 * benchtests/asinh-inputs: New file.
19621 * benchtests/atanh-inputs: New file.
19622 * benchtests/cosh-inputs: New file.
19623 * benchtests/log-inputs: New file.
19624 * benchtests/sinh-inputs: New file.
19625 * benchtests/tanh-inputs: New file.
19626
47c22455
DL
196272013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19628
19629 [BZ #15339]
19630 * posix/tst-getaddrinfo4.c: New test.
19631 * posix/Makefile (tests): Add it.
19632
3d04f5db
SP
196332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19634
19635 [BZ #15339]
19636 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19637 when no services were used.
19638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19639 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19640
d5dd6189
AS
196412013-05-21 Andreas Schwab <schwab@suse.de>
19642
19643 [BZ #15014]
19644 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19645 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19646 successful.
19647 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19648 redundant variable declarations and reallocation of buffer when
19649 parsing as IPv6 address. Always set NSS status when called from
19650 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19651 buffer too small. Correct computation of needed size.
19652 * nss/Makefile (tests): Add test-digits-dots.
19653 * nss/test-digits-dots.c: New test.
19654
fef94eab
SP
196552013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19656
19657 * benchtests/Makefile: Remove instructions for adding
19658 benchmark tests.
19659 * benchtests/README: New file to explain how to execute and
19660 enhance the benchmark tests.
19661
e39adf43
AS
196622013-05-21 Andreas Schwab <schwab@suse.de>
19663
19664 [BZ #15493]
19665 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19666 * setjmp/tst-sigsetjmp.c: New test.
19667
b2b671b6
OB
196682013-05-20 Ondřej Bílka <neleai@seznam.cz>
19669
19670 * sysdeps/x86_64/memset.S (memset): New implementation.
19671 (__bzero): Likewise.
19672 (__memset_tail): New function.
19673
2d48b41c
OB
196742013-05-20 Ondřej Bílka <neleai@seznam.cz>
19675
19676 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19677 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19678 __memcpy_sse2_unaligned ifunc selection.
19679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19680 Add memcpy-sse2-unaligned.S.
19681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19682 Add: __memcpy_sse2_unaligned.
19683
f16cc3eb
JM
196842013-05-19 Joseph Myers <joseph@codesourcery.com>
19685
3e694268
JM
19686 [BZ #15490]
19687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19688 math_force_eval before restoring floating-point envrionment.
19689 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19691 Likewise.
19692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19693 <math_private.h>.
19694 (__nearbyintl): Use math_force_eval before restoring
19695 floating-point environment.
19696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19697
db62a907
JM
19698 * math/gen-libm-test.pl (special_functions): Remove.
19699 (parse_args): Don't handle TEST_extra. Handle functions with no
19700 return value.
19701 * math/libm-test.inc (struct test_sincos_data): Replace with
19702 struct test_fFF_11_data.
19703 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19704 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19705 (sincos_test_data): Change element type to struct
19706 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19707 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19708 RUN_TEST_LOOP_sincos.
19709 * math/README.libm-test: Don't mention special handling of
19710 individual functions.
19711 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19717
f16cc3eb
JM
19718 * math/gen-libm-test.pl (get_variable): Remove function.
19719 (parse_args): Don't show pointer parameters to call in test
19720 names. Use "extra output N" in test names for extra outputs
19721 rather than naming variables.
19722
3779b5b6
JM
197232013-05-18 Joseph Myers <joseph@codesourcery.com>
19724
2ee094ff
JM
19725 [BZ #15488]
19726 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19727 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19728 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19729 double tests.
19730 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19731 disable.
19732 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19733 check_long_double.
19734
3779b5b6
JM
19735 * math/gen-libm-test.pl (@tests): Remove variable.
19736 ($count): Likewise.
19737 (new_test): Remove function.
19738 (show_exceptions): New function.
19739 (special_functions): Use show_exceptions instead of new_test.
19740 (parse_args): Likewise.
19741 (generate_testfile): Pass only function name in generated call to
19742 print_max_error or print_complex_max_error.
19743 (get_ulps): Do not handle complex tests specially.
19744 (output_test): Rename to ...
19745 (get_all_ulps_for_test): ... this. Return a string rather than
19746 printing to a file. Require ulps to be present.
19747 (output_ulps): Generate arrays rather than #defines.
19748 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19749 (struct ulp_data): New type.
19750 (BUILD_COMPLEX_ULP): Remove macro.
19751 (compare_ulp_data): New function.
19752 (find_ulps): Likewise.
19753 (find_test_ulps): Likewise.
19754 (find_function_ulps): Likewise.
19755 (find_complex_function_ulps): Likewise.
19756 (print_max_error): Determine allowed ulps using
19757 find_function_ulps.
19758 (print_complex_max_error): Determine allowed ulps using
19759 find_complex_function_ulps.
19760 (check_float_internal): Determine max ulps using find_test_ulps.
19761 (check_float): Do not take max_ulp parameter. Update call to
19762 check_float_internal.
19763 (check_complex): Likewise.
19764 (check_int): Do not take max_ulp parameter.
19765 (check_long): Likewise.
19766 (check_bool): Likewise.
19767 (check_longlong): Likewise.
19768 (struct test_f_f_data): Remove max_ulp field.
19769 (struct test_ff_f_data): Likewise.
19770 (struct test_ff_f_data_nexttoward): Likewise.
19771 (struct test_fi_f_data): Likewise.
19772 (struct test_fl_f_data): Likewise.
19773 (struct test_if_f_data): Likewise.
19774 (struct test_fff_f_data): Likewise.
19775 (struct test_c_f_data): Likewise.
19776 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19777 (struct test_fF_f1_data): Likewise.
19778 (struct test_ffI_f1_data): Likewise.
19779 (struct test_c_c_data): Remove max_ulp field.
19780 (struct test_cc_c_data): Likewise.
19781 (struct test_f_i_data): Likewise.
19782 (struct test_ff_i_data): Likewise.
19783 (struct test_f_l_data): Likewise.
19784 (struct test_f_L_data): Likewise.
19785 (struct test_sincos_data): Likewise.
19786 (RUN_TEST_f_f): Do not handle ulps.
19787 (RUN_TEST_LOOP_f_f): Likewise.
19788 (RUN_TEST_2_f): Likewise.
19789 (RUN_TEST_LOOP_2_f): Likewise.
19790 (RUN_TEST_fff_f): Likewise.
19791 (RUN_TEST_LOOP_fff_f): Likewise.
19792 (RUN_TEST_c_f): Likewise.
19793 (RUN_TEST_LOOP_c_f): Likewise.
19794 (RUN_TEST_f_f1): Likewise.
19795 (RUN_TEST_LOOP_f_f1): Likewise.
19796 (RUN_TEST_fF_f1): Likewise.
19797 (RUN_TEST_LOOP_fF_f1): Likewise.
19798 (RUN_TEST_fI_f1): Likewise.
19799 (RUN_TEST_LOOP_fI_f1): Likewise.
19800 (RUN_TEST_ffI_f1): Likewise.
19801 (RUN_TEST_LOOP_ffI_f1): Likewise.
19802 (RUN_TEST_c_c): Likewise.
19803 (RUN_TEST_LOOP_c_c): Likewise.
19804 (RUN_TEST_cc_c): Likewise.
19805 (RUN_TEST_LOOP_cc_c): Likewise.
19806 (RUN_TEST_f_i): Likewise.
19807 (RUN_TEST_LOOP_f_i): Likewise.
19808 (RUN_TEST_f_i_tg): Likewise.
19809 (RUN_TEST_LOOP_f_i_tg): Likewise.
19810 (RUN_TEST_ff_i_tg): Likewise.
19811 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19812 (RUN_TEST_f_b): Likewise.
19813 (RUN_TEST_LOOP_f_b): Likewise.
19814 (RUN_TEST_f_b_tg): Likewise.
19815 (RUN_TEST_LOOP_f_b_tg): Likewise.
19816 (RUN_TEST_f_l): Likewise.
19817 (RUN_TEST_LOOP_f_l): Likewise.
19818 (RUN_TEST_f_L): Likewise.
19819 (RUN_TEST_LOOP_f_L): Likewise.
19820 (RUN_TEST_sincos): Likewise.
19821 (RUN_TEST_LOOP_sincos): Likewise.
19822
8269107f
JM
198232013-05-17 Joseph Myers <joseph@codesourcery.com>
19824
bb38759d
JM
19825 [BZ #15480]
19826 [BZ #15485]
19827 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19828 main case of finite arguments, set rounding mode to FE_TONEAREST
19829 and discard exceptions.
19830 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19831 exceptions.
19832 (remainder_tonearest_test_data): New variable.
19833 (remainder_test_tonearest): New function.
19834 (remainder_towardzero_test_data): New variable.
19835 (remainder_test_towardzero): New function.
19836 (remainder_downward_test_data): New variable.
19837 (remainder_test_downward): New function.
19838 (remainder_upward_test_data): New variable.
19839 (remainder_test_upward): New function.
19840 (main): Call the new test functions.
19841
a00bdcf0
JM
19842 * math/libm-test.inc (struct test_f_f1_data): Remove field
19843 extra_init.
19844 (struct test_fF_f1_data): Likewise.
19845 (struct test_ffI_f1_data): Likewise.
19846 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19847 based on value of EXTRA_EXPECTED.
19848 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19849 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19850 EXTRA_VAR based on value of EXTRA_EXPECTED.
19851 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19852 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19853 EXTRA_VAR based on value of EXTRA_EXPECTED.
19854 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19855 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19856 EXTRA_VAR based on value of EXTRA_EXPECTED.
19857 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19858 * math/gen-libm-test.pl (parse_args): Don't output initializers
19859 for extra output values.
19860
de407f79
JM
19861 * math/libm-test.inc (check_int): Expect result to be exactly
19862 equal to expected value and do not handle ulps.
19863 (check_long): Likewise.
19864 (check_longlong): Likewise.
19865
8269107f
JM
19866 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19867 exceptions.
19868 (cimag_test_data): Likewise.
19869 (conj_test_data): Likewise.
19870 (copysign_test_data): Likewise.
19871 (cproj_test_data): Likewise.
19872 (creal_test_data): Likewise.
19873 (fabs_test_data): Likewise.
19874 (fdim_test_data): Likewise.
19875 (finite_test_data): Likewise.
19876 (floor_test_data): Likewise.
19877 (fmax_test_data): Likewise.
19878 (fmin_test_data): Likewise.
19879 (fmod_test_data): Likewise.
19880 (fpclassify_test_data): Likewise.
19881 (frexp_test_data): Likewise.
19882 (ilogb_test_data): Likewise.
19883 (isfinite_test_data): Likewise.
19884 (isgreater_test_data): Likewise.
19885 (isgreaterequal_test_data): Likewise.
19886 (isinf_test_data): Likewise.
19887 (isless_test_data): Likewise.
19888 (islessequal_test_data): Likewise.
19889 (islessgreater_test_data): Likewise.
19890 (isnan_test_data): Likewise.
19891 (isnormal_test_data): Likewise.
19892 (issignaling_test_data): Likewise.
19893 (isunordered_test_data): Likewise.
19894 (ldexp_test_data): Likewise.
19895 (lrint_test_data): Likewise.
19896 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19897 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19898 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19899 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19900 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19901 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19902 test input.
19903 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19904 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19905 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19906 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19907 that test input.
19908 (lrint_downward_test_data): Test for "inexact" exceptions.
19909 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19910 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19911 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19912 test input.
19913 (lrint_upward_test_data): Test for "inexact" exceptions.
19914 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19915 test input.
19916 (llrint_test_data): Test for "inexact" exceptions.
19917 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19918 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19919 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19920 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19921 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19922 (llrint_downward_test_data): Test for "inexact" exceptions.
19923 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19924 (llrint_upward_test_data): Test for "inexact" exceptions.
19925 (logb_test_data): Likewise.
19926 (logb_downward_test_data): Likewise.
19927 (nextafter_test_data): Likewise.
19928 (nexttoward_test_data): Likewise.
19929 (remainder_test_data): Likewise.
19930 (remquo_test_data): Likewise.
19931 (scalbn_test_data): Likewise.
19932 (scalbln_test_data): Likewise.
19933 (signbit_test_data): Likewise.
19934 (sqrt_test_data): Likewise.
19935 (significand_test_data): Likewise.
19936
48a18de1
SP
199372013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19938
19939 [BZ #15424]
19940 * benchtests/bench-modf.c (struct args): Mark arg0 as
19941 volatile.
19942 * scripts/bench.pl: Mark members of struct args as volatile.
19943
13d3b41a
AZ
199442013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19945
68191c1d 19946 [BZ # 15497]
13d3b41a
AZ
19947 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19948 negative infinity on POWER6 or lower.
19949 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19950
2848b105
MR
199512013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19952
19953 [BZ #15442]
19954 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19955 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19956 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19957 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19958 (_FP_SETQNAN): New macro.
19959 (_FP_SETQNAN_SEMIRAW): Likewise.
19960 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19961 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19962 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19963 (FP_EXTEND): Use _FP_FRAC_SNANP.
19964 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19965 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19966 into account.
19967 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19968 New macro.
19969 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19970 Likewise.
19971
323e5cb7
JM
199722013-05-16 Joseph Myers <joseph@codesourcery.com>
19973
c58b274f
JM
19974 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19975 with DIVIDE_BY_ZERO_EXCEPTION.
19976 (gamma_test_data): Likewise.
19977 (lgamma_test_data): Likewise.
19978 (log_test_data): Likewise.
19979 (log10_test_data): Likewise.
19980 (log2_test_data): Likewise.
19981 (tgamma_test_data): Likewise.
19982
0ab34904
JM
19983 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19984 (acos_test_tonearest): Likewise.
19985 (acos_test_towardzero): Likewise.
19986 (acos_test_downward): Likewise.
19987 (acos_test_upward): Likewise.
19988 (acosh_test): Likewise.
19989 (asin_test): Likewise.
19990 (asin_test_tonearest): Likewise.
19991 (asin_test_towardzero): Likewise.
19992 (asin_test_downward): Likewise.
19993 (asin_test_upward): Likewise.
19994 (asinh_test): Likewise.
19995 (atan_test): Likewise.
19996 (atanh_test): Likewise.
19997 (atan2_test): Likewise.
19998 (cabs_test): Likewise.
19999 (cacos_test): Likewise.
20000 (cacosh_test): Likewise.
20001 (casin_test): Likewise.
20002 (casinh_test): Likewise.
20003 (catan_test): Likewise.
20004 (catanh_test): Likewise.
20005 (cbrt_test): Likewise.
20006 (ccos_test): Likewise.
20007 (ccosh_test): Likewise.
20008 (cexp_test): Likewise.
20009 (clog_test): Likewise.
20010 (clog10_test): Likewise.
20011 (cos_test): Likewise.
20012 (cos_test_tonearest): Likewise.
20013 (cos_test_towardzero): Likewise.
20014 (cos_test_downward): Likewise.
20015 (cos_test_upward): Likewise.
20016 (cosh_test): Likewise.
20017 (cosh_test_tonearest): Likewise.
20018 (cosh_test_towardzero): Likewise.
20019 (cosh_test_downward): Likewise.
20020 (cosh_test_upward): Likewise.
20021 (cpow_test): Likewise.
20022 (csin_test): Likewise.
20023 (csinh_test): Likewise.
20024 (csqrt_test): Likewise.
20025 (ctan_test): Likewise.
20026 (ctan_test_tonearest): Likewise.
20027 (ctan_test_towardzero): Likewise.
20028 (ctan_test_downward): Likewise.
20029 (ctan_test_upward): Likewise.
20030 (ctanh_test): Likewise.
20031 (ctanh_test_tonearest): Likewise.
20032 (ctanh_test_towardzero): Likewise.
20033 (ctanh_test_downward): Likewise.
20034 (ctanh_test_upward): Likewise.
20035 (erf_test): Likewise.
20036 (erfc_test): Likewise.
20037 (exp_test): Likewise.
20038 (exp_test_tonearest): Likewise.
20039 (exp_test_towardzero): Likewise.
20040 (exp_test_downward): Likewise.
20041 (exp_test_upward): Likewise.
20042 (exp10_test): Likewise.
20043 (exp2_test): Likewise.
20044 (expm1_test): Likewise.
20045 (fmod_test): Likewise.
20046 (gamma_test): Likewise.
20047 (hypot_test): Likewise.
20048 (j0_test): Likewise.
20049 (j1_test): Likewise.
20050 (jn_test): Likewise.
20051 (lgamma_test): Likewise.
20052 (log_test): Likewise.
20053 (log10_test): Likewise.
20054 (log1p_test): Likewise.
20055 (log2_test): Likewise.
20056 (logb_test_downward): Likewise.
20057 (pow_test): Likewise.
20058 (pow_test_tonearest): Likewise.
20059 (pow_test_towardzero): Likewise.
20060 (pow_test_downward): Likewise.
20061 (pow_test_upward): Likewise.
20062 (remainder_test): Likewise.
20063 (remquo_test): Likewise.
20064 (sin_test): Likewise.
20065 (sin_test_tonearest): Likewise.
20066 (sin_test_towardzero): Likewise.
20067 (sin_test_downward): Likewise.
20068 (sin_test_upward): Likewise.
20069 (sincos_test): Likewise.
20070 (sinh_test): Likewise.
20071 (sinh_test_tonearest): Likewise.
20072 (sinh_test_towardzero): Likewise.
20073 (sinh_test_downward): Likewise.
20074 (sinh_test_upward): Likewise.
20075 (sqrt_test): Likewise.
20076 (tan_test): Likewise.
20077 (tan_test_tonearest): Likewise.
20078 (tan_test_towardzero): Likewise.
20079 (tan_test_downward): Likewise.
20080 (tan_test_upward): Likewise.
20081 (tanh_test): Likewise.
20082 (tgamma_test): Likewise.
20083 (y0_test): Likewise.
20084 (y1_test): Likewise.
20085 (yn_test): Likewise.
20086
323e5cb7
JM
20087 * math/gen-libm-test.pl (adjust_arg): Remove function.
20088 (special_function): Remove argument $in_func. Only handle
20089 generating output for tables of tests, not inside functions.
20090 (parse_args): Likewise.
20091 (generate_testfile): Remove variable $in_func. Update call to
20092 parse_args.
20093 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20094 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20095 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20096 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20097 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20098 (MAX_VALUE_INIT): Rename macro to max_value.
20099 (MIN_VALUE_INIT): Rename macro to min_value.
20100 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20101 (plus_zero): Remove variable.
20102 (minus_zero): Likewise.
20103 (plus_infty): Likewise.
20104 (minus_infty): Likewise.
20105 (qnan_value): Likewise.
20106 (max_value): Likewise.
20107 (min_value): Likewise.
20108 (min_subnorm_value): Likewise.
20109
e054f494
RA
201102013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20111
20112 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20113 uint64_t or uint32_t usage.
20114 * crypt/sha256-block.c: Likewise.
20115 * crypt/sha256-crypt.c: Likewise.
20116 * crypt/sha256.c: Likewise.
20117 * crypt/sha512-block.c: Likewise.
20118 * crypt/sha512-crypt.c: Likewise.
20119 * crypt/sha512.c: Likewise.
20120 * debug/backtrace-tst.c: Likewise.
20121 * debug/pcprofiledump.c: Likewise.
20122 * elf/cache.c: Likewise.
20123 * elf/dl-cache.c: Likewise.
20124 * elf/dl-misc.c: Likewise.
20125 * elf/dl-profile.c: Likewise.
20126 * elf/dl-support.c: Likewise.
20127 * elf/ldconfig.c: Likewise.
20128 * elf/sprof.c: Likewise.
20129 * iconv/dummy-repertoire.c: Likewise.
20130 * iconv/iconv_charmap.c: Likewise.
20131 * iconv/skeleton.c: Likewise.
20132 * iconvdata/8bit-generic.c: Likewise.
20133 * iconvdata/cp737.h: Likewise.
20134 * iconvdata/cp775.h: Likewise.
20135 * iconvdata/ibm1008.h: Likewise.
20136 * iconvdata/ibm1025.h: Likewise.
20137 * iconvdata/ibm1046.h: Likewise.
20138 * iconvdata/ibm1097.h: Likewise.
20139 * iconvdata/ibm1112.h: Likewise.
20140 * iconvdata/ibm1122.h: Likewise.
20141 * iconvdata/ibm1123.h: Likewise.
20142 * iconvdata/ibm1124.h: Likewise.
20143 * iconvdata/ibm1129.h: Likewise.
20144 * iconvdata/ibm1130.h: Likewise.
20145 * iconvdata/ibm1132.h: Likewise.
20146 * iconvdata/ibm1133.h: Likewise.
20147 * iconvdata/ibm1137.h: Likewise.
20148 * iconvdata/ibm1140.h: Likewise.
20149 * iconvdata/ibm1141.h: Likewise.
20150 * iconvdata/ibm1142.h: Likewise.
20151 * iconvdata/ibm1143.h: Likewise.
20152 * iconvdata/ibm1144.h: Likewise.
20153 * iconvdata/ibm1145.h: Likewise.
20154 * iconvdata/ibm1146.h: Likewise.
20155 * iconvdata/ibm1147.h: Likewise.
20156 * iconvdata/ibm1148.h: Likewise.
20157 * iconvdata/ibm1149.h: Likewise.
20158 * iconvdata/ibm1153.h: Likewise.
20159 * iconvdata/ibm1154.h: Likewise.
20160 * iconvdata/ibm1155.h: Likewise.
20161 * iconvdata/ibm1156.h: Likewise.
20162 * iconvdata/ibm1157.h: Likewise.
20163 * iconvdata/ibm1158.h: Likewise.
20164 * iconvdata/ibm1160.h: Likewise.
20165 * iconvdata/ibm1161.h: Likewise.
20166 * iconvdata/ibm1162.h: Likewise.
20167 * iconvdata/ibm1163.h: Likewise.
20168 * iconvdata/ibm1164.h: Likewise.
20169 * iconvdata/ibm1166.h: Likewise.
20170 * iconvdata/ibm1167.h: Likewise.
20171 * iconvdata/ibm12712.h: Likewise.
20172 * iconvdata/ibm1390.h: Likewise.
20173 * iconvdata/ibm1399.h: Likewise.
20174 * iconvdata/ibm16804.h: Likewise.
20175 * iconvdata/ibm4517.h: Likewise.
20176 * iconvdata/ibm4899.h: Likewise.
20177 * iconvdata/ibm4909.h: Likewise.
20178 * iconvdata/ibm4971.h: Likewise.
20179 * iconvdata/ibm5347.h: Likewise.
20180 * iconvdata/ibm803.h: Likewise.
20181 * iconvdata/ibm856.h: Likewise.
20182 * iconvdata/ibm901.h: Likewise.
20183 * iconvdata/ibm902.h: Likewise.
20184 * iconvdata/ibm9030.h: Likewise.
20185 * iconvdata/ibm9066.h: Likewise.
20186 * iconvdata/ibm921.h: Likewise.
20187 * iconvdata/ibm922.h: Likewise.
20188 * iconvdata/ibm9448.h: Likewise.
20189 * iconvdata/isiri-3342.h: Likewise.
20190 * iconvdata/jis0201.h: Likewise.
20191 * include/link.h: Likewise.
20192 * include/netdb.h: Likewise.
20193 * inet/check_native.c: Likewise.
20194 * inet/check_pf.c: Likewise.
20195 * inet/getipv4sourcefilter.c: Likewise.
20196 * inet/getnameinfo.c: Likewise.
20197 * inet/getsourcefilter.c: Likewise.
20198 * inet/htonl.c: Likewise.
20199 * inet/setipv4sourcefilter.c: Likewise.
20200 * inet/setsourcefilter.c: Likewise.
20201 * inet/test-inet6_opt.c: Likewise.
20202 * inet/tst-network.c: Likewise.
20203 * locale/C-collate.c: Likewise.
20204 * locale/C-ctype.c: Likewise.
20205 * locale/C-time.c: Likewise.
20206 * locale/C-translit.h: Likewise.
20207 * locale/loadarchive.c: Likewise.
20208 * locale/programs/3level.h: Likewise.
20209 * locale/programs/charmap.c: Likewise.
20210 * locale/programs/charmap.h: Likewise.
20211 * locale/programs/ld-address.c: Likewise.
20212 * locale/programs/ld-collate.c: Likewise.
20213 * locale/programs/ld-ctype.c: Likewise.
20214 * locale/programs/ld-identification.c: Likewise.
20215 * locale/programs/ld-measurement.c: Likewise.
20216 * locale/programs/ld-messages.c: Likewise.
20217 * locale/programs/ld-monetary.c: Likewise.
20218 * locale/programs/ld-name.c: Likewise.
20219 * locale/programs/ld-numeric.c: Likewise.
20220 * locale/programs/ld-paper.c: Likewise.
20221 * locale/programs/ld-telephone.c: Likewise.
20222 * locale/programs/ld-time.c: Likewise.
20223 * locale/programs/linereader.c: Likewise.
20224 * locale/programs/locale.c: Likewise.
20225 * locale/programs/locarchive.c: Likewise.
20226 * locale/programs/locfile.h: Likewise.
20227 * locale/programs/repertoire.c: Likewise.
20228 * locale/programs/simple-hash.c: Likewise.
20229 * locale/programs/simple-hash.h: Likewise.
20230 * malloc/memusage.c: Likewise.
20231 * malloc/memusagestat.c: Likewise.
20232 * nis/nis_defaults.c: Likewise.
20233 * nis/nis_hash.c: Likewise.
20234 * nis/nis_print.c: Likewise.
20235 * nis/nis_xdr.c: Likewise.
20236 * nscd/connections.c: Likewise.
20237 * nscd/hstcache.c: Likewise.
20238 * nscd/nscd_gethst_r.c: Likewise.
20239 * nscd/nscd_getserv_r.c: Likewise.
20240 * nscd/nscd_helper.c: Likewise.
20241 * nscd/servicescache.c: Likewise.
20242 * nss/makedb.c: Likewise.
20243 * nss/nss_db/db-XXX.c: Likewise.
20244 * nss/nss_db/db-initgroups.c: Likewise.
20245 * nss/nss_db/db-netgrp.c: Likewise.
20246 * nss/nss_files/files-network.c: Likewise.
20247 * nss/nss_files/files-parse.c: Likewise.
20248 * posix/bug-regex5.c: Likewise.
20249 * posix/fnmatch_loop.c: Likewise.
20250 * posix/regcomp.c: Likewise.
20251 * posix/regexec.c: Likewise.
20252 * posix/tst-rfc3484-2.c: Likewise.
20253 * posix/tst-rfc3484-3.c: Likewise.
20254 * posix/tst-rfc3484.c: Likewise.
20255 * resolv/nss_dns/dns-canon.c: Likewise.
20256 * resolv/nss_dns/dns-network.c: Likewise.
20257 * resolv/res_init.c: Likewise.
20258 * resolv/res_mkquery.c: Likewise.
20259 * resolv/tst-aton.c: Likewise.
20260 * stdlib/cxa_atexit.c: Likewise.
20261 * stdlib/cxa_finalize.c: Likewise.
20262 * stdlib/gen-fpioconst.c: Likewise.
20263 * stdlib/strtol_l.c: Likewise.
20264 * string/tst-endian.c: Likewise.
20265 * sunrpc/auth_des.c: Likewise.
20266 * sunrpc/clnt_udp.c: Likewise.
20267 * sunrpc/rtime.c: Likewise.
20268 * sunrpc/svcauth_des.c: Likewise.
20269 * sunrpc/xdr.c: Likewise.
20270 * sunrpc/xdr_intXX_t.c: Likewise.
20271 * sunrpc/xdr_rec.c: Likewise.
20272 * sysdeps/generic/ldconfig.h: Likewise.
20273 * sysdeps/generic/ldsodefs.h: Likewise.
20274 * sysdeps/generic/memusage.h: Likewise.
20275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20285 * sysdeps/posix/getaddrinfo.c: Likewise.
20286 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20288 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20290 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20291 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20292 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20293 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20294 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20295 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20296 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20297 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20298 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20299 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20301 * sysdeps/x86_64/dl-tls.h: Likewise.
20302 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20303 * time/alt_digit.c: Likewise.
20304 * time/era.c: Likewise.
20305 * wcsmbs/tst-c16c32-1.c: Likewise.
20306
8c75f674
JM
203072013-05-16 Joseph Myers <joseph@codesourcery.com>
20308
20309 * math/libm-test.inc (struct test_sincos_data): New type.
20310 (RUN_TEST_LOOP_sincos): New macro.
20311 (sincos_test_data): New variable.
20312 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20313
e6e49e59
RH
203142013-05-16 Richard Henderson <rth@redhat.com>
20315
20316 * math/atest-exp2.c (LIMB64): New macro.
20317 (CONSTSZ): New macro.
20318 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20319 (hexdig): Move ...
20320 (print_mpn_fp): ... to function scope.
20321 (read_mpn_hex): Remove.
20322 (get_log2): Remove.
20323 (exp2_mpn): Use mp_log2.
20324 (main): Use mp_exp1.
20325
15c7c18d
JM
203262013-05-16 Joseph Myers <joseph@codesourcery.com>
20327
105a07df
JM
20328 * math/libm-test.inc: Remove comment about not testing "inexact"
20329 exceptions.
20330 (INEXACT_EXCEPTION): New macro.
20331 (NO_INEXACT_EXCEPTION): Likewise.
20332 (INVALID_EXCEPTION_OK): Update value.
20333 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20334 (OVERFLOW_EXCEPTION_OK): Likewise.
20335 (UNDERFLOW_EXCEPTION_OK): Likewise.
20336 (IGNORE_ZERO_INF_SIGN): Likewise.
20337 (ERRNO_UNCHANGED): Likewise.
20338 (ERRNO_EDOM): Likewise.
20339 (ERRNO_ERANGE): Likewise.
20340 (test_exceptions): Handle testing "inexact" exceptions.
20341 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20342 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20343 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20344 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20345 INEXACT_EXCEPTION.
20346 (rint_towardzero_test_data): Likewise.
20347 (rint_downward_test_data): Likewise.
20348 (rint_upward_test_data): Likewise.
20349
e9eee333
JM
20350 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20351 with OVERFLOW_EXCEPTION.
20352 (exp10_test_data): Likewise.
20353 (exp2_test_data): Likewise.
20354 (expm1_test_data): Likewise.
20355 (lgamma_test_data): Likewise.
20356 (pow_test_data): Likewise.
20357 (tgamma_test_data): Likewise.
20358 (yn_test_data): Remove duplicate test of overflow.
20359
1c38ff73
JM
20360 * math/libm-test.inc (struct test_cc_c_data): New type.
20361 (RUN_TEST_LOOP_cc_c): New macro.
20362 (cpow_test_data): New variable.
20363 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20364
15c7c18d
JM
20365 * math/libm-test.inc (struct test_f_L_data): New type.
20366 (RUN_TEST_LOOP_f_L): New macro.
20367 (llrint_test_data): New variable.
20368 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20369 (llrint_tonearest_test_data): New variable.
20370 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20371 (llrint_towardzero_test_data): New variable.
20372 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20373 (llrint_downward_test_data): New variable.
20374 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20375 (llrint_upward_test_data): New variable.
20376 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20377 (llround_test_data): New variable.
20378 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20379
f137ff13
PC
203802013-05-13 Peter Collingbourne <pcc@google.com>
20381
20382 * math/atest-exp2.c (get_log2): Remove const attribute.
20383
3608cb24
JM
203842013-05-15 Joseph Myers <joseph@codesourcery.com>
20385
20386 * math/libm-test.inc (struct test_f_l_data): New type.
20387 (RUN_TEST_LOOP_f_l): New macro.
20388 (lrint_test_data): New variable.
20389 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20390 (lrint_tonearest_test_data): New variable.
20391 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20392 (lrint_towardzero_test_data): New variable.
20393 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20394 (lrint_downward_test_data): New variable.
20395 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20396 (lrint_upward_test_data): New variable.
20397 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20398 (lround_test_data): New variable.
20399 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20400
39b1f617
PC
204012013-05-15 Peter Collingbourne <pcc@google.com>
20402
1deff3dc
PC
20403 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20404 (EXTRACT_WORDS64) Use where appropriate.
20405 (INSERT_WORDS64) Likewise.
20406
791f3ba0
PC
20407 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20408 constraints with x constraints.
20409 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20410
39b1f617
PC
20411 * malloc/obstack.c (_obstack_compat): Add initializer.
20412
12fba011
EM
204132013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20414
20415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20416 si_trapno and add si_addr_lsb to _sifields.sigfault.
20417 (si_trapno): Remove macro.
20418 (si_addr_lsb): Define new macro.
20419 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20420
d369f531
JM
204212013-05-15 Joseph Myers <joseph@codesourcery.com>
20422
b861c6c4
JM
20423 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20424 instead of TEST_f_l.
20425 (llrint_test_tonearest): Likewise.
20426 (llrint_test_towardzero): Likewise.
20427 (llrint_test_downward): Likewise.
20428 (llrint_test_upward): Likewise.
20429 (llround_test): Likewise.
20430
7abeee12
JM
20431 * math/libm-test.inc (struct test_f_i_data): Add comment.
20432 (RUN_TEST_LOOP_f_b): New macro.
20433 (RUN_TEST_LOOP_f_b_tg): Likewise.
20434 (finite_test_data): New variable.
20435 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20436 (isfinite_test_data): New variable.
20437 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20438 (isinf_test_data): New variable.
20439 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20440 (isnan_test_data): New variable.
20441 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20442 (isnormal_test_data): New variable.
20443 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20444 (issignaling_test_data): New variable.
20445 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20446 (signbit_test_data): New variable.
20447 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20448
cbe8c4d3
JM
20449 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20450 with INVALID_EXCEPTION.
20451 (acosh_test_data): Likewise.
20452 (asin_test_data): Likewise.
20453 (atanh_test_data): Likewise.
20454 (fmod_test_data): Likewise.
20455 (log_test_data): Likewise.
20456 (log10_test_data): Likewise.
20457 (log2_test_data): Likewise.
20458 (pow_test_data): Likewise.
20459 (sqrt_test_data): Likewise.
20460 (y0_test_data): Likewise.
20461 (y1_test_data): Likewise.
20462 (yn_test_data): Likewise.
20463
5575c0e5
JM
20464 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20465 function contents.
20466
d369f531
JM
20467 * math/libm-test.inc (struct test_ff_i_data): New type.
20468 (RUN_TEST_LOOP_ff_i_tg): New macro.
20469 (isgreater_test_data): New variable.
20470 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20471 (isgreaterequal_test_data): New variable.
20472 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20473 (isless_test_data): New variable.
20474 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20475 (islessequal_test_data): New variable.
20476 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20477 (islessgreater_test_data): New variable.
20478 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20479 (isunordered_test_data): New variable.
20480 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20481
781fd748
DM
204822013-05-14 David S. Miller <davem@davemloft.net>
20483
20484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20485
87aa21df
JM
204862013-05-14 Joseph Myers <joseph@codesourcery.com>
20487
5e908270
JM
20488 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20489
f71172e5
JM
20490 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20491 extra_test to int.
20492 (struct test_f_i_data): Change type of max_ulp to int.
20493
8cfa635a
JM
20494 * math/libm-test.inc (test_ffI_f1_data): New type.
20495 (RUN_TEST_LOOP_ffI_f1): New macro.
20496 (remquo_test_data): New variable.
20497 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20498
2bcb36b2
JM
20499 * setjmp/tst-setjmp-fp.c: New file.
20500 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20501 (link-libm): New variable.
20502 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20503
acbd839a
JM
20504 * math/libm-test.inc (struct test_f_i_data): New type.
20505 (RUN_TEST_LOOP_f_i): New macro.
20506 (RUN_TEST_LOOP_f_i_tg): Likewise.
20507 (fpclassify_test_data): New variable.
20508 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20509 (ilogb_test_data): New variable.
20510 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20511
e414d745
JM
20512 * math/libm-test.inc (scalbln_test): Correct function name in END
20513 call.
20514
d9c2a0fd
JM
20515 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20516 (RUN_TEST_LOOP_fI_f1): New macro.
20517 (frexp_test_data): New variable.
20518 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20519
9dc9095d
JM
20520 * math/libm-test.inc (struct test_fF_f1_data): New type.
20521 (RUN_TEST_LOOP_fF_f1): New macro.
20522 (modf_test_data): New variable.
20523 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20524
87aa21df
JM
20525 * math/libm-test.inc (struct test_f_f1_data): New type.
20526 (RUN_TEST_LOOP_f_f1): New macro.
20527 (gamma_test_data): New variable.
20528 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20529 (lgamma_test_data): New variable.
20530 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20531
141af660
CD
205322013-05-13 Carlos O'Donell <carlos@redhat.com>
20533
20534 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20535 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20536 (main): Comment "tls" pseudo-hwcap.
20537
6d33265c
JM
205382013-05-13 Joseph Myers <joseph@codesourcery.com>
20539
68fc074c
JM
20540 * math/libm-test.inc (struct test_fl_f_data): New type.
20541 (RUN_TEST_LOOP_fl_f): New variable.
20542 (scalbln_test_data): New variable.
20543 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20544
243216e1
JM
20545 * math/libm-test.inc (struct test_fi_f_data): New type.
20546 (RUN_TEST_LOOP_fi_f): New macro.
20547 (ldexp_test_data): New variable.
20548 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20549 (scalbn_test_data): New variable.
20550 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20551
6a1992e2
JM
20552 * math/libm-test.inc (struct test_c_f_data): New type.
20553 (RUN_TEST_LOOP_c_f): New macro.
20554 (cabs_test_data): New variable.
20555 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20556 (carg_test_data): New variable.
20557 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20558 (cimag_test_data): New variable.
20559 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20560 (creal_test_data): New variable.
20561 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20562
0e400df5
JM
20563 * math/libm-test.inc (struct test_if_f_data): New type.
20564 (RUN_TEST_LOOP_if_f): New macro.
20565 (jn_test_data): New variable.
20566 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20567 (yn_test_data): New variable.
20568 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20569
6d33265c
JM
20570 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20571
f98ece5f
AZ
205722013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20573
20574 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20575 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20576
0f7d347b
SP
205772013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20578
43fe811b
SP
20579 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20580 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20581 (bench-deps): Add bench-timing.h.
20582 * benchtests-bench-skeleton.c: Include bench-timing.h.
20583 (main): Use TIMING_* macros instead of clock_gettime.
20584 * benchtests/bench-timing.h: New file.
20585
0f7d347b
SP
20586 [BZ #14582]
20587 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20588 Renamed from _LIB_VERSION.
20589 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20590
601a3a5f
JM
205912013-05-12 Joseph Myers <joseph@codesourcery.com>
20592
4f184d30
JM
20593 * math/libm-test.inc (struct test_fff_f_data): New type.
20594 (RUN_TEST_LOOP_fff_f): New macro.
20595 (fma_test_data): New variable.
20596 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20597 (fma_towardzero_test_data): New variable.
20598 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20599 (fma_downward_test_data): New variable.
20600 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20601 (fma_upward_test_data): New variable.
20602 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20603
08198877
JM
20604 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20605 (struct test_c_c_data): New type.
20606 (RUN_TEST_LOOP_c_c): New macro.
20607 (cacos_test_data): New variable.
20608 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20609 (cacosh_test_data): New variable.
20610 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20611 (casin_test_data): New variable.
20612 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20613 (casinh_test_data): New variable.
20614 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20615 (catan_test_data): New variable.
20616 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20617 (catanh_test_data): New variable.
20618 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20619 (ccos_test_data): New variable.
20620 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20621 (ccosh_test_data): New variable.
20622 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20623 (cexp_test_data): New variable.
20624 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20625 (clog_test_data): New variable.
20626 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20627 (clog10_test_data): New variable.
20628 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20629 (conj_test_data): New variable.
20630 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20631 (cproj_test_data): New variable.
20632 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20633 (csin_test_data): New variable.
20634 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20635 (csinh_test_data): New variable.
20636 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20637 (csqrt_test_data): New variable.
20638 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20639 (ctan_test_data): New variable.
20640 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20641 (ctan_tonearest_test_data): New variable.
20642 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20643 (ctan_towardzero_test_data): New variable.
20644 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20645 (ctan_downward_test_data): New variable.
20646 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20647 (ctan_upward_test_data): New variable.
20648 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20649 (ctanh_test_data): New variable.
20650 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20651 (ctanh_tonearest_test_data): New variable.
20652 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20653 (ctanh_towardzero_test_data): New variable.
20654 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20655 (ctanh_downward_test_data): New variable.
20656 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20657 (ctanh_upward_test_data): New variable.
20658 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20659 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20660 of BUILD_COMPLEX.
20661
601a3a5f
JM
20662 * math/libm-test.inc (struct test_ff_f_data): New type.
20663 (struct test_ff_f_data_nexttoward): Likewise.
20664 (RUN_TEST_LOOP_2_f): New macro.
20665 (RUN_TEST_LOOP_ff_f): Likewise.
20666 (atan2_test_data): New variable.
20667 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20668 (copysign_test_data): New variable.
20669 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20670 (fdim_test_data): New variable.
20671 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20672 (fmax_test_data): New variable.
20673 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20674 (fmin_test_data): New variable.
20675 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20676 (fmod_test_data): New variable.
20677 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20678 (hypot_test_data): New variable.
20679 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20680 (nextafter_test_data): New variable.
20681 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20682 (nexttoward_test_data): New variable.
20683 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20684 (pow_test_data): New variable.
20685 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20686 (pow_tonearest_test_data): New variable.
20687 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20688 (pow_towardzero_test_data): New variable.
20689 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20690 (pow_downward_test_data): New variable.
20691 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20692 (pow_upward_test_data): New variable.
20693 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20694 (remainder_test_data): New variable.
20695 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20696 (scalb_test_data): New variable.
20697 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20698 * sysdeps/i386/fpu/libm-test-ulps: Update.
20699
74c57478
JM
207002013-05-11 Joseph Myers <joseph@codesourcery.com>
20701
8329e4da
JM
20702 * math/libm-test.inc (fma_test): Use max_value instead of local
20703 variable fltmax.
20704 (nextafter_test): Likewise.
20705
74c57478
JM
20706 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20707 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20708 (acos_downward_test_data): New variable.
20709 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20710 (acos_upward_test_data): New variable.
20711 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20712 (acosh_test_data): New variable.
20713 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20714 (asin_test_data): New variable.
20715 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20716 (asin_tonearest_test_data): New variable.
20717 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20718 (asin_towardzero_test_data): New variable.
20719 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20720 (asin_downward_test_data): New variable.
20721 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20722 (asin_upward_test_data): New variable.
20723 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20724 (asinh_test_data): New variable.
20725 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20726 (atan_test_data): New variable.
20727 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20728 (atanh_test_data): New variable.
20729 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20730 (cbrt_test_data): New variable.
20731 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20732 (ceil_test_data): New variable.
20733 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20734 (cos_test_data): New variable.
20735 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20736 (cos_tonearest_test_data): New variable.
20737 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20738 (cos_towardzero_test_data): New variable.
20739 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20740 (cos_downward_test_data): New variable.
20741 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20742 (cos_upward_test_data): New variable.
20743 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20744 (cosh_test_data): New variable.
20745 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20746 (cosh_tonearest_test_data): New variable.
20747 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20748 (cosh_towardzero_test_data): New variable.
20749 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20750 (cosh_downward_test_data): New variable.
20751 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20752 (cosh_upward_test_data): New variable.
20753 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20754 (erf_test_data): New variable.
20755 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20756 (erfc_test_data): New variable.
20757 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20758 (exp_test_data): New variable.
20759 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20760 (exp_tonearest_test_data): New variable.
20761 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20762 (exp_towardzero_test_data): New variable.
20763 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20764 (exp_downward_test_data): New variable.
20765 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20766 (exp_upward_test_data): New variable.
20767 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20768 (exp10_test_data): New variable.
20769 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20770 (exp2_test_data): New variable.
20771 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20772 (expm1_test_data): New variable.
20773 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20774 (fabs_test_data): New variable.
20775 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20776 (floor_test_data): New variable.
20777 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20778 (j0_test_data): New variable.
20779 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20780 (j1_test_data): New variable.
20781 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20782 (log_test_data): New variable.
20783 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20784 (log10_test_data): New variable.
20785 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20786 (log1p_test_data): New variable.
20787 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20788 (log2_test_data): New variable.
20789 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20790 (logb_test_data): New variable.
20791 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20792 (logb_downward_test_data): New variable.
20793 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20794 (nearbyint_test_data): New variable.
20795 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20796 (rint_test_data): New variable.
20797 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20798 (rint_tonearest_test_data): New variable.
20799 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20800 (rint_towardzero_test_data): New variable.
20801 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20802 (rint_downward_test_data): New variable.
20803 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20804 (rint_upward_test_data): New variable.
20805 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20806 (round_test_data): New variable.
20807 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20808 (sin_test_data): New variable.
20809 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20810 (sin_tonearest_test_data): New variable.
20811 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20812 (sin_towardzero_test_data): New variable.
20813 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20814 (sin_downward_test_data): New variable.
20815 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20816 (sin_upward_test_data): New variable.
20817 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20818 (sinh_test_data): New variable.
20819 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20820 (sinh_tonearest_test_data): New variable.
20821 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20822 (sinh_towardzero_test_data): New variable.
20823 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20824 (sinh_downward_test_data): New variable.
20825 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20826 (sinh_upward_test_data): New variable.
20827 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20828 (sqrt_test_data): New variable.
20829 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20830 (tan_test_data): New variable.
20831 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20832 (tan_tonearest_test_data): New variable.
20833 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20834 (tan_towardzero_test_data): New variable.
20835 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20836 (tan_downward_test_data): New variable.
20837 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20838 (tan_upward_test_data): New variable.
20839 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20840 (tanh_test_data): New variable.
20841 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20842 (tgamma_test_data): New variable.
20843 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20844 (trunc_test_data): New variable.
20845 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20846 (y0_test_data): New variable.
20847 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20848 (y1_test_data): New variable.
20849 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20850 (significand_test_data): New variable.
20851 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20852
7187d844
CG
208532013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20854
20855 [BZ #12387]
20856 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20857
f63fae73
PT
208582013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20859
20860 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20861
8a67a4b3
AJ
208622013-05-10 Andreas Jaeger <aj@suse.de>
20863
20864 [BZ #15448]
20865 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20866 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20867
51df539d
JM
208682013-05-10 Joseph Myers <joseph@codesourcery.com>
20869
20870 * math/gen-libm-test.pl (adjust_arg): New function.
20871 (special_functions): Handle generating output in both functions
20872 and arrays.
20873 (parse_args): Likewise.
20874 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20875 $in_func argument to parse_args.
20876 * math/libm-test.inc (struct test_f_f_data): New type.
20877 (IF_ROUND_INIT_): New macro.
20878 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20879 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20880 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20881 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20882 (ROUND_RESTORE_): Likewise.
20883 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20884 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20885 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20886 (ROUND_RESTORE_FE_UPWARD): Likewise.
20887 (RUN_TEST_LOOP_f_f): New macro.
20888 (acos_test_data): New variable.
20889 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20890 (acos_tonearest_test_data): New variable.
20891 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20892
5c637fe5
SP
208932013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20894
20895 * benchtests/bench-skeleton.c (startup): Fix coding style.
20896
ab2b9461
JM
208972013-05-10 Joseph Myers <joseph@codesourcery.com>
20898
20899 [BZ #6809]
20900 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20901 negative infinity argument.
20902 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20903 negative infinity argument.
20904 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20905 negative infinity argument.
20906 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20907 domain errors.
20908
4c0fe6fe
FW
209092013-05-10 Florian Weimer <fweimer@redhat.com>
20910
20911 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20912 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20913 * iconv/iconv_prog.c (main): Likewise.
20914 * locale/programs/charmap-dir.c (charmap_readdir)
20915 (fopen_uncompressed): Likewise.
20916 * locale/programs/locfile.c (siblings_uncached)
20917 (write_locale_data): Use lstat64 instead of lstat.
20918 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20919 stat.
20920
a3375d29
AJ
209212013-05-10 Andreas Jaeger <aj@suse.de>
20922
20923 [BZ #15395]
20924 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20925 localization.
20926 Include <locale.h>.
20927
36129722
CD
209282013-05-09 Carlos O'Donell <carlos@redhat.com>
20929
20930 * elf/dl-close.c (_dl_close_worker): Add comments.
20931
faa7f811
JM
209322013-05-09 Joseph Myers <joseph@codesourcery.com>
20933
ed41ffef
JM
20934 [BZ #15359]
20935 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20936 high part of pi/2.
20937 (__ieee754_rem_pio2l): Update comments.
20938
d0213cd0
JM
20939 [BZ #15429]
20940 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20941 high part of pi/2.
20942 (__ieee754_rem_pio2l): Update comments.
20943
0d3e777a
JM
20944 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20945 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20946
24f56066
JM
20947 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20948 M_PI_4l.
20949
faa7f811
JM
20950 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20951 (M_PI_34_LOG10El): Likewise.
20952 (M_PI2_LOG10El): Likewise.
20953 (M_PI4_LOG10El): Likewise.
20954 (M_PI_LOG10El): Likewise.
20955
e9a5e0fd
AZ
209562013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20957
20958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20959
d8cd06db
JM
209602013-05-08 Joseph Myers <joseph@codesourcery.com>
20961
a0d9f9d7
JM
20962 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20963 (MINUS_ZERO_INIT): Likewise.
20964 (PLUS_INFTY_INIT): Likewise.
20965 (MINUS_INFTY_INIT): Likewise.
20966 (QNAN_VALUE_INIT): Likewise.
20967 (MAX_VALUE_INIT): Likewise.
20968 (MIN_VALUE_INIT): Likewise.
20969 (MIN_SUBNORM_VALUE_INIT): Likewise.
20970 (plus_zero): Initialize with PLUS_ZERO_INIT.
20971 (minus_zero): Initialize with MINUS_ZERO_INIT.
20972 (plus_infty): Initialize with PLUS_INFTY_INIT.
20973 (minus_infty): Initialize with MINUS_INFTY_INIT.
20974 (qnan_value): Initialize with QNAN_VALUE_INIT.
20975 (max_value): Initialize with MAX_VALUE_INIT.
20976 (min_value): Initialize with MIN_VALUE_INIT.
20977 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20978
ae08db3b
JM
20979 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20980 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20981 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20982 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20983
f44bf14a
JM
20984 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20985 (RUN_TEST_2_f): Likewise.
20986 (RUN_TEST_ff_f): Likewise.
20987 (RUN_TEST_fi_f): Likewise.
20988 (RUN_TEST_fl_f): Likewise.
20989 (RUN_TEST_fff_f): Likewise.
20990 (RUN_TEST_c_f): Likewise.
20991 (RUN_TEST_f_f1): Likewise.
20992 (RUN_TEST_fF_f1): Likewise.
20993 (RUN_TEST_fI_f1): Likewise.
20994 (RUN_TEST_ffI_f1): Likewise.
20995 (RUN_TEST_c_c): Likewise.
20996 (RUN_TEST_cc_c): Likewise.
20997 (RUN_TEST_f_i): Likewise.
20998 (RUN_TEST_f_i_tg): Likewise.
20999 (RUN_TEST_ff_i_tg): Likewise.
21000 (RUN_TEST_f_b): Likewise.
21001 (RUN_TEST_f_b_tg): Likewise.
21002 (RUN_TEST_f_l): Likewise.
21003 (RUN_TEST_f_L): Likewise.
21004 (RUN_TEST_sincos): Likewise.
21005 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21006 whether to show exceptions. Do not include ");\n" in return
21007 value.
21008 (special_functions): Output call to RUN_TEST_sincos instead of
21009 check_float calls. Update calls to new_test.
21010 (parse_args): Output call to single RUN_TEST_* macro instead of
21011 check_* calls and other assignments. Update calls to new_test.
21012
d8cd06db
JM
21013 [BZ #2546]
21014 [BZ #2560]
21015 [BZ #5159]
21016 [BZ #15426]
21017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21018 input to result for tgamma overflow.
21019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21020 (gamma_coeff): New variable.
21021 (NCOEFF): New macro.
21022 (gamma_positive): New function.
21023 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21024 underflow here. Use gamma_positive instead of exp (lgamma) for
21025 other arguments.
21026 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21027 (gamma_coeff): New variable.
21028 (NCOEFF): New macro.
21029 (gammaf_positive): New function.
21030 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21031 underflow here. Use gamma_positive instead of exp (lgamma) for
21032 other arguments.
21033 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21034 (gamma_coeff): New variable.
21035 (NCOEFF): New macro.
21036 (gammal_positive): New function.
21037 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21038 underflow here. Use gamma_positive instead of exp (lgamma) for
21039 other arguments.
21040 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21041 (gamma_coeff): New variable.
21042 (NCOEFF): New macro.
21043 (gammal_positive): New function.
21044 (__ieee754_gammal_r): Handle positive infinity, overflow and
21045 underflow here. Handle NaN the same as positive infinity. Remove
21046 check x < 0xffffffff for negative integers. Use gamma_positive
21047 instead of exp (lgamma) for other arguments.
21048 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21049 (gamma_coeff): New variable.
21050 (NCOEFF): New macro.
21051 (gammal_positive): New function.
21052 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21053 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21054 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21058 * sysdeps/generic/math_private.h (__gamma_productf): New
21059 prototype.
21060 (__gamma_product): Likewise.
21061 (__gamma_productl): Likewise.
21062 * math/Makefile (libm-calls): Add gamma_product.
21063 * math/libm-test.inc (tgamma_test): Add more tests.
21064 * sysdeps/i386/fpu/libm-test-ulps: Update.
21065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21066
bb7cf681
OB
210672013-05-08 Ondřej Bílka <neleai@seznam.cz>
21068
21069 * benchtests/bench-skeleton.c (main): Preheat CPU.
21070
ba853947
AJ
210712013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21072
21073 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21074
8347c74c
RM
210752013-05-07 Roland McGrath <roland@hack.frob.com>
21076
21077 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21078 and _dl_skip_args_internal.
21079
e8dd4791
CD
210802013-05-07 Carlos O'Donell <carlos@redhat.com>
21081
21082 * manual/message.texi (Message Translation): Talk about users.
21083 Message to key mapping impacts design.
21084
c7405830
RM
210852013-05-06 Roland McGrath <roland@hack.frob.com>
21086
a9173057
RM
21087 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21088
976e2f03
RM
21089 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21090
9723ffc5
RM
21091 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21092 * sysdeps/wordsize-64/glob64.c: ... here.
21093
962e6658
RM
21094 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21095 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21096 New macros.
21097
ee586a6d
RM
21098 * debug/getlogin_r_chk.c: Moved to ...
21099 * login/getlogin_r_chk.c: ... here.
21100 * debug/Makefile (routines): Move getlogin_r_chk to ...
21101 * login/Makefile (routines): ... here.
21102 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21103 * login/Versions (libc: GLIBC_2.4): ... here.
21104
355f9165
RM
21105 * io/poll.c (__poll): Renamed from poll.
21106 Add libc_hidden_def.
21107 (poll): Define as weak alias.
21108
bd9ffde6
RM
21109 * debug/ptsname_r_chk.c: Moved to ...
21110 * login/ptsname_r_chk.c: ... here.
21111 * debug/Makefile (routines): Move ptsname_r_chk to ...
21112 * login/Makefile (routines): ... here.
21113 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21114 * login/Versions (libc: GLIBC_2.4): ... here.
21115
8fb16a04
RM
21116 * posix/getlogin.c: Moved to ...
21117 * login/getlogin.c: ... here.
21118 * posix/getlogin_r.c: Moved to ...
21119 * login/getlogin_r.c: ... here.
21120 * posix/getlogin_r.c: Moved to ...
21121 * login/getlogin_r.c: ... here.
21122 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21123 * login/Makefile (routines): ... here.
21124 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21125 * login/Versions (libc: GLIBC_2.0): ... here.
21126
b99b892f
RM
21127 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21128 (setrlimit): Define as weak alias.
21129
c7405830
RM
21130 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21131 Call __ names for open, ftruncate, and close.
21132 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21133 (truncate): Define as weak alias.
21134
5bf96de5
JM
211352013-05-06 Joseph Myers <joseph@codesourcery.com>
21136
9ea3513c
JM
21137 * math/gen-libm-test.pl (parse_args): Initialize x before each
21138 test of frexp, modf and remquo.
21139
5bf96de5
JM
21140 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21141 test signgam value.
21142
16e616a7
AZ
211432013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21144
21145 [BZ #15418]
21146 [BZ #15419]
21147 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21148 internal tests.
21149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21150
d5e82754
RM
211512013-05-06 Roland McGrath <roland@hack.frob.com>
21152
21153 * elf/dl-writev.h: New file.
21154 * elf/dl-misc.c: Include it.
21155 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21156 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21157
a7548d41
JM
211582013-05-04 Joseph Myers <joseph@codesourcery.com>
21159
b7dab1e4
JM
21160 * math/libm-test.inc (noXFails): Remove variable.
21161 (noXPasses): Likewise.
21162 (BUILD_COMPLEX_INT): Remove macro.
21163 (print_screen): Remove xfail argument.
21164 (print_screen_max_error): Likewise.
21165 (update_stats): Likewise.
21166 (print_max_error): Likewise. Update calls to other affected
21167 functions.
21168 (print_complex_max_error): Likewise.
21169 (test_single_exception): Update calls to print_screen.
21170 (test_single_errno): Likewise.
21171 (check_float_internal): Remove xfail argument. Update calls to
21172 other affected functions.
21173 (check_float): Likewise.
21174 (check_complex): Likewise.
21175 (check_int): Likewise.
21176 (check_long): Likewise.
21177 (check_bool): Likewise.
21178 (check_longlong): Likewise.
21179 (main): Don't print noXFails and noXPasses.
21180 * math/gen-libm-test.pl (top level): Don't mention expected
21181 failure handling in comment.
21182 (new_test): Don't handle expected failures.
21183 (parse_args): Don't mention expected failure handling in comment.
21184 (generate_testfile): Don't handle expected failures.
21185 (parse_ulps): Likewise.
21186 (print_ulps_file): Likewise.
21187 (get_failure): Remove function.
21188 (output_test): Don't handle expected failures.
21189 * make/README.libm-test: Don't mention expected failure handling.
21190
a7548d41
JM
21191 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21192 (minus_zero): Likewise.
21193 (plus_infty): Likewise.
21194 (minus_infty): Likewise.
21195 (qnan_value): Likewise.
21196 (max_value): Likewise.
21197 (min_value): Likewise.
21198 (min_subnorm_value): Likewise.
21199 (initialize): Do not initialize those variables dynamically.
21200
60bfd54c
RM
212012013-05-03 Roland McGrath <roland@hack.frob.com>
21202
cc0e6ed8
RM
21203 * io/open.c (__open_2): Moved to ...
21204 * io/open_2.c: ... this new file.
21205 * io/open64.c (__open64_2): Moved to ...
21206 * io/open64_2.c: ... this new file.
21207 * io/openat.c (__openat_2): Moved to ...
21208 * io/openat_2.c: ... this new file.
21209 * io/openat64.c (__openat64_2): Moved to ...
21210 * io/openat64_2.c: ... this new file.
21211 * io/Makefile (routines): Add them.
21212 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21213 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21214 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21215 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21216 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21217 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21218 (__openat64): Add hidden_ver.
21219 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21220 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21221
60bfd54c
RM
21222 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21223 Separately conditionalize setting of GLRO(dl_sysinfo) so
21224 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21225 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21226
83e7640f
AZ
212272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21228
21229 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21231 definition.
21232 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21233 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21234 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21235 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21236 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21237
d5dc2af3
JM
212382013-05-03 Joseph Myers <joseph@codesourcery.com>
21239
c31a5b1e
JM
21240 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21241 test signgam value.
21242
d5dc2af3
JM
21243 * math/libm-test.inc (hypot_test): Do not use
21244 IGNORE_ZERO_INF_SIGN.
21245
164fd39d
AJ
212462013-05-03 Andreas Jaeger <aj@suse.de>
21247
21248 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21249 Linux 3.9.
21250 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21251 (PF_MAX): Adjust for VSOCK change.
21252
8237f48c
AZ
212532013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21254
21255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21256
9df02941
CD
212572013-05-02 Carlos O'Donell <carlos@redhat.com>
21258
21259 [BZ #15264]
21260 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21261 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21262 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21263
d422395e
DM
212642013-05-02 David S. Miller <davem@davemloft.net>
21265
21266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21267
a07c5731
OB
212682013-05-01 Ondřej Bílka <neleai@seznam.cz>
21269
21270 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21271
1324e37f
RM
212722013-05-01 Roland McGrath <roland@hack.frob.com>
21273
21274 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21275
0695940b
RS
212762013-05-01 Richard Smith <richard@metafoo.co.uk>
21277
bb5f27ad 21278 [BZ #14952]
0695940b
RS
21279 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21280 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21281 Use __attribute__ ((__gnu_inline__)).
21282 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21283 Don't use __attribute__ ((__gnu_inline__)).
21284
10de07f5
JM
212852013-05-01 Joseph Myers <joseph@codesourcery.com>
21286
21287 [BZ #15423]
21288 * math/s_catan.c (__catan): Handle small real or imaginary part of
21289 input specially to avoid spurious underflow.
21290 * math/s_catanf.c (__catanf): Likewise.
21291 * math/s_catanh.c (__catanh): Likewise.
21292 * math/s_catanhf.c (__catanhf): Likewise.
21293 * math/s_catanhl.c (__catanhl): Likewise.
21294 * math/s_catanl.c (__catanl): Likewise.
21295 * math/libm-test.inc (catan_test): Add more tests.
21296 (catanh_test): Likewise.
21297 * sysdeps/i386/fpu/libm-test-ulps: Update.
21298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21299
cb4d5414
AZ
213002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21301
21302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21303
caf84319
JM
213042013-04-30 Joseph Myers <joseph@codesourcery.com>
21305
21306 [BZ #15416]
21307 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21308 accurately for denominator in atan2.
21309 * math/s_catanf.c (__catanf): Likewise.
21310 * math/s_catanh.c (__catanh): Likewise.
21311 * math/s_catanhf.c (__catanhf): Likewise.
21312 * math/s_catanhl.c (__catanhl): Likewise.
21313 * math/s_catanl.c (__catanl): Likewise.
21314 * math/libm-test.inc (catan_test): Add more tests.
21315 (catanh_test): Likewise.
21316 * sysdeps/i386/fpu/libm-test-ulps: Update.
21317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318
d569c6ee
SP
213192013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
6dbe713d
SP
21321 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21322
f0ee064b
SP
21323 * benchtests/Makefile (bench): Remove slow benchmarks.
21324 * benchtests/atan-inputs: Add slow benchmark inputs.
21325 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21326 (BENCH_FUNC): Accept variant offset.
21327 (VARIANT): Define.
21328 * benchtests/bench-skeleton.c (main): Run benchmark for each
21329 variant.
21330 * benchtests/cos-inputs: Add slow benchmark inputs.
21331 * benchtests/exp-inputs: Likewise.
21332 * benchtests/pow-inputs: Likewise.
21333 * benchtests/sin-inputs: Likewise.
21334 * benchtests/slowatan-inputs: Remove.
21335 * benchtests/slowatan.c: Remove.
21336 * benchtests/slowcos-inputs: Remove.
21337 * benchtests/slowcos.c: Remove.
21338 * benchtests/slowexp-inputs: Remove.
21339 * benchtests/slowexp.c: Remove.
21340 * benchtests/slowpow-inputs: Remove.
21341 * benchtests/slowpow.c: Remove.
21342 * benchtests/slowsin-inputs: Remove.
21343 * benchtests/slowsin.c: Remove.
21344 * benchtests/slowtan-inputs: Remove.
21345 * benchtests/slowtan.c: Remove.
21346 * benchtests/tan-inputs: Add slow benchmark inputs.
21347 * scripts/bench.pl: Parse comments and directives.
21348
d569c6ee
SP
21349 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21350 in CPPFLAGS.
21351 ($(objpfx)bench-%.c): Remove *-ITER.
21352 * benchtests/bench-modf.c: Remove definition of ITER.
21353 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21354 (main): Loop for DURATION seconds instead of fixed number of
21355 iterations.
21356 * scripts/bench.pl: Don't expect iterations in parameters.
21357
a6a242fe
RM
213582013-04-29 Roland McGrath <roland@hack.frob.com>
21359
21360 * io/fchdir.c (__fchdir): Renamed from fchdir.
21361 (fchdir): Define as weak alias.
21362
f2da7793
JM
213632013-04-29 Joseph Myers <joseph@codesourcery.com>
21364
21365 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21366 (ERRNO_EDOM): Likewise.
21367 (ERRNO_ERANGE): Likewise.
21368 (noErrnoTests): New variable.
21369 (init_max_error): Set errno to 0.
21370 (test_single_errno): New function.
21371 (test_errno): Likewise.
21372 (check_float_internal): Call test_errno. Set errno to 0.
21373 (check_complex): Refer to errno tests in comment.
21374 (check_int): Call test_errno. Set errno to 0.
21375 (check_long): Likewise.
21376 (check_bool): Likewise.
21377 (check_longlong): Likewise.
21378 (cos_test): Use ERRNO_* flags for errno tests instead of
21379 check_int.
21380 (expm1_test): Likewise.
21381 (fmod_test): Likewise.
21382 (ilogb_test): Likewise.
21383 (lgamma_test): Likewise.
21384 (pow_test): Likewise.
21385 (remainder_test): Likewise.
21386 (sin_test): Likewise.
21387 (tan_test): Likewise.
21388 (yn_test): Likewise.
21389 (initialize): Set errno to 0.
21390 (main): Print number of errno tests.
21391 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21392
b1a36ceb
AJ
213932013-04-29 Andreas Jaeger <aj@suse.de>
21394
c3ed8088
AJ
21395 [BZ #15084]
21396 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21397 and RES_USEVC.
21398
f1a24198
AJ
21399 [BZ #15085]
21400 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21401 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21402 unimplemented.
21403
9ce3b2cb
AJ
21404 [BZ #15380]
21405 * stdlib/random.c (__initstate): Return NULL if
21406 __initstate fails.
21407
f1a24198 21408 [BZ #15086]
b1a36ceb
AJ
21409 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21410 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21411 RES_SNGLKUPREOP.
21412
7e7b6f36
AZ
214132013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21414
21415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21416
4d14f449
JM
214172013-04-29 Joseph Myers <joseph@codesourcery.com>
21418
21419 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21420 of individual tests.
21421 (casin_test): Likewise.
21422 (casinh_test): Likewise.
21423
5b4217d7
JM
214242013-04-27 Joseph Myers <joseph@codesourcery.com>
21425
21426 [BZ #15409]
21427 * math/s_catan.c (__catan): Handle arguments with large real or
21428 imaginary part separately without squaring.
21429 * math/s_catanf.c (__catanf): Likewise.
21430 * math/s_catanh.c (__catanh): Likewise.
21431 * math/s_catanhf.c (__catanhf): Likewise.
21432 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21433 and redefine.
21434 (__catanhl): Handle arguments with large real or imaginary part
21435 separately without squaring.
21436 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21437 and redefine.
21438 (__catanl): Handle arguments with large real or imaginary part
21439 separately without squaring.
21440 * math/libm-test.inc (catan_test): Add more tests.
21441 (catanh_test): Likewise.
21442 * sysdeps/i386/fpu/libm-test-ulps: Update.
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21444
4220c3ef
AJ
214452013-04-27 Andreas Jaeger <aj@suse.de>
21446
21447 [BZ #15007]
21448 * stdlib/stdlib.h: Update guards for qecvt.
21449 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21450 <stdlib.h>.
21451
4721b2d1
AM
214522013-04-27 Allan McRae <allan@archlinux.org>
21453
21454 * sysdeps/i386/fpu/libm-test-ulps: Update.
21455
f0302940
JM
214562013-04-26 Joseph Myers <joseph@codesourcery.com>
21457
9457fd95
JM
21458 [BZ #15406]
21459 * math/s_catan.c: Include <float.h>.
21460 (__catan): Ensure underflow exception occurs for underflowed
21461 result.
21462 * math/s_catanf.c: Include <float.h>.
21463 (__catanf): Ensure underflow exception occurs for underflowed
21464 result.
21465 * math/s_catanh.c: Include <float.h>.
21466 (__catanh): Ensure underflow exception occurs for underflowed
21467 result.
21468 * math/s_catanhf.c: Include <float.h>.
21469 (__catanhf): Ensure underflow exception occurs for underflowed
21470 result.
21471 * math/s_catanhl.c: Include <float.h>.
21472 (__catanhl): Ensure underflow exception occurs for underflowed
21473 result.
21474 * math/s_catanl.c: Include <float.h>.
21475 (__catanl): Ensure underflow exception occurs for underflowed
21476 result.
21477 * math/libm-test.inc (catan_test): Add more tests.
21478 (catanh_test): Likewise.
21479
f0302940
JM
21480 [BZ #15405]
21481 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21482 underflowed result.
21483 * math/s_ccoshf.c (__ccoshf): Likewise.
21484 * math/s_ccoshl.c (__ccoshl): Likewise.
21485 * math/s_csin.c (__csin): Likewise.
21486 * math/s_csinf.c (__csinf): Likewise.
21487 * math/s_csinh.c (__csinh): Likewise.
21488 * math/s_csinhf.c (__csinhf): Likewise.
21489 * math/s_csinhl.c (__csinhl): Likewise.
21490 * math/s_csinl.c (__csinl): Likewise.
21491 * math/libm-test.inc (ccos_test): Add more tests.
21492 (ccosh_test): Likewise.
21493 (csin_test): Likewise.
21494 (csinh_test): Likewise.
21495
aa630f59
AZ
214962013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21497
21498 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21499 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21500 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21501 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21502 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21503 powerpc/power5+/fpu folders.
21504 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21505
21506
1b835983
MT
215072013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21508
21509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21510
73709b26
JM
215112013-04-25 Joseph Myers <joseph@codesourcery.com>
21512
21513 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21514 additions to variable.
21515 [$(config-machine) = x86_64] (modules-names): Likewise.
21516 ($(objpfx)tst-audit3): Remove dependency.
21517 ($(objpfx)tst-audit3.out): Likewise.
21518 ($(objpfx)tst-audit4): Likewise.
21519 ($(objpfx)tst-audit4.out): Likewise.
21520 ($(objpfx)tst-audit5): Likewise.
21521 ($(objpfx)tst-audit5.out): Likewise.
21522 ($(objpfx)tst-audit6): Likewise.
21523 ($(objpfx)tst-audit6.out): Likewise.
21524 ($(objpfx)tst-audit7): Likewise.
21525 ($(objpfx)tst-audit7.out): Likewise.
21526 (tst-audit3-ENV): Remove variable.
21527 (tst-audit4-ENV): Likewise.
21528 (tst-audit5-ENV): Likewise.
21529 (tst-audit6-ENV): Likewise.
21530 (tst-audit7-ENV): Likewise.
21531 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21532 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21533 addition to variable.
21534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21538 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21539 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21540 tst-audit3, tst-audit4 and tst-audit5.
21541 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21542 tst-audit6 and tst-audit7.
21543 [$(subdir) = elf] (modules-names): Add audit modules for those
21544 tests.
21545 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21546 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21547 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21548 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21549 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21550 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21551 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21552 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21553 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21554 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21555 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21556 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21557 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21558 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21559 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21560 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21561 Likewise.
21562 [$(subdir) = elf && $(config-cflags-avx) = yes]
21563 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21564 [$(subdir) = elf && $(config-cflags-avx) = yes]
21565 (CFLAGS-tst-auditmod4a.c): Likewise.
21566 [$(subdir) = elf && $(config-cflags-avx) = yes]
21567 (CFLAGS-tst-auditmod4b.c): Likewise.
21568 [$(subdir) = elf && $(config-cflags-avx) = yes]
21569 (CFLAGS-tst-auditmod6b.c): Likewise.
21570 [$(subdir) = elf && $(config-cflags-avx) = yes]
21571 (CFLAGS-tst-auditmod6c.c): Likewise.
21572 [$(subdir) = elf && $(config-cflags-avx) = yes]
21573 (CFLAGS-tst-auditmod7b.c): Likewise.
21574 * elf/tst-audit3.c: Move to ...
21575 * sysdeps/x86_64/tst-audit3.c: ... here.
21576 * elf/tst-audit4.c: Move to ...
21577 * sysdeps/x86_64/tst-audit4.c: ... here.
21578 * elf/tst-audit5.c: Move to ...
21579 * sysdeps/x86_64/tst-audit5.c: ... here.
21580 * elf/tst-audit6.c: Move to ...
21581 * sysdeps/x86_64/tst-audit6.c: ... here.
21582 * elf/tst-audit7.c: Move to ...
21583 * sysdeps/x86_64/tst-audit7.c: ... here.
21584 * elf/tst-auditmod3a.c: Move to ...
21585 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21586 * elf/tst-auditmod3b.c: Move to ...
21587 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21588 * elf/tst-auditmod4a.c: Move to ...
21589 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21590 * elf/tst-auditmod4b.c: Move to ...
21591 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21592 * elf/tst-auditmod5a.c: Move to ...
21593 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21594 * elf/tst-auditmod5b.c: Move to ...
21595 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21596 * elf/tst-auditmod6a.c: Move to ...
21597 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21598 * elf/tst-auditmod6b.c: Move to ...
21599 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21600 * elf/tst-auditmod6c.c: Move to ...
21601 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21602 * elf/tst-auditmod7a.c: Move to ...
21603 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21604 * elf/tst-auditmod7b.c: Move to ...
21605 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21606
1ef74943
PP
216072013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21608
21609 [BZ #15366]
21610 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21611 define unconditionally.
21612 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21613 define unconditionally.
21614 (INT8_C, INT16_C, etc.): Likewise.
21615
93fd48c5
MR
216162013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21617
ae9552cf
MR
21618 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21619 __ehdr_start with hidden visibility.
21620
93fd48c5
MR
21621 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21622
418601aa
CD
216232013-04-24 Carlos O'Donell <carlos@redhat.com>
21624
21625 * math/libm-test.inc (cos_test): Use accurate hex constants.
21626 (sincost_test): Likewise.
21627
2f38fbfe
JM
216282013-04-24 Joseph Myers <joseph@codesourcery.com>
21629
5e221800
JM
21630 * math/libm-test.inc (catan_test): Add more tests.
21631 (catanh_test): Likewise.
21632
77f143fd
JM
21633 * math/s_catanf.c (__catanf): Use suffixed floating-point
21634 constants.
21635 * math/s_catanhf.c (__catanhf): Likewise.
21636 * math/s_catanhl.c (__catanhl): Likewise.
21637 * math/s_catanl.c (__catanl): Likewise.
21638
2f38fbfe
JM
21639 [BZ #15394]
21640 * math/s_catan.c (__catan): Calculate imaginary part of result
21641 with log1p not log unless computing log of number close to 0.
21642 * math/s_catanf.c (__catanf): Likewise.
21643 * math/s_catanl.c (__catanl): Likewise.
21644 * math/s_catanh.c (__catanh): Calculate real part of result with
21645 log1p not log unless computing log of number close to 0.
21646 * math/s_catanhf.c (__catanhf): Likewise.
21647 * math/s_catanhl.c (__catanhl): Likewise.
21648 * math/libm-test.inc (catan_test): Add more tests.
21649 (catanh_test): Likewise.
21650 * sysdeps/i386/fpu/libm-test-ulps: Update.
21651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21652
45d69176
SP
216532013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21654
21655 * benchtests/Makefile: Mention files in which fast and slow
21656 paths of math functions are implemented.
21657
87f51853
RM
216582013-04-23 Roland McGrath <roland@hack.frob.com>
21659
21660 * sysdeps/posix/timespec_get.c: New file.
21661
3c026539
AZ
216622013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21663
21664 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21665 POWER.
21666 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21667 for POWER.
21668 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21669 powerpc/power5/fpu folders.
21670 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21671 * benchtests/Makefile: Add modf testcase.
21672 * benchtests/bench-modf.c: New file: Benchmark test for mo
21673
ff491d14
SP
216742013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21675
21676 [BZ #14888]
21677 * time/Makefile (tests): Add tst-strptime-whitespace.
21678 * time/strptime_l.c (get_number): Use ISSPACE.
21679 (__strptime_internal): Likewise.
21680 * time/tst-strptime-whitespace.c: New test case.
21681
7ed3f4e8
AS
216822013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21683
21684 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21685 member.
21686 (_nss_files_init): Set it here.
21687
5c95f7b6
HC
216882013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21689
21690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21691 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21692 unsigned.
21693
d34c9158
JBG
216942013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21695
21696 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21697
2169712d
SP
216982013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21699
21700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21701 size just once.
21702
29c5de99
DM
217032013-04-21 David S. Miller <davem@davemloft.net>
21704
21705 * po/ru.po: Update Russion translation from translation project.
21706
ccdad15d
AC
217072013-04-17 Adam Conrad <adconrad@0c3.net>
21708
21709 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21710 and setfsgid.
21711
0f122b8d
CD
217122013-04-17 Carlos O'Donell <carlos@redhat.com>
21713
5c5b07da 21714 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21715 * configure: Regenerate.
5c5b07da 21716 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21717 Add example to error message.
21718 * sysdeps/i386/configure: Regenerate.
21719
037714dd
SP
217202013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21721
21722 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21723 slowtan.
21724 * benchtests/cos-inputs: New file.
21725 * benchtests/slowcos-inputs: New file.
21726 * benchtests/slowcos.c: New file.
21727 * benchtests/slowtan-inputs: New file.
21728 * benchtests/slowtan.c: New file.
21729 * benchtests/tan-inputs: New file.
21730
e913141d
RM
217312013-04-16 Roland McGrath <roland@hack.frob.com>
21732
21733 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21734 considered kosher.
21735
a2964074
SP
217362013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21737
4856bcd2
SP
21738 * benchtests/Makefile: Include cppflags-iterator.mk to add
21739 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21740
a2964074
SP
21741 * Makefile.in (bench-clean): New target.
21742 * benchtests/Makefile (bench-clean): Likewise.
21743
9fbf9aca
DH
217442013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21745
21746 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21747
207d1e2a
TS
217482013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21749
21750 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21751
306dfba9
AS
217522013-04-15 Andreas Schwab <schwab@suse.de>
21753
21754 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21756 * nscd/pwdcache.c (cache_addpw): Likewise.
21757 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21758 more than recsize.
21759
206a6699
SP
217602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21761
21762 * benchtests/Makefile (bench): Write all output to
21763 bench-out.tmp together.
21764
0582f6b3
AS
217652013-04-15 Andreas Schwab <schwab@suse.de>
21766
21767 * nscd/nscd.c (main): Don't fork again after closing files.
21768
acb4325f
SP
217692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21770
5cb26d0a
SP
21771 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21772
acb4325f
SP
21773 * benchtests/Rules (bench-deps): Collect dependencies into a
21774 single variable. Add Makefile to dependencies.
21775 ($(objpfx)bench-%.c): Depend on bench-deps.
21776
47792506
RM
217772013-04-12 Roland McGrath <roland@hack.frob.com>
21778 Xavier Roche <roche+kml2@exalead.com>
21779
21780 [BZ #15361]
21781 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21782 just that it's a file descriptor.
21783 * manual/llio.texi (Synchronizing AIO Operations): Update description
21784 for EBADF error from aio_fsync.
21785
8fc1bee5
SP
217862013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21787
21788 * Rules (bench): Move target definition...
21789 * benchtests/Makefile: ... here.
21790
aba5e333
CD
217912013-04-11 Carlos O'Donell <carlos@redhat.com>
21792
21793 * math/libm-test.inc (cos_test): Fix PI/2 test.
21794 (sincos_test): Likewise.
21795 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21796 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21797
273cdee8
AS
217982013-04-11 Andreas Schwab <schwab@suse.de>
21799
6ecec3b6
AS
21800 [BZ #13988]
21801 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21802 accept exponent character only when digits were seen.
21803 * stdio-common/Makefile (tests): Add bug26.
21804 * stdio-common/bug26.c: New file.
21805
273cdee8
AS
21806 [BZ #14293]
21807 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21808 non-freeable.
21809
8da491f5
SP
218102013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21811
01dc6df9
SP
21812 * Makeconfig (rtld-prefix): Define built linker prefix.
21813 * Rules (run-bench): Use it.
21814 * math/Makefile (run-regen-ulps): Likewise.
21815
8da491f5
SP
21816 * Rules (bench): Remove eval.
21817
abe7f530
SP
218182013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21819 Roland McGrath <roland@hack.frob.com>
21820 Ondrej Bilka <neleai@seznam.cz>
21821
21822 [BZ #15346]
21823 * time/getdate.c: Include ctype.h and alloca.h.
21824 (__getdate_r): Trim leading and trailing spaces of input.
21825 * time/tst-getdate.c (tests): Add tests with leading and
21826 trailing spaces.
21827
61c23e62
RM
218282013-04-08 Roland McGrath <roland@hack.frob.com>
21829
21830 [BZ #14280]
21831 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21832 when computing value.
21833
7208a313
CD
218342013-04-06 Carlos O'Donell <carlos@redhat.com>
21835
085b2d41
CD
21836 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21837 Use testrun.sh to run libm tests.
21838
7208a313
CD
21839 [BZ #15309]
21840 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21841
872c0acd
MM
218422013-04-06 Marko Myllynen <myllynen@redhat.com>
21843
21844 [BZ #15264]
21845 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21846
26510bdd
CD
218472013-04-06 Carlos O'Donell <carlos@redhat.com>
21848
21849 * Makefile.in (regen-ulps): New target.
21850 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21851 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21852 [ifneq (no,$(PERL)] (regen-ulps): New target.
21853 [ifeq (no,$(PERL)] (regen-ulps): New target.
21854 * math/libm-test.inc (ulps_file_name): Define.
21855 (output_dir): New variable.
21856 (options): Add "output-dir" option.
21857 (parse_opt): Handle 'o' case.
21858 (main): If output_dir is non-NULL use it as a prefix
21859 otherwise use "".
21860 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21861
a01f19c8
CD
218622013-04-06 Carlos O'Donell <carlos@redhat.com>
21863
21864 [BZ #10060, #10062]
21865 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21866 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21867 fail configure if __sync_val_compare_and_swap is not inlined.
21868 * sysdeps/i386/configure: Regenerate.
21869 * configure.in: Build for i686 when configured for i386.
21870 * configure: Regenerate.
21871 * README: Remove i386 reference.
21872
b7a329a5
CD
218732013-04-06 Carlos O'Donell <carlos@redhat.com>
21874
21875 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21877
bf0f50df
TS
218782013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21879
ee091edf
TS
21880 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21881 (lmsnanval): New variables.
21882 (F): Add conversion tests.
21883 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21884 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21885
a8b792d6
TS
21886 * stdio-common/tstdiomisc.c (F): Properly collect individual
21887 tests' results.
21888
a1cbf437
TS
21889 [BZ #14686, #15336]
21890 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21891 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21892 Instead, use input NaN values or generate a qNaN by arithmetic
21893 operation. Also fix bugs to comply with the standard.
21894 * math/libm-test.inc (remainder_test): Add more tests.
21895
8b43a0c9
TS
21896 [BZ #15335, #15342]
21897 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21899 input NaN values or generate a qNaN by arithmetic operation.
21900
d91da4ce
TS
21901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21902 unreachable code.
21903
bf0f50df
TS
21904 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21905 definitions.
21906
05e166c8
JM
219072013-04-03 Joseph Myers <joseph@codesourcery.com>
21908
21909 [BZ #14478]
21910 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21911 underflowed result.
21912 * math/s_cexpf.c (__cexpf): Likewise.
21913 * math/s_cexpl.c (__cexpl): Likewise.
21914 * math/libm-test.inc (cexp_test): Add more tests.
21915
1cef1b19
AS
219162013-04-03 Andreas Schwab <schwab@suse.de>
21917
21918 [BZ #15330]
21919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21920 order arrays from heap if bigger than alloca cutoff.
21921
74d87055
TS
219222013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21923
21924 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21925 (SNAN_TESTS_double): Refer to GCC PR56831.
21926 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21927 GCC PR56828.
21928
d755bba4
SP
219292013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21930
90d5d5bb
SP
21931 * Rules (bench): Move bench.out after the run is complete.
21932
73e0cd5d
SP
21933 * Rules (bench): Echo currently running benchmark.
21934
64aabd4b
SP
21935 * benchtests/Makefile (bench): Add atan and slowatan.
21936 * benchtests/atan-inputs: New file.
21937 * benchtests/slowatan-inputs: New file.
21938 * benchtests/slowatan.c: New file.
21939
c871eccd
SP
21940 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21941 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21942 its value.
21943
d755bba4
SP
21944 [BZ #15305]
21945 * sysdeps/unix/sysv/linux/kernel-features.h
21946 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21947 __ASSUME_XFS_RESTRICTED_CHOWN.
21948 * sysdeps/unix/sysv/linux/pathconf.c
21949 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21950 Save and restore errno.
21951
52ce4860
JM
219522013-04-02 Joseph Myers <joseph@codesourcery.com>
21953
21954 [BZ #15327]
21955 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21956 arguments using __kernel_casinh.
21957 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21958 arguments using __kernel_casinhf.
21959 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21960 arguments using __kernel_casinhl.
21961 * math/libm-test.inc (cacosh_test): Add more tests.
21962 * sysdeps/i386/fpu/libm-test-ulps: Update.
21963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21964
81f311c2
SP
219652013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21966
e7906a47
SP
21967 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21969
92e3664b
SP
21970 * bench/Makefile (bench): Add sin and slowsin.
21971 * benchtests/sin-inputs: New file.
21972 * benchtests/slowsin-inputs: New file.
21973 * benchtests/slowsin.c: New file.
21974
81f311c2
SP
21975 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21976 (bench): Add slowexp and slowpow.
21977 (exp-ITER): Increase iterations.
21978 (pow-ITER): Likewise.
21979 * benchtests/exp-inputs: Change input.
21980 * benchtests/pow-inputs: Likewise.
21981 * benchtests/slowexp-inputs: New file.
21982 * benchtests/slowexp.c: New file.
21983 * benchtests/slowpow-inputs: New file.
21984 * benchtests/slowpow.c: New file.
21985
ab0f1aa9
AZ
219862013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21987
21988 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21989 instructions.
21990 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21993 * benchtests/Makefile: Add rint benchtest.
21994 * benchtests/rint-inputs: Input for rint benchtest.
21995
57267616
TS
219962013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21997
21998 * Versions.def (libm): Add GLIBC_2.18.
21999 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22000 hidden libm prototypes.
22001 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22002 * math/Makefile (libm-calls): Add s_issignaling.
22003 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22004 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22005 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22006 declaration.
22007 * math/math.h [__USE_GNU] (issignaling): New macro.
22008 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22009 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22014 * manual/arith.texi (issignaling): New section.
22015 * manual/libm-err-tab.pl (@all_functions): Update comment.
22016 * math/gen-libm-test.pl (parse_args): Apply special handling for
22017 issignaling.
22018 * math/libm-test.inc (print_float, issignaling_test): New
22019 functions.
22020 (check_float_internal): Add issignaling checks.
22021 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22022 default definition.
22023 * sysdeps/powerpc/math-tests.h: New file.
22024 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22025 tests.
22026 * math/test-snan.c (TEST_FUNC): Likewise.
22027
6142896d
DM
220282013-03-30 David S. Miller <davem@davemloft.net>
22029
22030 * po/de.po: Update from translation team.
22031
ccc8cadf
JM
220322013-03-30 Joseph Myers <joseph@codesourcery.com>
22033
22034 [BZ #10357]
22035 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22036 imaginary part less than 1.0 and real part less than 0.5
22037 specially.
22038 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22039 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22040 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22041 (cacos_test): Add more tests.
22042 (casin_test): Likewise.
22043 (casinh_test): Likewise.
22044 * sysdeps/i386/fpu/libm-test-ulps: Update.
22045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22046
0f6a8d4b
SP
220472013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22048
0d1029de
SP
22049 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22050 ONE with its value.
22051
c2d94018
SP
22052 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22053 (__pow_mp): Replace ONE and MONE with their values.
22054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22056 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22057 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22058 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22059 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22060
27ec37f1
SP
22061 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22062
a64d7e0e
SP
22063 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22064 (__pow_mp): Replace ZERO and MZERO with their values.
22065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22070 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22071 (__sqr): Likewise.
22072
d26dd3eb
SP
22073 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22074
0f6a8d4b
SP
22075 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22076
e57b0c61
RM
220772013-03-28 Roland McGrath <roland@hack.frob.com>
22078
22079 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22080 Declare with __attribute__ ((weak)).
22081 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22082 Call __call_tls_dtors only if it's not NULL.
22083
356b3480
RM
220842013-03-28 Roland McGrath <roland@hack.frob.com>
22085
288f7d79
RM
22086 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22087 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22088 magic __ehdr_start linker symbol if it's defined.
22089 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22090 them up here if it was already done.
22091
dc0a0263
RM
22092 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22093 (_dl_aux_init): Use const in cast when setting it.
22094 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22096 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22097
3d3436ae
RM
22098 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22099 Declare them here.
22100 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22101 * csu/libc-tls.c: Nor here.
22102 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22103
356b3480
RM
22104 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22105 (__libc_message): Never call vsyslog.
22106
b0f1246a
AM
221072013-03-28 Alan Modra <amodra@gmail.com>
22108
22109 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22110 Define as empty.
22111 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22112 Likewise.
22113
fbbe2b9a
AZ
221142013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22115
22116 [BZ #15214]
22117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22118 underflow.
22119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22120
1728ab37
SP
221212013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22122
7a86be6e
SP
22123 [BZ #15304]
22124 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22125 Don't add gid passed as argument.
22126
1728ab37
SP
22127 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22128
3a7182a1
JM
221292013-03-27 Joseph Myers <joseph@codesourcery.com>
22130
22131 [BZ #15307]
22132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22133 imaginary part between 1.0 and 1.5 and real part less than 0.5
22134 specially.
22135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22137 * math/libm-test.inc (cacos_test): Add more tests.
22138 (casin_test): Likewise.
22139 (casinh_test): Likewise.
22140 * sysdeps/i386/fpu/libm-test-ulps: Update.
22141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22142
6f2e90e7
SP
221432013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22144
5739f705
SP
22145 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22146 constants.
22147 (norm): Likewise.
22148 (denorm): Likewise.
22149 (__dbl_mp): Likewise.
22150 (add_magnitudes): Likewise.
22151 (sub_magnitudes): Likewise.
22152 (__add): Likewise.
22153 (__sub): Likewise.
22154 (__mul): Likewise.
22155 (__sqr): Likewise.
22156 (__inv): Likewise.
22157 (__dvd): Likewise.
22158
e375e83d
SP
22159 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22160 commented code.
22161 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22162 (__dubcos): Likewise.
22163 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22164 (__ieee754_acos): Likewise.
22165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22167 (__exp1): Likewise.
22168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22170 (log1): Likewise.
22171 (my_log2): Likewise.
22172 (checkint): Likewise.
22173 * sysdeps/ieee754/dbl-64/e_remainder.c
22174 (__ieee754_remainder): Likewise.
22175 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22177 (bsloww): Likewise.
22178 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22179
6f2e90e7
SP
22180 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22182 MANTISSA_STORE_T to store computations on mantissa. Use
22183 macros for rounding and division.
22184 (denorm): Likewise.
22185 (__dbl_mp): Likewise.
22186 (add_magnitudes): Likewise.
22187 (sub_magnitudes): Likewise.
22188 (__mul): Likewise.
22189 (__sqr): Likewise.
22190 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22191 powers of two in terms of TWOPOW macro.
22192 (mp_no): Make type of mantissa as MANTISSA_T.
22193 [!RADIXI]: Define RADIXI.
22194 [!TWO52]: Define TWO52.
22195 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22196
fce14d4e
AZ
221972013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22198
22199 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22200 llroundl symbol when building for PPC32.
22201
9ad027fb
MW
222022013-03-24 Mark H Weaver <mhw@netris.org>
22203
22204 * manual/arith.texi (Normalization Functions): Fix prototypes for
22205 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22206
e42a38dd
AZ
222072013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22208
22209 [BZ #13889]
22210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22211 high value to check if expl overflow.
22212 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22213 to check for underflow and overflow.
22214 * math/libm-test.inc: Add exp test.
22215
2e0fb521
DL
222162013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22217
22218 [BZ #11120]
22219 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22220 with NOT_IN_libc.
22221
b5784d95
AZ
222222013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22223
22224 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22225 symbol.
22226
5aa4a1a1
TS
222272013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22228
bdef0be7
TS
22229 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22230 wrap blocks consisting of several statements.
22231
5aa4a1a1
TS
22232 * sysdeps/generic/math-tests.h: New file.
22233 * sysdeps/i386/fpu/math-tests.h: Likewise.
22234 * math/test-snan.c: Include it.
22235 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22236
98c48fe5
JM
222372013-03-21 Joseph Myers <joseph@codesourcery.com>
22238
22239 [BZ #15285]
22240 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22241 (__ieee754_j0l): Do not improve calculations using cos of twice
22242 input for inputs above LDBL_MAX / 2.0L.
22243 (__ieee754_y0l): Likewise.
22244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22245 (__ieee754_j1l): Do not improve calculations using cos of twice
22246 input for inputs above LDBL_MAX / 2.0L.
22247 (__ieee754_y1l): Likewise.
22248 * math/libm-test.inc (j0_test): Add another test.
22249 (j1_test): Likewise.
22250 (y0_test): Likewise.
22251 (y1_test): Likewise.
22252 * sysdeps/i386/fpu/libm-test-ulps: Update.
22253
3775a8bc
SP
222542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22255
22256 * Rules ($(objpfx)bench-%.c): Include code from a C source
22257 file.
22258
0a1b2ae6
JM
222592013-03-21 Joseph Myers <joseph@codesourcery.com>
22260
22261 [BZ #15287]
22262 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22263 imaginary part 1.0 and real part less than 0.5 specially.
22264 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22265 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22266 * math/libm-test.inc (cacos_test): Add more tests.
22267 (casin_test): Likewise.
22268 (casinh_test): Likewise.
22269 * sysdeps/i386/fpu/libm-test-ulps: Update.
22270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22271
b33d4ce4
SP
222722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22273
22274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22275 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22276
bef0b507
JM
222772013-03-20 Joseph Myers <joseph@codesourcery.com>
22278
22279 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22280 * config.make.in (config-cflags-sse4): Remove variable.
22281 (config-cflags-avx): Likewise.
22282 (config-cflags-sse2avx): Likewise.
22283 (config-cflags-novzeroupper): Likewise.
22284 (config-asflags-i686): Likewise.
22285 (have-mfma4): Likewise.
22286 (have-as-vis3): Likewise.
22287 (MIG): Likewise.
22288 * configure.in (MIG): Do not AC_SUBST.
22289 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22290 (libc_cv_cc_sse4): Do not AC_SUBST.
22291 (libc_cv_cc_avx): Likewise.
22292 (libc_cv_cc_sse2avx): Likewise.
22293 (libc_cv_cc_novzeroupper): Likewise.
22294 (libc_cv_cc_fma4): Likewise.
22295 (libc_cv_as_i686): Likewise.
22296 (libc_cv_sparc_as_vis3): Likewise.
22297 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22298 LIBC_CONFIG_VAR.
22299 (config-asflags-i686): Likewise.
22300 (config-cflags-avx): Likewise.
22301 (config-cflags-sse2avx): Likewise.
22302 (have-mfma4): Likewise.
22303 (config-cflags-novzeroupper): Likewise.
22304 * sysdeps/mach/configure.in (MIG): Likewise.
22305 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22306 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22307 LIBC_CONFIG_VAR.
22308 (config-cflags-avx): Likewise.
22309 (config-cflags-sse2avx): Likewise.
22310 (have-mfma4): Likewise.
22311 (config-cflags-novzeroupper): Likewise.
22312 * configure: Regenerated.
22313 * sysdeps/i386/configure: Likewise.
22314 * sysdeps/mach/configure: Likewise.
22315 * sysdeps/sparc/configure: Likewise.
22316 * sysdeps/x86_64/configure: Likewise.
22317
912cc4b3
RM
223182013-03-20 Roland McGrath <roland@hack.frob.com>
22319
22320 [BZ #14812]
22321 * locale/programs/localedef.c (options): Put N_ translation marker
22322 on argument names, not just descriptions.
22323
04eed2b0
MS
223242013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22325
22326 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22327
a065ceff
OB
223282013-03-20 Ondřej Bílka <neleai@seznam.cz>
22329
9bb2a810 22330 [BZ #14176]
a065ceff
OB
22331 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22332
a600e5ce
RM
223332013-03-19 Roland McGrath <roland@hack.frob.com>
22334
22335 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22336 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22337 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22338 [!BEFORE_ABORT] (before_abort): New function.
22339 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22340 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22341 (writev_for_fatal): New function.
22342 (WRITEV_FOR_FATAL): New macro; call that.
22343 (backtrace_and_maps): New function.
22344 (BEFORE_ABORT): New macro; call that.
22345 (struct str_list): Type removed.
22346 (__libc_message, __libc_fatal): Functions removed.
22347 Include <sysdeps/posix/libc_fatal.c> instead.
22348
6b18bea6
JM
223492013-03-19 Joseph Myers <joseph@codesourcery.com>
22350
22351 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22352 constants.
22353 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22354 double constants.
22355
aaa8cb4b
AS
223562013-03-19 Andreas Schwab <schwab@suse.de>
22357
44673770
AS
22358 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22359 * sysdeps/gnu/configure: Regenerate.
22360
aaa8cb4b
AS
22361 * configure.in: Substitute libc_cv_rtlddir.
22362 * configure: Regenerate.
22363 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22364 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22365 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22366 * elf/Makefile (install-others, CFLAGS-interp.c)
22367 (ldso_install, common-ldd-rewrite): Likewise.
22368 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22369 $(inst_slibdir)/$(rtld-installed-name).
22370 * scripts/rellns-sh: Add -p option.
22371 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22372 for source.
22373
d3cfc668
SP
223742013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22375
22376 * manual/nptl.texi: Renamed to ...
22377 * manual/threads.texi: ... this.
22378 * manual/Makefile (chapters): Update.
22379
0e2b9cdd
RM
223802013-03-18 Roland McGrath <roland@hack.frob.com>
22381
22382 [BZ #14812]
22383 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22384 on argument names, not just descriptions.
0e2b9cdd
RM
22385 * malloc/memusagestat.c (options): Likewise.
22386 * nss/getent.c (options): Likewise.
63270c24
RM
22387
223882013-03-18 Benno Schulenberg <bensberg@justemail.net>
22389
22390 [BZ #14812]
22391 * iconv/iconv_prog.c (options): Put N_ translation marker
22392 on argument names, not just descriptions.
22393 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22394
b2e1393c
OB
223952013-03-18 Ondrej Bilka <neleai@seznam.cz>
22396
22397 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22398 implementation which is faster on all x86_64 architectures.
22399 Tested on AMD, Intel Nehalem, SNB, IVB.
22400 * sysdeps/x86_64/strnlen.S: Likewise.
22401
22402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22403 Remove all multiarch strlen and strnlen versions.
22404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22405 Remove strlen and strnlen related parts.
22406
22407 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22408 Inline strlen part.
22409 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22410
22411 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22412 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22413 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22414 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22415 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22416 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22417
ec4ff04d
CD
224182013-03-17 Carlos O'Donell <carlos@redhat.com>
22419
22420 * manual/memory.texi (Malloc Tunable Parameters):
22421 Sort parameters alphabetically. Add comments for missing entries.
22422
cd18e90a
DM
224232013-03-17 David S. Miller <davem@davemloft.net>
22424
22425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22426
2a185d32
JM
224272013-03-16 Joseph Myers <joseph@codesourcery.com>
22428
d2f9799e
JM
22429 [BZ #15283]
22430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22431 for arguments at most half maximum finite value.
22432 * math/libm-test.inc (j0_test): Add more tests.
22433 (j1_test): Likewise.
22434 (y0_test): Likewise.
22435 (y1_test): Likewise.
22436 * sysdeps/i386/fpu/libm-test-ulps: Update.
22437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22438
2a185d32
JM
22439 [BZ #14155]
22440 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22441 1 / x and functions P and Q for arguments above 0x1p256L.
22442 (__ieee754_y0l): Likewise.
22443 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22444 (__ieee754_y1l): Likewise.
22445 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22446 (j1_test): Likewise.
22447 (y0_test): Likewise.
22448 (y1_test): Likewise.
22449
6cbec759
TS
224502013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22451
22452 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22453 variable.
22454
bc16e260
RM
224552013-03-15 Roland McGrath <roland@hack.frob.com>
22456
aefc9b8c
RM
22457 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22458 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22459 zero since it's initialized to EXEC_PAGESIZE.
22460
bc16e260
RM
22461 * sysdeps/unix/sysv/linux/ldsodefs.h
22462 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22463 * sysdeps/generic/ldsodefs.h: ... here.
22464
a57da955
TS
224652013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22466
af00a34d
TS
22467 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22468
495ded2c
TS
22469 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22470 math/test-snan.c.
22471 * math/test-snan.c: Renamed from
22472 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22473 * math/Makefile (tests): Add test-snan.
22474 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22475 test-powerpc-snan.
22476
777b0332
TS
22477 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22478 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22479 functions.
22480 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22481 __builtin_nan family of functions.
22482 * math/libm-test.inc (initialize): Initialize qnan_value with
22483 __builtin_nan family of functions.
22484 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22485 Remove variables.
22486 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22487 Remove functions.
22488 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22489 storage class. Initialize qNaN_var and sNaN_var with
22490 __builtin_nan and __builtin_nans families of functions,
22491 respectively.
22492
64d063b8
TS
22493 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22494 (sqrt_test): Remove duplicate test with qNaN input.
22495 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22496 (round_test, signbit_test, significand_test): Note missing +/-Inf
22497 as well as qNaN tests.
22498
67e971f1
TS
22499 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22500 qNaN_var. Fix a few strings, too.
22501 * math/libm-test.inc (nan_value): Rename to qnan_value.
22502 * math/gen-libm-test.pl (%beautify): Adjust to that.
22503 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22504 * math/test-misc.c (main): Likewise.
22505 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22506 to __qnan_bytes, and __qnan_union, respectively.
22507 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22508 Likewise.
22509 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22510 and lqnanval, respectively.
22511 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22512 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22513 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22514 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22515
64487e12
TS
22516 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22517 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22518 doubles.
22519
e015e27b
TS
22520 * math/test-misc.c (main): Fix copy'n'pastos.
22521 * misc/tst-efgcvt.c (special): Likewise.
22522
a57da955
TS
22523 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22524 Remove declarations.
22525
1e380345
SP
225262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22527
22528 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22529 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22530 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22531 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22532
ef26eece
AZ
225332013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22534
22535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22536 macro to return vdso values correctly in IFUNC implementations.
22537 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22538 Optimization by using IFUNC.
22539
8cfdb7e0
SP
225402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22541 Richard Henderson <rth@redhat.com>
22542 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22543
22544 * Makefile.in (bench): New target.
22545 * NEWS: Mention the benchmark framework.
22546 * Rules (bench): Likewise.
22547 (binaries-bench): Generate binaries for functions to
22548 benchmark.
22549 * benchtests/Makefile: New makefile for benchmark tests.
22550 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22551 programs.
22552 * benchtests/exp-inputs: New input file for EXP function.
22553 * benchtests/pow-inputs: New input file for POW function.
22554 * scripts/bench.pl: New script to generate source files for
22555 benchmark programs.
22556
bcda9880
SP
225572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22558
d22ca8cd
SP
22559 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22560 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22561 computations on mantissa. Use macros for rounding and
22562 division.
22563 (denorm): Likewise.
22564 (__dbl_mp): Likewise.
22565 (add_magnitudes): Likewise.
22566 (sub_magnitudes): Likewise.
22567 (__mul): Likewise.
22568 (__sqr): Likewise.
22569 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22570 powers of two in terms of TWOPOW macro.
22571 (mp_no): Make type of mantissa as MANTISSA_T.
22572 [!RADIXI]: Define RADIXI.
22573 [!TWO52]: Define TWO52.
22574 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22575
bcda9880
SP
22576 * manual/nptl.texi (cindex): Modify threads to pthreads.
22577
06d5adfb
JM
225782013-03-15 Joseph Myers <joseph@codesourcery.com>
22579
22580 * sysdeps/x86_64/preconfigure: Regenerated.
22581
41c7328e
JM
225822013-03-14 Joseph Myers <joseph@codesourcery.com>
22583
22584 [BZ #14155]
22585 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22586 0x1p28 and above.
22587 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22588 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22589 0x1p28 and above.
22590 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22591 * math/libm-test.inc (j0_test): Do not allow one spurious
22592 underflow exception.
22593 (y1_test): Likewise.
22594
e25cfa60
SP
225952013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22596
0409959c
SP
22597 * manual/Makefile (chapters): Add nptl.
22598 * manual/debug.texi (Debugging Support): Add link to Threads
22599 chapter.
22600 * manual/nptl.texi: New file.
22601
e25cfa60
SP
22602 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22603
58a1335e
PB
226042013-03-14 Petr Baudis <pasky@ucw.cz>
22605
22606 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22607 for non-NULL pointer before the memory validity test. Pointed
22608 out by Holger Brunck <holger.brunck@keymile.com>.
22609
9dc7c64f
AS
226102013-03-13 Andreas Schwab <schwab@suse.de>
22611
22612 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22613 instead of .os.
22614
54206aa6
JM
226152013-03-13 Joseph Myers <joseph@codesourcery.com>
22616
22617 * timezone/zic.c: Update from tzcode 2013b.
22618
e98cdb38
CD
226192013-03-12 Carlos O'Donell <carlos@redhat.com>
22620
22621 * manual/install.texi (Configuring and compiling):
22622 Mention i686 and i586.
22623 * INSTALL: Regenerate.
22624
9967e003
RM
226252013-03-12 Roland McGrath <roland@hack.frob.com>
22626
22627 * sysdeps/init_array/elf-init.c: New file.
22628 * csu/elf-init.c
22629 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22630 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22631
22632 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22633 __gmon_start__ as global, but as static with a .preinit_array pointer.
22634 * sysdeps/init_array/gmon-start.c: New file. Use that.
22635 * sysdeps/init_array/crti.S: New file, empty except for comments.
22636 * sysdeps/init_array/crtn.S: Likewise.
22637
e6b5a293 226382013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22639
22640 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22641 definining bcopy.
80f844c9
OB
22642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22643 Remove Prefer_SSE_for_memop.
22644 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22645 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22646 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22648 memset-x86-64.
80f844c9 22649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22650 Remove bzero, memset ifunc support.
80f844c9
OB
22651 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22652 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22653 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22654 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22655
fb6b0fcb
AS
226562013-03-11 Andreas Schwab <schwab@suse.de>
22657
22658 [BZ #15234]
22659 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22660 by SHLIB_COMPAT.
22661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22662 (GLIBC_2.16): Remove pthread_atfork.
22663
3e6bd4b1
PP
226642013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22665
22666 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22667 (ptestcases.h): Likewise.
22668
222d7f00
RM
226692013-03-08 Roland McGrath <roland@hack.frob.com>
22670
22671 * Makeconfig ($(common-objpfx)config.status): Depend on
22672 sysdeps/*/preconfigure{,.in} too.
22673
1ba4f030
JM
226742013-03-08 Joseph Myers <joseph@codesourcery.com>
22675
a222d91a
JM
22676 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22677 (__free_hook): Use void * instead of __malloc_ptr_t.
22678 (__malloc_hook): Likewise.
22679 (__realloc_hook): Likewise.
22680 (__memalign_hook): Likewise.
22681 (__after_morecore_hook): Likewise.
22682 * malloc/arena.c (save_malloc_hook): Likewise.
22683 (save_free_hook): Likewise.
22684 * malloc/hooks.c (malloc_hook_ini): Likewise.
22685 (realloc_hook_ini): Likewise.
22686 (memalign_hook_ini): Likewise.
22687 * malloc/malloc.c (malloc_hook_ini): Likewise.
22688 (realloc_hook_ini): Likewise.
22689 (memalign_hook_ini): Likewise.
22690 (__free_hook): Likewise.
22691 (__malloc_hook): Likewise.
22692 (__realloc_hook): Likewise.
22693 (__memalign_hook): Likewise.
22694 (__libc_malloc): Likewise.
22695 (__libc_free): Likewise.
22696 (__libc_realloc): Likewise.
22697 (__libc_memalign): Likewise.
22698 (__libc_valloc): Likewise.
22699 (__libc_pvalloc): Likewise.
22700 (__libc_calloc): Likewise.
22701 (__posix_memalign): Likewise.
22702 * malloc/morecore.c (__sbrk): Likewise.
22703 (__default_morecore): Likewise.
22704
5cc45e10
JM
22705 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22706
dd54b864
JM
22707 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22708 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22709 __malloc_ptrdiff_t.
22710
1ba4f030
JM
22711 * malloc/malloc.h (__malloc_size_t): Remove macro.
22712 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22713 __malloc_size_t.
22714 (old_memalign_hook): Likewise.
22715 (old_realloc_hook): Likewise.
22716 (struct hdr): Likewise.
22717 (flood): Likewise.
22718 (mallochook): Likewise.
22719 (memalignhook): Likewise.
22720 (reallochook): Likewise.
22721 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22722 (tr_old_realloc_hook): Likewise.
22723 (tr_old_memalign_hook): Likewise.
22724 (tr_mallochook): Likewise.
22725 (tr_reallochook): Likewise.
22726 (tr_memalignhook): Likewise.
22727
edf66e57
AZ
227282013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22729
22730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22731 default_ldbl_pack and using as default implementation.
22732 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22733 implementation.
22734 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22735 redundant definition.
22736 (ldbl_insert_mantissa): Likewise.
22737 (ldbl_canonicalize): Likewise.
22738 (ldbl_nearbyint): Likewise.
22739 (ldbl_pack): Rename to ldbl_pack_ppc.
22740 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22741 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22742 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22743
6d9145d8
SP
227442013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22745
22746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22747 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22748 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22749 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22751 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22752 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22753 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22754
4dd4e157
AJ
227552013-03-07 Andreas Jaeger <aj@suse.de>
22756
22757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22758 bits/mman-linux.h.
22759
adbb8027
SP
227602013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22761
ce544b5b
SP
22762 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22763 Include mpa.h and declare __MPEXP.
22764 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22767 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22769 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22771
4cc149fd
SP
22772 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22773 (__slowpow): Use long double EXPL and LOGL functions to
22774 compute POW.
22775 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22777 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22778 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22779 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22781
e6ebd4a7
SP
22782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22783 intermediate variable to calculate exponent.
22784 (__sqr): Likewise.
22785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22786 Likewise.
22787 (__sqr): Likewise.
22788
82a9811d
SP
22789 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22790 [!NO__SQR]: Define __sqr.
22791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22792 and NO__SQR. Remove all code except __mul and __sqr. Include
22793 sysdeps/ieee754/dbl-64/mpa.c.
22794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22795
adbb8027
SP
22796 [BZ #12723]
22797 * posix/Makefile (tests): Add tst-pathconf.
22798 * posix/tst-pathconf.c: New test case.
22799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22800 _PC_PIPE_BUF.
22801 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22802
39120df9
PF
228032013-03-06 Patsy Franklin <pfrankli@redhat.com>
22804
22805 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22806
67525cb8
AJ
228072013-03-06 Andreas Jaeger <aj@suse.de>
22808
664a9ce4
AJ
22809 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22810 definition via __MAP_ANONYMOUS.
22811
8e39047d
AJ
22812 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22813 it's not part of Linux headers.
22814
67525cb8
AJ
22815 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22816 (MAP_HUGE_MASK): Define.
22817
22818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22819 Define.
22820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22822 Define.
22823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22824 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22825 Define.
22826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22828 Define.
22829 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22830
22831 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22832 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22833 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22834 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22835 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22836 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22837
22838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22839 Handle f2fs.
22840
22841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22842 Handle f2fs and efivarfs.
22843
22844 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22845 f2fs.
22846
22847 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22848 (EFIVARFS_MAGIC): Add.
22849 (F2FS_LINK_MAX): Add.
22850
e1b42695
PP
228512013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22852
22853 * stdio-common/vfprintf.c: Replace __builtin_expect with
22854 __glibc_unlikely.
22855
2d67d91a
JM
228562013-03-06 Joseph Myers <joseph@codesourcery.com>
22857
22858 [BZ #13550]
22859 * sysdeps/generic/bp-sym.h: Remove file.
22860 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22861 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22862 <bp-sym.h> and <bp-asm.h>.
22863 (__longjmp): Don't use BP_SYM.
22864 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22865 and <bp-asm.h>.
22866 (memcpy): Don't use BP_SYM.
22867 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22868 <bp-sym.h> and <bp-asm.h>.
22869 (memcpy): Don't use BP_SYM.
22870 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22871 <bp-asm.h>.
22872 (memcpy): Don't use BP_SYM.
22873 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22874 <bp-asm.h>.
22875 (memset): Don't use BP_SYM.
22876 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22877 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22878 (__bzero): Don't use BP_SYM.
22879 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22880 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22881 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22882 <bp-sym.h> and <bp-asm.h>.
22883 (memcmp): Don't use BP_SYM. Remove comment about bounded
22884 pointers.
22885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22886 <bp-sym.h> and <bp-asm.h>.
22887 (memcpy): Don't use BP_SYM.
22888 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22889 <bp-sym.h> and <bp-asm.h>.
22890 (memset): Don't use BP_SYM.
22891 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22892 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22893 (__bzero): Don't use BP_SYM.
22894 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22895 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22896 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22897 <bp-sym.h> and <bp-asm.h>.
22898 (strncmp): Don't use BP_SYM. Remove comment about bounded
22899 pointers.
22900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22901 <bp-sym.h> and <bp-asm.h>.
22902 (memcpy): Don't use BP_SYM.
22903 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22904 <bp-sym.h> and <bp-asm.h>.
22905 (memset): Don't use BP_SYM.
22906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22908 (__bzero): Don't use BP_SYM.
22909 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22910 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22912 <bp-sym.h> and <bp-asm.h>.
22913 (__memchr): Don't use BP_SYM.
22914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22915 <bp-sym.h> and <bp-asm.h>.
22916 (memcmp): Don't use BP_SYM. Remove comment about bounded
22917 pointers.
22918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22919 <bp-sym.h> and <bp-asm.h>.
22920 (memcpy): Don't use BP_SYM.
22921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22922 <bp-sym.h> and <bp-asm.h>.
22923 (__mempcpy): Don't use BP_SYM.
22924 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22925 <bp-sym.h> and <bp-asm.h>.
22926 (__memrchr): Don't use BP_SYM.
22927 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22928 <bp-sym.h> and <bp-asm.h>.
22929 (memset): Don't use BP_SYM.
22930 (__bzero): Likewise.
22931 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22932 <bp-sym.h> and <bp-asm.h>.
22933 (__rawmemchr): Don't use BP_SYM.
22934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22935 <bp-sym.h> and <bp-asm.h>.
22936 (__STRCMP): Don't use BP_SYM.
22937 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22938 <bp-sym.h> and <bp-asm.h>.
22939 (strchr): Don't use BP_SYM.
22940 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22941 <bp-sym.h> and <bp-asm.h>.
22942 (__strchrnul): Don't use BP_SYM.
22943 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22944 <bp-sym.h> and <bp-asm.h>.
22945 (strlen): Don't use BP_SYM.
22946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22947 <bp-sym.h> and <bp-asm.h>.
22948 (strncmp): Don't use BP_SYM. Remove comment about bounded
22949 pointers.
22950 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22951 <bp-sym.h> and <bp-asm.h>.
22952 (__strnlen): Don't use BP_SYM.
22953 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22954 <bp-sym.h> and <bp-asm.h>.
22955 (__GI__setjmp): Don't use BP_SYM.
22956 (_setjmp): Likewise.
22957 (__sigsetjmp): Likewise.
22958 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22959 (L(start_addresses)): Don't use BP_SYM.
22960 (_start): Likewise.
22961 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22962 <bp-asm.h>.
22963 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22964 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22967 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22968 <bp-asm.h>.
22969 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22970 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22971 about bounded pointers.
22972 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22973 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22974 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22975 <bp-asm.h>.
22976 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22977 about bounded pointers. Remove GKM FIXME comments.
22978 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22979 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22980 <bp-asm.h>.
22981 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22982 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22983 Remove GKM FIXME comments.
22984 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22986 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22987 <bp-asm.h>.
22988 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22989 about bounded pointers. Remove GKM FIXME comment.
22990 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22991 and <bp-asm.h>.
22992 (strncmp): Don't use BP_SYM. Remove comment about bounded
22993 pointers.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22995 <bp-sym.h> and <bp-asm.h>.
22996 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22998 <bp-sym.h> and <bp-asm.h>.
22999 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23000 comment.
23001
cdcf361f
PP
230022013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23003
23004 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23005 call free(NULL).
23006
3c4a2b15
DM
230072013-03-05 David S. Miller <davem@davemloft.net>
23008
23009 * po/es.po: Update from translation team.
23010
cdcf361f 230112013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23012
23013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23014 <bits/mman-linux.h>.
23015 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23016 is fine.
23017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23018 <bits/mman-linux.h> to end of file.
23019 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23020 is fine.
23021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23022 <bits/mman-linux.h> to end of file.
23023 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23024 is fine.
23025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23026 <bits/mman-linux.h> to end of file.
23027
23028 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23029 (MCL_CURRENT, MCL_FUTURE): Define here.
23030
5f67c04f
AK
230312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23032
8a4473cc 23033 [BZ #15232]
5f67c04f
AK
23034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23035 attribute_hidden.
23036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23037
c3e94a95
AK
230382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23039
23040 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23041 fourth parameter needed for rt_sigprocmask syscall.
23042 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23043 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23045 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23046 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23047 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23048
cfb6382a
JM
230492013-03-04 Joseph Myers <joseph@codesourcery.com>
23050
23051 [BZ #13550]
23052 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23053 comment about bounded pointers.
23054 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23055 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23056
539d8e01
AJ
230572013-03-04 Andreas Jaeger <aj@suse.de>
23058
23059 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23060 common definitions.
23061
23062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23063 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23064 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23068
2e167a70 230692013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23070
23071 [BZ #15055]
23072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23073 __ieee754_sqrl instead of __sqrl.
23074
68508633
JM
230752013-03-01 Joseph Myers <joseph@codesourcery.com>
23076
23077 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23078 * sysdeps/powerpc/fpu_control.h: ... here.
23079 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23080 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23081 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23082 * sysdeps/powerpc/bits/mathinline.h: ... here.
23083
7775448e
RM
230842013-03-01 Roland McGrath <roland@hack.frob.com>
23085
23086 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23087 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23088 to just [NEED_DL_SYSINFO_DSO].
23089 * elf/dl-support.c: Likewise.
23090 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23091 * elf/rtld.c (dl_main): Likewise.
23092 * elf/setup-vdso.h (setup_vdso): Likewise.
23093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23094 * sysdeps/unix/sysv/linux/dl-sysdep.c
23095 (_dl_discover_osversion): Likewise.
23096
4e9b5995
CD
230972013-03-01 Carlos O'Donell <carlos@redhat.com>
23098
23099 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23101
e23872c8
SP
231022013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23103
e5c74c63
SP
23104 * NEWS: Mention libm performance improvements and non-x86 PI
23105 futex support.
23106
e23872c8
SP
23107 * csu/libc-start.c (__pthread_initialize_minimal): Change
23108 function arguments.
23109 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23110
b5510883
JM
231112013-02-28 Joseph Myers <joseph@codesourcery.com>
23112
23113 [BZ #13550]
23114 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23116 <bp-sym.h> and <bp-asm.h>.
23117 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23119 and <bp-asm.h>.
23120 (memcpy): Don't use BP_SYM.
23121 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23122 <bp-asm.h>.
23123 (__mpn_add_n): Don't use BP_SYM.
23124 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23125 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23126 and <bp-asm.h>.
23127 (__mpn_addmul_1): Don't use BP_SYM.
23128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23129 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23130 <bp-sym.h>.
23131 (_setjmp): Don't use BP_SYM.
23132 (__novmx_setjmp): Likewise.
23133 (__GI__setjmp): Likewise.
23134 (__vmx_setjmp): Likewise.
23135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23136 <bp-sym.h>.
23137 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23138 (__bzero): Don't use BP_SYM.
23139 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23140 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23141 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23142 <bp-sym.h> and <bp-asm.h>.
23143 (memcpy): Don't use BP_SYM.
23144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23145 <bp-sym.h> and <bp-asm.h>.
23146 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23148 <bp-sym.h> and <bp-asm.h>.
23149 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23150 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23151 <bp-asm.h>.
23152 (__mpn_lshift): Don't use BP_SYM.
23153 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23154 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23155 <bp-asm.h>.
23156 (memset): Don't use BP_SYM.
23157 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23158 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23159 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23160 <bp-asm.h>.
23161 (__mpn_mul_1): Don't use BP_SYM.
23162 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23164 <bp-sym.h> and <bp-asm.h>.
23165 (memcmp): Don't use BP_SYM.
23166 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23167 <bp-sym.h> and <bp-asm.h>.
23168 (memcpy): Don't use BP_SYM.
23169 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (memset): Don't use BP_SYM.
23172 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23173 <bp-sym.h> and <bp-asm.h>.
23174 (strncmp): Don't use BP_SYM.
23175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23176 <bp-sym.h> and <bp-asm.h>.
23177 (memcpy): Don't use BP_SYM.
23178 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23179 <bp-sym.h> and <bp-asm.h>.
23180 (memset): Don't use BP_SYM.
23181 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23182 <bp-sym.h> and <bp-asm.h>.
23183 (__memchr): Don't use BP_SYM.
23184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23185 <bp-sym.h> and <bp-asm.h>.
23186 (memcmp): Don't use BP_SYM.
23187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23188 <bp-sym.h> and <bp-asm.h>.
23189 (memcpy): Don't use BP_SYM.
23190 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23191 <bp-sym.h> and <bp-asm.h>.
23192 (__mempcpy): Don't use BP_SYM.
23193 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23194 <bp-sym.h> and <bp-asm.h>.
23195 (__memrchr): Don't use BP_SYM.
23196 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23197 <bp-sym.h> and <bp-asm.h>.
23198 (memset): Don't use BP_SYM.
23199 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23200 <bp-sym.h> and <bp-asm.h>.
23201 (__rawmemchr): Don't use BP_SYM.
23202 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23203 <bp-sym.h> and <bp-asm.h>.
23204 (__STRCMP): Don't use BP_SYM.
23205 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23206 <bp-sym.h> and <bp-asm.h>.
23207 (strchr): Don't use BP_SYM.
23208 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23209 <bp-sym.h> and <bp-asm.h>.
23210 (__strchrnul): Don't use BP_SYM.
23211 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23212 <bp-sym.h> and <bp-asm.h>.
23213 (strlen): Don't use BP_SYM.
23214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23215 <bp-sym.h> and <bp-asm.h>.
23216 (strncmp): Don't use BP_SYM.
23217 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23218 <bp-sym.h> and <bp-asm.h>.
23219 (__strnlen): Don't use BP_SYM.
23220 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23221 <bp-asm.h>.
23222 (__mpn_rshift): Don't use BP_SYM.
23223 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23224 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (__sigsetjmp): Don't use BP_SYM.
23227 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23228 (L(start_addresses)): Don't use BP_SYM.
23229 (_start): Likewise.
23230 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23231 <bp-asm.h>.
23232 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23233 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23234 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23235 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23236 <bp-asm.h>.
23237 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23238 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23239 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23240 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23241 <bp-asm.h>.
23242 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23243 comments.
23244 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23245 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23246 <bp-asm.h>.
23247 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23248 FIXME comments.
23249 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23250 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23251 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23252 <bp-asm.h>.
23253 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23254 comment.
23255 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23256 and <bp-asm.h>.
23257 (strncmp): Don't use BP_SYM,
23258 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23259 <bp-asm.h>.
23260 (__mpn_sub_n): Don't use BP_SYM.
23261 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23262 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23263 and <bp-asm.h>.
23264 (__mpn_submul_1): Don't use BP_SYM.
23265 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23267 <bp-sym.h> and <bp-asm.h>.
23268 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23270 <bp-sym.h> and <bp-asm.h>.
23271 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23272 comment.
23273
8d19fe64
SP
232742013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23275
23276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23277 Use ZK to minimize writes to Z.
23278 (sub_magnitudes): Simplify code a bit.
23279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23280 Use ZK to minimize writes to Z.
23281 (sub_magnitudes): Simplify code a bit.
23282
85bd816a
RM
232832013-02-27 Roland McGrath <roland@hack.frob.com>
23284
23285 * csu/gmon-start.c: Add special exception to license text.
23286
b5977bf2
RH
232872013-02-27 Richard Henderson <rth@redhat.com>
23288
23289 * scripts/config.guess: Update from config.git.
23290 * scripts/config.sub: Likewise.
23291
11d6e2f2
SP
232922013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23293
09c14ed2
SP
23294 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23295
a688864e
SP
23296 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23297
6295157a
SP
23298 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23299
b8de2202
SP
23300 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23301
11d6e2f2
SP
23302 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23303
7e80ddb8
RM
233042013-02-26 Roland McGrath <roland@hack.frob.com>
23305
23306 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23307 [$(build-shared = yes].
7e80ddb8 23308
7da6d9ed
SP
233092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23310
45f05884
SP
23311 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23312 (__mul): Reduce iterations for calculating mantissa.
23313
2236d359
SP
23314 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23315 MPTWO.
23316 (__mpranred): Likewise.
23317
7da6d9ed
SP
23318 [BZ #15160]
23319 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23320 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23321
b7688c42
PE
233222013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23323
23324 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23325 Define __attribute__.
23326
53a5c423
SP
233272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23328
23329 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23330 unused.
23331 * posix/regex_internal.h (__attribute): Remove.
23332 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23333 (re_string_context_at): Likewise.
23334 (bitset_not): Use __attribute__ and mark function as possibly
23335 unused.
23336 (bitset_merge): Likewise.
23337 (bitset_mask): Likewise.
23338 (re_string_char_size_at): Likewise.
23339 (re_string_wchar_at): Likewise.
23340 (re_string_elem_size_at): Likewise.
23341
60f5a8b5
SP
233422013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23343
2a983a2e
SP
23344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23345 code.
23346 (cc32): Likewise.
23347
e69804d1
SP
23348 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23349 (__acr): Likewise.
23350 (__cpy): Likewise.
23351 (norm): Likewise.
23352 (denorm): Likewise.
23353 (__dbl_mp): Likewise.
23354 (add_magnitudes): Likewise.
23355 (sub_magnitudes): Likewise.
23356 (__mul): Likewise.
23357 (__inv): Likewise.
23358
2f22a1e8
SP
23359 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23360 style.
23361
8930ddc7
SP
23362 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23363 style.
23364
dc60cb11
SP
23365 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23366 code.
23367
60f5a8b5
SP
23368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23369 up changes with default code.
23370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23371 Likewise.
23372
b4d1fd33
AM
233732013-02-24 Allan McRae <allan@archlinux.org>
23374
faf6f8bc
AM
23375 * manual/socket.texi (The Internet Namespace): Order menu items
23376 to match that in the file.
23377
b4d1fd33
AM
23378 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23379 node listing of the info page menu.
23380
2366713d
JM
233812013-02-21 Joseph Myers <joseph@codesourcery.com>
23382
23383 [BZ #13550]
23384 * sysdeps/i386/bp-asm.h: Remove file.
23385 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23386 (PARMS): Do not use macros from bp-asm.h.
23387 (S1): Likewise.
23388 (S2): Likewise.
23389 (SIZE): Likewise.
23390 (__mpn_add_n): Do not use BP_SYM
23391 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23392 "bp-asm.h".
23393 (PARMS): Do not use macros from bp-asm.h.
23394 (S1): Likewise.
23395 (SIZE): Likewise.
23396 (__mpn_addmul_1): Do not use BP_SYM
23397 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23398 "bp-asm.h".
23399 (PARMS): Do not use macros from bp-asm.h.
23400 (SIGMSK): Likewise.
23401 (_setjmp): Likewise. Do not use BP_SYM.
23402 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23403 "bp-asm.h".
23404 (PARMS): Do not use macros from bp-asm.h.
23405 (SIGMSK): Likewise.
23406 (setjmp): Likewise. Do not use BP_SYM.
23407 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23408 "bp-asm.h".
23409 (PARMS): Do not use macros from bp-asm.h.
23410 (__frexp): Do not use BP_SYM.
23411 (frexp): Likewise.
23412 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23413 "bp-asm.h".
23414 (PARMS): Do not use macros from bp-asm.h.
23415 (__frexpf): Do not use BP_SYM.
23416 (frexpf): Likewise.
23417 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23418 "bp-asm.h".
23419 (PARMS): Do not use macros from bp-asm.h.
23420 (__frexpl): Do not use BP_SYM.
23421 (frexpl): Likewise.
23422 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23423 "bp-asm.h".
23424 (PARMS): Do not use macros from bp-asm.h.
23425 (__remquo): Do not use BP_SYM.
23426 (remquo): Likewise.
23427 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23428 "bp-asm.h".
23429 (PARMS): Do not use macros from bp-asm.h.
23430 (__remquof): Do not use BP_SYM.
23431 (remquof): Likewise.
23432 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23433 "bp-asm.h".
23434 (PARMS): Do not use macros from bp-asm.h.
23435 (__remquol): Do not use BP_SYM.
23436 (remquol): Likewise.
23437 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23438 "bp-asm.h".
23439 (PARMS): Do not use macros from bp-asm.h.
23440 (DEST): Likewise.
23441 (SRC): Likewise.
23442 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23443 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23444 "bp-asm.h".
23445 (PARMS): Do not use macros from bp-asm.h.
23446 (strlen): Do not use BP_SYM.
23447 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23448 "bp-asm.h".
23449 (PARMS): Do not use macros from bp-asm.h.
23450 (S1): Likewise.
23451 (S2): Likewise.
23452 (SIZE): Likewise.
23453 (__mpn_add_n): Do not use BP_SYM.
23454 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23455 "bp-asm.h".
23456 (PARMS): Do not use macros from bp-asm.h.
23457 (S1): Likewise.
23458 (SIZE): Likewise.
23459 (__mpn_addmul_1): Do not use BP_SYM.
23460 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23461 weak_alias.
23462 (bzero): Likewise.
23463 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23464 "bp-asm.h".
23465 (PARMS): Do not use macros from bp-asm.h.
23466 (S): Likewise.
23467 (SIZE): Likewise.
23468 (__mpn_lshift): Do not use BP_SYM.
23469 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23470 "bp-asm.h".
23471 (PARMS): Do not use macros from bp-asm.h.
23472 (DEST): Likewise.
23473 (SRC): Likewise.
23474 (LEN): Likewise.
23475 (memcpy): Likewise. Do not use BP_SYM.
23476 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23477 libc_hidden_def and weak_alias.
23478 (mempcpy): Do not use BP_SYM in weak_alias.
23479 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23480 "bp-asm.h".
23481 (PARMS): Do not use macros from bp-asm.h.
23482 (DEST): Likewise.
23483 (LEN): Likewise.
23484 [!BZERO_P] (CHR): Likewise.
23485 (memset): Likewise. Do not use BP_SYM.
23486 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23487 "bp-asm.h".
23488 (PARMS): Do not use macros from bp-asm.h.
23489 (S1): Likewise.
23490 (SIZE): Likewise.
23491 (__mpn_mul_1): Do not use BP_SYM.
23492 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23493 "bp-asm.h".
23494 (PARMS): Do not use macros from bp-asm.h.
23495 (S): Likewise.
23496 (SIZE): Likewise.
23497 (__mpn_rshift): Do not use BP_SYM.
23498 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23499 "bp-asm.h".
23500 (PARMS): Do not use macros from bp-asm.h.
23501 (STR): Likewise.
23502 (CHR): Likewise.
23503 (strchr): Likewise. Do not use BP_SYM.
23504 (index): Do not use BP_SYM in weak_alias.
23505 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23506 "bp-asm.h".
23507 (PARMS): Do not use macros from bp-asm.h.
23508 (DEST): Likewise.
23509 (SRC): Likewise.
23510 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23511 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23512 "bp-asm.h".
23513 (PARMS): Do not use macros from bp-asm.h.
23514 (strlen): Do not use BP_SYM.
23515 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23516 "bp-asm.h".
23517 (PARMS): Do not use macros from bp-asm.h.
23518 (S1): Likewise.
23519 (S2): Likewise.
23520 (SIZE): Likewise.
23521 (__mpn_sub_n): Do not use BP_SYM.
23522 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23523 "bp-asm.h".
23524 (PARMS): Do not use macros from bp-asm.h.
23525 (S1): Likewise.
23526 (SIZE): Likewise.
23527 (__mpn_submul_1): Do not use BP_SYM.
23528 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23529 "bp-asm.h".
23530 (PARMS): Do not use macros from bp-asm.h.
23531 (S1): Likewise.
23532 (S2): Likewise.
23533 (SIZE): Likewise.
23534 (__mpn_add_n): Do not use BP_SYM.
23535 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23536 weak_alias.
23537 (bzero): Likewise.
23538 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23539 "bp-asm.h".
23540 (PARMS): Do not use macros from bp-asm.h.
23541 (BLK2): Likewise.
23542 (LEN): Likewise.
23543 (memcmp): Do not use BP_SYM.
23544 (bcmp): Do not use BP_SYM in weak_alias.
23545 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23546 "bp-asm.h".
23547 (PARMS): Do not use macros from bp-asm.h.
23548 (DEST): Likewise.
23549 (SRC): Likewise.
23550 (LEN): Likewise.
23551 (memcpy): Likewise. Do not use BP_SYM.
23552 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23553 "bp-asm.h".
23554 (PARMS): Do not use macros from bp-asm.h.
23555 (DEST): Likewise.
23556 (SRC): Likewise.
23557 (LEN): Likewise.
23558 (memmove): Likewise. Do not use BP_SYM.
23559 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23560 "bp-asm.h".
23561 (PARMS): Do not use macros from bp-asm.h.
23562 (DEST): Likewise.
23563 (SRC): Likewise.
23564 (LEN): Likewise.
23565 (__mempcpy): Likewise. Do not use BP_SYM.
23566 (mempcpy): Do not use BP_SYM in weak_alias.
23567 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23568 "bp-asm.h".
23569 (PARMS): Do not use macros from bp-asm.h.
23570 (DEST): Likewise.
23571 (LEN): Likewise.
23572 [!BZERO_P] (CHR): Likewise.
23573 (memset): Likewise. Do not use BP_SYM.
23574 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23575 "bp-asm.h".
23576 (PARMS): Do not use macros from bp-asm.h.
23577 (STR2): Likewise.
23578 (strcmp): Do not use BP_SYM.
23579 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23580 "bp-asm.h".
23581 (PARMS): Do not use macros from bp-asm.h.
23582 (STR): Likewise.
23583 (DELIM): Likewise.
23584 [USE_AS_STRTOK_R] (SAVE): Likewise.
23585 (FUNCTION): Likewise. Do not use BP_SYM.
23586 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23587 aliases.
23588 (strtok_r): Likewise.
23589 (__GI___strtok_r): Likewise.
23590 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23591 (PARMS): Do not use macros from bp-asm.h.
23592 (S): Likewise.
23593 (SIZE): Likewise.
23594 (__mpn_lshift): Do not use BP_SYM.
23595 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23596 (PARMS): Do not use macros from bp-asm.h.
23597 (STR): Likewise.
23598 (CHR): Likewise.
23599 (__memchr): Do not use BP_SYM.
23600 (memchr): Do not use BP_SYM in weak_alias.
23601 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23602 (PARMS): Do not use macros from bp-asm.h.
23603 (BLK2): Likewise.
23604 (LEN): Likewise.
23605 (memcmp): Do not use BP_SYM.
23606 (bcmp): Do not use BP_SYM in weak_alias.
23607 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23608 (PARMS): Do not use macros from bp-asm.h.
23609 (S1): Likewise.
23610 (SIZE): Likewise.
23611 (__mpn_mul_1): Do not use BP_SYM.
23612 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23613 "bp-asm.h".
23614 (PARMS): Do not use macros from bp-asm.h.
23615 (STR): Likewise.
23616 (CHR): Likewise.
23617 (__rawmemchr): Do not use BP_SYM.
23618 (rawmemchr): Do not use BP_SYM in weak_alias.
23619 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23620 (PARMS): Do not use macros from bp-asm.h.
23621 (S): Likewise.
23622 (SIZE): Likewise.
23623 (__mpn_rshift): Do not use BP_SYM.
23624 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23625 (PARMS): Do not use macros from bp-asm.h.
23626 (SIGMSK): Likewise.
23627 (__sigsetjmp): Likewise. Do not use BP_SYM.
23628 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23629 (_start): Do not use BP_SYM.
23630 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23631 (PARMS): Do not use macros from bp-asm.h.
23632 (DEST): Likewise.
23633 (SRC): Likewise.
23634 (__stpcpy): Likewise. Do not use BP_SYM.
23635 (stpcpy): Do not use BP_SYM in weak_alias.
23636 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23637 "bp-asm.h".
23638 (PARMS): Do not use macros from bp-asm.h.
23639 (DEST): Likewise.
23640 (SRC): Likewise.
23641 (LEN): Likewise.
23642 (__stpncpy): Likewise. Do not use BP_SYM.
23643 (stpncpy): Do not use BP_SYM in weak_alias.
23644 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23645 (PARMS): Do not use macros from bp-asm.h.
23646 (STR): Likewise.
23647 (CHR): Likewise.
23648 (strchr): Likewise. Do not use BP_SYM.
23649 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23650 "bp-asm.h".
23651 (PARMS): Do not use macros from bp-asm.h.
23652 (STR): Likewise.
23653 (CHR): Likewise.
23654 (__strchrnul): Likewise. Do not use BP_SYM.
23655 (strchrnul): Do not use BP_SYM in weak_alias.
23656 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23657 "bp-asm.h".
23658 (PARMS): Do not use macros from bp-asm.h.
23659 (STOP): Likewise.
23660 (strcspn): Do not use BP_SYM.
23661 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23662 "bp-asm.h".
23663 (PARMS): Do not use macros from bp-asm.h.
23664 (STR): Likewise.
23665 (STOP): Likewise.
23666 (strpbrk): Likewise. Do not use BP_SYM.
23667 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23668 "bp-asm.h".
23669 (PARMS): Do not use macros from bp-asm.h.
23670 (STR): Likewise.
23671 (CHR): Likewise.
23672 (strrchr): Likewise. Do not use BP_SYM.
23673 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23674 (PARMS): Do not use macros from bp-asm.h.
23675 (SKIP): Likewise.
23676 (strspn): Do not use BP_SYM.
23677 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23678 (PARMS): Do not use macros from bp-asm.h.
23679 (STR): Likewise.
23680 (DELIM): Likewise.
23681 (SAVE): Likewise.
23682 (FUNCTION): Likewise. Do not use BP_SYM.
23683 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23684 aliases.
23685 (strtok_r): Likewise.
23686 (__GI___strtok_r): Likewise.
23687 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23688 (PARMS): Do not use macros from bp-asm.h.
23689 (S1): Likewise.
23690 (S2): Likewise.
23691 (SIZE): Likewise.
23692 (__mpn_sub_n): Do not use BP_SYM.
23693 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23694 "bp-asm.h".
23695 (PARMS): Do not use macros from bp-asm.h.
23696 (S1): Likewise.
23697 (SIZE): Likewise.
23698 (__mpn_submul_1): Do not use BP_SYM.
23699 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23700 <bp-sym.h>.
23701 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23702 and <bp-asm.h>.
23703 (PARMS): Do not use macros from bp-asm.h.
23704 (FLAGS): Likewise.
23705 (PTID): Likewise.
23706 (TLS): Likewise.
23707 (CTID): Likewise.
23708 (__clone): Do not use BP_SYM.
23709 (clone): Do not use BP_SYM in weak_alias.
23710 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23711 and <bp-asm.h>.
23712 (PARMS): Do not use macros from bp-asm.h.
23713 (LEN): Likewise.
23714 (__mmap64): Do not use BP_SYM.
23715 (mmap64): Do not use BP_SYM in weak_alias.
23716 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23717 <bp-sym.h> and <bp-asm.h>.
23718 (PARMS): Do not use macros from bp-asm.h.
23719 (__posix_fadvise64_l64): Do not use BP_SYM.
23720 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23721 (PARMS): Do not use macros from bp-asm.h.
23722 (NSOPS): Likewise.
23723 (semtimedop): Do not use BP_SYM.
23724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23725 and <bp-asm.h>.
23726
582a3cff
AM
237272013-02-21 Allan McRae <allan@archlinux.org>
23728
23729 * manual/message.texi (Charset conversion in gettext):
23730 Move @end statement to beginning of line.
23731
bab8a695
SP
237322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23733
80945231
SP
23734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23735 static.
23736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23737 Likewise.
23738
bab8a695
SP
23739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23740 (denorm): Likewise.
23741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23743
e21d7aa7
AK
237442013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23745
23746 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23747 tail-call to the resolved function if pltexit isn't needed.
23748
4c7a4263
SP
237492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23750
23751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23752 or Y being zero as being unlikely.
23753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23754 Likewise.
23755
41f49342
CD
237562013-02-20 Carlos O'Donell <carlos@redhat.com>
23757
23758 * manual/nss.texi (System Databases and Name Service Switch):
23759 Remove frobnicate @pxref.
23760
50022a93
TS
237612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23762
23763 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23764 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23765
08cbd996
PM
237662013-02-20 Petr Machata <pmachata@redhat.com>
23767
23768 * elf/elf.h (R_ARM_TARGET1): New macro.
23769 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23770 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23771 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23772 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23773 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23774 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23775 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23776 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23777 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23778 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23779 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23780 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23781 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23782 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23783 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23784 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23785 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23786 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23787 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23788 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23789 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23790 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23791 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23792 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23793 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23794 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23795 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23796 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23797 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23798 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23799 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23800 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23801 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23802 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23803 (R_ARM_THM_GOT_BREL12): Likewise.
23804 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23805 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23806 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23807 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23808 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23809 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23810 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23811 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23812 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23813
c7b275d6
TS
238142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23815
23816 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23817 __attribute_used__ to __attribute__ ((unused)).
23818
20cd7fb3
SP
238192013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23820
23821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23822 powerpc mpa.c.
23823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23824 comment formatting.
23825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23826
92945b52
JM
238272013-02-19 Joseph Myers <joseph@codesourcery.com>
23828
23829 [BZ #13550]
23830 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23831 Remove macro.
23832 (ENTER): Remove both macro definitions.
23833 (LEAVE): Likewise.
23834 (CHECK_BOUNDS_LOW): Likewise.
23835 (CHECK_BOUNDS_HIGH): Likewise.
23836 (CHECK_BOUNDS_BOTH): Likewise.
23837 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23838 (RETURN_BOUNDED_POINTER): Likewise.
23839 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23840 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23841 (POP_ERRNO_LOCATION_RETURN): Likewise.
23842 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23843 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23844 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23845 macros.
23846 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23847 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23848 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23849 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23850 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23851 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23852 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23853 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23854 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23855 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23856 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23857 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23858 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23859 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23860 removed macros.
23861 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23862 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23863 macros.
23864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23865 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23866 * sysdeps/i386/i586/memset.S (memset): Likewise.
23867 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23869 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23870 macros.
23871 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23872 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23873 Change uses of L(2) to L(out).
23874 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23875 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23876 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23877 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23878 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23879 removed macros.
23880 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23881 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23882 macros.
23883 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23884 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23885 (RETURN): Do not use macro LEAVE.
23886 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23887 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23888 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23889 * sysdeps/i386/i686/memset.S (memset): Likewise.
23890 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23891 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23892 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23893 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23894 Likewise.
23895 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23896 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23897 L(1_2) and L(1_3) into L(1).
23898 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23899 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23900 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23901 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23902 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23903 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23904 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23905 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23906 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23907 macros.
23908 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23909 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23910 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23911 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23912 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23913 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23914 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23915 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23916 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23917 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23918 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23919 * sysdeps/i386/strspn.S (strspn): Likewise.
23920 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23921 conditional code.
23922 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23923 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23924 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23925 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23926 L(1_3) into L(1_1).
23927 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23928 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23929 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23930 macros.
23931 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23932
2389741a
JJ
239332013-02-19 Jakub Jelinek <jakub@redhat.com>
23934
23935 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23936 macro.
23937
2016b3cd
SP
239382013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23939
e4f22324
SP
23940 * math/atest-exp.c (exp_mpn): Remove ROUND.
23941 * math/atest-exp2.c (exp_mpn): Likewise.
23942 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23943
2016b3cd
SP
23944 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23945 * stdlib/tst-tls-atexit-lib.c: Likewise.
23946 * stdlib/tst-tls-atexit.c: Likewise.
23947
4be9b544
MF
239482013-02-18 Mike Frysinger <vapier@gentoo.org>
23949
23950 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23951 and __attribute_alloc_size__.
23952
2f62b9ee
MF
239532013-02-18 Mike Frysinger <vapier@gentoo.org>
23954
23955 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23956 __attribute_alloc_size__.
23957 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23958 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23959
6ff444c4
MF
239602013-02-18 Mike Frysinger <vapier@gentoo.org>
23961
23962 * include/programs/xmalloc.h: New file.
23963 * catgets/gencat.c: Include it.
23964 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23965 * elf/pldd.c: Likewise.
23966 * iconv/iconv_charmap.c: Likewise.
23967 * iconv/iconvconfig.c: Likewise.
23968 * iconv/strtab.c: Likewise.
23969 * locale/programs/locale.c: Likewise.
23970 * locale/programs/localedef.h: Likewise.
23971 * locale/programs/simple-hash.c: Likewise.
23972 * nscd/nscd.h: Likewise.
23973 * nss/makedb.c: Likewise.
23974 * sysdeps/generic/ldconfig.h: Likewise.
23975
be179c8a
SP
239762013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23977
ba384f6e
SP
23978 * Versions.def: Add GLIBC_2.18.
23979 * include/link.h (struct link_map): New member l_tls_dtor_count.
23980 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23981 (__call_tls_dtors): Likewise.
23982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23983 __cxa_thread_atexit_impl.
23984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23985 Likewise.
23986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23987 Likewise.
23988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23989 Likewise.
23990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23991 Likewise.
23992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23994 Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23996 Likewise.
23997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23999 Likewise.
24000 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24001 (tests): Add test case tst-tls-atexit.
24002 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24003 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24004 (GLIBC_PRIVATE): Add __call_tls_dtors.
24005 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24006 for libstdc++.
24007 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24008 * stdlib/tst-tls-atexit.c: New test case.
24009 * stdlib/tst-tls-atexit-lib.c: New test case.
24010
ffaa74cf 24011 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24012
be179c8a
SP
24013 * elf/Versions (ld): Add _dl_find_dso_for_object.
24014 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24015 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24016 (dl_open_worker): Use _dl_find_dso_for_object.
24017 * elf/dl-sym.c (do_sym): Likewise.
24018 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24019
f78b5caa
AK
240202013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24021
24022 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24023 Syntactic changes only.
24024 (_dl_runtime_profile): Do a tail-call to the resolved function.
24025
29691210
JM
240262013-02-17 Joseph Myers <joseph@codesourcery.com>
24027
24028 [BZ #13550]
24029 * sysdeps/x86_64/bp-asm.h: Remove file.
24030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24031 <bp-sym.h> and <bp-asm.h>.
24032 (__clone): Do not use BP_SYM.
24033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24034 <bp-sym.h> and <bp-asm.h>.
24035 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24036 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24037 "bp-asm.h".
24038 (_setjmp): Do not use BP_SYM.
24039 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24040 "bp-asm.h".
24041 (setjmp): Do not use BP_SYM.
24042 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24043 libc_hidden_def.
24044 (mempcpy): Do not use BP_SYM in weak_alias.
24045 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24046 "bp-asm.h".
24047 (strchr): Do not use BP_SYM.
24048 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24049 "bp-asm.h".
24050 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24051 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24052 (_start): Do not use BP_SYM.
24053 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24054 "bp-asm.h".
24055 (strcat): Do not use BP_SYM.
24056 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24057 "bp-asm.h".
24058 (STRCMP): Do not use BP_SYM.
24059 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24060 "bp-asm.h".
24061 (STRCPY): Do not use BP_SYM.
24062 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24063 "bp-asm.h".
24064 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24065 "bp-asm.h".
24066 (FUNCTION): Do not use BP_SYM.
24067 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24068 weak_alias.
24069 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24070
f238fd19
AJ
240712013-02-17 Andreas Jaeger <aj@suse.de>
24072
24073 * time/Versions: Sort entries.
24074 * string/Versions: Likewise.
24075 * resolv/Versions: Likewise.
24076 * posix/Versions: Likewise.
24077 * iconv/Versions: Likewise.
24078 * elf/Versions: Likewise.
24079 * wcsmbs/Versions: Likewise.
24080
bd07f23c 240812013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24082
22af19f9
SP
24083 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24084 loop termination condition.
24085
4709fe76
SP
24086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24087 variable to calculate EZ.
24088 (__sqr): Likewise.
2d0e0f29
SP
24089
24090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24091 the lower precision input.
24092
daaa7713
JM
240932013-02-15 Joseph Myers <joseph@codesourcery.com>
24094
24095 [BZ #13550]
24096 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24097 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24098 (run-via-rtld-prefix): Do not handle %-bp tests.
24099 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24100 (all-object-suffixes): Remove .ob.
24101 (bppfx): Remove variable.
24102 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24103 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24104 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24105 [$(build-bounded) = yes] (libtype.ob): Likewise.
24106 * Makerules (elide-routines.ob): Remove variable.
24107 (do-tests-clean): Do not handle *-bp.out.
24108 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24109 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24110 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24111 (tests): Do not include $(tests-bp.out).
24112 (xtests): Do not include $(xtests-bp.out).
24113 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24114 [$(build-bounded) = yes] ($(addprefix
24115 $(objpfx),$(binaries-bounded))): Remove rule.
24116 ($(objpfx)%-bp.out): Remove rule.
24117 * config.make.in (build-bounded): Remove variable.
24118 * crypt/Makefile [$(build-bounded) = yes]
24119 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24120 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24121 append to variable.
24122 [$(build-bounded) = yes] (install-lib): Likewise.
24123 [$(build-bounded) = yes] (generated): Likewise.
24124 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24125 Remove rule.
24126 * intl/Makefile [$(build-bounded) = yes]
24127 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24128 * math/Makefile [$(build-bounded) = yes]
24129 ($(tests:%=$(objpfx)%-bp): Likewise.
24130 * misc/Makefile [$(build-bounded) = yes]
24131 ($(objpfx)tst-tsearch-bp): Likewise.
24132 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24133 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24134 Remove dependency.
24135 * string/Makefile (o-objects.ob): Remove variable.
24136 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24137 (CFLAGS-.ob): Remove variable.
24138 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24139 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24140 both definitions of variable.
24141 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24142 (ASFLAGS-.ob): Remove variable.
24143
e97ed6dd
JM
241442013-02-14 Joseph Myers <joseph@codesourcery.com>
24145
2bdd4ca6
JM
24146 [BZ #13550]
24147 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24148 Remove __BOUNDED_POINTERS__ from condition.
24149 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24150 * string/bits/string2.h [!__NO_STRING_INLINES &&
24151 !__BOUNDED_POINTERS__]: Likewise.
24152 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24153 Likewise.
24154 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24155 Remove conditional code.
24156 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24157 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24158 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24159 condition.
24160
e97ed6dd
JM
24161 [BZ #13550]
24162 * csu/libc-start.c: Do not include <bp-sym.h>.
24163 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24164 * elf/dl-open.c: Do not include <bp-sym.h>.
24165 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24166 * math/fegetenv.c: Do not include <bp-sym.h>.
24167 (fegetenv): Do not use BP_SYM in versioned symbols.
24168 * nptl/sysdeps/pthread/bits/libc-lockP.h
24169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24170 <bp-sym.h>.
24171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24172 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24174 (__pthread_mutex_destroy): Likewise.
24175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24176 (__pthread_mutex_lock): Likewise.
24177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24178 (__pthread_mutex_trylock): Likewise.
24179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24180 (__pthread_mutex_unlock): Likewise.
24181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24182 (__pthread_mutexattr_init): Likewise.
24183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24184 (__pthread_mutexattr_destroy): Likewise.
24185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24186 (__pthread_mutexattr_settype): Likewise.
24187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24188 (__pthread_rwlock_init): Likewise.
24189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24190 (__pthread_rwlock_destroy): Likewise.
24191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24192 (__pthread_rwlock_rdlock): Likewise.
24193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24194 (__pthread_rwlock_tryrdlock): Likewise.
24195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24196 (__pthread_rwlock_wrlock): Likewise.
24197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24198 (__pthread_rwlock_trywrlock): Likewise.
24199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24200 (__pthread_rwlock_unlock): Likewise.
24201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24202 (__pthread_key_create): Likewise.
24203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24204 (__pthread_setspecific): Likewise.
24205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24206 (__pthread_getspecific): Likewise.
24207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24208 Likewise.
24209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24210 (_pthread_cleanup_push_defer): Likewise.
24211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24212 (_pthread_cleanup_pop_restore): Likewise.
24213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24214 (pthread_setcancelstate): Likewise.
24215 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24216 <bp-sym.h>.
24217 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24218 (memchr): Do not use BP_SYM in weak_alias.
24219 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24220 (fegetenv): Do not use BP_SYM in versioned symbols.
24221 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24222 (fesetenv): Do not use BP_SYM in versioned symbols.
24223 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24224 (feupdateenv): Do not use BP_SYM in versioned symbols.
24225 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24226 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24227 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24228 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24229 (open64): Do not use BP_SYM in weak_alias.
24230 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24231 (fegetenv): Do not use BP_SYM in versioned symbols.
24232 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24233 (fesetenv): Do not use BP_SYM in versioned symbols.
24234 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24235 (feupdateenv): Do not use BP_SYM in versioned symbols.
24236 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24237 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24238 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24239 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24240 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24241 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24242 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24243 <bp-sym.h>.
24244 (__libc_start_main): Do not use BP_SYM.
24245
d6752ccd
SP
242462013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24247
cb57ce60
SP
24248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24249 redundant return line.
24250 (norm): Likewise.
24251 (denorm): Likewise.
24252 (dbl_mp): Likewise.
24253 (sub_magnitudes): Likewise.
24254 (__add): Likewise.
24255 (__sub): Likewise.
24256 (__mul): Likewise.
24257 (__inv): Likewise.
24258 (__dvd): Likewise.
24259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24260 (norm): Likewise.
24261 (denorm): Likewise.
24262 (dbl_mp): Likewise.
24263 (sub_magnitudes): Likewise.
24264 (__add): Likewise.
24265 (__sub): Likewise.
24266 (__mul): Likewise.
24267 (__inv): Likewise.
24268 (__dvd): Likewise.
24269
f414520d
SP
24270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24271 instead of __mul.
24272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24273 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24274 (cc32): Likewise.
24275
d6752ccd
SP
24276 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24277 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24279 of __mul for squares.
24280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24281 function
24282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24283 Likewise.
24284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24286
70d9946a
JM
242872013-02-13 Joseph Myers <joseph@codesourcery.com>
24288
24289 [BZ #13550]
24290 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24291 code.
24292 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24293 prototype or function definition. Rename ubp_* variables and
24294 parameters. Remove argv definitions conditional on
24295 [__BOUNDED_POINTERS__].
24296 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24297 * elf/dl-runtime.c (_dl_fixup): Likewise.
24298 * include/set-hooks.h (RUN_HOOK): Likewise.
24299 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24300 definition.
24301 * string/strcpy.c (strcpy): Do not use __unbounded.
24302 * sysdeps/generic/frame.h (struct layout): Likewise.
24303 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24304 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24305 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24306 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24307 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24308 (__backtrace): Likewise.
24309 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24310 use __ptrvalue.
24311 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24312 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24313 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24314 Likewise.
24315 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24316 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24318 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24319 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24320 Do not use __unbounded.
24321 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24322 Rename __unboundedrlimits parameter to rlimits in prototype.
24323 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24324 Do not use __unbounded.
24325 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24326 not use __ptrvalue.
24327 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24328 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24329 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24331 __ptrvalue or __unbounded.
24332 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24333 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24334 use __unbounded.
24335 (__new_msgctl): Do not use __ptrvalue.
24336 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24337 __unbounded.
24338 (__libc_msgrcv): Do not use __ptrvalue.
24339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24340 startup_info): Do not use __unbounded.
24341 (__libc_start_main): Likewise. Rename ubp_* variables and
24342 parameters. Remove argv definitions conditional on
24343 [__BOUNDED_POINTERS__].
24344 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24345 __ptrvalue.
24346 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24347 use __unbounded.
24348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24349 or __ptrvalue.
24350 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24351 use __unbounded.
24352 (__new_shmctl): Do not use __ptrvalue.
24353 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24354 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24355 Likewise.
24356 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24358 (__libc_sigaction): Likewise.
24359 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24361 Likewise.
24362 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24363
cc7834d6
OB
243642013-02-13 Ondřej Bílka <neleai@seznam.cz>
24365
ffb1ec7b 24366 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24367
24368 * string/mempcpy.c: Implement by calling memcpy.
24369
bdf02814
SP
243702013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24371
c2af38aa
SP
24372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24373
4e92d59e
SP
24374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24375 evaluation.
24376
909279a5
SP
24377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24378 values in the mantissa.
24379
bdf02814
SP
24380 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24381 minimize writes to Z.
24382 (sub_magnitudes): Simplify code a bit.
24383
cd525923
RM
243842013-02-12 Roland McGrath <roland@hack.frob.com>
24385
24386 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24387 from the message. The linker prefixes all warnings with that already.
24388
7e2f0d2d
AS
243892013-02-12 Andreas Schwab <schwab@suse.de>
24390
a445af0b
AS
24391 [BZ #15078]
24392 * posix/regexec.c (extend_buffers): Add parameter min_len.
24393 (check_matching): Pass minimum needed length.
24394 (clean_state_log_if_needed): Likewise.
24395 (get_subexp): Likewise.
24396 * posix/Makefile (tests): Add bug-regex34.
24397 (bug-regex34-ENV): Define.
24398 * posix/bug-regex34.c: New file.
24399
7e2f0d2d
AS
24400 [BZ #11561]
24401 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24402 elements compare against the byte sequence of it, not its name.
24403 * posix/Makefile (tests): Add bug-regex35.
24404 (bug-regex35-ENV): Define.
24405 * posix/bug-regex35.c: New file.
24406
a175b684
TV
244072013-02-11 Tom de Vries <tom@codesourcery.com>
24408
24409 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24410 comment.
24411 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24412 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24413 (CHECK_EOL): Add undef.
24414
310998fe 244152013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24416
24417 * bits/stdlib-bsearch.h: New file.
24418 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24419 * stdlib/stdlib.h: Likewise.
41eda41d 24420
8ded91fb
RM
244212013-02-11 Roland McGrath <roland@hack.frob.com>
24422
24423 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24424 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24425 declaration.
24426 * manual/search.texi (Array Search Function): Add missing const in
24427 lfind prototype.
24428 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24429 declaration to use rlim_t.
24430 (Basic Scheduling Functions): Remove erroneous const from
24431 sched_getparam prototype. Remove erroneous * from
24432 sched_get_priority_max and sched_get_priority_min prototypes.
24433 (Resource Usage): Fix summary @comment on vtimes to refer to
24434 sys/vtimes.h rather than vtimes.h.
24435 Add missing *s in vtimes prototype.
24436 (Limits on Resources): Fix ulimit prototype to return long int.
24437 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24438 prototypes to use long int rather than double.
24439 (BSD Random): Fix initstate and setstate to use char *, not void *.
24440 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24441 prototype to make second argument 'struct aiocb64 *const[]'.
24442 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24443 (Status of AIO Operations): Remove erroneous const in aio_return and
24444 aio_return64 prototypes.
24445 (Synchronizing I/O): Fix sync prototype to return void.
24446 * manual/startup.texi (Suboptions): Remove an erroneous const in
24447 getsubopt prototype.
24448 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24449 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24450 use size_t rather than int.
24451 (Scanning All Users): Likewise for getpwent_r.
24452 (Setting Groups): Add missing const to setgroups prototype.
24453 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24454 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24455 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24456 'const void *' rather than 'const char *'.
24457 (Host Address Functions): Likewise for inet_ntop.
24458 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24459 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24460 ssize_t for return value.
24461 (Sending Data): Likewise for send, sendto, sendmsg.
24462 (Socket Option Functions): Add a missing const in setsockopt prototype.
24463 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24464 use wchar_t for the argument.
24465 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24466 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24467 take no arguments.
24468 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24469 double/float/long double for second argument.
24470 Fix return types of significand, significandf, significandl.
24471 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24472 argument in fchmod prototype.
24473 (File Owner): Use uid_t and gid_t in fchown prototype.
24474 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24475 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24476 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24477 use 'const struct dirent **' as argument types to CMP function pointer
24478 argument.
24479 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24480 (File Times): Fix summary magic @comment for struct utimbuf and utime
24481 to refer to utime.h, not time.h.
24482 * manual/string.texi (Argz Functions): Add missing const in
24483 argz_extract and argz_next prototypes.
24484 (Finding Tokens in a String): Likewise for basename.
24485 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24486 (Copying and Concatenation): Fix typo in wmemmove prototype.
24487 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24488 (Signal Stack): Remove erroneous const in sigstack prototype.
24489 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24490 prototype.
24491 (Simple Calendar Time): Likewise for stime.
24492 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24493 prototype.
24494 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24495 say sys/sysctl.h instead.
24496 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24497 and vsyslog prototypes.
24498
fe77fe6d
TV
244992013-02-11 Tom de Vries <tom@codesourcery.com>
24500
24501 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24502 Remove.
24503
3a09b620
RM
245042013-02-11 Roland McGrath <roland@hack.frob.com>
24505
24506 * misc/sys/mman.h: Fix typo in mremap comment.
24507
550a0b89
RM
245082013-02-08 Roland McGrath <roland@hack.frob.com>
24509
24510 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24511 the '\0' terminator.
24512
a2da1673
JM
245132013-02-08 Joseph Myers <joseph@codesourcery.com>
24514
24515 [BZ #13550]
24516 * debug/segfault.c: Don't include <bp-checks.h>.
24517 * sysdeps/generic/bp-checks.h: Remove file.
24518 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24519 (__GETDENTS): Don't use CHECK_N.
24520 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24522 (__getgroups): Don't use CHECK_N.
24523 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24524 (setgroups): Don't use CHECK_N.
24525 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24526 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24527 (__libc_msgrcv): Don't use CHECK_N.
24528 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24529 (__libc_msgsnd): Don't use CHECK_N.
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24531 <bp-checks.h>.
24532 (__libc_pread): Don't use CHECK_N.
24533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24534 include <bp-checks.h>.
24535 (__libc_pread64): Don't use CHECK_N.
24536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24537 include <bp-checks.h>.
24538 (__libc_pwrite): Don't use CHECK_N.
24539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24540 include <bp-checks.h>.
24541 (__libc_pwrite64): Don't use CHECK_N.
24542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24543 <bp-checks.h>.
24544 (__libc_pread): Don't use CHECK_N.
24545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24546 include <bp-checks.h>.
24547 (__libc_pread64): Don't use CHECK_N.
24548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24549 include <bp-checks.h>.
24550 (__libc_pwrite): Don't use CHECK_N.
24551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24552 include <bp-checks.h>.
24553 (__libc_pwrite64): Don't use CHECK_N.
24554 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24555 (do_pread): Don't use CHECK_N.
24556 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24557 (do_pread64): Don't use CHECK_N.
24558 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24559 (do_pwrite): Don't use CHECK_N.
24560 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24561 (do_pwrite64): Don't use CHECK_N.
24562 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24563 (__libc_readv): Don't use CHECK_N.
24564 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24565 (semop): Don't use CHECK_N.
24566 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24567 <bp-checks.h>.
24568 (semtimedop): Don't use CHECK_N.
24569 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24570 (__libc_pread): Don't use CHECK_N.
24571 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24572 <bp-checks.h>.
24573 (__libc_pread64): Don't use CHECK_N.
24574 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24575 <bp-checks.h>.
24576 (__libc_pwrite): Don't use CHECK_N.
24577 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24578 <bp-checks.h>.
24579 (__libc_pwrite64): Don't use CHECK_N.
24580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24581 <bp-checks.h>.
24582 (__libc_msgrcv): Don't use CHECK_N.
24583 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24584 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24585 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24586 (__libc_writev): Don't use CHECK_N.
24587
b84660a8
RM
245882013-02-08 Roland McGrath <roland@hack.frob.com>
24589
7f3e75f8
RM
24590 * string/strcpy.c: Removed unused variable.
24591
b84660a8
RM
24592 * Makeconfig (+sysdep-includes): Define with := rather than =.
24593 Use an existing include/ subdir of each sysdeps dir before it.
24594
471514d3
CD
245952013-02-08 Carlos O'Donell <carlos@redhat.com>
24596
24597 * nscd/connection.c (register_traced_file): Comment function.
24598 [HAVE_INOTIFY] (union __inev): Define.
24599 [HAVE_INOTIFY] (inotify_check_files): New function.
24600 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24601 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24602 clear_db_cache.
24603 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24604
b2d3c3be
CD
246052013-02-08 Carlos O'Donell <carlos@redhat.com>
24606
24607 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24608 loaded if not already and that a failure is permanent.
24609
b39949d2
CD
246102013-02-08 Carlos O'Donell <carlos@redhat.com>
24611
ddacd1db 24612 [BZ #15006]
b39949d2
CD
24613 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24614 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24615
b2c9eff4
JM
246162013-02-08 Joseph Myers <joseph@codesourcery.com>
24617
f3aae3f3
JM
24618 [BZ #13550]
24619 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24620 (CHECK_1_NULL_OK): Likewise.
24621 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24622 (__fxstat): Do not use CHECK_1.
24623 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24624 <bp-checks.h>.
24625 (___fxstat64): Do not use CHECK_1.
24626 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24627 <bp-checks.h>.
24628 (__fxstatat): Do not use CHECK_1.
24629 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24630 <bp-checks.h>.
24631 (__fxstatat64): Do not use CHECK_1.
24632 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24633 <bp-checks.h>.
24634 (__fxstat): Do not use CHECK_1.
24635 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24636 <bp-checks.h>.
24637 (__fxstatat): Do not use CHECK_1.
24638 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24639 <bp-checks.h>.
24640 (__getresgid): Do not use CHECK_1.
24641 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24642 <bp-checks.h>.
24643 (__getresuid): Do not use CHECK_1.
24644 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24645 <bp-checks.h>.
24646 (__lxstat): Do not use CHECK_1.
24647 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24648 <bp-checks.h>.
24649 (__old_msgctl): Do not use CHECK_1.
24650 (__new_msgctl): Likewise.
24651 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24652 <bp-checks.h>.
24653 (__new_setrlimit): Do not use CHECK_1.
24654 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24655 <bp-checks.h>.
24656 (__old_shmctl): Do not use CHECK_1.
24657 (__new_shmctl): Likewise.
24658 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24659 <bp-checks.h>.
24660 (__xstat): Do not use CHECK_1.
24661 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24662 (__lxstat): Do not use CHECK_1.
24663 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24664 <bp-checks.h>.
24665 (___lxstat64): Do not use CHECK_1.
24666 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24667 (__old_msgctl): Do not use CHECK_1.
24668 (__new_msgctl): Likewise.
24669 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24670 <bp-checks.h>.
24671 (__gettimeofday): Do not use CHECK_1.
24672 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24673 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24674 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24675 <bp-checks.h>.
24676 (__gettimeofday): Do not use CHECK_1.
24677 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24678 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24679 (__new_shmctl): Do not use CHECK_1.
24680 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24681 <bp-checks.h>.
24682 (do_sigtimedwait): Do not use CHECK_1.
24683 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24684 <bp-checks.h>.
24685 (do_sigwaitinfo): Do not use CHECK_1.
24686 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24687 <bp-checks.h>.
24688 (msgctl): Do not use CHECK_1.
24689 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24690 <bp-checks.h>.
24691 (shmctl): Do not use CHECK_1.
24692 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24693 (ustat): Do not use CHECK_1.
24694 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24695 <bp-checks.h>.
24696 (__fxstat): Do not use CHECK_1.
24697 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24698 <bp-checks.h>.
24699 (__fxstatat): Do not use CHECK_1.
24700 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24701 <bp-checks.h>.
24702 (__lxstat): Do not use CHECK_1.
24703 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24704 <bp-checks.h>.
24705 (__xstat): Do not use CHECK_1.
24706 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24707 (__xstat): Do not use CHECK_1.
24708 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24709 (___xstat64): Do not use CHECK_1.
24710
b2c9eff4
JM
24711 [BZ #13550]
24712 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24713 definitions.
24714 (CHECK_BOUNDS_HIGH): Likewise.
24715 * string/strcpy.c: Do not include <bp-checks.h>.
24716 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24717
f1d70dad
RM
247182013-02-07 Roland McGrath <roland@hack.frob.com>
24719
24720 * nscd/nscd-client.h (__nscd_drop_map_ref):
24721 Add __attribute__ ((unused)).
24722 * nis/nss-nisplus.h (niserr2nss): Likewise.
24723
24724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24725 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24726
24727 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24728 Remove inline keyword.
24729 * include/rounding-mode.h (round_away): Likewise.
24730 * libio/wfileops.c (adjust_wide_data): Likewise.
24731 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24732 (__m128i_strloadu_tolower): Likewise.
24733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24734 (__m128i_strloadu_tolower): Likewise.
24735 * time/mktime.c (ydhms_diff): Likewise.
24736 * locale/elem-hash.h (elem_hash): Likewise.
24737 * locale/setlocale.c (setdata): Likewise.
24738 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24739 (re_string_wchar_at): Likewise.
24740 (bitset_not, bitset_merge, bitset_mask): Likewise.
24741 [!(__GNUC__ > 3)] (inline): Remove macro.
24742 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24743 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24744 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24745 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24746 * string/memcmp.c (memcmp_bytes): Likewise.
24747 * locale/programs/locarchive.c (compute_hashval): Likewise.
24748 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24749 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24750 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24751 * nss/getent.c (print_rpc, print_protocols): Likewise.
24752 (print_passwd, print_group, print_aliases): Likewise.
24753 * nis/nss-nisplus.h (niserr2nss): Likewise.
24754 * nscd/connections.c (restart_p): Likewise.
24755 Change return type to bool.
24756
eab55bfb
RM
247572013-02-05 Roland McGrath <roland@hack.frob.com>
24758
7bd642f5
RM
24759 * Makeconfig (all-Depend-files): Add existing
24760 $(sorted-subdirs:=/Depend) files.
24761 (all-subdirs): Remove nss.
24762 * sysdeps/unix/inet/Subdirs: Add it here instead.
24763 * hesiod/Depend: New file.
24764
573c29b2
RM
24765 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24766 instead of calling alloca.
24767
b2e25af0
RM
24768 * io/lseek.c (__lseek): Rename to __libc_lseek.
24769 Define __lseek as an alias.
24770
eab55bfb
RM
24771 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24772
9a0d1941
CD
247732013-02-04 Carlos O'Donell <carlos@redhat.com>
24774
24775 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24776 else clause and remove check for non-standard endianness.
24777
b83bbec4
DM
247782013-02-04 David S. Miller <davem@davemloft.net>
24779
24780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24781
6277fdab
JM
247822013-02-04 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #13550]
24785 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24786 (__ubp_memchr): Remove prototype.
24787 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24788 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24789 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24790 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24791 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24792 Remove alias.
24793 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24794 (__ubp_memchr): Likewise.
24795 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24796 (__ubp_memchr): Likewise.
24797 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24798 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24799 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24800 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24801 CHECK_STRING.
24802 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24803 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24804 (__getcwd): Do not use CHECK_STRING.
24805 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24806 <bp-checks.h>.
24807 (__real_chown): Do not use CHECK_STRING.
24808 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24809 <bp-checks.h>.
24810 (fchownat): Do not use CHECK_STRING.
24811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24812 CHECK_STRING.
24813 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24814 <bp-checks.h>.
24815 (__lchown): Do not use CHECK_STRING.
24816 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24817 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24818 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24819 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24821 include <bp-checks.h>.
24822 (truncate64): Do not use CHECK_STRING.
24823 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24824 <bp-checks.h>.
24825 (__real_chown): Do not use CHECK_STRING.
24826 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24827 <bp-checks.h>.
24828 (__lchown): Do not use CHECK_STRING.
24829 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24830 <bp-checks.h>.
24831 (__chown): Do not use CHECK_STRING.
24832 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24833 <bp-checks.h>.
24834 (truncate64): Do not use CHECK_STRING.
24835 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24836 Likewise.
24837 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24838 (__xmknod): Do not use CHECK_STRING.
24839 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24840 <bp-checks.h>.
24841 (__xmknodat): Do not use CHECK_STRING.
24842 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24843 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24844
903ae060
AS
248452013-02-04 Andreas Schwab <schwab@suse.de>
24846
24847 [BZ #14142]
24848 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24849 * include/netdb.h: Likewise for h_errno.
24850 * elf/tst-stackguard1.c: Include <tls.h>.
24851
542f9466
JK
248522013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24853
24854 * elf/link.h (struct link_map): Extend the l_addr comment.
24855 * include/link.h (struct link_map): Likewise.
24856
e782a927
JM
248572013-02-01 Joseph Myers <joseph@codesourcery.com>
24858
24859 [BZ #13550]
24860 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24861 (BOUNDED_1): Remove macro.
24862 * debug/backtrace.c: Don't include <bp-checks.h>.
24863 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24864 (__backtrace): Likewise.
24865 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24866 <bp-checks.h>.
24867 (__backtrace): Don't use BOUNDED_1.
24868 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24869 <bp-checks.h>.
24870 (__backtrace): Don't use BOUNDED_1.
24871 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24872 (__backtrace): Don't use BOUNDED_1.
24873 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24874 (shmat): Don't use BOUNDED_N.
24875
8cf28c5e
JM
248762013-01-31 Joseph Myers <joseph@codesourcery.com>
24877
3a7ac8a0
JM
24878 [BZ #13550]
24879 * sysdeps/generic/bp-start.h: Remove file.
24880 * csu/libc-start.c: Don't include <bp-start.h>.
24881 (LIBC_START_MAIN): Set up __environ directly instead of using
24882 INIT_ARGV_and_ENVIRON.
24883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24884 <bp-start.h>.
24885
f3499f95
JM
24886 [BZ #13550]
24887 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24888 definitions.
24889 (CHECK_FCNTL): Likewise.
24890 (CHECK_N_PAGES): Likewise.
24891
32a45bea
JM
24892 [BZ #13550]
24893 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24894 definitions.
24895 (CHECK_SIGSET_NULL_OK): Likewise.
24896 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24897 <bp-checks.h>.
24898 (sigpending): Don't use CHECK_SIGSET.
24899 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24900 <bp-checks.h>.
24901 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24902 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24903 <bp-checks.h>.
24904 (do_sigsuspend): Don't use CHECK_SIGSET.
24905 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24906 use CHECK_SIGSET.
24907 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24908 (do_sigwait): Don't use CHECK_SIGSET.
24909 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24910 use CHECK_SIGSET.
24911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24912 include <bp-checks.h>.
24913 (sigpending): Don't use CHECK_SIGSET.
24914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24915 include <bp-checks.h>.
24916 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24917 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24918 <bp-checks.h>.
24919 (sigpending): Don't use CHECK_SIGSET.
24920 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24921 <bp-checks.h>.
24922 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24923
2e8a5c8c
JM
24924 [BZ #13550]
24925 * sysdeps/generic/bp-semctl.h: Remove file.
24926 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24927 <bp-checks.h> and <bp-semctl.h>.
24928 (__old_semctl): Don't use CHECK_SEMCTL.
24929 (__new_semctl): Likewise.
24930 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24931 and <bp-semctl.h>.
24932 (__old_semctl): Don't use CHECK_SEMCTL.
24933 (__new_semctl): Likewise.
24934 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24935 <bp-checks.h> and <bp-semctl.h>.
24936 (__old_semctl): Don't use CHECK_SEMCTL.
24937 (__new_semctl): Likewise.
24938 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24939 <bp-checks.h> and <bp-semctl.h>.
24940 (semctl): Don't use CHECK_SEMCTL.
24941
c2d54929
JM
24942 [BZ #13550]
24943 * Makerules (elide-bp-thunks): Remove variable.
24944 (elide-routines.oS): Don't use $(elide-bp-thunks).
24945 (elide-routines.os): Likewise.
24946 (elide-routines.o): Likewise.
24947 (elide-routines.op): Likewise.
24948 (elide-routines.og): Likewise.
24949 (objects): Don't use $(bp-thunks).
24950 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24951 include.
24952 (common-generated): Do not add s-proto-bp.d.
24953 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24954 (int): Likewise.
24955 (typ): Likewise.
24956 Do not generate makefile rules for bounded-pointer thunks.
24957 * sysdeps/generic/bp-thunks.h: Remove file.
24958 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24959 * sysdeps/unix/s-proto-bp.S: Likewise.
24960
8cf28c5e
JM
24961 [BZ #15062]
24962 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24963 parts of result separately when argument is not close to line from
24964 -i to i and one part of argument is small.
24965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24967 * math/libm-test.inc (cacos_test): Add more tests.
24968 (casin_test): Likewise.
24969 (casinh_test): Likewise.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972
c4e33b8d
DM
249732013-01-31 David S. Miller <davem@davemloft.net>
24974
24975 * po/de.po: Update from translation team.
24976
3b60b421
MK
249772013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24978
24979 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24980
bb931195
TS
249812013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24982
b5a5da23
TS
24983 * configure.in (_AC_PROG_CC_C89): New definition.
24984 * configure: Regenerate.
24985
bb931195
TS
24986 * configure.in (AC_PROG_CPP): New definition.
24987 * configure: Regenerate.
24988
8c53a12c
JM
249892013-01-23 Joseph Myers <joseph@codesourcery.com>
24990
24991 * debug/tst-backtrace.h: New file.
24992 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24993 (ret): Remove variable.
24994 (x): Likewise.
24995 (FAIL): Remove macro.
24996 (NO_INLINE): Likewise.
24997 (fn1): Use match function instead of strstr.
24998 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24999 (ret): Remove variable.
25000 (x): Likewise.
25001 (FAIL): Remove macro.
25002 (NO_INLINE): Likewise.
25003 (fn): Use match function instead of strstr.
25004 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25005 (ret): Remove variable.
25006 (x): Likewise.
25007 (FAIL): Remove macro.
25008 (NO_INLINE): Likewise.
25009 (handle_signal): Use match function instead of strstr.
25010 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25011 (ret): Remove variable.
25012 (x): Likewise.
25013 (FAIL): Remove macro.
25014 (NO_INLINE): Likewise.
25015 (handle_signal): Use match function instead of strstr.
25016
4858fa2a
RM
250172013-01-23 Roland McGrath <roland@hack.frob.com>
25018
25019 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25020
bae8e7f5
DM
250212013-01-23 David S. Miller <davem@davemloft.net>
25022
25023 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25024 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25025 argument of CAS if possible.
25026 * sysdeps/sparc/sparc64/bits/atomic.h
25027 (__arch_compare_and_exchange_val_32_acq): Likewise.
25028 (__arch_compare_and_exchange_val_64_acq): Likewise.
25029
9cbbc4ae
PT
250302013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25031
25032 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25033 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25034 Include <limits.h>.
67b3f58c 25035 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25036
5655a0b5
AC
250372013-01-23 Adam Conrad <adconrad@0c3.net>
25038
25039 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25040 (LDFLAGS-tst-array5): Likewise.
25041
052aff95
JM
250422013-01-23 Joseph Myers <joseph@codesourcery.com>
25043
25044 [BZ #15036]
25045 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25046 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25047 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25048 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25049
7c1e01aa
DM
250502013-01-21 David S. Miller <davem@davemloft.net>
25051
25052 * sysdeps/sparc/backtrace.c: New file.
25053 * sysdeps/sparc/sparc32/backtrace.h: New file.
25054 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25055 * sysdeps/sparc/sparc64/backtrace.h: New file.
25056 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25057 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25058 -funwind-tables.
25059
ab087e0a
AS
250602013-01-21 Andreas Schwab <schwab@suse.de>
25061
25062 [BZ #15020]
25063 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25064 closed its stdout.
25065
ed689c2f
AS
250662013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25067
25068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25069 "mpa2.h".
25070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25071
31d470ac
JM
250722013-01-18 Joseph Myers <joseph@codesourcery.com>
25073 Mark Mitchell <mark@codesourcery.com>
25074 Tom de Vries <tom@codesourcery.com>
25075 Paul Pluzhnikov <ppluzhnikov@google.com>
25076
25077 * debug/tst-backtrace2.c: New file.
25078 * debug/tst-backtrace3.c: Likewise.
25079 * debug/tst-backtrace4.c: Likewise.
25080 * debug/tst-backtrace5.c: Likewise.
25081 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25082 (CFLAGS-tst-backtrace3.c): Likewise.
25083 (CFLAGS-tst-backtrace4.c): Likewise.
25084 (CFLAGS-tst-backtrace5.c): Likewise.
25085 (LDFLAGS-tst-backtrace2): Likewise.
25086 (LDFLAGS-tst-backtrace3): Likewise.
25087 (LDFLAGS-tst-backtrace4): Likewise.
25088 (LDFLAGS-tst-backtrace5): Likewise.
25089 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25090 tst-backtrace4 and tst-backtrace5.
25091
90567f30 250922013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25093 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25094
25095 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25096 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25097 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25098 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25100 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25101 "+r" and remove output regs list as redundant. Add explicit inline
25102 asm to specify register of return val to work around compiler codegen
25103 bug. Remove (int) cast on return value. Add return type parameter to
25104 use in macro so that this macro does not truncate return value for
25105 64-bit values.
25106 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25107 pass to INTERNAL_VSYSCALL_NCS.
25108 (INLINE_VSYSCALL): Add 'long int' as return type to
25109 INTERNAL_VSYSCALL_NCS macro invocation.
25110 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25111 INTERNAL_VSYSCALL_NCS macro invocation.
25112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25113
d3b9ea61
SP
251142013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25115
0b57daeb
SP
25116 [BZ #14496]
25117 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25118 Fix application of SIMD FP exception mask.
25119
caa99d06
SP
25120 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25121 mp_no from a power of two.
25122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25123 __mpexp_twomm1. Use __pow_mp.
25124
d3b9ea61
SP
25125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25126 multiplication.
25127
1dbaee3c
DM
251282013-01-17 David S. Miller <davem@davemloft.net>
25129
25130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25131
728d7b43
JM
251322013-01-17 Joseph Myers <joseph@codesourcery.com>
25133
25134 [BZ #15023]
25135 * include/complex.h: Condition contents on [!_COMPLEX_H].
25136 (__kernel_casinhf): New prototype.
25137 (__kernel_casinh): Likewise.
25138 (__kernel_casinhl): Likewise.
25139 * math/Makefile (libm_calls): Add k_casinh.
25140 * math/k_casinh.c: New file.
25141 * math/k_casinhf.c: Likewise.
25142 * math/k_casinhl.c: Likewise.
25143 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25144 finite nonzero arguments.
25145 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25146 finite nonzero arguments.
25147 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25148 finite nonzero arguments.
25149 * math/s_casinh.c: Do not include <float.h>.
25150 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25151 * math/s_casinhf.c: Do not include <float.h>.
25152 (__casinhf): Move code for finite nonzero arguments to
25153 k_casinhf.c.
25154 * math/s_casinhl.c: Do not include <float.h>.
25155 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25156 redefine.
25157 (__casinhl): Move code for finite nonzero arguments to
25158 k_casinhl.c.
25159 * math/libm-test.inc (cacos_test): Add more tests.
25160 * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162
2a26ef3a
PT
251632013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25164
25165 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25166 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25167 [!HAVE_MREMAP]: Remove [defined linux] case.
25168 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25169
a897655d
SP
251702013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25171
25172 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25173
881ebe89 251742013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25175
25176 * elf/elf.h (R_386_SIZE32): New relocation.
25177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25178 R_386_SIZE32.
25179 (elf_machine_rela): Likewise.
25180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25181 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25182
59981e9b
JM
251832013-01-17 Joseph Myers <joseph@codesourcery.com>
25184
25185 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25186 (FP_FAST_FMA): Do not define.
25187 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25188 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25189 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25190 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25191 !_SOFT_FLOAT]: Likewise.
25192 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25194 value.
25195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25196 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25198 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25199 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25200 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25201 file.
25202
cfa8054f
AS
252032013-01-16 Andreas Schwab <schwab@suse.de>
25204
25205 [BZ #14327]
25206 * include/stdlib.h (__mktemp): Add declaration.
25207 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25208 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25209
dd930cc5
SP
252102013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25211
881ebe89
SP
25212 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25213 definitions.
25214 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25215 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25216 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25217 definitions here.
25218 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25219 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25220 definitions.
25221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25222 and ONE.
25223 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25224 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25225 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25226 definitions.
25227 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25228 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25229 definitions.
25230 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25231
dd930cc5
SP
25232 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25233
c19a9f89
DM
252342013-01-15 David S. Miller <davem@davemloft.net>
25235
1aa61767
DM
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25237 trunc{,f} to libm-sysdep_routes.
25238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25240 file.
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25243 file.
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25245 file.
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25249 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25251 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25252 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25253 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25254
c42d5e98
DM
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25256 nearbyint{,f} to libm-sysdep_routes.
25257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25259 New file.
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25261 file.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25263 New file.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25265 file.
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25269 file.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25272 file.
25273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25274 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25275 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25276
c19a9f89
DM
25277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25278 libc_feholdexcept and libc_fesetenv.
25279
357679d2
MF
252802013-01-15 Mike Frysinger <vapier@gentoo.org>
25281
25282 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25283
65a82e3d
DM
252842013-01-14 David S. Miller <davem@davemloft.net>
25285
8b954ab9
DM
25286 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25287 (SPARC_ASM_VIS2_IFUNC): Likewise.
25288 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25290 use of 'siam' instruction.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25292 Likewise.
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25294 Likewise.
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25296 Likewise.
25297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25302 file.
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25304 file.
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25306 file.
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25308 file.
25309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25314 new VIS2 routines.
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25318 Likewise.
25319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25324 routines to libm-sysdep_routines.
25325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25326
65a82e3d
DM
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25328 fdim/fdimf to libm-sysdep_routines.
25329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25330 file.
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25333 file.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25337 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25338 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25339 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25340 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25341
e34ab705
SP
253422013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25343
2a91b573
SP
25344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25345 to optimize copies.
25346
1066a534
SP
25347 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25350
e34ab705
SP
25351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25352 local variable MPTWO.
25353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25354 Likewise.
25355
aba5e596
MF
253562013-01-13 Mike Frysinger <vapier@gentoo.org>
25357
25358 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25359 GLOB_NOESCAPE.
25360
e557e9e5
MF
253612013-01-13 Mike Frysinger <vapier@gentoo.org>
25362
25363 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25364
0428cec9
MF
253652013-01-13 Mike Frysinger <vapier@gentoo.org>
25366
25367 * manual/pattern.texi (glob_t): Document gl_flags.
25368 (glob64_t): Likewise.
25369
8794a964
DM
253702013-01-11 David S. Miller <davem@davemloft.net>
25371
66438c3f
RM
25372 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25373 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25374 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25375 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25376 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25377 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25379 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25380 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25381 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25382 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25383 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25384 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25385
4ae4244d
DM
25386 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25387 sparc V9 rather than using V8 code.
25388 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25389 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25390
8794a964
DM
25391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25392 Move to...
25393 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25394 Here.
25395
6270516e
RM
253962013-01-11 Roland McGrath <roland@hack.frob.com>
25397
25398 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25399 not in the main loop.
25400 * configure: Regenerated.
25401
6a57d931
JM
254022013-01-11 Joseph Myers <joseph@codesourcery.com>
25403
25404 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25405 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25406 to just #else.
25407 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25408 [!__GLIBC_HAVE_LONG_LONG] case.
25409 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25410 condition to just #else.
25411 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25412 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25413 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25414 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25415 unconditional.
25416 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25417 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25418 #elif condition to just #else.
25419 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25420 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25421 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25422 #elif condition to just #else.
25423
0e8529e9
SE
254242013-01-11 Steve Ellcey <sellcey@mips.com>
25425
25426 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25427 (EF_MIPS_ARCH_64): Fix value.
25428 (EF_MIPS_ARCH_32R2): New.
25429 (EF_MIPS_ARCH_64R2): New.
25430
740b3dbe
L
254312013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25432
25433 * Makeconfig (+link-pie-before-libc): New.
25434 (+link-pie-after-libc): Likewise.
25435 (+link-pie-tests): Likewise.
25436 (+link-pie): Rewritten.
25437 (link-before-libc): Remove $(config-LDFLAGS).
25438 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25439 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25440 (config-LDFLAGS): Renamed to ...
25441 (rtld-LDFLAGS): This.
25442 (rtld-tests-LDFLAGS): New macro.
25443 (link-libc-rpath-link): Likewise.
25444 (link-libc-tests-rpath-link): Likewise.
25445 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25446 (link-libc): Prepand $(link-libc-rpath-link).
25447 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25448 (test-program-prefix): New macro.
25449 (test-via-rtld-prefix): Likewise.
25450 (test-program-cmd): Likewise.
25451 (host-test-program-cmd): Likewise.
25452 * Makefile ($(common-objpfx)testrun.sh): Replace
25453 $(run-program-prefix) with $(test-program-prefix).
25454 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25455 $(rtld-LDFLAGS).
25456 ($(common-objpfx)shlib.lds): Likewise.
25457 (build-module-helper): Likewise.
25458 ($(common-objpfx)format.lds): Likewise.
25459 * Rules (binaries-pie-tests): New.
25460 (binaries-pie-notests): Likewise.
25461 (binaries-pie): Rewritten.
25462 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25463 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25464 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25465 (make-test-out): Replace $(host-built-program-cmd) with
25466 $(host-test-program-cmd).
25467 * config.make.in (build-hardcoded-path-in-tests): New variable.
25468 * configure.in (--enable-hardcoded-path-in-tests): New configure
25469 option.
25470 (hardcoded_path_in_tests): New AC_SUBST.
25471 * configure: Regenerated.
25472 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25473 $(built-program-cmd) with $(test-program-cmd).
25474 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25475 (test_program_cmd): This.
25476 * elf/Makefile ($(objpfx)order.out): Run test with
25477 $(test-program-prefix).
25478 ($(objpfx)order2.out): Likewise.
25479 ($(objpfx)tst-initorder.out): Likewise.
25480 ($(objpfx)tst-initorder2.out): Likewise.
25481 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25482 $(test-program-cmd).
25483 ($(objpfx)tst-array1-static.out): Likewise.
25484 ($(objpfx)tst-array2.out): Likewise.
25485 ($(objpfx)tst-array3.out): Likewise.
25486 ($(objpfx)tst-array4.out): Likewise.
25487 ($(objpfx)tst-array5.out): Likewise.
25488 ($(objpfx)tst-array5-static.out): Likewise.
25489 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25490 $(test-program-cmd).
25491 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25492 $(run-program-prefix) with $(test-program-prefix).
25493 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25494 (test_program_prefix): This.
25495 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25496 $(run-program-prefix) with $(test-program-prefix).
25497 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25498 (test_program_prefix): This.
25499 * iconvdata/tst-tables.sh: Likewise.
25500 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25501 $(run-program-prefix) with $(test-program-prefix).
25502 ($(objpfx)tst-translit.out): Likewise.
25503 ($(objpfx)tst-gettext2.out): Likewise.
25504 ($(objpfx)tst-gettext4.out): Likewise.
25505 ($(objpfx)tst-gettext6.out): Likewise.
25506 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25507 (test_program_prefix): This.
25508 * intl/tst-gettext2.sh: Likewise.
25509 * intl/tst-gettext4.sh Likewise.
25510 * intl/tst-gettext6.sh: Likewise.
25511 * intl/tst-translit.sh: Likewise.
25512 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25513 with $(test-program-cmd).
25514 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25515 $(run-program-prefix) with $(test-program-prefix).
25516 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25517 (test_program_prefix): This.
25518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25519 $(run-program-prefix) with $(test-program-prefix).
25520 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25521 (test_program_prefix): This.
25522 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25523 * posix/Makefile ($(objpfx)globtest.out): Replace
25524 $(run-via-rtld-prefix) and $(test-wrapper) with
25525 $(test-program-prefix) and $(test-via-rtld-prefix).
25526 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25527 $(test-program-prefix).
25528 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25529 $(host-test-program-cmd).
25530 (tst-spawn-ARGS): Likewise.
25531 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25532 $(test-program-prefix).
25533 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25534 (test_via_rtld_prefix): This.
25535 (test_wrapper): Renamed to ...
25536 (test_program_prefix): This.
25537 (run_program_prefix): Replaced by test_program_prefix.
25538 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25539 (test_program_prefix): This.
25540 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25541 with $(host-test-program-cmd).
25542 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25543 $(run-program-prefix) with $(test-program-prefix).
25544 ($(objpfx)tst-printf.out): Likewise.
25545 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25546 $(test-program-cmd).
25547 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25548 (test_program_prefix): This.
25549 * stdio-common/tst-unbputc.sh: Likewise.
25550 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25551 $(run-program-prefix) with $(test-program-prefix).
25552 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25553 (test_program_prefix): This.
25554 * string/Makefile ($(objpfx)tst-svc.out): Replace
25555 $(built-program-cmd) with $(test-program-cmd).
25556
c6fe55cf
AJ
255572013-01-11 Andreas Jaeger <aj@suse.de>
25558
25559 [BZ #15003]
25560 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25561 value. Sync with Linux 3.7.
25562
9e6919c8
DM
255632013-01-10 David S. Miller <davem@davemloft.net>
25564
25565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25566 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25568
1c9f1a02
RM
255692013-01-10 Roland McGrath <roland@hack.frob.com>
25570
25571 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25572 never set.
25573 * configure: Regenerated.
25574
b9de2dde
DM
255752013-01-10 David S. Miller <davem@davemloft.net>
25576
25577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25578 sparc V9 rather than using V8 code.
25579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25581
e7f68ef4
RM
255822013-01-10 Roland McGrath <roland@hack.frob.com>
25583
25584 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25585 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25586 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25587 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25588 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25589 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25590 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25591 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25592 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25593 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25594 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25595 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25596 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25597 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25598 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25599 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25600 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25601 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25602 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25603 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25604 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25605 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25606 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25607 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25608 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25609 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25610 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25611
5a47cc9c
DM
256122013-01-10 David S. Miller <davem@davemloft.net>
25613
25614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25615
4cf8f209
L
256162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25617
25618 * posix/Makefile (tests-static): New variable.
25619 (tests): Add $(tests-static).
25620 (tst-exec-static-ARGS): New variable.
25621 (tst-spawn-static-ARGS): Likewise.
25622 * posix/tst-exec-static.c: New file.
25623 * posix/tst-spawn-static.c: Likewise.
25624 * posix/tst-exec.c: Support run directly.
25625 * posix/tst-spawn.c: Likewise.
25626
fed0faa1
JM
256272013-01-10 Joseph Myers <joseph@codesourcery.com>
25628
828beb13
JM
25629 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25630 long.
25631 * math/bits/mathcalls.h (llrint): Likewise.
25632 (llround): Likewise.
25633 * stdlib/stdlib.h (struct drand48_data): Likewise.
25634 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25635 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25636 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25637 Likewise.
25638 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25639 Likewise.
25640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25641 (elf_greg_t): Likewise.
25642 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25643 (__jmp_buf): Likewise.
25644 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25645 definitions.
25646 (llrint): Likewise, for all definitions.
25647 (llrintl): Likewise.
25648
fed0faa1
JM
25649 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25650 Remove [__GNUC__] condition.
25651 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25652 condition to just [__USE_ISOC99].
25653 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25654
1a20cb20
L
256552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25656
25657 [BZ #14200]
25658 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25659 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25660 defined.
25661 (_POSIX_V6_ILP32_OFF32): Likewise.
25662 (_XBS5_ILP32_OFF32): Likewise.
25663 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25664 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25665
751b85f7
SP
256662013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25667
7490eb81
SP
25668 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25669
751b85f7
SP
25670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25671 doubles __mpexp_twomm1. Adjust usage.
25672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25673 Remove.
25674
988197f0
AS
256752013-01-10 Andreas Schwab <schwab@suse.de>
25676
25677 [BZ #14964]
25678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25679 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25680
e83d7298
DM
256812013-01-09 David S. Miller <davem@davemloft.net>
25682
034ed64b 25683 [BZ #15003]
57f41c40
AS
25684 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25685 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25686 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25687 (TCP_FASTOPEN): Define.
e83d7298
DM
25688 (tcp_repair_opt): New structure.
25689 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25690 enum values.
57f41c40
AS
25691 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25692 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25693 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25694 (tcp_cookie_transactions): New structure.
25695
d5e0b9bd
AB
256962013-01-09 Anton Blanchard <anton@samba.org>
25697
25698 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25701 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25702
0c07e3ea
JM
257032013-01-09 Joseph Myers <joseph@codesourcery.com>
25704
25705 * include/features.h (__USE_ANSI): Remove.
25706
232f7002
RM
257072013-01-09 Roland McGrath <roland@hack.frob.com>
25708
ad98e30c
RM
25709 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25710
232f7002
RM
25711 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25712
950c99ca
SP
257132013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25714
b5792741
SP
25715 * sysdeps/s390/fpu/libm-test-ulps: Update.
25716
47cf2278
SP
25717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25718
950c99ca
SP
25719 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25720 (__acr): Likewise.
25721 (__cpy): Likewise.
25722 (norm): Likewise.
25723 (denorm): Likewise.
25724 (__mp_dbl): Likewise.
25725 (__dbl_mp): Likewise.
25726 (add_magnitudes): Likewise.
25727 (sub_magnitudes): Likewise.
25728 (__add): Likewise.
25729 (__sub): Likewise.
25730 (__mul): Likewise.
25731 (__inv): Likewise.
25732 (__dvd): Likewise.
25733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25734 (__acr): Likewise.
25735 (__cpy): Likewise.
25736 (norm): Likewise.
25737 (denorm): Likewise.
25738 (__mp_dbl): Likewise.
25739 (__dbl_mp): Likewise.
25740 (add_magnitudes): Likewise.
25741 (sub_magnitudes): Likewise.
25742 (__add): Likewise.
25743 (__sub): Likewise.
25744 (__mul): Likewise.
25745 (__inv): Likewise.
25746 (__dvd): Likewise.
25747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25748 (__acr): Likewise.
25749 (__cpy): Likewise.
25750 (norm): Likewise.
25751 (denorm): Likewise.
25752 (__mp_dbl): Likewise.
25753 (__dbl_mp): Likewise.
25754 (add_magnitudes): Likewise.
25755 (sub_magnitudes): Likewise.
25756 (__add): Likewise.
25757 (__sub): Likewise.
25758 (__mul): Likewise.
25759 (__inv): Likewise.
25760 (__dvd): Likewise.
25761
eede9df9
JM
257622013-01-08 Joseph Myers <joseph@codesourcery.com>
25763
25764 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25765 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25766 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25767 2 && __USE_EXTERN_INLINES]: Likewise.
25768
c40ea3d9
AJ
257692013-01-08 Andreas Jaeger <aj@suse.de>
25770
25771 [BZ# 14985]
25772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25773 Remove.
25774 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25775 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25776
2ccdea26
AB
257772013-01-07 Anton Blanchard <anton@samba.org>
25778
25779 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25780 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25781 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25782 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25784 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25785 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25793 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25797 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25799 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25802 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25803 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25804 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25808 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25809 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25821 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25822
a9708fed
JM
258232013-01-07 Joseph Myers <joseph@codesourcery.com>
25824
375607b9
JM
25825 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25826 (__MALLOC_PMT): Likewise.
25827 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25828 [__GNUC__], only on [_LIBC].
25829 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25830 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25831 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25832 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25833 forward declaration.
25834 (realloc_hook_ini): Likewise.
25835 (memalign_hook_ini): Likewise.
25836 (__libc_memalign): Do not use __MALLOC_PMT in variable
25837 declaration.
25838 (__libc_valloc): Likewise.
25839 (__libc_pvalloc): Likewise.
25840 (__libc_calloc): Likewise.
25841 (__posix_memalign): Likewise.
25842
a9708fed
JM
25843 [BZ #14996]
25844 * math/s_casinh.c: Include <float.h>.
25845 (__casinh): Do not do computation with squaring and square root
25846 for large arguments.
25847 * math/s_casinhf.c: Include <float.h>.
25848 (__casinhf): Do not do computation with squaring and square root
25849 for large arguments.
25850 * math/s_casinhl.c: Include <float.h>.
25851 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25852 (__casinhl): Do not do computation with squaring and square root
25853 for large arguments.
25854 * math/libm-test.inc (casin_test): Add more tests.
25855 (casinh_test): Likewise.
25856 * sysdeps/i386/fpu/libm-test-ulps: Update.
25857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25858
afec409a
L
258592013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25862 (__x86_64_raw_data_cache_size): Likewise.
25863 (__x86_64_data_cache_size_half): Likewise.
25864 (__x86_64_raw_data_cache_size_half): Likewise.
25865 (__x86_64_shared_cache_size): Likewise.
25866 (__x86_64_raw_shared_cache_size): Likewise.
25867 (__x86_64_shared_cache_size_half): Likewise.
25868 (__x86_64_raw_shared_cache_size_half): Likewise.
25869 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25870 to ...
25871 (__x86_data_cache_size): This.
25872 (__x86_64_raw_data_cache_size): Renamed to ...
25873 (__x86_raw_data_cache_size): This.
25874 (__x86_64_data_cache_size_half): Renamed to ...
25875 (__x86_data_cache_size_half): This.
25876 (__x86_64_raw_data_cache_size_half): Renamed to ...
25877 (__x86_raw_data_cache_size_half): This.
25878 (__x86_64_shared_cache_size): Renamed to ...
25879 (__x86_shared_cache_size): This.
25880 (__x86_64_raw_shared_cache_size): Renamed to ...
25881 (__x86_raw_shared_cache_size): This.
25882 (__x86_64_shared_cache_size_half): Renamed to ...
25883 (__x86_shared_cache_size_half): This.
25884 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25885 (__x86_raw_shared_cache_size_half): This.
25886 * sysdeps/x86_64/memcpy.S: Updated.
25887 * sysdeps/x86_64/memset.S: Likewise.
25888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25891
0b3986d0
DM
258922013-01-04 David S. Miller <davem@davemloft.net>
25893
25894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25895
e47686e9
AS
258962013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25897
d643bac1
AS
25898 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25899 1 to avoid redefinition warning.
25900 (__USE_GNU): Don't define.
25901 (init_signaling_nan): Protoize.
25902
e47686e9
AS
25903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25904
b18decba
SP
259052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25906
fffb407f
SP
25907 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25909 (__cpymn): Likewise.
25910 (norm): Remove commented code.
25911 (denorm): Likewise.
25912 (__mp_dbl): Likewise.
25913 (__inv): Likewise.
25914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25915 (__cpymn): Likewise.
25916 (norm): Remove commented code.
25917 (denorm): Likewise.
25918 (__mp_dbl): Likewise.
25919 (__inv): Likewise.
25920
b18decba
SP
25921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25922 mp_no value for 1.0 and 2.0.
25923 (norm): Use RADIXI instead of radixi.d.
25924 (denorm): Likewise.
25925 (__mul): Use 0.0 instead of zero.d.
25926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25927 mp_no value for 1.0 and 2.0.
25928 (norm): Use RADIXI instead of radixi.d.
25929 (denorm): Likewise.
25930 (__mul): Use 0.0 instead of zero.d.
25931
cdc1c96f
JM
259322013-01-04 Joseph Myers <joseph@codesourcery.com>
25933
25934 [BZ #14994]
25935 * math/s_casinh.c (__casinh): Reduce finite argument to first
25936 quadrant then set signs of results at the end.
25937 * math/s_casinhf.c (__casinhf): Likewise.
25938 * math/s_casinhl.c (__casinhl): Likewise.
25939 * math/libm-test.inc (casin_test): Add more tests.
25940 (casinh_test): Likewise.
25941 * sysdeps/i386/fpu/libm-test-ulps: Update.
25942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25943
302913e1
SP
259442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25945
6420d207
SP
25946 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25947
a9e48ab4
SP
25948 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25949
b7837264
SP
25950 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25951 declarations.
25952 (denorm): Likewise.
25953 (__mp_dbl): Likewise.
25954 (__inv): Likewise.
25955
f8af25d2
SP
25956 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25957 and adjust the header comment.
25958
302913e1
SP
25959 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25960 variable name from declaration.
25961
5d7dd1ca
L
259622013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25965 Initialize COMMON_CPUID_INDEX_7 element.
25966 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25967 (CPUID_RTM): Likewise.
25968 (HAS_RTM): Likewise.
25969 (COMMON_CPUID_INDEX_7): New enum.
25970
2f5f40f4
AS
259712013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25972
25973 [BZ #14981]
25974 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25975 size is zero, record memory as freed.
25976
4056f4a0
AJ
259772013-01-03 Andreas Jaeger <aj@suse.de>
25978
25979 * po/ia.po: Add new Interlingua translation.
25980
ab15736f 259812012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25982
25983 * locale/programs/localedef.c: Fix description of '--posix' flag.
25984
568035b7
JM
259852013-01-02 Joseph Myers <joseph@codesourcery.com>
25986
e6898b8d
JM
25987 * NEWS: Update dates in second copyright notice.
25988 * README: Update copyright dates in example.
25989 * manual/libc.texinfo: Update copyright dates.
25990 * scripts/test-installation.pl: Update copyright date in --version
25991 output.
25992
0e2f9562
JM
25993 * hurd/ctty-input.c: Fix copyright notice formatting.
25994 * hurd/ctty-output.c: Likewise.
25995 * hurd/dtable.c: Likewise.
25996 * hurd/hurd-raise.c: Likewise.
25997 * hurd/hurdprio.c: Likewise.
25998 * hurd/msgportdemux.c: Likewise.
25999 * misc/sys/file.h: Likewise.
26000 * misc/sys/ioctl.h: Likewise.
26001 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26002 * sysdeps/mach/hurd/chdir.c: Likewise.
26003 * sysdeps/mach/hurd/fchdir.c: Likewise.
26004 * sysdeps/mach/hurd/rename.c: Likewise.
26005 * sysdeps/mach/hurd/rmdir.c: Likewise.
26006 * sysdeps/mach/hurd/seekdir.c: Likewise.
26007 * sysdeps/mach/hurd/setsid.c: Likewise.
26008 * sysdeps/posix/wait3.c: Likewise.
26009
568035b7
JM
26010 * All files with FSF copyright notices: Update copyright dates
26011 using scripts/update-copyrights.
26012 * intl/plural.c: Regenerated.
26013 * locale/programs/charmap-kw.h: Likewise.
26014 * locale/programs/locfile-kw.h: Likewise.
26015
da08f647
SP
260162013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26017
0f5477af
SP
26018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26019 four values.
26020
44e0d4c2
SP
26021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26022 calculation loop and add branch prediction.
26023
4d55b4e5
SP
26024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26025 check access beyond bounds of m1np.
26026
da08f647
SP
26027 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26028 MPTWO.
26029 (__inv): Remove local variable MPTWO to use the global
26030 constant.
26031 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26033 variable MPTWO.
26034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26035 MP3HALFS static const.
26036
8e051029
DM
260372013-01-01 David S. Miller <davem@davemloft.net>
26038
26039 * po/ca.po: Update from translation team.
26040
f4cf5f2d
JM
260412013-01-01 Joseph Myers <joseph@codesourcery.com>
26042
26043 * scripts/update-copyrights: New file.
26044 * Makeconfig: Reformat copyright notice.
26045 * ctype/ctype.h: Likewise.
26046 * debug/swprintf_chk.c: Likewise.
26047 * elf/dl-cache.c: Likewise.
26048 * elf/dl-debug.c: Likewise.
26049 * elf/dl-object.c: Likewise.
26050 * grp/initgroups.c: Likewise.
26051 * hurd/Makefile: Likewise.
26052 * hurd/hurd/signal.h: Likewise.
26053 * hurd/hurdfault.c: Likewise.
26054 * hurd/hurdioctl.c: Likewise.
26055 * hurd/hurdlookup.c: Likewise.
26056 * hurd/intr-msg.c: Likewise.
26057 * iconv/gconv_open.c: Likewise.
26058 * libio/swprintf.c: Likewise.
26059 * locale/lc-ctype.c: Likewise.
26060 * locale/nl_langinfo.c: Likewise.
26061 * mach/Machrules: Likewise.
26062 * mach/Makefile: Likewise.
26063 * malloc/obstack.h: Likewise.
26064 * manual/Makefile: Likewise.
26065 * manual/tsort.awk: Likewise.
26066 * misc/bits/stab.def: Likewise.
26067 * nis/nis_print_group_entry.c: Likewise.
26068 * nis/nis_table.c: Likewise.
26069 * nis/nss_compat/compat-pwd.c: Likewise.
26070 * nis/nss_compat/compat-spwd.c: Likewise.
26071 * po/Makefile: Likewise.
26072 * posix/fnmatch.c: Likewise.
26073 * posix/regex.h: Likewise.
26074 * resolv/Makefile: Likewise.
26075 * resolv/nss_dns/dns-network.c: Likewise.
26076 * resolv/res_hconf.c: Likewise.
26077 * scripts/gen-sorted.awk: Likewise.
26078 * soft-fp/soft-fp.h: Likewise.
26079 * stdio-common/printf.h: Likewise.
26080 * stdlib/monetary.h: Likewise.
26081 * stdlib/random.c: Likewise.
26082 * stdlib/random_r.c: Likewise.
26083 * sysdeps/generic/Makefile: Likewise.
26084 * sysdeps/gnu/Makefile: Likewise.
26085 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26108 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26109 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26111 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26113 * sysdeps/mach/hurd/errnos.awk: Likewise.
26114 * sysdeps/mach/hurd/fork.c: Likewise.
26115 * sysdeps/mach/hurd/getcwd.c: Likewise.
26116 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26117 * sysdeps/mach/hurd/mmap.c: Likewise.
26118 * sysdeps/mach/hurd/utimes.c: Likewise.
26119 * sysdeps/mach/hurd/xmknod.c: Likewise.
26120 * sysdeps/posix/profil.c: Likewise.
26121 * sysdeps/posix/readdir_r.c: Likewise.
26122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26123 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26124 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26125 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26131 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26132 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26133 * sysdeps/pthread/lio_listio.c: Likewise.
26134 * sysdeps/sparc/dl-procinfo.h: Likewise.
26135 * sysdeps/unix/i386/sysdep.S: Likewise.
26136 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26137 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26138 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26139 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26141 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26142 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26143 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26144 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26145 * sysdeps/wordsize-32/divdi3.c: Likewise.
26146 * time/sys/time.h: Likewise.
26147 * wcsmbs/Makefile: Likewise.
26148
0549fbba
DM
261492013-01-01 David S. Miller <davem@davemloft.net>
26150
a141f1a7
DM
26151 * po/fr.po: Update from translation team.
26152
0549fbba
DM
26153 * catgets/gencat.c: Update copyright year.
26154 * csu/version.c: Likewise.
26155 * debug/catchsegv.sh: Likewise.
26156 * debug/pcprofiledump.c: Likewise.
26157 * debug/xtrace.sh: Likewise.
26158 * elf/ldconfig.c: Likewise.
26159 * elf/ldd.bash.in: Likewise.
26160 * elf/pldd.c: Likewise.
26161 * elf/sotruss.ksh: Likewise.
26162 * elf/sprof.c: Likewise.
26163 * iconv/iconv_prog.c: Likewise.
26164 * iconv/iconvconfig.c: Likewise.
26165 * locale/programs/locale.c: Likewise.
26166 * locale/programs/localedef.c: Likewise.
26167 * login/programs/pt_chown.c: Likewise.
26168 * malloc/memusage.sh: Likewise.
26169 * malloc/memusagestat.c: Likewise.
26170 * malloc/mtrace.pl: Likewise.
26171 * nscd/nscd.c: Likewise.
26172 * nss/getent.c: Likewise.
26173 * nss/makedb.c: Likewise.
26174 * posix/getconf.c: Likewise.
26175
18ea052c
SP
261762012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26177
26178 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26179 numbers.
26180
9c89fca6
MF
261812012-12-30 Mike Frysinger <vapier@gentoo.org>
26182
26183 * math/bits/mathcalls.h (modf): Use __nonnull.
26184
085ec079
SP
261852012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26186
26187 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26188 (split): Use macro CN instead of the bare value.
26189 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26190 could be used.
26191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26192 instead of the bare value.
26193 (power1): Likewise.
26194
6d9f97e1
SP
261952012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
d63f73be
SP
26197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26198 __ATAN_TWOM.
26199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26200
6d9f97e1
SP
26201 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26202 their values.
26203 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26205 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26206 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26207
4c4febf5
AJ
262082012-12-28 Andreas Jaeger <aj@suse.de>
26209
af5843ef
AJ
26210 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26211 values are from Linux 3.7.
26212
4c4febf5
AJ
26213 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26214 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26215
99136f82
SP
262162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26217
2f216c3c 26218 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26219 TRUE case.
26220
99136f82
SP
26221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26222 (norm): Likewise.
26223 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26224 variables with preprocessor constants.
26225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26226 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26227 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26228
7fffbdff
BH
262292012-12-27 Bruno Haible <bruno@clisp.org>
26230
26231 [BZ #14317]
26232 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26233 only if needed.
26234
b76eb5f0
SP
262352012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26236
31a7fe5c
SP
26237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26238 and use variable directly.
26239 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26240
b76eb5f0
SP
26241 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26242 MPONE.
26243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26245 variable MPONE.
26246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26248 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26249 include directive. Remove local variable MPONE.
26250 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26251 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26253
2c8bfe7d
DM
262542012-12-25 David S. Miller <davem@davemloft.net>
26255
26256 * version.h (RELEASE): Set to "development".
26257 (VERSION): Set to "2.17.90".
26258 * NEWS: Add 2.18 section.
26259
147d03b0
DM
262602012-12-21 David S. Miller <davem@davemloft.net>
26261
26262 * po/hr.po: Update from translation team.
26263
a8ebb2b9
AK
262642012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26265
26266 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26267
95b4f1b6
SE
262682012-12-19 Steve Ellcey <sellcey@mips.com>
26269
b2d94007 26270 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26271
cedb2a90
MS
262722012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26273
26274 * manual/contrib.texi (Contributors): Spelling correction.
26275
bbf527d6
DM
262762012-12-15 David S. Miller <davem@davemloft.net>
26277
26278 * po/ru.po: Update from translation team.
26279
bc38c906
DM
262802012-12-13 David S. Miller <davem@davemloft.net>
26281
85429b1a
DM
26282 * NEWS: Mention IFUNC testsuite enhancements.
26283
d283e353
DM
26284 * po/pl.po: Update from translation team.
26285 * po/bg.po: Likewise.
26286
bc38c906
DM
26287 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26288 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26289
a181b0d7
DM
262902012-12-11 David S. Miller <davem@davemloft.net>
26291
4641d57e
DM
26292 * po/sv.po: Update from translation team.
26293
f7bc6495
DM
26294 * po/vi.po: Update from translation team.
26295
6fc9048f
DM
26296 * po/cs.po: Update from translation team.
26297
a181b0d7
DM
26298 * po/de.po: Update from translation team.
26299 * po/eo.po: Likewise.
26300 * po/nl.po: Likewise.
26301
f70bfe80
SP
263022012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26303
3c8b4190
SP
26304 [BZ #14246]
26305 * manual/argp.texi (Argp Helper Functions): Move node to follow
26306 Argp Parsing State.
26307
f70bfe80
SP
26308 [BZ #14872]
26309 * manual/conf.texi (Limits on File System Capacity): Mention if
26310 terminating null is included in the max size.
26311
188f0adf
AJ
263122012-12-10 Andreas Jaeger <aj@suse.de>
26313
26314 * po/cs.po: Update from translation team.
26315
56e7d3ad
SP
263162012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26317
26318 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26319 void pointer and cast to uintptr_t.
26320 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26321 path.
26322 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26323 * sysdeps/s390/s390-64/memset.S: Likewise.
26324
76f2d2ea 263252012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26326
26327 [BZ #14833]
26328 * menual/message.texi (Message Translation): Fix typos.
26329 (Helper programs for gettext): Likewise.
26330
67cbf9a2
AS
263312012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26332
26333 [BZ #14898]
26334 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26335 Change to -1.
26336
682d0e9a
DM
263372012-12-07 David S. Miller <davem@davemloft.net>
26338
26339 * po/libc.pot: Update.
26340
573cd484
RH
263412012-12-07 Richard Henderson <rth@redhat.com>
26342
7e9da188 26343 [BZ #10114]
573cd484
RH
26344 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26345 normal/normal case to before the switch.
26346 (_FP_DIV): Likewise.
26347
e933a943
MF
263482012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26349 Mike Frysinger <vapier@gentoo.org>
26350
26351 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26352 check for __NR_fadvise64_64.
26353
82123268
CM
263542012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26355
26356 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26357 0, not just to plain "0" as a statement.
26358 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26359 with cw.
26360
d9814526
JM
263612012-12-06 Joseph Myers <joseph@codesourcery.com>
26362
26363 * NEWS: Use sourceware.org in Bugzilla URL.
26364
7728c574
SP
263652012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26366
f16946dd
SP
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26368 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26369
5704bbcb
SP
26370 * stdio-common/tst-put-error.c (do_test): Add newline to the
26371 padded test to ensure flush.
26372
17aa0516
JL
263732012-12-05 Jeff Law <law@redhat.com>
26374
26375 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26376
363313b5
JM
263772012-12-05 Joseph Myers <joseph@codesourcery.com>
26378
effbd42a
JM
26379 * README: Don't refer to ports add-on as distributed separately.
26380 Mention AArch64 in list of systems supported in the ports add-on.
26381
87600365
JM
26382 * LICENSES: Add more non-FSF copyright and license notices.
26383
a0d7066a
JM
26384 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26385 ((unused)).
26386
66ca5a5b
JM
26387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26388
363313b5
JM
26389 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26390 10000 as width of padded output.
26391
b37984ad
JM
263922012-12-04 Joseph Myers <joseph@codesourcery.com>
26393
9003570a
JM
26394 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26395
b37984ad
JM
26396 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26397 variable LX with __attribute__ ((unused)).
26398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26399 Likewise.
26400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26403 with __attribute__ ((unused)).
26404
c8df52ec
DM
264052012-12-04 David S. Miller <davem@abraco.davemloft.net>
26406
26407 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26408
b3b099af
JM
264092012-12-04 Joseph Myers <joseph@codesourcery.com>
26410
c33aa6e3
JM
26411 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26412 (CFLAGS-nldbl-acos.c): New variable.
26413 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26474 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26475 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26476 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26477 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26478 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26479 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26480 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26481 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26482 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26483 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26484 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26485 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26486 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26487 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26488 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26489 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26490 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26491 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26492 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26493 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26494 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26495 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26496 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26497 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26498 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26499 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26500 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26501 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26502 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26503 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26504 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26505 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26506 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26507 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26508 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26509 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26510
20f0018d
JM
26511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26513
b3b099af
JM
26514 [BZ #14914]
26515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26516 whole low double instead of just low 47 bits when splitting values
26517 into two parts.
26518
029264d1
AM
265192012-12-03 Allan McRae <allan@archlinux.org>
26520
26521 * manual/stdio.texi (Predefined Printf Handlers): Remove
26522 @hsep and @vsep usage.
26523
c9d6789e
MF
265242012-12-03 Mike Frysinger <vapier@gentoo.org>
26525
26526 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26527 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26528
4b7634a5
JL
265292012-12-03 Jeff Law <law@redhat.com>
26530
26531 * time/sys/time.h (settimeofday): Do not mark TV argument
26532 as __nonnull.
26533
eb6cbd24
MF
265342012-12-01 Mike Frysinger <vapier@gentoo.org>
26535
26536 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26537 when currently writing and seek to current position when not.
26538 * libio/Makefile (tests): Remove bug-fclose1.
26539 * libio/bug-fclose1.c: Delete.
26540
f638872a
JM
265412012-12-01 Joseph Myers <joseph@codesourcery.com>
26542
26543 * manual/arith.texi (feenableexcept): Fix typo.
26544 (fedisableexcept): Likewise.
26545
48085d14
RM
265462012-11-30 Roland McGrath <roland@hack.frob.com>
26547
26548 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26549 second, differently-typed declaration, rather than a cast.
26550
1a538b9f
SP
265512012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26552
26553 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26554 * include/rpc/svc.h: ... here.
26555
d07f2ff1 265562012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26557
26558 [BZ #13013]
26559 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26560 depending n and resplen2 to catch cases where answer
26561 equals answerp2.
26562
c93ec1f0
CD
265632012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26564
26565 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26566 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26567
37db69de
MF
265682012-11-29 Mike Frysinger <vapier@gentoo.org>
26569
26570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26571
e10c4e4f
RM
265722012-11-29 Roland McGrath <roland@hack.frob.com>
26573
26574 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26575
2af1b328
JL
265762012-11-28 Jeff Law <law@redhat.com>
26577
26578 [BZ #13761]
26579 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26580 dataset_temporary. Track alloca usage into alloca_used.
26581 If dataset is large allocate and release it via malloc/free.
26582
111db5b1
FW
265832012-06-04 Florian Weimer <fweimer@redhat.com>
26584
f06cc227 26585 [BZ #14197]
111db5b1
FW
26586 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26587
dd694abd
DM
265882012-11-28 David S. Miller <davem@davemloft.net>
26589
26590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26591
9984dd01
JM
265922012-11-28 Joseph Myers <joseph@codesourcery.com>
26593
26594 [BZ #14803]
26595 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26596 of pi/2 rounded to nearest to 64 bits.
26597 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26598 nearest to 64 bits.
26599 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26600 bits.
26601
14bc93a9
JL
266022012-11-28 Jeff Law <law@redhat.com>
26603 Martin Osvald <mosvald@redhat.com>
26604
26605 [BZ #14889]
26606 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26607 * sunrpc/svc.c: Include time.h.
26608 (__svc_accept_failed): New function.
26609 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26610 any reason other than EINTR, call __svc_accept_failed.
26611 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26612 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26613
e3c6aa3a
AS
266142012-11-28 Andreas Schwab <schwab@suse.de>
26615
26616 * scripts/abilist.awk: Also handle indirect functions in .opd
26617 section.
26618
1bead169
JM
266192012-11-28 Joseph Myers <joseph@codesourcery.com>
26620
26621 [BZ #13881]
26622 * sysdeps/x86/fpu/powl_helper.c: New file.
26623 * sysdeps/x86/fpu/Makefile: Likewise.
26624 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26625 (p3): New object.
26626 (__ieee754_powl): Use __powl_helper for finite arguments except
26627 integer exponents below 8.
26628 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26629 (p3): New object.
26630 (__ieee754_powl): Use __powl_helper for finite arguments except
26631 integer exponents below 8.
26632 * math/libm-test.inc (pow_test): Add more tests and enable some
26633 previously disabled tests.
26634 * sysdeps/i386/fpu/libm-test-ulps: Update.
26635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26636
0817d63d
SP
266372012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26638 Carlos O'Donell <carlos_odonell@mentor.com>
26639
26640 * nss/makedb.c (is_prime): Assert that input is odd and greater
26641 than 4. Note that fact in a comment too.
26642 (next_prime): Add 4 to input.
26643
de2fd463
SP
266442012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26645
26646 [BZ #11741]
26647 * libio/Makefile (tests): Add test case tst-fwrite-error.
26648 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26649 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26650 * libio/tst-fwrite-error.c: New test case.
26651
c515fb51
L
266522012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26655 before casting to void *.
26656 * include/libc-internal.h (__pointer_type): New macro.
26657 (__integer_if_pointer_type_sub): Likewise.
26658 (__integer_if_pointer_type): Likewise.
26659 (cast_to_integer): Likewise.
26660 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26661 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26662 before casting to atomic64_t.
26663 (atomic_exchange_acq): Likewise.
26664 (__arch_exchange_and_add_body): Likewise.
26665 (__arch_add_body): Likewise.
26666 (atomic_add_negative): Likewise.
26667 (atomic_add_zero): Likewise.
26668
4cf77aa9
JM
266692012-11-26 Joseph Myers <joseph@codesourcery.com>
26670
26671 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26672 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26673 (add_fdes): Likewise.
26674 (linear_search_fdes): Likewise.
26675 (binary_search_unencoded_fdes): Likewise.
26676
d260b3b4
AS
266772012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26678
26679 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26680
67060746
AC
266812012-11-24 Adam Conrad <adconrad@0c3.net>
26682
26683 * configure.in: Autodetect C++ header directories.
26684 * configure: Regenerated.
26685
800938a1
MF
266862012-11-23 Mike Frysinger <vapier@gentoo.org>
26687
26688 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26689
4e6e34e6
AS
266902012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26691
26692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26693
7c7feb47
JM
266942012-11-22 Joseph Myers <joseph@codesourcery.com>
26695
7184dcdf
JM
26696 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26697 LDBL_MANT_DIG == 106]: Disable some tests.
26698 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26699 Likewise.
26700 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26701 Likewise.
26702
0a42601f
JM
26703 [BZ #14871]
26704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26705 input for small inputs. Return +/- pi/2 for large inputs.
26706 * math/libm-test.inc (atan_test): Add more tests.
26707
79c9b9fe
JM
26708 * sysdeps/generic/unwind-dw2-fde-glibc.c
26709 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26710 __attribute__ ((unused)).
26711
c60d3bf2
JM
26712 [BZ #14645]
26713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26714 x * y if x and y are nonzero and z is zero.
26715
ef1e0867
JM
26716 [BZ #14811]
26717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26718 nonzero exponents with absolute value below 0x1p-117 to +/-
26719 0x1p-117.
26720
1468ded3
JM
26721 [BZ #14869]
26722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26723 up arguments below 2**-450, not just those below 2**-500.
26724 * math/libm-test.inc (hypot_test): Add another test.
26725
8e27e3cc
JM
26726 [BZ #14868]
26727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26728 Return a+b for ratio over 2**120, not 2**60.
26729 * math/libm-test.inc (hypot_test): Add another test.
26730
c9c0279b
JM
26731 * math/libm-test.inc (clog_test): Use
26732 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26733 (clog10_test): Likewise.
26734
7c7feb47
JM
26735 [BZ #6778]
26736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26737
fff1530e
AS
267382012-11-22 Andreas Schwab <schwab@suse.de>
26739
26740 * sysdeps/i386/fpu/libm-test-ulps: Update.
26741
94558d30
PT
267422012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26743
26744 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26745 printf output with newline.
26746
7e1be741
L
267472012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26748
6bfea974
L
26749 [BZ #14865]
26750 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26751 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26752 -z nodlopen, -z initfirst and -z execstack support.
26753 * configure: Regenerated.
26754
7e1be741
L
26755 * elf/elf.h (DF_1_NODIRECT): New macro.
26756 (DF_1_IGNMULDEF): Likewise.
26757 (DF_1_NOKSYMS): Likewise.
26758 (DF_1_NOHDR): Likewise.
26759 (DF_1_EDITED): Likewise.
26760 (DF_1_NORELOC): Likewise.
26761 (DF_1_SYMINTPOSE): Likewise.
26762 (DF_1_GLOBAUDIT): Likewise.
26763 (DF_1_SINGLETON): Likewise.
26764 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26765 DT_1_SUPPORTED_MASK bits.
26766 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26767
105ce2ce
CD
267682012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26769
26770 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26771
123be9de
TS
267722012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26773
d072f3f7
TS
26774 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26775 macro.
26776
123be9de
TS
26777 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26778 (sendmmsg): Move declarations...
26779 * socket/sys/socket.h: ... here.
26780 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26781 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26782 include it from...
26783 * socket/recvmmsg.c: ... this new file.
26784 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26785 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26786 definition of __sendmmsg hidden.
26787 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26788 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26789 Move ENOSYS stub into and include it from...
26790 * socket/sendmmsg.c: ... this new file.
26791 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26792 (sysdep_routines): Move recvmmsg and sendmmsg...
26793 * socket/Makefile (routines): ... here.
26794 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26795 (GLIBC_PRIVATE): Add __sendmmsg.
26796 * include/sys/socket.h (__sendmmsg): Add declarations.
26797 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26798 sendmmsg.
26799
cf9a5d18
JM
268002012-11-20 Joseph Myers <joseph@codesourcery.com>
26801
26802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26803 variable I1 with __attribute__ ((unused)).
26804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26805
ecd4caf9
JM
268062012-11-19 Joseph Myers <joseph@codesourcery.com>
26807
be14d48f
JM
26808 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26809 DUMMY variables with __attribute__ ((unused)).
26810
ecd4caf9
JM
26811 * bits/byteswap.h: Include <bits/types.h>.
26812 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26813
986cab95
PT
268142012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26815
26816 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26817 string_t. Do not manually set errno.
26818 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26819 length with __strnlen. Make sure to both set errno and return it on
26820 failure.
26821
6d33cc9d
DM
268222012-11-19 David S. Miller <davem@davemloft.net>
26823
26824 With help from Joseph Myers.
26825 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26826 very large arguments properly.
26827 * math/libm-test.inc (atan_test): New tests.
26828 (atan2_test): New tests.
26829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26831
ee663277
JM
268322012-11-19 Joseph Myers <joseph@codesourcery.com>
26833
877f2d8e
JM
26834 [BZ #14856]
26835 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26836 Define to 3.
26837
116fc08a
JM
26838 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26839 [POSIX] (EADDRNOTAVAIL): Likewise.
26840 [POSIX] (EAFNOSUPPORT): Likewise.
26841 [POSIX] (EALREADY): Likewise.
26842 [POSIX] (ECONNABORTED): Likewise.
26843 [POSIX] (ECONNREFUSED): Likewise.
26844 [POSIX] (ECONNRESET): Likewise.
26845 [POSIX] (EDESTADDRREQ): Likewise.
26846 [POSIX] (EDQUOT): Likewise.
26847 [POSIX] (EHOSTUNREACH): Likewise.
26848 [POSIX] (EIDRM): Likewise.
26849 [POSIX] (EISCONN): Likewise.
26850 [POSIX] (ELOOP): Likewise.
26851 [POSIX] (EMULTIHOP): Likewise.
26852 [POSIX] (ENETDOWN): Likewise.
26853 [POSIX] (ENETUNREACH): Likewise.
26854 [POSIX] (ENOBUFS): Likewise.
26855 [POSIX] (ENODATA): Likewise.
26856 [POSIX] (ENOLINK): Likewise.
26857 [POSIX] (ENOMSG): Likewise.
26858 [POSIX] (ENOPROTOOPT): Likewise.
26859 [POSIX] (ENOSR): Likewise.
26860 [POSIX] (ENOSTR): Likewise.
26861 [POSIX] (ENOTCONN): Likewise.
26862 [POSIX] (ENOTSOCK): Likewise.
26863 [POSIX] (EOPNOTSUPP): Likewise.
26864 [POSIX] (EOVERFLOW): Likewise.
26865 [POSIX] (EPROTO): Likewise.
26866 [POSIX] (EPROTONOSUPPORT): Likewise.
26867 [POSIX] (EPROTOTYPE): Likewise.
26868 [POSIX] (ESTALE): Likewise.
26869 [POSIX] (ETIME): Likewise.
26870 [POSIX] (ETXTBSY): Likewise.
26871 [POSIX] (EWOULDBLOCK): Likewise.
26872 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26873 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26874 [POSIX] (SEEK_CUR): Likewise.
26875 [POSIX] (SEEK_END): Likewise.
26876 [POSIX || UNIX98] (mode_t): Do not require.
26877 [POSIX] (off_t): Likewise.
26878 [POSIX] (pid_t): Likewise.
26879 [POSIX] (sys/stat.h): Do not allow header.
26880 [POSIX] (unistd.h): Likewise.
26881 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26882 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26883 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26884 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26885 require.
26886 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26887 sigevent): Specify elements.
26888 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26889 entry.
26890 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26891 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26892
a483863f
JM
26893 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26894 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26895 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26896 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26897 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26898 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26899 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26900 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26901 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26902 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26903 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26904 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26905 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26907 Likewise.
26908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26909 Likewise.
26910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26911 Likewise.
26912 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26913 Likewise.
26914 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26917 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26918 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26919 Specify lower bound on value.
26920 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26926 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26927 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26928 value.
26929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26930 as optional.
26931 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26934 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26935 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26936 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26942 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26943 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26946 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26947 entry.
26948 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26949 optional.
26950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26951 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26952 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26953 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26954 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26956 Likewise.
26957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26958 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26959 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26960 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26961 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26962 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26964 as optional.
26965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26967 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26968 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26969 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26970 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26971 specify as optional.
26972 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26973 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26974 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26975 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26976 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26977 [XPG3] (NL_LANGMAX): Likewise.
26978 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26979 [POSIX || XPG3] (NL_NMAX): Likewise.
26980 [POSIX || XPG3] (NL_SETMAX): Likewise.
26981 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26982 [XPG3] (NZERO): Likewise.
26983 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26984 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26985 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26986 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26987 (REG_ERANGE): Expect.
26988 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26989 optional-constant.
26990 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26991 Use (void) in prototype.
26992 [POSIX] (*_t): Allow.
26993 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26994 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26995 (WRDE_BADVAL): Expect.
26996
5ba924e3
JM
26997 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26998 expect.
26999 [XPG3 || XPG4] (O_RSYNC): Likewise.
27000 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27001 Likewise.
27002 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27003 [XPG3 || XPG4] (sigqueue): Likewise.
27004 [XPG3 || XPG4] (sigtimedwait): Likewise.
27005 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27006 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27007 [XPG3 || XPG4] (vsnprintf): Likewise.
27008 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27009 Likewise.
27010 [XPG3 || XPG4] (blksize_t): Likewise.
27011 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27012 Likewise.
27013 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27014 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27015 [XPG3 || XPG4] (struct itimerspec): Likewise.
27016 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27017 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27018 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27019 [XPG3 || XPG4] (clockid_t): Likewise.
27020 [XPG3 || XPG4] (timer_t): Likewise.
27021 [XPG3 || XPG4] (clock_getres): Likewise.
27022 [XPG3 || XPG4] (clock_gettime): Likewise.
27023 [XPG3 || XPG4] (clock_settime): Likewise.
27024 [XPG3 || XPG4] (nanosleep): Likewise.
27025 [XPG3 || XPG4] (timer_create): Likewise.
27026 [XPG3 || XPG4] (timer_delete): Likewise.
27027 [XPG3 || XPG4] (timer_gettime): Likewise.
27028 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27029 [XPG3 || XPG4] (timer_settime): Likewise.
27030 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27031 [XPG3 || XPG4] (getlogin_r): Likewise.
27032 [XPG3 || XPG4] (pread): Likewise.
27033 [XPG3 || XPG4] (pthread_atfork): Likewise.
27034 [XPG3 || XPG4] (pwrite): Likewise.
27035
ee663277
JM
27036 [BZ #14835]
27037 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27038 <bits/siginfo.h>.
27039
942caa16
PT
270402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27041
e19af380
PT
27042 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27043 finalizing MALLSTREAM.
27044
942caa16
PT
27045 * sysdeps/mach/hurd/syncfs.c: New file.
27046
cfde9b46
SP
270472012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27048
27049 [BZ #14719]
27050 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27051 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27053 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27054 (_nss_dns_gethostbyname4_r): Likewise.
27055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27056 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27057
f6da27e5
PH
270582012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27059
27060 [BZ #13763]
27061 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27062
6665d4a2
SM
270632012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27064
1f51ee92
SM
27065 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27066 * elf/cache.c (print_entry): Print ",AArch64" for
27067 FLAG_AARCH64_LIB64
27068
6665d4a2
SM
27069 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27070 * elf/cache.c (print_entry): Print ",hard-float" for
27071 FLAG_ARM_LIBHF.
27072
05b227bd
DM
270732012-11-18 David S. Miller <davem@davemloft.net>
27074
27075 With help from Joseph Myers.
27076 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27077 cutoff to 2**-13.
27078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27079 cutoff to 2**-25.
27080 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27081 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27082 small.
27083 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27084 * math/libm-test.inc (y0_test): New tests.
27085 (y1_test): New tests.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27089
786b0b67
AS
270902012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27091
27092 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27093 64-bit targets.
27094 * configure: Regenerated.
27095
8e18b86d
DM
270962012-11-17 David S. Miller <davem@davemloft.net>
27097
27098 [BZ #14811]
27099 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27100 nonzero exponents with absolute value below 0x1p-128 to +/-
27101 0x1p-128.
27102
531f1ae0
JM
271032012-11-17 Joseph Myers <joseph@codesourcery.com>
27104
12df29e2
JM
27105 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27106
150dc1a0
JM
27107 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27108
531f1ae0
JM
27109 * posix/getconf-speclist.c: New file.
27110 * posix/posix-envs.def: Likewise.
27111 * posix/confstr.c (START_ENV_GROUP): New macro.
27112 (END_ENV_GROUP): Likewise.
27113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27114 (KNOWN_PRESENT_ENV_STRING): Likewise.
27115 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27116 (UNKNOWN_ENVIRONMENT): Likewise.
27117 (confstr): Include posix-envs.def instead of handling
27118 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27119 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27120 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27121 (END_ENV_GROUP): Likewise.
27122 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27123 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27124 (UNKNOWN_ENVIRONMENT): Likewise.
27125 (__sysconf): Include posix-envs.def instead of handling associated
27126 cases directly here.
27127 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27128 preprocessing getconf-speclist.c rather than running getconf or
27129 generating empty file.
27130
a93f9cbc
PT
271312012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27132
27133 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27134
d64d9f87
AL
271352012-11-16 Andrej Lajovic <natrij@gmail.com>
27136
27137 [BZ #14672]
27138 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27139
447885eb
DM
271402012-11-16 David S. Miller <davem@davemloft.net>
27141
27142 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27143 smaller than LDBL_EPSILON/2.0L, just return xm1.
27144
bcbf9830
L
271452012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27146
27147 * elf/tst-array1.c (init): Set constructor priority to 1000.
27148 (fini): Set destructor priority to 1000.
27149 * elf/tst-array2dep.c: Likewise.
27150
2b766585
SP
271512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27152
27153 [BZ #11741]
27154 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27155 (_IO_new_file_xsputn): Also return EOF if none of the input
27156 data was written when overflow failed.
27157 * libio/iopadn.c (_IO_padn): Likewise.
27158 * libio/iowpadn.c (_IO_wpadn): Likewise.
27159 * stdio-common/tst-put-error.c: Add copyright notice.
27160 (do_test): Add case for printing padded string.
27161 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27162 _IO_padn returned error.
27163 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27164 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27165 return EOF.
27166
b1848fde
SP
271672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27168
27169 * libio/libioP.h: Add comment note that the references to C++
27170 bits are now obsolete.
27171
2fd89785
MS
271722012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27173
27174 * math/libm-test.inc (check_complex): Use asprintf.
27175
e3ea5409
JM
271762012-11-14 Joseph Myers <joseph@codesourcery.com>
27177
27178 * debug/pcprofiledump.c (print_version): Update copyright year.
27179 * malloc/memusagestat.c (print_version): Likewise.
27180
2e64d265
L
271812012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 [BZ #14831]
27184 * elf/Makefile (tests): Add tst-audit8.
27185 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27186 ($(objpfx)tst-audit8.out): New target.
27187 (tst-audit8-ENV): New variable.
27188 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27189 audit if l_reloc_result is NULL.
27190 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27191 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27192 * elf/tst-audit8.c: New file.
27193
c485e4d2
MS
271942012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27195
27196 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27197 * misc/Makefile (CFLAGS-select.c): Define.
27198 * posix/Makefile (CFLAGS-pause.c): Define.
27199
3a0d900a
DM
272002012-11-13 David S. Miller <davem@davemloft.net>
27201
27202 * crypt/Makefile: Move test targets after toplevel Rules
27203 inclusion. Grab any necessary sysdep routines when linking.
27204 * crypt/md5.c (md5_process_block): Remove define, we will always
27205 name it __md5_process_block.
27206 (md5_finish_ctx): Update md5_process_block call.
27207 (md5_stream): Likewise.
27208 (md5_process_bytes): Likewise.
27209 (md5_process_block): Rename to __md5_process_block and move to ...
27210 * crypt/md5-block.c: ... here.
27211 * crypt/sha256.c (sha256_process_block): Move to ...
27212 * crypt/sha256-block.c: ... here.
27213 * crypt/sha512.c (sha512_process_block): Move to ...
27214 * crypt/sha512-block.c: ... here.
27215 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27216 path.
27217 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27218 * sysdeps/sparc/sparc64/multiarch/Makefile
27219 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27220 crypt subdir.
27221 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27223 multiarch changes.
27224 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27225 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27226 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27227 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27228 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27229 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27231 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27233 file.
27234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27236 file.
27237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27238
8ca89318
JM
272392012-11-13 Joseph Myers <joseph@codesourcery.com>
27240
e27d476a
JM
27241 * timezone/tzselect.ksh: Update from tzcode git revision
27242 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27243 * timezone/zdump.c: Likewise.
27244 * timezone/zic.c: Likewise.
27245 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27246 in TZVERSION setting, not $(PKGVERSION).
27247 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27248 REPORT_BUGS_TO settings.
27249
8ca89318
JM
27250 [BZ #14838]
27251 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27252 macro.
27253
47594329
MS
272542012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27255
27256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27257 detection to immediately after _FP_ROUND().
27258 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27259 bits are 0.
27260
640ac3f1
DM
272612012-11-11 David S. Miller <davem@davemloft.net>
27262
27263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27264 inttypes.h
27265 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27266 __close rather than their public counterparts.
27267
3d2577bb
JM
272682012-11-10 Joseph Myers <joseph@codesourcery.com>
27269
27270 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27271 file.
27272 [UNIX98] (sem_timedwait): Do not expect.
27273 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27274 [XPG4 || UNIX98] (sockatmark): Do not expect.
27275 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27276 (clock_getcpuclockid): Do not expect.
27277 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27278 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27279 Do not expect.
27280 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27281 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27282 [UNIX98] (vwscanf): Likewise.
27283 [UNIX98] (vswscanf): Likewise.
27284
fb1ae1ee
JM
272852012-11-09 Joseph Myers <joseph@codesourcery.com>
27286
9ec6f8bd
JM
27287 * timezone/version.h: Remove file.
27288 * timezone/README: Do not refer to version.h.
27289 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27290 $(objpfx)version.h.
27291 ($(objpfx)zdump.o): Likewise.
c3f81911 27292 ($(objpfx)version.h): New target.
9ec6f8bd 27293
0aa8f8a1
JM
27294 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27295 2012i.
27296 * timezone/README: Don't mention modification to tzselect.ksh.
27297 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27298 work on unmodified tzselect.ksh. Substitute version numbers in
27299 tzselect.ksh.
27300
4e87147f
JM
27301 * Makefile (format-me): Remove.
27302 (INSTALL): Adjust indentation. Use commands directly instead of
27303 using $(format-me).
27304
8b748aed
JM
27305 * aclocal.m4 (ACX_PKGVERSION): New macro.
27306 (ACX_BUGURL): Likewise.
27307 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27308 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27309 (REPORT_BUGS_TO): Likewise.
27310 * configure: Regenerated.
27311 * config.h.in (PKGVERSION): New macro.
27312 (REPORT_BUGS_TO): Likewise.
27313 * config.make.in (PKGVERSION): New variable.
27314 (PKGVERSION_TEXI): Likewise.
27315 (REPORT_BUGS_TO): Likewise.
27316 (REPORT_BUGS_TEXI): Likewise.
27317 * Makefile (format-me): Use -I$(common-objpfx)manual.
27318 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27319 ($(common-objpfx)manual/%): New target.
27320 (manual/%): Remove target.
27321 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27322 (print_version): Use PKGVERSION.
27323 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27324 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27325 and REPORT_BUGS_TO.
27326 ($(objpfx)xtrace): Likewise.
27327 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27328 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27329 (print_version): Use PKGVERSION.
27330 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27331 (do_version): Use PKGVERSION.
27332 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27333 REPORT_BUGS_TO.
27334 (common-ldd-rewrite): Likewise.
27335 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27336 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27337 (print_version): Use PKGVERSION.
27338 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27339 * elf/pldd.c (argp_program_bug_address): Remove variable.
27340 (more_help): New function.
27341 (argp): Use more_help.
27342 (print_version): Use PKGVERSION.
27343 * elf/sln.c (main): Use PKGVERSION.
27344 (usage): Use REPORT_BUGS_TO.
27345 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27346 (top level): Use PKGVERSION.
27347 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27348 (print_version): Use PKGVERSION.
27349 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27350 (print_version): Use PKGVERSION.
27351 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27352 (print_version): Use PKGVERSION.
27353 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27354 (print_version): Use PKGVERSION.
27355 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27356 (print_version): Use PKGVERSION.
27357 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27358 (print_version): Use PKGVERSION.
27359 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27360 and BUGURL.
27361 ($(objpfx)memusage): Likewise.
27362 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27363 (do_version): Use PKGVERSION.
27364 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27365 (print_version): Use PKGVERSION.
27366 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27367 ($PKGVERSION): New variable.
27368 ($REPORT_BUGS_TO): Likewise.
27369 (usage): Use $REPORT_BUGS_TO.
27370 (top level): Use $PKGVERSION.
27371 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27372 ($(objpfx)pkgvers.texi): New rule.
27373 ($(objpfx)stamp-pkgvers): Likewise.
27374 * manual/install.texi: Include pkgvers.texi.
27375 (--with-pkgversion): Document new configure option.
27376 (--with-bugurl): Likewise.
27377 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27378 than necessarily for this particular distribution. Use
27379 REPORT_BUGS_TO for where to report bugs.
27380 * INSTALL: Regenerated.
27381 * manual/libc.texinfo: Include pkgvers.texi.
27382 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27383 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27384 (print_version): Use PKGVERSION.
27385 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27386 (print_version): Use PKGVERSION.
27387 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27388 (print_version): Use PKGVERSION.
27389 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27390 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27391 macro.
27392 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27393 (print_version): Use PKGVERSION.
27394 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27395 (print_version): Use PKGVERSION.
27396 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27397 and PKGVERSION.
27398
92e4b6a9
JM
27399 * timezone/checktab.awk: Update from tzcode 2012i.
27400 * timezone/ialloc.c: Likewise.
27401 * timezone/private.h: Likewise.
27402 * timezone/scheck.c: Likewise.
27403 * timezone/tzfile.h: Likewise.
27404 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27405 (TZVERSION): Hardcode tzcode version number.
27406 * timezone/zdump.c: Update from tzcode 2012i.
27407 * timezone/zic.c: Likewise.
27408 * timezone/version.h: New file.
27409 * timezone/README: Describe version.h. Update upstream location.
27410
9bde902c
JM
27411 [BZ #14824]
27412 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27413 (mktemp): Enable declaration.
27414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27418 Likewise.
27419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27420 Likewise.
27421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27422 Likewise.
27423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27424 Likewise.
27425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27426 Likewise.
27427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27428 Likewise.
27429
fb1ae1ee
JM
27430 [BZ #14821]
27431 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27432 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27433 for copies of such integer values.
27434 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27435 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27436
2c1adbcb
AJ
274372012-11-09 Andreas Jaeger <aj@suse.de>
27438
27439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27440 definitions and declarations that are provided by
27441 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27442
d0f8457e
AK
274432012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27444
3a235abb 27445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27446 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27447 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27448 definition.
27449
57241e26
MS
274502012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27451
27452 * elf/elf.h: Update comment before AArch64 relocations.
27453
60e8270d
DM
274542012-11-07 David S. Miller <davem@davemloft.net>
27455
27456 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27458 (__start_context): Declare.
27459 (__makecontext_ret): Delete.
27460 (__makecontext): Hook up __start_context instead of
27461 __makecontext_ret.
27462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27463 (sysdep_routines): Add __start_context when in stdlib.
27464
0fbb0fbc
JM
274652012-11-07 Joseph Myers <joseph@codesourcery.com>
27466
27467 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27468 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27469 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27470 hardcoded "nm".
27471 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27472 (READELF): New variable. Use it instead of hardcoded "readelf".
27473
eb48db7e
L
274742012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27475
27476 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27477 * sysdeps/x86/Makefile: Here.
27478 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27479 * sysdeps/x86/tst-xmmymm.sh: This.
27480
05bcf62a
JM
274812012-11-07 Joseph Myers <joseph@codesourcery.com>
27482
c4b6cf53
JM
27483 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27484 expectations.
27485 [UNIX98] (pthread_barrier_t): Do not expect.
27486 [UNIX98] (pthread_barrierattr_t): Likewise.
27487 [UNIX98] (pthread_spinlock_t): Likewise.
27488 [UNIX98] (pthread_barrier_destroy): Likewise.
27489 [UNIX98] (pthread_barrier_init): Likewise.
27490 [UNIX98] (pthread_barrier_wait): Likewise.
27491 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27492 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27493 [UNIX98] (pthread_barrierattr_init): Likewise.
27494 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27495 [UNIX98] (pthread_getcpuclockid): Likewise.
27496 [UNIX98] (pthread_mutex_timedlock): Likewise.
27497 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27498 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27499 [UNIX98] (pthread_sigmask): Likewise.
27500 [UNIX98] (pthread_spin_destroy): Likewise.
27501 [UNIX98] (pthread_spin_init): Likewise.
27502 [UNIX98] (pthread_spin_lock): Likewise.
27503 [UNIX98] (pthread_spin_trylock): Likewise.
27504 [UNIX98] (pthread_spin_unlock): Likewise.
27505 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27506 Do not expect.
27507 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27509 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27510 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27511 [XPG3 || XPG4] (pthread_key_t): Likewise.
27512 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27513 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27514 [XPG3 || XPG4] (pthread_once_t): Likewise.
27515 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27516 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27518 [XPG3 || XPG4] (pthread_t): Likewise.
27519
cbe6e120
JM
27520 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27521 not expect.
27522 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27523
1b126443
JM
27524 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27525 Change function return type to int.
27526
b961a573
JM
27527 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27528 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27529 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27530 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27531 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27532 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27533 [!POSIX] (posix_madvise): Likewise.
27534 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27535 && !UNIX98].
27536 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27537 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27538 (mode_t): Likewise.
27539 (posix_mem_offset): Likewise.
27540 (posix_typed_mem_get_info): Likewise.
27541 (posix_typed_mem_open): Likewise.
27542
9e188909
JM
27543 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27544 Change condition to [XOPEN2K8].
27545
05bcf62a
JM
27546 * conform/conformtest.pl: Preprocess allow-header data with -x c
27547 instead of from stdin.
27548 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27549 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27550 [C99-based standards] (cerfc): Likewise.
27551 [C99-based standards] (cexp2): Likewise.
27552 [C99-based standards] (cexpm1): Likewise.
27553 [C99-based standards] (clog10): Likewise.
27554 [C99-based standards] (clog1p): Likewise.
27555 [C99-based standards] (clog2): Likewise.
27556 [C99-based standards] (clgamma): Likewise.
27557 [C99-based standards] (ctgamma): Likewise.
27558 [C99-based standards] (cerff): Likewise.
27559 [C99-based standards] (cerfcf): Likewise.
27560 [C99-based standards] (cexp2f): Likewise.
27561 [C99-based standards] (cexpm1f): Likewise.
27562 [C99-based standards] (clog10f): Likewise.
27563 [C99-based standards] (clog1pf): Likewise.
27564 [C99-based standards] (clog2f): Likewise.
27565 [C99-based standards] (clgammaf): Likewise.
27566 [C99-based standards] (ctgammaf): Likewise.
27567 [C99-based standards] (cerfl): Likewise.
27568 [C99-based standards] (cerfcl): Likewise.
27569 [C99-based standards] (cexp2l): Likewise.
27570 [C99-based standards] (cexpm1l): Likewise.
27571 [C99-based standards] (clog10l): Likewise.
27572 [C99-based standards] (clog1pl): Likewise.
27573 [C99-based standards] (clog2l): Likewise.
27574 [C99-based standards] (clgammal): Likewise.
27575 [C99-based standards] (ctgammal): Likewise.
27576 * conform/data/inttypes.h-data [C99-based standards]: Include
27577 stdint.h-data. Remove all expectations for stdint.h contents.
27578 [C99-based standards] (PRI*): Do not allow.
27579 [C99-based standards] (SCN*): Likewise.
27580 [C99-based standards] (*_t): Likewise.
27581 [C99-based-standards] (PRId8): Expect macro.
27582 [C99-based-standards] (PRIi8): Likewise.
27583 [C99-based-standards] (PRIo8): Likewise.
27584 [C99-based-standards] (PRIu8): Likewise.
27585 [C99-based-standards] (PRIx8): Likewise.
27586 [C99-based-standards] (PRIX8): Likewise.
27587 [C99-based-standards] (SCNd8): Likewise.
27588 [C99-based-standards] (SCNi8): Likewise.
27589 [C99-based-standards] (SCNo8): Likewise.
27590 [C99-based-standards] (SCNu8): Likewise.
27591 [C99-based-standards] (SCNx8): Likewise.
27592 [C99-based-standards] (PRIdLEAST8): Likewise.
27593 [C99-based-standards] (PRIiLEAST8): Likewise.
27594 [C99-based-standards] (PRIoLEAST8): Likewise.
27595 [C99-based-standards] (PRIuLEAST8): Likewise.
27596 [C99-based-standards] (PRIxLEAST8): Likewise.
27597 [C99-based-standards] (PRIXLEAST8): Likewise.
27598 [C99-based-standards] (SCNdLEAST8): Likewise.
27599 [C99-based-standards] (SCNiLEAST8): Likewise.
27600 [C99-based-standards] (SCNoLEAST8): Likewise.
27601 [C99-based-standards] (SCNuLEAST8): Likewise.
27602 [C99-based-standards] (SCNxLEAST8): Likewise.
27603 [C99-based-standards] (PRIdFAST8): Likewise.
27604 [C99-based-standards] (PRIiFAST8): Likewise.
27605 [C99-based-standards] (PRIoFAST8): Likewise.
27606 [C99-based-standards] (PRIuFAST8): Likewise.
27607 [C99-based-standards] (PRIxFAST8): Likewise.
27608 [C99-based-standards] (PRIXFAST8): Likewise.
27609 [C99-based-standards] (SCNdFAST8): Likewise.
27610 [C99-based-standards] (SCNiFAST8): Likewise.
27611 [C99-based-standards] (SCNoFAST8): Likewise.
27612 [C99-based-standards] (SCNuFAST8): Likewise.
27613 [C99-based-standards] (SCNxFAST8): Likewise.
27614 [C99-based-standards] (PRId16): Likewise.
27615 [C99-based-standards] (PRIi16): Likewise.
27616 [C99-based-standards] (PRIo16): Likewise.
27617 [C99-based-standards] (PRIu16): Likewise.
27618 [C99-based-standards] (PRIx16): Likewise.
27619 [C99-based-standards] (PRIX16): Likewise.
27620 [C99-based-standards] (SCNd16): Likewise.
27621 [C99-based-standards] (SCNi16): Likewise.
27622 [C99-based-standards] (SCNo16): Likewise.
27623 [C99-based-standards] (SCNu16): Likewise.
27624 [C99-based-standards] (SCNx16): Likewise.
27625 [C99-based-standards] (PRIdLEAST16): Likewise.
27626 [C99-based-standards] (PRIiLEAST16): Likewise.
27627 [C99-based-standards] (PRIoLEAST16): Likewise.
27628 [C99-based-standards] (PRIuLEAST16): Likewise.
27629 [C99-based-standards] (PRIxLEAST16): Likewise.
27630 [C99-based-standards] (PRIXLEAST16): Likewise.
27631 [C99-based-standards] (SCNdLEAST16): Likewise.
27632 [C99-based-standards] (SCNiLEAST16): Likewise.
27633 [C99-based-standards] (SCNoLEAST16): Likewise.
27634 [C99-based-standards] (SCNuLEAST16): Likewise.
27635 [C99-based-standards] (SCNxLEAST16): Likewise.
27636 [C99-based-standards] (PRIdFAST16): Likewise.
27637 [C99-based-standards] (PRIiFAST16): Likewise.
27638 [C99-based-standards] (PRIoFAST16): Likewise.
27639 [C99-based-standards] (PRIuFAST16): Likewise.
27640 [C99-based-standards] (PRIxFAST16): Likewise.
27641 [C99-based-standards] (PRIXFAST16): Likewise.
27642 [C99-based-standards] (SCNdFAST16): Likewise.
27643 [C99-based-standards] (SCNiFAST16): Likewise.
27644 [C99-based-standards] (SCNoFAST16): Likewise.
27645 [C99-based-standards] (SCNuFAST16): Likewise.
27646 [C99-based-standards] (SCNxFAST16): Likewise.
27647 [C99-based-standards] (PRId32): Likewise.
27648 [C99-based-standards] (PRIi32): Likewise.
27649 [C99-based-standards] (PRIo32): Likewise.
27650 [C99-based-standards] (PRIu32): Likewise.
27651 [C99-based-standards] (PRIx32): Likewise.
27652 [C99-based-standards] (PRIX32): Likewise.
27653 [C99-based-standards] (SCNd32): Likewise.
27654 [C99-based-standards] (SCNi32): Likewise.
27655 [C99-based-standards] (SCNo32): Likewise.
27656 [C99-based-standards] (SCNu32): Likewise.
27657 [C99-based-standards] (SCNx32): Likewise.
27658 [C99-based-standards] (PRIdLEAST32): Likewise.
27659 [C99-based-standards] (PRIiLEAST32): Likewise.
27660 [C99-based-standards] (PRIoLEAST32): Likewise.
27661 [C99-based-standards] (PRIuLEAST32): Likewise.
27662 [C99-based-standards] (PRIxLEAST32): Likewise.
27663 [C99-based-standards] (PRIXLEAST32): Likewise.
27664 [C99-based-standards] (SCNdLEAST32): Likewise.
27665 [C99-based-standards] (SCNiLEAST32): Likewise.
27666 [C99-based-standards] (SCNoLEAST32): Likewise.
27667 [C99-based-standards] (SCNuLEAST32): Likewise.
27668 [C99-based-standards] (SCNxLEAST32): Likewise.
27669 [C99-based-standards] (PRIdFAST32): Likewise.
27670 [C99-based-standards] (PRIiFAST32): Likewise.
27671 [C99-based-standards] (PRIoFAST32): Likewise.
27672 [C99-based-standards] (PRIuFAST32): Likewise.
27673 [C99-based-standards] (PRIxFAST32): Likewise.
27674 [C99-based-standards] (PRIXFAST32): Likewise.
27675 [C99-based-standards] (SCNdFAST32): Likewise.
27676 [C99-based-standards] (SCNiFAST32): Likewise.
27677 [C99-based-standards] (SCNoFAST32): Likewise.
27678 [C99-based-standards] (SCNuFAST32): Likewise.
27679 [C99-based-standards] (SCNxFAST32): Likewise.
27680 [C99-based-standards] (PRId64): Likewise.
27681 [C99-based-standards] (PRIi64): Likewise.
27682 [C99-based-standards] (PRIo64): Likewise.
27683 [C99-based-standards] (PRIu64): Likewise.
27684 [C99-based-standards] (PRIx64): Likewise.
27685 [C99-based-standards] (PRIX64): Likewise.
27686 [C99-based-standards] (SCNd64): Likewise.
27687 [C99-based-standards] (SCNi64): Likewise.
27688 [C99-based-standards] (SCNo64): Likewise.
27689 [C99-based-standards] (SCNu64): Likewise.
27690 [C99-based-standards] (SCNx64): Likewise.
27691 [C99-based-standards] (PRIdLEAST64): Likewise.
27692 [C99-based-standards] (PRIiLEAST64): Likewise.
27693 [C99-based-standards] (PRIoLEAST64): Likewise.
27694 [C99-based-standards] (PRIuLEAST64): Likewise.
27695 [C99-based-standards] (PRIxLEAST64): Likewise.
27696 [C99-based-standards] (PRIXLEAST64): Likewise.
27697 [C99-based-standards] (SCNdLEAST64): Likewise.
27698 [C99-based-standards] (SCNiLEAST64): Likewise.
27699 [C99-based-standards] (SCNoLEAST64): Likewise.
27700 [C99-based-standards] (SCNuLEAST64): Likewise.
27701 [C99-based-standards] (SCNxLEAST64): Likewise.
27702 [C99-based-standards] (PRIdFAST64): Likewise.
27703 [C99-based-standards] (PRIiFAST64): Likewise.
27704 [C99-based-standards] (PRIoFAST64): Likewise.
27705 [C99-based-standards] (PRIuFAST64): Likewise.
27706 [C99-based-standards] (PRIxFAST64): Likewise.
27707 [C99-based-standards] (PRIXFAST64): Likewise.
27708 [C99-based-standards] (SCNdFAST64): Likewise.
27709 [C99-based-standards] (SCNiFAST64): Likewise.
27710 [C99-based-standards] (SCNoFAST64): Likewise.
27711 [C99-based-standards] (SCNuFAST64): Likewise.
27712 [C99-based-standards] (SCNxFAST64): Likewise.
27713 [C99-based-standards] (PRIdMAX): Likewise.
27714 [C99-based-standards] (PRIiMAX): Likewise.
27715 [C99-based-standards] (PRIoMAX): Likewise.
27716 [C99-based-standards] (PRIuMAX): Likewise.
27717 [C99-based-standards] (PRIxMAX): Likewise.
27718 [C99-based-standards] (PRIXMAX): Likewise.
27719 [C99-based-standards] (SCNdMAX): Likewise.
27720 [C99-based-standards] (SCNiMAX): Likewise.
27721 [C99-based-standards] (SCNoMAX): Likewise.
27722 [C99-based-standards] (SCNuMAX): Likewise.
27723 [C99-based-standards] (SCNxMAX): Likewise.
27724 [C99-based-standards] (PRIdPTR): Likewise.
27725 [C99-based-standards] (PRIiPTR): Likewise.
27726 [C99-based-standards] (PRIoPTR): Likewise.
27727 [C99-based-standards] (PRIuPTR): Likewise.
27728 [C99-based-standards] (PRIxPTR): Likewise.
27729 [C99-based-standards] (PRIXPTR): Likewise.
27730 [C99-based-standards] (SCNdPTR): Likewise.
27731 [C99-based-standards] (SCNiPTR): Likewise.
27732 [C99-based-standards] (SCNoPTR): Likewise.
27733 [C99-based-standards] (SCNuPTR): Likewise.
27734 [C99-based-standards] (SCNxPTR): Likewise.
27735 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27736 allow.
27737 * conform/data/stdint.h-data: Update comments to clarify
27738 requirements.
27739 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27740 type.
27741 [C99-based standards] (INT8_MAX): Likewise.
27742 [C99-based standards] (INT16_MIN): Likewise.
27743 [C99-based standards] (INT16_MAX): Likewise.
27744 [C99-based standards] (INT32_MIN): Likewise.
27745 [C99-based standards] (INT32_MAX): Likewise.
27746 [C99-based standards] (INT64_MIN): Likewise.
27747 [C99-based standards] (INT64_MAX): Likewise.
27748 [C99-based standards] (UINT8_MAX): Likewise.
27749 [C99-based standards] (UINT16_MAX): Likewise.
27750 [C99-based standards] (UINT32_MAX): Likewise.
27751 [C99-based standards] (UINT64_MAX): Likewise.
27752 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27753 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27754 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27755 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27756 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27757 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27758 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27759 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27760 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27761 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27762 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27763 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27764 [C99-based standards] (INT_FAST8_MIN): Likewise.
27765 [C99-based standards] (INT_FAST8_MAX): Likewise.
27766 [C99-based standards] (INT_FAST16_MIN): Likewise.
27767 [C99-based standards] (INT_FAST16_MAX): Likewise.
27768 [C99-based standards] (INT_FAST32_MIN): Likewise.
27769 [C99-based standards] (INT_FAST32_MAX): Likewise.
27770 [C99-based standards] (INT_FAST64_MIN): Likewise.
27771 [C99-based standards] (INT_FAST64_MAX): Likewise.
27772 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27773 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27774 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27775 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27776 [C99-based standards] (INTPTR_MIN): Likewise.
27777 [C99-based standards] (INTPTR_MAX): Likewise.
27778 [C99-based standards] (UINTPTR_MAX): Likewise.
27779 [C99-based standards] (INTMAX_MIN): Likewise.
27780 [C99-based standards] (INTMAX_MAX): Likewise.
27781 [C99-based standards] (UINTMAX_MAX): Likewise.
27782 [C99-based standards] (PTRDIFF_MIN): Likewise.
27783 [C99-based standards] (PTRDIFF_MAX): Likewise.
27784 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27785 [C99-based standards] (SIZE_MAX): Likewise.
27786 [C99-based standards] (WCHAR_MAX): Likewise.
27787 [C99-based standards] (WINT_MAX): Likewise.
27788 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27789 constraint on value.
27790 [C99-based standards] (WCHAR_MIN): Likewise.
27791 [C99-based standards] (WINT_MIN): Likewise.
27792 [C99-based standards] (*_t): Allow.
27793 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27794 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27795 Include math.h-data and complex.h-data. Remove all expectations
27796 of math.h and complex.h contents.
27797 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27798 at end of line.
27799 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27800 (struct tm): Expect tag.
27801 [C99-based-standards] (wcstof): Expect function.
27802 [C99-based-standards] (wcstold): Likewise.
27803 [C99-based-standards] (wcstoll): Likewise.
27804 [C99-based-standards] (wcstoull): Likewise.
27805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27806 macro-int-constant. Specify type.
27807 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27808 constraint on value.
27809 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27810 Specify type.
27811 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27812 Specify value.
27813 [ISO C standards]: Do not allow headers.
27814 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27815 wcs[abcdefghijklmnopqrstuvwxyz]*.
27816 [ISO C standards] (*_t): Do not allow.
27817 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27818 Expect function.
27819 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27821 Specify type.
27822 [ISO C standards]: Do not allow headers.
27823 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27824 is[abcdefghijklmnopqrstuvwxyz]*.
27825 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27826 to[abcdefghijklmnopqrstuvwxyz]*.
27827 [ISO C standards] (*_t): Do not allow.
27828 * conform/data/stdalign.h-data: New file.
27829 * conform/data/stdbool.h-data: Likewise.
27830 * conform/data/stdnoreturn.h-data: Likewise.
27831
7514feb8
RM
278322012-11-07 Roland McGrath <roland@hack.frob.com>
27833
27834 [BZ #14815]
27835 * manual/filesys.texi (Directory Entries): Typo fix.
27836 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27837
19b2ecfc
MS
278382012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27839
27840 * elf/elf.h (EM_AARCH64): New macro.
27841 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27842 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27843 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27844 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27845 (R_AARCH64_TLSDESC): Likewise.
27846 (NT_ARM_TLS): Likewise.
27847 (NT_ARM_HW_BREAK): Likewise.
27848 (NT_ARM_HW_WATCH): Likewise.
27849
60e235ee
JM
278502012-11-07 Joseph Myers <joseph@codesourcery.com>
27851
27852 [BZ #14811]
27853 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27854 (__ieee754_powl): Saturate nonzero exponents with absolute value
27855 below 0x1p-79 to +/- 0x1p-79.
27856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27857 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27858 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27859 nonzero exponents with absolute value below 0x1p-32 to +/-
27860 0x1p-32.
27861 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27862 (__ieee754_powl): Saturate nonzero exponents with absolute value
27863 below 0x1p-79 to +/- 0x1p-79.
27864 * math/libm-test.inc (pow_test): Add more tests.
27865
0ab234b7
AK
278662012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27867
27868 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27869 _dl_s390_cap_flags with kernel. Increase string length.
27870 (_dl_s390_platforms): Add z196 and zEC12.
27871
45832f74
JM
278722012-11-07 Joseph Myers <joseph@codesourcery.com>
27873
27874 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27875 Change XOPEN21K to XOPEN2K.
27876
19218757
MK
278772012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27878
27879 * string/memmove.c: Use memcpy when possible.
27880
c5f45721
AJ
278812012-11-06 Andreas Jaeger <aj@suse.de>
27882
27883 * po/eo.po: Update from translation team.
27884
82477c28
JM
278852012-11-06 Joseph Myers <joseph@codesourcery.com>
27886
27887 [BZ #14793]
27888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27889 exponent and small x and y exponents, scale x or y up. Increase
27890 by 2 the exponent used in scaling up.
27891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27893 * math/libm-test.inc (fma_test): Add more tests.
27894 (fma_test_towardzero): Likewise.
27895 (fma_test_downward): Likewise.
27896 (fma_test_upward): Likewise.
27897
99252c8c
JM
278982012-11-05 Joseph Myers <joseph@codesourcery.com>
27899
acfa885f
JM
27900 [BZ #14805]
27901 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27902 fenv_t *.
27903
99252c8c
JM
27904 [BZ #14801]
27905 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27906 namespace for names of struct fields.
27907 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27908 fenv_t fields.
27909 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27910 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27911
d6d98dea
ST
279122012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27913
27914 [BZ #3665]
27915 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27916
e10bb107
TS
279172012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27918
27919 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27920 PTR_DEMANGLE.
27921
27922 [BZ #5246]
27923 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27924 PTR_DEMANGLE.
27925
a0c2940d
JM
279262012-11-04 Joseph Myers <joseph@codesourcery.com>
27927
27928 [BZ #14797]
27929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27930 definitely overflow as x * y not x * y + z.
27931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27933 * math/libm-test.inc (fma_test): Add more tests.
27934 (fma_test_towardzero): Likewise.
27935 (fma_test_downward): Likewise.
27936 (fma_test_upward): Likewise.
27937
b830319d
TS
279382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27939
27940 [BZ #157]
27941
27942 * include/stub-tag.h: Remove file.
27943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27944 '#include' of it.
27945 * manual/maint.texi (Porting): Don't reference it.
27946 * Makerules ($(objpfx)stubs): Likewise.
27947 * dirent/closedir.c: Don't include <stub-tag.h>.
27948 * dirent/dirfd.c: Likewise.
27949 * dirent/fdopendir.c: Likewise.
27950 * dirent/getdents.c: Likewise.
27951 * dirent/getdents64.c: Likewise.
27952 * dirent/opendir.c: Likewise.
27953 * dirent/readdir.c: Likewise.
27954 * dirent/readdir64.c: Likewise.
27955 * dirent/readdir64_r.c: Likewise.
27956 * dirent/readdir_r.c: Likewise.
27957 * dirent/rewinddir.c: Likewise.
27958 * dirent/seekdir.c: Likewise.
27959 * dirent/telldir.c: Likewise.
27960 * gmon/profil.c: Likewise.
27961 * grp/setgroups.c: Likewise.
27962 * inet/if_index.c: Likewise.
27963 * io/access.c: Likewise.
27964 * io/chdir.c: Likewise.
27965 * io/chmod.c: Likewise.
27966 * io/chown.c: Likewise.
27967 * io/close.c: Likewise.
27968 * io/dup.c: Likewise.
27969 * io/dup2.c: Likewise.
27970 * io/dup3.c: Likewise.
27971 * io/euidaccess.c: Likewise.
27972 * io/faccessat.c: Likewise.
27973 * io/fchdir.c: Likewise.
27974 * io/fchmod.c: Likewise.
27975 * io/fchmodat.c: Likewise.
27976 * io/fchown.c: Likewise.
27977 * io/fchownat.c: Likewise.
27978 * io/fcntl.c: Likewise.
27979 * io/flock.c: Likewise.
27980 * io/fstatfs.c: Likewise.
27981 * io/fstatfs64.c: Likewise.
27982 * io/fstatvfs.c: Likewise.
27983 * io/fstatvfs64.c: Likewise.
27984 * io/futimens.c: Likewise.
27985 * io/fxstat.c: Likewise.
27986 * io/fxstat64.c: Likewise.
27987 * io/fxstatat.c: Likewise.
27988 * io/fxstatat64.c: Likewise.
27989 * io/getcwd.c: Likewise.
27990 * io/isatty.c: Likewise.
27991 * io/lchmod.c: Likewise.
27992 * io/lchown.c: Likewise.
27993 * io/link.c: Likewise.
27994 * io/linkat.c: Likewise.
27995 * io/lseek.c: Likewise.
27996 * io/lseek64.c: Likewise.
27997 * io/lxstat64.c: Likewise.
27998 * io/mkdir.c: Likewise.
27999 * io/mkdirat.c: Likewise.
28000 * io/mkfifo.c: Likewise.
28001 * io/mkfifoat.c: Likewise.
28002 * io/open.c: Likewise.
28003 * io/open64.c: Likewise.
28004 * io/openat.c: Likewise.
28005 * io/openat64.c: Likewise.
28006 * io/pipe.c: Likewise.
28007 * io/pipe2.c: Likewise.
28008 * io/poll.c: Likewise.
28009 * io/posix_fadvise.c: Likewise.
28010 * io/posix_fadvise64.c: Likewise.
28011 * io/posix_fallocate.c: Likewise.
28012 * io/posix_fallocate64.c: Likewise.
28013 * io/read.c: Likewise.
28014 * io/readlink.c: Likewise.
28015 * io/readlinkat.c: Likewise.
28016 * io/rmdir.c: Likewise.
28017 * io/sendfile.c: Likewise.
28018 * io/sendfile64.c: Likewise.
28019 * io/statfs.c: Likewise.
28020 * io/statfs64.c: Likewise.
28021 * io/statvfs.c: Likewise.
28022 * io/statvfs64.c: Likewise.
28023 * io/symlink.c: Likewise.
28024 * io/symlinkat.c: Likewise.
28025 * io/ttyname.c: Likewise.
28026 * io/ttyname_r.c: Likewise.
28027 * io/umask.c: Likewise.
28028 * io/unlink.c: Likewise.
28029 * io/unlinkat.c: Likewise.
28030 * io/utime.c: Likewise.
28031 * io/utimensat.c: Likewise.
28032 * io/write.c: Likewise.
28033 * io/xmknod.c: Likewise.
28034 * io/xmknodat.c: Likewise.
28035 * io/xstat.c: Likewise.
28036 * io/xstat64.c: Likewise.
28037 * login/getpt.c: Likewise.
28038 * login/grantpt.c: Likewise.
28039 * login/unlockpt.c: Likewise.
28040 * math/e_acoshl.c: Likewise.
28041 * math/e_acosl.c: Likewise.
28042 * math/e_asinl.c: Likewise.
28043 * math/e_atan2l.c: Likewise.
28044 * math/e_atanhl.c: Likewise.
28045 * math/e_coshl.c: Likewise.
28046 * math/e_expl.c: Likewise.
28047 * math/e_fmodl.c: Likewise.
28048 * math/e_gammal_r.c: Likewise.
28049 * math/e_hypotl.c: Likewise.
28050 * math/e_j0l.c: Likewise.
28051 * math/e_j1l.c: Likewise.
28052 * math/e_jnl.c: Likewise.
28053 * math/e_lgammal_r.c: Likewise.
28054 * math/e_log10l.c: Likewise.
28055 * math/e_log2l.c: Likewise.
28056 * math/e_logl.c: Likewise.
28057 * math/e_powl.c: Likewise.
28058 * math/e_rem_pio2l.c: Likewise.
28059 * math/e_sinhl.c: Likewise.
28060 * math/e_sqrtl.c: Likewise.
28061 * math/fclrexcpt.c: Likewise.
28062 * math/fedisblxcpt.c: Likewise.
28063 * math/feenablxcpt.c: Likewise.
28064 * math/fegetenv.c: Likewise.
28065 * math/fegetexcept.c: Likewise.
28066 * math/fegetround.c: Likewise.
28067 * math/feholdexcpt.c: Likewise.
28068 * math/fesetenv.c: Likewise.
28069 * math/fesetround.c: Likewise.
28070 * math/feupdateenv.c: Likewise.
28071 * math/fgetexcptflg.c: Likewise.
28072 * math/fraiseexcpt.c: Likewise.
28073 * math/fsetexcptflg.c: Likewise.
28074 * math/ftestexcept.c: Likewise.
28075 * math/k_cosl.c: Likewise.
28076 * math/k_rem_pio2l.c: Likewise.
28077 * math/k_sinl.c: Likewise.
28078 * math/k_tanl.c: Likewise.
28079 * math/s_asinhl.c: Likewise.
28080 * math/s_atanl.c: Likewise.
28081 * math/s_cbrtl.c: Likewise.
28082 * math/s_erfl.c: Likewise.
28083 * math/s_expm1l.c: Likewise.
28084 * math/s_log1pl.c: Likewise.
28085 * math/s_tanhl.c: Likewise.
28086 * misc/acct.c: Likewise.
28087 * misc/brk.c: Likewise.
28088 * misc/chflags.c: Likewise.
28089 * misc/chroot.c: Likewise.
28090 * misc/fchflags.c: Likewise.
28091 * misc/fgetxattr.c: Likewise.
28092 * misc/flistxattr.c: Likewise.
28093 * misc/fremovexattr.c: Likewise.
28094 * misc/fsetxattr.c: Likewise.
28095 * misc/fsync.c: Likewise.
28096 * misc/ftruncate.c: Likewise.
28097 * misc/futimes.c: Likewise.
28098 * misc/futimesat.c: Likewise.
28099 * misc/getdomain.c: Likewise.
28100 * misc/getdtsz.c: Likewise.
28101 * misc/gethostid.c: Likewise.
28102 * misc/gethostname.c: Likewise.
28103 * misc/getloadavg.c: Likewise.
28104 * misc/getpagesize.c: Likewise.
28105 * misc/getsysstats.c: Likewise.
28106 * misc/getxattr.c: Likewise.
28107 * misc/gtty.c: Likewise.
28108 * misc/ioctl.c: Likewise.
28109 * misc/lgetxattr.c: Likewise.
28110 * misc/listxattr.c: Likewise.
28111 * misc/llistxattr.c: Likewise.
28112 * misc/lremovexattr.c: Likewise.
28113 * misc/lsetxattr.c: Likewise.
28114 * misc/lutimes.c: Likewise.
28115 * misc/madvise.c: Likewise.
28116 * misc/mincore.c: Likewise.
28117 * misc/mlock.c: Likewise.
28118 * misc/mlockall.c: Likewise.
28119 * misc/mmap.c: Likewise.
28120 * misc/mprotect.c: Likewise.
28121 * misc/msync.c: Likewise.
28122 * misc/munlock.c: Likewise.
28123 * misc/munlockall.c: Likewise.
28124 * misc/munmap.c: Likewise.
28125 * misc/preadv.c: Likewise.
28126 * misc/preadv64.c: Likewise.
28127 * misc/ptrace.c: Likewise.
28128 * misc/pwritev.c: Likewise.
28129 * misc/pwritev64.c: Likewise.
28130 * misc/readv.c: Likewise.
28131 * misc/reboot.c: Likewise.
28132 * misc/remap_file_pages.c: Likewise.
28133 * misc/removexattr.c: Likewise.
28134 * misc/revoke.c: Likewise.
28135 * misc/select.c: Likewise.
28136 * misc/setdomain.c: Likewise.
28137 * misc/setegid.c: Likewise.
28138 * misc/seteuid.c: Likewise.
28139 * misc/sethostid.c: Likewise.
28140 * misc/sethostname.c: Likewise.
28141 * misc/setregid.c: Likewise.
28142 * misc/setreuid.c: Likewise.
28143 * misc/setxattr.c: Likewise.
28144 * misc/sstk.c: Likewise.
28145 * misc/stty.c: Likewise.
28146 * misc/swapoff.c: Likewise.
28147 * misc/swapon.c: Likewise.
28148 * misc/sync.c: Likewise.
28149 * misc/syncfs.c: Likewise.
28150 * misc/syscall.c: Likewise.
28151 * misc/truncate.c: Likewise.
28152 * misc/ualarm.c: Likewise.
28153 * misc/usleep.c: Likewise.
28154 * misc/ustat.c: Likewise.
28155 * misc/utimes.c: Likewise.
28156 * misc/vhangup.c: Likewise.
28157 * misc/writev.c: Likewise.
28158 * posix/_exit.c: Likewise.
28159 * posix/alarm.c: Likewise.
28160 * posix/execve.c: Likewise.
28161 * posix/fexecve.c: Likewise.
28162 * posix/fork.c: Likewise.
28163 * posix/fpathconf.c: Likewise.
28164 * posix/getaddrinfo.c: Likewise.
28165 * posix/getegid.c: Likewise.
28166 * posix/geteuid.c: Likewise.
28167 * posix/getgid.c: Likewise.
28168 * posix/getgroups.c: Likewise.
28169 * posix/getlogin.c: Likewise.
28170 * posix/getlogin_r.c: Likewise.
28171 * posix/getpgid.c: Likewise.
28172 * posix/getpid.c: Likewise.
28173 * posix/getppid.c: Likewise.
28174 * posix/getresgid.c: Likewise.
28175 * posix/getresuid.c: Likewise.
28176 * posix/getsid.c: Likewise.
28177 * posix/getuid.c: Likewise.
28178 * posix/glob64.c: Likewise.
28179 * posix/nanosleep.c: Likewise.
28180 * posix/pathconf.c: Likewise.
28181 * posix/pause.c: Likewise.
28182 * posix/posix_madvise.c: Likewise.
28183 * posix/pread.c: Likewise.
28184 * posix/pread64.c: Likewise.
28185 * posix/pwrite.c: Likewise.
28186 * posix/pwrite64.c: Likewise.
28187 * posix/sched_getaffinity.c: Likewise.
28188 * posix/sched_getp.c: Likewise.
28189 * posix/sched_gets.c: Likewise.
28190 * posix/sched_primax.c: Likewise.
28191 * posix/sched_primin.c: Likewise.
28192 * posix/sched_rr_gi.c: Likewise.
28193 * posix/sched_setaffinity.c: Likewise.
28194 * posix/sched_setp.c: Likewise.
28195 * posix/sched_sets.c: Likewise.
28196 * posix/sched_yield.c: Likewise.
28197 * posix/setgid.c: Likewise.
28198 * posix/setlogin.c: Likewise.
28199 * posix/setpgid.c: Likewise.
28200 * posix/setresgid.c: Likewise.
28201 * posix/setresuid.c: Likewise.
28202 * posix/setsid.c: Likewise.
28203 * posix/setuid.c: Likewise.
28204 * posix/sleep.c: Likewise.
28205 * posix/spawni.c: Likewise.
28206 * posix/sysconf.c: Likewise.
28207 * posix/times.c: Likewise.
28208 * posix/wait.c: Likewise.
28209 * posix/wait3.c: Likewise.
28210 * posix/wait4.c: Likewise.
28211 * posix/waitpid.c: Likewise.
28212 * resolv/gai_sigqueue.c: Likewise.
28213 * resource/getpriority.c: Likewise.
28214 * resource/getrlimit.c: Likewise.
28215 * resource/getrusage.c: Likewise.
28216 * resource/nice.c: Likewise.
28217 * resource/setpriority.c: Likewise.
28218 * resource/setrlimit.c: Likewise.
28219 * resource/ulimit.c: Likewise.
28220 * rt/aio_cancel.c: Likewise.
28221 * rt/aio_fsync.c: Likewise.
28222 * rt/aio_read.c: Likewise.
28223 * rt/aio_sigqueue.c: Likewise.
28224 * rt/aio_suspend.c: Likewise.
28225 * rt/aio_write.c: Likewise.
28226 * rt/clock_getres.c: Likewise.
28227 * rt/clock_gettime.c: Likewise.
28228 * rt/clock_nanosleep.c: Likewise.
28229 * rt/clock_settime.c: Likewise.
28230 * rt/lio_listio.c: Likewise.
28231 * rt/mq_close.c: Likewise.
28232 * rt/mq_getattr.c: Likewise.
28233 * rt/mq_notify.c: Likewise.
28234 * rt/mq_open.c: Likewise.
28235 * rt/mq_receive.c: Likewise.
28236 * rt/mq_send.c: Likewise.
28237 * rt/mq_setattr.c: Likewise.
28238 * rt/mq_timedreceive.c: Likewise.
28239 * rt/mq_timedsend.c: Likewise.
28240 * rt/mq_unlink.c: Likewise.
28241 * rt/shm_open.c: Likewise.
28242 * rt/shm_unlink.c: Likewise.
28243 * rt/timer_create.c: Likewise.
28244 * rt/timer_delete.c: Likewise.
28245 * rt/timer_getoverr.c: Likewise.
28246 * rt/timer_gettime.c: Likewise.
28247 * rt/timer_settime.c: Likewise.
28248 * setjmp/__longjmp.c: Likewise.
28249 * setjmp/setjmp.c: Likewise.
28250 * signal/kill.c: Likewise.
28251 * signal/killpg.c: Likewise.
28252 * signal/raise.c: Likewise.
28253 * signal/sigaction.c: Likewise.
28254 * signal/sigaltstack.c: Likewise.
28255 * signal/sigblock.c: Likewise.
28256 * signal/sigignore.c: Likewise.
28257 * signal/sigintr.c: Likewise.
28258 * signal/signal.c: Likewise.
28259 * signal/sigpause.c: Likewise.
28260 * signal/sigpending.c: Likewise.
28261 * signal/sigqueue.c: Likewise.
28262 * signal/sigreturn.c: Likewise.
28263 * signal/sigset.c: Likewise.
28264 * signal/sigsetmask.c: Likewise.
28265 * signal/sigstack.c: Likewise.
28266 * signal/sigsuspend.c: Likewise.
28267 * signal/sigtimedwait.c: Likewise.
28268 * signal/sigvec.c: Likewise.
28269 * signal/sigwait.c: Likewise.
28270 * signal/sigwaitinfo.c: Likewise.
28271 * signal/sysv_signal.c: Likewise.
28272 * socket/accept.c: Likewise.
28273 * socket/accept4.c: Likewise.
28274 * socket/bind.c: Likewise.
28275 * socket/connect.c: Likewise.
28276 * socket/getpeername.c: Likewise.
28277 * socket/getsockname.c: Likewise.
28278 * socket/getsockopt.c: Likewise.
28279 * socket/isfdtype.c: Likewise.
28280 * socket/listen.c: Likewise.
28281 * socket/recv.c: Likewise.
28282 * socket/recvfrom.c: Likewise.
28283 * socket/recvmsg.c: Likewise.
28284 * socket/send.c: Likewise.
28285 * socket/sendmsg.c: Likewise.
28286 * socket/sendto.c: Likewise.
28287 * socket/setsockopt.c: Likewise.
28288 * socket/shutdown.c: Likewise.
28289 * socket/sockatmark.c: Likewise.
28290 * socket/socket.c: Likewise.
28291 * socket/socketpair.c: Likewise.
28292 * stdio-common/ctermid.c: Likewise.
28293 * stdio-common/cuserid.c: Likewise.
28294 * stdio-common/remove.c: Likewise.
28295 * stdio-common/rename.c: Likewise.
28296 * stdio-common/renameat.c: Likewise.
28297 * stdio-common/tempname.c: Likewise.
28298 * stdlib/getcontext.c: Likewise.
28299 * stdlib/makecontext.c: Likewise.
28300 * stdlib/setcontext.c: Likewise.
28301 * stdlib/swapcontext.c: Likewise.
28302 * stdlib/system.c: Likewise.
28303 * streams/fattach.c: Likewise.
28304 * streams/fdetach.c: Likewise.
28305 * streams/getmsg.c: Likewise.
28306 * streams/getpmsg.c: Likewise.
28307 * streams/putmsg.c: Likewise.
28308 * streams/putpmsg.c: Likewise.
28309 * sysdeps/unix/bsd/getpt.c: Likewise.
28310 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28311 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28312 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28314 Likewise.
28315 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28317 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28318 * sysvipc/msgctl.c: Likewise.
28319 * sysvipc/msgget.c: Likewise.
28320 * sysvipc/msgrcv.c: Likewise.
28321 * sysvipc/msgsnd.c: Likewise.
28322 * sysvipc/semctl.c: Likewise.
28323 * sysvipc/semget.c: Likewise.
28324 * sysvipc/semop.c: Likewise.
28325 * sysvipc/semtimedop.c: Likewise.
28326 * sysvipc/shmat.c: Likewise.
28327 * sysvipc/shmctl.c: Likewise.
28328 * sysvipc/shmdt.c: Likewise.
28329 * sysvipc/shmget.c: Likewise.
28330 * termios/tcdrain.c: Likewise.
28331 * termios/tcflow.c: Likewise.
28332 * termios/tcflush.c: Likewise.
28333 * termios/tcgetattr.c: Likewise.
28334 * termios/tcgetpgrp.c: Likewise.
28335 * termios/tcsendbrk.c: Likewise.
28336 * termios/tcsetattr.c: Likewise.
28337 * termios/tcsetpgrp.c: Likewise.
28338 * time/adjtime.c: Likewise.
28339 * time/clock.c: Likewise.
28340 * time/getitimer.c: Likewise.
28341 * time/gettimeofday.c: Likewise.
28342 * time/setitimer.c: Likewise.
28343 * time/settimeofday.c: Likewise.
28344 * time/stime.c: Likewise.
28345 * time/time.c: Likewise.
28346
283472012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28348
a20492cf
PT
28349 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28350 /usr/old/bin.
28351
72e182e3
PT
28352 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28353 instead of spaces.
28354 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28355
fbeafede
JM
283562012-11-03 Joseph Myers <joseph@codesourcery.com>
28357
5b5b04d6
JM
28358 [BZ #14796]
28359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28360 FE_TONEAREST before applying Dekker multiplication and Knuth
28361 addition. Clear inexact exceptions and check for exact zero
28362 results afterwards.
28363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28366 * math/libm-test.inc (fma_test): Add more tests.
28367 (fma_test_towardzero): Likewise.
28368 (fma_test_downward): Likewise.
28369 (fma_test_upward): Likewise.
28370 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28371 function.
28372 (libc_fesetround): New macro.
28373 (libc_fesetroundf): Likewise.
28374 (libc_fesetroundl): Likewise.
28375 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28376 function.
28377 (libc_fesetround_387): Likewise.
28378 (libc_fesetroundf): New macro.
28379 (libc_fesetround): Likewise.
28380 (libc_fesetroundl): Likewise.
28381 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28382 function.
28383 (libc_fesetroundf): New macro.
28384 (libc_fesetround): Likewise.
28385 (libc_fesetroundl): Likewise.
28386 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28387 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28388 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28389 libm_hidden_ver.
28390 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28391 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28392 libm_hidden_def.
28393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28394 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28395 libm_hidden_ver.
28396 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28397 libm_hidden_def.
28398
fbeafede
JM
28399 [BZ #3439]
28400 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28401 integer constant usable in #if and use that to give value to enum
28402 constant.
28403 (FE_DIVBYZERO): Likewise.
28404 (FE_UNDERFLOW): Likewise.
28405 (FE_OVERFLOW): Likewise.
28406 (FE_INVALID): Likewise.
28407 (FE_INVALID_SNAN): Likewise.
28408 (FE_INVALID_ISI): Likewise.
28409 (FE_INVALID_IDI): Likewise.
28410 (FE_INVALID_ZDZ): Likewise.
28411 (FE_INVALID_IMZ): Likewise.
28412 (FE_INVALID_COMPARE): Likewise.
28413 (FE_INVALID_SOFTWARE): Likewise.
28414 (FE_INVALID_SQRT): Likewise.
28415 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28416 (FE_TONEAREST): Likewise.
28417 (FE_TOWARDZERO): Likewise.
28418 (FE_UPWARD): Likewise.
28419 (FE_DOWNWARD): Likewise.
28420 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28421 (FE_DIVBYZERO): Likewise.
28422 (FE_OVERFLOW): Likewise.
28423 (FE_UNDERFLOW): Likewise.
28424 (FE_INEXACT): Likewise.
28425 (FE_TONEAREST): Likewise.
28426 (FE_DOWNWARD): Likewise.
28427 (FE_UPWARD): Likewise.
28428 (FE_TOWARDZERO): Likewise.
28429 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28430 (FE_UNDERFLOW): Likewise.
28431 (FE_OVERFLOW): Likewise.
28432 (FE_DIVBYZERO): Likewise.
28433 (FE_INVALID): Likewise.
28434 (FE_TONEAREST): Likewise.
28435 (FE_TOWARDZERO): Likewise.
28436 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28437 (FE_OVERFLOW): Likewise.
28438 (FE_UNDERFLOW): Likewise.
28439 (FE_DIVBYZERO): Likewise.
28440 (FE_INEXACT): Likewise.
28441 (FE_TONEAREST): Likewise.
28442 (FE_TOWARDZERO): Likewise.
28443 (FE_UPWARD): Likewise.
28444 (FE_DOWNWARD): Likewise.
28445 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28446 (FE_DIVBYZERO): Likewise.
28447 (FE_OVERFLOW): Likewise.
28448 (FE_UNDERFLOW): Likewise.
28449 (FE_INEXACT): Likewise.
28450 (FE_TONEAREST): Likewise.
28451 (FE_DOWNWARD): Likewise.
28452 (FE_UPWARD): Likewise.
28453 (FE_TOWARDZERO): Likewise.
28454
105ca950
CM
284552012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28456
28457 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28458
a542b389
AS
284592012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28460
28461 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28462 commands. Quote $PWD.
28463 (blacklist_exports): Don't use remove_newlines. Replace "declare
28464 -x" by "export".
28465 (remove_newlines): Remove.
28466
f62c8abc
L
284672012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28470 * stdlib/stdlib.h (atof): Moved to ...
28471 * include/bits/stdlib-float.h: Here. New file.
28472 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28473 * stdlib/bits/stdlib-float.h: New file.
28474 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28475 -mno-sse -mno-mmx.
28476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28477 <xmmintrin.h>.
28478
0155d5b2
JM
284792012-11-02 Joseph Myers <joseph@codesourcery.com>
28480
a68d0680
JM
28481 * conform/conformtest.pl (@headers): Add fenv.h.
28482 * conform/data/fenv.h-data: New file.
28483 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28484 include of <math/fenv.h>.
28485
caf7f573
JM
28486 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28487 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28488 && !UNIX98]. Enables tests for XOPEN2K8.
28489 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28490 POSIX2008]: Likewise.
28491
6c073ad6
JM
28492 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28493 (struct rusage): Do not expect type or its members.
28494
0155d5b2
JM
28495 [BZ #3439]
28496 * math/math.h (FP_NAN): Define macro to integer constant usable in
28497 #if and use that to give value to enum constant.
28498 (FP_INFINITE): Likewise.
28499 (FP_ZERO): Likewise.
28500 (FP_SUBNORMAL): Likewise.
28501 (FP_NORMAL): Likewise.
28502
b5dcacb4
AS
285032012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28504
28505 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28506 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28507 arguments.
28508
f7934be8
RM
285092012-11-02 Roland McGrath <roland@hack.frob.com>
28510
28511 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28512 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28513 autoconf-time if not.
28514 * configure.in: Remove AC_PREREQ.
28515
d7d08bde
TMQMF
285162012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28517
28518 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28519 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28520 of the internal implementation.
28521
dcdae19a
JM
285222012-11-02 Joseph Myers <joseph@codesourcery.com>
28523
28524 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28525 except include of <misc/sys/syslog.h>.
28526
d6cffd3e
AS
285272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28528
28529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28530 function returns with a NULL context exit with zero.
28531
b3563932
TMQMF
285322012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28533
28534 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28535
b288a93d
L
285362012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28537
28538 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28539 (run_program_cmd): This.
28540 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28541 (tst_langinfo): New variable. Use it.
28542
a2421a68
SAS
285432012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28544
28545 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28546 floating point opcodes.
28547
6f796e1b
TS
285482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28549
7402596b
TS
28550 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28551 variable.
28552
d0d4f868
TS
28553 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28554
6f796e1b
TS
28555 * sysdeps/mach/hurd/powerpc: Remove directory.
28556 * sysdeps/mach/powerpc: Likewise.
28557
4da224a2
AS
285582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28559
28560 * scripts/check-local-headers.sh: Ignore c++ headers.
28561
341dd673
TS
285622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28563
28564 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28565 __libc_cleanup_region_start argument.
28566
473611b2
JM
285672012-11-01 Joseph Myers <joseph@codesourcery.com>
28568
28569 [BZ #14784]
28570 [BZ #14785]
28571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28572 x * y using scaling, not as x * y + z.
28573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28575 * math/libm-test.inc (fma_test): Add more tests.
28576 (fma_test_towardzero): Likewise.
28577 (fma_test_downward): Likewise.
28578 (fma_test_upward): Likewise.
28579
4078da3d
TS
285802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28581
28582 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28583
903252aa
JM
285842012-10-31 Joseph Myers <joseph@codesourcery.com>
28585
28586 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28587 New variable.
28588
cbc818d0
TS
285892012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28590
28591 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28592
5a03cb1e
AS
285932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28594
28595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28596 Fix sort order.
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28598 Likewise.
28599
90aff2ff
TMQMF
286002012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28601
28602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28603 Fix the order of the list for glibc 2.17.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28605 Likewise.
28606
1818fcb7
AS
286072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28608
28609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28610
ef82f4da
JM
286112012-10-31 Joseph Myers <joseph@codesourcery.com>
28612
16a0e2ec
JM
28613 [BZ #14610]
28614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28615 for low part of x being zero before using __atanl (y).
28616 * math/libm-test.inc (atan2_test): Add another test.
28617
0eb69512
JM
28618 * manual/install.texi (Configuring and compiling): Document
28619 general use of test-wrapper and test-wrapper-env.
28620 * INSTALL: Regenerated.
28621
ef82f4da
JM
28622 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28623 (__fma): Do not extract and scale down low bits on after-rounding
28624 systems when result rounded to normal precision would have normal
28625 exponent.
28626 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28627 (__fmal): Do not extract and scale down low bits on after-rounding
28628 systems when result rounded to normal precision would have normal
28629 exponent.
28630 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28631 (__fmal): Do not extract and scale down low bits on after-rounding
28632 systems when result rounded to normal precision would have normal
28633 exponent.
28634 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28635 macro.
28636 (fma_test): Add more tests.
28637 (fma_test_towardzero): Likewise.
28638 (fma_test_downward): Likewise.
28639 (fma_test_upward): Likewise.
28640
954ef0d9
L
286412012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28642
28643 * sysdeps/i386/tininess.h: Renamed to ...
28644 * sysdeps/x86/tininess.h: This.
28645 * sysdeps/x86_64/tininess.h: Removed.
28646
df61ffb2
JM
286472012-10-30 Joseph Myers <joseph@codesourcery.com>
28648
28649 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28650 input. Use $(build-program-cmd).
28651 ($(objpfx)tst-array1-static.out): Likewise.
28652 ($(objpfx)tst-array2.out): Likewise.
28653 ($(objpfx)tst-array3.out): Likewise.
28654 ($(objpfx)tst-array4.out): Likewise.
28655 ($(objpfx)tst-array5.out): Likewise.
28656 ($(objpfx)tst-array5-static.out): Likewise.
28657
01767843
CM
286582012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28659
47cc1490
CM
28660 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28661 if defined.
28662
01767843
CM
28663 * nss/nsswitch.h (nss_interface_function): Provide new
28664 macro for use with NSS functions.
28665 * grp/initgroups.c: Use new macro.
28666 * nss/getXXbyYY.c: Likewise.
28667 * nss/getXXbyYY_r.c: Likewise.
28668 * nss/getXXent.c: Likewise.
28669 * nss/getXXent_r.c: Likewise.
28670 * sysdeps/posix/getaddrinfo.c: Likewise.
28671
8321aa97
AJ
286722012-10-30 Andreas Jaeger <aj@suse.de>
28673
28674 * po/ru.po: Update Russion translation from translation project.
28675
2a27fd6d
JM
286762012-10-30 Joseph Myers <joseph@codesourcery.com>
28677
8627a232
JM
28678 [BZ #14152]
28679 [BZ #14783]
28680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28681 result and shift together with sticky bit instead of replicating
28682 round-to-nearest rounding.
28683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28685 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28686 missing underflow exceptions.
28687 (fma_test_towardzero): Add more tests.
28688 (fma_test_downward): Likewise.
28689 (fma_test_upward): Likewise.
28690
2a27fd6d
JM
28691 [BZ #14047]
28692 * sysdeps/generic/tininess.h: New file.
28693 * sysdeps/i386/tininess.h: Likewise.
28694 * sysdeps/sh/tininess.h: Likewise.
28695 * sysdeps/x86_64/tininess.h: Likewise.
28696 * stdlib/tst-strtod-underflow.c: Likewise.
28697 * stdlib/tst-tininess.c: Likewise.
28698 * stdlib/strtod_l.c: Include <tininess.h>.
28699 (round_and_return): Do not set errno for exact underflow cases.
28700 Force an underflow exception when setting errno for underflow.
28701 Determine underflow based on rounding to normal precision if
28702 TININESS_AFTER_ROUNDING.
28703 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28704 ERANGE for exact underflow cases.
28705 * stdlib/Makefile (tests): Add tst-tininess and
28706 tst-strtod-underflow.
28707 ($(objpfx)tst-tininess): Use $(link-libm).
28708 ($(objpfx)tst-strtod-underflow): Likewise.
28709
e7170363
AJ
287102012-10-30 Andreas Jaeger <aj@suse.de>
28711
e5088dc6
AJ
28712 [BZ#14767]
28713 * elf/Makefile (tests): Remove conditional for have-initfini-array
28714 since this is now always required and the variable does not exist
28715 anymore.
28716 (tests-static): Likewise.
28717 (modules-names): Likewise.
28718
e7170363 28719 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28720
28721 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28722 merged with constructor/destructor.
28723 (init_array): Likewise.
28724 * elf/tst-array2dep.c (fini_array): Likewise.
28725 (init_array): Likewise.
28726
60457d8a
MF
287272012-10-29 Mike Frysinger <vapier@gentoo.org>
28728
28729 * manual/message.texi: Delete @cartouche tags.
28730
8bece752
PT
287312012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28732
94ce799f
PT
28733 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28734 EOPNOTSUPP.
28735 * sysdeps/mach/hurd/fsync.c: Likewise.
28736
8bece752
PT
28737 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28738 [_POSIX_REALTIME_SIGNALS]: Change condition to
28739 [_POSIX_REALTIME_SIGNALS > 0].
28740
86ebe6b1
AJ
287412012-10-27 Andreas Jaeger <aj@suse.de>
28742
28743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28744 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28746 [__WORDSIZE != 64]: Likewise.
28747
54399c08
L
287482012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 * iconvdata/tst-table.sh: Remove ${SHELL}.
28751 * iconvdata/tst-tables.sh: Likewise.
28752
e2211bed
DM
287532012-10-25 David S. Miller <davem@davemloft.net>
28754
28755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28756 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28757 of strtoull.
28758
f303f97c
DM
28759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28760 ifunc-impl-list.c
28761 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28762 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28763 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28764 file.
28765
1e9d84cd
RM
287662012-10-25 Roland McGrath <roland@hack.frob.com>
28767
28768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28769 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28770 __getdirentries.
28771
df381762
JM
287722012-10-25 Joseph Myers <joseph@codesourcery.com>
28773 Jim Blandy <jimb@codesourcery.com>
28774
28775 * scripts/cross-test-ssh.sh: New file.
28776 * manual/install.texi (Configuring and compiling): Document use of
28777 cross-test-ssh.sh.
28778 * INSTALL: Regenerated.
28779
bff64913
PT
287802012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28781
28782 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28783 EOPNOTSUPP.
28784
25fe8932
JM
287852012-10-25 Joseph Myers <joseph@codesourcery.com>
28786
28787 * Makeconfig (run-program-prefix): Fix comment.
28788
cc1290d0
JM
287892012-10-24 Joseph Myers <joseph@codesourcery.com>
28790 Jim Blandy <jimb@codesourcery.com>
28791
28792 * Makeconfig (test-wrapper): New variable,
28793 (test-wrapper-env): Likewise.
28794 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28795 (run-built-tests): Define to yes.
28796 (run-program-prefix): Use $(test-wrapper).
28797 (built-program-cmd): Likewise.
28798 * Rules (make-test-out): Use $(test-wrapper-env) and
28799 $(host-built-program-cmd).
28800 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28801 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28802 tst-pathopt.sh.
28803 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28804 $(test-wrapper-env) to tst-rtld-load-self.sh.
28805 ($(objpfx)order2.out): Use $(test-wrapper).
28806 ($(objpfx)tst-initorder.out): Likewise.
28807 ($(objpfx)tst-initorder2.out): Likewise.
28808 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28809 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28810 (test_wrapper_env): New variable. Use it to run ld.so.
28811 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28812 Use it to run ld.so.
28813 (test_wrapper_env): Likewise.
28814 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28815 $(test-wrapper) to run-iconv-test.sh.
28816 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28817 (ICONV): Use $test_wrapper.
28818 * posix/Makefile ($(objpfx)globtest.out): Pass
28819 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28820 globtest.sh, not $(run-program-prefix).
28821 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28822 (test_wrapper): Likewise.
28823 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28824 set together with run_via_rtld_prefix.
28825 (run_program_prefix): Define in terms of test_wrapper and
28826 run_via_rtld_prefix.
28827
6e6249d0
RM
288282012-10-24 Roland McGrath <roland@hack.frob.com>
28829
28830 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28831 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28832 Targets removed.
28833
28834 [BZ #14743]
28835 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28836 Declare __clock_getres, __clock_gettime, __clock_settime,
28837 __clock_nanosleep, and __clock_getcpuclockid.
28838 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28839 Remove librt_hidden_def (clock_gettime).
28840 * sysdeps/unix/clock_gettime.c: Likewise.
28841 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28843 * rt/clock_getres.c: Define __clock_getres as an alias.
28844 * sysdeps/posix/clock_getres.c: Likewise.
28845 * rt/clock_settime.c: Define __clock_settime as an alias.
28846 * sysdeps/unix/clock_settime.c: Likewise.
28847 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28848 * sysdeps/unix/clock_nanosleep.c: Likewise.
28849 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28850 * rt/clock-compat.c: New file.
28851 * rt/Makefile (librt-routines): Add clock-compat and move
28852 $(clock-routines) to ...
28853 (routines): ... here, new variable.
28854 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28855 Don't add get_clockfreq here.
28856 * rt/Versions (libc: GLIBC_2.17): New version set.
28857 Add clock_* symbols here.
28858 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28860 (GLIBC_2.17): Add clock_* symbols.
28861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28865 Likewise.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28867 Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28872 * NEWS: Mention the move.
28873
28874 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28875 Use __open, __read, __close rather than their public counterparts.
28876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28877 (__get_clockfreq_via_cpuinfo): Likewise.
28878 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28879 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28880
28881 * config.h.in (HAVE_IFUNC): New #undef.
28882 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28883 was successful.
28884 * configure: Regenerated.
28885
0cae3f4b
MF
288862012-10-24 Mike Frysinger <vapier@gentoo.org>
28887
28888 * configure.in: Move READELF check to start of file.
28889 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28890 libc_cv_asm_gnu_indirect_function in the process.
28891 * configure: Regenerated.
28892
8175a253
MF
288932012-10-24 Mike Frysinger <vapier@gentoo.org>
28894
28895 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28896 send the output to /dev/null.
28897 (libc_cv_cc_with_libunwind): Likewise.
28898 (libc_cv_as_noexecstack): Likewise.
28899 * configure: Regenerate.
28900
0708a7d1
JM
289012012-10-24 Joseph Myers <joseph@codesourcery.com>
28902
10b40d85
JM
28903 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28904
0708a7d1
JM
28905 * posix/globtest.sh (TMPDIR): Do not set.
28906 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28907 (testout): Likewise.
28908
9fddec1a
AJ
289092012-10-24 Andreas Jaeger <aj@suse.de>
28910
3a8db22f
AJ
28911 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28912 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28913 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28914 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28915 posix_fadvise64, posix_fallocate64.
28916
9fddec1a
AJ
28917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28918 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28919 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28920 Likewise.
28921 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28922 Likewise.
28923 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28924
28925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28926 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28927 <bits/fcntl-linux.h>.
28928 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28929
28930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28931 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28932 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28933 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28934 [__WORDSIZE != 64]: Likewise.
28935
ebfd1bbd
JM
289362012-10-23 Joseph Myers <joseph@codesourcery.com>
28937
03ac099f
JM
28938 * Makeconfig (run-built-tests): New variable.
28939 * Rules [$(cross-compiling) = yes]: Change condition to
28940 [$(run-built-tests) = no].
28941 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28942 to [$(run-built-tests) = yes].
28943 * elf/Makefile [$(cross-compiling) = no]: Likewise
28944 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28945 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28946 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28947 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28948 * io/Makefile [$(cross-compiling) = no]: Likewise.
28949 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28950 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28951 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28952 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28953 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28954 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28955 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28956 * string/Makefile [$(cross-compiling) = no]: Likewise.
28957
ebfd1bbd
JM
28958 * posix/Makefile ($(objpfx)globtest.out): Pass
28959 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28960 $(rtld-installed-name).
28961 * posix/globtest.sh (elf_objpfx): Remove variable.
28962 (rtld_installed_name): Likewise.
28963 (library_path): Likewise.
28964 (run_program_prefix): New variable. Use for running globtest
28965 binary.
28966
166bca24
JB
289672012-10-23 Jim Blandy <jimb@codesourcery.com>
28968 Joseph Myers <joseph@codesourcery.com>
28969
28970 * Makeconfig (host-built-program-cmd): New variable.
28971 * elf/Makefile (tst-stackguard1-ARGS): Use
28972 $(host-built-program-cmd).
28973 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28974 (tst-spawn-ARGS): Likewise.
28975 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28976
88866099
JM
289772012-10-23 Joseph Myers <joseph@codesourcery.com>
28978 Jim Blandy <jimb@codesourcery.com>
28979
28980 * Makeconfig (run-via-rtld-prefix): New variable.
28981 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28982 (built-program-cmd): Likewise.
28983
b4b4c296
AJ
289842012-10-22 Andreas Jaeger <aj@suse.de>
28985
28986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28987 __O_RSYNC if it exists, otherwise to O_SYNC.
28988
6fb54a22
JB
289892012-10-22 Jim Blandy <jimb@codesourcery.com>
28990 Joseph Myers <joseph@codesourcery.com>
28991
28992 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28993 /dev/null.
28994 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28995 from /dev/null
28996 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28997 /dev/null.
28998
481b90b9
AJ
289992012-10-22 Andreas Jaeger <aj@suse.de>
29000
2a0e2669
AJ
29001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29002 Define always.
29003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29004
76e38f9a
AJ
29005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29006 bits/fcntl-linux.h.
29007
7cd37b43
AJ
29008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29009 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29010
481b90b9
AJ
29011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29012 to __O_LARGEFILE.
29013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29014 to __O_LARGEFILE.
29015
aba75984
JB
290162012-10-21 Jim Blandy <jimb@codesourcery.com>
29017 Joseph Myers <joseph@codesourcery.com>
29018
29019 * config.make.in (NM): New variable.
29020
88d4247f
AJ
290212012-10-21 Andreas Jaeger <aj@suse.de>
29022
29023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29024 definitions and declarations that are provided by
29025 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29026
f2eed205
L
290272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29028
29029 [BZ #14683]
29030 * elf/Makefile (tests-static): Add tst-leaks1-static.
29031 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29032 ($(objpfx)tst-leaks1-static): New rule.
29033 ($(objpfx)tst-leaks1-static-mem): Likewise.
29034 (tst-leaks1-static-ENV): New macro.
29035 * elf/dl-open.c (dl_open_worker): Check the main application
29036 only if SHARED is defined.
29037 * elf/tst-leaks1-static.c: New file.
29038
335e6931
AJ
290392012-10-20 Andreas Jaeger <aj@suse.de>
29040
29041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29042 generic values for Linux.
29043 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29044 and declarations that are provided by <bits/fcntl-linux.h> and
29045 include <bits/fcntl-linux.h>.
29046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29048
ac5c94d3
RM
290492012-10-20 Roland McGrath <roland@hack.frob.com>
29050
29051 * io/fcntl.h: Move include of <bits/types.h> to the top and
29052 include it unconditionally.
29053
de54b33a
L
290542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29055
228cfb01
L
29056 * wcsmbs/Makefile (tests-ifunc): New variable.
29057 (tests): Add $(tests-ifunc).
29058 * wcsmbs/test-wcschr-ifunc.c: New file.
29059 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29060 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29061 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29062 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29063 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29064
69f07e5f
L
29065 * string/Makefile (tests-ifunc): New variable.
29066 (tests): Add $(tests-ifunc).
29067 * string/test-memccpy.c (TEST_NAME): New macro.
29068 * string/test-memchr.c (TEST_NAME): Likewise.
29069 * string/test-memcmp.c (TEST_NAME): Likewise.
29070 * string/test-memcpy.c (TEST_NAME): Likewise.
29071 * string/test-memmem.c (TEST_NAME): Likewise.
29072 * string/test-memmove.c (TEST_NAME): Likewise.
29073 * string/test-memset.c (TEST_NAME): Likewise.
29074 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29075 * string/test-stpcpy.c (TEST_NAME): Likewise.
29076 * string/test-stpncpy.c (TEST_NAME): Likewise.
29077 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29078 * string/test-strcasestr.c (TEST_NAME): Likewise.
29079 * string/test-strcat.c (TEST_NAME): Likewise.
29080 * string/test-strchr.c (TEST_NAME): Likewise.
29081 * string/test-strcmp.c(TEST_NAME): Likewise.
29082 * string/test-strcpy.c (TEST_NAME): Likewise.
29083 * string/test-strcspn.c (TEST_NAME): Likewise.
29084 * string/test-strlen.c (TEST_NAME): Likewise.
29085 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29086 * string/test-strncmp.c (TEST_NAME): Likewise.
29087 * string/test-strncpy.c (TEST_NAME): Likewise.
29088 * string/test-strnlen.c (TEST_NAME): Likewise.
29089 * string/test-strpbrk.c (TEST_NAME): Likewise.
29090 * string/test-strrchr.c (TEST_NAME): Likewise.
29091 * string/test-strspn.c (TEST_NAME): Likewise.
29092 * string/test-strstr.c (TEST_NAME): Likewise.
29093 * string/test-bcopy-ifunc.c: New file.
29094 * string/test-bzero-ifunc.c: Likewise.
29095 * string/test-memccpy-ifunc.c: Likewise.
29096 * string/test-memchr-ifunc.c: Likewise.
29097 * string/test-memcmp-ifunc.c: Likewise.
29098 * string/test-memcpy-ifunc.c: Likewise.
29099 * string/test-memmem-ifunc.c: Likewise.
29100 * string/test-memmove-ifunc.c: Likewise.
29101 * string/test-mempcpy-ifunc.c: Likewise.
29102 * string/test-memset-ifunc.c: Likewise.
29103 * string/test-rawmemchr-ifunc.c: Likewise.
29104 * string/test-stpcpy-ifunc.c: Likewise.
29105 * string/test-stpncpy-ifunc.c: Likewise.
29106 * string/test-strcasecmp-ifunc.c: Likewise.
29107 * string/test-strcasestr-ifunc.c: Likewise.
29108 * string/test-strcat-ifunc.c: Likewise.
29109 * string/test-strchr-ifunc.c: Likewise.
29110 * string/test-strchrnul-ifunc.c: Likewise.
29111 * string/test-strcmp-ifunc.c: Likewise.
29112 * string/test-strcpy-ifunc.c: Likewise.
29113 * string/test-strcspn-ifunc.c: Likewise.
29114 * string/test-strlen-ifunc.c: Likewise.
29115 * string/test-strncasecmp-ifunc.c: Likewise.
29116 * string/test-strncat-ifunc.c: Likewise.
29117 * string/test-strncmp-ifunc.c: Likewise.
29118 * string/test-strncpy-ifunc.c: Likewise.
29119 * string/test-strnlen-ifunc.c: Likewise.
29120 * string/test-strpbrk-ifunc.c: Likewise.
29121 * string/test-strrchr-ifunc.c: Likewise.
29122 * string/test-strspn-ifunc.c: Likewise.
29123 * string/test-strstr-ifunc.c: Likewise.
29124
de54b33a
L
29125 * debug/Makefile (tests-ifunc): New variable.
29126 (tests): Add $(tests-ifunc).
29127 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29128 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29129 * debug/test-stpcpy_chk-ifunc.c: New file.
29130 * debug/test-strcpy_chk-ifunc.c: Likewise.
29131
88481c16
SP
291322012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29133
29134 [BZ #13601]
29135 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29136 header is not read in.
29137
135948bd
JM
291382012-10-19 Joseph Myers <joseph@codesourcery.com>
29139
89f1c388
JM
29140 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29141 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29142 directly. Pass built executable to script as
29143 $(built-program-cmd).
29144 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29145 $testprogram without using LD_LIBRARY_PATH and $ldso.
29146
e40a0d21
JM
29147 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29148 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29149 $(rtld-installed-name).
29150 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29151 (rtld_installed_name): Likewise.
29152 (library_path): Likewise.
29153 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29154 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29155 $(run-program-prefix) to tst-tables.sh.
29156 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29157 it to run tst-table-from and tst-table-to.
29158 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29159 Pass it to tst-table.sh.
29160 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29161 $(run-program-prefix) to tst-gettext.sh.
29162 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29163 tst-translit.sh.
29164 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29165 tst-gettext2.sh.
29166 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29167 to run tst-gettext.
29168 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29169 to run tst-gettext2.
29170 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29171 to run tst-translit.
29172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29173 $(run-program-prefix) to tst-mtrace.sh.
29174 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29175 to run tst-mtrace.
29176 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29177 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29178 $(rtld-installed-name).
29179 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29180 (rtld_installed_name): Likewise.
29181 (run_program_prefix): New variable. Use it to run wordexp-test.
29182
728e272a
JM
29183 * Makeconfig (ARCH): Remove all definitions.
29184 (machine): Likewise.
29185 [ARCH]: Remove conditional code.
29186 [!objdir]: Give error.
29187 [!objdir] (objpfx): Remove.
29188 [!objdir] (common-objpfx): Likewise.
29189 [!objdir] (common-objdir): Likewise.
29190 * configure.in (config_makefile): Remove. Hardcode Makefile in
29191 AC_CONFIG_FILES call.
29192 * configure: Regenerated.
29193
d528cdcf
JM
29194 [BZ #13888]
29195 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29196 or TMPDIR.
29197 (testout): Likewise.
29198
135948bd
JM
29199 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29200 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29201 $(rtld-installed-name).
29202 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29203 (rtld_installed_name): Likwise.
29204 (runit): Remove function.
29205 (run_getconf): New variable, Use it for running getconf binary.
29206
38c78296
L
292072012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29208
29209 [BZ #14716]
29210 * string/test-memmem.c (check_result): New function.
29211 (do_one_test): Use it.
29212 (check1): New function.
29213 (test_main): Use it.
29214
d077f65f
MT
292152012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29216
29217 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29218
ced52c71
JM
292192012-10-18 Joseph Myers <joseph@codesourcery.com>
29220
29221 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29222 (_G_LSEEK64): Likewise.
29223 (_G_MMAP64): Likewise.
29224 (_G_FSTAT64): Likewise.
29225 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29226 (_G_LSEEK64): Likewise.
29227 (_G_MMAP64): Likewise.
29228 (_G_FSTAT64): Likewise.
29229 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29230 unconditional. Call __mmap64 directly.
29231 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29232 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29233 __lseek64 directly.
29234 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29235 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29236 __mmap64 directly.
29237 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29238 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29239 __lseek64 directly.
29240 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29241 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29242 __lseek64 directly.
29243 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29244 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29245 __lseek64 directly.
29246 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29247 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29248 __fxstat64 directly.
29249 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29250 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29251 unconditional.
29252 (freopen64) [!_G_OPEN64]: Remove conditional code.
29253 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29254 unconditional.
29255 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29256 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29257 unconditional.
29258 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29259 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29260 unconditional.
29261 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29262 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29263 unconditional.
29264 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29265 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29266 unconditional.
29267 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29268 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29269 unconditional.
29270 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29271 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29272 unconditional.
29273 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29274
b741de23
SP
292752012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
29277 [BZ #12140]
29278 * manual/memory.texi (Malloc Tunable Parameters): Add note
29279 about free list pointers overwriting some perturb bytes.
29280 Wording suggested by Roland McGrath.
29281
f9b9d9c9
JM
292822012-10-17 Joseph Myers <joseph@codesourcery.com>
29283
29284 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29285 (lgamma_test): Likewise.
29286 (tgamma_test): Likewise.
29287
172a631a
FW
292882012-10-16 Florian Weimer <fweimer@redhat.com>
29289
29290 [BZ #14700]
29291 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29292 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29293
e9f37252
MK
292942012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29295
29296 * NEWS: Mention BZ #14716.
29297 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29298 when removing AVAILABLE1_USES_J macro.
29299
d394eb74
L
293002012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29303 (__bswap_64): __uint64_t for unsigned 64-bit int.
29304
ca38dc17
AS
293052012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29306
29307 * include/string.h (memmem): Declare libc hidden alias.
29308 * string/memmem.c (memmem): Define libc hidden alias.
29309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29310 __read, __close instead of open, read, close.
29311
9a387d1f
L
293122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29313
ac49ecaf
L
29314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29315 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29316 global and hidden.
29317 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29318 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29319 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29320 Likewise.
29321 (__rawmemchr_sse2): Likewise.
29322 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29323 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29324 (__strchr_sse2): Likewise.
29325 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29326 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29327 (__strcasecmp_sse2): Likewise.
29328 (__strncasecmp_sse2): Likewise.
29329 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29330 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29331 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29332 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29333 (__strrchr_sse2): Likewise.
29334 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29335 ifunc-impl-list.c.
29336 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29338 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29339 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29340 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29341 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29342 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29343 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29344 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29345 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29346 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29347 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29348 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29349 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29350 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29352 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29353 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29354 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29355 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29356 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29357 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29358 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29359 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29360 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29362 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29363 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29364 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29365 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29366
b090e8ea
L
29367 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29368 global and hidden.
29369 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29370 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29371 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29372 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29373 Likewise.
29374 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29375 Likewise.
29376 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29377 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29378 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29379 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29380 ifunc-impl-list.c.
29381 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29394 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29395 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29398 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29406 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29407 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29408 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29409 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29411 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29412 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29413 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29414 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29415 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29416 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29417 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29418 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29419 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29420 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29421 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29422
11dd4af6
L
29423 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29424 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29425 * include/ifunc-impl-list.h: New file.
29426 * misc/ifunc-impl-list.c: Likewise.
29427 * misc/Makefile (routines): Add ifunc-impl-list.
29428 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29429 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29430 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29431 TEST_NAME]: New variables.
11dd4af6
L
29432 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29433 are defined.
29434 (test_init): Call __libc_ifunc_impl_list to initialize
29435 func_list if TEST_IFUNC and TEST_NAME are defined.
29436
9a387d1f
L
29437 * string/Makefile (strop-tests): Add bcopy and bzero.
29438 * string/test-bcopy.c: New file.
29439 * string/test-bzero.c: Likewise.
29440 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29441 defined.
29442 * string/test-memset.c: Support bzero test if TEST_BZERO is
29443 defined.
29444 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29445 __libc_memmove.
29446 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29447 __libc_memset.
29448 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29449 of memset.
29450
472371b9
JM
294512012-10-10 Joseph Myers <joseph@codesourcery.com>
29452
1e4a9536
JM
29453 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29454 * configure: Regenerated.
29455
d173d12e
JM
29456 * Makeconfig (+link-static-before-libc): Don't include
29457 $(link-static-libc).
29458
472371b9
JM
29459 * libio/libio.h (_IO_pos_t): Remove.
29460
89a3ad0b
AO
294612012-10-10 Alexandre Oliva <aoliva@redhat.com>
29462
29463 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29464 McGrath.
29465
e7451425
AO
294662012-10-10 Alexandre Oliva <aoliva@redhat.com>
29467
29468 * crypt/crypt-entry.c: Include fips-private.h.
29469 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29470 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29471 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29472 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29473
4ba74a35
AO
294742012-10-10 Alexandre Oliva <aoliva@redhat.com>
29475
29476 * crypt/crypt-private.h: Include stdbool.h.
29477 (_ufc_setup_salt_r): Return bool.
29478 * crypt/crypt-entry.c: Include errno.h.
29479 (__crypt_r): Return NULL with EINVAL for bad salt.
29480 * crypt/crypt_util.c (bad_for_salt): New.
29481 (_ufc_setup_salt_r): Check that salt is long enough and within
29482 the specified alphabet.
29483 * crypt/badsalttest.c: New file.
29484 * crypt/Makefile (tests): Add it.
29485 ($(objpfx)badsalttest): New.
29486
f96f1242
MK
294872012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29488
29489 * NEWS: Add entry for BZ #14602.
29490
0e8e0c1c
JM
294912012-10-09 Joseph Myers <joseph@codesourcery.com>
29492
29493 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29494 type-generic.
29495 * math/libm-test.inc: Update comment listing what functions and
29496 macros are tested.
29497 (isgreater_test): New function.
29498 (isgreaterequal_test): Likewise.
29499 (isless_test): Likewise.
29500 (islessequal_test): Likewise.
29501 (islessgreater_test): Likewise.
29502 (isunordered_test): Likewise.
29503 (main): Call the new functions.
29504
273edc5e
RM
295052012-10-09 Roland McGrath <roland@hack.frob.com>
29506
b8493de0
RM
29507 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29508 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29509 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29510 * sysdeps/i386/configure: Regenerated.
29511 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29512 * sysdeps/mach/configure: Regenerated.
29513 * sysdeps/mach/hurd/configure: Regenerated.
29514 * sysdeps/powerpc/configure: Regenerated.
29515 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29516 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29517 * sysdeps/s390/s390-32/configure: Regenerated.
29518 * sysdeps/s390/s390-64/configure: Regenerated.
29519 * sysdeps/sh/configure: Regenerated.
29520 * sysdeps/sparc/configure: Regenerated.
29521 * sysdeps/unix/sysv/linux/configure: Regenerated.
29522 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29523 * sysdeps/x86_64/configure: Regenerated.
29524
273edc5e
RM
29525 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29526 defined. Don't check if MAP is NULL.
29527
c8450f70
JM
295282012-10-09 Joseph Myers <joseph@codesourcery.com>
29529
29530 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29531 (_G_stat64): Likewise.
29532 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29533 (_G_stat64): Likewise.
29534 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29535 instead of struct _G_stat64.
29536 * libio/fileops.c (mmap_remap_check): Likewise.
29537 (decide_maybe_mmap): Likewise.
29538 (_IO_new_file_seekoff): Likewise.
29539 (_IO_file_stat): Likewise.
29540 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29541 _G_off64_t.
29542 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29543 instead of struct _G_stat64.
29544 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29545
57e605ba
MK
295462012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29547
29548 [BZ #14602]
29549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29550 Replace with ...
29551 (CHECK_EOL): New macro.
29552 (two_way_short_needle): Check beginning of haystack for EOL. Use
29553 CHECK_EOL.
29554 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29555 Replace with CHECK_EOL.
29556 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29557 Replace with CHECK_EOL.
29558
ef1bb361
JM
295592012-10-08 Joseph Myers <joseph@codesourcery.com>
29560
29561 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29562 type-generic.
29563 * math/libm-test.inc: Update comment listing what functions and
29564 macros are tested.
29565 (finite_test): New function.
29566 (isinf_test): Likewise.
29567 (isnan_test): Likewise.
29568 (fpclassify_test): Test subnormal input.
29569 (isfinite_test): Likewise.
29570 (isnormal_test): Likewise.
29571 (main): Call the new functions.
29572
55f11534
JN
295732012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29574
29575 [BZ #14660]
29576 * Makerules (%.dynsym): Force C locale when running
29577 $(OBJDUMP) --dynamic-syms.
29578
1ab29350
AS
295792012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29580
29581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29582 <stdint.h>.
29583
f1ecb7ef
DM
295842012-10-06 David S. Miller <davem@davemloft.net>
29585
29586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29587 upper 32-bits of the length value in %o2 since we use branch-on-register
29588 tests which consider the entire 64-bit register.
29589
5d41d91a
L
295902012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29591
29592 * string/test-strstr.c (check2): Add a test for page boundary.
29593
3baddb72
DM
295942012-10-05 David S. Miller <davem@davemloft.net>
29595
29596 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29598 file.
29599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29600 sysdep_routines.
29601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29602 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29603 and bzero when HWCAP_SPARC_CRYPTO is present.
29604
9cee5585
L
296052012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29606
d7e0dab9
L
29607 [BZ #14602]
29608 * string/test-strstr.c (check2): New function.
29609 (test_main): Call check2.
29610
03759f47
L
29611 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29612 and bug-strchr1.
29613 * string/bug-strcasestr1.c (do_test): Moved to ...
29614 * string/test-strcasestr.c (check1): Here. New function.
29615 (do_one_test): Break out result checking code into ...
29616 (check_result): This. New function.
29617 (do_one_test): Call check_result.
29618 (test_main): Call check1.
29619 * string/bug-strchr1.c (do_test): Moved to ...
29620 * string/test-strchr.c (check1): Here. New function.
29621 (do_one_test): Break out result checking code into ...
29622 (check_result): This. New function.
29623 (do_one_test): Call check_result.
29624 (test_main): Call check1.
29625 * string/bug-strstr1.c (main): Moved to ...
046f153e 29626 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29627 (do_one_test): Break out result checking code into ...
29628 (check_result): This. New function.
29629 (do_one_test): Call check_result.
29630 (test_main): Call check1.
29631 * string/bug-strcasestr1.c: Removed.
29632 * string/bug-strchr1.c: Likewise.
29633 * string/bug-strstr1.c: Likewise.
29634
53cea63e
L
29635 * elf/Makefile (dl-routines): Add hwcaps.
29636 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29637 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29638 (_dl_important_hwcaps): Moved to ...
29639 * elf/dl-hwcaps.c: Here. New file.
29640 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29641
9cee5585 29642 [BZ #14557]
bb859b06
L
29643 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29644 if IS_IN_rtld isn't defined.
29645
9cee5585
L
29646 * elf/dl-support.c (_dl_sysinfo_map): New.
29647 Include "get-dynamic-info.h" and "setup-vdso.h".
29648 (_dl_non_dynamic_init): Call setup_vdso.
29649 * elf/dynamic-link.h: Don't include <assert.h>.
29650 (elf_get_dynamic_info): Moved to ...
29651 * elf/get-dynamic-info.h: Here. New file.
29652 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29653 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29654 * elf/setup-vdso.h: Here. New file.
29655 * elf/rtld.c: Include "setup-vdso.h".
29656 (dl_main): Call setup_vdso.
29657
23c31b76
JM
296582012-10-05 Joseph Myers <joseph@codesourcery.com>
29659
28234b07
JM
29660 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29661 creal in comment listing functions tested. List finite, isinf,
29662 isnan, isless, islessequal, isgreater, isgreaterequal,
29663 islessgreater, isunordered, lgamma_r and pow10 as functions and
29664 macros not tested. Mention which functions not tested are aliases
29665 for other functions. Fix typo. Note that signs of NaNs are not
29666 tested.
29667
23c31b76
JM
29668 * scripts/config.guess: Update from config.git.
29669 * scripts/config.sub: Likewise.
29670
9043e228
RM
296712012-10-04 Roland McGrath <roland@hack.frob.com>
29672
29673 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29674 * misc/madvise.c (madvise): Renamed to __madvise.
29675 Make madvise a weak alias.
29676 * include/sys/mman.h: Declare __madvise.
29677 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29678 * sysdeps/unix/syscalls.list
29679 (madvise): Make __madvise the strong name, and madvise a weak alias.
29680 * sysdeps/unix/sysv/linux/syscalls.list
29681 (madvise, mmap): Remove redundant entries.
29682 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29683 * malloc/malloc.c (mtrim): Likewise.
29684 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29685
f57f8055
RM
296862012-10-03 Roland McGrath <roland@hack.frob.com>
29687
29688 * sysdeps/mach/hurd/dl-cache.c: File removed.
29689 * config.h.in (USE_LDCONFIG): New #undef.
29690 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29691 * configure: Regenerated.
29692 * elf/Makefile (dl-routines): Add dl-cache only under
29693 [$(use-ldconfig) = yes].
29694 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29695 cache on [USE_LDCONFIG].
29696 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29697 [USE_LDCONFIG].
29698 * elf/rtld.c (dl_main): Likewise.
29699
5bb0c10a
PT
297002012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29701
29702 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29703 _SC_LEVEL4_CACHE_LINESIZE.
29704
010188c6
RM
297052012-10-03 Roland McGrath <roland@hack.frob.com>
29706
29707 * sysdeps/unix/bsd/confstr.h: File removed.
29708
b6c5ec07
AO
297092012-10-02 Alexandre Oliva <aoliva@redhat.com>
29710
29711 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29712 sys/sdt-config.h.
29713
408223d4
RM
297142012-10-02 Roland McGrath <roland@hack.frob.com>
29715
29716 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29717 Make 'mapoff' field ElfW(Off) rather than off_t.
29718
bb9510dc
DL
297192012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29720
fc997c6e
DL
29721 * nscd/Makefile: Remove nscd-cflags and all its users.
29722 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29723 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29724
bb9510dc
DL
29725 [BZ #10631]
29726 * malloc.c (malloc_printerr): Clarify error message.
29727
05699367
L
297282012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 [BZ #14648]
29731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29732 Set bit_FMA_Usable if FMA is supported.
29733 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29734 macro.
29735 (bit_FMA4_Usable): Updated.
29736 (index_FMA_Usable): New macro.
29737 (CPUID_FMA): Likewise
29738 (HAS_FMA): Defined with bit_FMA_Usable.
29739
51367701
RM
297402012-10-01 Roland McGrath <roland@hack.frob.com>
29741
29742 * bits/types.h (__swblk_t): Type removed.
29743 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29744 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29746 (__SWBLK_T_TYPE): Likewise.
29747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29748 (__SWBLK_T_TYPE): Likewise.
29749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29750 (__SWBLK_T_TYPE): Likewise.
29751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29752 (__SWBLK_T_TYPE): Likewise.
29753
4d57bf63 297542012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29755 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29756
29757 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29758 (xdr_mapname): Use YPMAXMAP as maxsize.
29759 (xdr_peername): Use YPMAXPEER as maxsize.
29760 (xdr_keydat): Use YPAXRECORD as maxsize.
29761 (xdr_valdat): Use YPMAXRECORD as maxsize.
29762
93c65d43
RM
297632012-10-01 Roland McGrath <roland@hack.frob.com>
29764
497a03d6
RM
29765 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29766
93c65d43
RM
29767 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29768 * csu/init-first.c: ... here.
29769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29770 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29771 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29772 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29773 * sysdeps/i386/init-first.c: File removed.
29774 * sysdeps/sh/init-first.c: File removed.
29775
bec749fd
JM
297762012-10-01 Joseph Myers <joseph@codesourcery.com>
29777
29778 [BZ #14645]
29779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29780 if x * y might underflow to zero and z is zero.
29781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29783 * math/libm-test.inc (min_subnorm_value): New variable.
29784 (fma_test): Add more tests.
29785 (fma_test_towardzero): Likewise.
29786 (fma_test_downward): Likewise
29787 (fma_test_upward): Likewise.
29788 (initialize): Set min_subnorm_value.
29789
8ec5b013
JM
297902012-09-29 Joseph Myers <joseph@codesourcery.com>
29791
29792 [BZ #14638]
29793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29794 0 + 0.
29795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29796 mode for addition resulting in exact zero.
29797 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29799 exact 0 + 0.
29800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29802 * math/libm-test.inc (fma_test): Add more tests.
29803 (fma_test_towardzero): New function.
29804 (fma_test_downward): Likewise.
29805 (fma_test_upward): Likewise.
29806 (main): Call the new functions.
29807
b1fa802e
DM
298082012-09-28 David S. Miller <davem@davemloft.net>
29809
29810 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29811
d3b9fd9e
RM
298122012-09-28 Roland McGrath <roland@hack.frob.com>
29813
ea4d37b3
RM
29814 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29815 instead of SIGALRM.
29816
ac51c949
RM
29817 * sysdeps/gnu/_G_config.h: Moved to ...
29818 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29819 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29820 * sysdeps/generic/_G_config.h: ... here.
29821
28c195f7
RM
29822 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29823
848917f9
RM
29824 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29825
6bacf05b
RM
29826 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29827 Conditionalize target on [libnss_test1.so-version].
29828
91363dbb
RM
29829 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29830
cc87f7d8
RM
29831 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29832 (elfobjdir): Move out of conditionals.
29833
b1c608fe
RM
29834 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29835 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29836 (__nss_lookup_function): Conditionalize label remove_from_tree on
29837 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29838
1d9a6d96
DM
298392012-09-28 David S. Miller <davem@davemloft.net>
29840
29841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29843 file.
29844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29845 sysdep_routines.
29846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29848 when HWCAP_SPARC_CRYPTO is present.
29849
72581615
PT
298502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29851
29852 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29853
715a900c
JL
298542012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29855
29856 [BZ #6530]
29857 * stdio-common/vfprintf.c (process_string_arg): Revert
29858 2000-07-22 change.
29859
298602011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29861
29862 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29863 for testcase.
29864 * stdio-common/tst-sprintf.c: Include <locale.h>
29865 (main): Test sprintf's handling of incomplete multibyte
29866 characters.
29867
9bac1d86
L
298682012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29869
29870 * elf/dl-runtime.c (VERSYMIDX): Removed.
29871 * elf/dl-version.c (VERSYMIDX): Likewise.
29872 * elf/do-rel.h (VERSYMIDX): Likewise.
29873 (VALIDX): Likewise.
29874 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29875 * elf/rtld.c (VALIDX): Likewise.
29876 (ADDRIDX): Likewise.
9bac1d86
L
29877 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29878 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29879 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29880 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29881 (VALIDX): Likewise.
29882 (ADDRIDX): Likewise.
9bac1d86 29883
b31606c0
PT
298842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29885
29886 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29887
11541177
JL
298882012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29889
29890 [BZ #11438]
29891 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29892 to global scope.
29893 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29894 addresses are in the same scope as 192.0.2/24.
29895 * posix/gai.conf: Document new scope table defaults.
29896
adb26fae
SP
298972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29898
29899 [BZ #5298]
29900 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29901 for ftell. Compute offsets from write pointers instead.
29902 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29903
4573c6b0
SP
299042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29905
29906 [BZ #14543]
29907 * libio/Makefile (tests): New test case tst-fseek.
29908 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29909 combination works in wide mode.
29910 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29911 state when the external buffer state changes.
29912
aa9bbfe6
DM
299132012-09-27 David S. Miller <davem@davemloft.net>
29914
29915 [BZ #14376]
29916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29917 pass reloc->r_addend in as the 'high' argument to
29918 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29919
784421e7
DM
29920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29921
c39bc8b8
PT
299222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29923
29924 * rt/tst-aio2.c: Include <pthread.h>.
29925 * rt/tst-aio3.c: Likewise.
29926
1ccc2399
SE
299272012-09-27 Steve Ellcey <sellcey@mips.com>
29928
29929 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29930
31ed4153
L
299312012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29932
25f5f885
L
29933 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29934 contents on [SHARED].
31ed4153 29935
b7bfe116
MP
299362012-09-26 Marek Polacek <polacek@redhat.com>
29937
29938 [BZ #14530]
29939 [BZ #13741]
29940 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29941 for C++ and GCC <4.3 as well as for non GCC compilers.
29942
43c4edba
MT
299432012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29944
29945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29946
6a1bf82f
RM
299472012-09-25 Roland McGrath <roland@hack.frob.com>
29948
29949 * Makefile.in (all, install): Declare with .PHONY.
29950 Reported by Michael Hope <michael.hope@linaro.org>.
29951
8ad11b9a
TMQMF
299522012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29953
29954 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29955 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29956 system header.
29957 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29958 Likewise.
29959 (sydep_routines): Add the new and the internal functions.
29960 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29961 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29963 (GLIBC_2.17): Add the new function.
29964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29965 (GLIBC_2.17): Likewise.
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29967 (GLIBC_2.17): Likewise.
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29969 (GLIBC_2.17): Likewise.
29970 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29971
7e2fca8d
AM
299722012-09-25 Alan Modra <amodra@gmail.com>
29973
29974 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29975 Add release barrier before setting once_control to say
29976 initialisation is done. Add hints on lwarx. Use macro in
29977 place of isync.
29978 (clear_once_control): Add release barrier.
29979
b87c4b24
JM
299802012-09-25 Joseph Myers <joseph@codesourcery.com>
29981
d032e0d2
JM
29982 [BZ #13629]
29983 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29984 specially.
29985 * math/s_clog10.c (__clog10): Likewise.
29986 * math/s_clog10f.c (__clog10f): Likewise.
29987 * math/s_clog10l.c (__clog10l): Likewise.
29988 * math/s_clogf.c (__clogf): Likewise.
29989 * math/s_clogl.c (__clogl): Likewise.
29990 * math/Makefile (libm-calls): Add x2y2m1.
29991 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29992 (__x2y2m1): Likewise.
29993 (__x2y2m1l): Likewise.
29994 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29995 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29999 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30000 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30001 * sysdeps/i386/fpu/libm-test-ulps: Update.
30002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30003
b87c4b24
JM
30004 [BZ #14621]
30005 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30006 int as type of variable DEPTH.
30007 (glob): Use size_t instead of int as type of variables NEWCOUNT
30008 and OLD_PATHC.
30009
6d3bf199
LD
300102012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30011
22bf5c17
LD
30012 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30013 Add s_sincosf-sse2.
30014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30015 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30016 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30017 macros for using routine as __sincosf_ia32.
30018 Use macro for function declaration and weak_alias.
30019 * sysdeps/i386/fpu/libm-test-ulps: Update.
30020
30021 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30023
30024 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30025 subnormal argument.
30026 * math/s_cexpf.c (__cexpf): Likewise.
30027 * math/s_csinf.c (__csinf): Likewise.
30028 * math/s_csinhf.c (__csinhf): Likewise.
30029 * math/s_ctanf.c (__ctanf): Likewise.
30030 * math/s_ctanhf.c (__ctanhf): Likewise.
30031 * math/s_ccosh.c (__ccoshf): Likewise.
30032 * math/s_cexp.c (__cexpl): Likewise.
30033 * math/s_csin.c (__csin): Likewise.
30034 * math/s_csinh.c (__csinh): Likewise.
30035 * math/s_ctan.c (__ctan): Likewise.
30036 * math/s_ctanh.c (ctanh): Likewise.
30037 * math/s_ccoshl.c (__ccoshl): Likewise.
30038 * math/s_cexpl.c (__cexpl): Likewise.
30039 * math/s_csinl.c (__csinl): Likewise.
30040 * math/s_csinhl.c (__csinhl): Likewise.
30041 * math/s_ctanl.c (__ctanl): Likewise.
30042 * math/s_ctanhl.c (__ctanhl): Likewise.
30043
203e5603
JM
300442012-09-25 Joseph Myers <joseph@codesourcery.com>
30045
30046 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30047 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30048 (_IO_off_t): Define to __off_t, not _G_off_t.
30049 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30050 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30051 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30052 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30053 type of __dummy and __dummy2 fields.
30054 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30055 (_G_ssize_t): Likewise.
30056 (_G_off_t): Likewise.
30057 (_G_pid_t): Likewise.
30058 (_G_uid_t): Likewise.
30059 (_G_wchar_t): Likewise.
30060 (_G_wint_t): Likewise.
30061 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30062 (_G_ssize_t): Likewise.
30063 (_G_off_t): Likewise.
30064 (_G_pid_t): Likewise.
30065 (_G_uid_t): Likewise.
30066 (_G_wchar_t): Likewise.
30067 (_G_wint_t): Likewise.
30068 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30069 (_G_ssize_t): Likewise.
30070 (_G_off_t): Likewise.
30071 (_G_pid_t): Likewise.
30072 (_G_uid_t): Likewise.
30073 (_G_wchar_t): Likewise.
30074 (_G_wint_t): Likewise.
30075
9fab36eb
SP
300762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30077
30078 * malloc/arena.c: Include malloc-sysdep.h.
30079 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30080 is sufficient to shrink the heap or an unmap is needed.
30081 * sysdeps/generic/malloc-sysdep.h: New file. Define
30082 new function check_may_shrink_heap.
30083 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30084 new function check_may_shrink_heap.
30085
2b4f00d1
SP
300862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30087
30088 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30089 comments.
30090
9a9028b1
DL
300912012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30092
57c69bef
DL
30093 * catgets/test-gencat.sh: Add "set -e".
30094 * elf/tst-pathopt.sh: Likewise.
30095 * grp/tst_fgetgrent.sh: Likewise.
30096 * iconvdata/run-iconv-test.sh: Likewise.
30097 * intl/tst-gettext.sh: Likewise.
30098 * intl/tst-gettext2.sh: Likewise.
30099 * intl/tst-gettext4.sh: Likewise.
30100 * intl/tst-gettext6.sh: Likewise.
30101 * intl/tst-translit.sh: Likewise.
30102 * io/ftwtest-sh: Likewise.
30103 * libio/test-freopen.sh: Likewise.
30104 * malloc/tst-mtrace.sh: Likewise.
30105 * posix/globtest.sh: Likewise.
30106 * posix/tst-getconf.sh: Likewise.
30107 * posix/wordexp-tst.sh: Likewise.
30108 * stdio-common/tst-printf.sh: Likewise.
30109 * stdio-common/tst-unbputc.sh: Likewise.
30110 * stdlib/tst-fmtmsg.sh: Likewise.
30111 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30112 * catgets/Makefile: Do not specify -e option when running
30113 testsuite shell scripts.
30114 * elf/Makefile: Likewise.
30115 * grp/Makefile: Likewise.
30116 * iconvdata/Makefile: Likewise.
30117 * intl/Makefile: Likewise.
30118 * io/Makefile: Likewise.
30119 * libio/Makefile: Likewise.
30120 * malloc/Makefile: Likewise.
30121 * posix/Makefile: Likewise.
30122 * stdio-common/Makefile: Likewise.
30123 * stdlib/Makefile: Likewise.
30124 * sysdeps/x86_64/Makefile: Likewise.
30125
9a9028b1
DL
30126 * io/ftwtest-sh: Add copyright header.
30127 * posix/globtest.sh: Likewise.
30128 * posix/tst-getconf.sh: Likewise.
30129 * posix/wordexp-tst.sh: Likewise.
30130 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30131
ced6f16e
L
301322012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30133
94b32c39
L
30134 [BZ #13679]
30135 * Makeconfig (+link): Defined as $(+link-static) if
30136 $(build-shared) isn't yes.
30137 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30138 isn't yes.
30139 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30140
189e935b
L
30141 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30142
ced6f16e
L
30143 [BZ #14562]
30144 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30145 new chunk size with MALLOC_ALIGN_MASK.
30146
a9f8e53a
JM
301472012-09-24 Joseph Myers <joseph@codesourcery.com>
30148
30149 [BZ #5044]
30150 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30151 <rounding-mode.h>.
30152 (__printf_fphex): Determine rounding using get_rounding_mode and
30153 round_away.
30154 * stdio-common/tst-printf-round.c (struct hex_test): New
30155 structure.
30156 (hex_tests): New variable.
30157 (test_hex_in_one_mode): New function.
30158 (do_test): Also run tests for hex float output.
30159
43153109
JM
301602012-09-21 Joseph Myers <joseph@codesourcery.com>
30161
30162 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30164 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30165 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30166 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30167 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30168 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30169 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30170
8a26625d
JM
301712012-09-20 Joseph Myers <joseph@codesourcery.com>
30172
30173 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30174 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30175 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30176 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30177
f3fd569c
DL
301782012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30179
30180 [BZ #14579]
30181 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30182 mode only.
30183 * elf/tst-rtld-load-self.sh: New test.
30184 * elf/Makefile: Run it.
30185
63bbedd4
JM
301862012-09-18 Joseph Myers <joseph@codesourcery.com>
30187
30188 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30189 (tst-writev-ENV): Remove.
30190 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30191
626f8b6a
CM
301922012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30193
30194 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30195
b7aaa4d6
JM
301962012-09-17 Joseph Myers <joseph@codesourcery.com>
30197
30198 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30199 unconditional.
30200 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30201 Likewise.
30202 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30203 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30204 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30205 Likewise.
30206
65513990
L
302072012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 [BZ #14587]
30210 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30211 * config.make.in (have-cpp-asm-debuginfo): Removed.
30212 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30213 * configure: Regenerated.
30214
784761be
JM
302152012-09-14 Joseph Myers <joseph@codesourcery.com>
30216
30217 [BZ #5044]
30218 * stdio-common/printf_fp.c: Include <stdbool.h> and
30219 <rounding-mode.h>.
30220 (___printf_fp): Determine rounding using get_rounding_mode and
30221 round_away.
30222 * stdio-common/tst-printf-round.c: New file.
30223 * stdio-common/Makefile (tests): Add tst-printf-round.
30224 (link-libm): New variable.
30225 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30226
9503345f
L
302272012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30228
30229 [BZ #14576]
30230 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30231 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30232 Likewise.
30233 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30234 Likewise.
30235
ad35fc00
JM
302362012-09-13 Joseph Myers <joseph@codesourcery.com>
30237
30238 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30239 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30240 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30242
6c9b0f68
JM
302432012-09-12 Joseph Myers <joseph@codesourcery.com>
30244
30245 [BZ #14518]
30246 * include/rounding-mode.h: New file.
30247 * sysdeps/generic/get-rounding-mode.h: Likewise.
30248 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30249 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30250 (MAX_VALUE): New macro.
30251 (MIN_VALUE): Likewise.
30252 (overflow_value): New function.
30253 (underflow_value): Likewise.
30254 (round_and_return): Use overflow_value and underflow_value to
30255 determine return values in overflow and underflow cases. Use
30256 round_away to determine rounding depending on rounding mode.
30257 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30258 determine return values in overflow and underflow cases.
30259 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30260 (struct test_results): New structure.
30261 (struct test): Use struct test_results to store expected results
30262 for all rounding modes.
30263 (TEST): Include expected results for all rounding modes.
30264 (test_in_one_mode): New function.
30265 (do_test): Use test_in_one_mode to compute and check results.
30266 Check results for all rounding modes.
30267 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30268 $(link-libm).
30269
19fcedd5
AM
302702012-12-09 Allan McRae <allan@archlinux.org>
30271
1e9d84cd 30272 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30273
8bbfd2f1
JM
302742012-09-11 Joseph Myers <joseph@codesourcery.com>
30275
30276 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30277 (_G_int32_t): Likewise.
30278 (_G_uint16_t): Likewise.
30279 (_G_uint32_t): Likewise.
30280 (_G_HAVE_BOOL): Likewise.
30281 (_G_HAVE_ATEXIT): Likewise.
30282 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30283 (_G_HAVE_IO_FILE_OPEN): Likewise.
30284 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30285 (_G_int32_t): Likewise.
30286 (_G_uint16_t): Likewise.
30287 (_G_uint32_t): Likewise.
30288 (_G_HAVE_BOOL): Likewise.
30289 (_G_HAVE_ATEXIT): Likewise.
30290 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30291 (_G_HAVE_IO_FILE_OPEN): Likewise.
30292 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30293 (_G_int32_t): Likewise.
30294 (_G_uint16_t): Likewise.
30295 (_G_uint32_t): Likewise.
30296 (_G_HAVE_BOOL): Likewise.
30297 (_G_HAVE_ATEXIT): Likewise.
30298 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30299 (_G_HAVE_IO_FILE_OPEN): Likewise.
30300
b1dc5912
L
303012012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30302
30303 * csu/libc-tls.c: Update copyright years.
30304
0e886ef9
JM
303052012-09-10 Joseph Myers <joseph@codesourcery.com>
30306
28361c5e
JM
30307 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30308 [!_G_USING_THUNKS]: Remove conditional code.
30309 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30310 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30311
0e886ef9
JM
30312 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30313 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30314 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30315 (_G_VTABLE_LABEL_PREFIX): Likewise.
30316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30317 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30318 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30319 (_G_VTABLE_LABEL_PREFIX): Likewise.
30320 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30321 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30322 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30323 (_G_VTABLE_LABEL_PREFIX): Likewise.
30324 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30325
bcba7aa2
L
303262012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30327
30328 * libio/Makefile: Include ../Makeconfig before tests.
30329 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30330 only if $(build-shared) is yes.
30331
06585ee8
L
30332 * iconv/gconv_db.c: Update copyright years.
30333
80ccd52c
LD
303342012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30335
30336 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30337 unwind info if defined PIC. Fix special cases description.
30338 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30339
30340 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30341 DP_HI_MASK entry.
30342 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30343
691bc9c1
L
303442012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30345
3d9b46b3
L
30346 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30347
de2139a9
L
30348 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30349 is NULL.
30350
5ca78dd0
L
30351 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30352 (LDLIBS-tst-chk4): This.
30353 (LDFLAGS-tst-chk5): Renamed to ...
30354 (LDLIBS-tst-chk5): This.
30355 (LDFLAGS-tst-chk6): Renamed to ...
30356 (LDLIBS-tst-chk6): This.
30357 (LDFLAGS-tst-lfschk4): Renamed to ...
30358 (LDLIBS-tst-lfschk4): This.
30359 (LDFLAGS-tst-lfschk5): Renamed to ...
30360 (LDLIBS-tst-lfschk5): This.
30361 (LDFLAGS-tst-lfschk6): Renamed to ...
30362 (LDLIBS-tst-lfschk6): This.
30363
691bc9c1
L
30364 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30365 on $(common-objpfx)soversions.mk.
30366
65cafb1c
JM
303672012-09-07 Joseph Myers <joseph@codesourcery.com>
30368
30369 [BZ #10014]
30370 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30371 example host name.
30372
c78ab094
SP
303732012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30374
30375 * malloc/arena.c (arena_get_retry): New function that gets
30376 another arena for the caller to try its request on.
30377 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30378 current arena cannot fulfill the request.
30379 (__libc_memalign): Likewise.
30380 (__libc_memalign): Likewise.
30381 (__libc_pvalloc): Likewise.
30382 (__libc_calloc): Likewise.
30383
01f49f59
JT
303842012-09-05 John Tobey <john.tobey@gmail.com>
30385
30386 [BZ #13542]
30387 * manual/arith.texi (Operations on Complex): Fix description
30388 of carg branch cut.
30389
4c23fed5
JM
303902012-09-06 Joseph Myers <joseph@codesourcery.com>
30391
1d3c8572
JM
30392 [BZ #10014]
30393 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30394 host name.
30395
4c23fed5
JM
30396 [BZ #10038]
30397 * manual/memory.texi (Memory): Make order of menu items match
30398 order of sections.
30399
04570aaa
L
304002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30401
30402 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30403 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30404 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30405
b80af2f4
L
304062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30407
30408 * csu/libc-tls.c (static_dtv): Renamed to ...
30409 (_dl_static_dtv): This. Make it global.
30410 (_dl_initial_dtv): Removed.
30411 (__libc_setup_tls): Updated.
30412 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30413 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30414 DL_INITIAL_DTV.
30415
2abe9f15
PM
304162012-09-06 Petr Machata <pmachata@redhat.com>
30417
30418 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30419 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30420 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30421 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30422
0948c3af
L
304232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30424
30425 [BZ #14545]
30426 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30427 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30428 freeing dtv[-1].
30429
a5055ad1
L
304302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30431
30432 [BZ #14544]
30433 * Makeconfig (link-static-before-libc): Replace $(+prector)
30434 with $(+prectorT).
30435 (link-static-after-libc): Replace $(+postctor) with
30436 $(+postctorT).
30437 (link-bounded): Replace $(+prector)/$(+postctor) with
30438 $(+prectorT)/$(+postctorT).
30439 (+prectorT): New macro.
30440 (+postctorT): Likewise.
30441
ed8c2ecd
JM
304422012-09-06 Joseph Myers <joseph@codesourcery.com>
30443
30444 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30445 (round_str): Handle values above the maximum for IBM long double
30446 as inexact.
30447 * stdlib/tst-strtod-round.c (tests): Regenerated.
30448
14c996c8
AK
304492012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30450
30451 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30452 assembler flag.
30453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30454 zarch_nohighgprs around the zarch optimized routines.
30455 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30456 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30458 for zarch.
30459
430d6ce6
DM
304602012-09-05 David S. Miller <davem@davemloft.net>
30461
30462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30463
57f41c40
AS
30464 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30465 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30466 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30467 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30468 entries.
30469
24d4e01b
AO
304702012-09-05 Alexandre Oliva <aoliva@redhat.com>
30471
30472 * malloc/arena.c: Fold copyright years.
30473 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30474
61d58174
AO
304752012-09-05 Alexandre Oliva <aoliva@redhat.com>
30476
30477 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30478
20196a5e
AO
304792012-09-05 Alexandre Oliva <aoliva@redhat.com>
30480
30481 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30482
5c447383
AO
304832012-09-05 Alexandre Oliva <aoliva@redhat.com>
30484
30485 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30486 change internal state upon failure.
30487
fad64255
AO
304882012-09-05 Alexandre Oliva <aoliva@redhat.com>
30489
30490 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30491 * malloc/memusage.c (mmap): Likewise.
30492 (mmap64, mremap): Likewise. Adjust name in comment.
30493
1ffb8c90
SP
304942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30495
30496 * libio/fileops.c: Fix typos in comments.
30497 * libio/oldfileops.c: Likewise.
30498 * libio/wfileops.c: Likewise.
30499
6ef9cc37
SP
305002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30501
30502 [BZ #1349]
30503 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30504 (tst-malloc-usable-ENV): Set environment for test case.
30505 * malloc/hooks.c (malloc_check_get_size): New function to get
30506 requested size.
30507 * malloc/malloc.c (musable): Use malloc_check_get_size.
30508 * malloc/tst-malloc-usable.c: New test case.
30509
4d038ae3
AS
305102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30511
30512 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30513
c4e85184
AM
305142012-09-05 Allan McRae <allan@archlinux.org>
30515
b9dafc56 30516 [BZ #13966]
c4e85184
AM
30517 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30518 determine header location.
30519 * configure: Regenerated.
30520
e1343020
AS
305212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30522
30523 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30524 float format.
30525 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30526 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30527 format.
e1343020
AS
30528 (test): Regenerate.
30529
0a9f1987
DM
305302012-09-04 David S. Miller <davem@davemloft.net>
30531
30532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30535
29237804
FW
305362012-09-04 Florian Weimer <fweimer@redhat.com>
30537
30538 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30539 failures.
30540
edb3cb88
FW
30541 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30542
60160d83
JM
305432012-09-04 Joseph Myers <joseph@codesourcery.com>
30544
30545 [BZ #9914]
30546 * libio/iogetdelim.c: Include <limits.h>.
30547 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30548 + len + 1 would overflow.
30549
bcd6c8dc
AJ
305502012-09-03 Andreas Jaeger <aj@suse.de>
30551
30552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30553 * sysdeps/i386/fpu/libm-test-ulps: Update.
30554
4ffffbd2
LD
305552012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30556
30557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30558 Add s_sinf-sse2, s_conf-sse2.
30559
30560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30561 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30562 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30563 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30564
30565 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30566 for using routine as __sinf_ia32.
30567 Use macro for function declaration and weak_alias.
30568 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30569 for using routine as __cosf_ia32.
30570 Use macro for function declaration and weak_alias.
30571
30572 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30573 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30574
30575 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30576 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30578
30579 * math/libm-test.inc (cos_test): Add more test cases.
30580 (sin_test): Likewise.
30581 (sincos_test): Likewise.
30582
511fa286
AK
305832012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30584
30585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30586 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30587 hidden.
30588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30589
5f30cfec
L
305902012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30591
30592 [BZ #14538]
30593 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30594 first element of the GOT.
30595 (elf_machine_load_address): Return the difference between
30596 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30597
0786794f
AM
305982012-09-01 Allan McRae <allan@archlinux.org>
30599
5f30cfec
L
30600 [BZ #13412]
30601 * configure.in (AWK): Require gawk version 3.0 or later.
30602 * configure: Regenerated.
0786794f 30603
26889eac
JM
306042012-09-01 Joseph Myers <joseph@codesourcery.com>
30605
30606 * sysdeps/unix/sysv/linux/kernel-features.h
30607 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30609 [__NR_clock_getres]: Make code unconditional.
30610 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30611 (clock_getcpuclockid): Remove code left unreachable by removal of
30612 conditionals.
30613 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30614 code unconditional.
30615 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30617 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30618 Make code unconditional.
30619 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30620 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30621 * sysdeps/unix/sysv/linux/clock_settime.c
30622 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30623 conditional code.
30624 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30626
d22e28b0
L
306272012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30628
30629 [BZ #14476]
30630 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30631 scripts/test-installation.pl.
30632
30633 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30634 and $ld_so_version if it is set.
30635
050af9c4
SP
306362012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30637
30638 [BZ #14516]
30639 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30640 failure if reading from procfs failed.
30641 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30642
ad845c0b
JM
306432012-08-27 Joseph Myers <joseph@codesourcery.com>
30644
30645 * sysdeps/unix/sysv/linux/kernel-features.h
30646 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30647 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30648 Remove conditional code.
30649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30650 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30651 Remove conditional code.
30652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30653 * sysdeps/unix/sysv/linux/i386/fxstat.c
30654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30656 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30659 * sysdeps/unix/sysv/linux/i386/lxstat.c
30660 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30662 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30663 Remove conditional code.
30664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30665 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30666 Remove conditional code.
30667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30668 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30669 <kernel-features.h>.
30670 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30671 Remove.
30672 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30673 Remove conditional code.
30674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30675 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30676 Remove conditional.
30677
5dbf56af
MF
306782012-08-27 Mike Frysinger <vapier@gentoo.org>
30679
30680 [BZ #5400]
30681 * NEWS: Add fixed bug number.
30682
d6e70f43
JM
306832012-08-27 Joseph Myers <joseph@codesourcery.com>
30684
7efb4737
JM
30685 [BZ #14519]
30686 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30687 underflowing exponent in case of negative sign.
30688 * stdlib/tst-strtod-round-data: Add more tests.
30689 * stdlib/tst-strtod-round.c (tests): Regenerated.
30690
af92131a
JM
30691 [BZ #3479]
30692 * stdlib/strtod_l.c (NDIG): Remove.
30693 (HEXNDIG): Likewise.
30694 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30695 smallest representable value.
30696 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30697 lie within an exact representation of 1/2 ulp of the result.
30698 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30699 unconditionally.
30700 (TENS_P9_IDX): Define unconditionally.
30701 (TENS_P9_SIZE): Likewise.
30702 (TENS_P10_IDX): Likewise.
30703 (TENS_P10_SIZE): Likewise.
30704 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30705 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30707 entries for 10^2^13 and 10^2^14.
30708 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30709 (TENS_P13_IDX): Define.
30710 (TENS_P13_SIZE): Likewise.
30711 (TENS_P14_IDX): Likewise.
30712 (TENS_P14_SIZE): Likewise.
30713 (_fpioconst_pow10): Change array size to
30714 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30715 unconditional.
30716 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30717 1024]: Add entries for 10^2^13 and 10^2^14.
30718 [LAST_POW10 > _LAST_POW10]: Remove #error.
30719 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30720 (_fpioconst_pow10): Change array size to
30721 FPIOCONST_POW10_ARRAY_SIZE.
30722 * stdlib/gen-fpioconst.c: New file.
30723 * stdlib/gen-tst-strtod-round.c: Likewise.
30724 * stdlib/tst-strtod-round-data: Likewise.
30725 * stdlib/tst-strtod-round.c: Likewise.
30726 * stdlib/Makefile (tests): Add tst-strtod-round.
30727
d6e70f43
JM
30728 [BZ #14459]
30729 * stdlib/strtod_l.c: Include <stdint.h>.
30730 (NDEBUG): Do not define.
30731 (round_and_return): Change EXPONENT parameter to type intmax_t.
30732 Rearrange calculations to avoid internal overflow possibilities.
30733 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30734 Rearrange calculations to avoid internal overflow possibilities.
30735 Assert that number fits inside MPNSIZE limbs.
30736 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30737 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30738 calculations and add assertions to avoid internal overflow
30739 possibilities. Add casts to avoid signed/unsigned operations.
30740 * stdlib/tst-strtod-overflow.c: New file.
30741 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30742
1f529f7d
MP
307432012-08-25 Marek Polacek <polacek@redhat.com>
30744
30745 * time/time.h: Fix some typos in comments.
30746
59a629f1
RM
307472012-08-23 Roland McGrath <roland@hack.frob.com>
30748
30749 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30750 * posix/tst-rfc3484-2.c: Likewise.
30751 * posix/tst-rfc3484-3.c: Likewise.
30752
d3bafbc9
SM
307532012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30754
30755 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30756 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30757
4efcc022
JM
307582012-08-23 Joseph Myers <joseph@codesourcery.com>
30759
30760 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30761 #include of fxstatat64.c.
30762
3cc3ef96
RM
307632012-08-22 Roland McGrath <roland@hack.frob.com>
30764
f04e2132
RM
30765 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30766 * shadow/getspent_r.c: Likewise.
30767 * shadow/getspnam.c: Likewise.
30768 * shadow/getspnam_r.c: Likewise.
30769 * gshadow/getsgent.c: Likewise.
30770 * gshadow/getsgent_r.c: Likewise.
30771 * gshadow/getsgnam.c: Likewise.
30772 * gshadow/getsgnam_r.c: Likewise.
30773 * inet/getnetbyad.c: Likewise.
30774 * inet/getnetbyad_r.c: Likewise.
30775 * inet/getnetbynm.c: Likewise.
30776 * inet/getnetbynm_r.c: Likewise.
30777 * inet/getnetent.c: Likewise.
30778 * inet/getnetent_r.c: Likewise.
30779 * inet/getproto.c: Likewise.
30780 * inet/getproto_r.c: Likewise.
30781 * inet/getprtent.c: Likewise.
30782 * inet/getprtent_r.c: Likewise.
30783 * inet/getprtname.c: Likewise.
30784 * inet/getprtname_r.c: Likewise.
30785 * inet/getrpcbyname.c: Likewise.
30786 * inet/getrpcbyname_r.c: Likewise.
30787 * inet/getrpcbynumber.c: Likewise.
30788 * inet/getrpcbynumber_r.c: Likewise.
30789 * inet/getrpcent.c: Likewise.
30790 * inet/getrpcent_r.c: Likewise.
30791 * inet/getaliasent.c: Likewise.
30792 * inet/getaliasent_r.c: Likewise.
30793 * inet/getaliasname.c: Likewise.
30794 * inet/getaliasname_r.c: Likewise.
30795 * nscd/getgrgid_r.c: Likewise.
30796 * nscd/getgrnam_r.c: Likewise.
30797 * nscd/gethstbyad_r.c: Likewise.
30798 * nscd/gethstbynm3_r.c: Likewise.
30799 * nscd/getpwnam_r.c: Likewise.
30800 * nscd/getpwuid_r.c: Likewise.
30801 * nscd/getsrvbynm_r.c: Likewise.
30802 * nscd/getsrvbypt_r.c: Likewise.
30803 * nscd/gai.c: Likewise.
30804
c53d909c
RM
30805 * configure.in (build_nscd): New substituted variable, set
30806 by --disable-build-nscd and defaults to $use_nscd.
30807 * configure: Regenerated.
30808 * config.make.in (build-nscd): New substituted variable.
30809 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30810 Change conditional to require [$(build-nscd) = yes] as well.
30811 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30812
3cc3ef96
RM
30813 [BZ# 13696]
30814 * configure.in (use_nscd): New substituted variable, set by
30815 --disable-nscd. If enabled, define USE_NSCD.
30816 * configure: Regenerated.
30817 * config.h.in: Add USE_NSCD.
30818 * config.make.in (use-nscd): New substituted variable.
30819 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30820 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30821 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30822 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30823 (CFLAGS-getgrnam_r.c): Likewise.
30824 (CFLAGS-initgroups.c): Likewise.
30825 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30826 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30827 Variables removed.
30828 * inet/getnetgrent_r.c
30829 (nscd_setnetgrent): New function, broken out of ...
30830 (setnetgrent): ... here. Call it.
30831 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30832 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30833 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30834 * nscd/Makefile (routines, aux): Move definitions after include of
30835 Makeconfig. Conditionalize on [$(use-nscd) != no].
30836 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30837 Conditionalize on [USE_NSCD].
30838 (is_nscd, nscd_init_cb): Likewise.
30839 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30840 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30841 * nss/nss_db/db-init.c: Likewise.
30842 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30843 [USE_NSCD].
30844 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30845 (make_request): Use it.
30846 (cache_valid_p): New function.
30847 (__check_pf): Use it.
30848 * NEWS: Add item for --disable-nscd.
30849
07e51550
DL
308502012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30851
30852 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30853 to support sed >= 4.2.1-20-ga9bf076.
30854 * configure: Regenerated.
30855
35a5b08b
RM
308562012-08-22 Roland McGrath <roland@hack.frob.com>
30857
30858 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30859 Conditionalize whole body on [IREL].
30860
8479f23a
JL
308612012-08-22 Jeff Law <law@redhat.com>
30862
30863 [BZ #14505]
30864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30865 if the family is PF_UNSPEC.
30866
48da0b21
MF
308672012-08-22 Mike Frysinger <vapier@gentoo.org>
30868
30869 * Makerules (lib-version): Rename from V.
30870 (install-lib-nosubdir): Change V to lib-version.
30871
15d0da8c
WS
308722012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30873
30874 [BZ #14252]
30875 * powerpc32/power6/wcschr.c: New file.
30876 * powerpc32/power6/wcscpy.c: New file.
30877 * powerpc32/power6/wcsrchr.c: New file.
30878 * powerpc64/power6/wcschr.c: New file.
30879 * powerpc64/power6/wcscpy.c: New file.
30880 * powerpc64/power6/wcsrchr.c: New file.
30881
bcca0895
MK
308822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30883
30884 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30885 (two_way_short_needle): Use it.
5a4aaa33
RM
30886 * string/strstr.c (AVAILABLE1_USES_J): Define.
30887 * string/strcasestr.c: Likewise.
99677e57
MK
30888
30889 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30890 array references.
30891 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30892
400726de
MK
30893 [BZ #11607]
30894 * NEWS: Add an entry.
30895 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30896 define their defaults.
30897 (two_way_short_needle): Detect end-of-string on-the-fly.
30898 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30899 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30900 * string/bug-strcasestr1.c: New test.
30901 * string/Makefile: Run it.
30902
20a71f2c
MK
309032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30904
30905 [BZ #11607]
30906 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30907 the first character.
30908
21ad0558
RM
309092012-08-21 Roland McGrath <roland@hack.frob.com>
30910
30911 * csu/elf-init.c (__libc_csu_irel): Function removed.
30912 * csu/libc-start.c (apply_irel): New function.
30913 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30914
0e1d9911
JM
309152012-08-21 Joseph Myers <joseph@codesourcery.com>
30916
30917 * sysdeps/unix/sysv/linux/kernel-features.h
30918 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30919 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30920 <kernel-features.h>.
30921 [__NR_fadvise64_64]: Make code unconditional.
30922 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30923 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30924 !__NR_fadvise64_64)]: Likewise.
30925 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30926 !__NR_fadvise64_64))]: Likewise.
30927 [__NR_fadvise64]: Make code unconditional.
30928 [!__NR_fadvise64]: Remove conditional code.
30929 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30930 <kernel-features.h>.
30931 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30932 unconditional.
30933 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30934 conditional code.
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30936 not include <kernel-features.h>.
30937 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30938 unconditional.
30939 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30940 conditional code.
30941 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30942 include <kernel-features.h>.
30943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30944 unconditional.
30945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30946 conditional code.
30947
14a50c9d
WS
309482012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30949
30950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30951 slight instruction rearrangements per scrollpipe analysis.
30952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30953
c0f4faf0
RM
309542012-08-20 Roland McGrath <roland@hack.frob.com>
30955
696da859
RM
30956 * manual/syslog.texi (syslog; vsyslog, closelog):
30957 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30958 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30959
c0f4faf0
RM
30960 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30961 DSOCAPS to match condition on defining it.
30962
348363b2
JM
309632012-08-20 Joseph Myers <joseph@codesourcery.com>
30964
a35cbf28
JM
30965 * sysdeps/unix/sysv/linux/kernel-features.h
30966 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30974 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30975 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30976
445f7ecd
JM
30977 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30978 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30979
348363b2
JM
30980 * sysdeps/unix/sysv/linux/kernel-features.h
30981 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30982 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30983 unconditional.
30984 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30985 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30986 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30987 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30988 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30989 Make code unconditional.
30990 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30991 (__mmap64) [!__NR_mmap2]: Likewise.
30992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30993 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30994 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30996 [__NR_mmap2]: Make code unconditional.
30997 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30998 (__mmap64) [!__NR_mmap2]: Likewise.
30999
bc5bc0e5
AK
310002012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31001
31002 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31003
88d506de
AJ
310042012-08-18 Andreas Jaeger <aj@suse.de>
31005
31006 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31007
493387d2
MF
310082012-08-18 Mike Frysinger <vapier@gentoo.org>
31009
31010 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31011 * include/unistd.h (__have_sock_cloexec): Likewise.
31012 (__have_pipe2): Likewise.
31013 (__have_dup3): Likewise.
31014
a277af22
MF
310152012-08-18 Mike Frysinger <vapier@gentoo.org>
31016
31017 [BZ #9685]
31018 * include/unistd.h (__have_pipe2): Change define into an extern int.
31019 (__have_dup3): Likewise.
31020 * socket/have_sock_cloexec.c: Include fcntl.h.
31021 (__have_pipe2): New variable.
31022 (__have_dup3): Likewise.
31023
fdab8fd3
MF
310242012-08-17 Mike Frysinger <vapier@gentoo.org>
31025
31026 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31027
31035e80
MP
310282012-08-17 Marek Polacek <polacek@redhat.com>
31029
31030 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31031 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31032
3bd9e993
RM
310332012-08-17 Roland McGrath <roland@hack.frob.com>
31034
c91c505f
RM
31035 * configure.in: Add AC_SUBST for sysheaders.
31036 * configure: Regenerated.
31037 * config.make.in (sysheaders): New substituted variable.
31038
7c6f9d53
RM
31039 * sysdeps/unix/mkfifo.c: Moved ...
31040 * sysdeps/posix/mkfifo.c: ... here.
31041 * sysdeps/unix/mkfifoat.c: Moved ...
31042 * sysdeps/posix/mkfifoat.c: ... here.
31043
31044 * sysdeps/unix/utime.c: Moved ...
31045 * sysdeps/posix/utime.c: ... here.
31046
31047 * sysdeps/unix/time.c: Moved ...
31048 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31049 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31050 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31051
31052 * sysdeps/unix/nice.c: Moved ...
31053 * sysdeps/posix/nice.c: ... here.
31054
31055 * sysdeps/unix/alarm.c: Moved ...
31056 * sysdeps/posix/alarm.c: ... here.
31057
3bd9e993
RM
31058 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31059
d1f09384
JL
310602012-08-17 Jeff Law <law@redhat.com>
31061
31062 * intl/Makefile (codeset_mo): New variable.
31063 ($(codeset_mo)): New target.
31064 (tst-codeset.out): Depend on that. Remove explicit rule.
31065 (tst-gettext3.out, tst-gettext5.out): Likewise.
31066 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31067 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31068 * intl/tst-codeset.sh: Remove.
31069 * intl/tst-gettext3.sh: Likewise.
31070 * intl/tst-gettext5.sh: Likewise.
31071
2ae1ae5c
RM
310722012-08-17 Roland McGrath <roland@hack.frob.com>
31073
c31fdb83
RM
31074 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31075 * sysdeps/unix/syscalls.list: ... here.
31076
a0844057
RM
31077 * sysdeps/posix/getaddrinfo.c
31078 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31079 (gaiconf_init, gaiconf_reload): Use them.
31080 [!_STATBUF_ST_NSEC]
31081 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31082 Define using time_t rather than struct timespec.
31083
750c1f2a
RM
31084 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31085 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31086 Macros removed.
31087 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31088 [!NO_THREADS].
31089 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31090 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31091 Likewise.
31092
2ae1ae5c
RM
31093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31094 __libc_cleanup_push argument.
31095
e66a42f5
RM
31096 * bits/param.h: New file.
31097 * misc/sys/param.h: New file.
31098 * include/sys/param.h: New file.
31099 * misc/Makefile (headers): Add bits/param.h.
31100 * sysdeps/generic/sys/param.h: File removed.
31101 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31102 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31103 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31104 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31105
b7c08a66
RM
31106 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31107 last change.
31108
b2e1c562
RM
31109 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31110 [_IO_MTSAFE_IO].
31111 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31112 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31113 New macros.
31114
c75ccd4c
RM
31115 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31116 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31117 rather than -D_IO_MTSAFE_IO conditionally.
31118 * stdio-common/Makefile (CPPFLAGS): Likewise.
31119 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31120 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31121 Use $(libio-mtsafe).
31122 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31123 of -D_IO_MTSAFE_IO.
31124 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31125 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31126 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31127 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31128 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31129 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31130 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31131 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31132 (CFLAGS-fread_u_chk.c): Likewise.
31133 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31134 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31135 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31136 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31137 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31138 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31139 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31140 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31141 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31142
31143 * libio/Makefile: Test [$(libc-reentrant) = yes]
31144 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31145
31146 * Makeconfig
31147 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31148 * sysdeps/pthread/configure: File removed.
31149 * sysdeps/pthread/Makeconfig: New file.
31150 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31151 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31152
d9195db8
GB
311532012-08-16 Gary Benson <gbenson@redhat.com>
31154
31155 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31156 unmapping the first object in a namespace.
31157
86466cd9
RM
311582012-08-16 Roland McGrath <roland@hack.frob.com>
31159
31160 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31161 (__internal_setnetgrent): ... this. Add internal_function to
31162 definition. Add libc_hidden_def.
31163 (setnetgrent): Update caller.
31164 (internal_endnetgrent): Renamed to ...
31165 (__internal_endnetgrent): ... this. Add internal_function to
31166 definition. Add libc_hidden_def.
31167 (endnetgrent): Update caller.
31168 (internal_getnetgrent_r): Renamed to ...
31169 (__internal_getnetgrent_r): ... this. Add internal_function to
31170 definition. Add libc_hidden_def.
31171 (__getnetgrent_r): Update caller.
31172 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31173
c3c8283c
JM
311742012-08-16 Joseph Myers <joseph@codesourcery.com>
31175
31176 * stdlib/longlong.h: Update from GCC.
31177
db1ee0a8
RM
311782012-08-16 Roland McGrath <roland@hack.frob.com>
31179
31180 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31181 on _QL, which is set by umul_ppmm but never used.
31182 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31183 variables, which are set by GMP macros but never used.
31184 * stdio-common/_itowa.c (_itowa): Likewise.
31185 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31186 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31187
30f69637
CD
311882012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31189
31190 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31191 struct La_sh_regs is not constant.
31192 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31193 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31194 and struct La_sparc64_regs are not constant.
31195
93a78ac4
JM
311962012-08-16 Joseph Myers <joseph@codesourcery.com>
31197
31198 * sysdeps/unix/sysv/linux/kernel-features.h
31199 (__ASSUME_POSIX_TIMERS): Remove.
31200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31202 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31203 Make code unconditional.
31204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31205 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31206 Make code unconditional.
31207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31208 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31209 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31211 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31212 Make code unconditional.
31213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31214 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31215 (__libc_missing_posix_timers): Remove.
31216
dd924cd7
RM
312172012-08-15 Roland McGrath <roland@hack.frob.com>
31218
4b4f2771
RM
31219 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31220 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31221
601c888b
RM
31222 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31223
176790a7
RM
31224 * elf/dl-sym.c: Include <stdlib.h>.
31225
329bc018
RM
31226 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31227 constants, which avoids warnings in 32-bit builds.
31228
e04e272d
RM
31229 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31230 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31231
952bf94a
RM
31232 * misc/lseek.c: File moved to ...
31233 * io/lseek.c: ... here.
31234
7c99b50a
RM
31235 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31236
dd924cd7
RM
31237 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31238 shifting LEN more than 31 bits at once.
31239
b3f479a8
LD
312402012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31241
31242 [BZ #14195]
8c4ae0d4
RM
31243 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31244 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31245 * string/test-strncasecmp.c (check1): Renamed to...
31246 (bz12205): ...this.
31247 (bz14195): Add new testcase for two empty input strings and N > 0.
31248 (test_main): Call new testcase, adapt for renamed function.
31249
9c55864e
AJ
312502012-08-15 Andreas Jaeger <aj@suse.de>
31251
31252 [BZ #14090]
31253 * crypt/md5test2.c: New test, based on test supplied by Serge
31254 Belyshev <belyshev@depni.sinp.msu.ru>.
31255 * crypt/Makefile (xtests): Add md5test-giant..
31256 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31257
02dcb6c5
PE
312582012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31259
31260 [BZ #14090]
31261 * crypt/md5.c (md5_process_block): Don't assume the buffer
31262 length is less than 2**32.
31263 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31264 length is less than 2**64.
31265
a3f95dcc
RM
312662012-08-15 Roland McGrath <roland@hack.frob.com>
31267
be75d758
RM
31268 * string/str-two-way.h: Include <sys/param.h>.
31269 (MAX): Macro removed.
31270
7312ca90
RM
31271 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31272 Move #define and #undef of memmove to just before and after
31273 including <string.h>.
31274
9a0a5486
RM
31275 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31276 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31277 and after including <string.h>. Move declarations of
31278 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31279 to before #include "string/memmove.c".
31280
67cc348d
RM
31281 * include/dirent.h: Declare __getdirentries.
31282
a3f95dcc
RM
31283 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31284 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31285
ca98e171
MF
312862012-08-14 Mike Frysinger <vapier@gentoo.org>
31287
31288 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31289 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31290 * sysdeps/i386/configure: Regenerated.
31291 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31292 STABS_CURRENT_FILE, and STABS_FUN.
31293 (END): Remove call to STABS_FUN_END.
31294 (STABS_CURRENT_FILE1): Delete.
31295 (STABS_CURRENT_FILE): Likewise.
31296 (STABS_FUN): Likewise.
31297 (STABS_FUN_END): Likewise.
31298 (STABS_FUN2): Likewise.
31299 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31300 * sysdeps/x86_64/configure: Regenerated.
31301
5908bf46
RM
313022012-08-14 Roland McGrath <roland@hack.frob.com>
31303
31304 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31305 * elf/dl-lookup.c: Likewise.
5908bf46 31306
f2c05b9e
JM
313072012-08-14 Joseph Myers <joseph@codesourcery.com>
31308
31309 * sysdeps/unix/sysv/linux/kernel-features.h
31310 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31311 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31312 unconditionally.
31313 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31314 unconditionally.
31315 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31316 condition on __ASSUME_CLONE_THREAD_FLAGS.
31317
e11f5155
AJ
313182012-08-14 Andreas Jaeger <aj@suse.de>
31319
31320 * sysdeps/i386/fpu/libm-test-ulps: Update.
31321
51a9ba86
MK
313222012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31323
2fdd4f78
AJ
31324 * include/atomic.h (atomic_exchange_and_add): Split into ...
31325 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31326 New atomic macros.
51a9ba86 31327
ba6cba9e
MT
313282012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31329
31330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31331
42443a47
JL
313322012-08-13 Jeff Law <law@redhat.com>
31333
31334 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31335 null byte in the output string.
31336
121dce05
JM
313372012-08-10 Joseph Myers <joseph@codesourcery.com>
31338
31339 * sysdeps/unix/sysv/linux/kernel-features.h
31340 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31341 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31342 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31343 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31344 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31345 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31346 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31347
bf51f568
JL
313482012-08-09 Jeff Law <law@redhat.com>
31349
31350 [BZ #13939]
31351 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31352 When avoid_arena is set, don't retry in the that arena. Pick the
31353 next one, whatever it might be.
31354 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31355 (arena_lock): Pass in new parameter to arena_get2.
31356 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31357 arena_get2.
31358 (__libc_malloc): Unify retrying after main arena failure with
31359 __libc_memalign version.
31360 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31361
f85fa270
L
313622012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 [BZ #14166]
31365 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31366 to __redirect_strstr.
31367 (__strstr_sse42): Use typeof __redirect_strstr.
31368 (__strstr_ia32): Likewise.
31369 (__libc_strstr): New prototype.
31370 (strstr): Renamed to ...
31371 (__libc_strstr): This.
31372 (strstr): New strong alias of __libc_strstr.
31373 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31374 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31375 __redirect_time.
31376 Include <time.h>.
31377 (__libc_time): New prototype.
31378 (time_ifunc): Replace time with __libc_time.
31379 (time): New strong alias and hidden definition of __libc_time.
31380 (__GI_time): Remove strong alias.
31381 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31382 Include <stddef.h>.
31383 (memmove): Redefined to __redirect_memmove.
31384 (__memmove_sse2): Use typeof __redirect_memmove.
31385 (__memmove_ssse3): Likewise.
31386 (__memmove_ssse3_back): Likewise.
31387 (__libc_memmove): New prototype.
31388 (memmove): Renamed to ...
31389 (__libc_memmove): This.
31390 (memmove): New strong alias of __libc_memmove.
31391
33b4a91e
MS
313922012-08-08 Mark Salter <msalter@redhat.com>
31393
31394 * elf/elf.h
31395 (R_MN10300_TLS_GD): Define.
31396 (R_MN10300_TLS_LD): Likewise.
31397 (R_MN10300_TLS_LDO): Likewise.
31398 (R_MN10300_TLS_GOTIE): Likewise.
31399 (R_MN10300_TLS_IE): Likewise.
31400 (R_MN10300_TLS_LE): Likewise.
31401 (R_MN10300_TLS_DTPMOD): Likewise.
31402 (R_MN10300_TLS_DTPOFF): Likewise.
31403 (R_MN10300_TLS_TPOFF): Likewise.
31404 (R_MN10300_SYM_DIFF): Likewise.
31405 (R_MN10300_ALIGN): Likewise.
31406 (R_MN10300_NUM): Update.
31407
b36137f1
JM
314082012-08-08 Joseph Myers <joseph@codesourcery.com>
31409
31410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31411 Remove.
31412
cdd915fd
RM
314132012-08-08 Roland McGrath <roland@hack.frob.com>
31414
a2433aac
RM
31415 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31416
cdd915fd
RM
31417 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31418 sysdeps/unix -> sysdeps/posix move.
31419 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31420
bf9b740a
AM
314212012-08-07 Allan McRae <allan@archlinux.org>
31422
31423 [BZ #14303]
31424 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31425 (SUNOS_CPP): Likewise.
31426 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31427 not found.
31428 (open_input): Call CPP using execvp.
31429
93df14ee
JM
314302012-08-07 Joseph Myers <joseph@codesourcery.com>
31431
31432 * sysdeps/unix/sysv/linux/kernel-features.h
31433 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31434 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31435 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31436 (__ASSUME_WAITID_SYSCALL): Likewise.
31437 * sysdeps/unix/sysv/linux/dl-execstack.c
31438 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31439 code unconditional.
31440 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31441 conditional code.
31442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31443 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31444 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31445 code.
31446 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31447 unconditional.
31448 [__ASSUME_WAITID_SYSCALL]: Likewise.
31449 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31450
d34689de
RM
314512012-08-07 Roland McGrath <roland@hack.frob.com>
31452
a281decc
RM
31453 * sysdeps/unix/closedir.c: Renamed to ...
31454 * sysdeps/posix/closedir.c: ... here.
31455 * sysdeps/unix/dirfd.c: Renamed to ...
31456 * sysdeps/posix/dirfd.c: ... here.
31457 * sysdeps/unix/dirstream.h: Renamed to ...
31458 * sysdeps/posix/dirstream.h: ... here.
31459 * sysdeps/unix/fdopendir.c: Renamed to ...
31460 * sysdeps/posix/fdopendir.c: ... here.
31461 * sysdeps/unix/opendir.c: Renamed to ...
31462 * sysdeps/posix/opendir.c: ... here.
31463 * sysdeps/unix/readdir.c: Renamed to ...
31464 * sysdeps/posix/readdir.c: ... here.
31465 * sysdeps/unix/readdir_r.c: Renamed to ...
31466 * sysdeps/posix/readdir_r.c: ... here.
31467 * sysdeps/unix/rewinddir.c: Renamed to ...
31468 * sysdeps/posix/rewinddir.c: ... here.
31469 * sysdeps/unix/seekdir.c: Renamed to ...
31470 * sysdeps/posix/seekdir.c: ... here.
31471 * sysdeps/unix/telldir.c: Renamed to ...
31472 * sysdeps/posix/telldir.c: ... here.
31473 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31474 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31475 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31476 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31477
22895b47
RM
31478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31479 * bits/fcntl.h: ... here.
31480
707a53b6
RM
31481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31482 not 0.
31483 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31484 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31485 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31486 (struct flock): Move l_start, l_len to the beginning.
31487 Use __pid_t for l_pid.
31488 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31489 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31490 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31491 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31492 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31493 [__USE_LARGEFILE64] (struct flock64): New type.
31494 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31495
f0bd3e25
RM
31496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31497 * bits/dirent.h: ... here.
31498
d34689de
RM
31499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31500 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31501
6dad2c06
JM
315022012-08-07 Joseph Myers <joseph@codesourcery.com>
31503
31504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31505 Change from 2.6.0 to 2.6.16.
31506 * sysdeps/unix/sysv/linux/configure: Regenerated.
31507 * sysdeps/unix/sysv/linux/kernel-features.h
31508 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31509 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31510 version.
31511 (__ASSUME_UTIMES): Likewise.
31512 (__ASSUME_CLONE_STOPPED): Remove.
31513 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31514 architectures, not kernel version.
31515 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31516 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31517 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31518 (__ASSUME_WAITID_SYSCALL): Likewise.
31519 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31520 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31521 * README: State 2.6.16 as minimum Linux kernel version. Do not
31522 refer to older versions.
31523
03af9520
RM
315242012-08-06 Roland McGrath <roland@hack.frob.com>
31525
8e49df1d
RM
31526 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31527 Define alphasort64 as an alias.
31528 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31529 Define versionsort64 as an alias.
31530 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31531 Define scandir64 as an alias.
31532 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31533 Define scandirat64 as an alias.
31534 * dirent/alphasort64.c (alphasort64):
31535 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31536 * dirent/versionsort64.c: Likewise.
31537 * dirent/scandir64.c: Likewise.
31538 * dirent/scandirat64.c: Likewise.
31539 * sysdeps/wordsize-64/alphasort.c: File removed.
31540 * sysdeps/wordsize-64/alphasort64.c: File removed.
31541 * sysdeps/wordsize-64/scandir.c: File removed.
31542 * sysdeps/wordsize-64/scandir64.c: File removed.
31543 * sysdeps/wordsize-64/scandirat.c: File removed.
31544 * sysdeps/wordsize-64/scandirat64.c: File removed.
31545 * sysdeps/wordsize-64/versionsort.c: File removed.
31546 * sysdeps/wordsize-64/versionsort64.c: File removed.
31547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31550 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31552 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31555
31556 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31558 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31560 [defined __arch64__ || defined __sparcv9]
31561 (__INO_T_MATCHES_INO64_T): New macro.
31562 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31563 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31564 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31565 * sysdeps/unix/sysv/linux/bits/dirent.h
31566 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31567 (_DIRENT_MATCHES_DIRENT64): New macro.
31568
03af9520
RM
31569 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31570 Define lockf64 as an alias.
31571 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31572 Define fseeko64 as an alias.
31573 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31574 Define ftello64 as an alias.
31575 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31576 Define _IO_fgetpos64 and fgetpos64 as aliases.
31577 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31578 Define _IO_fsetpos64 and fsetpos64 as aliases.
31579 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31580 Conditionalize body on this.
31581 * libio/fseeko64.c: Likewise.
31582 * libio/ftello64.c: Likewise.
31583 * libio/iofgetpos64.c: Likewise.
31584 * libio/iofsetpos64.c: Likewise.
31585 * sysdeps/wordsize-64/lockf.c: File removed.
31586 * sysdeps/wordsize-64/lockf64.c: File removed.
31587 * sysdeps/wordsize-64/fseeko.c: File removed.
31588 * sysdeps/wordsize-64/fseeko64.c: File removed.
31589 * sysdeps/wordsize-64/ftello.c: File removed.
31590 * sysdeps/wordsize-64/ftello64.c: File removed.
31591 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31592 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31593 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31594 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31596 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31598 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31600 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31605
31606 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31608 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31610 [defined __arch64__ || defined __sparcv9]
31611 (__OFF_T_MATCHES_OFF64_T): New macro.
31612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31613 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31615 (__OFF_T_MATCHES_OFF64_T): New macro.
31616
c5757acd
L
316172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 * stdlib/secure-getenv.c (__secure_getenv): Replace
31620 GLIBC_2_16 with GLIBC_2_17.
31621
3a31811e
L
316222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31623
31624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31625 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31626
faa2bccb
DM
316272012-08-03 David S. Miller <davem@davemloft.net>
31628
31629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31630
85fe1997
JM
316312012-08-03 Joseph Myers <joseph@codesourcery.com>
31632
31633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31634 Remove.
31635 (__ASSUME_CORRECT_SI_PID): Likewise.
31636 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31637 (__ASSUME_TMPFS_NAME): Likewise.
31638 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31639 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31640 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31641 (HAVE_AUX_SECURE): Make definition unconditional.
31642 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31643 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31644
4f75b7a0
RM
316452012-08-03 Roland McGrath <roland@hack.frob.com>
31646
31647 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31648 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31649 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31651 __eloop_threshold instead of SYMLOOP_MAX.
31652
31653 * sysdeps/generic/eloop-threshold.h: New file.
31654 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31655 of MAXSYMLINKS.
31656 * elf/chroot_canon.c (chroot_canon): Likewise.
31657
7aab07e4
JM
316582012-08-03 Joseph Myers <joseph@codesourcery.com>
31659
31660 [BZ #13717]
31661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31662 Change to 2.6.0 everywhere.
31663 * sysdeps/unix/sysv/linux/configure: Regenerated.
31664 * sysdeps/unix/sysv/linux/kernel-features.h
31665 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31666 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31667 kernel versions.
31668 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31669 (__ASSUME_FUTEX_REQUEUE): Remove.
31670 (__ASSUME_STATFS64): Define unconditionally.
31671 (__ASSUME_AT_SECURE): Likewise.
31672 (__ASSUME_CORRECT_SI_PID): Likewise.
31673 (__ASSUME_TGKILL): Define without depending on kernel version for
31674 i386.
31675 (__ASSUME_UTIMES): Likewise.
31676 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31677 kernel version.
31678 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31679 (__ASSUME_TMPFS_NAME): Likewise.
31680 * README: Update reference to Linux kernel versions.
31681
b67e9372
MP
316822012-08-02 Marek Polacek <polacek@redhat.com>
31683
1f529f7d 31684 [BZ# 14150]
b67e9372
MP
31685 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31686 libc_cv_asm_type_prefix with %.
31687 * configure: Regenerated.
d2441631
RM
31688 * include/libc-symbols.h: Remove comment about
31689 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31690 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31691 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31692 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31693 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31694 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31696 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31697 * elf/tst-unique2mod1.c: Likewise.
31698 * elf/tst-unique1mod2.c: Likewise.
31699 * elf/tst-unique1mod1.c: Likewise.
31700 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31701 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31702 Replace ASM_TYPE_DIRECTIVE with .type.
31703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31704 * sysdeps/i386/sysdep.h: Likewise.
31705 * sysdeps/x86_64/sysdep.h: Likewise.
31706 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31708 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31709 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31710 * sysdeps/powerpc/powerpc32/sysdep.h:
31711 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31712 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31713 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31714 * sysdeps/i386/fpu/e_powf.S: Likewise.
31715 * sysdeps/i386/fpu/e_expl.S: Likewise.
31716 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31718 * sysdeps/i386/fpu/e_pow.S: Likewise.
31719 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31721 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31722 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31723 * sysdeps/i386/fpu/e_log2.S: Likewise.
31724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31726 * sysdeps/i386/fpu/e_powl.S: Likewise.
31727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31729 * sysdeps/i386/fpu/e_logl.S: Likewise.
31730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31731 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31732 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31734 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31735 * sysdeps/i386/fpu/e_log.S: Likewise.
31736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31737 * sysdeps/i386/fpu/e_logf.S: Likewise.
31738 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31739 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31740 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31741 * sysdeps/i386/fpu/e_log10.S: Likewise.
31742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31748 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31749 * sysdeps/i386/i686/strtok.S: Likewise.
31750 * sysdeps/i386/i386-mcount.S: Likewise.
31751 * sysdeps/i386/strtok.S: Likewise.
31752 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31755 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31756 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31761 * sysdeps/x86_64/_mcount.S: Likewise.
31762 * sysdeps/x86_64/strtok.S: Likewise.
31763 * sysdeps/sh/_mcount.S: Likewise.
31764
2747bf9a
RM
317652012-08-01 Roland McGrath <roland@hack.frob.com>
31766
31767 * libio/iofopen.c: Include <fcntl.h>.
31768 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31769 (_IO_fopen64, fopen64): Define as aliases.
31770 * libio/iofopen64.c: Include <fcntl.h>.
31771 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31772 Conditionalize body on this.
31773 * sysdeps/wordsize-64/iofopen.c: File removed.
31774 * sysdeps/wordsize-64/iofopen64.c: File removed.
31775
3fb791b8
MP
317762012-08-01 Marek Polacek <polacek@redhat.com>
31777
31778 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31779 Use dlfcn directly instead of a variable.
31780 (binfmt-subdir): Do not define.
31781 (dlfcn): Likewise.
31782
a9f1039f
JM
317832012-08-01 Joseph Myers <joseph@codesourcery.com>
31784
23bddc06
JM
31785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31786 Remove all definitions.
31787 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31788 <kernel-features.h>.
31789 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31790 (miss_F_GETOWN_EX): Remove all definitions.
31791 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31792 macro definition.
31793 [!__ASSUME_FCNTL64]: Remove conditional code.
31794 [__ASSUME_FCNTL64]: Make code unconditional.
31795 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31796 <kernel-features.h>.
31797 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31798 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31799 (lockf64) [__NR_fcntl64]: Make code unconditional.
31800 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31801
a9f1039f
JM
31802 * sysdeps/unix/sysv/linux/kernel-features.h
31803 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31804 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31805 Make code unconditional.
31806 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31807 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31809 [__NR_vfork]: Make code unconditional.
31810 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31811 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31813 [__NR_vfork]: Make code unconditional.
31814 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31815 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31816
09c0ee5f
RM
318172012-08-01 Roland McGrath <roland@hack.frob.com>
31818
48aec5b9
RM
31819 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31820 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31821
cd97c966
RM
31822 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31823 Define mkstemp64 as an alias.
3f55550c
RM
31824 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31825 Define mkstemps64 as an alias.
cd97c966
RM
31826 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31827 Define mkostemp64 as an alias.
b8625cfc
RM
31828 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31829 Define mkostemps64 as an alias.
cd97c966
RM
31830 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31831 Conditionalize body on this.
31832 * misc/mkostemp64.c: Likewise.
b8625cfc 31833 * misc/mkostemps64.c: Likewise.
3f55550c 31834 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31835 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31836 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31837 * sysdeps/wordsize-64/mkostemp.c: File removed.
31838 * sysdeps/wordsize-64/mkstemp.c: File removed.
31839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31843
09c0ee5f
RM
31844 [BZ #14138]
31845 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31846 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31847 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31848 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31849
31850 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31851 compat_symbol macros from <shlib-compat.h> rather than the underlying
31852 default_symbol_version and symbol_version macros, so that DEFAULT
31853 lines in shlib-versions are respected.
31854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31855
7e66ee51
FW
318562012-08-01 Florian Weimer <fweimer@redhat.com>
31857
31858 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31859 Declare with warn_unused_result.
31860 (setgid, setregid, setegid, setresgid): Likewise.
31861 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31862 Likewise.
31863 * WUR-REPORT: Remove set*id functions.
31864
d2a54255
PT
318652012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31866
31867 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31868
7ecdb005
RM
318692012-07-31 Roland McGrath <roland@hack.frob.com>
31870
b4180a5e 31871 [BZ #10191]
789bd351
RM
31872 * include/sys/socket.h (__libc_accept, __libc_accept4):
31873 Add attribute_hidden.
31874 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31875
40ce302d
RM
31876 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31877 use of PTR_MANGLE.
31878 * inet/getnetgrent_r.c (setup): Likewise.
31879
7ecdb005
RM
31880 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31881
e2eabb2c
DM
318822012-07-31 David S. Miller <davem@davemloft.net>
31883
31884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31885
d0419dbf
JM
318862012-07-31 Joseph Myers <joseph@codesourcery.com>
31887
31888 [BZ #13629]
31889 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31890 value between 1.0 and 2.0 and smaller part has absolute value less
31891 than 1.0.
31892 * math/s_clog10.c (__clog10): Likewise.
31893 * math/s_clog10f.c (__clog10f): Likewise.
31894 * math/s_clog10l.c (__clog10l): Likewise.
31895 * math/s_clogf.c (__clogf): Likewise.
31896 * math/s_clogl.c (__clogl): Likewise.
31897 * math/libm-test.inc (clog_test): Add more tests.
31898 (clog10_test): Likewise.
31899 * sysdeps/i386/fpu/libm-test-ulps: Update.
31900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31901
2bc13872
FW
319022012-07-31 Florian Weimer <fweimer@redhat.com>
31903
31904 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31905 Exit with zero in case no suitable GID is found, and write a
31906 message to standard error.
31907
bea9b193
RM
319082012-07-30 Roland McGrath <roland@hack.frob.com>
31909
31910 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31911 rather than to 1.
31912 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31913 (MAXPATHLEN): Removed.
31914 (NOGROUP, NODEV): New macros.
31915 (setbit, clrbit, isset, isclr): New macros.
31916 (howmany, roundup, powerof2): New macros.
31917 (DEV_BSIZE): New macro.
31918
31919 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31920 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31921
31922 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31923 definition on [!__NO_LONG_DOUBLE_MATH].
31924
31925 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31926 PTR_MANGLE and PTR_DEMANGLE.
31927
31928 * socket/accept4.c (accept4): Rename to __libc_accept4.
31929 Define accept4 as a weak alias.
31930
31931 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31932 on [_DIRENT_HAVE_D_TYPE].
31933 * io/ftw.c (ftw_dir): Likewise.
31934
31935 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31936
31937 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31938
31939 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31940 Use the BSD numbers rather than the arbitrary ones we had.
31941 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31942 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31943 (SIGXCPU, SIGXFSZ): New macros.
31944 (_NSIG): Now 32.
31945
31946 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31947 initializer on [_LIBC_REENTRANT].
31948
31949 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31950 definitions inside [_POSIX_MAPPED_FILES].
31951
31952 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31953
31954 * dirent/opendir.c: Include <fcntl.h>.
31955
31956 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31957 (__libc_getspecific): Likewise.
31958 (__libc_key_create): Likewise.
31959
31960 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31961 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31962 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31963 (tmpfile64): Define as alias.
31964 * sysdeps/wordsize-64/tmpfile.c: File removed.
31965 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31968
31969 * stdio-common/vfscanf.c: Include <stdbool.h>.
31970 * nss/makedb.c: Likewise.
31971 * stdio-common/_i18n_number.h: Likewise.
31972 * argp/argp-help.c: Likewise.
31973 * posix/wordexp.c: Likewise.
31974 * sysdeps/posix/spawni.c: Likewise.
31975 * nss/nss_files/files-initgroups.c: Likewise.
31976 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31977 * nss/nss_files/files-initgroups.c: Likewise.
31978 * nss/nss_db/db-netgrp.c: Likewise.
31979 * nss/nss_db/db-initgroups.c: Likewise.
31980 * io/fchmodat.c: Include <sys/stat.h>.
31981
31982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31983 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31984
31985 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31986 [HAVE_MMAP].
31987
31988 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31989 Add multiple inclusion protection.
31990
e5abc686
DM
319912012-07-27 David S. Miller <davem@davemloft.net>
31992
31993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31994
815e6fa3
GB
319952012-07-27 Gary Benson <gbenson@redhat.com>
31996
31997 [BZ #14298]
31998 * elf/rtld.c: Include <stap-probe.h>.
31999 (dl_main): Added static probes "init_start" and "init_complete".
32000 * elf/dl-load.c: Include <stap-probe.h>.
32001 (lose): Take new parameter "nsid".
32002 Added static probe "map_failed".
32003 (_dl_map_object_from_fd): Pass namespace id to lose.
32004 Added static probe "map_start".
32005 (open_verify): Pass namespace id to lose.
32006 * elf/dl-open.c: Include <stap-probe.h>.
32007 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32008 and "reloc_complete".
32009 * elf/dl-close.c: Include <stap-probe.h>.
32010 (_dl_close_worker): Added static probes "unmap_start" and
32011 "unmap_complete".
32012 * elf/rtld-debugger-interface.txt: New file documenting the above.
32013
9f98c16c
RM
320142012-07-26 Roland McGrath <roland@hack.frob.com>
32015
32016 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32017 rather than a string variable.
32018 * sunrpc/rpc_main.c (h_output): Likewise.
32019 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32020
f3c22df3
PT
320212012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32022
32023 * inet/check_native.c: New file.
32024
3129cfc6
JM
320252012-07-26 Joseph Myers <joseph@codesourcery.com>
32026
da865e95
JM
32027 [BZ #13629]
32028 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32029 if larger part has absolute value 1.0.
32030 * math/s_clog10.c (__clog10): Likewise.
32031 * math/s_clog10f.c (__clog10f): Likewise.
32032 * math/s_clog10l.c (__clog10l): Likewise.
32033 * math/s_clogf.c (__clogf): Likewise.
32034 * math/s_clogl.c (__clogl): Likewise.
32035 * math/libm-test.inc (clog_test): Add more tests.
32036 (clog10_test): Likewise.
32037 * sysdeps/i386/fpu/libm-test-ulps: Update.
32038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32039
3129cfc6
JM
32040 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32041 (pltexit): Likewise.
32042 (La_regs): Likewise.
32043 (La_retval): Likewise.
32044 (int_retval): Likewise.
32045 Update #error for removed macros to refer only to definitions in
32046 tst-audit.h.
32047 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32048 macro.
32049 (pltexit): Likewise.
32050 (La_regs): Likewise.
32051 (La_retval): Likewise.
32052 (int_retval): Likewise.
32053 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32054 macro.
32055 (pltexit): Likewise.
32056 (La_regs): Likewise.
32057 (La_retval): Likewise.
32058 (int_retval): Likewise.
32059 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32060 macro.
32061 (pltexit): Likewise.
32062 (La_regs): Likewise.
32063 (La_retval): Likewise.
32064 (int_retval): Likewise.
32065 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32066 macro.
32067 (pltexit): Likewise.
32068 (La_regs): Likewise.
32069 (La_retval): Likewise.
32070 (int_retval): Likewise.
32071 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32072 macro.
32073 (pltexit): Likewise.
32074 (La_regs): Likewise.
32075 (La_retval): Likewise.
32076 (int_retval): Likewise.
32077 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32078 macro.
32079 (pltexit): Likewise.
32080 (La_regs): Likewise.
32081 (La_retval): Likewise.
32082 (int_retval): Likewise.
32083 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32084 macro definitions in tst-audit.h.
32085 * sysdeps/i386/tst-audit.h: New file.
32086 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32087 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32088 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32089 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32090 * sysdeps/sh/tst-audit.h: Likewise.
32091 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32092 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32093 * sysdeps/x86_64/tst-audit.h: Likewise.
32094
bfc07087
AJ
320952012-07-26 Andreas Jaeger <aj@suse.de>
32096
b1b2aaf8
AJ
32097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32098 ptrace.
32099
32100 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32101 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32102 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32103 PTRACE_O_MASK.
32104 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32105 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32106 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32107
bfc07087
AJ
32108 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32109 value.
32110
32111 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32112 _sigsys.
32113 (si_call_addr, si_syscall, si_arch): Define new macro.
32114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32115 _sigsys.
32116 (si_call_addr, si_syscall, si_arch): Define new marcro.
32117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32118 _sigsys.
32119 (si_call_addr, si_syscall, si_arch): Define new macro.
32120 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32121 _sigsys.
32122 (si_call_addr, si_syscall, si_arch): Define new macro.
32123
89b4b02f
JM
321242012-07-25 Joseph Myers <joseph@codesourcery.com>
32125
32126 [BZ #13717]
32127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32128 Change to 2.4.21 where previously 2.4.1.
32129 * sysdeps/unix/sysv/linux/configure: Regenerated.
32130 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32131 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32132 Linux kernel version.
32133 (__ASSUME_STD_AUXV): Remove.
32134 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32135 kernel version.
32136 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32137 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32138 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32139 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32140 (__ASSUME_NETLINK_SUPPORT): Likewise.
32141 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32142 (__no_netlink_support): Remove conditional definition.
32143 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32144 Remove.
32145 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32146 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32147 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32148 (if_nameindex_ioctl): Remove.
32149 (if_nameindex_netlink): Do not handle __no_netlink_support.
32150 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32151 code.
32152 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32153 Remove conditional code.
32154 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32155 code.
32156 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32157 unconditional.
32158 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32159 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32160 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32161 Remove.
32162 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32163 [!__ASSUME_STD_AUXV]: Remove conditional code.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32165 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32166 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32168 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32170 code.
32171 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32173 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32174 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32175 conditional code.
32176 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32178 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32179 code.
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32181 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32182 conditional code.
32183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32184 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32185 code unconditional.
32186 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32187 conditional code.
32188 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32189 unconditional.
32190 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32191 conditional code.
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32193 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32194 unconditional.
32195 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32196 conditional code.
32197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32198 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32199 code unconditional.
32200 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32201 conditional code.
32202 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32203 unconditional.
32204 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32205 conditional code.
32206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32207 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32208 code unconditional.
32209 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32210 conditional code.
32211 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32212 unconditional.
32213 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32214 conditional code.
32215
842a39cd
AS
322162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32217
32218 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32219 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32220 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32221 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32222 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32223 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32224 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32225 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32226 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32227 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32228 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32229 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32230 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32231 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32233 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32234 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32236 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32238 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32239 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32241
84b3fd84
FW
322422012-07-25 Florian Weimer <fweimer@redhat.com>
32243
32244 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32245 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32246 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32247 Introduce __libc_secure_getenv.
0c7936d5
FW
32248 * stdlib/Versions (2.17): Add secure_getenv
32249 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32250 * stdlib/secure-getenv.c: Rename __secure_getenv to
32251 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32252 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32253 * stdlib/tst-secure-getenv.c: New.
32254 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32255 * manual/startup.texi (Environment Access): Document
32256 secure_getenv.
84b3fd84
FW
32257 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32258 __libc_secure_getenv.
32259 * inet/ruserpass.c (ruserpass): Likewise.
32260 * malloc/mtrace.c (mtrace): Likewise.
32261 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32262 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32263 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32264 * sysdeps/posix/tempname.c: Likewise. Evaluate
32265 HAVE_SECURE_GETENV.
32266 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32267 __secure_getenv to __libc_secure_getenv.
84b3fd84 32268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32270 Likewise.
32271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32272 Likewise.
32273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32280
56e49b71
JM
322812012-07-25 Joseph Myers <joseph@codesourcery.com>
32282
32283 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32284 (struct La_i86_retval): Likewise.
32285 (struct La_x86_64_regs): Likewise.
32286 (struct La_x86_64_retval): Likewise.
32287 (struct La_x32_regs): Likewise.
32288 (struct La_x32_retval): Likewise.
32289 (struct La_ppc32_regs): Likewise.
32290 (struct La_ppc32_retval): Likewise.
32291 (struct La_ppc64_regs): Likewise.
32292 (struct La_ppc64_retval): Likewise.
32293 (struct La_sh_regs): Likewise.
32294 (struct La_sh_retval): Likewise.
32295 (struct La_s390_32_regs): Likewise.
32296 (struct La_s390_32_retval): Likewise.
32297 (struct La_s390_64_regs): Likewise.
32298 (struct La_s390_64_retval): Likewise.
32299 (struct La_sparc32_regs): Likewise.
32300 (struct La_sparc32_retval): Likewise.
32301 (struct La_sparc64_regs): Likewise.
32302 (struct La_sparc64_retval): Likewise.
32303 (struct audit_ifaces): Remove architecture-specific pltenter and
32304 pltexit members.
32305 * sysdeps/i386/ldsodefs.h: New file.
32306 * sysdeps/powerpc/ldsodefs.h: Likewise.
32307 * sysdeps/s390/ldsodefs.h: Likewise.
32308 * sysdeps/sh/ldsodefs.h: Likewise.
32309 * sysdeps/sparc/ldsodefs.h: Likewise.
32310 * sysdeps/x86_64/ldsodefs.h: Likewise.
32311
354691b7
MP
323122012-07-25 Marek Polacek <polacek@redhat.com>
32313
32314 [BZ #6808]
32315 * math/libm-test.inc (yn_test): Add another test.
32316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32317 to ERANGE when the result is +-Inf.
32318 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32319 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32320 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32321 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32322
bf9e2071
JM
323232012-07-24 Joseph Myers <joseph@codesourcery.com>
32324
32325 * conform/data/time.h-data (NULL): Use macro-constant. Require
32326 equal to 0.
32327 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32328 clock_t.
32329 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32330
57633811
TS
323312012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32332
32333 * configure.in <sysdeps resolving>: Correct printing
32334 Implies_before.
32335 * configure: Regenerate.
32336
c23c33b0
TS
323372012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32338
32339 * math/w_ilogb.c: Include <limits.h>.
32340 * math/w_ilogbl.c: Likewise.
32341
b5982523
JM
323422012-07-20 Joseph Myers <joseph@codesourcery.com>
32343
32344 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32345 va_copy. Document allowing for unavailable va_copy only as
32346 pre-C99 compatibility.
32347 * manual/string.texi (Copying and Concatenation): Use va_copy
32348 instead of __va_copy in concat example.
32349
ac4ea442
PT
323502012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32351
32352 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32353 (__sendto): Use create_address_port. Initialize APORT and deallocate
32354 it if not null.
32355
f98eafbd
PT
32356 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32357 with O_NOLINK passed to __file_name_lookup.
32358
898c7aab
PT
32359 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32360 with O_NOLINK passed to __file_name_lookup.
32361
0ced335a
PT
32362 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32363 negative N or less than NGIDS.
32364
b3404dbd
PT
32365 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32366 type to string_t. Set ERANGE as errno and return it if NAME is not big
32367 enough. Use memcpy instead of strncpy.
32368
0f48659e
JM
323692012-07-20 Joseph Myers <joseph@codesourcery.com>
32370
32371 * elf/Makefile (check-data): Remove.
32372 (localplt.data): New vpath directive.
32373 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32374 instead of $(check-data).
32375 * scripts/data/localplt-generic.data: Move to ...
32376 * sysdeps/generic/localplt.data: ... here.
32377 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32378 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32379 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32381 ... here.
32382 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32384 ... here.
32385 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32387 ... here.
32388 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32390 ... here.
32391 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32393 ... here.
32394 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32396 ... here.
32397
d37cbdaa
AZ
323982012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32399
32400 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32401 PPC32 and PPC64 files.
32402 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32403 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32404
46f85fc2
AK
324052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32406
32407 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32408 __makecontext_ret to ...
32409 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32410 ... here and call exit if uc_link is NULL. New file.
32411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32412 __makecontext_ret.S.
32413 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32414 __makecontext_ret to ...
32415 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32416 ... here and call exit if uc_link is NULL. New file.
32417 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32418 __makecontext_ret.S.
32419
08f43f9b
AK
324202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32421
32422 * elf/elf.h (R_390_IRELATIVE): New definition.
32423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32424 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32425 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32426 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32427 (elf_machine_lazy_rel): Likewise.
32428 * sysdeps/s390/dl-irel.h: New file.
32429 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32430 * sysdeps/s390/s390-64/memset.S: New asm code.
32431 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32432 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32434 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32435 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32436 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32438 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32439 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32440 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32441 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32442 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32443 * sysdeps/s390/s390-32/memset.S: New asm code.
32444 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32445
3b05db33
MP
324462012-07-17 Marek Polacek <polacek@redhat.com>
32447
32448 [BZ #14349]
32449 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32450 * sysdeps/s390/s390-64/configure.in: Likewise.
32451 * sysdeps/sparc/configure.in: Likewise.
32452 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32453 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32454 * sysdeps/i386/configure.in: Likewise.
32455 * sysdeps/x86_64/configure.in: Likewise.
32456 * sysdeps/sh/configure.in: Likewise.
32457 * sysdeps/s390/s390-32/configure: Regenerated.
32458 * sysdeps/s390/s390-64/configure: Likewise.
32459 * sysdeps/x86_64/configure: Likewise.
32460 * sysdeps/sh/configure: Likewise.
32461 * sysdeps/powerpc/powerpc64/configure: Likewise.
32462 * sysdeps/powerpc/powerpc32/configure: Likewise.
32463 * sysdeps/sparc/configure: Likwise.
32464 * sysdeps/i386/configure: Likewise.
32465
a66877c6
MP
32466 * elf/dl-open.c: Comment fixes.
32467
cfc82fd8
JM
324682012-07-17 Joseph Myers <joseph@codesourcery.com>
32469
bd29910a
JM
32470 * Makefile [CXX] (check-data): Remove.
32471 [CXX] (c++-types.data): New vpath directive.
32472 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32473 vpath. Do not allow for C++ type data being missing.
32474 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32475 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32476 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32477 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32478 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32479 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32480 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32482 ... here.
32483 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32485 ... here.
32486 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32488 ... here.
32489 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32491 ... here.
32492 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32494 ... here.
32495 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32497 ... here.
32498 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32500 ... here.
32501 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32503
cfc82fd8
JM
32504 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32505 definitions to architecture-specific files.
32506 (TLS_IE): Likewise.
32507 (TLS_LD): Likewise.
32508 (TLS_GD): Likewise.
32509 * sysdeps/i386/tls-macros.h: New file.
32510 * sysdeps/powerpc/tls-macros.h: Likewise.
32511 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32512 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32513 * sysdeps/sh/tls-macros.h: Likewise.
32514 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32515 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32516 * sysdeps/x86_64/tls-macros.h: Likewise.
32517
f7db3170
TS
325182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32519
07cbfc23
TS
32520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32521 zero value for regular exit case.
32522
f7db3170
TS
32523 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32524 (__start_context): Preserve zero value for regular exit case.
32525
dc97c227
TS
325262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32527 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32528
32529 * manual/setjmp.texi (setcontext): Clarify normal process
32530 termination when uc_link is the null pointer.
32531 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32532 exit call.
32533
d0cd7d02
AS
325342012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32535
32536 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32537 preprocessor. Test for each exception mask separately.
32538
dd318934
AJ
325392012-07-16 Andreas Jaeger <aj@suse.de>
32540
32541 * po/ru.po: Update from translation team.
32542
8048311a
JM
325432012-07-15 Joseph Myers <joseph@codesourcery.com>
32544
32545 * conform/data/string.h-data (NULL): Use macro-constant. Require
32546 equal to 0.
32547 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32548 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32549 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32550 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32552
b637d46e
AJ
325532012-07-13 Andreas Jaeger <aj@suse.de>
32554
32555 * po/fr.po: Update from translation team.
32556
541428fe
MP
325572012-07-12 Marek Polacek <polacek@redhat.com>
32558
32559 [BZ #14173]
32560 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32561 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32562 loop condition.
32563
ec332e94
JM
325642012-07-12 Joseph Myers <joseph@codesourcery.com>
32565
32566 [BZ #13717]
32567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32568 Change to 2.4.1 where previously 2.4.0.
32569 * sysdeps/unix/sysv/linux/configure: Regenerated.
32570 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32571 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32572 version.
32573 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32574 (__ASSUME_AT_CLKTCK): Remove.
32575 (__ASSUME_AT_PAGESIZE): Likewise.
32576 (__ASSUME_AT_XID): Likewise.
32577 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32578 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32579 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32580 unconditionally.
32581 (HAVE_AUX_PAGESIZE): Likewise.
32582 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32583 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32584 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32585
7b6e99be
JB
325862012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32587
32588 [BZ #14307]
32589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32590 the temporary buffer used to invoke __gethostbyname2_r,
32591 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32592 host_data / struct gaih_addrtuple.
32593 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32594 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32595 header file nss/nsswitch.h.
32596 * nss/nsswitch.h (global scope): Add definition of implementation
32597 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32598 resolv/nss_dns/dns-host.c).
32599
608404eb
AJ
326002012-07-11 Andreas Jaeger <aj@suse.de>
32601
32602 * po/fr.po: Update from translation team.
32603
71220aca
AJ
32604 * po/sv.po: Update from translation team
32605 * po/fr.po: Another update from translation team.
32606
28cfe843
AZ
326072012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32608
32609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32610 for subnormals or multiply small sinh result by itself.
32611 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32613
6b90f981
DM
326142012-07-11 David S. Miller <davem@davemloft.net>
32615
32616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32617
c6825772
AS
326182012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32619
32620 [BZ #14347]
32621 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32622 (INTERNAL_MARK): Shift it here.
32623
7b8e0d49
MP
326242012-07-10 Marek Polacek <polacek@redhat.com>
32625
32626 [BZ #14151]
32627 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32628 libc_cv_asm_global_directive with .globl.
32629 * configure: Regenerated.
32630 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32631 with .globl.
32632 * sysdeps/i386/configure: Regenerated.
32633 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32634 with .globl.
32635 * sysdeps/x86_64/configure: Regenerated.
32636 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32637 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32638 * elf/tst-unique2mod2.c: Likewise.
32639 * elf/tst-unique2mod1.c: Likewise.
32640 * elf/tst-unique1mod2.c: Likewise.
32641 * elf/tst-unique1mod1.c: Likewise.
32642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32643 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32645 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32646 * sysdeps/mach/sysdep.h: Likewise.
32647 * sysdeps/i386/sysdep.h: Likewise.
32648 * sysdeps/i386/i386-mcount.S: Likewise.
32649 * sysdeps/x86_64/_mcount.S: Likewise.
32650 * sysdeps/x86_64/sysdep.h: Likewise.
32651 * sysdeps/sh/_mcount.S: Likewise.
32652 * sysdeps/sh/sysdep.h: Likewise.
32653 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32654 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32655 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32656 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32657 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32658 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32659 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32660 * locale/localeinfo.h: Likewise.
32661 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32662 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32663
6c55cda3
RM
326642012-07-09 Roland McGrath <roland@hack.frob.com>
32665
32666 [BZ #14336]
32667 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32668 system".
32669 * manual/message.texi (The Uniforum approach): Likewise.
32670 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32671 (glibc iconv Implementation): Likewise.
32672
638a572e
JM
326732012-07-09 Joseph Myers <joseph@codesourcery.com>
32674
32675 [BZ #14337]
32676 * math/s_clog.c (__clog): Avoid scaling a value down where that
32677 could result in underflow.
32678 * math/s_clog10.c (__clog10): Likewise.
32679 * math/s_clog10f.c (__clog10f): Likewise.
32680 * math/s_clog10l.c (__clog10l): Likewise.
32681 * math/s_clogf.c (__clogf): Likewise.
32682 * math/s_clogl.c (__clogl): Likewise.
32683 * math/libm-test.inc (clog_test): Add more tests.
32684 (clog10_test): Likewise.
32685 * sysdeps/i386/fpu/libm-test-ulps: Update.
32686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687
261f4859
AS
326882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32689
0abaf3e4
AS
32690 [BZ #14283]
32691 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32692 by 7 not 8 to examine high bit of fractional part.
32693
261f4859
AS
32694 [BZ #14042]
32695 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32696 for call to __mcount_internal.
32697 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32698 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32699 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32700
f17ac40d
JM
327012012-07-06 Joseph Myers <joseph@codesourcery.com>
32702
9ad63c23
JM
32703 [BZ #14154]
32704 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32705 approximation for values within 0x1p-13f of an odd multiple of
32706 pi/4.
32707 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32708 exception. Add more tests.
32709 * sysdeps/i386/fpu/libm-test-ulps: Update.
32710
f17ac40d
JM
32711 [BZ #6778]
32712 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32713 inputs and return -1 for them. Do not check for +Inf in case not
32714 reachable for +Inf.
32715 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32716 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32718 and return -1 for them. Do not check for +Inf in case not
32719 reachable for +Inf.
32720 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32721 define.
32722 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32723 and return -1 for them. Do not check for +Inf in case not
32724 reachable for +Inf.
32725 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32726 spurious underflow.
32727 * sysdeps/i386/fpu/libm-test-ulps: Update.
32728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729
fb21f89b
MF
327302012-07-06 Mike Frysinger <vapier@gentoo.org>
32731
32732 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32733
cdfe2c5e
JM
327342012-07-05 Joseph Myers <joseph@codesourcery.com>
32735
32736 [BZ #14157]
32737 [BZ #14331]
32738 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32739 could result in spurious underflow. Scale down values above
32740 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32741 * math/s_csqrtf.c (__csqrtf): Likewise.
32742 * math/s_csqrtl.c (__csqrtl): Likewise.
32743 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32744 spurious underflow.
32745 * sysdeps/i386/fpu/libm-test-ulps: Update.
32746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32747
70d35b67
AS
327482012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32749
704bc459
AS
32750 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32751 xopen-msg.sed.
32752 * catgets/xopen-msg.awk: New file.
32753 * catgets/xopen-msg.sed: Removed.
32754
70d35b67
AS
32755 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32756 po2text.sed.
32757 * intl/po2test.awk: New file.
32758 * intl/po2test.sed: Removed.
32759
ca61cf32
JM
327602012-07-04 Joseph Myers <joseph@codesourcery.com>
32761
32762 [BZ #14328]
32763 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32764 or multiply small sinh result by itself.
32765 * math/s_ctanf.c (__ctanf): Likewise.
32766 * math/s_ctanh.c (__ctanh): Likewise.
32767 * math/s_ctanhf.c (__ctanhf): Likewise.
32768 * math/s_ctanhl.c (__ctanhl): Likewise.
32769 * math/s_ctanl.c (__ctanl): Likewise.
32770 * math/libm-test.inc (ctan_test_tonearest): New function.
32771 (ctan_test_towardzero): Likewise.
32772 (ctan_test_downward): Likewise.
32773 (ctan_test_upward): Likewise.
32774 (ctanh_test_tonearest): Likewise.
32775 (ctanh_test_towardzero): Likewise.
32776 (ctanh_test_downward): Likewise.
32777 (ctanh_test_upward): Likewise.
32778 (main): Call these new functions.
32779 * sysdeps/i386/fpu/libm-test-ulps: Update.
32780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32781
ca48a46a
MF
327822012-07-03 Mike Frysinger <vapier@gentoo.org>
32783
32784 * .gitignore: Delete /ports entry.
32785
9d63d37d
AJ
327862012-07-03 Andreas Jaeger <aj@suse.de>
32787
32788 * po/bg.po: Update from translation team.
32789 * po/cs.po: Likewise.
32790 * po/de.po: Likewise.
32791 * po/hr.po: Likewise.
32792 * po/nl.pl: Likewise.
32793 * po/pl.po: Likewise.
32794 * po/vi.po: Likewise.
32795
370ca3d2
JM
327962012-07-03 Joseph Myers <joseph@codesourcery.com>
32797
95f5a9a8
JM
32798 * Makeconfig [!+link] (+link-before-libc): New variable.
32799 [!+link] (+link-after-libc): Likewise.
32800 [!+link] (+link-tests): Likewise.
32801 [!+link] (+link): Define in terms of $(+link-before-libc) and
32802 $(+link-after-libc).
32803 [!+link-static] (+link-static-before-libc): New variable.
32804 [!+link-static] (+link-static-after-libc): Likewise.
32805 [!+link-static] (+link-static-tests): Likewise.
32806 [!+link-static] (+link-static): Define in terms of
32807 $(+link-static-before-libc) and $(+link-static-after-libc).
32808 [build-shared] (link-libc-before-gnulib): New variable.
32809 [build-shared] (link-libc-tests): Likewise.
32810 [build-shared] (link-libc): Define in terms of
32811 $(link-libc-before-gnulib).
32812 [!build-shared] (link-libc-tests): New variable.
32813 (link-libc-static-tests): New variable.
32814 [!gnulib] (gnulib-arch): New variable.
32815 [!gnulib] (gnulib-tests): Likewise.
32816 [!gnulib] (static-gnulib-arch): Likewise.
32817 [!gnulib] (static-gnulib-tests): Likewise.
32818 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32819 Define with "=" instead of ":=".
32820 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32821 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32822 * Rules (binaries-all-notests): New variable.
32823 (binaries-all-tests): Likewise.
32824 (binaries-static-notests): Likewise.
32825 (binaries-static-tests): Likewise.
32826 (binaries-all): Define using $(binaries-all-notests) and
32827 $(binaries-all-tests).
32828 (binaries-static): Define using $(binaries-static-notests) and
32829 $(binaries-static-tests).
32830 (binaries-shared-tests): New variable.
32831 (binaries-shared-notests): Likewise.
32832 (binaries-shared): Remove variable.
32833 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32834 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32835 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32836 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32837 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32838 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32839 * elf/Makefile (sln-modules): New variable.
32840 (extra-objs): Add $(sln-modules:=.o).
32841 (ldconfig-modules): Add static-stubs.
32842 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32843 * elf/static-stubs.c: New file.
32844
7a845b2c
JM
32845 [BZ #14283]
32846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32847 by 7 not 8 to examine high bit of fractional part. Use volatile
32848 variables when splitting into final array of floats if
32849 __FLT_EVAL_METHOD__ != 0.
32850 * math/libm-test.inc (cos_test): Add another test.
32851 (sin_test): Likewise.
32852 * sysdeps/i386/fpu/libm-test-ulps: Update.
32853
e2283f38
JM
32854 [BZ #14273]
32855 * math/libm-test.inc (cosh_test): Add more tests.
32856
370ca3d2
JM
32857 * version.h (RELEASE): Set to "development".
32858 (VERSION): Set to "2.16.90".
32859
ee9247c3
CD
328602012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32861
32862 * NEWS: Update copyright. Remove last-updated date.
32863 Mention math library bug fixes and timezone data changes.
32864 * README: Mention GNU/Hurd, x32, and HPPA support status.
32865
4648c381
TS
328662012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32867
32868 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32869
aac78a43
AJ
328702012-06-27 Andreas Jaeger <aj@suse.de>
32871
32872 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32873
ed3dbfad
AJ
328742012-06-25 Andreas Jaeger <aj@suse.de>
32875
32876 * sysdeps/s390/fpu/libm-test-ulps: Update.
32877
4d0ee855
AS
328782012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32879 Thomas Schwinge <thomas@codesourcery.com>
32880
32881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32882 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32884 fanotify_mark.
32885
af1bce34
TS
328862012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32887
a9fa33ba
TS
32888 * sysdeps/mach/start.c: Remove file.
32889 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32890 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32891 * sysdeps/sh/init-first.c: Likewise.
32892
58f902b8
TS
32893 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32894 registers for frame unwinding purposes, add CFI directives.
32895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32896 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32897 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32898 Likewise.
32899
1518f58b
TS
32900 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32901 __fortify_fail returning.
32902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32903
db9b5059
TS
32904 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32905 sysdeps/sh/____longjmp_chk.S.
32906 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32907 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32908 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32909 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32910
967705fe
TS
32911 * sysdeps/sh/abort-instr.h: New file.
32912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32913 process in case exit returns.
32914
a9def8c4
TS
32915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32916 initialize the GOT register before use.
32917
2a649725
TS
32918 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32919 calculation of ARGC > 4.
32920
af1bce34
TS
32921 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32922 meaningful names to some local labels.
32923
d230f50a
KK
329242012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32925 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32926
32927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32928 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32929 (__arch_compare_and_exchange_val_16_acq): Likewise.
32930 (__arch_compare_and_exchange_val_32_acq): Likewise.
32931 (atomic_exchange_and_add): Fix gUSA sequence.
32932 (atomic_add): Likewise.
32933 (atomic_add_negative): Likewise.
32934 (atomic_add_zero): Likewise.
32935 (atomic_bit_test_set): Likewise.
32936
0479b305
AS
329372012-06-22 Andreas Schwab <schwab@redhat.com>
32938
32939 [BZ #13579]
32940 * include/link.h (struct link_map): Add l_free_initfini.
32941 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32942 l_initfini.
32943 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32944 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32945 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32946 set.
32947
0e3933b9
CD
329482012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32949
32950 * configure.in: Use AC_LANG_SOURCE.
32951 * configure: Regenerate.
32952
4248b1b1
RM
329532012-06-22 Roland McGrath <roland@hack.frob.com>
32954
32955 * configure.in (libc_cv_localstatedir): New substituted variable.
32956 * configure: Regenerated.
32957 * config.make.in (localstatedir): New variable, substituted from
32958 libc_cv_localstatedir.
32959 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32960 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32961 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32962 * sysdeps/gnu/configure: Regenerated.
32963
006dd861
JL
329642012-06-21 Jeff Law <law@redhat.com>
32965
32966 [BZ #14277]
32967 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32968 free. Simplify list management for _LIBC case.
32969
79662d42
JM
329702012-06-21 Joseph Myers <joseph@codesourcery.com>
32971
b7abb4bf
JM
32972 [BZ #14273]
32973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32974 Clear sign bit of 64-bit integer value before comparing against
32975 overflow value.
32976
79662d42
JM
32977 * sysdeps/mach/configure: Regenerated.
32978
1f150908
L
329792012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32980
32981 [BZ #14278]
32982 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32983
28363bbf
JL
329842012-06-21 Jeff Law <law@redhat.com>
32985
32986 [BZ #13882]
32987 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32988 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32990 * elf/dl-open.c (dl_open_worker): Likewise.
32991
09615db4
CD
329922012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32993
32994 * scripts/list-sources.sh: Scan PORTS for translations.
32995 * po/libc.pot: Regenerated.
32996
2174c6dd
AJ
329972012-06-21 Andreas Jaeger <aj@suse.de>
32998
32999 [BZ #12194]
33000 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33001 warning.
33002 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33003 * bits/byteswap-16.h (__bswap_16): Likewise.
33004 * bits/byteswap.h (__bswap_constant_16): Likewise.
33005
3ee947b1
L
330062012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33007
33008 [BZ #14117]
a2f34833
L
33009 * sysdeps/i386/fpu_control.h: Removed.
33010 * sysdeps/x86_64/fpu_control.h: Moved to ...
33011 * sysdeps/x86/fpu_control.h: Here.
33012
3ee947b1
L
33013 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33014 (_FPU_SETCW): Likewise.
33015
ed1825f8
L
330162012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33017
25f1282a
L
33018 [BZ #14117]
33019 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33020 * sysdeps/x86/fpu/bits/mathinline.h: This.
33021 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33022
ed1825f8
L
33023 [BZ #14050]
33024 [BZ #14117]
33025 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33026 functions if __x86_64__ is defined.
33027
36d54b74
CLT
330282012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33029
33030 * string/endian.h: Add !__ASSEMBLER__ condition for including
33031 conversion interfaces.
33032
10285c21
JM
330332012-06-15 Joseph Myers <joseph@codesourcery.com>
33034
33035 [BZ #14241]
33036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33037 of ABS(x) in calculating zero to negative powers other than odd
33038 integers.
33039 * math/libm-test.inc (pow_test): Add more tests.
33040
06c5abbd
AJ
330412012-06-15 Andreas Jaeger <aj@suse.de>
33042
33043 * manual/contrib.texi (Contributors): Update entry of Liubov
33044 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33045 Machado Filho.
33046
a3aeac40
CH
330472012-06-15 Cyril Hrubis <metan@ucw.cz>
33048
33049 * string/string.h: Add __wur to GNU version of strerror_r.
33050
49bdf4c1
L
330512012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33052
33053 [BZ #14229]
33054 * string/Makefile (tests): Add tst-strtok_r.
33055 * string/tst-strtok_r.c: New file.
33056 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33057 RAX_LP/RDX_LP on SAVE_PTR.
33058
834f9b8d
RM
330592012-06-14 Roland McGrath <roland@hack.frob.com>
33060
33061 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33062
75fa1921
JM
330632012-06-14 Joseph Myers <joseph@codesourcery.com>
33064
33065 * libm_test.inc (csqrt_test): Allow more spurious underflow
33066 exceptions.
33067 (j0_test): Likewise.
33068 (j1_test): Likewise.
33069 (y0_test): Likewise.
33070 (y1_test): Likewise.
33071
771766df
CD
330722012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33073
33074 * po/Makefile (libc.pot): Use UTF-8 charset.
33075
ceb9e56b
PP
330762012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33077
33078 [BZ #14210]
33079 Suppress sign-conversion warning from FD_SET.
33080 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33081 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33082 not unsigned long int.
33083 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33084
ddb28975
L
330852012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 [BZ #14050]
33088 [BZ #14117]
33089 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33090 __extern_always_inline instead of __extern_inline.
33091 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33092 (__signbit): Likewise.
33093 (__signbitl): Support C++ namespace.
33094 (lrintf): New inline function.
33095 (lrint): Likewise.
33096 (llrintf): Likewise.
33097 (llrint): Likewise.
33098 (fmaxf): Likewise.
33099 (fmax): Likewise.
33100 (fminf): Likewise.
33101 (fmin): Likewise.
33102 (rint): Likewise.
33103 (rintf): Likewise.
33104 (ceil): Likewise.
33105 (ceilf): Likewise.
33106 (floor): Likewise.
33107 (floorf): Likewise.
33108 (nearbyint): Likewise.
33109 (nearbyintf): Likewise.
33110
d7b4fb26
TS
331112012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33112
33113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33114 non-default versions.
33115
eb55f5c2
RM
331162012-06-11 Roland McGrath <roland@hack.frob.com>
33117
33118 [BZ #14218]
33119 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33120
366af02c
TS
331212012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33122
99ff6e5c
TS
33123 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33124 (FE_UPWARD, FE_DOWNWARD): Don't define.
33125 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33127
366af02c
TS
33128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33129 reading it.
33130 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33131 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33132
793ea851
KK
331332012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33134
33135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33139
a728a38f
L
331402012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 [BZ #14117]
c08010c7
L
33143 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33144 * sysdeps/i386/fpu/Implies: New file.
33145 * sysdeps/x86_64/fpu/Implies: Likewise.
33146 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33147 * sysdeps/x86/fpu/bits/fenv.h: This.
33148
a728a38f
L
33149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33150 __SSE_MATH__.
33151
6e230d11
SP
331522012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33153
33154 [BZ #14134]
33155 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33156 character 0xffff that matches the last element of the
33157 conversion table.
33158
1b671feb
AZ
331592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33160
33161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33162 fmodl commit.
33163
6043738b
AZ
331642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33165
33166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33167 values higher than 25.6283.
33168
34ae0b32
AZ
331692012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33170
33171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33172 subnormal exponent extraction and add some __builtin_expect.
33173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33174 Fix for subnormal mantissa calculation.
33175
1214ec8f
MF
331762012-06-04 Mike Frysinger <vapier@gentoo.org>
33177
33178 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33179 cpu2 is -1 and errno is not ENOSYS.
33180
f3d1f93c
L
331812012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33182
33183 [BZ #14117]
0e4a3cd7
L
33184 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33185 * sysdeps/x86/bits/string.h: This.
33186 * sysdeps/x86_64/bits/string.h: Removed.
33187
6704c645
L
33188 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33189 if not compiling for x86-64, but compiling for >= i486.
33190
48495318
L
33191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33192 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33193
14adcbfc
L
33194 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33195 New macro from Linux kernel 3.4.0.
33196 (FP_XSTATE_MAGIC2): Likewise.
33197 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33198 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33199 (struct _fpx_sw_bytes): New struct.
33200 (struct _xsave_hdr): Likewise.
33201 (struct _ymmh_state): Likewise.
33202 (struct _xstate): Likewise.
33203
68e408ab
L
33204 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33205 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33207 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33208 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33209 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33210
f3d1f93c
L
33211 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33212 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33213 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33214 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33215 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33216 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33217
d9dc34cd
TMQMF
332182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33219
33220 [BZ #13743]
33221 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33222 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33223 (sysdep_headers): Include sys/platform/ppc.h.
33224 * sysdeps/powerpc/test-gettimebase.c: Test for
33225 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33226 * manual/Makefile (appendices): Include platform.texi.
33227 * manual/contrib.texi (Contributors): Update @node pointers.
33228 * manual/maint.texi (Maintenance): Likewise.
33229 (Platform): New node.
33230 * manual/platform.texi: New file. Document the new features.
33231
4af3879c
SP
332322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33233 Jakub Jelinek <jakub@redhat.com>
33234
33235 [BZ #14188]
33236 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33237 where __builtin_expect is unavailable.
33238
2fd6ff13
DM
332392012-06-03 David S. Miller <davem@davemloft.net>
33240
33241 * stdlib/longlong.h: Updated from GCC.
33242
173f7220
AS
332432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33244
33245 [BZ #14042]
33246 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33247 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33248 __mcount_internal.
33249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33250 (GLIBC_2.16): Likewise.
33251
f34a1c6f
L
332522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33253
33254 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33255
88a4576f
JM
332562012-06-01 Joseph Myers <joseph@codesourcery.com>
33257
ea32bcdd
JM
33258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33259 (default-abi): New variable.
33260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33261 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33262 variable.
33263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33264 Likewise.
33265 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33266 Likewise.
33267 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33268 Likewise.
33269
88a4576f
JM
33270 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33271 definition. Document in comment.
33272
402fe938
DM
332732012-06-01 David S. Miller <davem@davemloft.net>
33274
33275 * stdlib/longlong.h: Updated from GCC.
33276
3553723f
L
332772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 [BZ #14117]
3bd872c4
L
33280 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33281 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33282 sys/debugreg.h sys/io.h here.
33283 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33284 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33285 sys/io.h.
33286 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33287 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33288 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33289 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33290 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33291 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33292
3553723f
L
33293 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33294 Define only if __x86_64__ is defined.
33295
4842e4fe
JM
332962012-06-01 Joseph Myers <joseph@codesourcery.com>
33297
c5bfe3d5
JM
33298 [BZ #14048]
33299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33300 Use int64_t for variable i.
33301 * math/libm-test.inc (fmod_test): Add more tests.
33302
4842e4fe
JM
33303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33304 z computation is not scheduled after fetestexcept.
33305 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33306 Use math_force_eval instead of asm to ensure calculation scheduled
33307 before exception test.
33308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33309 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33310
efb73488
AJ
333112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33312
33313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33314 computation is not scheduled after fetestexcept.
33315
29bcce7c
L
333162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 [BZ #14117]
33319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33320 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33321
73a68f94
AZ
333222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33323
33324 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33326
67b6df78
L
333272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33328
edf2933a 33329 [BZ #14117]
ebc64a18
L
33330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33331 <bits/wordsize.h>.
33332 (__WCHAR_MIN): Support __WORDSIZE == 64.
33333 (__WCHAR_MAX): Likewise.
33334
edf2933a
L
33335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33337
57c6cf40
L
33338 [BZ #14183]
33339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33340 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33341
67b6df78 33342 [BZ #14117]
8eb6281e
L
33343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33345
aac639f4
L
33346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33347 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33348
67b6df78
L
33349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33350 Defined to 1 if __x86_64__ isn't defined.
33351 (_STAT_VER_LINUX_OLD): New.
33352 (st_atime): Remove duplicate.
33353 (st_mtime): Likewise.
33354 (st_ctime): Likewise.
33355
1c2cfe81
DM
333562012-05-31 David S. Miller <davem@davemloft.net>
33357
33358 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33359 entries.
33360
5be8418c
AS
333612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33362
e7725326
AS
33363 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33364 gen-libm-test.pl.
33365
5be8418c
AS
33366 [BZ #14132]
33367 * elf/dl-reloc.c: Include <_itoa.h>.
33368 (_dl_reloc_bad_type): Remove use of INTUSE.
33369 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33370 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33371 * stdio-common/psiginfo.c (psiginfo): Likewise.
33372 * stdio-common/psignal.c (psignal): Likewise.
33373 * string/strsignal.c (strsignal): Likewise.
33374 * include/signal.h (_sys_siglist): Declare hidden proto.
33375 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33376 INTVARDEF with libc_hidden_data_def.
33377 * stdio-common/itoa-udigits.c: Likewise.
33378 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33379 (_itoa_lower_digits_internal): Remove declaration.
33380 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33381 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33382 (_sys_sigabbrev_internal): Remove aliases.
33383 (_sys_siglist): Define hidden alias.
33384
507352f1
MT
333852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33386
33387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33388 bits/sysctl.h.
33389
42bbb1c3
L
333902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33391
33392 [BZ #14117]
6bd784b6
L
33393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33394 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33395
8bca20f0
L
33396 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33397 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33399 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33401 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33402
f9e890a9
L
33403 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33405 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33406
471101a1
L
33407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33408 with __addr.
33409 (insw): Likewise.
33410 (insl): Likewise.
33411 (outsb): Likewise.
33412 (outsw): Likewise.
33413 (outsl): Likewise.
33414
6451c862
L
33415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33418
a254b8c9
L
33419 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33420 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33421 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33422 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33423 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33424 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33425
b8dfdd92
L
33426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33427 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33428
578cd270
L
33429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33431
de662f5f
L
33432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33435
25653439
L
33436 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33437 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33438 to ...
33439 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33440
6bad24a0
L
33441 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33442 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33443 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33444
42bbb1c3
L
33445 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33446 for x86-64.
33447 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33448
2d10d547
JM
334492012-05-31 Joseph Myers <joseph@codesourcery.com>
33450
33451 * math/math.h (M_El): Use two more decimal places.
33452 (M_LOG2El): Likewise.
33453 (M_LOG10El): Likewise.
33454 (M_LN2l): Likewise.
33455 (M_LN10l): Likewise.
33456 (M_PIl): Likewise.
33457 (M_PI_2l): Likewise.
33458 (M_PI_4l): Likewise.
33459 (M_1_PIl): Likewise.
33460 (M_2_PIl): Likewise.
33461 (M_2_SQRTPIl): Likewise.
33462 (M_SQRT2l): Likewise.
33463 (M_SQRT1_2l): Likewise.
33464
f230c29b
DM
334652012-05-31 David S. Miller <davem@davemloft.net>
33466
33467 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33468 values between float registers.
33469 * sysdeps/sparc/sparc64/memset.S: Likewise.
33470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33471
fed806c3
MF
334722012-05-31 Mike Frysinger <vapier@gentoo.org>
33473
33474 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33475 -D_FORTIFY_SOURCE=1.
33476 (CPPFLAGS-tst-longjmp_chk.c): Define.
33477 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33478 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33479 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33480 CFLAGS-tst-wchar-h.c.
33481
30917259
MP
334822012-05-31 Marek Polacek <polacek@redhat.com>
33483
33484 [BZ #14132]
33485 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33486 __endmntent_internal): Remove declaration.
33487 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33488 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33489 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33490
1c58d5dc
DM
334912012-05-30 David S. Miller <davem@davemloft.net>
33492
33493 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33494 (___Q_simulate_exceptions): Use real FP ops rather than writing
33495 into the %fsr.
33496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33497 Likewise.
33498
7dc00e0d
L
334992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33500
33501 [BZ #14117]
0bd53985
L
33502 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33503 * sysdeps/x86/bits/xtitypes.h: This.
33504
3a257e66
L
33505 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33506 * sysdeps/x86/bits/wordsize.h: This.
33507
62f62904
L
33508 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33509 * sysdeps/x86/bits/huge_vall.h: This.
33510
404fe9d9
L
33511 * sysdeps/i386/bits/select.h: Removed.
33512 * sysdeps/x86_64/bits/select.h: Renamed to ...
33513 * sysdeps/x86/bits/select.h: This.
33514
d48d0446
L
33515 * sysdeps/i386/bits/setjmp.h: Removed.
33516 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33517 * sysdeps/x86/bits/setjmp.h: This.
33518
7dc00e0d
L
33519 * sysdeps/i386/bits/mathdef.h: Removed.
33520 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33521 * sysdeps/x86/bits/mathdef.h: This.
33522
03277f8f
AS
335232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33524
33525 [BZ #14132]
33526 * include/sys/socket.h (__connect_internal)
33527 (__libc_sa_len_internal): Remove declaration.
33528 (__connect, __libc_sa_len): Declare hidden_proto.
33529 (SA_LEN): Remove use of INTUSE.
33530 * socket/connect.c: Add libc_hidden_def.
33531 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33532 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33533 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33534 alias.
33535 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33537 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33538 of adding _internal alias.
33539
13764867
L
335402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33541
33542 [BZ #14117]
6bd97696
L
33543 * sysdeps/i386/bits/link.h: Removed.
33544 * sysdeps/i386/bits/linkmap.h: Likewise.
33545 * sysdeps/x86_64/bits/link.h: Renamed to ...
33546 * sysdeps/x86/bits/link.h: This.
33547 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33548 * sysdeps/x86/bits/linkmap.h: This.
33549
f726f0bb
L
33550 * sysdeps/i386/bits/endian.h: Removed.
33551 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33552 * sysdeps/x86/bits/endian.h: This.
33553
13764867
L
33554 * sysdeps/i386/bits/byteswap.h: Removed.
33555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33556 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33557 * sysdeps/x86/bits/byteswap.h: This.
33558 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33559 * sysdeps/x86/bits/byteswap-16.h: This.
33560 * sysdeps/i386/Implies: Add x86.
33561 * sysdeps/x86_64/Implies: Likewise.
33562
ae251b0b
DM
335632012-05-30 David S. Miller <davem@davemloft.net>
33564
33565 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33566 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33568 (FP_TRAPPING_EXCEPTIONS): Define.
33569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33570 (FP_TRAPPING_EXCEPTIONS): Define.
33571 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33572 subnormals only when inexact has been signalled or underflow
33573 exceptions are enabled.
33574 (_FP_PACK_CANONICAL): Likewise.
33575
d5c90867
L
335762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 [BZ #14183]
33579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33580 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33581
63f1549e
RH
335822012-05-30 Richard Henderson <rth@twiddle.net>
33583
8d8f2279
RH
33584 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33585 with #ifndef NOT_IN_libc.
33586
63f1549e
RH
33587 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33588 marked to avoid plt entry.
33589
0ab0291b
L
335902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33591
33592 [BZ #14112]
33593 * Makeconfig (default-abi): New macro.
33594 (abi-includes): Likewise.
33595 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33596 $(abi-$(default-abi)-lib-soname) for soname if defined.
33597 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33598 abi-variants.
33599 * Makefile (installed-stubs): Likewise.
33600 * include/stubs-biarch.h: Removed.
33601 * scripts/lib-names.awk: Only handle one library at a time.
33602 * scripts/soversions.awk: Remove WORDSIZE support.
33603 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33604 entries.
33605 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33606 Removed.
33607 (syscall-list-default-condition): Likewise.
33608 (syscall-list-default-condition): Likewise.
33609 (syscall-list-includes): Likewise.
33610 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33611 syscall-list-* with abi-*. Handle undefined abi-variants.
33612 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33613 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33614 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33615 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33616 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33617 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33618 Removed.
33619 (syscall-list-32-options): Likewise.
33620 (syscall-list-32-condition): Likewise.
33621 (syscall-list-64-options): Likewise.
33622 (syscall-list-64-condition): Likewise.
33623 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33624 macro.
33625 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33626 Renamed to ...
33627 (abi-*): This.
33628 (abi-64-ld-soname): New macro.
33629 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33630 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33631 Renamed to ...
33632 (abi-*): This.
33633 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33634 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33635
4da0431d
JM
336362012-05-30 Joseph Myers <joseph@codesourcery.com>
33637
3a85279c
JM
33638 * sysdeps/unix/sysv/linux/kernel-features.h
33639 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33640 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33641 include <kernel-features.h>.
33642 [!__NR_ftruncate64]: Remove conditional code.
33643 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33644 [__NR_ftruncate64]: Make code unconditional.
33645 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33646 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33647 include <kernel-features.h>.
33648 [!__NR_ftruncate64]: Remove conditional code.
33649 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33650 [__NR_ftruncate64]: Make code unconditional.
33651 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33653 include <kernel-features.h>.
33654 [!__NR_ftruncate64]: Remove conditional code.
33655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33656 [__NR_ftruncate64]: Make code unconditional.
33657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33659 include <kernel-features.h>.
33660 [!__NR_ftruncate64]: Remove conditional code.
33661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33662 [__NR_ftruncate64]: Make code unconditional.
33663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33664
4da0431d
JM
33665 * configure.in (libc_cv_fpie): Weaken to a compile test using
33666 LIBC_TRY_CC_OPTION.
33667 * configure: Regenerated.
33668
11ef492c
AK
336692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33670
33671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33675 Refreshed.
33676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33682 Refreshed.
33683
d66ef399
DM
336842012-05-27 David S. Miller <davem@davemloft.net>
33685
33686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33687 (___Q_zero): New.
33688 (__Q_simulate_exceptions): Return void. Change to simulate
33689 exceptions by writing into the %fsr.
33690 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33691 (__Qp_handle_exceptions): Likewise.
33692 (numbers): Delete.
33693 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33694 __Qp_handle_exceptions.
33695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33696 __Qp_handle_exceptions.
33697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33698 as unused and give dummy FP_RND_NEAREST initializer.
33699 (FP_INHIBIT_RESULTS): Define.
33700 (___Q_simulate_exceptions): Update declaration.
33701 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33702 formatting.
33703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33704 as unused and give dummy FP_RND_NEAREST initializer.
33705 (__Qp_handle_exceptions): Update declaration.
33706 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33707 formatting.
33708
04fb54b5
TS
337092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33710
33711 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33712 the temporary FPU control word.
33713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33714 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33716 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33718 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33719 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33721 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33722 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33723 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33724
3f99608f
KK
337252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33726
33727 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33728 fields.
33729
65a4de4e
CLT
337302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33731
33732 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33733 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33734 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33735 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33736 Likewise.
33737 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33738 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33739 Likewise.
33740
15749d40
UD
337412012-05-27 Ulrich Drepper <drepper@gmail.com>
33742
33743 * po/h.po: Update from translation team.
33744
25dbcb27
AS
337452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33746
3d3f8e55
AS
33747 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33748
25dbcb27
AS
33749 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33750 handling of denormals.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33752 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33754 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33758 Likewise.
33759
7ad47a80 337602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33761
33762 [BZ #14152]
33763 * math/libm-test.inc (fma_test): Don't always expect underflow
33764 exception.
33765
9c6ea9fa
SP
337662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33767
33768 [BZ #12416]
33769 * elf/tst-execstack.c: Include stackinfo.h.
33770 (do_test): Adjust test case to ensure that pthread_getattr_np
33771 behaviour remains the same after marking stack executable.
33772
a8239222
JM
337732012-05-25 Joseph Myers <joseph@codesourcery.com>
33774
33775 * sysdeps/unix/sysv/linux/kernel-features.h
33776 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33777 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33778 kernel-features.h.
33779 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33780 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33782 kernel-features.h.
33783 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33784 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33785
918b5606
L
337862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33787
33788 * configure.in: Define the default includes to being none.
33789 * configure: Regenerated.
33790
3a097cc7
RM
337912012-05-25 Roland McGrath <roland@hack.frob.com>
33792
8422c9a5
RM
33793 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33794 * sysdeps/x86_64/setjmp.S: Likewise.
33795 * sysdeps/i386/bsd-setjmp.S: Likewise.
33796 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33797 * sysdeps/i386/setjmp.S: Likewise.
33798 * sysdeps/i386/__longjmp.S: Likewise.
33799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33800 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33801
3a097cc7
RM
33802 * include/stap-probe.h: New file.
33803 * configure.in: Handle --enable-systemtap.
33804 * configure: Regenerated.
33805 * config.h.in (USE_STAP_PROBE): New #undef.
33806 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33807 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33808 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33809
21708942
JM
338102012-05-25 Joseph Myers <joseph@codesourcery.com>
33811
33812 [BZ #13717]
33813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33814 to 2.4.0 where earlier.
33815 * sysdeps/unix/sysv/linux/configure: Regenerated.
33816 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33817 <kernel-features.h>.
33818 [__ASSUME_32BITUIDS]: Make code unconditional.
33819 [!__ASSUME_32BITUIDS]: Remove conditional code.
33820 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33821 <kernel-features.h>.
33822 [__ASSUME_32BITUIDS]: Make code unconditional.
33823 [!__ASSUME_32BITUIDS]: Remove conditional code.
33824 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33825 [__ASSUME_32BITUIDS]: Make code unconditional.
33826 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33827 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33828 <kernel-features.h>.
33829 [__ASSUME_32BITUIDS]: Make code unconditional.
33830 [!__ASSUME_32BITUIDS]: Remove conditional code.
33831 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33832 <kernel-features.h>.
33833 [__ASSUME_32BITUIDS]: Make code unconditional.
33834 [!__ASSUME_32BITUIDS]: Remove conditional code.
33835 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33836 <kernel-features.h>.
33837 [__ASSUME_32BITUIDS]: Make code unconditional.
33838 [!__ASSUME_32BITUIDS]: Remove conditional code.
33839 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33840 <kernel-features.h>.
33841 [__ASSUME_32BITUIDS]: Make code unconditional.
33842 [!__ASSUME_32BITUIDS]: Remove conditional code.
33843 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33844 <kernel-features.h>.
33845 [__ASSUME_32BITUIDS]: Make code unconditional.
33846 [!__ASSUME_32BITUIDS]: Remove conditional code.
33847 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33848 <kernel-features.h>.
33849 [__ASSUME_32BITUIDS]: Make code unconditional.
33850 [!__ASSUME_32BITUIDS]: Remove conditional code.
33851 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33852 <kernel-features.h>.
33853 [__ASSUME_32BITUIDS]: Make code unconditional.
33854 [!__ASSUME_32BITUIDS]: Remove conditional code.
33855 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33856 <kernel-features.h>.
33857 [__ASSUME_32BITUIDS]: Make code unconditional.
33858 [!__ASSUME_32BITUIDS]: Remove conditional code.
33859 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33860 <kernel-features.h>.
33861 [__ASSUME_32BITUIDS]: Make code unconditional.
33862 [!__ASSUME_32BITUIDS]: Remove conditional code.
33863 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33864 <kernel-features.h>.
33865 [__ASSUME_32BITUIDS]: Make code unconditional.
33866 [!__ASSUME_32BITUIDS]: Remove conditional code.
33867 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33868 <kernel-features.h>.
33869 [__NR_setresgid] (__setresgid): Do not declare.
33870 [__ASSUME_32BITUIDS]: Make code unconditional.
33871 [!__ASSUME_32BITUIDS]: Remove conditional code.
33872 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33873 <kernel-features.h>.
33874 [__NR_setresuid] (__setresuid): Do not declare.
33875 [__ASSUME_32BITUIDS]: Make code unconditional.
33876 [!__ASSUME_32BITUIDS]: Remove conditional code.
33877 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33878 <kernel-features.h>.
33879 [__ASSUME_32BITUIDS]: Make code unconditional.
33880 [!__ASSUME_32BITUIDS]: Remove conditional code.
33881 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33882 <kernel-features.h>.
33883 [__ASSUME_32BITUIDS]: Make code unconditional.
33884 [!__ASSUME_32BITUIDS]: Remove conditional code.
33885 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33886 <kernel-features.h>.
33887 [__ASSUME_32BITUIDS]: Make code unconditional.
33888 [!__ASSUME_32BITUIDS]: Remove conditional code.
33889 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33890 <kernel-features.h>.
33891 [__ASSUME_32BITUIDS]: Make code unconditional.
33892 [!__ASSUME_32BITUIDS]: Remove conditional code.
33893 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33894 <kernel-features.h>.
33895 [__ASSUME_32BITUIDS]: Make code unconditional.
33896 [!__ASSUME_32BITUIDS]: Remove conditional code.
33897 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33898 <kernel-features.h>.
33899 [__ASSUME_32BITUIDS]: Make code unconditional.
33900 [!__ASSUME_32BITUIDS]: Remove conditional code.
33901 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33902 <kernel-features.h>.
33903 [__ASSUME_32BITUIDS]: Make code unconditional.
33904 [!__ASSUME_32BITUIDS]: Remove conditional code.
33905 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33906 <kernel-features.h>.
33907 [__ASSUME_32BITUIDS]: Make code unconditional.
33908 [!__ASSUME_32BITUIDS]: Remove conditional code.
33909 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33910 <kernel-features.h>.
33911 [__ASSUME_32BITUIDS]: Make code unconditional.
33912 [!__ASSUME_32BITUIDS]: Remove conditional code.
33913 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33914 <kernel-features.h>.
33915 [__ASSUME_32BITUIDS]: Make code unconditional.
33916 [!__ASSUME_32BITUIDS]: Remove conditional code.
33917 * sysdeps/unix/sysv/linux/kernel-features.h
33918 (__ASSUME_SETRESUID_SYSCALL): Remove.
33919 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33920 (__ASSUME_32BITUIDS): Likewise.
33921 (__ASSUME_LDT_WORKS): Likewise.
33922 (__ASSUME_O_DIRECTORY): Likewise.
33923 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33924 architecture but not kernel version.
33925 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33926 (__ASSUME_MMAP2_SYSCALL): Likewise.
33927 (__ASSUME_STAT64_SYSCALL): Likewise.
33928 (__ASSUME_IPC64): Likewise.
33929 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33930 <kernel-features.h>.
33931 [__ASSUME_32BITUIDS]: Make code unconditional.
33932 [!__ASSUME_32BITUIDS]: Remove conditional code.
33933 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33934 <kernel-features.h>.
33935 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33936 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33937 132096]: Remove conditional code.
33938 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33939 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33940 <kernel-features.h>.
33941 [__ASSUME_32BITUIDS]: Make code unconditional.
33942 [!__ASSUME_32BITUIDS]: Remove conditional code.
33943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33944 <kernel-features.h>.
33945 [__ASSUME_32BITUIDS]: Make code unconditional.
33946 [!__ASSUME_32BITUIDS]: Remove conditional code.
33947 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33948 <kernel-features.h>.
33949 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33950 unconditional.
33951 (__setresgid): Do not declare.
33952 [__ASSUME_32BITUIDS]: Make code unconditional.
33953 [!__ASSUME_32BITUIDS]: Remove conditional code.
33954 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33955 <kernel-features.h>.
33956 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33957 unconditional.
33958 (__setresuid): Do not declare.
33959 [__ASSUME_32BITUIDS]: Make code unconditional.
33960 [!__ASSUME_32BITUIDS]: Remove conditional code.
33961 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33962 <kernel-features.h>.
33963 [__ASSUME_32BITUIDS]: Make code unconditional.
33964 [!__ASSUME_32BITUIDS]: Remove conditional code.
33965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33966 <kernel-features.h>.
33967 [__ASSUME_32BITUIDS]: Make code unconditional.
33968 [!__ASSUME_32BITUIDS]: Remove conditional code.
33969
a386f1cc
RH
339702012-05-25 Richard Henderson <rth@twiddle.net>
33971
33972 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33973 dl_hwcap to ifunc resolver.
33974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33975 elf_ifunc_invoke.
33976 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33977 dl_hwcap to ifunc resolver.
33978 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33979
b6550497
JM
339802012-05-24 Joseph Myers <joseph@codesourcery.com>
33981
33982 [BZ #14153]
33983 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33984 for |x| <= 2**-26, not 2**-57.
33985 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33986 exception.
33987
b0bc23a1
JL
339882012-05-24 Jeff Law <law@redhat.com>
33989
33990 * stdio-common/Makefile (tests): Add bug25.
33991 * stdio-common/bug25.c: New test.
33992
347c92e9
L
339932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33994
33995 [BZ #13576]
33996 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33997 multiple of MALLOC_ALIGNMENT in size.
33998 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33999
6bcc8b3f
JM
340002012-05-24 Joseph Myers <joseph@codesourcery.com>
34001
34002 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34003 Require >= 256.
34004 (FILENAME_MAX): Use macro-int-constant.
34005 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34006 (_IOFBF): Use macro-int-constant.
34007 (_IOLBF): Likewise.
34008 (_IONBF): Likewise.
34009 (SEEK_CUR): Likewise.
34010 (SEEK_END): Likewise.
34011 (SEEK_SET): Likewise.
34012 (TMP_MAX): Likewise.
34013 (EOF): Use macro-int-constant. Require < 0.
34014 (NULL): Use macro-constant. Require == 0.
34015 (stdin): Require type to be FILE *.
34016 (stdout): Likewise.
34017 (stderr): Likewise.
34018 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34019 macro-int-constant.
34020 (EXIT_SUCCESS): Likewise.
34021 (NULL): Use macro-constant. Require == 0.
34022 (RAND_MAX): Use macro-int-constant.
34023 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34024 [C99-based standards] (strtof): Require function.
34025 [C99-based standards] (strtold): Likewise.
34026 [C99-based standards] (strtoll): Likewise.
34027 [C99-based standards] (strtoull): Likewise.
34028 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34029 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34030 [ISO || ISO99 || ISO11] (math.h): Likewise.
34031 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34032 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34034
d18ea0c5
AS
340352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34036
34037 [BZ #14132]
56d25bb8
AS
34038 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34039 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34040 * intl/dgettext.c (DCGETTEXT): Likewise.
34041 * intl/gettext.c (DCGETTEXT): Likewise.
34042 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34043 * posix/regex_internal.h (gettext): Likewise.
34044 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34045 Remove declaration.
34046 * include/argz.h (__argz_count_internal)
34047 (__argz_stringify_internal): Remove declaration.
34048 (__argz_count, __argz_stringify): Declare hidden proto.
34049 * intl/dcgettext.c: Remove use of INTDEF.
34050 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34051 * string/argz-stringify.c: Likewise.
34052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34054 Declare hidden proto.
d18ea0c5
AS
34055 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34056 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34057 Declare hidden proto.
34058 * include/stdio.h (__asprintf_internal): Don't declare.
34059 (__asprintf): Don't define as macro. Declare hidden proto.
34060 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34061 (__fsetlocking): Declare hidden proto.
34062 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34063 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34064 hidden proto.
34065 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34066 (_IO_setlinebuf): Remove use of INTUSE.
34067 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34068 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34069 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34070 Remove declaration.
34071 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34072 (_IO_do_flush): Remove use of INTUSE.
34073 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34074 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34075 (_IO_adjust_column, _IO_least_wmarker)
34076 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34077 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34078 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34079 (_IO_default_doallocate, _IO_wdefault_doallocate)
34080 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34081 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34082 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34083 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34084 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34085 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34086 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34087 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34088 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34089 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34090 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34091 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34092 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34093 proto.
34094 (_IO_flush_all_internal, _IO_adjust_column_internal)
34095 (_IO_default_uflow_internal, _IO_default_finish_internal)
34096 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34097 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34098 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34099 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34100 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34101 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34102 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34103 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34104 (_IO_file_close_internal, _IO_file_close_it_internal)
34105 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34106 (_IO_file_init_internal, _IO_file_attach_internal)
34107 (_IO_file_fopen_internal, _IO_file_read_internal)
34108 (_IO_file_sync_internal, _IO_file_seek_internal)
34109 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34110 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34111 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34112 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34113 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34114 (_IO_list_all_internal, _IO_link_in_internal)
34115 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34116 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34117 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34118 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34119 (_IO_do_write_internal, _IO_padn_internal)
34120 (_IO_getline_info_internal, _IO_getline_internal)
34121 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34122 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34123 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34124 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34125 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34126 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34127 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34128 with libc_hidden_ver, remove use of INTUSE.
34129 * libio/genops.c: Likewise.
34130 * libio/freopen.c: Likewise.
34131 * libio/freopen64.c: Likewise.
34132 * libio/iofclose.c: Likewise.
34133 * libio/iofdopen.c: Likewise.
34134 * libio/iofflush.c: Likewise.
34135 * libio/iofflush_u.c: Likewise.
34136 * libio/iofgets.c: Likewise.
34137 * libio/iofgets_u.c: Likewise.
34138 * libio/iofopen.c: Likewise.
34139 * libio/iofopncook.c: Likewise.
34140 * libio/iofread.c: Likewise.
34141 * libio/iofread_u.c: Likewise.
34142 * libio/ioftell.c: Likewise.
34143 * libio/iofwrite.c: Likewise.
34144 * libio/iogetline.c: Likewise.
34145 * libio/iogets.c: Likewise.
34146 * libio/iogetwline.c: Likewise.
34147 * libio/iopadn.c: Likewise.
34148 * libio/iopopen.c: Likewise.
34149 * libio/ioseekoff.c: Likewise.
34150 * libio/ioseekpos.c: Likewise.
34151 * libio/iosetbuffer.c: Likewise.
34152 * libio/iosetvbuf.c: Likewise.
34153 * libio/ioungetc.c: Likewise.
34154 * libio/ioungetwc.c: Likewise.
34155 * libio/iovdprintf.c: Likewise.
34156 * libio/iovsprintf.c: Likewise.
34157 * libio/iovsscanf.c: Likewise.
34158 * libio/memstream.c: Likewise.
34159 * libio/obprintf.c: Likewise.
34160 * libio/oldfileops.c: Likewise.
34161 * libio/oldiofclose.c: Likewise.
34162 * libio/oldiofdopen.c: Likewise.
34163 * libio/oldiofopen.c: Likewise.
34164 * libio/oldiopopen.c: Likewise.
34165 * libio/oldstdfiles.c: Likewise.
34166 * libio/putc.c: Likewise.
34167 * libio/setbuf.c: Likewise.
34168 * libio/setlinebuf.c: Likewise.
34169 * libio/stdfiles.c: Likewise.
34170 * libio/strops.c: Likewise.
34171 * libio/vasprintf.c: Likewise.
34172 * libio/vscanf.c: Likewise.
34173 * libio/vsnprintf.c: Likewise.
34174 * libio/vswprintf.c: Likewise.
34175 * libio/wfiledoalloc.c: Likewise.
34176 * libio/wfileops.c: Likewise.
34177 * libio/wgenops.c: Likewise.
34178 * libio/wmemstream.c: Likewise.
34179 * libio/wstrops.c: Likewise.
34180 * libio/__fpurge.c: Likewise.
34181 * libio/__fsetlocking.c: Likewise.
34182 * assert/assert.c: Likewise.
34183 * debug/fgets_chk.c: Likewise.
34184 * debug/fgets_u_chk.c: Likewise.
34185 * debug/fread_chk.c: Likewise.
34186 * debug/fread_u_chk.c: Likewise.
34187 * debug/gets_chk.c: Likewise.
34188 * debug/obprintf_chk.c: Likewise.
34189 * debug/vasprintf_chk.c: Likewise.
34190 * debug/vdprintf_chk.c: Likewise.
34191 * debug/vsnprintf_chk.c: Likewise.
34192 * debug/vsprintf_chk.c: Likewise.
34193 * malloc/mtrace.c: Likewise.
34194 * misc/error.c: Likewise.
34195 * misc/syslog.c: Likewise.
34196 * stdio-common/asprintf.c: Likewise.
34197 * stdio-common/fxprintf.c: Likewise.
34198 * stdio-common/getw.c: Likewise.
34199 * stdio-common/isoc99_fscanf.c: Likewise.
34200 * stdio-common/isoc99_scanf.c: Likewise.
34201 * stdio-common/isoc99_vfscanf.c: Likewise.
34202 * stdio-common/isoc99_vscanf.c: Likewise.
34203 * stdio-common/isoc99_vsscanf.c: Likewise.
34204 * stdio-common/printf-prs.c: Likewise.
34205 * stdio-common/printf_fp.c: Likewise.
34206 * stdio-common/printf_fphex.c: Likewise.
34207 * stdio-common/printf_size.c: Likewise.
34208 * stdio-common/putw.c: Likewise.
34209 * stdio-common/scanf.c: Likewise.
34210 * stdio-common/sprintf.c: Likewise.
34211 * stdio-common/tmpfile.c: Likewise.
34212 * stdio-common/vfprintf.c: Likewise.
34213 * stdio-common/vfscanf.c: Likewise.
34214 * stdlib/strfmon_l.c: Likewise.
34215 * sunrpc/openchild.c: Likewise.
34216 * sunrpc/xdr_stdio.c: Likewise.
34217 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34218 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34219
d6c33fda
RM
342202012-05-24 Roland McGrath <roland@hack.frob.com>
34221
c1487492
RM
34222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34223
34224 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34225 in the third column, to generate for the shared library an IFUNC
34226 that uses _dl_vdso_vsym.
34227 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34228 * Makeconfig (object-suffixes-noshared): New variable.
34229
34230 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34231 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34232 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34233 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34234
d6c33fda
RM
34235 [BZ #14132]
34236 * include/sys/time.h (__gettimeofday): Remove macro.
34237 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34238 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34239 Remove INTDEF.
34240 (__gettimeofday): Add libc_hidden_def.
34241 (gettimeofday): Add libc_hidden_weak.
34242 * sysdeps/mach/gettimeofday.c: Likewise.
34243 * sysdeps/posix/gettimeofday.c: Likewise.
34244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34245 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34247 (__gettimeofday_internal): Remove strong_alias.
34248 (__gettimeofday): Add libc_hidden_def.
34249 (gettimeofday): Add libc_hidden_weak.
34250 * sysdeps/unix/syscalls.list (gettimeofday):
34251 Remove __gettimeofday_internal alias.
34252
b5a2bbe6
L
342532012-05-24 Daniel Jacobowitz <drow@false.org>
34254 H.J. Lu <hongjiu.lu@intel.com>
34255
34256 [BZ #12495]
34257 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34258 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34259 (largebin_index_32_big): New.
34260 (largebin_index): Use it for 16-byte alignment.
34261 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34262 correction with front_misalign.
34263
cfba4fda
L
342642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34265
7f907421
L
34266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34268 Likewise.
34269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34270 Likewise.
34271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34272 Likewise.
34273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34274 Likewise.
34275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34276 Likewise.
34277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34278 Likewise.
34279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34280 Likewise.
34281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34282 Likewise.
34283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34284 Likewise.
34285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34286 Likewise.
34287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34288 Likewise.
34289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34290 Likewise.
34291
cfba4fda
L
34292 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34293 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34294
80bad0cc
JM
342952012-05-24 Joseph Myers <joseph@codesourcery.com>
34296
7a25eb06
JM
34297 [BZ #10846]
34298 [BZ #14036]
34299 * math/libm-test.inc (exp_test): Add test from bug 14036.
34300 (pow_test): Add test from bug 10846.
34301
795405f9
JM
34302 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34303 and other flags.
34304 (special_function): Do not include flags in test name.
34305 (parse_args): Likewise.
34306 * sysdeps/i386/fpu/libm-test-ulps: Update.
34307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34308 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34309 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34311
80bad0cc
JM
34312 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34313 exceptions.
34314 * math/libm-test.inc ("Philosophy"): Update comment about
34315 exception testing.
34316 (UNDERFLOW_EXCEPTION): New macro.
34317 (UNDERFLOW_EXCEPTION_OK): Likewise.
34318 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34319 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34320 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34321 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34322 (INVALID_EXCEPTION_OK): Update value.
34323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34324 (OVERFLOW_EXCEPTION_OK): Likewise.
34325 (IGNORE_ZERO_INF_SIGN): Likewise.
34326 (test_exceptions): Handle underflow exceptions.
34327 (acos_test): Update for underflow exception expectations.
34328 (cexp_test): Likewise.
34329 (clog_test): Likewise.
34330 (clog10_test): Likewise.
34331 (csqrt_test): Likewise.
34332 (ctan_test): Likewise.
34333 (ctanh_test): Likewise.
34334 (exp_test): Likewise.
34335 (exp10_test): Likewise.
34336 (exp2_test): Likewise.
34337 (expm1_test): Likewise.
34338 (fma_test): Likewise.
34339 (j0_test): Likewise.
34340 (jn_test): Likewise.
34341 (nexttoward_test): Likewise.
34342 (pow_test): Likewise.
34343 (scalbn_test): Likewise.
34344 (scalbln_test): Likewise.
34345 (tan_test): Likewise.
34346 (y1_test): Likewise.
34347 * sysdeps/i386/fpu/libm-test-ulps: Update.
34348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34349
9e0e3d0b
DM
343502012-05-23 David S. Miller <davem@davemloft.net>
34351
34352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34353 (__libc_sigaction): Remove unused local variables.
34354
ccd0a08f
L
343552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34356
34357 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34358
62bdf9a6
PE
343592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34360
f8591f80
PE
34361 mktime: avoid signed integer overflow
34362 * time/mktime.c (__mktime_internal): Do not mishandle the case
34363 where diff == INT_MIN.
34364
94c7d826
PE
34365 mktime: simplify computation of average
34366 * time/mktime.c (ranged_convert): Use new time_t_avg function
34367 instead of rolling our own (probably-slower) code.
34368
ce73d683
PE
34369 mktime: do not assume signed right shift propagates sign bit
34370 * time/mktime.c (isdst_differ): New static function.
34371 (__mktime_internal): No need to normalize tm_isdst now.
34372 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34373 tm_isdst values.
34374
72a22e59
PE
34375 mktime: merge another wrapv change from gnulib
34376 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34377 from some compilers.
34378
68605433
PE
34379 mktime: remove incorrect attempt at unusual arithmetics
34380 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34381 The code didn't really work on such machines anyway.
34382 (TYPE_MINIMUM): Assume two's complement.
34383 (twos_complement_arithmetic): Verify that long_int and time_t
34384 are two's complement (or unsigned, in the latter case).
34385
03cf7fe3
PE
34386 mktime: check signed shifts on long_int and time_t, too
34387 * time/mktime.c (SHR): Check that shifts work as desired
34388 on the types long_int and time_t too, as SHR is used on
34389 such types.
34390
f04dfbc2
PE
34391 mktime: do not assume 'long' is wide enough
34392 * time/mktime.c (verify): Move decl up.
34393 (long_int): New type.
34394 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34395 to remove assumption in the code that 'long' is wide enough to
34396 store year values. This assumption is not true on x32 and on
34397 some non-glibc platforms.
34398
62bdf9a6
PE
34399 mktime: merge wrapv change from gnulib
34400 * time/mktime.c (WRAPV): New macro.
34401 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34402 (guess_time_tm, __mktime_internal): Do not assume that signed
34403 integer overflow wraps around; modern compilers generate code
34404 where this assumption is no longer valid.
34405
5e292e4f
L
344062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34409 Replace "jmp L(pseudo_end)" with "ret".
34410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34411 Likewise.
34412
8caf8c87
AJ
344132012-05-23 Andreas Jaeger <aj@suse.de>
34414
34415 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34416 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34417
1a09dc56
AJ
344182012-05-23 Andreas Jaeger <aj@suse.de>
34419 Maximilian Attems <max@stro.at>
34420
34421 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34422 New macros.
34423
1c87aba0
L
344242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34425
34426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34427 code so that pseudo_end is just ret and the stack pointer is
34428 correct also for static library in error case.
34429
40e45bd5
JM
344302012-05-23 Joseph Myers <joseph@codesourcery.com>
34431
c2670533
JM
34432 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34433 move to syscalls.list.
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34438
40e45bd5
JM
34439 * manual/install.texi (Running make install): Do not mention Linux
34440 kernel version for which pt_chown is not needed.
34441 (Linux): Do not mention problems with nscd with 2.0 kernels.
34442 * INSTALL: Regenerated.
34443
be08eda5
AJ
344442012-05-23 Andreas Jaeger <aj@suse.de>
34445
34446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34447 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34448 macro.
34449 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34451 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34453 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34459 * sysdeps/unix/sysv/linux/bits/in.h
34460 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34461
a6a056bb
RM
344622012-05-22 Roland McGrath <roland@hack.frob.com>
34463
34464 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34465 (PREPARE_VERSION): Just use assert instead, it will be elided
34466 under [NDEBUG] anyway.
34467
c9009328
L
344682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34469
34470 * sysdeps/unix/sysv/linux/Makefile: Include
34471 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34472 (sysdep_routines): Remove sysctl.
c9009328
L
34473 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34474 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34475 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34476 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34477 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34478
73338355
AJ
344792012-05-22 Andreas Jaeger <aj@suse.de>
34480
34481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34482 that pseudo_end is just ret and the stack pointer is correct also
34483 for static library in error case.
34484
d44638b0
PP
344852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34486
34487 [BZ #14122]
34488 * nss/nsswitch.c (defconfig_entries): New variable.
34489 (__nss_database_lookup): Don't leak defconfig entries.
34490 (nss_parse_service_list): Don't leak on error paths.
34491 (free_database_entries): New function.
34492 (free_defconfig): New function.
34493 (free_mem): Move common code to free_database_entries.
34494
31a39bd8
L
344952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34496
da0331a8
L
34497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34498 Add arch_prctl.
34499 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34500
31a39bd8
L
34501 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34502 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34504 New macro.
34505 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34506 (INTERNAL_SYSCALL_TYPES): Likewise.
34507 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34508 (LOAD_REGS_TYPES_[1-6]): Likewise.
34509 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34510 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34511
45470df3
AZ
345122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34513
34514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34515 copysignl for GLIBC_2_0.
34516 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34517 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34519 logbl for GLIBC_2_0.
34520 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34522
98a61bcb
L
345232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34524
a4f6e481
L
34525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34527
f63d5db6
L
34528 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34529 Use "neg %eax".
34530
98a61bcb
L
34531 * time/mktime.c: Update copyright years.
34532
95770f14
PE
345332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34534
6226efbd
PE
34535 mktime: merge comment-quoting-style change from gnulib
34536 * time/mktime.c: Quote 'like this' in comments.
34537 The GNU coding standards suggest that we no longer quote `like this',
34538 as "`" and "'" are typically rendered asymmetrically nowadays.
34539 The typical gnulib style is to quote 'like this' when quoting
34540 code, and "like this" when quoting English.
34541
b99e4f78
PE
34542 * time/mktime.c (compile-command): Add "-I.".
34543
643e01e6
PE
34544 mktime: merge mktime-internal.h change from gnulib
34545 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34546
2554247d
PE
34547 mktime: merge time_r change from gnulib
34548 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34549
826dd0ab
PE
34550 mktime: merge DEBUG change from gnulib
34551 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34552 case system <time.h> has a #define.
34553
bd83aabe
PE
34554 mktime: merge <sys/types.h> change from gnulib
34555 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34556 since <time.t> is now guaranteed to define time_t.
34557
95770f14
PE
34558 mktime: merge HAVE_CONFIG_H change from gnulib
34559 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34560
5e1a27a9
L
345612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34562
0e44a77e
L
34563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34564 Use "neg %eax".
34565
5e1a27a9
L
34566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34567 __rlim_t cast.
34568 (struct rusage): Use anonymous union to pad each field to
34569 __syscall_slong_t.
34570
46259bec
DM
345712012-05-21 David S. Miller <davem@davemloft.net>
34572
34573 * Makefules (o-iterator): Remove .s cases.
34574 (compile-command.s): Delete.
34575 (COMPILE.s): Delete.
34576 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34577
59f0c22e
JM
345782012-05-21 Joseph Myers <joseph@codesourcery.com>
34579
34580 * configure.in (libc_cv_predef_stack_protector): Only consider
34581 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34582 * configure: Regenerated.
34583
20c07380
L
345842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34585
bbb3154b
L
34586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34587 New macro. Use R*LP on int and pointer.
34588 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34589 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34590 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34591 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34592
20c07380
L
34593 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34594 [__WORDSIZE_TIME64_COMPAT32] instead of
34595 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34596 (struct utmp): Likewise.
34597 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34598 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34599 Renamed to ...
34600 (__WORDSIZE_TIME64_COMPAT32): This.
34601 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34602 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34603 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34604 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34605 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34606 (__WORDSIZE_TIME64_COMPAT32): New macro.
34607
d8d1017e
AJ
346082012-05-21 Andreas Jaeger <aj@suse.de>
34609
34610 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34611 only if [SHARED]. Add prototype for __wcschr_ia32.
34612
6c7fb145
RM
346132012-05-21 Roland McGrath <roland@hack.frob.com>
34614
34615 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34616 of %rbp unmolested in the jmp_buf while mangling the low bits.
34617 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34618 unmolested high bits of %rbp while demangling the low bits.
34619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34620
66274218
AJ
346212012-05-21 Andreas Jaeger <aj@suse.de>
34622
07c58f8f
AJ
34623 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34624 * sunrpc/svc_simple.c: Use it for registerrpc.
34625 * sunrpc/xcrypt.c: Use it for passwd2des.
34626
66274218
AJ
34627 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34628
61f65140
L
346292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34632 Don't define if [__SYSCALL_WORDSIZE != 32].
34633 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34634 New macro.
34635
5fefb436
AJ
346362012-05-21 Bruno Haible <bruno@clisp.org>
34637 Andreas Jaeger <aj@suse.de>
34638
34639 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34640 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34641 inptr and inend for must_buffer_ch.
34642 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34643 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34644 * stdio-common/Makefile (tests): Remove bug15.
34645 (bug15-ENV): Remove macro.
34646 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34647 anymore.
34648
d8e272ab
AJ
346492012-05-19 Andreas Jaeger <aj@suse.de>
34650 Roland McGrath <roland@hack.frob.com>
34651
34652 * manual/contrib.texi: Completely rewritten. It contains now an
34653 alphabetical list of contributors and their contributions.
34654
4a56a162
RH
346552012-05-21 Richard Henderson <rth@twiddle.net>
34656
34657 * misc/getauxval.c (__getauxval): Use unsigned long int.
34658 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34659 (getauxval): Use unsigned long int.
34660
d024d23c
L
346612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34662
34663 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34664
cbc00a03
RM
346652012-05-21 Roland McGrath <roland@hack.frob.com>
34666
34667 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34668 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34669 __alignof__ (long double).
34670
478143fa
AZ
346712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34672
34673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34674
c7683a6d
RH
346752012-05-20 Richard Henderson <rth@twiddle.net>
34676
34677 * misc/getauxval.c: New file.
34678 * misc/sys/auxv.h: New file.
34679 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34680 (routines): Add getauxval.
34681 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34682 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34683 * elf/dl-sysdep.c (_dl_auxv): Remove.
34684 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34685 * elf/dl-support.c (_dl_auxv): New variable.
34686 (_dl_aux_init): Initialize it.
34687 * manual/startup.texi (Auxiliary Vector): New node.
34688 * sysdeps/generic/bits/hwcap.h: New file.
34689 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34690 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34691 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34692 * sysdeps/sparc/sysdep.h: ... here. Include it.
34693 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34696 Update.
c7683a6d
RH
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34700 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34705
a6f1845d
AZ
347062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34707
34708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34709
cbcbe830
DM
347102012-05-19 David S. Miller <davem@davemloft.net>
34711
34712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34713
e0b16cc2
JM
347142012-05-19 Joseph Myers <joseph@codesourcery.com>
34715
34716 [BZ #14123]
34717 * math/s_ccosh.c: Include <float.h>
34718 (__ccosh): Avoid internal overflow calculating sinh and cosh
34719 values before multiplying by sin and cos values.
34720 * math/s_ccoshf.c: Likewise.
34721 * math/s_ccoshl.c: Likewise.
34722 * math/s_csin.c: Likewise.
34723 * math/s_csinf.c: Likewise.
34724 * math/s_csinl.c: Likewise.
34725 * math/s_csinh.c: Likewise.
34726 * math/s_csinhf.c: Likewise.
34727 * math/s_csinhl.c: Likewise.
34728 * math/libm-test.inc (ccos_test): Add more tests.
34729 (ccosh_test): Likewise.
34730 (csin_test): Likewise.
34731 (csinh_test): Likewise.
34732 * sysdeps/i386/fpu/libm-test-ulps: Update.
34733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734
6ad13e08
L
347352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34736
f66f0ce8
L
34737 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34738 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34739
6ad13e08
L
34740 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34741
b1d072a7
JM
347422012-05-19 Joseph Myers <joseph@codesourcery.com>
34743
34744 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34745 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34746 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34747 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34748 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34749 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34750 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34751 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34752 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34753 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34754 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34755 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34756 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34757 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34758 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34759 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34760 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34761 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34762 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34763 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34764 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34765 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34766 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34767 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34768 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34769 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34770 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34771 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34772 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34773 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34774 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34775
9eae47cb
AJ
347762012-05-18 Andreas Jaeger <aj@suse.de>
34777
34778 * csu/.gitignore: Delete.
34779
bb07f69f
L
347802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34781
34782 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34783 (timex): Use __syscall_slong_t.
34784
e6bdb741
AJ
347852012-05-18 Andreas Jaeger <aj@suse.de>
34786 Carlos O'Donell <carlos_odonell@mentor.com>
34787
34788 * manual/install.texi (Configuring and compiling): Update
34789 description about files modified in the source directory.
d6c33fda 34790 * INSTALL: Regenerated.
e6bdb741 34791
1b74487e
L
347922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34793
34794 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34795 value. Use "or" to set return value to -1.
34796 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34797 negate return value.
34798
a88b64b9
TMQMF
347992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34800
57f41c40
AS
34801 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34802 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34803 failure if the compiler has Graphite support disabled.
34804 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34805 Likewise.
57f41c40
AS
34806 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34807 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34809 Likewise.
34810
3707636e
L
348112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34812
610b8622
L
34813 * sysdeps/x86_64/x32/_itoa.h: New file.
34814
7cd195df
L
34815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34816 getdents system call only if kernel and user dirents have the
34817 same d_ino and d_off.
34818
94b07d20
L
34819 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34820 LLONG_MAX != LONG_MAX.
34821 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34822 (_fitoa_word): Likewise.
34823
18298070
L
34824 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34825 years.
34826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34829
553c7ea4
L
34830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34831 include <bits/wordsize.h>. Check __x86_64__ instead of
34832 __WORDSIZE.
34833 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34834 if __x86_64__ is defined. Use anonymous union on fpstate.
34835
3707636e
L
34836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34837 anonymous union.
34838
b53ef01a
AS
348392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34840
37fb1dc0
AS
34841 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34842 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34843 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34844 Refer to _rtld_local_ro instead of _rtld_global_ro.
34845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34846 Likewise.
34847 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34848 Likewise.
34849 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34850 Likewise.
34851 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34852 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34853 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34854
b53ef01a
AS
34855 * sysdeps/powerpc/powerpc32/dl-machine.c
34856 (__elf_machine_runtime_setup) [PROF]: Don't reference
34857 _dl_prof_resolve.
34858
7a185db2
AJ
348592012-05-18 Andreas Jaeger <aj@suse.de>
34860
34861 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34862 function only available for GCCs before 3.4 since GCC 3.4
34863 introduced a builtin.
34864 (lrint): Likewise.
34865 (llrintf): Likewise.
34866 (llrint): Likewise.
34867 (fmaxf): Likewise.
34868 (fmax): Likewise.
34869 (fminf): Likewise.
34870 (fmin): Likewise.
34871 (rint): Likewise.
34872 (rintf): Likewise.
34873 (nearbyint): Likewise.
34874 (nearbyintf): Likewise.
34875 (ceil): Likewise.
34876 (ceilf): Likewise.
34877 (floor): Likewise.
34878 (floorf): Likewise.
34879
3e5aef87
L
348802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34881
428bd707
L
34882 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34883 on both fields and cast pointer to __syscall_ulong_t.
34884
3e5aef87
L
34885 * bits/types.h (__fsword_t): New type.
34886 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34887 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34889 (__FSWORD_T_TYPE): Likewise.
34890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34891 (__FSWORD_T_TYPE): Likewise.
34892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34893 (__FSWORD_T_TYPE): Likewise.
34894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34895 (__FSWORD_T_TYPE): Likewise.
34896 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34897 __SWORD_TYPE with __fsword_t.
34898 (statfs64): Likewise.
34899
1ba7c3dc
DM
349002012-05-17 David S. Miller <davem@davemloft.net>
34901
34902 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34903
59910343
AJ
349042012-05-17 Andreas Jaeger <aj@suse.de>
34905
34906 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34907 warning.
34908
2e4c1e9e
L
349092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34910
34911 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34912
de7f5ce7
AJ
349132012-05-17 Andreas Jaeger <aj@suse.de>
34914
34915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34916 when it is used.
34917
286abc3d
CM
349182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34919
34920 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34921
477cc68e
L
349222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34923
34924 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34925 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34926
1a0994f5
CD
349272012-05-17 Andreas Jaeger <aj@suse.de>
34928 Carlos O'Donell <carlos_odonell@mentor.com>
34929
34930 [BZ #14059]
34931 * sysdeps/x86_64/multiarch/init-arch.h
34932 (bit_YMM_Usable): Rename to...
34933 (bit_AVX_Usable): ... this.
34934 (bit_FMA4_Usable): New macro.
34935 (bit_XMM_state): New macro.
34936 (bit_YMM_state): New macro.
34937 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34938 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34939 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34940 (CPUID_OSXSAVE): New macro.
34941 (CPUID_AVX): New macro.
34942 (CPUID_FMA4): New macro.
34943 (index_YMM_Usable): Rename to...
34944 (index_AVX_Usable): ... this.
34945 (HAS_AVX): Use HAS_ARCH_FEATURE.
34946 (HAS_FMA4): Likewise.
34947 (HAS_YMM_USABLE): Remove.
34948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34949 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34950 are present.
34951 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34952 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34953 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34954 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34955 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34956
0af797de
CM
349572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34958
34959 * math/libm-test.c: Support platforms without multiple rounding modes.
34960 * math/bug-nextafter.c: Support platforms without FP exceptions.
34961 * math/bug-nexttoward.c: Likewise.
34962 * math/test-fenv.c: Likewise.
34963 * math/test-misc.c: Likewise.
34964 * stdlib/bug-getcontext.c: Likewise.
34965
e39745ff
AJ
349662012-05-17 Andreas Jaeger <aj@suse.de>
34967
34968 * manual/examples/search.c (critter_cmp): Change signature to
34969 avoid warnings.
34970 * manual/string.texi (Collation Functions): Likewise.
34971
48970aba
L
349722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34973
34974 * bits/types.h: Fold copyright years.
34975 * bits/typesizes.h: Likewise.
34976 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34980 * time/time.h: Likewise.
34981
bedee953
PP
349822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34983
34984 [BZ #208]
34985 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34986 in instead of returning them. Return void.
34987 (__libc_mallinfo): Accumulate over all arenas.
34988 (__malloc_stats): Adjust for change in int_mallinfo interface.
34989
61653dfb
RM
349902012-05-16 Roland McGrath <roland@hack.frob.com>
34991
30b99d79
RM
34992 [BZ #10375]
34993 * configure.in (NM): Add AC_CHECK_TOOL for it.
34994 (libc_extra_cflags): New substituted variable.
34995 Check for -fstack-protector being used implicitly.
34996 * configure: Regenerated.
34997 * config.make.in (config-extra-cflags): New variable,
34998 gets @libc_extra_cflags@.
34999 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35000
61653dfb
RM
35001 [BZ #10375]
35002 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35003 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35004 * configure: Regenerated.
35005 * config.make.in (CPPUNDEFS): New substituted variable.
35006 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35007 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35008 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35009
661768bb
L
350102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35011
35012 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35013 (mq_attr): Use __syscall_slong_t.
35014
d4261567
L
350152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35016
35017 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35018 Check __x86_64__ instead of __WORDSIZE.
35019 (_STAT_VER_LINUX): Likewise.
35020 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35021 __syscall_ulong_t and __syscall_slong_t.
35022 (stat64): Likewise.
35023
cf3ff365
L
350242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35025
35026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35027
76cf3e4d
L
350282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35029
35030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35031
a637753a
L
350322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35033
35034 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35035 __syscall_ulong_t.
35036
d5e05119
L
35037 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35038 include <bits/wordsize.h>. Check __x86_64__ instead of
35039 __WORDSIZE.
35040 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35041 defined.
35042 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35043
f62ee380
L
35044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35045 include <bits/wordsize.h>. Check __x86_64__ instead of
35046 __WORDSIZE.
35047 (user_regs_struct): Use "__extension__ unsigned long long"
35048 instead of "unsigned long" if __x86_64__ is defined.
35049 (user): Likewise. Pad after pointer field if __ILP32__ is
35050 defined.
35051
4e124ced
JM
350522012-05-16 Joseph Myers <joseph@codesourcery.com>
35053
6a3951a0
JM
35054 * configure.in (makeinfo): Require version 4.5 or later. Allow
35055 versions 5 to 9.
35056 * configure: Regenerated.
35057 * manual/install.texi (texinfo): Increase version requirement to
35058 4.5 or later.
35059 * INSTALL: Regenerated.
35060
4e124ced
JM
35061 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35062
953ca31a
L
350632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35064
35065 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35066
617aca05
L
35067 * sysdeps/x86_64/x32/ffs.c: New file.
35068
5762f7ae
L
35069 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35070 __syscall_ulong_t.
35071 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35072 defined. Use __syscall_ulong_t.
35073 (shminfo): Use __syscall_ulong_t.
35074 (shm_info): Likewise.
35075
a26b6856
L
35076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35077 __syscall_ulong_t.
35078
cb2b9ef7
L
35079 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35080 <bits/wordsize.h>.
35081 (msgqnum_t): Use __syscall_ulong_t.
35082 (msglen_t): Likewise.
35083 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35084 __syscall_ulong_t.
35085
34683bb0
L
35086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35087 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35088
84a68786
L
35089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35090
48baa5f1
L
35091 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35092 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35093
180be88b
L
35094 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35095 __syscall_slong_t.
35096
5e90c8ad
L
35097 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35098 include <bits/wordsize.h>. Check __x86_64__ instead of
35099 __WORDSIZE.
35100
23dfb58b
L
35101 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35102 "unsigned long long int" if __x86_64__ is defined.
35103 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35104
ce5d54b0
L
35105 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35106 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35107 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35108
13dc9eac
L
35109 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35110 <stdint.h>.
35111 (GET_PC): Cast to uintptr_t first.
35112 (GET_FRAME): Likewise.
35113 (GET_STACK): Likewise.
35114
a7895d15
L
35115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35116 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35118 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35120 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35121 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35122 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35129 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35135 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35137 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35139 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35141 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35144
656416c9
AS
351452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35146
5bd66283
AS
35147 * Makerules (+depfiles): Also collect depfiles from .oS in
35148 $(extra-objs).
35149 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35150 .oS, $(libnldbl-routines)).
35151
656416c9
AS
35152 * Makerules (native-compile-mkdep-flags): Define.
35153 * sunrpc/Makefile (extra-objs): Add $(addprefix
35154 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35155 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35156 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35157 calling $(make-target-directory).
35158
a46f2169
L
351592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35160
35161 * bits/types.h (__snseconds_t): Removed.
35162 * time/time.h (struct timespec): Replace __snseconds_t with
35163 __syscall_slong_t.
35164 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35165 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35166 Likewise.
35167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35168 (__SNSECONDS_T_TYPE): Likewise.
35169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35170 (__SNSECONDS_T_TYPE): Likewise.
35171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35172 (__SNSECONDS_T_TYPE): Likewise.
35173
6af6528b
L
351742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35175
35176 * sysdeps/mach/hurd/bits/typesizes.h
35177 (__SYSCALL_SLONG_TYPE): New macro.
35178 (__SYSCALL_ULONG_TYPE): Likewise.
35179
de986b56
L
351802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35181
35182 * bits/types.h (__syscall_slong_t): New type.
35183 (__syscall_ulong_t): Likewise.
35184
35185 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35186 (__SYSCALL_ULONG_TYPE): Likewise.
35187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35188 (__SYSCALL_SLONG_TYPE): Likewise.
35189 (__SYSCALL_ULONG_TYPE): Likewise.
35190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35191 (__SYSCALL_SLONG_TYPE): Likewise.
35192 (__SYSCALL_ULONG_TYPE): Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35194 (__SYSCALL_SLONG_TYPE): Likewise.
35195 (__SYSCALL_ULONG_TYPE): Likewise.
35196
85736dc7
L
351972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35198
35199 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35200 Add sigaltstack-offsets.sym.
35201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35202 <sigaltstack-offsets.h>.
35203 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35204 longjmp_msg pointer.
35205 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35206 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35207 signal stack.
35208 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35209
cc03b296
JM
352102012-05-15 Joseph Myers <joseph@codesourcery.com>
35211
a9538892
JM
35212 * elf/stackguard-macros.h: Remove file.
35213 * sysdeps/generic/stackguard-macros.h: New file.
35214 * sysdeps/i386/stackguard-macros.h: Likewise.
35215 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35216 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35217 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35218 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35219 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35220 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35221 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35222 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35223 <elf/stackguard-macros.h>.
35224
cc03b296
JM
35225 [BZ #14109]
35226 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35227 __aligned__ in attribute.
35228 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35229 (gregset_t): Likewise.
35230
93171016
L
352312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35232
35233 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35234 * sysdeps/x86_64/64/Implies-after: Here. New file.
35235 * sysdeps/x86_64/x32/Implies-after: New file.
35236
d86813a0
L
352372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35238
35239 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35240 and access return value for _dl_profile_fixup. Use R10_LP to
35241 load frame size.
35242
2953ec75
L
352432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35244
35245 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35246
3b550e9e
L
352472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35248
35249 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35250 * sysdeps/x86_64/x32/sysdep.h: New file.
35251
eda41706
L
352522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35253
35254 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35255 * sysdeps/x86_64/setjmp.S: Likewise.
35256
9ea01d93
AZ
352572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35258
35259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35260 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35261 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35262 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35263 remove unused global constant.
35264
02a91938
CM
352652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35266
35267 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35268 include of <not-cancel.h>.
35269
6540185f
RM
352702012-05-15 Roland McGrath <roland@hack.frob.com>
35271
35272 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35273
509072a0
AJ
352742012-05-15 Jeff Law <law@redhat.com>
35275 Andreas Jaeger <aj@suse.de>
35276
35277 [BZ #13594]
35278 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35279 out from...
35280 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35281 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35283 code changing __hst_map_handle.map.
35284
ba75122d
RM
352852012-05-15 Roland McGrath <roland@hack.frob.com>
35286
35287 * configure.in (sysnames): Look for Implies-before and Implies-after
35288 files.
35289 * configure: Regenerated.
35290
890d8bd8
L
352912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35292
35293 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35294 8-byte data alignment with LP_SIZE alignment.
35295
f6ee6623
L
352962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35297
35298 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35299 into R10_LP.
35300
ea2626f6
L
353012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35302
35303 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35304
085f715e
L
353052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35308 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35309 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35310 Likewise.
35311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35312
be8498fc
L
353132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35314
35315 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35316 (stackinfo_sub_sp): Likewise.
35317
70bc83b9
L
353182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35319
35320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35321 RAX_LP.
35322
9bc0b730
L
353232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35324
35325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35326 into R*_LP.
35327
6d2850e7
L
353282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35331 sizes into R*_LP.
35332
3cb84561
L
353332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35334
35335 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35336
54e2ed81
L
353372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35338
35339 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35340 into R11_LP and load __x86_64_shared_cache_size_half into
35341 R8_LP.
35342
8a17f349
L
353432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35344
35345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35346 R8_LP.
35347
777b1eea
AZ
353482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35349
35350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35351 logb for POWER7.
35352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35353 logbf for POWER7.
35354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35355 logbl for POWER7.
35356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35357 powerpc32/power7/fpu/s_logb.c via #include.
35358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35359 powerpc32/power7/fpu/s_logbf.c via #include.
35360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35361 powerpc32/power7/fpu/s_logbl.c via #include.
35362
d20d4ac2
JM
353632012-05-15 Joseph Myers <joseph@codesourcery.com>
35364
35365 * README.libm: Remove file.
35366
6cdef1ab
L
353672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35368
35369 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35370 count for x32. Use R*_LP and omit operand-size suffix.
35371
0b254d8f
L
353722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35373
35374 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35375 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35376 * sysdeps/x86_64/x32/shlib-versions: New file.
35377
ceb809dc
RM
353782012-05-14 Roland McGrath <roland@hack.frob.com>
35379
35380 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35381 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35382 Use _dl_fatal_printf instead.
35383
37f1abd4
JM
353842012-05-14 Joseph Myers <joseph@codesourcery.com>
35385
35386 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35387 set if not set by the user. Do not allow for being unset.
35388 * sysdeps/unix/sysv/linux/configure: Regenerated.
35389
11de3a33
L
353902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35391
35392 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35393 the `q' suffix from lea and replace .quad with ASM_ADDR.
35394
e02f153a
L
353952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35396
35397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35398 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35399 instead of $17.
35400 (PTR_DEMANGLE): Likewise.
35401
520ae0fd
L
354022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35403
35404 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35405 (LP_OP): Likewise.
35406 (ASM_ADDR): Likewise.
35407 (RAX_LP): Likewise.
35408 (RBP_LP): Likewise.
35409 (RBX_LP): Likewise.
35410 (RCX_LP): Likewise.
35411 (RDI_LP): Likewise.
35412 (RSI_LP): Likewise.
35413 (RSP_LP): Likewise.
35414 (R8_LP): Likewise.
35415 (R9_LP): Likewise.
35416 (R10_LP): Likewise.
35417 (R10_LP): Likewise.
35418 (R11_LP): Likewise.
35419 (R12_LP): Likewise.
35420 (R13_LP): Likewise.
35421 (R14_LP): Likewise.
35422 (R15_LP): Likewise.
35423
b985be81
L
354242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35425
35426 * sysdeps/x86_64/x32/dl-machine.h: New file.
35427
6a4888ff
AJ
354282012-05-14 Andreas Jaeger <aj@suse.de>
35429
35430 * manual/Makefile (subdir): Remove export of subdir.
35431 (all): Remove target.
35432 (.PHONY): Remove all from list.
35433 (mkinstalldirs): Remove.
35434 (.PHONY): Remove installdirs from list.
35435 ($(inst_infodir)/libc.info): Use make-target-directory.
35436 (installdirs): Remove.
35437 (subdir_%): Remove.
35438 (glibc-targets): Remove.
35439 (lib): Remove.
35440 (stubs): Remove.
35441 ($(objpfx)stubs ../po/manual.pot): Remove.
35442 ($(objpfx)stamp%): Remove.
35443 (make-target-directory): Remove.
35444 (subdir_install): Remove.
35445 (routines): Remove.
35446 (aux): Remove.
35447 (sources): Remove.
35448 (objects): Remove.
35449 (headers): Remove.
35450
35451 [BZ #13750]
35452 * manual/.gitignore: Remove, it's not needed anymore.
35453 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35454 all files in it.
35455 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35456 directory.
35457 (texis): Renamed to $(objpfx)texis.
35458 (texis-path): New, contains path to generated files.
35459 (chapters.%): Use texis-path for complete path, add extra argument
35460 libc-texinfo.sh.
35461 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35462 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35463 (summary,texi, stamp-summary): Use complete path of
35464 files. Generate files in build dir.
35465 (dir-add.texi): Build in build dir.
35466 (libm-err.texi,stamp-libm-err): Likewise.
35467 (version.texi, stamp-version): Likewise.
35468 (.%c.texi): Likewise.
35469 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35470 (mostlyclean): Remove target.
35471 (realclean): Remove target.
35472 (generated): Add new variable with contents from mostlyclean and
35473 realclean, remove entries duplicated in common-mostlyclean, add
35474 stamp-libm-err and stamp-version.
35475 (generated-dirs): Add libc directory.
35476 ($(inst_infodir)/libc.info): Install files from build dir.
35477
35478 * manual/install.texi (Configuring and compiling): Adjust since
35479 the info files are not part of the tar ball anymore.
35480
7ac77294
AJ
354812012-05-14 Andreas Jaeger <aj@suse.de>
35482
35483 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35484 variable.
35485
ffb7875d
JM
354862012-05-14 Joseph Myers <joseph@codesourcery.com>
35487
35488 [BZ #13717]
35489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35490 to 2.2.0 where earlier.
35491 * sysdeps/unix/sysv/linux/configure: Regenerated.
35492 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35493 Remove conditional code.
35494 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35495 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35496 Remove conditional code.
35497 [!__NR_lchown]: Likewise.
35498 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35499 [__NR_lchown]: Likewise.
35500 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35501 comment referencing __ASSUME_LCHOWN_SYSCALL.
35502 * sysdeps/unix/sysv/linux/i386/sigaction.c
35503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35505 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35506 Remove conditional code.
35507 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35508 (__protocol_available): Remove #if 0 code.
35509 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35510 conditional code.
35511 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35512 * sysdeps/unix/sysv/linux/kernel-features.h
35513 (__ASSUME_GETCWD_SYSCALL): Don't define.
35514 (__ASSUME_REALTIME_SIGNALS): Likewise.
35515 (__ASSUME_PREAD_SYSCALL): Likewise.
35516 (__ASSUME_PWRITE_SYSCALL): Likewise.
35517 (__ASSUME_POLL_SYSCALL): Likewise.
35518 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35519 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35520 non-SPARC.
35521 (__ASSUME_SIOCGIFNAME): Don't define.
35522 (__ASSUME_MSG_NOSIGNAL): Likewise.
35523 (__ASSUME_SENDFILE): Define unconditionally.
35524 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35525 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35526 conditional code.
35527 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35528 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35530 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35531 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35532 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35533 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35558 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35559 Remove conditional code.
35560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35561 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35562 Remove conditional code.
35563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35564 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35565 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35566 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35567 Remove conditional code.
35568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35569 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35570 Remove conditional code.
35571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35572 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35573 Remove conditional code.
35574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35575 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35576 Remove conditional code.
35577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35578 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35579 Remove conditional code.
35580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35581 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35584 * sysdeps/unix/sysv/linux/sigaction.c
35585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35587 * sysdeps/unix/sysv/linux/sigpending.c
35588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35590 * sysdeps/unix/sysv/linux/sigprocmask.c
35591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35593 * sysdeps/unix/sysv/linux/sigsuspend.c
35594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35597 (__libc_missing_rt_sigs): Remove.
35598 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35599 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35600 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35601 Remove conditional code.
35602 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35603 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35604 return 1.
35605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35606 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35608 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35609
1bfb7291
AJ
356102012-05-14 Andreas Jaeger <aj@suse.de>
35611
caae5a81
AJ
35612 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35613 it's not used in glibc.
35614 (__coshm1): Likewise.
35615 (__acosh1p): Likewise.
35616 (__sgn): Likewise.
35617
1bfb7291
AJ
35618 * manual/string.texi (Copying and Concatenation): Add missing
35619 variable in concat example.
35620 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35621
c044d724
L
356222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35623
144c5467 35624 [BZ #14103]
c044d724
L
35625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35626 __builtin_clzl with __builtin_clzll.
35627
2523c62b
L
356282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35629
35630 [BZ #14104]
35631 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35632 libc_freeres_ptr.
35633
d7bb4c42
LD
356342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35635
35636 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35637 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35638 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35639 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35640
9dc4e1fb
MF
356412012-05-14 Mike Frysinger <vapier@gentoo.org>
35642
35643 * NEWS: Update ia64 info.
35644
c7df0112
AS
356452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35646
35647 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35648 used as bcopy.
35649
dc70356c
TS
356502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35651
35652 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35653 * sysdeps/unix/syscalls.list (dup3): Likewise.
35654 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35655 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35656
9fb1a21f
L
356572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35658
35659 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35660 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35661
4822a2a5
L
356622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35663
35664 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35665 thread pointer.
35666 (TLS_IE): Use mov/add instead of movq/addq to load thread
35667 pointer.
35668 (TLS_GD_PREFIX): New.
35669 (TLS_GD): Use it.
35670
842b81d6
DM
356712012-05-11 David S. Miller <davem@davemloft.net>
35672
35673 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35674 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35675 (_FPU_SETCW): Likewise.
35676
1cf463cd
L
356772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35678
35679 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35680 is 32-byte aligned.
35681
60cc4a18
AS
356822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35683
35684 [BZ #11837]
35685 * iconvdata/gb18030.c: Update tables.
35686 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35687 characters specially.
35688 (BODY for TO_LOOP): Add encoding of missing ranges.
35689
febb44a4
TS
356902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35691
35692 [BZ #13673]
35693 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35694 * sysdeps/mach/hurd/dup3.c: Likewise.
35695 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35696 * sysdeps/powerpc/memmove.c:: Likewise.
35697
0a10fb9e
L
356982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35699
35700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35701 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35702
df8a552f
L
357032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35704
35705 * elf/elf.h (R_X86_64_RELATIVE64): New.
35706 (R_X86_64_NUM): Updated.
35707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35708 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35709 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35710 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35711 tst-quad1pie tst-quad2pie
35712 (modules-names): Add tst-quadmod1 tst-quadmod2.
35713 ($(objpfx)tst-quad1): New dependency.
35714 ($(objpfx)tst-quad2): Likewise.
35715 ($(objpfx)tst-quad1pie): Likewise.
35716 ($(objpfx)tst-quad2pie): Likewise.
35717 * sysdeps/x86_64/tst-quad1.c: New file.
35718 * sysdeps/x86_64/tst-quad1pie.c: New file.
35719 * sysdeps/x86_64/tst-quad2.c: Likewise.
35720 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35721 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35722 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35723 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35724 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35725
f34d6f84
ST
357262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35727
f42d41d1
ST
35728 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35729 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35730 * streams/stropts.h (t_scalar_t): Define type.
35731
3c3571fc
ST
35732 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35733 (_PATH_PRESERVE): Set to "/var/lib".
35734 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35735
61f06bd3
ST
35736 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35737 instead of int.
35738
918d4d71
ST
35739 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35740 if __dir_mkfile succeeded.
35741
f34d6f84
ST
35742 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35743 checking for _hurd_dtablesize. Unlock it right after having
35744 finished _hurd_dtable allocation.
35745
10589b4a
TS
357462012-05-10 Thomas Schwinge <thomas@schwinge.name>
35747
674cdbc7
TS
35748 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35749 * sysdeps/mach/hurd/configure: Regenerated.
35750 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35751 special-casing to...
35752 * sysdeps/gnu/configure.in: ... this new file.
35753 * sysdeps/unix/sysv/linux/configure: Regenerated.
35754 * sysdeps/gnu/configure: New generated file.
35755
8e41b99f
TS
35756 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35757 for Linux: use nsec instead of usec, as well as:
35758 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35759 members of type struct timespec.
35760 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35761 New macros.
35762 (struct stat64): Likewise.
35763 (_STATBUF_ST_NSEC): New macro.
35764 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35765
10589b4a
TS
35766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35767 __strtoul_internal rather than strtoul.
35768
63643c85
PT
357692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35770
35771 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35772 and reject them.
35773
3faebe6a
ST
357742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35775
35776 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35777 which preserves existing values.
35778 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35779
c6474b07
PT
357802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35781
35782 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35783 TIMEOUT values. Return EINVAL for NFDS values either negative or
35784 greater than FD_SETSIZE.
35785
1043890b
ST
357862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35787
35788 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35789 allocated, call __vm_protect to finish enabling the existing space, and
35790 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35791 allocate the remainder.
35792
37ed8b9b
PT
357932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35794
35795 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35796 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35797
db653660
ST
357982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35799
37ed8b9b
PT
35800 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35801 sysdeps/mach/hurd/readlink.c.
b29d4053 35802
db653660
ST
35803 * posix/tst-sysconf.c (posix_options): Only use
35804 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35805 _POSIX_SYNCHRONIZED_IO when they are defined
35806 * sysdeps/mach/hurd/bits/posix_opt.h:
35807 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35808 (_XOPEN_REALTIME): Undefine macro.
35809 (_XOPEN_REALTIME_THREADS): Undefine macro.
35810 (_XOPEN_SHM): Undefine macro.
35811 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35812 macro to -1.
35813 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35814 macro to -1.
35815 (_POSIX_ASYNC_IO): Undefine macro.
35816 (_POSIX_PRIORITIZED_IO): Undefine macro.
35817 (_POSIX_SPIN_LOCKS): Define macro to -1.
35818
ee16e894
ST
35819 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35820 SA_NODEFER, SA_RESETHAND.
35821 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35822 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35823 F_DUPFD_CLOEXEC.
35824
6103ae3b
TS
358252012-05-10 Thomas Schwinge <thomas@schwinge.name>
35826
35827 * elf/Makefile (pldd-modules): Define unconditionally.
35828
80b4e5f3
TS
358292012-05-10 Thomas Schwinge <thomas@schwinge.name>
35830
35831 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35832
edadcbd6
ST
358332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35834
35835 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35836 Return ENOENT when name is empty.
35837 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35838
80694780
TS
358392012-05-10 Thomas Schwinge <thomas@schwinge.name>
35840
1792c087
TS
35841 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35842
80694780
TS
35843 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35844
6b645f0d
ST
358452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35846
80694780
TS
35847 Fix mlock in all cases except non-readable pages.
35848 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35849 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35850
6b645f0d
ST
35851 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35852 (__mkdir): When path is `/', just fail with EEXIST.
35853 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35854
e468f8a3
TS
358552012-05-10 Thomas Schwinge <thomas@schwinge.name>
35856
35857 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35858 <sys/uio.h> (for writev).
35859 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35860 and <sys/param.h> (for MIN).
35861
a4186cff
PT
358622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35863
35864 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35865 REQUESTED_TIME. Properly set the remaining time and return EINTR
35866 if interrupted.
35867
510bbf14
TS
358682012-05-10 Thomas Schwinge <thomas@schwinge.name>
35869
35870 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35871 Depend on against $(link-rpcuserlibs).
35872
5d5722e8
ST
358732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35874
a4186cff
PT
35875 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35876 (__libc_stack_end): Do not use attribute_relro.
35877 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35878 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35879 to libthread-provided value.
a4186cff
PT
35880 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35881 attribute_relro.
5d5722e8 35882
37233df9
TS
358832012-05-10 Thomas Schwinge <thomas@schwinge.name>
35884
be971a2b
TS
35885 [BZ #3748]
35886 * bits/libc-lock.h (__libc_once_get): New macro.
35887 * sysdeps/mach/bits/libc-lock.h: Likewise.
35888 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35890 instead of using implementation details.
35891
37233df9
TS
35892 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35893 * libio/freopen.c: Likewise.
35894 * libio/freopen64.c: Likewise.
35895 * misc/syslog.c: Likewise.
35896 * nscd/connections.c: Likewise.
35897 * nscd/netgroupcache.c: Likewise.
35898 * sysdeps/posix/getcwd.c: Likewise.
35899
38de94a5
RM
359002012-05-10 Roland McGrath <roland@hack.frob.com>
35901
35902 * math/w_ilogbf.c: Add #include <limits.h>.
35903
67530489
ST
359042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35905
a4186cff 35906 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35907 path instead of returning without unlocking.
35908
67530489
ST
35909 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35910 immediate-write ioctls.
35911 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35912
5aa3a74a
TS
359132012-05-10 Thomas Schwinge <thomas@schwinge.name>
35914
18bad2ae
TS
35915 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35916 __builtin_frame_address instead of making assumptions about the
35917 location of the return address relative to DATA. Force early load of
35918 the return address.
35919 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35920 __builtin_frame_address.
35921
5aa3a74a
TS
35922 dup3 for GNU Hurd.
35923 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35924 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35925 implement dup3 and do some further code clean-ups.
35926 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35927 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35928
ecd0de9a
ST
359292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35930
cd9fa985
ST
35931 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35932
a4186cff
PT
35933 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35934 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35935 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35936 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35937 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35938 d->port.lock.
802ca5a5 35939
a4186cff
PT
35940 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35941 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35942 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35943
bcf55240
TS
359442012-05-10 Thomas Schwinge <thomas@schwinge.name>
35945
6960eb42
TS
35946 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35947 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35948 definitions.
35949
eb43375f
TS
35950 accept4 for GNU Hurd.
35951 * include/sys/socket.h (__libc_accept4): New prototype.
35952 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35953 to implement __libc_accept4.
35954 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35955 __libc_accept4.
35956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35957
bcf55240
TS
35958 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35959 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35960 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35961 signal-defines.sym.
35962
6178c55b
ST
359632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35964
a4186cff 35965 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35966
6f080c2f
TS
359672012-05-10 Thomas Schwinge <thomas@schwinge.name>
35968
35969 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35970 assertion on O_CLOEXEC flag.
35971 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35972 * hurd/intern-fd.c: Likewise.
35973 * hurd/port2fd.c: Likewise.
35974
bcfe3a54
ST
359752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35976
35977 [BZ #3906]
35978 * bits/in.h (IPV6_PKTINFO): Define new macro.
35979 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35980
89c9aa49
AZ
359812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35982
35983 [BZ #13954]
35984 [BZ #13955]
35985 [BZ #13956]
35986 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35988 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35992 * math/libm-test.inc (logb_test) : Additional logb tests.
35993
021db4be
AJ
359942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35995 Andreas Jaeger <aj@suse.de>
35996
35997 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35998 * configure: Regenerated.
35999 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36000 * config.make.in (link-obsolete-rpc): New substituted variable.
36001 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36002 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36003 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36004 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36005 so that libc.a contains the symbols.
36006 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36007 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36008 * sunrpc/auth_none.c: Likewise.
36009 * sunrpc/auth_unix.c: Likewise.
36010 * sunrpc/authdes_prot.c: Likewise.
36011 * sunrpc/authuxprot.c: Likewise.
36012 * sunrpc/clnt_gen.c: Likewise.
36013 * sunrpc/clnt_perr.c: Likewise.
36014 * sunrpc/clnt_raw.c: Likewise.
36015 * sunrpc/clnt_simp.c: Likewise.
36016 * sunrpc/clnt_tcp.c: Likewise.
36017 * sunrpc/clnt_udp.c: Likewise.
36018 * sunrpc/clnt_unix.c: Likewise.
36019 * sunrpc/des_crypt.c: Likewise.
36020 * sunrpc/des_soft.c: Likewise.
36021 * sunrpc/get_myaddr.c: Likewise.
36022 * sunrpc/key_call.c: Likewise.
36023 * sunrpc/key_prot.c: Likewise.
36024 * sunrpc/netname.c: Likewise.
36025 * sunrpc/pm_getmaps.c: Likewise.
36026 * sunrpc/pm_getport.c: Likewise.
36027 * sunrpc/pmap_clnt.c: Likewise.
36028 * sunrpc/pmap_prot.c: Likewise.
36029 * sunrpc/pmap_prot2.c: Likewise.
36030 * sunrpc/pmap_rmt.c: Likewise.
36031 * sunrpc/publickey.c: Likewise.
36032 * sunrpc/rpc_cmsg.c: Likewise.
36033 * sunrpc/rpc_common.c: Likewise.
36034 * sunrpc/rpc_dtable.c: Likewise.
36035 * sunrpc/rpc_prot.c: Likewise.
36036 * sunrpc/rpc_thread.c: Likewise.
36037 * sunrpc/rtime.c: Likewise.
36038 * sunrpc/svc.c: Likewise.
36039 * sunrpc/svc_auth.c: Likewise.
36040 * sunrpc/svc_raw.c: Likewise.
36041 * sunrpc/svc_run.c: Likewise.
36042 * sunrpc/svc_tcp.c: Likewise.
36043 * sunrpc/svc_udp.c: Likewise.
36044 * sunrpc/svc_unix.c: Likewise.
36045 * sunrpc/svcauth_des.c: Likewise.
36046 * sunrpc/xcrypt.c: Likewise.
36047 * sunrpc/xdr.c: Likewise.
36048 * sunrpc/xdr_array.c: Likewise.
36049 * sunrpc/xdr_float.c: Likewise.
36050 * sunrpc/xdr_intXX_t.c: Likewise.
36051 * sunrpc/xdr_mem.c: Likewise.
36052 * sunrpc/xdr_rec.c: Likewise.
36053 * sunrpc/xdr_ref.c: Likewise.
36054 * sunrpc/xdr_sizeof.c: Likewise.
36055 * sunrpc/xdr_stdio.c: Likewise.
36056
b5c086a2
RM
360572012-05-10 Roland McGrath <roland@hack.frob.com>
36058
36059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36060 change. Update copyright years.
36061
6d74dd09
JM
360622012-05-10 Joseph Myers <joseph@codesourcery.com>
36063
36064 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36065
28e72501
MK
360662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36067 Joseph Myers <joseph@codesourcery.com>
36068 Paul Pluzhnikov <ppluzhnikov@google.com>
36069
36070 [BZ #14012]
36071 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36072 requiring rpcgen.
36073 [cross-compiling] (extra-libs): Likewise.
36074 [cross-compiling] (extra-libs-others): Likewise.
36075 [cross-compiling] (librpcsvc-routines): Likewise.
36076 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36077 [cross-compiling] (omit-deps): Likewise.
36078 (sunrpc-CPPFLAGS): New variable.
36079 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36080 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36081 (cross-rpcgen-objs): New variable.
36082 (extra-objs): Append $(cross-rpcgen-objs).
36083 ($(cross-rpcgen-objs)): New rule.
36084 ($(objpfx)cross-rpcgen): Likewise.
36085 (rpcgen-cmd): Define to use $(built-program-file). Expand
36086 comment.
36087 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36088 ($(objpfx)x%.stmp): Likewise.
36089 * sunrpc/proto.h [IS_IN_build] (_): Define.
36090 [IS_IN_build] (_libc_intl_domainname): Likewise.
36091
c8c59454
L
360922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36093
36094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36095 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36096 and R_X86_64_TPOFF64.
36097
6f27cd16
JM
360982012-05-10 Joseph Myers <joseph@codesourcery.com>
36099
36100 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36101 sysdeps/unix/sysv/syscalls.list.
36102 (stime): Likewise.
36103 (utime): Likewise.
36104 * sysdeps/unix/sysv/syscalls.list: Remove file.
36105
02467e1c
PE
361062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36107
36108 [BZ #3440]
36109 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36110 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36111 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36112 (__LC_IDENTIFICATION): Make these macros useful in #if
36113 expressions, as required by C99.
36114
da392631
AS
361152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36116
36117 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36118 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36119 after this.
36120
8115f29b
L
361212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36122
36123 * stdlib/longlong.h: Updated from GCC.
36124
bdd74070
AJ
361252012-05-09 Andreas Jaeger <aj@suse.de>
36126
edfe0dbe
AJ
36127 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36128 default is first entry.
36129 (run_mode): Set type.
36130 (main): Remove informal message about syslog.
36131 (options): Fix typo.
36132
bcfe3a54
ST
36133 [BZ #14053]
36134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36135 to asm.
bcfe3a54
ST
36136 (lrint): Likewise.
36137 (llrintf): Likewise.
36138 (llrint): Likewise.
36139 (rint): Likewise.
36140 (rintf): Likewise.
36141 (nearbyint): Likewise.
36142 (nearbyintf): Likewise.
bdd74070 36143
91d8d69e
AJ
361442012-05-09 Andreas Jaeger <aj@suse.de>
36145 Pedro Alves <palves@redhat.com>
36146
36147 * nscd/nscd.c (run_mode): Use enum.
36148 (main): Cleanup coding style issue.
36149
bb90b80b
AJ
361502012-05-09 Alexandre Oliva <aoliva@redhat.com>
36151 Andreas Jaeger <aj@suse.de>
36152
bcfe3a54
ST
36153 * nscd/nscd.c (go_background): Replaced with...
36154 (run_mode): ... this.
bb90b80b 36155 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36156 (options): Add -F --foreground.
36157 (main): Implement it.
36158 (parse_opt): Parse it.
bb90b80b 36159
1a4b75a1
AJ
361602012-05-09 Andreas Jaeger <aj@suse.de>
36161
36162 [BZ #14083]
36163 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36164 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36165 -Wconversion warning.
36166 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36167 Likewise.
36168
b1cc2472
JM
361692012-05-09 Joseph Myers <joseph@codesourcery.com>
36170
36171 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36172 == 0.
36173 (LC_ALL): Use macro-int-constant.
36174 (LC_COLLATE): Likewise.
36175 (LC_CTYPE): Likewise.
36176 (LC_MESSAGES): Likewise.
36177 (LC_MONETARY): Likewise.
36178 (LC_NUMERIC): Likewise.
36179 (LC_TIME): Likewise.
36180 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36181 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36183 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36184 Specify type.
36185 [C99-based standards] (float_t): Expect type.
36186 [C99-based standards] (double_t): Expect type.
36187 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36188 type.
36189 [C99-based standards] (HUGE_VALL): Likewise.
36190 [C99-based standards] (INFINITY): Likewise.
36191 [C99-based standards] (NAN): Likewise.
36192 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36193 [C99-based standards] (FP_NAN): Likewise.
36194 [C99-based standards] (FP_NORMAL): Likewise.
36195 [C99-based standards] (FP_SUBNORMAL): Likewise.
36196 [C99-based standards] (FP_ZERO): Likewise.
36197 [C99-based standards] (FP_FAST_FMA): Use
36198 optional-macro-int-constant. Specify type. Require == 1.
36199 [C99-based standards] (FP_FAST_FMAF): Likewise.
36200 [C99-based standards] (FP_FAST_FMAL): Likewise.
36201 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36202 [C99-based standards] (FP_ILOGBNAN): Likewise.
36203 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36204 Specify type.
36205 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36206 [C99-based standards] (math_errhandling): Specify type.
36207 [ISO99 || ISO11] (signgam): Do not allow.
36208 [non-C99-based standards] (copysignf): Do not allow.
36209 [non-C99-based standards] (exp2f): Likewise.
36210 [non-C99-based standards] (log2f): Likewise.
36211 [non-C99-based standards] (modff): Allow.
36212 [non-C99-based standards] (erff): Do not allow.
36213 [non-C99-based standards] (erfcf): Likewise.
36214 [non-C99-based standards] (gammaf): Likewise.
36215 [non-C99-based standards] (hypotf): Likewise.
36216 [non-C99-based standards] (j0f): Likewise.
36217 [non-C99-based standards] (j1f): Likewise.
36218 [non-C99-based standards] (jnf): Likewise.
36219 [non-C99-based standards] (lgammaf): Likewise.
36220 [non-C99-based standards] (tgammaf): Likewise.
36221 [non-C99-based standards] (y0f): Likewise.
36222 [non-C99-based standards] (y1f): Likewise.
36223 [non-C99-based standards] (ynf): Likewise.
36224 [non-C99-based standards] (isnanf): Likewise.
36225 [non-C99-based standards] (acoshf): Likewise.
36226 [non-C99-based standards] (asinhf): Likewise.
36227 [non-C99-based standards] (atanhf): Likewise.
36228 [non-C99-based standards] (cbrtf): Likewise.
36229 [non-C99-based standards] (expm1f): Likewise.
36230 [non-C99-based standards] (ilogbf): Likewise.
36231 [non-C99-based standards] (log1pf): Likewise.
36232 [non-C99-based standards] (logbf): Likewise.
36233 [non-C99-based standards] (nextafterf): Likewise.
36234 [non-C99-based standards] (remainderf): Likewise.
36235 [non-C99-based standards] (rintf): Likewise.
36236 [non-C99-based standards] (scalbf): Likewise.
36237 [non-C99-based standards] (copysignl): Likewise.
36238 [non-C99-based standards] (exp2l): Likewise.
36239 [non-C99-based standards] (log2l): Likewise.
36240 [non-C99-based standards] (modfl): Allow.
36241 [non-C99-based standards] (erfl): Do not allow.
36242 [non-C99-based standards] (erfcl): Likewise.
36243 [non-C99-based standards] (gammal): Likewise.
36244 [non-C99-based standards] (hypotl): Likewise.
36245 [non-C99-based standards] (j0l): Likewise.
36246 [non-C99-based standards] (j1l): Likewise.
36247 [non-C99-based standards] (jnl): Likewise.
36248 [non-C99-based standards] (lgammal): Likewise.
36249 [non-C99-based standards] (tgammal): Likewise.
36250 [non-C99-based standards] (y0l): Likewise.
36251 [non-C99-based standards] (y1l): Likewise.
36252 [non-C99-based standards] (ynl): Likewise.
36253 [non-C99-based standards] (isnanl): Likewise.
36254 [non-C99-based standards] (acoshl): Likewise.
36255 [non-C99-based standards] (asinhl): Likewise.
36256 [non-C99-based standards] (atanhl): Likewise.
36257 [non-C99-based standards] (cbrtl): Likewise.
36258 [non-C99-based standards] (expm1l): Likewise.
36259 [non-C99-based standards] (ilogbl): Likewise.
36260 [non-C99-based standards] (log1pl): Likewise.
36261 [non-C99-based standards] (logbl): Likewise.
36262 [non-C99-based standards] (nextafterl): Likewise.
36263 [non-C99-based standards] (remainderl): Likewise.
36264 [non-C99-based standards] (rintl): Likewise.
36265 [non-C99-based standards] (scalbl): Likewise.
36266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36267 [non-C99-based standards] (FP_*): Do not allow.
36268 [C99-based standards] (FP_*): Change to
36269 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36270 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36271 allow.
36272 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36273 (SIG_ERR): Likewise.
36274 [X/Open-based standards] (SIG_HOLD): Likewise.
36275 (SIG_IGN): Likewise.
36276 (SIGABRT): Use macro-int-constant. Specify type. Require
36277 positive value.
36278 (SIGFPE): Likewise.
36279 (SIGILL): Likewise.
36280 (SIGINT): Likewise.
36281 (SIGSEGV): Likewise.
36282 (SIGTER): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36296 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36297 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36301 [X/Open-based standards] (SIGTRAP): Likewise.
36302 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36303 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36304 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36306 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36307 allow.
36308
b9f1922d
IW
363092012-05-08 Ian Wienand <ianw@vmware.com>
36310
36311 [BZ #14080]
36312 * time/tzset.c (__tzset_parse_tz): Update default rules for
36313 daylight time changes in the Energy Policy Act of 2005.
36314
1db86e88
AJ
363152012-05-09 Andreas Jaeger <aj@suse.de>
36316
36317 [BZ #13983]
36318 * elf/ldconfig.c (parse_conf): Change string to make clear that
36319 ldconfig only issued a warning if ld.so.conf does not exist.
36320
dee4a4e3
DM
363212012-05-08 David S. Miller <davem@davemloft.net>
36322
ee0db190
DM
36323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36324 movxtod instead of popping the value on the stack.
36325
dee4a4e3
DM
36326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36327
6a43ec98
CD
363282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36329
36330 * config.h.in: Add HAVE_ARM_PCS_VFP.
36331
05c2c961
RMG
363322012-05-08 Roland Mc Grath <roland@hack.frob.com>
36333
bcfe3a54
ST
36334 [BZ #13979]
36335 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36336 checking but the checks are disabled for any reason.
05c2c961 36337
4b30f61a
L
363382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36339
36340 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36341 and ELF64_R_TYPE with ELFW(R_TYPE).
36342
eee2bc67
JM
363432012-05-08 Joseph Myers <joseph@codesourcery.com>
36344
7ea5391a
JM
36345 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36346 (ulimit): Likewise.
36347
eee2bc67
JM
36348 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36349 (settimeofday): Likewise.
36350
abb66a67
MF
363512012-05-08 Mike Frysinger <vapier@gentoo.org>
36352
36353 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36354 a struct th_u2 inside the union, and move tu_block/tu_code into
36355 a new th_u3 union of tu_block/tu_code inside of that. Move
36356 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36357 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36358 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36359 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36360 (th_stuff): Change to th_u1.tu_stuff.
36361 (th_data): Define.
36362 (th_msg): Change to th_u1.th_u2.tu_data.
36363
7f18b530
DM
363642012-05-07 David S. Miller <davem@davemloft.net>
36365
05760585
DM
36366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36367
7f18b530
DM
36368 [BZ #14074]
36369 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36370 (SETUP_PIC_REG): Use it.
36371 (SETUP_PIC_REG_LEAF): Use it.
36372
495fd99f
JM
363732012-05-07 Joseph Myers <joseph@codesourcery.com>
36374
36375 [BZ #13885]
36376 [BZ #13923]
36377 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36378 USE_AS_EXPM1L.
36379 (EXPL_FINITE): Likewise.
36380 (FLDLOG): Likewise.
36381 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36382 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36383 e_expl.S.
36384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36385 USE_AS_EXPM1L.
36386 (EXPL_FINITE): Likewise.
36387 (FLDLOG): Likewise.
36388 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36389 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36390 e_expl.S.
36391 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36392 test of -max_value argument for long double.
36393 * sysdeps/i386/fpu/libm-test-ulps: Update.
36394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36395
6693d694
DM
363962012-05-06 David S. Miller <davem@davemloft.net>
36397
36398 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36399 quad soft-float symbols whose references which are compiler
36400 generated.
36401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36402
6c23e11c
JM
364032012-05-06 Joseph Myers <joseph@codesourcery.com>
36404
d8b82cad
JM
36405 [BZ #13884]
36406 [BZ #13914]
36407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36408 USE_AS_EXP10L.
36409 (EXPL_FINITE): Likewise.
36410 (FLDLOG): Likewise.
36411 (c0): Likewise.
36412 (c1): Likewise.
36413 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36414 Adjust comments for base varying.
36415 (__expl_finite): Change alias to EXPL_FINITE.
36416 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36417 e_expl.S.
36418 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36419 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36420 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36421 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36422 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36423 USE_AS_EXP10L.
36424 (EXPL_FINITE): Likewise.
36425 (FLDLOG): Likewise.
36426 (c0): Likewise.
36427 (c1): Likewise.
36428 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36429 Adjust comments for base varying.
36430 (__expl_finite): Change alias to EXPL_FINITE.
36431 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36432 tests for bugs.
36433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36434
6c23e11c
JM
36435 [BZ #14064]
36436 * math/libm-test.inc (check_float_internal): Correct ulp
36437 calculation for subnormal expected results.
36438
29ba805c
AJ
364392012-05-06 Andreas Jaeger <aj@suse.de>
36440
36441 * Makeconfig (+math-flags): New, set to -frounding-math.
36442 (+cflags): Add +math-flags so that all of glibc gets compiled with
36443 it.
36444
36445 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36446
7b17aeda
JM
364472012-05-05 Joseph Myers <joseph@codesourcery.com>
36448
5779f134
JM
36449 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36450 Disable one test.
36451
41498f4d
JM
36452 [BZ #13787]
36453 [BZ #13922]
36454 [BZ #14036]
36455 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36456 (__ieee754_expl): Allow for and saturate large arguments.
36457 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36458 (u_threshold): Likewise.
36459 (__exp): Call __ieee754_exp before checking for overflow and
36460 underflow.
36461 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36462 (u_threshold): Likewise.
36463 (__expf): Call __ieee754_expf before checking for overflow and
36464 underflow.
36465 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36466 (u_threshold): Likewise.
36467 (__expl): Call __ieee754_expl before checking for overflow and
36468 underflow.
36469 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36470 (__ieee754_expl): Allow for and saturate large arguments.
36471 * math/libm-test.inc (exp_test): Add another test. Do not allow
36472 missing overflow exception on overflow.
36473 (expm1_test): Do not allow missing overflow exception on overflow.
36474
6698b8bf
JM
36475 * sysdeps/i386/fpu/e_expl.c: Move to ...
36476 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36477 rather than using inline asm.
36478 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36479 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36480 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36481
7b17aeda
JM
36482 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36483 (nice): Likewise.
36484 (poll): Likewise.
36485 (signal): Likewise.
36486 (time): Likewise.
36487 (times): Likewise.
36488
f7c85819
JM
364892012-05-04 Joseph Myers <joseph@codesourcery.com>
36490
36491 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36492 sysdeps/unix/common/syscalls.list.
36493 (fchmod): Likewise.
36494 (fchown): Likewise.
36495 (ftruncate): Likewise.
36496 (getrusage): Likewise.
36497 (gettimeofday): Likewise.
36498 (setpgid): Likewise.
36499 (setregid): Likewise.
36500 (setreuid): Likewise.
36501 (sigaction): Likewise.
36502 (truncate): Likewise.
36503 (vhangup): Likewise.
36504 * sysdeps/unix/common/syscalls.list: Remove file.
36505 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36506 * sysdeps/unix/sysv/linux/Implies: Likewise.
36507
336270d0
L
365082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36509
36510 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36512 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36513 Moved to ...
36514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36515 Here.
36516 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36517 to ...
36518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36519 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36520 to ...
36521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36522 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36523 to ...
36524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36525 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36526 to ...
36527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36529 to ...
36530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36531 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36532 to ...
36533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36535 to ...
36536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36537 Here.
36538 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36539 to ...
36540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36541 Here.
36542 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36543 to ...
36544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36545 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36546 Moved to ...
36547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36548 Here.
36549 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36550 to ...
36551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36552
d128e450
JM
365532012-05-04 Joseph Myers <joseph@codesourcery.com>
36554
fa8ee516
JM
36555 * sysdeps/unix/common/bits/dirent.h: Remove file.
36556 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36557
d128e450
JM
36558 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36559 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36560 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36561 * sysdeps/unix/bsd/isatty.c: Likewise.
36562 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36563 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36564 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36565
ff8faaf0 365662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36567
62881be4 36568 [BZ #13563]
31dc8730
AZ
36569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36570 long double comparison inaccuracies.
36571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36573
6fef930c
AS
365742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36575
36576 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36578
8f203e6c
JM
365792012-05-04 Joseph Myers <joseph@codesourcery.com>
36580
36581 [BZ #14049]
36582 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36583 nonzero digits before rounding a hex value.
36584 * stdlib/tst-strtod.c (tests): Add another test.
36585
5197d9c2
AK
365862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36587
36588 * sysdeps/s390/fpu/libm-test-ulps: Update.
36589
f0c1dedf
AJ
365902012-05-03 Andreas Jaeger <aj@suse.de>
36591
36592 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36593 does not get optimized out.
36594 (malloc_opt_barrier): New.
36595
a65ef2ae 365962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36597 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36598
2b942cb7 36599 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36600 intermediate file deletion.
2b942cb7 36601 (generated): Add .symlist files.
a65ef2ae 36602
54b71e02
JM
366032012-05-03 Joseph Myers <joseph@codesourcery.com>
36604
36605 [BZ #13775]
36606 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36607 Redirect under this condition.
36608 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36609 [__USE_GNU] (__dprintf_chk): Not under this condition.
36610 [__USE_GNU] (__vdprintf_chk): Likewise.
36611 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36612 under this condition.
36613 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36614 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36615 [__USE_XOPEN2K8] (vdprintf): Likewise.
36616 [__USE_GNU] (__dprintf_chk): Not under this condition.
36617 [__USE_GNU] (__vdprintf_chk): Likewise.
36618 [__USE_GNU] (dprintf): Likewise.
36619 [__USE_GNU] (vdprintf): Likewise.
36620
d3dfcc41
RM
366212012-05-03 Roland McGrath <roland@hack.frob.com>
36622
36623 * elf/Makefile (common-generated): Set this instead of generated for
36624 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36625 $(all-built-dso)-derived lists.
36626
7ac30cc5
AJ
366272012-05-03 Andreas Jaeger <aj@suse.de>
36628
0c51e550
AJ
36629 * sysdeps/i386/fpu/libm-test-ulps: Update.
36630
7ac30cc5
AJ
36631 * FAQ: Removed.
36632 * FAQ.in: Likewise.
36633 * scripts/gen-FAQ.pl: Likewise.
36634 * manual/install.texi (Installation): Point to online location of
36635 FAQ.
36636 * Makefile (files-for-dist): Remove FAQ.
36637 (FAQ): Remove.
36638
d4c2917f
AM
366392012-05-02 Allan McRae <allan@archlinux.org>
36640
36641 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36642 (LDFLAGS-reldepmod5.so): Likewise.
36643 (LDFLAGS-reldep6mod1.so): Likewise.
36644 (LDFLAGS-reldep6mod4.so): Likewise.
36645 (LDFLAGS-reldep8mod3.so): Likewise.
36646 (LDFLAGS-unload4mod1.so): Likewise.
36647 (LDFLAGS-unload4mod2.so): Likewise.
36648 (LDFLAGS-tst-initorder): Likewise.
36649 (LDFLAGS-tst-initordera2.so): Likewise.
36650 (LDFLAGS-tst-initordera3.so): Likewise.
36651 (LDFLAGS-tst-initordera4.so): Likewise.
36652 (LDFLAGS-tst-initorderb2.so): Likewise.
36653 (LDFLAGS-noload): Likewise.
36654 (LDFLAGS-next): Likewise.
36655 (LDFLAGS-order2mod1.so): Likewise.
36656 (LDFLAGS-order2mod2.so): Likewise.
36657 (LDFLAGS-tst-initorder2): Likewise.
36658 (LDFLAGS-tst-initorder2a.so): Likewise.
36659 (LDFLAGS-tst-initorder2b.so): Likewise.
36660 (LDFLAGS-tst-initorder2c.so): Likewise.
36661 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36662
d77f993f
DM
366632012-05-02 David S. Miller <davem@davemloft.net>
36664
36665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36666
171a70b4
PP
366672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36668
36669 [BZ #14055]
36670 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36671
0be196ad
AJ
366722012-05-02 Andreas Jaeger <aj@suse.de>
36673
36674 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36675 since we manipulate rounding mode.
36676 (CPPFLAGS-test-idouble.c): Likewise.
36677 (CPPFLAGS-test-ifloat.c): Likewise.
36678 (CFLAGS-test-ldouble.c): Likewise.
36679 (CFLAGS-test-double.c): Likewise.
36680 (CFLAGS-test-float.c): Likewise.
36681 (CFLAGS-test-misc.c): Likewise.
36682 (CFLAGS-test-test-fenv.c): Likewise.
36683
4f9d04aa
AZ
366842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36685
2b942cb7
RM
36686 [BZ #2550]
36687 [BZ #2570]
36688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36689 comparisons to determine direction to adjust input.
4f9d04aa 36690
82a79e7d
RM
366912012-05-01 Roland McGrath <roland@hack.frob.com>
36692
f5a01ca9
RM
36693 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36694 output to the target.
36695
90fe4186
RM
36696 * scripts/localplt.awk: New file.
36697 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36698 (check-localplt-CFLAGS): Variable removed.
36699 ($(all-built-dso:=.jmprel)): New static pattern rule.
36700 (generated): Add those targets.
36701 (localplt-built-dso): New variable.
36702 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36703
36704 * elf/check-localplt.c: File removed.
36705
82397ed6
RM
36706 * scripts/check-execstack.awk: New file.
36707 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36708 (check-execstack-CFLAGS): Variable removed.
36709 ($(objpfx)check-execstack.h): Target removed.
36710 ($(objpfx)execstack-default): New target.
36711 (generated): Add that instead of check-execstack.h.
36712 ($(all-built-dso:=.phdr)): New static pattern rule.
36713 (generated): Add those targets.
36714 * elf/check-execstack.c: File removed.
36715
82a79e7d
RM
36716 * scripts/check-textrel.awk: New file.
36717 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36718 (check-textrel-CFLAGS): Variable removed.
36719 (all-built-dso): Use := to define.o
36720 ($(all-built-dso:=.dyn)): New static pattern rule.
36721 (generated): Add those targets.
36722 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36723 * config.make.in (READELF): New substituted variable.
36724 * elf/check-textrel.c: File removed.
36725
62fde54f 367262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36727
615605c9
JM
36728 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36729 allow.
36730 * conform/data/ctype.h-data [C99-based standards] (isblank):
36731 Expect function.
36732 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36733 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36735 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36736 Specify type. Require positive value.
36737 (EILSEQ): Likewise.
36738 (ERANGE): Likewise.
36739 [ISO || POSIX] (EILSEQ): Do not expect.
36740 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36741 Specify type. Require positive value.
36742 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36780 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36781 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36782 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36783 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36784 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36785 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36786 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36787 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36788 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36789 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36790 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36791 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36792 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36793 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36794 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36795 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36796 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36797 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36798 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36799 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36800 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36801 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36802 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36803 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36804 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36805 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36806 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36807 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36808 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36809 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36810 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36811 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36812 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36813 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36814 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36815 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36816 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36817 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36818 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36819 Require >= 2.
36820 (FLT_ROUNDS): Expect as macro, not constant.
36821 (FLT_MANT_DIG): Use macro-int-constant.
36822 (DBL_MANT_DIG): Likewise.
36823 (LDBL_MANT_DIG): Likewise.
36824 (FLT_DIG): Likewise.
36825 (DBL_DIG): Likewise.
36826 (LDBL_DIG): Likewise.
36827 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36828 (DBL_MIN_EXP): Likewise.
36829 (LDBL_MIN_EXP): Likewise.
36830 (FLT_MAX_EXP): Use macro-int-constant.
36831 (DBL_MAX_EXP): Likewise.
36832 (LDBL_MAX_EXP): Likewise.
36833 (FLT_MAX_10_EXP): Likewise.
36834 (DBL_MAX_10_EXP): Likewise.
36835 (LDBL_MAX_10_EXP): Likewise.
36836 (FLT_MAX): Use macro-constant.
36837 (DBL_MAX): Likewise.
36838 (LDBL_MAX): Likewise.
36839 (FLT_EPSILON): Use macro-constant. Give upper bound.
36840 (DBL_EPSILON): Likewise.
36841 (LDBL_EPSILON): Likewise.
36842 (FLT_MIN): Likewise.
36843 (DBL_MIN): Likewise.
36844 (LDBL_MIN): Likewise.
36845 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36846 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36847 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36848 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36849 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36850 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36851 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36852 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36853 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36854 [ISO11] (FLT_TRUE_MIN): Likewise.
36855 [ISO11] (LDBL_TRUE_MIN): Likewise.
36856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36857 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36858 (SCHAR_MIN): Use macro-int-constant. Specify type.
36859 (SCHAR_MAX): Likewise.
36860 (UCHAR_MAX): Likewise.
36861 (CHAR_MIN): Likewise.
36862 (CHAR_MAX): Likewise.
36863 (MB_LEN_MAX): Use macro-int-constant.
36864 (SHRT_MIN): Use macro-int-constant. Specify type.
36865 (SHRT_MAX): Likewise.
36866 (USHRT_MAX): Likewise.
36867 (INT_MAX): Likewise.
36868 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36869 bound negative.
36870 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36871 bound with "U".
36872 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36873 bound with "L".
36874 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36875 bound negative. Suffix upper bound with "L".
36876 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36877 bound with "UL".
36878 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36879 Specify type.
36880 [C99-based standards] (LLONG_MAX): Likewise.
36881 [C99-based standards] (ULLONG_MAX): Likewise.
36882 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36883 == 0.
36884 [ISO11] (max_align_t): Require type.
36885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36886
c9140a62
JM
36887 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36888 from $CFLAGS, without defining away __attribute__ calls.
36889 (checknamespace): Use $CFLAGS_namespace.
36890
9af0bf29
JM
36891 * conform/conformtest.pl (@keywords): Only include C99 keywords
36892 for standards based on C99 or C11.
36893
343222a2
JM
36894 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36895 Disable tests.
36896 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36897 UNIX98]: Likewise.
36898
661f8cf0
JM
36899 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36900 usability of symbols in #if.
36901
ee74b9cb
JM
36902 * conform/conformtest.pl: If macro or constant types start
36903 "promoted:", expect the symbol to be of the following type
36904 promoted by the integer promotions.
62fde54f 36905
aafc49b3
JM
36906 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36907 in one place. Also handle "macro-constant".
36908
fefdf574
JM
36909 * conform/conformtest.pl: Only accept expected macro values with
36910 "==". Parse all "macro" lines in one place.
36911 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36912
f2d922fe
JM
36913 * conform/conformtest.pl: Handle braced types on "constant" lines
36914 instead of handling "typed-constant".
36915 * conform/data/signal.h-data: Use "constant" instead of
36916 "typed-constant".
36917
d22956c9
JM
36918 * conform/conformtest.pl: Handle "optional-" at start of lines in
36919 one place rather than duplicating several cases. Handle each
36920 format of "macro" line with initial "optional-".
36921
028e2e38
JM
36922 * conform/conformtest.pl: Only accept expected constant or
36923 optional-constant values with "==". Parse all "constant" lines in
36924 one place. Parse all "optional-constant" lines in one place.
36925 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36926 * conform/data/fmtmsg.h-data: Likewise.
36927 * conform/data/netinet/in.h-data: Likewise.
36928 * conform/data/tar.h-data: Likewise.
36929 * conform/data/limits.h-data: Use "==" form on "constant" and
36930 "optional-constant" lines.
36931
1b8f2850
JM
36932 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36933 Use -std=c99 for XOPEN2K.
36934 (@knownproblems): Remove.
36935 (newtoken): Don't check %isknown.
36936
a05a144b
JM
36937 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36938 Do not expect macro.
36939 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36944 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36945 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36946 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36947 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36948 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36951 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36952 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36953 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36954 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36955 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36958 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36959 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36969 [XPG3] (acosh): Likewise.
36970 [XPG3] (asinh): Likewise.
36971 [XPG3] (atanh): Likewise.
36972 [XPG3] (cbrt): Likewise.
36973 [XPG3] (expm1): Likewise.
36974 [XPG3] (ilogb): Likewise.
36975 [XPG3] (log1p): Likewise.
36976 [XPG3] (logb): Likewise.
36977 [XPG3] (nextafter): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36980 [XPG3] (remainder): Likewise.
36981 [XPG3] (rint): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36989 [UNIX98 || XOPEN2K] (scalb): Expect.
36990 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36991 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37127
73c5ebe3
JM
37128 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37129 _XOPEN_SOURCE_EXTENDED for XPG4.
37130
39c33b6c
JM
37131 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37132
62fde54f
JM
37133 * Makeconfig (localtime): Remove variable.
37134 (inst_localtime-file): Likewise.
37135
0741d64c
AS
371362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37137
37138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37139 Update.
37140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37141 Update.
37142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37143 Update.
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37145 Update.
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37147 Update.
37148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37149 Update.
37150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37151 Update.
37152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37153 Update.
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37155 Update.
37156
7cb029ee
JM
371572012-05-01 Joseph Myers <joseph@codesourcery.com>
37158
37159 [BZ #2550]
37160 [BZ #2570]
37161 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37162 comparisons to determine direction to adjust input.
37163 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37164 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37166 Likewise.
37167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37168 Likewise.
37169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37170 Likewise.
37171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37173 Likewise.
37174 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37175 Likewise.
37176 * math/libm-test.inc (nexttoward_test): Add more tests.
37177
412bd966
AS
371782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37179
37180 [BZ #14040]
37181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37182 in version GLIBC_2.1, not GLIBC_2.0.
37183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37184 Likewise.
37185
9568c0c2
JM
371862012-04-30 Joseph Myers <joseph@codesourcery.com>
37187
adfbc8ac
JM
37188 [BZ #13942]
37189 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37190 (1 - x) * (1 + x).
37191 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37192 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37193 * math/libm-test.inc (acos_test): Add more tests.
37194 (asin_test): Likewise.
37195 * sysdeps/i386/fpu/libm-test-ulps: Update.
37196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37197
5ba3cc69
JM
37198 [BZ #14034]
37199 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37200 of square root.
37201 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37202 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37203 * math/libm-test.inc (acos_test_tonearest): New function.
37204 (acos_test_towardzero): Likewise.
37205 (acos_test_downward): Likewise.
37206 (acos_test_upward): Likewise.
37207 (asin_test_tonearest): Likewise.
37208 (asin_test_towardzero): Likewise.
37209 (asin_test_downward): Likewise.
37210 (asin_test_upward): Likewise.
37211 (main): Call the new functions.
37212 * sysdeps/i386/fpu/libm-test-ulps: Update.
37213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37214
9568c0c2
JM
37215 [BZ #13884]
37216 [BZ #13924]
37217 * math/e_exp10.c: Include <float.h>.
37218 (__ieee754_exp10): Handle underflow here rather than multiplying
37219 large negative argument by M_LN10.
37220 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37221 of __ieee754_expf.
37222 * math/e_exp10l.c: Include <float.h>.
37223 (__ieee754_exp10l): Handle underflow here rather than multiplying
37224 large negative argument by M_LN10l.
37225 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37226 spurious overflow exception on underflow.
37227
5ac3ea17
MP
372282012-04-29 Marek Polacek <polacek@redhat.com>
37229
37230 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37231 (__fortify_function): New macro.
37232 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37233 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37234 __extern_always_inline.
37235 * libio/bits/stdio2.h: Likewise.
37236 * libio/bits/stdio.h: Likewise.
37237 * string/string.h: Likewise.
37238 * string/bits/string3.h: Likewise.
37239 * include/stdio.h: Likewise.
37240 * stdlib/bits/stdlib.h: Likewise.
37241 * stdlib/stdlib.h: Likewise.
37242 * rt/bits/mqueue2.h: Likewise.
37243 * rt/mqueue.h: Likewise.
37244 * posix/bits/unistd.h: Likewise.
37245 * posix/unistd.h: Likewise.
37246 * io/bits/poll2.h: Likewise.
37247 * io/bits/fcntl2.h: Likewise.
37248 * io/fcntl.h: Likewise.
37249 * io/sys/poll.h: Likewise.
37250 * misc/bits/syslog.h: Likewise.
37251 * misc/bits/syslog-ldbl.h: Likewise.
37252 * misc/sys/syslog.h: Likewise.
37253 * socket/bits/socket2.h: Likewise.
37254 * socket/sys/socket.h: Likewise.
37255 * debug/tst-chk1.c: Likewise.
37256 * wcsmbs/bits/wchar2.h: Likewise.
37257 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37258 * wcsmbs/wchar.h: Likewise.
37259
ecf0ebfb
AJ
372602012-04-29 Andreas Jaeger <aj@suse.de>
37261
37262 * Makerules (tests): Remove enable-check-abi protection.
37263 (check-abi-warn): Remove.
37264 (check-abi-%): Remove check-abi-warn usage.
37265
37266 * configure.in: Remove check-abi configure option.
37267 * configure: Regenerated.
37268 * config.make.in (enable-check-abi): Remove.
37269
6d5c57fa
AS
372702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37271
24c5d07e 37272 [BZ #14033]
ded5180a
AS
37273 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37274 double functions to double *_finite functions.
37275
7e0d315d
AS
37276 [BZ #13941]
37277 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37278 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37279 LDBL_MIN_EXP.
37280 * stdio-common/Makefile (tests): Add tst-sprintf3.
37281 * stdio-common/tst-sprintf3.c: New file.
37282
6d5c57fa
AS
37283 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37284 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37285
0749ff8b
JM
372862012-04-28 Joseph Myers <joseph@codesourcery.com>
37287
37288 * conform/conformtest.pl: Remove duplicate typed-constant
37289 handling.
37290
8dbd5d7b
DM
372912012-04-28 David S. Miller <davem@davemloft.net>
37292
37293 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37294 (check-abi-%): Remove AWK script prerequisite and explicit
37295 abilist directory.
37296 (check-abi): Rewrite to just diff the symlist with the abilist.
37297 (config-tls, config-abi-config): Delete, no longer used.
37298 (update-abi-%): Remove AWK script and explicit abilist directory.
37299 (update-abi): Rewrite to simply compare and conditionally copy the
37300 symlist and the sysdep abilist file. Remove update-abi-config
37301 checks.
37302 * abilist/ld.abilist: Remove.
37303 * abilist/libBrokenLocale.abilist: Remove.
37304 * abilist/libanl.abilist: Remove.
37305 * abilist/libcrypt.abilist: Remove.
37306 * abilist/libdl.abilist: Remove.
37307 * abilist/librt.abilist: Remove.
37308 * abilist/libthread_db.abilist: Remove.
37309 * abilist/libutil.abilist: Remove.
37310 * scripts/extract-abilist.awk: Remove.
37311 * scripts/merge-abilist.awk: Remove.
37312 * sysdeps/generic/libcidn.abilist: New file.
37313 * sysdeps/generic/libnss_compat.abilist: New file.
37314 * sysdeps/generic/libnss_db.abilist: New file.
37315 * sysdeps/generic/libnss_dns.abilist: New file.
37316 * sysdeps/generic/libnss_files.abilist: New file.
37317 * sysdeps/generic/libnss_hesiod.abilist: New file.
37318 * sysdeps/generic/libnss_nis.abilist: New file.
37319 * sysdeps/generic/libnss_nisplus.abilist: New file.
37320 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37321 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37322 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37323 file.
37324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37325 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37326 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37327 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37328 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37329 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37330 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37331 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37332 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37333 file.
37334 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37335 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37336 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37337 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37338 file.
37339 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37340 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37341 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37342 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37343 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37344 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37345 file.
37346 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37347 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37348 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37349 file.
37350 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37352 New file.
37353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37354 New file.
37355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37356 New file.
37357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37358 New file.
37359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37360 New file.
37361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37362 New file.
37363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37364 New file.
37365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37366 New file.
37367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37368 New file.
37369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37370 New file.
37371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37372 New file.
37373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37374 New file.
37375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37376 New file.
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37378 file.
37379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37380 New file.
37381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37382 New file.
37383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37384 file.
37385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37386 New file.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37388 New file.
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37390 file.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37392 New file.
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37394 New file.
37395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37396 New file.
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37398 New file.
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37400 New file.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37402 New file.
37403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37405 file.
37406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37407 New file.
37408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37409 file.
37410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37411 file.
37412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37413 file.
37414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37415 file.
37416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37417 file.
37418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37419 New file.
37420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37421 file.
37422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37423 file.
37424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37425 New file.
37426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37427 file.
37428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37430 file.
37431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37432 New file.
37433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37434 file.
37435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37436 file.
37437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37438 file.
37439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37440 file.
37441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37442 file.
37443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37444 New file.
37445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37446 file.
37447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37448 file.
37449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37450 New file.
37451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37452 file.
37453 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37454 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37455 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37456 file.
37457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37458 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37459 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37460 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37461 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37462 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37463 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37464 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37465 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37466 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37469 file.
37470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37471 New file.
37472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37473 file.
37474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37475 file.
37476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37477 file.
37478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37479 file.
37480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37481 file.
37482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37483 New file.
37484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37485 New file.
37486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37487 file.
37488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37489 New file.
37490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37491 file.
37492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37494 file.
37495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37496 New file.
37497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37498 file.
37499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37500 file.
37501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37502 file.
37503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37504 file.
37505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37506 file.
37507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37508 New file.
37509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37510 New file.
37511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37512 file.
37513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37514 New file.
37515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37516 file.
37517
41d73a1b
JM
375182012-04-28 Joseph Myers <joseph@codesourcery.com>
37519
37520 * conform/conformtest.pl: Fix typo in handling typed-constant from
37521 allow-header.
37522
28aeeda4
JM
375232012-04-27 Joseph Myers <joseph@codesourcery.com>
37524
adae8f5e
JM
37525 * README: Cut down references to pre-2.6 Linux kernels and
37526 Linuxthreads. Update lists of configurations in libc and ports
37527 and sort alphabetically. Say "or newer" with Linux kernel version
37528 requirements.
37529
28aeeda4
JM
37530 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37531
a462cb63
RA
375322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37533
37534 [BZ #887]
37535 * math/libm-test.inc (logb_test_downward): New test to expose
37536 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37537 rounding mode.
37538
6ad3493e
JM
375392012-04-27 Joseph Myers <joseph@codesourcery.com>
37540
37541 [BZ #14027]
37542 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37543 to be done.
37544 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37545 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37546
2ce4f015
JM
375472012-04-26 Joseph Myers <joseph@codesourcery.com>
37548
5aeb141a
JM
37549 * sysdeps/unix/i386/brk.S: Remove file.
37550 * sysdeps/unix/i386/dl-brk.S: Likewise.
37551 * sysdeps/unix/i386/pipe.S: Likewise.
37552 * sysdeps/unix/i386/sigreturn.S: Likewise.
37553 * sysdeps/unix/i386/syscall.S: Likewise.
37554 * sysdeps/unix/i386/vfork.S: Likewise.
37555 * sysdeps/unix/i386/wait.S: Likewise.
37556
7143acae
JM
37557 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37558 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37559
2ce4f015
JM
37560 * configure.in (arm*-none*): Do not allow without
37561 --enable-hacker-mode.
37562 (netbsd*): Remove case setting base_os.
37563 (386bsd*): Likewise.
37564 (freebsd*): Likewise.
37565 (bsdi*): Likewise.
37566 (osf*): Likewise.
37567 (sunos*): Likewise.
37568 (ultrix*): Likewise.
37569 (newsos*): Likewise.
37570 (dynix*): Likewise.
37571 (*bsd*): Likewise.
37572 (sysv*): Likewise.
37573 (isc*): Likewise.
37574 (esix*): Likewise.
37575 (sco*): Likewise.
37576 (minix*): Likewise.
37577 (irix4*): Likewise.
37578 (irix6*): Likewise.
37579 (solaris[2-9]*): Likewise.
37580 (none): Likewise.
37581 * configure: Regenerated.
37582
0ac229c8
AZ
375832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37584
37585 [BZ #11521]
37586 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37587 overflow or cancellation in calculating denominator.
37588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37590 down expression to avoid unexpected rounding in newer GCCs.
37591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37592
33f244f4
DM
375932012-04-26 David S. Miller <davem@davemloft.net>
37594
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37596 long-double compat symbols.
37597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37610
cfa1f3e8
DM
376112012-04-25 David S. Miller <davem@davemloft.net>
37612
37613 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37614 HWCAP_* values only after the memory barriers have been defined.
37615 (atomic_full_barrier): Define.
37616 (atomic_read_barrier): Define.
37617 (atomic_write_barrier): Define.
37618
6e236b92
SP
376192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37620
37621 * shlib-versions: Add libgcc_s version information.
37622 * sysdeps/generic/libgcc_s.h: Remove.
37623 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37624 libgcc_s.h.
37625 * sysdeps/gnu/unwind-resume.c: Likewise.
37626 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37627
aab39a09
DM
376282012-04-25 David S. Miller <davem@davemloft.net>
37629
37630 * sysdeps/unix/sparc/brk.S: Delete.
37631 * sysdeps/unix/sparc/dl-brk.S: Delete.
37632 * sysdeps/unix/sparc/pipe.S: Delete.
37633 * sysdeps/unix/sparc/sysdep.S: Delete.
37634 * sysdeps/unix/sparc/sysdep.h: Delete.
37635 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37636 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37637 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37638 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37639 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37640 (JUMPTARGET): Remove.
37641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37642 sysdeps/unix/sparc/sysdep.h
37643 (ENTRY, END): Remove.
37644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37645
a3cc4f48
JM
376462012-04-25 Joseph Myers <joseph@codesourcery.com>
37647
2ed8cda2
JM
37648 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37649 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37650 -DIS_IN_build.
37651
35d76d59
JM
37652 * timezone/README: Update upstream location and email address for
37653 tzcode and tzdata.
37654 * timezone/zdump.c: Update from tzcode 2012b.
37655 * timezone/zic.c: Likewise.
37656
a3cc4f48
JM
37657 * configure.in (libc_cv_as_needed): Remove test.
37658 * configure: Regenerated.
37659 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37660 conditional definition.
37661 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37662 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37663 * config.make.in (have-as-needed): Remove variable.
37664
ceab42c3
SP
376652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37666 Paul Pluzhnikov <ppluzhnikov@google.com>
37667
37668 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37669 strings correctly.
37670
3ce2865f
CLT
376712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37672
37673 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37674 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37675 * sysdeps/sh/strlen.S: Likewise.
37676
f37e0d68
JM
376772012-04-24 Joseph Myers <joseph@codesourcery.com>
37678
ae186e9a
JM
37679 * sysdeps/unix/fork.S: Remove file.
37680 * sysdeps/unix/i386/fork.S: Likewise.
37681 * sysdeps/unix/sparc/fork.S: Likewise.
37682
b96914af
JM
37683 * sysdeps/unix/system.c: Remove file.
37684 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37685
f37e0d68
JM
37686 * sysdeps/unix/getegid.S: Remove file.
37687 * sysdeps/unix/geteuid.S: Likewise.
37688
87ef29ca
RM
376892012-04-24 Roland McGrath <roland@hack.frob.com>
37690
83bcd236
RM
37691 * scripts/check-localplt.awk: New file.
37692 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37693 of diff.
37694 * scripts/data/localplt-generic.data: Add a comment.
37695
87ef29ca
RM
37696 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37697 NODE when __dir_mkfile failed.
37698 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37699 Reported by Ludovic Courtès <ludo@gnu.org>.
37700
e5a6e567
AJ
377012012-04-24 Andreas Jaeger <aj@suse.de>
37702
37703 * Makerules (common-clean): Also remove gen-as-const-headers
37704 files.
37705
c1820385
JM
377062012-04-24 Joseph Myers <joseph@codesourcery.com>
37707
37708 * Makerules (native-compile): Do not change working directory for
37709 build. Use $(OUTPUT_OPTION) in command.
37710 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37711
94e02fc4
AZ
377122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37713
37714 [BZ #13886]
37715 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37716 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37717 * math/libm-test.inc (floor_test): Add more tests.
37718 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37719
3a533ca3
JM
377202012-04-24 Joseph Myers <joseph@codesourcery.com>
37721
940ab4b3
JM
37722 * sysdeps/unix/getdents.c: Remove file.
37723 * sysdeps/unix/sysv/getdents.c: Likewise.
37724 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37725
90e037bd
JM
37726 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37727 sysdeps/unix/mman/syscalls.list.
37728 (mmap): Likewise.
37729 (mprotect): Likewise.
37730 (msync): Likewise.
37731 (munmap): Likewise.
37732 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37733 * sysdeps/unix/mman/syscalls.list: Remove.
37734 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37735
3a533ca3
JM
37736 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37737 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37738 * configure: Regenerated.
37739 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37740 $(libgcc_s_suffix).
37741 * config.make.in (libgcc_s_suffix): Remove variable.
37742
1ad743de
JM
377432012-04-23 Joseph Myers <joseph@codesourcery.com>
37744
4ad451e2
JM
37745 * sysdeps/unix/sysv/gethostname.c: Move to ...
37746 * sysdeps/posix/gethostname.c: ... here.
37747
5e37ce39
JM
37748 * sysdeps/unix/execve.S: Remove file.
37749
1ad743de
JM
37750 * sysdeps/unix/_exit.S: Remove file.
37751
4e681b5b
AJ
377522012-04-23 Andreas Jaeger <aj@suse.de>
37753
37754 [BZ #13739]
37755 * manual/Makefile: Remove make dist support, there's no
37756 need for a stand-alone documentation tar ball.
37757 (TEXI2DVI): Define always, it's not in Makeconfig.
37758 (dist): Removed.
37759 (tar-it): Removed.
37760 (edition): Removed.
37761 (glibc-doc-$(edition).tar): Removed
37762 (%.Z): Removed.
37763 (%.gz): Removed.
37764 (%.uu): Removed.
37765 (ETAGS): Remove, it's in Makeconfig.
37766 (move-if-change): Remove, it's in Makeconfig.
37767
38686a03 377682012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37769
37770 [BZ #13970]
37771 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37772 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37773 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37774 (strtod_l, strtof_l, strtold_l): Remove __wur.
37775 It is not necessarily an error to ignore strtol's return value.
37776 One can reliably look at the stored endptr to decide whether
37777 the number had valid syntax.
37778
7c0616fa
AJ
377792012-04-21 Andreas Jaeger <aj@suse.de>
37780
803cb6b7 37781 [BZ #13739]
7c0616fa
AJ
37782 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37783
b0fe253f
JM
377842012-04-21 Joseph Myers <joseph@codesourcery.com>
37785
37786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37787 * sysdeps/unix/sysv/Versions: Remove file.
37788
8280f22d
MT
377892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37790
37791 [BZ #13927]
37792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37793
75ce411f 377942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37795
37796 [BZ #7064]
37797 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37798 version from __vm86.
37799
097d59fa
JM
378002012-04-20 Joseph Myers <joseph@codesourcery.com>
37801
a90f3bcb
JM
37802 * sysdeps/unix/common/lxstat.c: Remove file.
37803 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37804
edc7ea78
JM
37805 * sysdeps/unix/sysv/Makefile: Remove file.
37806
cb78c221
JM
37807 * sysdeps/unix/sysv/direct.h: Remove file.
37808
efa6a45f
JM
37809 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37810 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37811 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37812 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37813 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37814 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37815 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37816
9c9f2d0c
JM
37817 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37818
4541c83b
JM
37819 * sysdeps/unix/xmknod.c: Remove file.
37820 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37821
f5d153a0
JM
37822 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37823
aa746595
JM
37824 * sysdeps/unix/sysv/i386/time.S: Remove file.
37825
cce5905e
JM
37826 * sysdeps/unix/fxstat.c: Remove file.
37827 * sysdeps/unix/xstat.c: Likewise.
37828 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37829
37fa3841
JM
37830 * sysdeps/unix/sysv/sigaction.c: Remove file.
37831
ff1962a3
JM
37832 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37833 (sysdep_headers): Remove variable.
37834 [termio.h not in sysdep_headers] (generated): Likewise.
37835 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37836 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37837 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37838 * sysdeps/unix/sysv/tcflow.c: Likewise.
37839 * sysdeps/unix/sysv/tcflush.c: Likewise.
37840 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37841 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37842 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37843 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37844 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37845
e7740d31
JM
37846 * sysdeps/unix/siglist.c: Remove file.
37847
ee06f18b
JM
37848 * sysdeps/unix/getppid.S: Remove file.
37849
097d59fa
JM
37850 * sysdeps/unix/mkdir.c: Remove file.
37851 * sysdeps/unix/rmdir.c: Likewise.
37852
ff3d51ec
AS
378532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37854
37855 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37856 ERR_MAX value.
37857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37858 errlist-compat value.
37859
50f81fd7
DM
378602012-04-18 David S. Miller <davem@davemloft.net>
37861
37862 * sysdeps/generic/memcopy.h (reg_char): Delete.
37863 * debug/strcat_chk.c: Use char, not reg_char.
37864 * debug/strcpy_chk.c: Likewise.
37865 * debug/strncat_chk.c: Likewise.
37866 * debug/strncpy_chk.c: Likewise.
37867 * string/memchr.c: Likewise.
37868 * string/memrchr.c: Likewise.
37869 * string/rawmemchr.c: Likewise.
37870 * string/strcat.c: Likewise.
37871 * string/strchr.c: Likewise.
37872 * string/strchrnul.c: Likewise.
37873 * string/strcmp.c: Likewise.
37874 * string/strcpy.c: Likewise.
37875 * string/strncat.c: Likewise.
37876 * string/strncmp.c: Likewise.
37877 * string/strncpy.c: Likewise.
37878
8ff41c46
WS
378792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37880
37881 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37882 __builtin_memcopy is called when src and dest ranges are known to not
37883 overlap.
37884
6b652f46
WS
378852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37886
37887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37888 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37889 fwd_align_merge macro call.
37890 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37891 bwd_align_merge macro call.
37892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37893
b282631e
WS
378942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37895
37896 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37897 bwd_align_merge macros.
37898 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37899 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37900 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37901
95aa737c
DM
379022012-04-18 David S. Miller <davem@davemloft.net>
37903
37904 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37905
7a99a614
AJ
379062012-04-18 Andreas Jaeger <aj@suse.de>
37907
37908 [BZ# 6794]
37909 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37910 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37911 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37912
37913 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37914 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37915 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37916
37917 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37918 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37919 Adjust for changed ldbl-128 files.
37920
37921 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37922 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37923 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37924
e5270c23
DM
379252012-04-17 David S. Miller <davem@davemloft.net>
37926
37927 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37928
fb5e92c9
AS
379292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37930
37931 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37932 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37933 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37934 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37935 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37936 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37937
76da7265
AZ
379382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37939
37940 [BZ #6794]
37941 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37942 * math/libm-test.inc: Add ilogb errno and exception tests.
37943 * math/w_ilogb.c: New file: ilogb wrapper.
37944 * math/w_ilogbf.c: New file: ilogbf wrapper.
37945 * math/w_ilogbl.c: New file: ilogbl wrapper.
37946 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37947 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37948 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37949 exception being thrown with 0.0 as argument.
37950 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37951 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37952 exception being thrown with 0.0 as argument.
37953 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37954 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37955 exception being thrown with 0.0 as argument.
37956 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37957 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37958 exception being thrown with 0.0 as argument.
37959 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37960 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37962 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37963 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37964 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37965 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37966 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37967 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37968
0396e69d
PB
379692012-04-17 Petr Baudis <pasky@ucw.cz>
37970
37971 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37972 with altivec.
37973
750b5926
MP
379742012-04-16 Marek Polacek <polacek@redhat.com>
37975
37976 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37977
751728a1
MP
379782012-04-16 Marek Polacek <polacek@redhat.com>
37979
37980 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37981 operands of fdivp instruction.
37982
34a27407
L
379832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37986 * elf/tst-auditmod3b.c: Likewise.
37987 * elf/tst-auditmod4b.c: Likewise.
37988 * elf/tst-auditmod5b.c: Likewise.
37989 * elf/tst-auditmod6b.c: Likewise.
37990 * elf/tst-auditmod6c.c: Likewise.
37991 * elf/tst-auditmod7b.c: Likewise.
37992 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37993 * sysdeps/x86_64/preconfigure.in: Likewise.
37994 * sysdeps/x86_64/preconfigure: Regenerated.
37995
7e73e17d
L
379962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37999 __ILP32__.
38000
c7a6ab72
AB
380012012-04-13 Antoine Balestrat <merkil33@gmail.com>
38002
38003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38004 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38005
a9e8e0e0
CL
380062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38007
38008 [BZ #13973]
38009 * locale/iso-639.def: Fix gl language name. Spotted by
38010 Yaron Shahrabani.
38011
ec98af7d
RM
380122012-04-12 Roland McGrath <roland@hack.frob.com>
38013
38014 [BZ #2074]
38015 * libio/libio.h (__io_write_fn): Update comment.
38016
247c3ede
PB
380172012-04-12 Petr Baudis <pasky@ucw.cz>
38018
38019 [BZ #2074]
38020 * stdio.texi (Hook Functions): The user provided writer function
38021 is not allowed to return -1.
38022
55939d6d
DM
380232012-04-11 David S. Miller <davem@davemloft.net>
38024
38025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38026
90020f5a
MF
380272012-04-11 Mike Frysinger <vapier@gentoo.org>
38028
38029 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38030 Add a leading slash to rtkaio.
38031
288f9098
JM
380322012-04-11 Jim Meyering <meyering@redhat.com>
38033
90020f5a
MF
38034 [BZ #11959]
38035 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38036 It is not necessarily an error to ignore fwrite's return
38037 value. One can reliably use ferror to test for errors after
38038 the fact.
288f9098 38039
4be2b570
L
380402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38041
38042 * bits/types.h (__snseconds_t): New type.
38043 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38044
38045 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38047 (__SNSECONDS_T_TYPE): Likewise.
38048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38049 (__SNSECONDS_T_TYPE): Likewise.
38050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38051 (__SNSECONDS_T_TYPE): Likewise.
38052
288f9098 380532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38054
38055 [BZ #2636]
38056 * manual/time.texi (Processor Time): Return type of times is
38057 elapsed real time since an arbitrary point in the past.
38058 (CPU Time): Move CLK_TCK from here...
38059 (Processor Time): ...to here. Correct description.
38060 * manual/conf.texi (Constants for Sysconf): Correct description of
38061 _SC_CLK_TCK.
38062
d7dd4413
DM
380632012-04-10 David S. Miller <davem@davemloft.net>
38064
38065 [BZ #13967]
38066 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38067 where the is a gap between DT_REL(A) and DT_JMPREL.
38068
b46068fc
L
380692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38070
38071 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38072 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38073 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38074
73d65cc3
SP
380752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38076
38077 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38078 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38079 (dl_main): Handle --inhibit-cache.
38080 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38081 _dl_inhibit_cache.
38082 * elf/dl-load.c (_dl_map_object): Use it.
38083 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38084
bcc8d661
JM
380852012-04-09 Joseph Myers <joseph@codesourcery.com>
38086
8f9a2fae
JM
38087 [BZ #13872]
38088 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38089 (__ieee754_powl): Saturate large exponents rather than testing for
38090 overflow of y*log2(x).
38091 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38092 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38093 exceptions.
38094
bcc8d661
JM
38095 [BZ #11521]
38096 * math/s_ctan.c: Include <float.h>.
38097 (__ctan): Avoid internal overflow or cancellation in calculating
38098 denominator.
38099 * math/s_ctanf.c: Likewise.
38100 * math/s_ctanl.c: Likewise.
38101 * math/s_ctanh.c: Likewise.
38102 * math/s_ctanhf.c: Likewise.
38103 * math/s_ctanhl.c: Likewise.
38104 * math/libm-test.inc (ctan_test): Add more tests.
38105 (ctanh_test): Likewise.
38106 * sysdeps/i386/fpu/libm-test-ulps: Update.
38107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38108
823fbbb4
AJ
381092012-04-09 Andreas Jaeger <aj@suse.de>
38110
03879793
AJ
38111 [BZ #6894]
38112 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38113 is an optional BSD extension.
38114
823fbbb4
AJ
38115 [BZ #10254]
38116 * manual/stdio.texi (Opening Streams): Document additional fopen
38117 parameters.
38118
8de131cb
RM
381192012-04-09 Roland McGrath <roland@hack.frob.com>
38120
38121 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38122 %eax without telling the compiler.
38123
c0ed9d7d
CD
381242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38125
38126 [BZ # 13963]
38127 * manual/install.texi: Use sourceware.org.
38128
c483f6b4
JM
381292012-04-09 Joseph Myers <joseph@codesourcery.com>
38130
d7dd9453
JM
38131 [BZ #13873]
38132 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38133 (__ieee754_pow): Generate overflow and underflow using huge*huge
38134 and tiny*tiny rather than just returning constant infinity or zero
38135 for large exponents.
38136 * math/libm-test.inc (pow_test): Require overflow exceptions for
38137 applicable cases of large exponents.
38138
c483f6b4
JM
38139 [BZ #706]
38140 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38141 (__ieee754_pow): Use iterative multiplication algorithm only for
38142 integer exponents with absolute value below 1024. Check for odd
38143 integer exponents when using algorithm for real exponents.
38144 * math/libm-test.inc (pow_test): Add more tests.
38145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38146
d2de7579
JM
381472012-04-08 Joseph Myers <joseph@codesourcery.com>
38148
38149 [BZ #13705]
38150 * math/libm-test.inc (exp_test): Do not allow overflow exception
38151 on underflow test.
38152
f77f1232
AJ
381532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38154
38155 [BZ #13705]
38156 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38157 instead of __kernel_standard_f.
38158
3884932b
MF
381592012-04-08 Mike Frysinger <vapier@gentoo.org>
38160
38161 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38162 * sysdeps/x86_64/memset_chk.S: Likewise.
38163
54472e9c
AJ
381642012-04-08 Andreas Jaeger <aj@suse.de>
38165
6ab0fbfc
AJ
38166 [BZ #10153]
38167 * manual/startup.texi (Environment Access): Describe return value
38168 for putenv and setenv.
38169
61efba8c
AJ
38170 [BZ #6895]
38171 * manual/filesys.texi (Directory Entries): Add description for
38172 DT_LNK.
38173
95c3f29a
AJ
38174 [BZ #6890]
38175 * manual/filesys.texi (Directory Entries): Clarify that it's file
38176 system not operating system in the description of DT_UNKNOWN.
38177
54472e9c
AJ
38178 [BZ #6578]
38179 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38180
624254b1
SC
381812012-04-08 Stephen Compall <s11@member.fsf.org>
38182
38183 [BZ #6649]
38184 * manual/llio.texi (Opening and Closing Files): Add cross
38185 reference to explain mode argument.
38186
1e4920e0
MF
381872012-04-07 Mike Frysinger <vapier@gentoo.org>
38188
38189 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38190 * sysdeps/x86_64/memset_chk.S: Likewise.
38191
5ed848f3
DM
381922012-04-07 David S. Miller <davem@davemloft.net>
38193
38194 * elf/elf.h (R_SPARC_WDISP10): Define.
38195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38196 R_SPARC_SIZE32.
38197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38198 R_SPARC_SIZE64 and R_SPARC_H34.
38199
96154cd8
CD
382002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38201
38202 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38203 conditions and remove no longer applicable assertion.
38204
9904dc47
L
382052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38206
38207 * bits/byteswap.h: Include <features.h>.
38208 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38209 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38210
f8887d0a
L
382112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38212
38213 * bits/byteswap.h (__bswap_16): Removed.
38214 Include <bits/byteswap-16.h> to get __bswap_16.
38215 * sysdeps/i386/bits/byteswap.h: Likewise.
38216 * sysdeps/s390/bits/byteswap.h: Likewise.
38217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38218 * bits/byteswap-16.h: New file.
38219 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38220 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38221 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38222 * string/Makefile (headers): Add bits/byteswap-16.h.
38223
62470f60
PP
382242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38225
38226 [BZ #13895]
38227 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38228 extra indirection.
38229 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38230 * nss/tst-nss-static.c: New.
38231
4dad7bab
RM
382322012-04-06 Robert Millan <rmh@gnu.org>
38233
38234 [BZ #6486]
38235 * manual/llio.texi (File Position Primitive): lseek
38236 refers to WHENCE when it really means OFFSET.
38237
e9142a17
AJ
382382012-04-06 Andreas Jaeger <aj@suse.de>
38239
2c040eff
AJ
38240 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38241 strncmp declarations.
38242
e9142a17
AJ
38243 * abilist/libc.abilist: Add __poll and __ppoll.
38244
ff9f1c5f
DM
382452012-04-05 David S. Miller <davem@davemloft.net>
38246
dcd2ae90
DM
38247 * scripts/check-local-headers.sh: Accept a host triplet in the
38248 path matched by the exclude regexp.
38249
993eb054
DM
38250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38251 definition.
38252 * sysdeps/powerpc/powerpc32/dl-machine.h
38253 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38254 * sysdeps/s390/s390-32/dl-machine.h
38255 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38256 * sysdeps/sparc/sparc32/dl-machine.h
38257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38258 * sysdeps/sparc/sparc64/dl-machine.h
38259 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38260
ff9f1c5f
DM
38261 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38262 lazy binding.
48e2e132 38263 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38264 undefined symbol errors.
38265
48e2e132 38266 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38267 DT_NEEDED entries.
38268
e80d6f94
MM
382692012-04-05 Michael Matz <matz@suse.de>
38270
38271 [BZ #13592]
38272 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38273
349fa79f
AJ
382742012-04-05 Andreas Jaeger <aj@suse.de>
38275
38276 [BZ #13908]
38277 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38278 comment.
38279
f402708f
KK
382802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38281
38282 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38283 which ROUND is no valid rounding mode.
38284
2ecccfc9
KK
382852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38286
38287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38288 read again.
38289 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38290
8a53f50f
KK
382912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38292
38293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38294 an exception using FPU order intentionally.
38295
382962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38297
38298 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38299 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38300 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38301 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38302
d653abb7
SJ
383032012-04-05 Simon Josefsson <simon@josefsson.org>
38304
38305 [BZ #12340]
38306 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38307 EINVAL when BUFLEN is too smal.
38308
c3b1bf7d
TS
383092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38310
38311 [BZ #13553]
38312 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38313 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38314
b1aa60f3
AJ
383152012-04-03 Andreas Jaeger <aj@suse.de>
38316
c3b1bf7d 38317 [BZ #13938]
67f60a26
AJ
38318 * manual/setjmp.texi (System V contexts): Fix sentence.
38319
b1aa60f3
AJ
38320 [BZ #13926]
38321 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38322 New macro for this case.
38323 [!__GNUC__] (__bswap_64): New inline function for this case.
38324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38325 * bits/byteswap.h: Likewise.
38326 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38327 ull, guard with __GLIBC_HAVE_LONG_LONG.
38328
38329 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38330 __GLIBC_HAVE_LONG_LONG.
38331
38332 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38333 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38334
39c59c35
TMQMF
383352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38336
38337 [BZ #13691]
38338 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38339 inptr and inend, rather than using last_ch.
38340
135ffda8
DM
383412012-04-02 David S. Miller <davem@davemloft.net>
38342
38343 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38344 * stdio-common/printf-parse.h (read_int): Change return type to
38345 'int', return -1 on INT_MAX overflow.
38346 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38347 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38348 overflows INT_MAX. Check for overflow of in-format-string precision
38349 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38350 SIZE_MAX not INT_MAX for integer overflow test.
38351 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38352 skip the construct in the format string but do not record anything.
38353 * stdio-common/bug22.c: Adjust to test both width/prevision
38354 INT_MAX overflow as well as total length INT_MAX overflow. Check
38355 explicitly for proper errno values.
38356
228c019e
TS
383572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38358
302cadd3
TS
38359 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38360 CHAR_MAX.
38361 * string/test-strcmp.c [! WIDE]: Likewise.
38362 * time/tst-mktime2.c: Likewise for INT_MAX.
38363 * string/test-string.h: #include <sys/param.h> for MIN.
38364
228c019e
TS
38365 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38366 * sysdeps/i386/init-first.c (init): Likewise.
38367 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38368 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38369 * sysdeps/sh/init-first.c (init): Likewise.
38370
cfa633f5
UD
383712012-04-01 Ulrich Drepper <drepper@gmail.com>
38372
38373 * po/ru.po: Update from translation team.
d1635ef8 38374 * po/vi.po: Likewise.
cfa633f5 38375
6cd0a5ea
SP
383762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38377
38378 * resolv/nss_dns/dns-host.c: Merge copyright years.
38379
4b43400f
LD
383802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38381
38382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38383 Optimize memcpy with prefetch if
38384 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38385 src, dst pointers have unequal 16 byte alignments.
38386
48c41d04
SP
383872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38388
38389 [BZ #13928]
38390 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38391 from a CNAME entry and return the minimum ttl for the query.
38392 (gaih_getanswer_slice): Likewise.
38393
b8dc394d
JL
383942012-03-30 Jeff Law <law@redhat.com>
38395
38396 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38397 due to long keys.
38398 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38399 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38400
2f5a5ed0
JL
38401 * resolv/nss_dns/dns-host.c: Update copyright year.
38402
1d39e359
UD
384032012-03-30 Ulrich Drepper <drepper@gmail.com>
38404
c030f70c 38405 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38406 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38407
1d39e359
UD
38408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38409 comments for sendmmsg.
38410
384112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38412
38413 [BZ #13691]
38414 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38415 with only 1 character between 0x0041 and 0x01b0.
38416 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38417 * wcsmbs/tst-mbsnrtowcs.c: New file.
38418
20fde227
DM
384192012-03-29 David S. Miller <davem@davemloft.net>
38420
38421 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38422 small copies by hand.
38423
984a4237
JL
384242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38425
38426 [BZ #13761]
57f41c40
AS
38427 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38428 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38429 group memberships.
984a4237 38430
18c9d62b
DM
384312012-03-28 David S. Miller <davem@davemloft.net>
38432
88d85d4f
DM
38433 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38434 that branches into memcpy.
38435 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38438 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38440 bits.
38441 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38442 implementation too.
38443 * sysdeps/sparc/mempcpy.S: New file.
38444
e5aa83e1
DM
38445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38446 the IFUNC routine in the libc case.
38447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38448
88570753
DM
38449 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38450 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38451 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38452 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38453 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38454 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38455 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38456 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38457
249d7567
DM
38458 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38459 loop to 256 bytes instead of 64 bytes and fix test signedness.
38460
18c9d62b
DM
38461 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38462 * sysdeps/sparc/sparc32/Makefile: rather than here...
38463 * sysdeps/sparc/sparc64/Makefile: and here.
38464
05f3d1f6
UD
384652012-03-28 Ulrich Drepper <drepper@gmail.com>
38466
38467 * malloc/mallocbug.c: Avoid warnings about unused variables.
38468
86ae07a8
JL
384692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38470
38471 [BZ #13760]
38472 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38473 in the right place. Discard and retry query if response is
38474 larger than input buffer size.
38475
41bf21a1
JM
384762012-03-28 Joseph Myers <joseph@codesourcery.com>
38477
d6270972
JM
38478 [BZ #369]
38479 [BZ #2678]
38480 [BZ #3866]
38481 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38482 x for large integer exponent.
38483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38484 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38485 sign of result as needed afterwards.
38486 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38488 result for underflowing pow the same as for overflow.
38489 (__kernel_standard_l): Handle powl overflow and underflow here
38490 rather than calling __kernel_standard.
38491 * math/libm-test.inc (pow_test): Add more tests.
38492
414fca03 38493 [BZ #3868]
41bf21a1
JM
38494 [BZ #13879]
38495 [BZ #13910]
38496 [BZ #13911]
38497 [BZ #13912]
38498 [BZ #13913]
38499 [BZ #13915]
38500 [BZ #13916]
38501 [BZ #13917]
38502 [BZ #13918]
38503 [BZ #13919]
38504 [BZ #13920]
38505 [BZ #13921]
38506 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38507 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38508 (__kernel_standard_l): New function.
38509 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38510 __kernel_standard.
38511 * math/w_acosl.c (__acosl): Likewise.
38512 * math/w_asinl.c (__asinl): Likewise.
38513 * math/w_atan2l.c (__atan2l): Likewise.
38514 * math/w_atanhl.c (__atanhl): Likewise.
38515 * math/w_coshl.c (__coshl): Likewise.
38516 * math/w_exp10l.c (__exp10l): Likewise.
38517 * math/w_exp2l.c (__exp2l): Likewise.
38518 * math/w_fmodl.c (__fmodl): Likewise.
38519 * math/w_hypotl.c (__hypotl): Likewise.
38520 * math/w_j0l.c (__j0l, __y0l): Likewise.
38521 * math/w_j1l.c (__j1l, __y1l): Likewise.
38522 * math/w_jnl.c (__jnl, __ynl): Likewise.
38523 * math/w_lgammal.c (__lgammal): Likewise.
38524 * math/w_log10l.c (__log10l): Likewise.
38525 * math/w_log2l.c (__log2l): Likewise.
38526 * math/w_logl.c (__logl): Likewise.
38527 * math/w_powl.c (__powl): Likewise.
38528 * math/w_remainderl.c (__remainderl): Likewise.
38529 * math/w_scalbl.c (sysv_scalbl): Likewise.
38530 * math/w_sinhl.c (__sinhl): Likewise.
38531 * math/w_sqrtl.c (__sqrtl): Likewise.
38532 * math/w_tgammal.c (__tgammal): Likewise.
38533 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38534 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38535 * math/libm-test.inc (acos_test): Add more tests.
38536 (acosh_test): Likewise.
38537 (asin_test): Likewise.
38538 (atanh_test): Likewise.
38539 (exp_test): Likewise.
38540 (exp10_test): Likewise.
38541 (exp2_test): Likewise.
38542 (expm1_test): Likewise.
38543 (lgamma_test): Likewise.
38544 (log_test): Likewise.
38545 (log10_test): Likewise.
38546 (log1p_test): Likewise.
38547 (log2_test): Likewise.
38548 (pow_test): Do not allow some spurious overflow exceptions.
38549 (sqrt_test): Add more tests.
38550 (tgamma_test): Likewise.
38551 (y0_test): Likewise.
38552 (y1_test): Likewise.
38553 (yn_test): Likewise.
38554
dd62fda6
AB
385552012-03-27 Anton Blanchard <anton@samba.org>
38556
38557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38558 MAP_HUGETLB.
38559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38560 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38562
1e3cdfda
AJ
385632012-03-27 David S. Miller <davem@davemloft.net>
38564
b855ab85
DM
38565 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38566
1e3cdfda
AJ
38567 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38568 have-as-vis3 check.
38569
385702012-03-27 Andreas Jaeger <aj@suse.de>
38571
38572 * sysdeps/x86_64/elf/configure.in: Moved to ...
38573 * sysdeps/x86_64/configure.in: ... here.
38574 * sysdeps/x86_64/elf/start.S: Moved to ...
38575 * sysdeps/x86_64/start.S: ... here.
38576 * sysdeps/x86_64/elf/configure: Delete.
38577
38578 * sysdeps/x86_64/configure.in: Merge contents from
38579 sysdeps/i386/configure.in (without i686 check).
38580
38581 * sysdeps/i386/elf/Versions: Merge into ...
38582 * sysdeps/i386/Versions: ... this.
38583 * sysdeps/i386/elf/Versions: Delete file.
38584 * sysdeps/i386/elf/start.S: Moved to ...
38585 * sysdeps/i386/start.S: ...here.
38586 * sysdeps/i386/elf/configure.in: Merge into...
38587 * sysdeps/i386/configure.in: ...here.
38588 * sysdeps/i386/elf/configure.in: Delete file.
38589 * sysdeps/i386/elf/configure: Delete file.
38590
38591 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38592 * debug/backtracesyms.c: ... here.
38593 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38594 * debug/backtracesymsfd.c: ... here.
38595 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38596 * sysdeps/generic/ifunc-sel.h: ... here.
38597
38598 * sysdeps/unix/i386/start.c: Delete file.
38599 * sysdeps/unix/sparc/start.c: Delete file.
38600 * sysdeps/unix/start.c: Delete file.
38601
38602 * sysdeps/sh/elf/configure.in: Moved to ...
38603 * sysdeps/sh/configure.in: ... here.
38604 * sysdeps/sh/elf/start.S: Moved to ...
38605 * sysdeps/sh/start.S: ... here.
38606 * sysdeps/sh/elf/configure: Delete file.
38607
38608 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38609 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38610 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38611 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38612 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38613 * sysdeps/powerpc/powerpc64/start.S: here.
38614 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38615 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38616 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38617 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38618 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38619
38620 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38621 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38622 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38623 * sysdeps/powerpc/powerpc32/start.S: ... here.
38624 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38625 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38626 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38627
38628 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38629 * sysdeps/powerpc/ifunc-sel.h: ... here.
38630 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38631 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38632
38633 * sysdeps/sparc/elf/configure.in: Moved to ...
38634 * sysdeps/sparc/configure.in: ... here.
38635 * sysdeps/sparc/elf/configure: Delete file.
38636 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38637 * sysdeps/sparc/sparc32/start.S: ... here.
38638 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38639 * sysdeps/sparc/sparc64/start.S: ... here.
38640 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38641 * sysdeps/sparc/sparc32/Makefile: ... this.
38642 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38643 * sysdeps/sparc/sparc64/Makefile: ... this.
38644
38645 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38646 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38647 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38648 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38649 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38650 * sysdeps/s390/s390-32/setjmp.S: ... here.
38651 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38652 * sysdeps/s390/s390-32/configure.in: ... here.
38653 * sysdeps/s390/s390-32/elf/configure: Delete file.
38654 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38655 * sysdeps/s390/s390-32/start.S: ... here.
38656
38657 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38658 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38659 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38660 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38661 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38662 * sysdeps/s390/s390-64/setjmp.S: ... here.
38663 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38664 * sysdeps/s390/s390-64/configure.in: ... here
38665 * sysdeps/s390/s390-64/elf/configure: Delete file.
38666 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38667 * sysdeps/s390/s390-64/start.S: ... here.
38668 * sysdeps/s390/s390-64/elf/configure: Delete.
38669
38670 * configure.in: Remove support for elf directories in sysdeps.
38671
38672 * configure: Regenerated.
38673 * sysdeps/i386/configure: Regenerated.
38674 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38675 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38676 * sysdeps/s390/s390-32/configure: Regenerated.
38677 * sysdeps/s390/s390-64/configure: Regenerated.
38678 * sysdeps/sh/configure: Regenerated.
38679 * sysdeps/sparc/configure: Regenerated.
38680 * sysdeps/x86_64/configure: Regenerated.
38681
a3f61311
AS
386822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38683
c876e002
AS
38684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38685
a3f61311
AS
38686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38687 denormal result into account.
38688
ac4c54f0
RM
386892012-03-25 Roland McGrath <roland@hack.frob.com>
38690
38691 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38692 Reported by Allan McRae <allan@archlinux.org>.
38693
6a9b9c02
JL
386942012-03-23 Jeff Law <law@redhat.com>
38695
38696 * nss/getnssent.c (__nss_getent): Fix typo.
38697
4c42a0c1
DM
386982012-03-23 David S. Miller <davem@davemloft.net>
38699
38700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38701
1532c7ac
L
387022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38703
38704 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38705 to pad to uint64_t for each field.
38706 (dl_tls_index): Replace unsigned long with uint64_t.
38707
3ff42526
PP
387082012-03-23 Daniel Jacobowitz <dmj@google.com>
38709 Paul Pluzhnikov <ppluzhnikov@google.com>
38710
38711 [BZ #6528]
38712 * grp/Makefile (otherlibs): Don't set it.
38713 * inet/Makefile (otherlibs): Likewise.
38714 * login/Makefile (otherlibs): Likewise.
38715 * nscd/Makefile (otherlibs): Likewise.
38716 * posix/Makefile (otherlibs): Likewise.
38717 * pwd/Makefile (otherlibs): Likewise.
38718 * rt/Makefile (otherlibs): Likewise.
38719 * sunrpc/Makefile (otherlibs): Likewise.
38720 * nss/Makefile (otherlibs): Likewise.
38721 Add libnss_files to routines and static-only-routines.
38722 ($(objpfx)getent): Remove rule.
38723 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38724 static-only-routines.
38725
7c69cd14
JM
387262012-03-22 Joseph Myers <joseph@codesourcery.com>
38727
38728 [BZ #13892]
38729 * math/s_cexp.c: Include <float.h>.
38730 (__cexp): Handle exp result overflowing not necessarily
38731 overflowing both real and imaginary parts of result.
38732 * math/s_cexpf.c: Likewise.
38733 * math/s_cexpl.c: Likewise.
38734 * math/libm-test.inc (cexp_test): Add more tests.
38735 * sysdeps/i386/fpu/libm-test-ulps: Update.
38736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38737
81b035fe
L
387382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38739
38740 * include/link.h (ELFW): New macro.
38741 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38742 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38743
1da7940c
L
387442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38745
38746 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38747 with uint64_t.
38748
b749dbb9
L
387492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38750
38751 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38752 declaration.
38753 (struct La_x32_retval): Likewise.
38754
2ff87f3f
L
387552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38756
38757 * sysdeps/x86_64/preconfigure.in: New file.
38758 * sysdeps/x86_64/preconfigure: New generated file.
38759
c0df8e69
JM
387602012-03-22 Joseph Myers <joseph@codesourcery.com>
38761
48e44791
JM
38762 [BZ #13824]
38763 * math/e_exp2l.c: Include <float.h>.
38764 (__ieee754_exp2l): Handle overflow and underflow cases
38765 separately. Only pass fractional part of argument to
38766 __ieee754_expl.
38767 * math/libm-test.inc (exp2_test): Add more tests.
38768
c0df8e69
JM
38769 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38770 negating x to take absolute value.
38771 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38772 Likewise.
38773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38775 Likewise.
38776 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38777 computing low part if x was negated.
38778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38779
c8e43ba7
L
387802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38781
38782 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38783 la_x32_gnu_pltexit.
38784 (pltexit): Cast int_retval to ptrdiff_t.
38785 * elf/tst-auditmod3b.c: Likewise.
38786 * elf/tst-auditmod4b.c: Likewise.
38787 * elf/tst-auditmod5b.c: Likewise.
38788 * elf/tst-auditmod6b.c: Likewise.
38789 * elf/tst-auditmod6c.c: Likewise.
38790 * elf/tst-auditmod7b.c: Likewise.
38791
38792 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38793 and x32_gnu_pltexit.
38794
38795 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38796 __ELF_NATIVE_CLASS.
38797 (La_x32_regs): New macro.
38798 (La_x32_retval): Likewise.
38799 (la_x32_gnu_pltenter): New function prototype.
38800 (la_x32_gnu_pltexit): Likewise.
38801
7998fa78
AS
388022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38803
dcb33988
AS
38804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38805 exponent.
38806
233fc563
AS
38807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38808
7998fa78
AS
38809 * configure.in (libc_cv_cc_nofma): Check for option to disable
38810 generation of FMA instructions.
38811 * configure: Regenerate.
38812 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38813 * sysdeps/ieee754/dbl-64/Makefile: New file.
38814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38815 Remove brandred-fma4.
38816 (CFLAGS-brandred-fma4.c): Remove.
38817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38819 define.
38820 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38821 define.
38822
8e95c99a
L
388232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38824
38825 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38826 LLONG_MAX != LONG_MAX.
38827 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38828 (_fitoa_word): Likewise.
38829 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38830 LLONG_MAX != LONG_MAX.
38831 * stdio-common/_itowa.h: Include <_itoa.h>.
38832 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38833 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38834 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38835 only if not defined.
38836 (_ITOA_WORD_TYPE): Likewise.
38837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38838 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38839
6f4db457
DM
388402012-03-21 David S. Miller <davem@davemloft.net>
38841
38842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38843
7785fe5a
L
388442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38845
38846 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38847 of x86_64 when setting libc_cv_slibdir, libdir and
38848 libc_cv_localedir.
38849 * sysdeps/unix/sysv/linux/configure: Regenerated.
38850
4535cd55
JM
388512012-03-21 Joseph Myers <joseph@codesourcery.com>
38852
38853 * manual/lang.texi (Old Varargs): Remove section.
38854 (How Variadic): Update menu.
38855 (va_start): Do not mention varargs.h.
38856
17228132
TS
388572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38858 Joseph Myers <joseph@codesourcery.com>
38859
38860 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38861 link test.
38862 * configure: Regenerated.
38863
8149f976
TS
388642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38865
05f3d1f6
UD
38866 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38867 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38868 conformtest.pl
8149f976 38869
1a4ac776
JM
388702012-03-21 Joseph Myers <joseph@codesourcery.com>
38871
be22ce65
JM
38872 * NOTES: Remove.
38873 * Makefile (files-for-dist): Remove NOTES.
38874 (NOTES): Remove rule.
38875 * README: Don't refer to NOTES.
38876 * manual/creature.texi: Don't include macros.texi.
38877 * manual/intro.texi (creature.texi): Remove comment referring to
38878 NOTES.
38879
40b601fb
JM
38880 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38881 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38882 * configure: Regenerated.
38883 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38884 LIBC_TRY_CC_OPTION.
38885 (libc_cv_as_i686): Likewise.
38886 (libc_cv_cc_avx): Likewise.
38887 (libc_cv_cc_sse2avx): Likewise.
38888 (libc_cv_cc_fma4): Likewise.
38889 (libc_cv_cc_novzeroupper): Likewise.
38890 * sysdeps/i386/configure: Regenerated.
38891
1a4ac776
JM
38892 [BZ #13883]
38893 * sysdeps/i386/fpu/s_cexp.S: Remove.
38894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38895 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38896 * math/libm-test.inc (cexp_test): Add more tests.
38897 * sysdeps/i386/fpu/libm-test-ulps: Update.
38898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38899
a458e7fe
AM
389002012-03-21 Allan McRae <allan@archlinux.org>
38901
38902 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38903
0cb7efc5
JM
389042012-03-21 Joseph Myers <joseph@codesourcery.com>
38905
38906 [BZ #13871]
38907 * math/w_exp2.c: Do not include <float.h>.
38908 (o_threshold, u_threshold): Remove.
38909 (__exp2): Calculate result before checking finiteness and calling
38910 __kernel_standard.
38911 * math/w_exp2f.c: Likewise.
38912 * math/w_exp2l.c: Likewise.
38913 * math/libm-test.inc (exp2_test): Require overflow exception for
38914 1e6 input.
2460d3aa
JM
38915
38916 [BZ #3866]
38917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38918 range of signed 64-bit integers before using fistpll. Remove
38919 checks for whether integers fit in mantissa bits.
38920 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38921 the range of signed 32-bit integers before using fistpl. Remove
38922 checks for whether integers fit in mantissa bits.
38923 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38924 (__ieee754_powl): Test for y outside the range of signed 64-bit
38925 integers before using fistpll. Reduce 64-bit values to 63-bit
38926 ones as needed.
38927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38928 divide-by-zero is raised for zero to large negative powers.
38929 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38930 (__ieee754_powl): Test for y outside the range of signed 64-bit
38931 integers before using fistpll. Reduce 64-bit values to 63-bit
38932 ones as needed.
38933 * math/libm-test.inc (pow_test): Add more tests.
38934
eb96ffb0
L
389352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38936
38937 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38938 <stdio-common/_itoa.h>.
38939 * debug/segfault.c: Likewise.
38940 * elf/dl-cache.c: Likewise.
38941 * elf/dl-minimal.c: Likewise.
38942 * elf/dl-misc.c: Likewise.
38943 * elf/dl-sysdep.c: Likewise.
38944 * elf/dl-version.c: Likewise.
38945 * elf/rtld.c: Likewise.
38946 * hurd/hurdsock.c: Likewise.
38947 * hurd/lookup-retry.c: Likewise.
38948 * malloc/malloc.c: Likewise.
38949 * malloc/mtrace.c: Likewise.
38950 * nscd/nscd_getgr_r.c: Likewise.
38951 * nscd/nscd_getpw_r.c: Likewise.
38952 * nscd/nscd_getserv_r.c: Likewise.
38953 * posix/getopt_init.c: Likewise.
38954 * posix/wordexp.c: Likewise.
38955 * stdio-common/_itoa.c: Likewise.
38956 * stdio-common/printf_fphex.c: Likewise.
38957 * stdio-common/vfprintf.c: Likewise.
38958 * string/_strerror.c: Likewise.
38959 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38960 * sysdeps/i386/i686/hp-timing.h: Likewise.
38961 * sysdeps/mach/_strerror.c: Likewise.
38962 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38963 * sysdeps/mach/hurd/sethostid.c: Likewise.
38964 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38965 * sysdeps/mach/xpg-strerror.c: Likewise.
38966 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38967 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38968 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38969 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38970 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38971 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38973 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38974 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38975 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38976 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38977 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38978 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38979 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38980 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38982 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38983 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38984 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38985 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38986 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38987
38988 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38989
38990 * stdio-common/_itoa.h: Moved to ...
38991 * sysdeps/generic/_itoa.h: Here.
38992
38993 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38994
38995 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38996 instead of "_itoa.h" and "_itowa.h".
38997 * stdio-common/vfprintf.: Likewise.
38998
d1af992d
L
389992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39000
39001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39002 <bits/wordsize.h>.
39003 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39004 (__signbit): Likwise.
39005 (llrintf): Likwise.
39006 (llrint): Likwise.
39007
114883e0
L
390082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39009
39010 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39011 __WORDSIZE != 64.
39012
c135cc1b
JM
390132012-03-20 Joseph Myers <joseph@codesourcery.com>
39014
39015 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39016 OVERFLOW_EXCEPTION_OK.
39017 * math/libm-test.inc ("Philosophy"): Update comment about
39018 exception testing.
39019 (OVERFLOW_EXCEPTION): Define.
39020 (OVERFLOW_EXCEPTION_OK): Likewise.
39021 (INVALID_EXCEPTION_OK): Renumber.
39022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39023 (IGNORE_ZERO_INF_SIGN): Likewise.
39024 (test_exceptions): Handle FE_OVERFLOW.
39025 (exp10_test): Expect overflow exceptions.
39026 (exp2_test): Likewise.
39027 (expm1_test): Likewise.
39028 (nextafter_test): Likewise.
39029 (pow_test): Likewise.
39030 (scalbn_test): Likewise.
39031 (scalbln_test): Likewise.
39032
95443d88
L
390332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39034
39035 * sysdeps/x86_64/bits/atomic.h
39036 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39037 64bit integer.
39038 (atomic_exchange_acq): Likewise.
39039 (__arch_exchange_and_add_body): Likewise.
39040 (__arch_add_body): Likewise.
39041 (atomic_add_negative): Likewise.
39042 (atomic_add_zero): Likewise.
39043
490df6c4
L
390442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39045
c2722551 39046 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39047 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39048
5e52b189
L
390492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39050
39051 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39052 Check __x86_64__ instead of __WORDSIZE.
39053
a9879d4c
L
390542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39055
39056 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39057
5df98260
DM
390582012-03-19 David S. Miller <davem@davemloft.net>
39059
e1497744
DM
39060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39061
5df98260
DM
39062 * sysdeps/sparc/fpu/fenv_private.h: New file.
39063 * sysdeps/sparc/fpu/math_private.h: Use it.
39064 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39065 Remove.
57f41c40 39066 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39067 (libc_feholdexcept_setroundl): Remove.
39068 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39069 Remove.
39070 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39071 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39072
b4c35121
L
390732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39074
39075 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39076 int64_t instead of long int.
39077 (INSERT_WORDS64): Likwise.
39078
56965fd7
L
390792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39080
39081 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39082 _Unwind_GetCFA return to _Unwind_Ptr first.
39083
83d1aec8
JM
390842012-03-19 Joseph Myers <joseph@codesourcery.com>
39085
1897ad44
JM
39086 [BZ #13629]
39087 * math/s_clog.c: Include <float.h>.
39088 (__clog): Scale large or subnormal inputs.
39089 * math/s_clogf.c: Likewise.
39090 * math/s_clogl.c: Likewise.
39091 * math/s_clog10.c: Include <float.h>.
39092 (M_LOG10_2): Define.
39093 (__clog10): Scale large or subnormal inputs.
39094 * math/s_clog10f.c: Likewise.
39095 * math/s_clog10l.c: Likewise.
39096 * math/libm-test.inc (clog_test): Add more tests.
39097 (clog10_test): Likewise.
39098 * sysdeps/i386/fpu/libm-test-ulps: Update.
39099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39100
7726d6a9
JM
39101 [BZ #11451]
39102 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39103 x and y.
39104 * math/libm-test.inc (atan2_test): Add another test.
39105
83d1aec8
JM
39106 * Makerules (common-objdir-compile): Remove.
39107 * sysdeps/unix/Makefile (config-generated): Do not add
39108 $(unix-generated) to variable.
39109 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39110 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39111 Remove rule.
39112 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39113 Likewise.
39114 [generic bits/local_lim.h] (before-compile): Do not append to
39115 variable.
39116 [generic bits/local_lim.h] (common-generated): Likewise.
39117 [generic sys/param.h] (before-compile): Do not append to variable.
39118 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39119 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39120 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39121 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39122 include.
39123 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39124 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39125 [generic sys/param.h] ($(addprefix
39126 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39127 [generic sys/param.h] (common-generated): Do not append to
39128 variable.
39129 [generic sys/param.h] (sysdep_headers): Likewise.
39130 [generic bits/errno.h] (before-compile): Do not append to
39131 variable.
39132 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39133 rule.
39134 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39135 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39136 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39137 [generic bits/errno.h] (common-generated): Do not append to
39138 variable.
39139 [generic bits/ioctls.h] (before-compile): Do not append to
39140 variable.
39141 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39142 rule.
39143 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39144 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39145 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39146 rule.
39147 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39148 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39149 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39150 [generic bits/ioctls.h] (common-generated): Do not append to
39151 variable.
39152 [generic sys/syscall.h] (syscall.h): Remove variable.
39153 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39154 rule.
39155 [generic sys/syscall.h] (before-compile): Do not append to
39156 variable.
39157 [generic sys/syscall.h] (common-generated): Likewise.
39158 * sysdeps/unix/errnos-tmpl.c: Remove file.
39159 * sysdeps/unix/errnos.awk: Likewise.
39160 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39161 * sysdeps/unix/ioctls.awk: Likewise.
39162 * sysdeps/unix/mk-local_lim.c: Likewise.
39163 * sysdeps/unix/snarf-ioctls: Likewise.
39164
4851a949
RH
391652012-03-19 Richard Henderson <rth@twiddle.net>
39166
bd37f2ee
RH
39167 * sysdeps/i386/fpu/fenv_private.h: New file.
39168 * sysdeps/i386/fpu/math_private.h: Use it.
39169 (math_opt_barrier, math_force_eval): Remove.
39170 (libc_feholdexcept_setround_53bit): Remove.
39171 (libc_feupdateenv_53bit): Remove.
39172 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39173 (math_opt_barrier, math_force_eval): Remove.
39174 (libc_feholdexcept): Remove.
39175 (libc_feholdexcept_setround): Remove.
39176 (libc_fetestexcept, libc_fesetenv): Remove.
39177 (libc_feupdateenv_test): Remove.
39178 (libc_feupdateenv, libc_feholdsetround): Remove.
39179 (libc_feresetround): Remove.
39180
d0adc922
RH
39181 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39182 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39183
0fe0f1f8
RH
39184 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39185 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39186 (libc_feupdateenv_testl): New.
39187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39188 (libc_feupdateenv_testf): New.
39189 (libc_feupdateenv): Use libc_feupdateenv_test.
39190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39191 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39192
eb92c487
RH
39193 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39194 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39195 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39196 (libc_feresetround_noex): New.
39197 (libc_feresetround_noexf): New.
39198 (libc_feresetround_noexl): New.
39199 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39200 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39201 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39202 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39203 SET_RESTORE_ROUND.
39204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39206 (__cos): Likewise.
39207 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39209 SET_RESTORE_ROUND_NOEX.
39210 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39211 SET_RESTORE_ROUND_NOEXF.
39212 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39213 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39214 (libc_feholdsetroundf): New.
39215 (libc_feresetround, libc_feresetroundf): New.
39216
7d2e8012
RH
39217 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39218 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39219 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39220
b4dabbb4
RH
39221 * sysdeps/generic/math_private.h: Include <fenv.h>.
39222 (default_libc_feholdexcept): New.
39223 (default_libc_feholdexcept_setround): New.
39224 (default_libc_fesetenv, default_libc_feupdateenv): New.
39225 (libc_feholdexcept): Only define if undefined.
39226 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39227 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39228 (libc_feholdexcept_setroundl): Likewise.
39229 (libc_feholdexcept_setround_53bit): Likewise.
39230 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39231 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39232 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39233 (libc_feupdateenv_53bit): Likewise.
39234 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39235 (libc_feholdexcept): Convert from macro to inline function.
39236 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39237 (libc_fesetenv, libc_feupdateenv): Likewise.
39238
4851a949
RH
39239 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39240 not previously defined.
39241 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39242 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39243 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39244 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39245 * sysdeps/ieee754/flt-32/math_private.h: New file.
39246 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39247 math_private.h below SET_FLOAT_WORD.
39248 (__isnan, __isinf_ns, __finite): Remove.
39249 (__isnanf, __isinf_nsf, __finitef): Remove.
39250
e79d442e
AS
392512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39252
39253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39254
90b80344
DM
392552012-03-17 David S. Miller <davem@davemloft.net>
39256
39257 [BZ #6471]
39258 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39259 for 2.16.
39260
edc21804
DM
392612012-03-16 David S. Miller <davem@davemloft.net>
39262
77e927af
DM
39263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39264 warnings.
39265
374976dd
DM
39266 [BZ #6471]
39267 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39268 properly.
39269 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39270 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39271 sysdep_routines when subdir is sysvipc.
39272 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39273 __getshmlba helper.
39274
edc21804
DM
39275 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39276
473c3ef3
L
392772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39278
39279 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39280 [__LP64__].
39281
eb0f39b6
L
392822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39283
39284 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39285 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39286 (__lround): Renamed to ...
39287 (__llround): This. Replace long int with long long int.
39288 Define lround functions as aliases of llround functions.
39289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39290
6b6cd74b
L
392912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39292
39293 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39294 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39295 adresses to uintptr_t. Replace "long int" and "unsigned long
39296 int" with "greg_t" on va_arg.
39297
f1a77b01
L
392982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39299
39300 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39301 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39302
39303 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39304 Move e_machine check before EI_CLASS check. Handle x32
39305 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39306 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39307 SKIP_EM_IA_64 and include
39308 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39309
39310 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39311 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39312 (add_system_dir): New macro.
39313
39314 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39315 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39316
11b90b9f
JM
393172012-03-16 Joseph Myers <joseph@codesourcery.com>
39318
c36e1d23
JM
39319 [BZ #2551]
39320 [BZ #2552]
39321 [BZ #2553]
39322 [BZ #2554]
39323 [BZ #2562]
39324 [BZ #2563]
39325 [BZ #2565]
39326 [BZ #2566]
39327 [BZ #2576]
39328 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39329 (y0): Likewise.
39330 * math/w_j0f.c (j0f): Likewise.
39331 (y0f): Likewise.
39332 * math/w_j0l.c (__j0l): Likewise.
39333 (__y0l): Likewise.
39334 * math/w_j1.c (j1): Likewise.
39335 (y1): Likewise.
39336 * math/w_j1f.c (j1f): Likewise.
39337 (y1f): Likewise.
39338 * math/w_j1l.c (__j1l): Likewise.
39339 (__y1l): Likewise.
39340 * math/w_jn.c (jn): Likewise.
39341 (yn): Likewise.
39342 * math/w_jnf.c (jnf): Likewise.
39343 (ynf): Likewise.
39344 * math/w_jnl.c (__jnl): Likewise.
39345 (__ynl): Likewise.
39346 * math/libm-test.inc (j0_test): Add more tests.
39347 (j1_test): Likewise.
39348 (jn_test): Likewise. Add trailing semicolon to existing test.
39349 (y0_test): Likewise.
39350 (y1_test): Likewise.
39351 * sysdeps/i386/fpu/libm-test-ulps: Update.
39352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39353
11b90b9f
JM
39354 [BZ #13851]
39355 [BZ #13854]
39356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39357 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39358 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39360 (__tanl): Set errno for infinite argument.
39361 * sysdeps/i386/fpu/mptan.c: Remove.
39362 * sysdeps/i386/fpu/s_tan.S: Likewise.
39363 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39364 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39365 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39366 * math/libm-test.inc (tan_test): Add more tests and enable more
39367 tests for double and long double.
39368 * sysdeps/i386/fpu/libm-test-ulps: Update.
39369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39370
6a1bd2a1
JK
393712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39372
39373 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39374 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39375
10a803e0
RM
393762012-03-16 Roland McGrath <roland@hack.frob.com>
39377
39378 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39379 * configure.in: Use it for both main tree and add-ons.
39380 * configure: Regenerated.
39381
f196c7f7
L
393822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39383
39384 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39385
8848d99d
JM
393862012-03-16 Joseph Myers <joseph@codesourcery.com>
39387
96cbe7f4
JM
39388 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39389 in comment.
39390
8848d99d
JM
39391 [BZ #13851]
39392 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39393 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39394 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39395 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39396 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39397 infinite argument.
39398 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39400 != 0 for prec == 2.
39401 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39402 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39403 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39404 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39405 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39406 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39407 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39408 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39409 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39410 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39411 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39412 * math/libm-test.inc (cos_test): Add more tests and enable more
39413 tests for long double.
39414 (sin_test): Likewise.
39415 (sincos_test): Likewise.
39416 * sysdeps/i386/fpu/libm-test-ulps: Update.
39417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39418
dd7f4703
DM
394192012-03-16 David S. Miller <davem@davemloft.net>
39420
39421 * sysdeps/sparc/fpu/math_private.h: New file.
39422
006f1daa
DM
394232012-03-15 David S. Miller <davem@davemloft.net>
39424
c0c83bc8
DM
39425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39426 file.
e6a62e18 39427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39429 file.
e6a62e18
DM
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39436 sysdep routines.
39437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39438
88cb87d9
DM
39439 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39440 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39441
006f1daa 39442 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39444 sparc-ifunc.h
006f1daa 39445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39447 Likewise.
39448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39449 Likewise.
006f1daa
DM
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39454 Likewise.
006f1daa
DM
39455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39460 Likewise.
39461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39462 Likewise.
006f1daa
DM
39463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39487
11e0098e
AS
394882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39489
39490 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39491 scaling.
39492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39493
e85b09d0
AJ
394942012-03-15 Andreas Jaeger <aj@suse.de>
39495
39496 [BZ #13852]
39497 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39498 ieee754/flt-32 implementation for sin, cos and sincos.
39499 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39500 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39501 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39502 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39503 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39504 ieee754/flt-32 implementation for tan.
39505
39506 * math/libm-test.inc (cos_test): Enable some large input tests for
39507 float as well
39508 (sin_test): Likewise.
39509 (sincos_test): Likewise.
39510 (tan_test): Add tests for large input.
39511
39512 * sysdeps/i386/fpu/libm-test-ulps: Update.
39513
81c64153
AJ
395142012-03-15 Andreas Jaeger <aj@suse.de>
39515
39516 [BZ #13658]
39517 * math/libm-test.inc (cos_test): Add more test cases.
39518 (sin_test): Likewise.
39519 (sincos_test): Likewise.
39520
7bbfa5c6
AJ
395212012-03-15 Andreas Jaeger <aj@suse.de>
39522
39523 [BZ #13837]
39524 * math/libm-test.inc (cos_test): Add a test case for large input
39525 value.
39526 (sin_test): Likewise.
39527 (sincos_test): Likewise.
39528
57f41c40
AS
395292012-03-15 Andreas Jaeger <aj@suse.de>
39530 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39531
39532 [BZ #13658]
0671f479 39533 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39534 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39535 * sysdeps/i386/fpu/branred.c: Likewise.
39536 * sysdeps/i386/fpu/dosincos.c: Likewise.
39537 * sysdeps/i386/fpu/mpa.c: Likewise.
39538 * sysdeps/i386/fpu/s_cos.S: Likewise.
39539 * sysdeps/i386/fpu/s_sin.S: Likewise.
39540 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39541 * sysdeps/i386/fpu/sincos32.c: Likewise.
39542
39543 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39544 Define.
39545 (libc_feupdateenv_53bit): Define.
39546 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39547 Define.
39548 (libc_feupdateenv_53bit): Define.
39549
39550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39551 53 bit (without extend i386 double precision).
39552
39553 * math/libm-test.inc (sincos_test): Add tests for large input.
39554 (sin): Likewise.
39555 (cos): Likewise.
39556
39557 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39558
9cad04ea
AS
395592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39560
39561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39562
f7062b9a
DM
395632012-03-15 David S. Miller <davem@davemloft.net>
39564
39565 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39566 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39567 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39568 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39581 file.
f7062b9a 39582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39584 file.
f7062b9a 39585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39587 file.
f7062b9a 39588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39590 file.
f7062b9a
DM
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39593 fmin/fmax sysdep routines.
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39595
7bd951ff
DM
395962012-03-14 David S. Miller <davem@davemloft.net>
39597
559398ab
DM
39598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39627 routines.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39629 file.
559398ab 39630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39632 file.
559398ab 39633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39635 file.
559398ab 39636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39638 file.
559398ab 39639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39641 file.
559398ab 39642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39644 file.
39645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39646 file.
39647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39648 file.
39649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39650 file.
39651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39652 New file.
39653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39654 file.
39655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39656 file.
559398ab 39657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39659 file.
559398ab 39660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39662 file.
559398ab 39663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39665 file.
559398ab 39666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39668 VIS3 routines.
559398ab
DM
39669
39670 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39671 New file.
39672
5a1c1e32
DM
39673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39674
eae47a36
DM
39675 * sysdeps/sparc/configure.in: New file.
39676 * sysdeps/sparc/configure: Generate.
39677 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39678 * configure: Regenerate.
39679 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39680 * config.make.in (have-as-vis3): New.
39681 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39682 available use -Av9d instead of -Av9a.
39683 * sysdeps/sparc/sparc64/Makefile: Likewise.
39684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39686 New file.
39687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39688 file.
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39690 New file.
39691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39692 file.
eae47a36
DM
39693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39698
c0c83bc8
DM
39699 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39700 fzeros/fnegs to load 0x80000000 into a float register instead of
39701 using the stack.
7bd951ff
DM
39702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39703
bd951ccb
JM
397042012-03-14 Joseph Myers <joseph@codesourcery.com>
39705
39706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39707 bits/syscall.h.
39708 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39709 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39710 ($(inst_includedir)/bits/syscall.h): Remove rule.
39711 ($(objpfx)bits/syscall.d): Include instead of
39712 $(objpfx)syscall-list.d.
39713 (generated): Change syscall-list.h and syscall-list.d to
39714 bits/syscall.h and bits/syscall.d.
39715
bb4e6db2
RM
397162012-03-14 Roland McGrath <roland@hack.frob.com>
39717
39718 [BZ #13846]
39719 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39720
aa4a2ae1
JM
397212012-03-14 Joseph Myers <joseph@codesourcery.com>
39722
e456826d
JM
39723 [BZ #13841]
39724 * math/s_csqrt.c: Include <float.h>.
39725 (__csqrt): Scale large or subnormal inputs.
39726 * math/s_csqrtf.c: Likewise.
39727 * math/s_csqrtl.c: Likewise.
39728 * math/libm-test.inc (csqrt_test): Add more tests.
39729 * sysdeps/i386/fpu/libm-test-ulps: Update.
39730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39731
aa4a2ae1
JM
39732 [BZ #13840]
39733 * math/libm-test.inc (hypot_test): Add more tests.
39734
7c10fd35
DM
397352012-03-13 David S. Miller <davem@davemloft.net>
39736
39737 [BZ #13840]
39738 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39739 double-precision for the calculation instead of scaling.
39740
f453b98b
JM
397412012-03-13 Joseph Myers <joseph@codesourcery.com>
39742
39743 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39744 manipulate bits before adding and subtracting TWO52[sx].
39745 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39746 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39747 Likewise.
39748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39749
09a3453f
DM
397502012-03-13 David S. Miller <davem@davemloft.net>
39751
8e59da90
DM
39752 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39753 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39755 rtld-global-offsets.h
39756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39757
2a8ab7f2
DM
39758 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39759 large parameters.
39760
10f62770
DM
39761 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39762
5f0bdb18
DM
39763 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39764 'err' in the ifdef scope in which it is actually used.
39765
09a3453f
DM
39766 * nss/nss_db/db-init.c: Include string.h
39767
b4b2eb5e
DM
397682012-03-12 David S. Miller <davem@davemloft.net>
39769
98bb2f1c
DM
39770 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39771 masking out of the most significant byte of random value used.
39772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39773 Fix coding style in previous change.
39774
b4b2eb5e
DM
39775 * sysdeps/unix/sysv/linux/kernel-features.h
39776 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39777 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39778 expression.
39779 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39780 later.
39781
6e226b09
DM
397822012-03-11 David S. Miller <davem@davemloft.net>
39783
a1bcbd40
DM
39784 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39785 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39787 for 'resultvar' otherwise things get truncated on 64-bit.
39788
cb9d6174
DM
39789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39790 Fix masking out of the most significant byte of random value used.
39791
6e226b09
DM
39792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39793
058c132d
AS
397942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39795
39796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39797
2d2cd515
DM
397982012-03-09 David S. Miller <davem@davemloft.net>
39799
39800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39801 variables with appropriate CPP guards.
57f41c40
AS
39802 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39803 from the frame pointer, not the stack pointer. Correct layout
39804 comments. Fix test on resulting framesize and the management of
39805 the outregs buffer for pltexit. Preserve floating point return
39806 values across _dl_call_pltexit call.
2d2cd515
DM
39807 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39808 framesize and the management of the outregs buffer for pltexit.
39809 Preserve floating point return values across _dl_call_pltexit
39810 call.
57f41c40
AS
39811 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39812 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39813 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39814 (print_exit): Fix format string for return register value.
39815
9a07f9d0
JM
398162012-03-10 Joseph Myers <joseph@codesourcery.com>
39817
39818 * sunrpc/Makefile (others): Add rpcgen.
39819 ($(objpfx)rpcgen): Remove special build rule and dependency on
39820 libc.
39821 * sunrpc/rpcgen.c: New file.
39822
547b5e30
PE
398232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39824
c524201a
PE
39825 [BZ #13673]
39826 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39827 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39828 * sysdeps/i386/crti.S: Likewise.
39829 * sysdeps/i386/crtn.S: Likewise.
39830 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39831 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39832 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39833 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39834 * sysdeps/sh/crti.S: Likewise.
39835 * sysdeps/sh/crtn.S: Likewise.
39836 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39837
7b6235f2
PE
39838 [BZ #13673]
39839 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39840 with URL.
39841 * locale/programs/locfile-kw.gperf: Likewise.
39842 * locale/programs/charmap-kw.h: Regenerated.
39843 * locale/programs/locfile-kw.h: Likewise.
39844
547b5e30
PE
39845 [BZ #13673]
39846 * intl/plural.y: Replace FSF snail mail address with URL.
39847 * intl/plural.c: Regenerated.
39848
5f0a5dae
RH
398492012-03-09 Richard Henderson <rth@twiddle.net>
39850
39851 * include/math_private.h: Remove file.
39852 * math/math_private.h: Move file ...
39853 * sysdeps/generic/math_private.h: ... here.
39854
b8c03620
RH
39855 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39856 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39857 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39858
4e234f5d 39859 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39860 and <math_private.h>.
39861 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39862 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39863 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39864 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39865 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39935 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39941 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39943 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39948 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39958 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39961 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39962 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39963 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39964 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39965 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39969 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39971 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39974 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39975 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39980 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39982 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39984 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39985 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39986 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39988 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39989 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39990 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39991 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39992 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39993 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39994 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39995 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39996 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39997 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39998 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39999 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40000 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40001 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40004 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40005 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40006 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40007 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40008 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40009 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40010 * sysdeps/ieee754/k_standard.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40160 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40166 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40171 * sysdeps/ieee754/s_lib_version.c: Likewise.
40172 * sysdeps/ieee754/s_matherr.c: Likewise.
40173 * sysdeps/ieee754/s_signgam.c: Likewise.
40174 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40176 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40177 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40179 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40180 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40181 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40182 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40183 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40184 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40185 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40186 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40187 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40188 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40189 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40190 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40195
1991fa03
JM
401962012-03-09 Joseph Myers <joseph@codesourcery.com>
40197
40198 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40199 * sunrpc/rpc_main.c: Likewise.
40200 * sunrpc/rpc_svcout.c: Likewise.
40201
60d6f5a6
DM
402022012-03-09 David S. Miller <davem@davemloft.net>
40203
40204 * include/math_private.h: New file.
40205
4962050e
JM
402062012-03-09 Joseph Myers <joseph@codesourcery.com>
40207
02a6f887
JM
40208 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40209 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40210 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40211 from <bits/socket_type.h>.
40212 (enum __socket_type): Don't define here.
40213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40215 bits/socket_type.h.
40216
c6e013c1
JM
40217 [BZ #13566]
40218 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40219 checking __USE_GNU.
40220
4962050e
JM
40221 * Makerules ($(inst_includedir)/%.h): New rule.
40222 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40223 (install-others): Remove variable setting.
40224 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40225
38842f45
RH
402262012-03-08 Richard Henderson <rth@twiddle.net>
40227
67bb6da6
RH
40228 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40229 from macro to inline function; merge with the
40230 !__LIBC_INTERNAL_MATH_INLINES version.
40231 (__ieee754_sqrtf): Likewise.
40232
15194b4b
RH
40233 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40234 to inline function.
40235 (__rintf, __floor, __floorf): Likewise.
40236
64e21ede
RH
40237 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40238 macro to inline function.
40239 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40240
38842f45
RH
40241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40242 not <math/math_private.h>.
40243
c64bf5fe
DM
402442012-03-08 David S. Miller <davem@davemloft.net>
40245
40246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40247 copyright year.
40248 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40249
82d86f28
TS
402502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40251
40252 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40253 normalization.
40254 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40255 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40256
aea5d727
UD
402572012-03-08 Ulrich Drepper <drepper@gmail.com>
40258
40259 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40260 be defined individually, they must be defined as a block. Define
40261 S for printing a string instead of hidint the different by using a
40262 macro for adding the 'l'.
40263 * stdio-common/tst-fphex-wide.c: Adjust.
40264
70bca0a3
MP
402652012-03-07 Marek Polacek <polacek@redhat.com>
40266
40267 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40268
65b81130
MP
402692012-03-08 Marek Polacek <polacek@redhat.com>
40270
40271 [BZ #13806]
40272 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40273 * stdio-common/tst-fphex.c: Define a few macros to make the
40274 test reusable. Use them.
40275 * stdio-common/tst-fphex-wide.c: New file.
40276
07037eeb
JM
402772012-03-08 Joseph Myers <joseph@codesourcery.com>
40278
a7a93d50
JM
40279 [BZ #6911]
40280 * manual/macros.texi (gnusystems): New macro.
40281 (nongnusystems): Likewise.
40282 (gnulinuxhurdsystems): Likewise.
40283 (gnuhurdsystems): Likewise..
40284 (gnulinuxsystems): Likewise.
40285 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40286 variants of the GNU system, not "GNU system".
40287 * manual/conf.texi: Likewise.
40288 * manual/errno.texi: Likewise. Update example of errno macro
40289 expansion.
40290 * manual/filesys.texi: Likewise.
40291 (getumask): Document as specific to GNU/Hurd.
40292 * manual/install.texi: Likewise. Reword some references to
40293 GNU/Linux.
40294 * manual/intro.texi: Likewise.
40295 * manual/io.texi: Likewise.
40296 (File Name Portability): Detail which constraints are inapplicable
40297 to all GNU systems and which are only inapplicable to GNU/Hurd.
40298 * manual/job.texi: Likewise.
40299 * manual/llio.texi: Likewise.
40300 (O_NOCTTY): Document as present on GNU/Linux.
40301 * manual/maint.texi: Likewise.
40302 * manual/memory.texi: Likewise.
40303 * manual/pattern.texi: Likewise.
40304 * manual/pipe.texi: Likewise.
40305 * manual/process.texi: Likewise.
40306 * manual/resource.texi: Likewise.
40307 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40308 child on GNU/Hurd.
40309 * manual/setjmp.texi: Likewise.
40310 * manual/signal.texi: Likewise.
40311 * manual/startup.texi: Likewise.
40312 * manual/stdio.texi: Likewise.
40313 * manual/terminal.texi: Likewise.
40314 (ONLCR): Document as POSIX.
40315 (OXTABS): Document availability on GNU/Linux as XTABS.
40316 (ONOEOT): Document availability separately from other bits.
40317 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40318 * manual/time.texi: Likewise.
40319 * manual/users.texi: Likewise.
40320 * INSTALL: Regenerated.
40321 * sysdeps/gnu/errlist.c: Regenerated.
40322
07037eeb
JM
40323 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40324 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40325 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40326 puts.
40327 * configure: Regenerated.
40328
d1d3431a
JM
403292012-03-07 Joseph Myers <joseph@codesourcery.com>
40330
af6a1e37
JM
40331 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40332 default includes instead of AC_HEADER_CHECK.
40333 * sysdeps/i386/configure: Regenerated.
40334
d1d3431a
JM
40335 [BZ #10716]
40336 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40337 * math/s_cacoshf.c (__cacoshf): Likewise.
40338 * math/s_cacoshl.c (__cacoshl): Likewise.
40339 * math/s_casinh.c (__casinh): Set signs of result from argument.
40340 * math/s_casinhf.c (__casinhf): Likewise.
40341 * math/s_casinhl.c (__casinhl): Likewise.
40342 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40343 (casinh_test): Add more tests.
40344 * sysdeps/i386/fpu/libm-test-ulps: Update.
40345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40346
482ff4da
UD
403472012-03-07 Ulrich Drepper <drepper@gmail.com>
40348
872fda05
UD
40349 * po/zh_TW.po: Update from translation team.
40350
a4300c7a
UD
40351 * login/Makefile (distribute): Remove variable.
40352 * catgets/Makefile: Likewise.
40353 * mach/Makefile: Likewise.
40354 * malloc/Makefile: Likewise.
40355 * misc/Makefile: Likewise.
40356 * iconv/Makefile: Likewise.
40357 * nscd/Makefile: Likewise.
40358 * hurd/Makefile: Likewise.
40359 * manual/Makefile: Likewise.
40360 * locale/Makefile: Likewise.
40361 * intl/Makefile: Likewise.
40362 * conform/Makefile: Likewise.
40363 * nss/Makefile: Likewise.
40364 * time/Makefile: Likewise.
40365 * soft-fp/Makefile: Likewise.
40366 * dirent/Makefile: Likewise.
40367 * gmon/Makefile: Likewise.
40368 * po/Makefile: Likewise.
40369 * rt/Makefile: Likewise.
40370 * socket/Makefile: Likewise.
40371 * math/Makefile: Likewise.
40372 * signal/Makefile: Likewise.
40373 * debug/Makefile: Likewise.
40374 * elf/Makefile: Likewise.
40375 * timezone/Makefile: Likewise.
40376 * stdlib/Makefile: Likewise.
40377 * iconvdata/Makefile: Likewise.
40378 * sunrpc/Makefile: Likewise.
40379 * io/Makefile: Likewise.
40380 * argp/Makefile: Likewise.
40381 * inet/Makefile: Likewise.
40382 * hesiod/Makefile: Likewise.
40383 * grp/Makefile: Likewise.
40384 * csu/Makefile: Likewise.
40385 * wctype/Makefile: Likewise.
40386 * crypt/Makefile: Likewise.
40387 * libio/Makefile: Likewise.
40388 * string/Makefile: Likewise.
40389 * nis/Makefile: Likewise.
40390 * resolv/Makefile: Likewise.
40391 * stdio-common/Makefile: Likewise.
40392 * wcsmbs/Makefile: Likewise.
40393 * dlfcn/Makefile: Likewise.
40394 * posix/Makefile: Likewise.
40395
3b7c4e74 40396 [BZ #6959]
482ff4da
UD
40397 * timezone/Makefile: Don't install timezone files, just the programs
40398 and scripts.
40399
f72ed77d
UD
404002012-03-06 Ulrich Drepper <drepper@gmail.com>
40401
a000466f
UD
40402 * nss/databases.def: Add missing gshadow entry.
40403
f72ed77d
UD
40404 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40405
a53b7a4e
MP
404062012-03-06 Marek Polacek <polacek@redhat.com>
40407
40408 [BZ #13726]
40409 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40410 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40411 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40412 * stdio-common/tst-long-dbl-fphex.c: New file.
40413
e9258400
DM
404142012-03-06 David S. Miller <davem@davemloft.net>
40415
40416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40417 (set_obp_int): New function.
40418 (get_obp_int): New function.
40419 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40421 Avoid unused variable warnings on 'val' and use builtin_expect.
40422 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40423 __builtin_expect.
e9258400
DM
40424 (INLINE_CLONE_SYSCALL): Likewise.
40425
3bd2c723
DM
404262012-03-05 David S. Miller <davem@davemloft.net>
40427
40428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40429
bbb78d03
AS
404302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40431
884c5db4
AS
40432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40433
bbb78d03
AS
40434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40435 only for |x| >= 40.
40436 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40437
1c9f702a 404382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40439
40440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40441 Replace gettimeofday with __vdso_gettimeofday.
40442
7be16f82
RM
40443 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40444 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40445 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40446
40447 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40448 time with __vdso_time.
40449
ed58a00f
JM
404502012-03-05 Joseph Myers <joseph@codesourcery.com>
40451
40452 * manual/lang.texi (size_t): Note types to which size_t may be
40453 equivalent with the GNU C Library, but do not describe when
40454 differences between them are significant.
40455
30ee4ced
AJ
404562012-03-05 Andreas Jaeger <aj@suse.de>
40457
40458 * sysdeps/i386/fpu/libm-test-ulps: Update.
40459
b7cd39e8
JM
404602012-03-05 Joseph Myers <joseph@codesourcery.com>
40461
40462 [BZ #3976]
40463 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40464 (__ieee754_pow): Save and restore rounding mode and use
40465 round-to-nearest for main computations.
40466 * math/libm-test.inc (pow_test_tonearest): New function.
40467 (pow_test_towardzero): Likewise.
40468 (pow_test_downward): Likewise.
40469 (pow_test_upward): Likewise.
40470 (main): Call the new functions.
40471 * sysdeps/i386/fpu/libm-test-ulps: Update.
40472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40473
40474 [BZ #3976]
40475 * math/libm-test.inc (cosh_test_tonearest): New function.
40476 (cosh_test_towardzero): Likewise.
40477 (cosh_test_downward): Likewise.
40478 (cosh_test_upward): Likewise.
40479 (sinh_test_tonearest): Likewise.
40480 (sinh_test_towardzero): Likewise.
40481 (sinh_test_downward): Likewise.
40482 (sinh_test_upward): Likewise.
40483 (main): Call the new functions.
40484 * sysdeps/i386/fpu/libm-test-ulps: Update.
40485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40486
6c6a98c9
TV
404872012-03-05 Tom de Vries <tom@codesourcery.com>
40488
40489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40490 default stack guard is set in last bytes.
40491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40492
21bb2d2e 404932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40494
21bb2d2e 40495 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40496
21bb2d2e
AJ
40497 [BZ #13656]
40498 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40499 possibly allocate from heap instead of stack.
40500 * stdio-common/bug-vfprintf-nargs.c: New file.
40501 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40502
c6922934
AS
405032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40504
40505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40506
bc957d53
MP
405072012-03-03 Marek Polacek <polacek@redhat.com>
40508
40509 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40510 * math/math_private.h: Likewise.
40511 * stdlib/tst-strtod.c: Likewise.
40512 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40513 * sysdeps/x86_64/bits/atomic.h: Likewise.
40514
6358490d
DM
405152012-03-02 David S. Miller <davem@davemloft.net>
40516
40517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40521 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40522 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40523 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40524 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40525
01ae168d
RM
405262012-03-02 Roland McGrath <roland@hack.frob.com>
40527
d9a17c07
RM
40528 [BZ #13792]
40529 * manual/examples/README: New file, says the example source files
40530 can be used under GPL>=2.
40531 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40532 line containing just "*/".
40533 * manual/examples/add.c: Add copyright header (GPL>=2).
40534 * manual/examples/argp-ex1.c: Likewise.
40535 * manual/examples/argp-ex2.c: Likewise.
40536 * manual/examples/argp-ex3.c: Likewise.
40537 * manual/examples/argp-ex4.c: Likewise.
40538 * manual/examples/atexit.c: Likewise.
40539 * manual/examples/db.c: Likewise.
40540 * manual/examples/dir.c: Likewise.
40541 * manual/examples/dir2.c: Likewise.
40542 * manual/examples/execinfo.c: Likewise.
40543 * manual/examples/filecli.c: Likewise.
40544 * manual/examples/filesrv.c: Likewise.
40545 * manual/examples/fmtmsgexpl.c: Likewise.
40546 * manual/examples/genpass.c: Likewise.
40547 * manual/examples/inetcli.c: Likewise.
40548 * manual/examples/inetsrv.c: Likewise.
40549 * manual/examples/isockad.c: Likewise.
40550 * manual/examples/longopt.c: Likewise.
40551 * manual/examples/memopen.c: Likewise.
40552 * manual/examples/memstrm.c: Likewise.
40553 * manual/examples/mkfsock.c: Likewise.
40554 * manual/examples/mkisock.c: Likewise.
40555 * manual/examples/mygetpass.c: Likewise.
40556 * manual/examples/pipe.c: Likewise.
40557 * manual/examples/popen.c: Likewise.
40558 * manual/examples/rprintf.c: Likewise.
40559 * manual/examples/search.c: Likewise.
40560 * manual/examples/select.c: Likewise.
40561 * manual/examples/setjmp.c: Likewise.
40562 * manual/examples/sigh1.c: Likewise.
40563 * manual/examples/sigusr.c: Likewise.
40564 * manual/examples/stpcpy.c: Likewise.
40565 * manual/examples/strdupa.c: Likewise.
40566 * manual/examples/strftim.c: Likewise.
40567 * manual/examples/strncat.c: Likewise.
40568 * manual/examples/subopt.c: Likewise.
40569 * manual/examples/swapcontext.c: Likewise.
40570 * manual/examples/termios.c: Likewise.
40571 * manual/examples/testopt.c: Likewise.
40572 * manual/examples/testpass.c: Likewise.
40573 * manual/examples/timeval_subtract.c: Likewise.
40574
01ae168d
RM
40575 [BZ #13792]
40576 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40577 function to ...
40578 * manual/timeval_subtract.c.texi: ... here, new file.
40579
49efa33d
DM
405802012-03-02 David S. Miller <davem@davemloft.net>
40581
40582 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40583
28afd92d
JM
405842012-03-02 Joseph Myers <joseph@codesourcery.com>
40585
804360ed
JM
40586 [BZ #3976]
40587 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40588 (__sin): Save and restore rounding mode and use round-to-nearest
40589 for all computations.
40590 (__cos): Save and restore rounding mode and use round-to-nearest
40591 for all computations.
40592 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40593 <fenv.h>.
40594 (tan): Save and restore rounding mode and use round-to-nearest for
40595 all computations.
40596 * math/libm-test.inc (cos_test_tonearest): New function.
40597 (cos_test_towardzero): Likewise.
40598 (cos_test_downward): Likewise.
40599 (cos_test_upward): Likewise.
40600 (sin_test_tonearest): Likewise.
40601 (sin_test_towardzero): Likewise.
40602 (sin_test_downward): Likewise.
40603 (sin_test_upward): Likewise.
40604 (tan_test_tonearest): Likewise.
40605 (tan_test_towardzero): Likewise.
40606 (tan_test_downward): Likewise.
40607 (tan_test_upward): Likewise.
40608 (main): Call the new functions.
40609 * sysdeps/i386/fpu/libm-test-ulps: Update.
40610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40611
a6d06d7b
JM
40612 [BZ #10135]
40613 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40614 small n, then large n, before computing and testing k+n.
40615 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40617 Likewise.
40618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40619 Likewise.
40620 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40621 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40627 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40628 * math/libm-test.inc (scalbn_test): Add more tests.
40629 (scalbln_test): Likewise.
40630
07e12bb3
JM
40631 * manual/filesys.texi (mode_t): Describe constraints on size and
40632 signedness, not exact equivalence to a particular type.
40633 (ino_t): Likewise.
40634 (ino64_t): Likewise.
40635 (dev_t): Likewise.
40636 (nlink_t): Likewise.
40637 (blkcnt_t): Likewise.
40638 (blkcnt64_t): Likewise.
40639 * manual/llio.texi (off_t): Likewise.
40640
28afd92d
JM
40641 [BZ #3976]
40642 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40643 (__ieee754_exp): Save and restore rounding mode and use
40644 round-to-nearest for all computations.
40645 * math/libm-test.inc (exp_test_tonearest): New function.
40646 (exp_test_towardzero): Likewise.
40647 (exp_test_downward): Likewise.
40648 (exp_test_upward): Likewise.
40649 (main): Call the new functions.
40650 * sysdeps/i386/fpu/libm-test-ulps: Update.
40651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40652
b1eeb65d
CD
406532012-03-01 Chris Demetriou <cgd@google.com>
40654
40655 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40656 have predictable order.
40657
53362a4b
DM
406582012-03-01 David S. Miller <davem@davemloft.net>
40659
3c969083
DM
40660 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40661
759707de
DM
40662 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40663 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40664 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40665 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40666
dfdb8ff2
DM
40667 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40668 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40669 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40671 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40672 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40673 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40674 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40675 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40676
ead89f96
DM
40677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40678
7f66bd07
DM
40679 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40680 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40682
53362a4b
DM
40683 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40684 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40685 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40686 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40687 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40690 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40691 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40694 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40696 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40699 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40700 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40701 * sysdeps/sparc/elf/configure: Regenerated.
40702
7b1902cb
JM
407032012-03-01 Joseph Myers <joseph@codesourcery.com>
40704
bec039bc
JM
40705 * configure.in (AS, LD): Require binutils 2.20 or later.
40706 * configure: Regenerated.
40707 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40708 as required minimum version.
40709 * INSTALL: Regenerated.
40710
7b1902cb
JM
40711 [BZ #2541]
40712 [BZ #4108]
40713 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40714 before squaring exponent.
40715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40716 bottom long double and 27 bits of top long double before squaring
40717 exponent.
40718 * math/libm-test.inc (erfc_test): Add more tests.
40719 * sysdeps/i386/fpu/libm-test-ulps: Update.
40720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40722
f775c276
KT
407232012-03-01 Kai Tietz <ktietz@redhat.com>
40724
40725 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40726 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40727 containing bit-fields.
40728 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40729 * soft-fp/single.h (_FP_UNION_S): Likewise.
40730 * soft-fp/double.h (_FP_UNION_D): Likewise.
40731
5b8a4d4a
JM
407322012-02-29 Joseph Myers <joseph@codesourcery.com>
40733
0bab47b6
JM
40734 [BZ #13786]
40735 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40736 not include ../strcmp.S.
40737 [USE_AS_STRNCASECMP_L]: Likewise.
40738 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40739 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40740 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40741 (__strncasecmp_l_ia32): Define as alias to
40742 __strncasecmp_l_nonascii.
40743
0fcad3e2
JM
40744 [BZ #5794]
40745 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40746 * sysdeps/i386/fpu/libm-test-ulps: Update.
40747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40748
5b8a4d4a
JM
40749 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40751
8fdceb2e
JL
407522012-02-29 Jeff Law <law@redhat.com>
40753
40754 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40755 out of bounds read.
40756
1f393a11
MP
407572012-02-29 Marek Polacek <polacek@redhat.com>
40758
40759 [BZ #13706]
40760 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40761 * elf/Makefile: Add rules to run tst-unused-dep.out.
40762
8847f037
DM
407632012-02-28 David S. Miller <davem@davemloft.net>
40764
40765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40769 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40770 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40771
169d7f11
JM
407722012-02-29 Joseph Myers <joseph@codesourcery.com>
40773
40774 * math/libm-test.inc (llround_test): Move one test from
40775 lround_test. Use TEST_f_L in moved test.
40776 (lround_test): Move misplaced test to llround_test. Add testcase
40777 from bug 2561.
40778
39adf059
UD
407792012-02-28 Ulrich Drepper <drepper@gmail.com>
40780
40781 * sysdeps/x86_64/fpu/e_expf.S: New file.
40782 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40783
71b5d1c5
SB
407842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40785
40786 [BZ #13637]
40787 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40788 of remain_len that may cause incomplete multi-byte character and
40789 false match.
40790 * posix/bug-regex33.c: New file.
40791 * posix/Makefile (tests): Add bug-regex33.
40792
1f77f049
JM
407932012-02-28 Joseph Myers <joseph@codesourcery.com>
40794
40795 * manual/macros.texi: New file.
40796 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40797 * manual/libc.texinfo: Include macros.texi.
40798 * manual/creatute.texi: Likewise.
40799 * manual/install.texi: Likewise.
40800 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40801 @glibcadj{} in references to the GNU C Library.
40802 * manual/charset.texi: Likewise.
40803 * manual/conf.texi: Likewise.
40804 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40805 when not using those macros.
40806 * manual/creature.texi: Likewise.
40807 * manual/crypt.texi: Likewise.
40808 * manual/errno.texi: Likewise.
40809 * manual/filesys.texi: Likewise.
40810 * manual/header.texi: Likewise.
40811 * manual/install.texi: Likewise.
40812 * manual/intro.texi: Likewise.
40813 * manual/io.texi: Likewise.
40814 * manual/job.texi: Likewise.
40815 * manual/lang.texi: Likewise.
40816 * manual/libc.texiinfo: Likewise.
40817 * manual/llio.texi: Likewise.
40818 * manual/locale.texi: Likewise.
40819 * manual/maint.texi: Likewise.
40820 * manual/math.texi: Likewise.
40821 * manual/memory.texi: Likewise.
40822 * manual/message.texi: Likewise.
40823 * manual/nss.texi: Likewise.
40824 * manual/pattern.texi: Likewise.
40825 * manual/process.texi: Likewise.
40826 * manual/resource.texi: Likewise.
40827 * manual/search.texi: Likewise.
40828 * manual/setjmp.texi: Likewise.
40829 * manual/signal.texi: Likewise.
40830 * manual/socket.texi: Likewise.
40831 * manual/startup.texi: Likewise.
40832 * manual/stdio.texi: Likewise.
40833 * manual/string.texi: Likewise.
40834 * manual/sysinfo.texi: Likewise.
40835 * manual/syslog.texi: Likewise.
40836 * manual/terminal.texi: Likewise.
40837 * manual/time.texi: Likewise.
40838 * manual/users.texi: Likewise.
40839 * INSTALL: Regenerated.
40840 * NOTES: Regenerated.
d40c5d54 40841 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40842
450bf206
AS
408432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40844
40845 * include/dirent.h: Include <dirstream.h> before
40846 <dirent/dirent.h>.
40847
741a235b
DM
408482012-02-28 David S. Miller <davem@davemloft.net>
40849
40850 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40851 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40852 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40853 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40854
d6b5aa58
DM
408552012-02-27 David S. Miller <davem@davemloft.net>
40856
1aff59a3
DM
40857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40859 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40860 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40861
d6b5aa58
DM
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40863 frame pointer instead of stack pointer relative arg slot.
40864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40867
433f48bf
CD
408682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40869
40870 [BZ #3992]
40871 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40872
d674b76d
DM
408732012-02-27 David S. Miller <davem@davemloft.net>
40874
40875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40879 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40880 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40881 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40882 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40883
0e7727f7
JM
408842012-02-27 Joseph Myers <joseph@codesourcery.com>
40885
40886 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40887 later. Allow versions 5-9.
43be4ca2 40888 * configure: Regenerated.
0e7727f7
JM
40889 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40890 required minimum version and 4.6 as recommended version. Do not
40891 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40892 * INSTALL: Regenerated.
0e7727f7 40893
a78bc654
DM
408942012-02-27 David S. Miller <davem@davemloft.net>
40895
428d5830
DM
40896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40900 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40901 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40902 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40903 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40904
a78bc654
DM
40905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40906 manipulate bits before adding and subtracting TWO112[sx].
40907 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40908
4579f81c
RM
409092012-02-27 Roland McGrath <roland@hack.frob.com>
40910
36c8acb4
RM
40911 [BZ #13775]
40912 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40913 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40914 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40915 being in POSIX, because they are in 1003.1-2008.
40916
84ad622b
RM
40917 * rt/tst-aio.c: Include <fcntl.h>.
40918 * rt/tst-aio7.c: Likewise.
40919 * rt/tst-aio64.c: Likewise.
40920
4579f81c
RM
40921 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40922
abd923db
JM
409232012-02-27 Joseph Myers <joseph@codesourcery.com>
40924
40925 * manual/install.texi (--with-headers): Describe headers as
40926 interface headers, not private headers.
40927 (Specific advice for GNU/Linux systems): Describe use of headers
40928 from "make headers_install", not private headers from older
40929 kernels.
43be4ca2 40930 * INSTALL: Regenerated.
abd923db
JM
40931 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40932 Change to 2.6.19.
40933 * sysdeps/unix/sysv/linux/configure: Regenerated.
40934
6664049b
JM
40935 * manual/llio.texi (fclean): Remove documentation.
40936
bb8b6697
JM
40937 * manual/Makefile (libc-texi-generated): New variable. Include
40938 version.texi.
40939 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40940 $(libc-texi-generated), not duplicated list of files.
40941 (version.texi, stamp-version): New rules.
40942 (realclean): Remove $(libc-texi-generated), not individual files
40943 from that list. Do not remove dir-add.texinfo.
40944 * manual/libc.texinfo: Comment out uses of edition numbers and
40945 references to printed manual. Remove last-updated dates.
40946 (EDITION): Comment out.
40947 (ISBN): Likewise.
40948 (VERSION, UPDATED): Remove.
40949 (version.texi): Include.
40950
12e5c3b9
AS
409512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40952
40953 * sysdeps/posix/spawni.c: Include <signal.h>.
40954 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40955 * sysdeps/pthread/aio_fsync.c: Likewise.
40956
4efeffc1 409572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40958
ba63ba08
UD
40959 * conform/Makefile (tests): Run only when not cross-compiling and
40960 when fast-check is not defined.
40961
d94a4670
UD
40962 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40963 * conform/data/limits.h-data: Fixes for POSIX2008.
40964 * conform/run-conformtest.sh: Run all tests.
40965 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40966 headers.
40967 * include/bits/dlfcn.h: Likewise.
40968 * include/langinfo.h: Likewise.
40969 * include/monetary.h: Likewise.
40970 * include/sys/poll.h: Likewise.
40971
40972 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40973 for __USE_GNU.
40974 * posix/spawn.h: Define __need_sigset_t.
40975 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40976 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40977 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40978 to get sigevent_t only.
40979 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40980 only for __USE_GNU.
40981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40982 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40983 process_vm_writev only for __USE_GNU.
40984 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40985
40986 * conform/Makefile: For now ignore errors from run-conformtest.
40987 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40988 POSIX to avoid namespace pollution. Don't prepend headers.
40989 * conform/data/aio.h-data: Fixes for POSIX testing.
40990 * conform/data/fcntl.h-data: Likewise.
40991 * conform/data/glob.h-data: Likewise.
40992 * conform/data/grp.h-data: Likewise.
40993 * conform/data/pthread.h-data: Likewise.
40994 * conform/data/pwd.h-data: Likewise.
40995 * conform/data/signal.h-data: Likewise.
40996 * conform/data/spawn.h-data: Likewise.
40997 * conform/data/stdio.h-data: Likewise.
40998 * conform/data/stdlib.h-data: Likewise.
40999 * conform/data/stropts.h-data: Likewise.
41000 * conform/data/sys/mman.h-data: Likewise.
41001 * conform/data/sys/stat.h-data: Likewise.
41002 * conform/data/sys/types.h-data: Likewise.
41003 * conform/data/sys/wait.h-data: Likewise.
41004 * conform/data/time.h-data: Likewise.
41005 * conform/data/unistd.h-data: Likewise.
41006 * conform/data/utime.h-data: Likewise.
41007
41008 * io/sys/stat.h: fchmod was always in POSIX.
41009 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41010 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41011 * rt/aio.h: Define __need_timespec before including <time.h>.
41012 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41013 struct. Add forward declaration of pthread_attr_t and use it in
41014 sigevent.
41015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41017 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41018 always remove CLK_TCK definition.
41019
c20105c3
AS
410202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41021
41022 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41023
7a270350
UD
410242012-02-25 Ulrich Drepper <drepper@gmail.com>
41025
31341567
UD
41026 * conform/run-conformtest.sh: New file.
41027 * conform/Makefile: Run run-conformtest for tests.
41028 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41029 support.
41030
41031 * conform/data/uchar.h-data: New file.
41032 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41033 * conform/data/arpa/inet.h-data: Likewise.
41034 * conform/data/assert.h-data: Likewise.
41035 * conform/data/complex.h-data: Likewise.
41036 * conform/data/cpio.h-data: Likewise.
41037 * conform/data/ctype.h-data: Likewise.
41038 * conform/data/dirent.h-data: Likewise.
41039 * conform/data/dlfcn.h-data: Likewise.
41040 * conform/data/errno.h-data: Likewise.
41041 * conform/data/fcntl.h-data: Likewise.
41042 * conform/data/float.h-data: Likewise.
41043 * conform/data/fmtmsg.h-data: Likewise.
41044 * conform/data/fnmatch.h-data: Likewise.
41045 * conform/data/ftw.h-data: Likewise.
41046 * conform/data/glob.h-data: Likewise.
41047 * conform/data/grp.h-data: Likewise.
41048 * conform/data/iconv.h-data: Likewise.
41049 * conform/data/inttypes.h-data: Likewise.
41050 * conform/data/langinfo.h-data: Likewise.
41051 * conform/data/libgen.h-data: Likewise.
41052 * conform/data/limits.h-data: Likewise.
41053 * conform/data/locale.h-data: Likewise.
41054 * conform/data/math.h-data: Likewise.
41055 * conform/data/monetary.h-data: Likewise.
41056 * conform/data/mqueue.h-data: Likewise.
41057 * conform/data/ndbm.h-data: Likewise.
41058 * conform/data/net/if.h-data: Likewise.
41059 * conform/data/netdb.h-data: Likewise.
41060 * conform/data/netinet/in.h-data: Likewise.
41061 * conform/data/nl_types.h-data: Likewise.
41062 * conform/data/poll.h-data: Likewise.
41063 * conform/data/pthread.h-data: Likewise.
41064 * conform/data/pwd.h-data: Likewise.
41065 * conform/data/regex.h-data: Likewise.
41066 * conform/data/sched.h-data: Likewise.
41067 * conform/data/search.h-data: Likewise.
41068 * conform/data/semaphore.h-data: Likewise.
41069 * conform/data/setjmp.h-data: Likewise.
41070 * conform/data/signal.h-data: Likewise.
41071 * conform/data/spawn.h-data: Likewise.
41072 * conform/data/stdarg.h-data: Likewise.
41073 * conform/data/stdio.h-data: Likewise.
41074 * conform/data/stdlib.h-data: Likewise.
41075 * conform/data/string.h-data: Likewise.
41076 * conform/data/strings.h-data: Likewise.
41077 * conform/data/stropts.h-data: Likewise.
41078 * conform/data/sys/ipc.h-data: Likewise.
41079 * conform/data/sys/mman.h-data: Likewise.
41080 * conform/data/sys/msg.h-data: Likewise.
41081 * conform/data/sys/resource.h-data: Likewise.
41082 * conform/data/sys/select.h-data: Likewise.
41083 * conform/data/sys/sem.h-data: Likewise.
41084 * conform/data/sys/shm.h-data: Likewise.
41085 * conform/data/sys/socket.h-data: Likewise.
41086 * conform/data/sys/stat.h-data: Likewise.
41087 * conform/data/sys/statvfs.h-data: Likewise.
41088 * conform/data/sys/time.h-data: Likewise.
41089 * conform/data/sys/timeb.h-data: Likewise.
41090 * conform/data/sys/times.h-data: Likewise.
41091 * conform/data/sys/types.h-data: Likewise.
41092 * conform/data/sys/uio.h-data: Likewise.
41093 * conform/data/sys/un.h-data: Likewise.
41094 * conform/data/sys/utsname.h-data: Likewise.
41095 * conform/data/sys/wait.h-data: Likewise.
41096 * conform/data/syslog.h-data: Likewise.
41097 * conform/data/tar.h-data: Likewise.
41098 * conform/data/termios.h-data: Likewise.
41099 * conform/data/utime.h-data: Likewise.
41100 * conform/data/utmpx.h-data: Likewise.
41101 * conform/data/varargs.h-data: Likewise.
41102 * conform/data/wchar.h-data: Likewise.
41103 * conform/data/wctype.h-data: Likewise.
41104 * conform/data/wordexp.h-data: Likewise.
41105
41106 * include/stropts.h: New file.
41107 * include/uchar.h: New file.
41108 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41109 * include/assert.h: Likewise.
41110 * include/ctype.h: Likewise.
41111 * include/dirent.h: Likewise.
41112 * include/dlfcn.h: Likewise.
41113 * include/fcntl.h: Likewise.
41114 * include/fnmatch.h: Likewise.
41115 * include/glob.h: Likewise.
41116 * include/grp.h: Likewise.
41117 * include/libio.h: Likewise.
41118 * include/locale.h: Likewise.
41119 * include/math.h: Likewise.
41120 * include/net/if.h: Likewise.
41121 * include/netdb.h: Likewise.
41122 * include/netinet/in.h: Likewise.
41123 * include/pthread.h: Likewise.
41124 * include/pwd.h: Likewise.
41125 * include/regex.h: Likewise.
41126 * include/sched.h: Likewise.
41127 * include/search.h: Likewise.
41128 * include/setjmp.h: Likewise.
41129 * include/signal.h: Likewise.
41130 * include/stdio.h: Likewise.
41131 * include/stdlib.h: Likewise.
41132 * include/string.h: Likewise.
41133 * include/sys/cdefs.h: Likewise.
41134 * include/sys/mman.h: Likewise.
41135 * include/sys/msg.h: Likewise.
41136 * include/sys/resource.h: Likewise.
41137 * include/sys/select.h: Likewise.
41138 * include/sys/socket.h: Likewise.
41139 * include/sys/stat.h: Likewise.
41140 * include/sys/statvfs.h: Likewise.
41141 * include/sys/time.h: Likewise.
41142 * include/sys/times.h: Likewise.
41143 * include/sys/uio.h: Likewise.
41144 * include/sys/utsname.h: Likewise.
41145 * include/sys/wait.h: Likewise.
41146 * include/termios.h: Likewise.
41147 * include/time.h: Likewise.
41148 * include/ulimit.h: Likewise.
41149 * include/unistd.h: Likewise.
41150 * include/utime.h: Likewise.
41151 * include/wchar.h: Likewise.
41152 * include/wctype.h: Likewise.
41153 * include/wordexp.h: Likewise.
41154
41155 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41156
7a270350
UD
41157 * time/time.h: TIME_UTC must be a macro.
41158 Make timespec_get available for ISO C11 only as well.
41159
7724defc
UD
411602012-02-24 Ulrich Drepper <drepper@gmail.com>
41161
41162 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41163 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41164
6b1d1d46
JM
411652012-02-24 Joseph Myers <joseph@codesourcery.com>
41166
41167 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41168
0f8bbd69
JM
411692012-02-24 Joseph Myers <joseph@codesourcery.com>
41170
41171 * manual/texinfo.tex: Update to version 2012-01-19.16.
41172
66ab80bc
JM
411732012-02-24 Joseph Myers <joseph@codesourcery.com>
41174
41175 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41176
74981cc5
RM
411772012-02-24 Roland McGrath <roland@hack.frob.com>
41178
ee968201
RM
41179 [BZ #13738]
41180 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41181 * manual/fdl-1.3.texi: New file.
41182 * manual/fdl-1.1.texi: File removed.
41183
74981cc5
RM
41184 [BZ #13738]
41185 * manual/libc.texinfo (FDL_VERSION): New @set.
41186 Use it for mention of FDL in cover text.
41187 (Documentation License): Use it in @include file name.
41188
7bb764bc
JM
411892012-02-22 Joseph Myers <joseph@codesourcery.com>
41190 Roland McGrath <roland@hack.frob.com>
41191
41192 [BZ #5461]
57f41c40
AS
41193 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41194 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41195 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41196 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41197 name.
41198 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41199
6cbeae47
JM
412002012-02-22 Joseph Myers <joseph@codesourcery.com>
41201
41202 [BZ #2547]
41203 [BZ #11365]
41204 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41205 manipulate bits before adding and subtracting TWO23[sx].
41206 * math/libm-test.inc (nearbyint_test): Add more tests.
41207
fe45ce09
JM
412082012-02-22 Joseph Myers <joseph@codesourcery.com>
41209
41210 [BZ #2548]
41211 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41212 bits before adding and subtracting TWO23[sx].
41213 * math/libm-test.inc (rint_test): Add more tests.
41214 (rint_test_tonearest): Likewise.
41215 (rint_test_towardzero): Likewise.
41216 (rint_test_downward): Likewise.
41217 (rint_test_upward: Likewise.
41218
ff3b3d82
JM
412192012-02-22 Joseph Myers <joseph@codesourcery.com>
41220
41221 [BZ #10110]
41222 * include/stdc-predef.h: New file. Extracted from features.h.
41223 * include/features.h: Include stdc-predef.h.
41224 * Makefile (headers): Add stdc-predef.h.
41225 * CONFORMANCE (Compiler limitations): Update.
41226
ef0aab35
JM
412272012-02-22 Joseph Myers <joseph@codesourcery.com>
41228
41229 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41230
58639409
DM
412312012-02-21 David S. Miller <davem@davemloft.net>
41232
41233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41234 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41235
c0e70b25
DM
412362012-02-20 David S. Miller <davem@davemloft.net>
41237
41238 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41239 using a normal save/restore sequence, rather than allocating a
41240 dummy stack frame just to store a frame pointer and restore.
41241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41242
fb06851d
JM
412432012-02-21 Joseph Myers <joseph@codesourcery.com>
41244
41245 * manual/install.texi: Fix stray word in line-wrapped comment.
41246
7a8b71c3
DM
412472012-02-20 David S. Miller <davem@davemloft.net>
41248
d510c123
DM
41249 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41250 both binutils and gcc support GOTDATA.
41251
0722d7c2
DM
41252 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41253 "rd %pc" in the PIC register setup sequences.
41254
3d2b3019
DM
41255 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41256 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41257 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41258 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41259 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41261 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41264 (SYSCALL_ERROR_HANDLER): Likewise.
41265 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41266 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41268 (SYSCALL_ERROR_HANDLER): Likewise.
41269
c80098a9
DM
41270 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41271 (HAVE_GCC_GOTDATA): New.
41272 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41273 relocation support in both binutils and gcc.
41274 * sysdeps/sparc/elf/configure: Regenerate.
41275
3a2545a0
DM
41276 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41277 * sysdeps/sparc/sparc32/elf/configure: Delete.
41278 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41279 * sysdeps/sparc/sparc64/elf/configure: Delete.
41280 * sysdeps/sparc/elf/configure.in: New file.
41281 * sysdeps/sparc/elf/configure: Generate.
41282
7a8b71c3
DM
41283 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41284 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41286 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41287 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41288
f1e86fca
JM
412892012-02-21 Joseph Myers <joseph@codesourcery.com>
41290
41291 * manual/install.texi: Do not mention specific glibc version
41292 numbers.
41293 * manual/libc.texinfo (VERSION, UPDATED): Update.
41294 (@copying): Use @copyright{} and range of years.
41295
0e7dfaef
JM
412962012-02-21 Joseph Myers <joseph@codesourcery.com>
41297
41298 [BZ #13695]
41299 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41300 [crti.S not in sysdirs] (generated): Do not append.
41301 [crti.S not in sysdirs] (omit-deps): Likewise.
41302 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41303 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41304 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41305 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41306 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41307 Likewise.
41308 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41309 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41310 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41311 * csu/defs.awk: Remove file.
41312 * sysdeps/generic/initfini.c: Likewise.
41313 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41314 variable.
41315 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41316 Likewise.
41317
599af3ca
JM
413182012-02-20 Joseph Myers <joseph@codesourcery.com>
41319
41320 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41321 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41325 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41326 <bits/epoll.h>.
41327 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41328 (__EPOLL_PACKED): Define to empty if not defined by
41329 <bits/epoll.h>.
41330 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41332 bits/epoll.h.
41333
0e499750
JM
413342012-02-20 Joseph Myers <joseph@codesourcery.com>
41335
41336 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41337 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41338 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41339 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41340 <bits/timerfd.h>.
41341 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41343 bits/timerfd.h.
41344
5ad91f6e
JM
413452012-02-20 Joseph Myers <joseph@codesourcery.com>
41346
41347 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41348 in C locale.
41349 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41353
06b99b02
AJ
413542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41355
41356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41358
7638c0fd
AS
413592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41360
41361 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41362 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41363 defined.
41364 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41365 Likewise.
41366 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41367 entry for 2.16.
41368
92221550
AJ
413692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41370
41371 * math/w_acos.c: Use non-signaling floating-point comparisons.
41372 * math/w_acosf.c: Likewise.
41373 * math/w_acosh.c: Likewise.
41374 * math/w_acoshf.c: Likewise.
41375 * math/w_acoshl.c: Likewise.
41376 * math/w_acosl.c: Likewise.
41377 * math/w_asin.c: Likewise.
41378 * math/w_asinf.c: Likewise.
41379 * math/w_asinl.c: Likewise.
41380 * math/w_atanh.c: Likewise.
41381 * math/w_atanhf.c: Likewise.
41382 * math/w_atanhl.c: Likewise.
41383 * math/w_exp2.c: Likewise.
41384 * math/w_exp2f.c: Likewise.
41385 * math/w_exp2l.c: Likewise.
41386 * math/w_j0.c: Likewise.
41387 * math/w_j0f.c: Likewise.
41388 * math/w_j0l.c: Likewise.
41389 * math/w_j1.c: Likewise.
41390 * math/w_j1f.c: Likewise.
41391 * math/w_j1l.c: Likewise.
41392 * math/w_jn.c: Likewise.
41393 * math/w_jnf.c: Likewise.
41394 * math/w_log.c: Likewise.
41395 * math/w_log10.c: Likewise.
41396 * math/w_log10f.c: Likewise.
41397 * math/w_log10l.c: Likewise.
41398 * math/w_log2.c: Likewise.
41399 * math/w_log2f.c: Likewise.
41400 * math/w_log2l.c: Likewise.
41401 * math/w_logf.c: Likewise.
41402 * math/w_logl.c: Likewise.
41403 * math/w_sqrt.c: Likewise.
41404 * math/w_sqrtf.c: Likewise.
41405 * math/w_sqrtl.c: Likewise.
41406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41407 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41409 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41410 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41411
ebaf36eb
JM
414122012-02-19 Joseph Myers <joseph@codesourcery.com>
41413
41414 [BZ #9739]
41415 * manual/string.texi (strnlen): Use correct parameter name in
41416 equivalent expression.
41417
71c254a6
JM
414182012-02-19 Joseph Myers <joseph@codesourcery.com>
41419
41420 [BZ #11174]
41421 * manual/users.texi (seteuid): Consistently use neweuid for
41422 argument name.
41423
16d2c631
JM
414242012-02-19 Joseph Myers <joseph@codesourcery.com>
41425
41426 [BZ #13704]
41427 * manual/nss.texi (Services in the NSS configuration): Correct
41428 list of services in example configuration file.
41429
cd837b09
NB
414302012-02-19 Nick Bowler <nbowler@draconx.ca>
41431
41432 [BZ #11322]
41433 * manual/arith.texi: Remove statements about negative zero
41434 behaving identically to zero.
41435
02c4bbad
JM
414362012-02-18 Joseph Myers <joseph@codesourcery.com>
41437
41438 [BZ #5993]
41439 * manual/install.texi: Do not document upgrading from libc5.
41440
366842e7
JM
414412012-02-18 Joseph Myers <joseph@codesourcery.com>
41442
41443 [BZ #4596]
41444 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41445
dd54084d
DM
414462012-02-18 David S. Miller <davem@davemloft.net>
41447
41448 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41449 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41450 %o7 across the call.
41451 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41452 instead.
41453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41454 SETUP_PIC_REG_LEAF.
41455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41456 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41457 * sysdeps/sparc/crtn.S: Likewise.
41458
2bcc53a3
UD
414592012-02-17 Ulrich Drepper <drepper@gmail.com>
41460
41461 * aout/Makefile: Remove.
41462
09c093b5
RK
414632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41464
41465 [BZ #13058]
41466 * manual/examples/argp-ex1.c (main): Format definition in GNU
41467 style.
41468 * manual/examples/argp-ex2.c (main): Likewise.
41469 * manual/examples/argp-ex3.c (main): Likewise.
41470 * manual/examples/argp-ex4.c (main): Likewise.
41471 * manual/examples/longopt.c (main): Use new-style prototype
41472 definition.
41473 * manual/examples/strncat.c (main): Specify return type and use
41474 (void) for arguments.
41475 * manual/examples/subopt.c (main): Use char **argv argument.
41476
2ee633a2
JM
414772012-02-17 Joseph Myers <joseph@codesourcery.com>
41478
41479 [BZ #5077]
41480 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41481 rounding modes.
41482
0520adde
FB
414832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41484
41485 [BZ #6907]
41486 * manual/string.texi (strchr): Change when strchrnul is
41487 recommended.
41488
3f4081cd
DGM
414892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41490
41491 [BZ #174]
41492 * manual/locale.texi (setlocale): Document LOCPATH.
41493
d1b10e78
JM
414942012-02-17 Joseph Myers <joseph@codesourcery.com>
41495
41496 [BZ #10210]
41497 * manual/process.texi (execle): Move @dots{} before last argument.
41498
79c6869c
PB
414992012-02-17 Paul Bolle <pebolle@tiscali.nl>
41500
41501 [BZ #12047]
41502 * manual/charset.texi (Generic Charset Conversion): Fix typo
41503 (LC_TYPE -> LC_CTYPE).
41504
cc6e48bc
NB
415052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41506
41507 [BZ #5805]
41508 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41509 (scalbnf): Likewise.
41510 (scalbnl): Likewise.
41511 (scalbln): Likewise.
41512 (scalblnf): Likewise.
41513 (scalblnl): Likewise.
41514 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41515 (vwarnx): Likewise.
41516 (verr): Likewise.
41517 (verrx): Likewise.
41518 * manual/filesys.texi (telldir): Use braces around return type.
41519 * manual/llio.texi (mmap): Add space after comma.
41520 (mmap64): Likewise.
41521 * manual/math.texi (jn): Use @var{} on parameter names.
41522 (jnf): Likewise.
41523 (jnl): Likewise.
41524 (yn): Likewise.
41525 (ynf): Likewise.
41526 (ynl): Likewise.
41527 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41528 line.
41529 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41530 "...".
41531 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41532 (sched_get_priority_max): Likewise.
41533 * manual/signal.texi (sigvec): Add space after comma.
41534 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41535 names.
41536 (if_indextoname): Likewise.
41537 (if_freenameindex): Likewise.
41538 (sendto): Use ',' instead of '.' in prototype.
41539 * manual/startup.texi (syscall): Use @dots{} instead of literal
41540 "...".
41541 * manual/stdio.texi (__fpending): Separate initial words of
41542 paragraph from @deftypefun line.
41543 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41544 "...".
41545 (vsyslog): Use @var{} on parameter names.
41546 * manual/terminal.texi (stty): Use @var{} on parameter names.
41547 * manual/users.texi (getutmp): Use @var{} on parameter names.
41548 (getutmpx): Likewise.
41549
5b23062f
JM
415502012-02-17 Joseph Myers <joseph@codesourcery.com>
41551
41552 [BZ #6884]
41553 * manual/stdio.texi (fopen): Fix typos in description of
41554 ",ccs=STRING".
41555
8dee4833
AJ
415562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41557
41558 [BZ #4026]
41559 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41560 get clock_id definition.
41561
9078ce93
TS
415622012-02-17 Thomas Schwinge <thomas@schwinge.name>
41563
41564 [BZ #4822]
41565 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41566 (madvise): Cast every argument to void on its own.
41567
3835c55f
JM
415682012-02-17 Joseph Myers <joseph@codesourcery.com>
41569
41570 [BZ #9902]
41571 * manual/startup.texi (Exit Status): Fix typo.
41572
35c47e37
JM
415732012-02-17 Joseph Myers <joseph@codesourcery.com>
41574
41575 [BZ #10140]
41576 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41577 * manual/examples/argp-ex2.c: Likewise.
41578 * manual/examples/argp-ex3.c: Likewise.
41579
e3b69ca7
RH
415802012-02-16 Richard Henderson <rth@redhat.com>
41581
41582 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41583 * sysdeps/s390/s390-32/initfini.c: Remove.
41584 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41585 * sysdeps/s390/s390-64/initfini.c: Remove.
41586
df83af67
KK
415872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41588
41589 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41590 compiler output for sysdeps/generic/initfini.c.
41591 * sysdeps/sh/elf/initfini.c: Remove file.
41592
f63f3380
DM
415932012-02-16 David S. Miller <davem@davemloft.net>
41594
fb59b3a4
DM
41595 [BZ #11494]
41596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41597
f63f3380
DM
41598 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41599 * sysdeps/sparc/crti.S: New file.
41600 * sysdeps/sparc/crtn.S: New file.
41601 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41602 * sysdeps/sparc/sparc64/Makefile: Likewise.
41603
df6a4a4a
MF
416042012-02-15 Mike Frysinger <vapier@gentoo.org>
41605
6dd8f3dc 41606 [BZ #3335]
df6a4a4a
MF
41607 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41608
1cac7236
RM
416092012-02-15 Roland McGrath <roland@hack.frob.com>
41610
d2c736f8
RM
41611 [BZ #4822]
41612 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41613
1cac7236
RM
41614 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41615 (write, read, close): Likewise.
41616 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41617
8e475601
JM
416182012-02-15 Joseph Myers <joseph@codesourcery.com>
41619
41620 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41621 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41622 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41623 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41624 <bits/signalfd.h>.
41625 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41627 bits/signalfd.h.
41628
ed656b40
MP
416292012-02-14 Marek Polacek <polacek@redhat.com>
41630
41631 * sysdeps/x86_64/crti.S: New file.
41632 * sysdeps/x86_64/crtn.S: New file.
41633 * sysdeps/x86_64/elf/initfini.c: Remove file.
41634
2a979d3a
JM
416352012-02-13 Joseph Myers <joseph@codesourcery.com>
41636
41637 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41638 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41639 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41640 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41641 <bits/inotify.h>.
41642 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41644 bits/inotify.h.
41645
2a418ac3
JM
416462012-02-13 Joseph Myers <joseph@codesourcery.com>
41647
41648 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41649 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41650 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41651 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41652 <bits/eventfd.h>.
41653 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41655 bits/eventfd.h.
41656
fb779be7
TS
416572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41658
e19e83c5
RM
41659 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41660 __feraiseexcept instead of feraiseexcept.
7c35ffed 41661
fb779be7
TS
41662 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41663 nanosleep invocations.
41664 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41665 strings, and add error checking for a nanosleep invocations.
41666
59ba27a6
PE
416672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41668
41669 Replace FSF snail mail address with URLs, as per GNU coding standards.
41670 Most of the snail mail addresses were wrong anyway, and omitting
41671 them makes the source code easier to maintain. Almost all of the
41672 changes are to license notices and to locale LC_IDENTIFICATION
41673 addresses, except for this one:
41674 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41675 not its snail mail address.
41676
57b957eb
RH
416772012-02-09 Richard Henderson <rth@twiddle.net>
41678
af850b1c
RH
41679 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41680 of kernel-features.h.
41681
57b957eb
RH
41682 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41683
6b73181a
MP
416842012-02-08 Marek Polacek <polacek@redhat.com>
41685
41686 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41687 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41688 * sysdeps/gnu/_G_config.h: Likewise.
41689 * sysdeps/generic/_G_config.h: Likewise.
41690
26ecc33a
AS
416912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41692
6c6dbc63
AS
41693 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41694 tests.
41695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41696
e216c012
AS
41697 * sysdeps/powerpc/powerpc32/crti.S: New file.
41698 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41699 * sysdeps/powerpc/powerpc64/crti.S: New file.
41700 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41701
26ecc33a
AS
41702 * Makeconfig (have-initfini): Don't set.
41703 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41704 * configure.in (nopic_initfini): Don't substitute.
41705 * config.h.in (HAVE_INITFINI): Don't #undef.
41706 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41707 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41708
3add8e13
JM
417092012-02-08 Joseph Myers <joseph@codesourcery.com>
41710
41711 Support crti.S and crtn.S provided directly by architectures.
41712 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41713 [crti.S in sysdirs] (omit-deps): Likewise.
41714 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41715 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41716 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41717 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41718 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41719 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41720 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41721 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41722 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41723 compiler output for sysdeps/generic/initfini.c.
41724 * sysdeps/i386/elf/Makefile: Remove file.
41725 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41726
a22f12b4
MP
417272012-02-07 Marek Polacek <polacek@redhat.com>
41728
41729 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41730 * sysdeps/gnu/_G_config.h: Likewise.
41731 * sysdeps/mach/hurd/_G_config.h: Likewise.
41732
148cf100
MP
417332012-02-07 Marek Polacek <polacek@redhat.com>
41734
41735 * math/Makefile (tests): Add tst-CMPLX2.
41736 * math/tst-CMPLX2.c: New file.
41737
cfdc0dd7
AS
417382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41739
84ba42c4
AS
41740 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41741
cfdc0dd7
AS
41742 * math/libm-test.inc (jn_test): Add missing L suffix.
41743
622c86f4
MP
417442012-02-06 Marek Polacek <polacek@redhat.com>
41745
41746 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41747 * sysdeps/i386/fpu/e_powf.S: Likewise.
41748 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41749 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41750 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41751 * sysdeps/i386/fpu/e_pow.S: Likewise.
41752 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41753 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41754 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41755 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41756 * sysdeps/i386/fpu/e_log2.S: Likewise.
41757 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41758 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41759 * sysdeps/i386/fpu/e_powl.S: Likewise.
41760 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41761 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41762 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41763 * sysdeps/i386/fpu/e_logl.S: Likewise.
41764 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41765 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41766 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41767 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41768 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41770 * sysdeps/i386/fpu/e_log.S: Likewise.
41771 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41772 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41773 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41774 * sysdeps/i386/fpu/e_logf.S: Likewise.
41775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41777 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41778 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41779 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41780 * sysdeps/i386/fpu/e_log10.S: Likewise.
41781 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41783 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41784 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41785 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41786 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41787 * sysdeps/i386/asm-syntax.h: Likewise.
41788 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41789 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41790 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41791 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41792 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41793 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41794 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41795 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41796 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41797 * sysdeps/powerpc/sysdep.h: Likewise.
41798 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41800
d4a54ac6
JM
418012012-02-06 Joseph Myers <joseph@codesourcery.com>
41802
41803 [BZ #411]
41804 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41805
314054ea
JM
418062012-02-06 Joseph Myers <joseph@codesourcery.com>
41807
41808 * sysdeps/i386/sysdep.h: Include <features.h>.
41809 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41810 version.
41811
d8e0ca50
JM
418122012-02-05 Joseph Myers <joseph@codesourcery.com>
41813
41814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41815 Define.
41816 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41817 LOAD_PIC_REG_STR.
41818
b1da7dd9
JM
418192012-02-03 Joseph Myers <joseph@codesourcery.com>
41820
41821 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41822 (SETUP_PIC_REG): Use GET_PC_THUNK.
41823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41824 macro.
41825
9a1d9254
JM
418262012-02-03 Joseph Myers <joseph@codesourcery.com>
41827
41828 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41829 for non-PIC compilation.
41830 (SETUP_PIC_REG): Add .p2align directive.
41831 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41832 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41833 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41836 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41837 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41845 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41846 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41847 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41848 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41849 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41850 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41857 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41858 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41863 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41864 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41865 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41867 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41868 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41870 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41871 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41872
65dc3b75
JM
418732012-02-03 Joseph Myers <joseph@codesourcery.com>
41874
41875 * math/tst-CMPLX.c: Include <stdio.h>.
41876
d55bf177
JM
418772012-01-31 Joseph Myers <joseph@codesourcery.com>
41878
41879 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41880 float.
41881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41882 * sysdeps/sparc/bits/mathdef.h: Likewise.
41883
69db4f8f
MP
418842012-01-31 Marek Polacek <polacek@redhat.com>
41885
41886 * libio/libio.h: Don't define _PARAMS.
41887 * locale/programs/config.h: Don't define PARAMS.
41888 * stdlib/strtol_l.c: Likewise.
41889 (__strtol_l): Remove PARAMS from the prototype.
41890
41b81892
UD
418912012-01-31 Ulrich Drepper <drepper@gmail.com>
41892
3b49edc0
UD
41893 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41894 names. Just use the correct names. Remove unnecessary wrapper
41895 functions.
41896 * malloc/arena.c: Likewise.
41897 * malloc/hooks.c: Likewise.
41898
41b81892
UD
41899 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41900 ARENA_TEST says not to. Simplify test for creation of a new arena.
41901 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41902
27a25b6e
UD
419032012-01-30 Ulrich Drepper <drepper@gmail.com>
41904
41905 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41906 into tail calls.
41907 (update_get_addr): New function.
41908 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41909 GET_ADDR_MODULE parameter.
41910
c8a89e7d
JM
419112012-01-30 Joseph Myers <joseph@codesourcery.com>
41912
41913 * crypt/cert.c: Remove __STDC__ conditionals.
41914 * crypt/crypt-entry.c: Likewise.
41915 * crypt/crypt_util.c: Likewise.
41916 * libio/filedoalloc.c: Likewise.
41917 * libio/fileops.c: Likewise.
41918 * libio/genops.c: Likewise.
41919 * libio/iofclose.c: Likewise.
41920 * libio/iofdopen.c: Likewise.
41921 * libio/iofopen.c: Likewise.
41922 * libio/iofopen64.c: Likewise.
41923 * libio/iogetdelim.c: Likewise.
41924 * libio/iopopen.c: Likewise.
41925 * libio/obprintf.c: Likewise.
41926 * libio/oldfileops.c: Likewise.
41927 * libio/oldiofclose.c: Likewise.
41928 * libio/oldiofdopen.c: Likewise.
41929 * libio/oldiofopen.c: Likewise.
41930 * libio/oldiopopen.c: Likewise.
41931 * libio/wfiledoalloc.c: Likewise.
41932 * libio/wgenops.c: Likewise.
41933 * locale/programs/xmalloc.c: Likewise.
41934 * misc/syslog.c: Likewise.
41935 * stdio-common/xbug.c: Likewise.
41936 * string/memchr.c: Likewise.
41937 * string/memcmp.c: Likewise.
41938 * string/memrchr.c: Likewise.
41939 * string/rawmemchr.c: Likewise.
41940 * sysdeps/posix/getcwd.c: Likewise.
41941 * time/strftime_l.c: Likewise.
41942
3b100462
JM
419432012-01-30 Joseph Myers <joseph@codesourcery.com>
41944
41945 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41946 * config.make.in (config-cflags-sse2avx): Define.
41947 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41948 Fix typo.
41949
607998af
CM
419502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41951
41952 * scripts/config.guess: Update from upstream config git repository.
41953 * scripts/config.sub: Likewise.
41954
3601428f
CM
419552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41956
3ac8b282
CM
41957 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41958 (EM_NUM): Update.
41959 (R_TILEPRO_*, R_TILEGX_*): New macros.
41960
e034841e
CM
41961 * scripts/firstversions.awk: Fix bug in version range handling.
41962
540d7568
CM
41963 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41964
3601428f
CM
41965 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41966
463de862
CM
41967 * include/sys/epoll.h: New file.
41968 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41969 libc_hidden_def.
41970
73139a76
UD
419712012-01-28 Ulrich Drepper <drepper@gmail.com>
41972
96bc5b45
UD
41973 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41974 Avoid unnecessary __WORDSIZE == 64 test.
41975 (fmaxf): Use VEX format if possible.
41976 (fmax): Likewise.
41977 (fminf): Likewise.
41978 (fmin): Likewise.
41979
56f6f6a2
UD
41980 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41981 * math/math_private.h: Remove libc_fegetround* and
41982 libc_fesetround*.
41983 * sysdeps/i386/configure.in: Check for -msse2avx.
41984 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41985 also if SSE2AVX is defined.
41986 Remove libc_fegetround* and libc_fesetround*.
41987 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41988 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41990 of HAS_YMM_USABLE.
41991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41996
73139a76
UD
41997 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41998
d73f93a4
AZ
419992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42000
42001 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42002 size is not set.
42003 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42004
6ee65ed6
UD
420052012-01-27 Ulrich Drepper <drepper@gmail.com>
42006
42007 [BZ #13618]
42008 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42009 relocation.
42010 * Makeconfig (libm): Define.
42011 * elf/Makefile: Add rules to build and run tst-relsort1.
42012 * elf/tst-relsort1.c: New file.
42013 * elf/tst-relsort1mod1.c: New file.
42014 * elf/tst-relsort1mod2.c: New file.
42015
8db21882
JM
420162012-01-27 Joseph Myers <joseph@codesourcery.com>
42017
42018 * math/s_ldexp.c: Remove __STDC__ conditionals.
42019 * math/s_ldexpf.c: Likewise.
42020 * math/s_ldexpl.c: Likewise.
42021 * math/s_nextafter.c: Likewise.
42022 * math/s_nexttowardf.c: Likewise.
42023 * math/s_significand.c: Likewise.
42024 * math/s_significandf.c: Likewise.
42025 * math/s_significandl.c: Likewise.
42026 * math/w_jnl.c: Likewise.
42027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42033 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42039 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42041 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42042 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42043 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42049 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42050 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42051 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42052 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42054 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42055 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42056 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42057 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42058 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42059 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42061 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42064 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42065 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42066 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42067 * sysdeps/ieee754/k_standard.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42147 * sysdeps/ieee754/s_matherr.c: Likewise.
42148 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42149 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42152
965a54a4
JM
421532012-01-26 Joseph Myers <joseph@codesourcery.com>
42154
42155 * crypt/md5.h: Remove __STDC__ conditionals.
42156 * libio/libioP.h: Likewise.
42157 * locale/programs/config.h: Likewise.
42158 * sysdeps/generic/sysdep.h: Likewise.
42159 * sysdeps/i386/asm-syntax.h: Likewise.
42160 * sysdeps/s390/asm-syntax.h: Likewise.
42161 * sysdeps/unix/sysdep.h: Likewise.
42162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42164
7071ad79
JM
421652012-01-26 Joseph Myers <joseph@codesourcery.com>
42166
42167 * libio/libio.h: Remove __STDC__ conditionals.
42168 * malloc/obstack.h: Likewise.
42169 * math/complex.h: Likewise.
42170 * math/math.h: Likewise.
42171 * sysdeps/generic/_G_config.h: Likewise.
42172 * sysdeps/gnu/_G_config.h: Likewise.
42173 * sysdeps/mach/hurd/_G_config.h: Likewise.
42174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42175 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42176 * sysdeps/sparc/bits/mathdef.h: Likewise.
42177
afc5ed09
UD
421782012-01-26 Ulrich Drepper <drepper@gmail.com>
42179
42180 [BZ #13583]
42181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42182 Clean up HAS_* macros.
afc5ed09 42183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42184 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42185 possible.
42186 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42187 HAS_AVX.
42188 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42189 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42191 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42192 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42193
bdb6de1d
JM
421942012-01-25 Joseph Myers <joseph@codesourcery.com>
42195
42196 * elf/tst-unique3.cc (gets): Remove declaration.
42197 * elf/tst-unique3lib.cc (gets): Likewise.
42198 * elf/tst-unique3lib2.cc (gets): Likewise.
42199 * elf/tst-unique4.cc (gets): Likewise.
42200
b15549e6
UD
422012012-01-24 Ulrich Drepper <drepper@gmail.com>
42202
42203 * include/stdio.h: Add C++ protection. Add gets declarations and
42204 definitions.
42205 * debug/tst-chk1.c: Don't declare gets here.
42206 * stdio-common/tst-gets.c: Likewise.
42207
a037381f
JM
422082012-01-24 Joseph Myers <joseph@codesourcery.com>
42209
42210 * posix/glob: Remove directory.
42211
f1d4aa75
JM
422122012-01-24 Joseph Myers <joseph@codesourcery.com>
42213
42214 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42215
81c0c964
PT
422162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42217
42218 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42219 of the non-standard EPFNOSUPPORT.
42220
0ea698ae
ST
422212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42222
42223 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42224 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42225 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42226
d220b117
UD
422272012-01-21 Ulrich Drepper <drepper@gmail.com>
42228
42229 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42230
3e1aa84e
UD
422312012-01-20 Ulrich Drepper <drepper@gmail.com>
42232
42233 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42234 transient errors.
42235 * nscd/grpcache.c (cache_addgr): Likewise.
42236 * nscd/hstcache.c (cache_addhst): Likewise.
42237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42238 * nscd/pwdcache.c (cache_addpw): Likewise.
42239 * nscd/servicescache.c (cache_addserv): Likewise.
42240
400aa020
UD
422412012-01-16 Ulrich Drepper <drepper@gmail.com>
42242
d77e7869
UD
42243 * malloc/malloc.c: Various cleanups.
42244 * malloc/hooks.c: Likewise.
42245
400aa020
UD
42246 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42247 * stdlib/bug-fmtmsg1.c: New file.
42248
42249 * stdlib/fmtmsg.c (init): Add missing unlock.
42250 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42251
e0a309cf
MP
422522012-01-12 Marek Polacek <polacek@redhat.com>
42253
42254 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42255 and _GNU_SOURCE.
42256
929d11c7
WS
422572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42258
42259 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42260 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42261 macro to ensure uniqueness of label name.
42262 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42263 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42264
41d0e869
UD
422652012-01-11 Ulrich Drepper <drepper@gmail.com>
42266
0cc5ed3b
UD
42267 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42268
41d0e869
UD
42269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42270 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42271 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42273
a47a831a
UD
422742012-01-10 Ulrich Drepper <drepper@gmail.com>
42275
daa891c0
UD
42276 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42277
42278 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42279 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42281
e58ef0f2
UD
42282 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42283
a47a831a 42284 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42285 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42288
42289 * math/bits/math-finite.h: Add ldexp support.
42290
a0bfc9c7
MP
422912012-01-10 Marek Polacek <polacek@redhat.com>
42292
42293 * locale/programs/localedef.h (show_archive_content): Add noreturn
42294 attribute.
42295
d6e97a1d
UD
422962012-01-09 Ulrich Drepper <drepper@gmail.com>
42297
42298 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42299
d5835c26
UD
423002012-01-08 Ulrich Drepper <drepper@gmail.com>
42301
e5f484c6
UD
42302 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42303
d5835c26
UD
42304 * io/Makefile (headers): Add bits/poll2.h.
42305
d1f741e9
WS
423062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42307
42308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42309 typo #include statement.
42310
ec09c1c4
UD
423112012-01-08 Ulrich Drepper <drepper@gmail.com>
42312
42313 * include/sys/cdefs.h: Define __attribute_alloc_size.
42314 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42315 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42316 * elf/pldd.c: Likewise.
42317 * iconv/iconv_charmap.c: Likewise.
42318 * iconv/iconvconfig.c: Likewise.
42319 * iconv/strtab.c: Likewise.
42320 * locale/programs/locale.c: Likewise.
42321 * locale/programs/localedef.h: Likewise.
42322 * locale/programs/simple-hash.c: Likewise.
42323 * nscd/nscd.h: Likewise.
42324 * nss/makedb.c: Likewise.
42325 * sysdeps/generic/ldconfig.h: Likewise.
42326 * locale/programs/localedef.c: Remove xmalloc prototype.
42327 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42328
20b38e03
PP
423292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42330
42331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42332 appropriate.
42333
a0da5fe1
UD
423342012-01-08 Ulrich Drepper <drepper@gmail.com>
42335
1d5a644a 42336 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42337 * math/tst-CMPLX.c: New file.
1d5a644a 42338
8784a6db
UD
42339 * math/complex.h (CMPLXL): Fix typo.
42340
d9a216c0
UD
42341 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42342 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42343 GLIBC_2.16.
42344 * debug/tst-chk1.c: Add poll and ppoll tests.
42345 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42346 * include/sys/poll.h: Add hidden proto for ppoll.
42347 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42348 * sysdeps/mach/hurd/ppoll.c: Likewise.
42349 * io/ppoll.c: Likewise.
42350 * debug/poll_chk.c: New file.
42351 * debug/ppoll_chk.c: New file.
42352 * include/bits/poll2.h: New file.
42353 * io/bits/poll2.h: New file.
42354
ac097f5c
UD
42355 [BZ #1350]
42356 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42357
2119dcfa
UD
42358 * configure.in: static is always set to yes. Remove.
42359 * config.make.in: Don't set build-static.
42360 * Makeconfig: Remove use of build-static.
42361 * dlfcn/Makefile: Likewise.
42362 * elf/Makefile: Likewise.
42363 * math/Makefile: Likewise.
42364 * misc/Makefile: Likewise.
42365 * nptl/Makefile: Likewise.
42366 * sysdeps/mach/hurd/Makefile: Likewise.
42367
121766a9
UD
42368 * configure.in: PWD_P is not used anymore.
42369 * config.make.in: Remove PWD_P entry.
42370
51a1d39c 42371 * configure.in: Remove last remnants of RANLIB.
8720d066 42372 No need to check for signed size_t anymore.
215f4bdc
UD
42373 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42374 and IA-64.
3857022a 42375 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42376 * aclocal.m4: Likewise.
42377
d3ed7225
UD
42378 * wcsmbs/mbrtoc16.c: Implement using towc function.
42379 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42380 * wcsmbs/wcsmbsload.c: Likewise.
42381 * iconv/gconv_simple.c: Likewise.
42382 * iconv/gconv_int.h: Likewise.
42383 * iconv/gconv_builtin.h: Likewise.
42384 * iconv/iconv_prog.c: Remove CHAR16 handling.
42385
42386 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42387
42388 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42389
a0da5fe1
UD
42390 * configure.in: Remove --with-elf and --enable-bounded options.
42391 Dont set base_machine for ia64. More non-ELF conditions removed.
42392 Remove testing and setting of leading underscore information.
42393 * config.make.in (build-bounded): Set to no.
42394 * config.h.in: Remove NO_UNDERSCORES entry.
42395 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42396 them.
42397 * csu/start.c: Remove !NO_UNDERSCORE code.
42398 * locale/localeinfo.h: Likewise.
42399 * sysdeps/generic/machine-gmon.h: Likewise.
42400 * sysdeps/generic/sysdep.h: Likewise.
42401 * sysdeps/i386/sysdep.h: Likewise.
42402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42403 * sysdeps/mach/sysdep.h: Likewise.
42404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42406 * sysdeps/sh/sysdep.h: Likewise.
42407 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42408 * sysdeps/unix/i386/sysdep.S: Likewise.
42409 * sysdeps/unix/sparc/start.c: Likewise.
42410 * sysdeps/unix/sparc/sysdep.S: Likewise.
42411 * sysdeps/unix/sparc/sysdep.h: Likewise.
42412 * sysdeps/unix/start.c: Likewise.
42413 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42414 * sysdeps/x86_64/sysdep.h: Likewise.
42415
df78418a
UD
424162012-01-07 Ulrich Drepper <drepper@gmail.com>
42417
a784e502
UD
42418 [BZ #13553]
42419 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42420 for non-gcc.
42421 * argp/argp-fmtstream.h: Use const instead __const.
42422 * argp/argp.h: Likewise.
42423 * assert/assert.h: Likewise.
42424 * bits/fenv.h: Likewise.
42425 * bits/sched.h: Likewise.
42426 * bits/sigset.h: Likewise.
42427 * bits/sigthread.h: Likewise.
42428 * catgets/nl_types.h: Likewise.
42429 * conform/data/pthread.h-data: Likewise.
42430 * crypt/crypt-private.h: Likewise.
42431 * crypt/crypt.h: Likewise.
42432 * crypt/crypt_util.c: Likewise.
42433 * ctype/ctype.h: Likewise.
42434 * debug/execinfo.h: Likewise.
42435 * debug/mbsnrtowcs_chk.c: Likewise.
42436 * debug/mbsrtowcs_chk.c: Likewise.
42437 * debug/wcsnrtombs_chk.c: Likewise.
42438 * debug/wcsrtombs_chk.c: Likewise.
42439 * debug/wcstombs_chk.c: Likewise.
42440 * dirent/dirent.h: Likewise.
42441 * dlfcn/dlfcn.h: Likewise.
42442 * elf/neededtest4.c: Likewise.
42443 * grp/grp.h: Likewise.
42444 * gshadow/gshadow.h: Likewise.
42445 * iconv/gconv.h: Likewise.
42446 * iconv/gconv_int.h: Likewise.
42447 * iconv/gconv_simple.c: Likewise.
42448 * iconv/iconv.h: Likewise.
42449 * iconv/loop.c: Likewise.
42450 * iconv/skeleton.c: Likewise.
42451 * include/aio.h: Likewise.
42452 * include/aliases.h: Likewise.
42453 * include/argz.h: Likewise.
42454 * include/arpa/inet.h: Likewise.
42455 * include/assert.h: Likewise.
42456 * include/dirent.h: Likewise.
42457 * include/dlfcn.h: Likewise.
42458 * include/execinfo.h: Likewise.
42459 * include/fcntl.h: Likewise.
42460 * include/fenv.h: Likewise.
42461 * include/glob.h: Likewise.
42462 * include/grp.h: Likewise.
42463 * include/libintl.h: Likewise.
42464 * include/mntent.h: Likewise.
42465 * include/netdb.h: Likewise.
42466 * include/pwd.h: Likewise.
42467 * include/rpc/netdb.h: Likewise.
42468 * include/sched.h: Likewise.
42469 * include/search.h: Likewise.
42470 * include/shadow.h: Likewise.
42471 * include/signal.h: Likewise.
42472 * include/stdio.h: Likewise.
42473 * include/stdlib.h: Likewise.
42474 * include/string.h: Likewise.
42475 * include/sys/socket.h: Likewise.
42476 * include/sys/stat.h: Likewise.
42477 * include/sys/statfs.h: Likewise.
42478 * include/sys/statvfs.h: Likewise.
42479 * include/sys/syslog.h: Likewise.
42480 * include/sys/time.h: Likewise.
42481 * include/sys/uio.h: Likewise.
42482 * include/time.h: Likewise.
42483 * include/unistd.h: Likewise.
42484 * include/utmp.h: Likewise.
42485 * include/wchar.h: Likewise.
42486 * include/wctype.h: Likewise.
42487 * inet/aliases.h: Likewise.
42488 * inet/arpa/inet.h: Likewise.
42489 * inet/netinet/ether.h: Likewise.
42490 * inet/netinet/in.h: Likewise.
42491 * intl/libintl.h: Likewise.
42492 * io/bits/fcntl2.h: Likewise.
42493 * io/fcntl.h: Likewise.
42494 * io/ftw.h: Likewise.
42495 * io/sys/poll.h: Likewise.
42496 * io/sys/stat.h: Likewise.
42497 * io/sys/statfs.h: Likewise.
42498 * io/sys/statvfs.h: Likewise.
42499 * io/utime.h: Likewise.
42500 * libio/bits/stdio.h: Likewise.
42501 * libio/bits/stdio2.h: Likewise.
42502 * libio/libio.h: Likewise.
42503 * libio/libioP.h: Likewise.
42504 * libio/stdio.h: Likewise.
42505 * locale/lc-ctype.c: Likewise.
42506 * locale/locale.h: Likewise.
42507 * login/utmp.h: Likewise.
42508 * malloc/arena.c: Likewise.
42509 * malloc/malloc.c: Likewise.
42510 * malloc/malloc.h: Likewise.
42511 * malloc/mcheck.c: Likewise.
42512 * malloc/mtrace.c: Likewise.
42513 * math/bits/mathcalls.h: Likewise.
42514 * math/fenv.h: Likewise.
42515 * math/math_private.h: Likewise.
42516 * misc/bits/error.h: Likewise.
42517 * misc/bits/syslog.h: Likewise.
42518 * misc/err.h: Likewise.
42519 * misc/error.h: Likewise.
42520 * misc/fstab.h: Likewise.
42521 * misc/mntent.h: Likewise.
42522 * misc/regexp.h: Likewise.
42523 * misc/search.h: Likewise.
42524 * misc/sgtty.h: Likewise.
42525 * misc/sys/mman.h: Likewise.
42526 * misc/sys/syslog.h: Likewise.
42527 * misc/sys/uio.h: Likewise.
42528 * misc/sys/xattr.h: Likewise.
42529 * misc/ttyent.h: Likewise.
42530 * nis/rpcsvc/ypclnt.h: Likewise.
42531 * nss/nss.h: Likewise.
42532 * posix/bits/unistd.h: Likewise.
42533 * posix/fnmatch.h: Likewise.
42534 * posix/glob.h: Likewise.
42535 * posix/sched.h: Likewise.
42536 * posix/spawn.h: Likewise.
42537 * posix/sys/wait.h: Likewise.
42538 * posix/unistd.h: Likewise.
42539 * posix/wordexp.h: Likewise.
42540 * pwd/pwd.h: Likewise.
42541 * resolv/netdb.h: Likewise.
42542 * resource/sys/resource.h: Likewise.
42543 * rt/aio.h: Likewise.
42544 * rt/bits/mqueue2.h: Likewise.
42545 * rt/mqueue.h: Likewise.
42546 * shadow/shadow.h: Likewise.
42547 * signal/signal.h: Likewise.
42548 * socket/send.c: Likewise.
42549 * socket/sendto.c: Likewise.
42550 * socket/sys/socket.h: Likewise.
42551 * stdio-common/printf.h: Likewise.
42552 * stdlib/bits/stdlib.h: Likewise.
42553 * stdlib/fmtmsg.h: Likewise.
42554 * stdlib/monetary.h: Likewise.
42555 * stdlib/stdlib.h: Likewise.
42556 * stdlib/ucontext.h: Likewise.
42557 * streams/stropts.h: Likewise.
42558 * string/argz.h: Likewise.
42559 * string/bits/string2.h: Likewise.
42560 * string/string.h: Likewise.
42561 * string/strings.h: Likewise.
42562 * sunrpc/rpc/auth.h: Likewise.
42563 * sunrpc/rpc/auth_des.h: Likewise.
42564 * sunrpc/rpc/clnt.h: Likewise.
42565 * sunrpc/rpc/netdb.h: Likewise.
42566 * sunrpc/rpc/pmap_clnt.h: Likewise.
42567 * sunrpc/rpc/xdr.h: Likewise.
42568 * sysdeps/generic/inttypes.h: Likewise.
42569 * sysdeps/generic/net/if.h: Likewise.
42570 * sysdeps/generic/sys/swap.h: Likewise.
42571 * sysdeps/gnu/net/if.h: Likewise.
42572 * sysdeps/gnu/utmpx.h: Likewise.
42573 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42574 * sysdeps/i386/i486/bits/string.h: Likewise.
42575 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42576 * sysdeps/s390/bits/string.h: Likewise.
42577 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42578 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42579 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42580 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42581 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42582 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42583 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42584 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42585 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42586 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42587 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42588 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42589 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42590 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42591 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42592 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42593 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42597 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42598 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42599 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42600 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42601 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42602 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42603 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42605 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42607 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42608 * sysvipc/sys/ipc.h: Likewise.
42609 * sysvipc/sys/msg.h: Likewise.
42610 * sysvipc/sys/sem.h: Likewise.
42611 * sysvipc/sys/shm.h: Likewise.
42612 * termios/termios.h: Likewise.
42613 * time/sys/time.h: Likewise.
42614 * time/time.h: Likewise.
42615 * wcsmbs/bits/wchar2.h: Likewise.
42616 * wcsmbs/uchar.h: Likewise.
42617 * wcsmbs/wchar.h: Likewise.
42618 * wctype/wctype.h: Likewise.
42619
0269750c
UD
42620 [BZ #13551]
42621 * Makeconfig: Remove all but ELF support including AIX support.
42622 * Makerules: Likewise.
42623 * config.h.in: Likewise.
42624 * config.make.in: Likewise.
42625 * configure: Likewise.
42626 * configure.in: Likewise.
42627 * csu/Makefile: Likewise.
42628 * csu/version.c: Likewise.
42629 * debug/Makefile: Likewise.
42630 * dlfcn/Makefile: Likewise.
42631 * elf/Makefile: Likewise.
42632 * extra-lib.mk: Likewise.
42633 * iconv/Makefile: Likewise.
42634 * include/libc-symbols.h: Likewise.
42635 * include/shlib-compat.h: Likewise.
42636 * resolv/Makefile: Likewise.
42637 * resolv/res_libc.c: Likewise.
42638 * rt/Makefile: Likewise.
42639 * sysdeps/i386/asm-syntax.h: Likewise.
42640 * sysdeps/i386/sysdep.h: Likewise.
42641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42642 * sysdeps/mach/sysdep.h: Likewise.
42643 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42644 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42645 * sysdeps/s390/asm-syntax.h: Likewise.
42646 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42648 * sysdeps/sh/sysdep.h: Likewise.
42649 * sysdeps/unix/sparc/sysdep.h: Likewise.
42650 * sysdeps/wordsize-32/divdi3.c: Likewise.
42651 * sysdeps/x86_64/sysdep.h: Likewise.
42652
00bbd29b
UD
42653 * argp/Versions: Remove _argp_unlock_xxx.
42654
42655 [BZ #13559]
42656 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42657 * abilist/libBrokenLocale.abilist: Likewise.
42658 * abilist/libanl.abilist: Likewise.
42659 * abilist/libc.abilist: Likewise.
42660 * abilist/libcrypt.abilist: Likewise.
42661 * abilist/libdl.abilist: Likewise.
42662 * abilist/libm.abilist: Likewise.
42663 * abilist/libnsl.abilist: Likewise.
42664 * abilist/libpthread.abilist: Likewise.
42665 * abilist/libresolv.abilist: Likewise.
42666 * abilist/librt.abilist: Likewise.
42667 * abilist/libthread_db.abilist: Likewise.
42668 * abilist/libutil.abilist: Likewise.
42669 * abilist/libnss_db.abilist: New file.
42670
42671 * scripts/abilist.awk: Add support for indirect functions.
42672
a2693a0e
UD
42673 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42674
3f05895f
UD
42675 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42676
ecb6fb48
UD
42677 * shlib-versions: Remove entries for ports architectures.
42678
664f8cb9
UD
42679 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42680 files in ports.
42681 * elf/stackguard-macros.h: Remove support for IA-64.
42682 * elf/tst-auditmod1.c: Likewise.
42683 * sysdeps/generic/ldsodefs.h: Likewise.
42684
7ae81d88
UD
42685 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42686 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42687 configure files.
42688
bdeba135
UD
42689 [BZ #13552]
42690 * configure.in: Remove --enable-omitfp support.
42691 * FAQ.in: Adjust.
42692 * config.make.in: Likewise.
42693 * Makeconfig: Likewise.
42694 * manual/install.texi: Likewise.
42695
d75a0a62
UD
42696 In case anyone cares, the IA-64 architecture could move to ports.
42697 * sysdeps/ia64/*: Removed.
42698 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42699 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42700
dcc9756b
UD
42701 [BZ #13555]
42702 * configure.in: Remove entries for unsupported architectures.
42703
d3761ebc 42704 [BZ #13533]
9954432e
UD
42705 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42706 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42707 routines.
42708 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42709 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42710 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42711 fall back to using wcrtomb.
42712 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42713 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42714 renaming.
42715 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42716 * wcsmbs/tst-c16c32-1.c: New file.
42717
42718 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42719 local variable.
42720
c3a87236
UD
42721 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42722
28926a1b
UD
42723 * elf/tst-unique3.cc: Add explicit declaration of gets.
42724 * elf/tst-unique3lib.cc: Likewise.
42725 * elf/tst-unique3lib2.cc: Likewise.
42726 * elf/tst-unique4.cc: Likewise.
42727
df78418a
UD
42728 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42729
8ecd6b2a
JM
427302012-01-06 Joseph Myers <joseph@codesourcery.com>
42731
42732 [BZ #13566]
42733 * assert/assert.h (static_assert): Don't define for C++.
42734 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42735 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42736
9f115170
UD
427372012-01-03 Ulrich Drepper <drepper@gmail.com>
42738
5e0d0300
UD
42739 * iconv/loop.c (single loop): Fix assertion in storing of
42740 remaining bytes.
42741
9f115170
UD
42742 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42743
81fb02b0
UD
427442012-01-01 Ulrich Drepper <drepper@gmail.com>
42745
42746 * posix/getconf.c: Update copyright year.
42747 * nss/getent.c: Likewise.
a316c1f6 42748 * nss/makedb.c: Likewise.
81fb02b0
UD
42749 * iconv/iconvconfig.c: Likewise.
42750 * iconv/iconv_prog.c: Likewise.
42751 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42752 * elf/pldd.c: Likewise.
42753 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42754 * catgets/gencat.c: Likewise.
42755 * csu/version.c: Likewise.
42756 * elf/ldd.bash.in: Likewise.
42757 * elf/sprof.c (print_version): Likewise.
42758 * locale/programs/locale.c: Likewise.
42759 * locale/programs/localedef.c: Likewise.
a316c1f6 42760 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42761 * nscd/nscd.c (print_version): Likewise.
42762 * debug/xtrace.sh: Likewise.
42763 * malloc/memusage.sh: Likewise.
42764 * malloc/mtrace.pl: Likewise.
42765 * debug/catchsegv.sh: Likewise.
42766
2ba92745
JJ
427672011-12-30 Jakub Jelinek <jakub@redhat.com>
42768
42769 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42770 pure attribute.
42771
dadebdae
UD
427722011-12-24 Ulrich Drepper <drepper@gmail.com>
42773
d3761ebc 42774 [BZ #13533]
db6af3eb
UD
42775 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42776 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42777 transformations.
42778 * iconv/gconv_int.h: Likewise.
42779 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42780 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42781 from libc for GLIBC_2.16.
42782 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42783 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42784 * wcsmbs/uchar.h: Really define mbstate_t.
42785 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42786 * wcsmbs/c16rtomb.c: New file.
42787 * wcsmbs/mbrtoc16.c: New file.
42788 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42789 for C/POSIX locale.
42790 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42791 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42792
dadebdae
UD
42793 * wcsmbs/wchar.h: Add missing __restrict.
42794
67371b56
UD
427952011-12-23 Ulrich Drepper <drepper@gmail.com>
42796
74033a25
UD
42797 [BZ #13532]
42798 * time/Makefile (routines): Add timespec_get.
42799 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42800 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42801 timespec for ISO C11.
42802 * time/timespec_get.c: New file.
42803 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42804 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42805
380d7e87
UD
42806 [BZ #13531]
42807 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42808 * stdlib/stdlib.h: Declare aligned_alloc.
42809 * Versions.def: Add GLIBC_2.16 for libc.
42810 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42811
4e9e7a35
UD
42812 [BZ 13527]
42813 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42814 ISO C11.
42815
380d7e87 42816 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42817 code.
42818
03a71829
UD
42819 [BZ #13528]
42820 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42821
839e283e
UD
42822 [BZ #13529]
42823 * assert/assert.h (static_assert): Define.
42824
ce5294e2 42825 * version.h: Update for 2.16 development version.
90fa7312 42826
8d44e150 42827 [BZ #13526]
d7809905
UD
42828 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42829 _ISOC11_SOURCE.
42830
c0da14cd
UD
42831 * version.h (RELEASE): Bump for 2.15 release.
42832 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42833
530a3249
MP
42834 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42835 Patch by Marek Polacek <mpolacek@redhat.com>.
42836
67371b56
UD
42837 * bits/byteswap.h: Protect long long constants with __extension__.
42838 * sysdeps/i386/bits/byteswap.h: Likewise.
42839 * sysdeps/ia64/bits/byteswap.h: Likewise.
42840 * sysdeps/s390/bits/byteswap.h: Likewise.
42841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42842
15db4de1
LD
428432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42844
42845 [BZ #13540]
bbe315ea
LD
42846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42847 destination buffer.
15db4de1
LD
42848 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42849
2b2596b1
MP
428502011-12-23 Marek Polacek <polacek@redhat.com>
42851
42852 * elf/dl-addr.c (determine_info): Add inline keyword.
42853 * elf/tst-auditmod4b.c (check_avx): Likewise.
42854 * elf/tst-auditmod6b.c (check_avx): Likewise.
42855 * elf/tst-auditmod6c.c (check_avx): Likewise.
42856 * elf/tst-auditmod7b.c (check_avx): Likewise.
42857
70c6c246
UD
428582011-12-23 Ulrich Drepper <drepper@gmail.com>
42859
42860 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42861 !__SSE_MATH__.
42862
c044cf14
LD
428632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42864
15db4de1 42865 [BZ #13540]
c044cf14
LD
42866 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42867 processing for last bytes.
42868
6b13d9d9
BH
428692011-08-06 Bruno Haible <bruno@clisp.org>
42870
d455f537
BH
42871 [BZ #13061]
42872 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42873 U+0385, not to U+1FEE.
42874
6b13d9d9
BH
42875 [BZ #13062]
42876 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42877 entry for U+00A5 U+0301.
42878
db910efd
UD
428792011-12-22 Ulrich Drepper <drepper@gmail.com>
42880
27deeafc
UD
42881 [BZ #13166]
42882 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42883 buffer for the output is too small.
42884
aed9d171
UD
42885 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42886 optimization.
42887
db910efd
UD
42888 [BZ #13185]
42889 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42890 SSE flags if possible.
42891
2bd779ae
LD
428922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42893
e7f9dac3 42894 [BZ #13540]
2bd779ae
LD
42895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42896 processing for last bytes.
42897
154bfc16
JM
428982011-12-22 Joseph Myers <joseph@codesourcery.com>
42899
42900 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42901 (syscall-list-default-options, syscall-list-default-condition)
42902 (syscall-list-includes): Define.
42903 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42904 list of ABIs and options and #if conditions for each ABI. Do not
42905 handle common syscalls between ABIs specially.
42906 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42907 Remove.
42908 (syscall-list-variants, syscall-list-32bit-options)
42909 (syscall-list-32bit-condition, syscall-list-64bit-options)
42910 (syscall-list-64bit-condition): Define.
42911 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42912 (syscall-list-variants, syscall-list-32bit-options)
42913 (syscall-list-32bit-condition, syscall-list-64bit-options)
42914 (syscall-list-64bit-condition): Define.
42915 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42916 Remove.
42917 (syscall-list-variants, syscall-list-32bit-options)
42918 (syscall-list-32bit-condition, syscall-list-64bit-options)
42919 (syscall-list-64bit-condition): Define.
42920 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42921 Remove.
42922 (syscall-list-variants, syscall-list-32bit-options)
42923 (syscall-list-32bit-condition, syscall-list-64bit-options)
42924 (syscall-list-64bit-condition): Define.
42925
21eaf3a5
UD
429262011-12-22 Ulrich Drepper <drepper@gmail.com>
42927
16c6f992
UD
42928 * locale/iso-639.def: Add brx entry.
42929
41043168
UD
42930 [BZ #13328]
42931 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42932 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42933
21eaf3a5
UD
42934 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42935 __feraiseexcept_renamed.
42936
e3a851a2
UD
429372011-12-21 Ulrich Drepper <drepper@gmail.com>
42938
4920765e
UD
42939 [BZ #13538]
42940 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42941 EPOLLET with unsigned values.
42942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42943 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42944
e3a851a2
UD
42945 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42946 to large cancellation.
42947 * math/s_cacoshf.c: Likewise.
42948 * math/s_cacoshl.c: Likewise.
42949
b27e24b8
RK
429502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42951
42952 [BZ #13305]
aebefeee 42953 [BZ #12786]
b27e24b8
RK
42954 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42955 * math/s_cacoshf.c: Likewise.
42956 * math/s_cacoshl.c: Likewise.
42957
ee190f67
UD
429582011-12-21 Ulrich Drepper <drepper@gmail.com>
42959
42960 [BZ #13439]
42961 * iconv/gconv.h: Define __GCONV_SWAP.
42962 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42963 * iconvdata/utf-16.c: Likewise.
42964 * iconvdata/utf-32.c: Likewise.
42965
707f25df
AS
429662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42967
42968 [BZ #13524]
42969 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42970 numerator after shifting it by one limb.
42971
d2daaa1e
RÁE
429722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42973
42974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42975 under [__USE_EXTERN_INLINES].
42976
a4647e72
UD
429772011-12-17 Ulrich Drepper <drepper@gmail.com>
42978
42979 [BZ #13446]
42980 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42981
f0b264f1
AZ
429822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42983
42984 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42985 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42986 optimized code.
42987 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42989 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42990 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42991 for strncasecmp/strncasecmp_l compilation.
42992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42993 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42994
8ef4f244
MP
429952011-12-08 Marek Polacek <mpolacek@redhat.com>
42996
42997 [BZ #13484]
42998 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42999 of __asm__.
43000
97ac2654
UD
430012011-12-17 Ulrich Drepper <drepper@gmail.com>
43002
43003 [BZ #13506]
43004 * time/tzfile.c (__tzfile_read): Check values from file header.
43005
91d2a845
WS
430062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43007
43008 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43009 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43010 * powerpc/powerpc32/dl-start.S: Likewise.
43011 * powerpc/powerpc32/elf/start.S: Likewise.
43012 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43013 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43014 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43015 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43016 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43017 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43018 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43019 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43020 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43021 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43022 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43023 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43024 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43025 * powerpc/powerpc32/memset.S: Likewise.
43026 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43027 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43028 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43029 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43030 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43031 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43032 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43033 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43034 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43035 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43036 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43037 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43038 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43039
a1267ba1
AZ
430402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43041
43042 * math/libm-test.inc: Added more nearbyint tests.
43043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43047
ad8ac1bd
RL
430482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43049
43050 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43051 FD_CLOEXEC.
43052
1d3e4b61
UD
430532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43054
43055 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43056 Add wcscpy-ssse3 wcscpy-c.
43057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43058 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43059 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43060 * sysdeps/x86_64/wcschr.S: New file.
43061 * sysdeps/x86_64/wcsrchr.S: New file.
43062 * string/test-strcmp.c: Remove checking of wcscmp function for
43063 wrong alignments.
43064 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43065 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43066 wcsrchr-sse2 wcsrchr-c.
43067 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43068 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43069 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43070 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43071 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43072 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43073 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43074 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43076 * wcsmbc/wcschr.c (WCSCHR): New macro.
43077
5b330a2d
UD
430782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43079
43080 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43081 * wcsmbs/test-wcsrchr.c: New file.
43082 * string/test-strrchr.c: Add wcsrchr support.
43083 (WIDE): New macro.
43084 * wcsmbs/test-wcscpy.c: New file.
43085 * string/test-strcpy.c: Add wcscpy support.
43086 (WIDE): New macro.
26428b7c 43087
f039c043
UD
430882011-12-10 Ulrich Drepper <drepper@gmail.com>
43089
43090 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43091 the inner loop.
43092
850fb039
AS
430932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43094
43095 [BZ #13472]
43096 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43097
4efbd5cb
UD
430982011-12-04 Ulrich Drepper <drepper@gmail.com>
43099
52ff5dd0 43100 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43101 Minor optimizations.
52ff5dd0 43102
4efbd5cb
UD
43103 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43104 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43105 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43106
8a426e12
UD
431072011-12-03 Ulrich Drepper <drepper@gmail.com>
43108
aff2453d
UD
43109 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43110 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43111 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43112 for gcc to avoid warnings.
43113 * inet/Makefile (tests): Add tst-checks.
43114 * inet/tst-checks.c: New file.
43115
43116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43117 warning.
43118
43119 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43120 __wmemcmp_sse2.
43121
43122 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43123 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43124
8a426e12
UD
43125 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43126
9bea3473
UD
431272011-12-02 Ulrich Drepper <drepper@gmail.com>
43128
3a965496
UD
43129 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43130 problem.
43131
9bea3473
UD
43132 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43133
f101631b
UD
431342011-11-29 Joseph Myers <joseph@codesourcery.com>
43135
43136 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43137 conditional on GCC version.
43138 (__arch_compare_and_exchange_val_8_acq)
43139 (__arch_compare_and_exchange_val_16_acq)
43140 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43141 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43142 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43143
a98275aa
UD
431442011-12-02 Joseph Myers <joseph@codesourcery.com>
43145
43146 * sysdeps/sh/backtrace.c: New file.
43147
d4cc29a2
AS
431482011-12-02 Andreas Schwab <schwab@redhat.com>
43149
43150 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43151 parenthesis.
43152
6257af2d
AS
431532011-12-01 Andreas Schwab <schwab@redhat.com>
43154
43155 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43156 falling back to utime.
43157
b5f44c1a
AS
431582011-11-30 Andreas Schwab <schwab@redhat.com>
43159
43160 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43161 expectations for float.
43162
f3a6cc0a
AS
431632011-11-29 Andreas Schwab <schwab@redhat.com>
43164
43165 * locale/weight.h (findidx): Add parameter len.
43166 * locale/weightwc.h (findidx): Likewise.
43167 * posix/fnmatch_loop.c (FCT): Adjust caller.
43168 * posix/regcomp.c (build_equiv_class): Likewise.
43169 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43170 * posix/regexec.c (check_node_accept_bytes): Likewise.
43171 * string/strcoll_l.c (STRCOLL): Likewise.
43172 * string/strxfrm_l.c (STRXFRM): Likewise.
43173
9d65ea3a
UD
431742011-11-17 Ulrich Drepper <drepper@gmail.com>
43175
43176 * Makefile.in: Remove CVSOPT handling.
43177 * configure.in: Remove use of AC_REVISION.
43178 * iconvdata/Makefile (distribute): No need to filter out CVS.
43179 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43180 handling.
43181
5583a086
AS
431822011-11-16 Andreas Schwab <schwab@redhat.com>
43183
43184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43185 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43186 [USE_AS_STRNCASECMP_L]: Likewise.
43187 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43188 NO_TLS_DIRECT_SEG_REFS.
43189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43190 Fix argument offsets for non-PIC.
43191 [USE_AS_STRNCASECMP_L]: Likewise.
43192 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43193 NO_TLS_DIRECT_SEG_REFS.
43194
d62a8200
UD
431952011-11-15 Ulrich Drepper <drepper@gmail.com>
43196
9d65ea3a 43197 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43198 O_CLOEXEC.
43199 * locale/loadlocale.c (_nl_load_locale): Likewise.
43200
09f93bd3
AS
432012011-11-15 Andreas Schwab <schwab@redhat.com>
43202
446514f9
AS
43203 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43204 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43206 (SYSCALL_GETTIME): Set errno on error.
43207
09f93bd3
AS
43208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43209 count references to noai6ai_cached.
43210
312be3f9
UD
432112011-11-15 Ulrich Drepper <drepper@gmail.com>
43212
43213 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43214
43215 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43216 FD_CLOEXEC for /proc/self/maps.
43217
43218 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43219 FD_CLOEXEC for /proc/meminfo.
43220
43221 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43222 gai.conf.
43223
43224 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43225 FD_CLOEXEC for given file.
43226
43227 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43228
43229 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43230 FD_CLOEXEC for /etc/hosts.
43231 (_gethtent): Likewise.
43232
43233 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43234
43235 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43236 cancellation and set FD_CLOEXEC for /etc/netgroup.
43237
43238 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43239 reading /etc/publickey.
43240
43241 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43242 allow cancellation when reading /etc/group.
43243
43244 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43245 cancellation.
43246 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43247
43248 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43249 when using data file.
43250
43251 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43252
43253 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43254 (write_nis_obj): Use "c" and "e" in fopen.
43255
43256 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43257
43258 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43259
43260 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43261
43262 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43263
43264 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43265 locale.alias.
43266
43267 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43268
43269 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43270
43271 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43272
43273 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43274 file parsing and set FD_CLOEXEC.
43275
82af0fa8
UD
432762011-11-14 Ulrich Drepper <drepper@gmail.com>
43277
43278 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43279
a5fb313c
AS
432802011-11-14 Andreas Schwab <schwab@redhat.com>
43281
43282 * malloc/arena.c (arena_get2): Don't call reused_arena when
43283 _int_new_arena failed.
43284
6abf3465
UD
432852011-11-14 Ulrich Drepper <drepper@gmail.com>
43286
43287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43288 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43289 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43290 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43291 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43292 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43293 to compile strcasecmp and strncasecmp.
43294 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43295 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43296
43297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43298
76e3966e
UD
432992011-11-13 Ulrich Drepper <drepper@gmail.com>
43300
43301 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43302 locale-defines.sym to gen-as-const-headers.
43303 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43304 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43306 to compile strcasecmp and strncasecmp.
43307 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43308 strcasecmp_l and strncasecmp_l.
43309 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43310 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43311 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43312 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43313 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43314 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43315 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43316 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43317 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43318 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43319 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43320
ab26144e
UD
433212011-11-12 Ulrich Drepper <drepper@gmail.com>
43322
7edb22ef
UD
43323 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43324 result of SYSDEP_GETTIME_CPU to retval.
43325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43326 parameter list to macro. Remove trailing semicolon. Adjust users.
43327
9694fc44
UD
43328 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43329 variable.
43330
8ad89ef8
UD
43331 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43332 mantissa words.
43333 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43334
0c822ef9
UD
43335 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43336 from unused variable.
43337
874e0564
UD
43338 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43339 DWARF definitions.
43340 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43341 for assembling.
43342
3a2edc79
UD
43343 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43344 over namespaces.
43345
f3c2577f
UD
43346 * sunrpc/rpc_prot.c (rejected): Fix case value.
43347
294ce126
UD
43348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43349 unsigned long long int to avoid warnings in shift.
43350
5e2b63c6
UD
43351 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43352 of use of trans.
43353 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43354 variable tmp.
43355
e7f4b08e
UD
43356 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43357 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43359
ab26144e
UD
43360 * nis/nis_table.c (nis_list): Use variable of correct type for
43361 result of __follow_path call.
43362
8a6d5255
AZ
433632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43364
43365 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43366 of math functions ceil, trunc, floor, round, and sqrt, when
43367 avaliable on the platform.
43368 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43369 name clash.
43370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43373
aaddc98c
MP
433742011-10-30 Marek Polacek <mpolacek@redhat.com>
43375
43376 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43378
95b7042b
RM
433792011-11-11 Roland McGrath <roland@hack.frob.com>
43380
43381 * include/unistd.h: Fix __readlink return type.
43382 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43383
57769839
UD
433842011-11-11 Ulrich Drepper <drepper@gmail.com>
43385
43386 * stdlib/ucontext.h: Undo last change for makecontext.
43387
edc5984d
AS
433882011-11-11 Andreas Schwab <schwab@redhat.com>
43389
98591e58
AS
43390 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43391
edc5984d
AS
43392 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43393 * setjmp/setjmp.h: Mark functions as non-leaf.
43394 * setjmp/bits/setjmp2.h: Likewise.
43395 * stdlib/ucontext.h: Likewise.
43396
77cdc054
AS
433972011-11-10 Andreas Schwab <schwab@redhat.com>
43398
43399 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43400 (reused_arena): Don't check arena limit.
43401 (arena_get2): Atomically check arena limit.
43402
fe72eebd
UD
434032011-11-08 Ulrich Drepper <drepper@gmail.com>
43404
5f078c32
UD
43405 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43406 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43407
fe72eebd
UD
43408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43409 instructions.
43410
ae1bc2fa
AS
434112011-11-07 Andreas Schwab <schwab@redhat.com>
43412
7583a88d
AS
43413 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43414 handler when locking.
43415
ae1bc2fa
AS
43416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43417 Fix size of allocated buffer.
43418
10fb0bfa
AS
434192011-11-04 Andreas Schwab <schwab@redhat.com>
43420
998832a4
AS
43421 [BZ #10103]
43422 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43423 declarations for long double functions.
43424 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43425
10fb0bfa
AS
43426 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43427
3d7ba52b
AS
434282011-11-03 Andreas Schwab <schwab@redhat.com>
43429
a9ae54a1
AS
43430 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43431 installed.
43432
3d7ba52b
AS
43433 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43434 is disabled.
43435
bc8db248
ST
434362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43437
43438 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43439
45b96dd6
AS
434402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43441
647776f6
AS
43442 * include/alloca.h (stackinfo_alloca_round): Define.
43443 (extend_alloca): Use it.
43444 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43445 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43446 here.
43447
d91a8b93
AS
43448 * scripts/check-local-headers.sh: Ignore libaudit.h.
43449
45b96dd6
AS
43450 * nscd/Makefile (extra-objs): Make recursively expanded.
43451
432d41ce
UD
434522011-11-01 Ulrich Drepper <drepper@gmail.com>
43453
34372fc6
UD
43454 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43456
fadb59f8
UD
43457 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43458 * posix/tst-rfc3484-2.c: Likewise.
43459 * posix/tst-rfc3484-3.c: Likewise.
43460
78239589
UD
43461 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43462 process_vm_writev.
43463 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43464 process_vm_writev.
43465 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43466 process_vm_writev from libc using GLIBC_2.15 version.
43467
432d41ce
UD
43468 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43469
02f9c6cf
PP
434702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43471
43472 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43473 stack usage.
43474
3a2c0242
UD
434752011-10-31 Ulrich Drepper <drepper@gmail.com>
43476
f4ec4833
UD
43477 [BZ #13367]
43478 * nss/getent.c (initgroups_keys): Show error message in case no group
43479 names are given.
43480
3a2c0242
UD
43481 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43482 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43483 __bump_nl_timestamp.
43484 * nscd/connections (nscd_init): When host database is served open
43485 netlink socket and request notification about configuration changes.
43486 (main_loop_poll): Track netlink file descriptor and bump timestamp
43487 in case data becomes available.
43488 (main_loop_epoll): Likewise.
43489 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43490 (database_pers_head): Add extra_data fileds.
43491 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43493 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43494 Adjust caller.
43495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43496 in6ai data, call __free_in6ai.
43497 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43498 Add -DHAVE_NETLINK.
43499 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43500 interface information. Reuse previous data if netlink timestamp
43501 is not changed.
43502 (__bump_nl_timestamp): New function.
43503 (__free_in6ai): New function.
43504
636064eb
UD
435052011-10-30 Ulrich Drepper <drepper@gmail.com>
43506
43507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43508 close_not_cancel_no_status here.
43509 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43510
9beb2334
UD
435112011-10-29 Ulrich Drepper <drepper@gmail.com>
43512
6ef76f3b
UD
43513 [BZ #13276]
43514 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43515 return value.
43516
0ffc4f3e 43517 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43518 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43519 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43520
cb95113e
UD
435212011-07-03 Andreas Jaeger <aj@suse.de>
43522
43523 [BZ #10709]
43524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43525 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43526 * math/libm-test.inc (sin_test): Add test case.
43527
a1b560ff
UD
435282011-10-29 Ulrich Drepper <drepper@gmail.com>
43529
c9aaface
UD
43530 [BZ #13337]
43531 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43532 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43533
d272e7f1
UD
43534 * elf/chroot_canon.c (chroot_canon): Cleanups.
43535
1bc33071
UD
43536 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43537
1760874d
TJ
43538 [BZ #13335]
43539 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43540 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43541
51d91b18
UD
43542 * string/test-strchr.c: Make usable for strchrnul testing.
43543 * string/test-strchrnul.c: New file.
43544 * string/Makefile (strop-tests): Add strchrnul.
43545
a1b560ff 43546 * po/it.po: Update from translation team.
b611fb81 43547 * po/es.po: Likewise.
a1b560ff 43548
a5b81e1f
UD
435492011-10-28 Ulrich Drepper <drepper@gmail.com>
43550
fd52bc6d
UD
43551 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43552 the three constants needed as parameters. Drop the others.
43553 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43554 __m128i_strloadu_tolower.
52e4b9eb
UD
43555 Create and initialize variable zero and use it in all the places
43556 where _mm_setzero_si128 was used.
fd52bc6d 43557
a5b81e1f
UD
43558 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43559 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43560 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43562 anymore.
43563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43564 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43565 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43566 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43567 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43568 __mpranred, __mptan.
43569 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43570 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43571 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43572 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43573 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43574 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43576 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43577 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43578
b4343346
AS
435792011-10-28 Andreas Schwab <schwab@redhat.com>
43580
0c92d8a8
AS
43581 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43582 redefine if SHARED.
43583 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43584
b4343346
AS
43585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43586 wide char related routines to wcsmbs subdir.
43587
3871f58f
AS
435882011-10-27 Andreas Schwab <schwab@redhat.com>
43589
43590 [BZ #13344]
43591 * misc/sys/cdefs.h (__THROWNL): Define.
43592 * posix/unistd.h: Use __THREADNL instead of __THREAD
43593 for memory synchronization functions.
43594
94d44d9f
RM
435952011-10-26 Roland McGrath <roland@hack.frob.com>
43596
21b64b15 43597 [BZ #13349]
94d44d9f
RM
43598 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43599 doesn't exist.
43600 * manual/stdio.texi (Obstack Streams): Node removed.
43601
f6ce9294
AS
436022011-10-26 Andreas Schwab <schwab@redhat.com>
43603
80479147
AS
43604 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43606 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43607
f6ce9294
AS
43608 * math/math_private.h (math_force_eval): Allow non-addressable
43609 arguments.
43610 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43611
618280a1
UD
436122011-10-25 Ulrich Drepper <drepper@gmail.com>
43613
e0016b11
UD
43614 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43615 file is not needed.
43616
43617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43624 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43625 Add AVX variants.
43626 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43627 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43628 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43629 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43630 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43631 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43632 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43633 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43636 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43637 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43639 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43640 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43641 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43642 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43643 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43644 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43645
43646 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43647 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43648
618280a1
UD
43649 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43650 place. Use VEX encoding when compiling for AVX.
43651
37822576
AS
436522011-10-25 Andreas Schwab <schwab@redhat.com>
43653
1f1e1947
AS
43654 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43655 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43656
37822576
AS
43657 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43658
31ea014d
UD
436592011-10-25 Ulrich Drepper <drepper@gmail.com>
43660
d7826aa1 43661 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43662 useless if() expression.
d7826aa1
UD
43663 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43664 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43665 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43680 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43681 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43682
31ea014d
UD
43683 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43684
16437fec
AS
436852011-10-25 Andreas Schwab <schwab@redhat.com>
43686
43687 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43688 condition.
43689 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43690
31d3cc00
UD
436912011-10-25 Ulrich Drepper <drepper@gmail.com>
43692
43693 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43694 .text section. Avoid duplicate constants.
43695 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43705 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43707 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43708 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43712 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43715 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43716 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43717 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43718 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43719 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43720 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43721 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43722 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43724 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43725 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43726 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43728 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43729 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43730 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43731 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43732 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43733 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43734 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43735 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43736 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43737 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43738 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43739 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43740
58985aa9
UD
437412011-10-24 Ulrich Drepper <drepper@gmail.com>
43742
202c9deb
UD
43743 * sysdeps/x86_64/dla.h: Move to ...
43744 * sysdeps/x86_64/fpu/dla.h: ...here.
43745 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43746 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43747
af968f62
UD
43748 * config.make.in: Add have-mfma4 entry.
43749 * configure.in: Substitute libc_cv_cc_fma4.
43750 * math/Makefile (dbl-only-routines): Add sincostab.
43751 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43752 Use __sincostab not sincos.
43753 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43754 name is a macro.
43755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43759 using __copysign.
43760 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43761 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43762 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43763 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43764 and __inv.
43765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43766 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43767 __copysign.
43768 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43769 define aliases when function name is a macro.
43770 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43771 sysdeps/ieee754/dbl-64/sincos.tbl.
43772 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43773 fma4-enabled routines.
43774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43775 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43778 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43783 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43784 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43786 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43797 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43799 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43801 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43803 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43804
58985aa9
UD
43805 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43806 rename.
43807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43815
a201fbcf
AS
438162011-10-24 Andreas Schwab <schwab@redhat.com>
43817
43818 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43819
fc2ee42a
LD
438202011-10-23 Ulrich Drepper <drepper@gmail.com>
43821
bb3129bd
UD
43822 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43823
0275fff8
UD
43824 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43825 prediction.
43826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43827
2fa2ae85
UD
43828 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43829 Remove unused variable magic_bits.
43830 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43831
fc2ee42a
LD
43832 * string/strnlen.c: Define and use STRNLEN macro.
43833 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43834 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43836 * wcsmbs/wcslen.c: Define and use WCSLEN.
43837 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43838 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43839 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43840 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43841 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43842 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43843 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43844
ce7dd29f
LD
438452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43846
43847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43848 strnlen-sse2-no-bsf.
43849 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43850 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43851 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43852 Add strnlen support.
43853 (USE_AS_STRNLEN): New macro.
43854 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43855 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43856 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43857 * sysdeps/x86_64/wcslen.S: New file.
43858
979c70a3
MZ
438592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43860
43861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43862 XMM-moves are used for copying on small sizes.
43863
2d09f82f
LD
438642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43865
43866 * wcsmbs/Makefile (strop-tests): Add wcschr.
43867 * wcsmbs/test-wcschr.c: New file.
43868 * string/test-strchr.c: Update.
43869 Add wcschr support.
43870 (WIDE): New macro.
43871
619fccca
LD
438722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43873
2d09f82f 43874 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43875 * wcsmbs/test-wcslen.c: New file.
43876 * string/test-strlen.c: Update.
43877 Add wcslen support.
43878 (WIDE): New macro.
43879
09f699ea
UD
438802011-10-23 Ulrich Drepper <drepper@gmail.com>
43881
43882 * po/it.po: Update from translation team.
43883
95584d3b
LD
438842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43885
43886 * sysdeps/x86_64/wcscmp.S: Update.
43887 Fix wrong comparison semantics.
43888 wcscmp shall use signed comparison not unsigned.
43889 Don't use substraction to avoid overflow bug.
43890 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43891 * wcsmbc/wcscmp.c: Likewise.
43892 * string/test-strcmp.c: Likewise.
43893 Add new tests to check cases with negative values.
43894
c8b3296b
UD
438952011-10-23 Ulrich Drepper <drepper@gmail.com>
43896
43897 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43898 * sysdeps/x86_64/dla.h: ...here. New file.
43899 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43908
246ad57a
AS
439092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43910
43911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43912 __ynl_finite aliases.
43913
a1a87169
UD
439142011-10-22 Ulrich Drepper <drepper@gmail.com>
43915
0d355eb7
UD
43916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43917
a1a87169
UD
43918 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43919 define DLA_FMA.
43920 [DLA_FMA] (EMULV): Use DLA_FMA.
43921 [DLA_FMA] (MUL12): Use EMULV.
43922 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43923 that are not needed.
43924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43931
ee2aafe0
AS
439322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * math/s_nan.c: Undef __nan.
43935 * math/s_nanf.c: Undef __nanf.
43936 * math/s_nanl.c: Undef __nanl.
43937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43938 "math_private.h".
43939
bc62c2fb
UD
439402011-10-22 Ulrich Drepper <drepper@gmail.com>
43941
77425c63
UD
43942 * math/s_catan.c: Add branch predictions.
43943 * math/s_catanf.c: Likewise.
43944 * math/s_catanh.c: Likewise.
43945 * math/s_catanhf.c: Likewise.
43946 * math/s_catanhl.c: Likewise.
43947 * math/s_catanl.c: Likewise.
43948 * math/s_cexp.c: Likewise.
43949 * math/s_cexpf.c: Likewise.
43950 * math/s_cexpl.c: Likewise.
43951 * math/s_clog.c: Likewise.
43952 * math/s_clog10.c: Likewise.
43953 * math/s_clog10f.c: Likewise.
43954 * math/s_clog10l.c: Likewise.
43955 * math/s_clogf.c: Likewise.
43956 * math/s_clogl.c: Likewise.
43957 * math/s_csqrt.c: Likewise.
43958 * math/s_csqrtf.c: Likewise.
43959 * math/s_csqrtl.c: Likewise.
43960 * math/s_ctanf.c: Likewise.
43961 * math/s_ctanh.c: Likewise.
43962 * math/s_ctanhf.c: Likewise.
43963 * math/s_ctanhl.c: Likewise.
43964 * math/s_ctanl.c: Likewise.
43965
bc62c2fb
UD
43966 * math/math_private.h: Define __nan, __nanf, __nanl.
43967 * math/s_cacosh.c: Include <math_private.h>.
43968 * math/s_cacoshl.c: Likewise.
43969 * math/s_casinh.c: Likewise.
43970 * math/s_casinhf.c: Likewise.
43971 * math/s_casinhl.c: Likewise.
43972 * math/s_ccos.c: Rely entire on ccosh.
43973 * math/s_ccosf.c: Rely entire on ccoshf.
43974 * math/s_ccosl.c: Rely entirely on ccoshl.
43975 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43976 Remove tests for FE_INVALID.
43977 * math/s_ccoshf.c: Likewise.
43978 * math/s_ccoshl.c: Likewise.
43979 * math/s_csin.c: Likewise.
43980 * math/s_csinf.c: Likewise.
43981 * math/s_csinh.c Likewise.
43982 * math/s_csinhf.c: Likewise.
43983 * math/s_csinhl.c: Likewise.
43984 * math/s_csinl.c: Likewise.
43985 * math/s_ctan.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43987 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43989
8ec250a4
UD
439902011-10-21 Ulrich Drepper <drepper@gmail.com>
43991
c196fed8
UD
43992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43993 compilation problems.
43994
8ec250a4
UD
43995 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43996 __builtin_expect.
43997
8d4f46c6
UD
439982011-10-20 Ulrich Drepper <drepper@gmail.com>
43999
ed72b654
UD
44000 * sysdeps/i386/configure.in: Test for -mfma4 option.
44001 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44002 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44003 COMMON_CPUID_INDEX_80000001.
44004 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44005 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44006 use it if FMA3 is not supported.
44007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44008
8d4f46c6
UD
44009 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44010 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44011
d45c60c2
AS
440122011-10-20 Andreas Schwab <schwab@redhat.com>
44013
44014 [BZ #12892]
44015 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44016 it would create a cycle with a link time dependency.
44017
d9a4d2ab
UD
440182011-10-19 Ulrich Drepper <drepper@gmail.com>
44019
855d1560
UD
44020 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44021 instruction.
44022 * string/Makefile (strop-tests): Add rawmemchr.
44023 * string/test-rawmemchr.c: New file.
44024
d9a4d2ab
UD
44025 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44027 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44028 when compiling str{,n}casecmp and when AVX is available. Hook up
44029 new optimized code in initializers.
44030
8f3b1ffe
AS
440312011-10-19 Andreas Schwab <schwab@redhat.com>
44032
44033 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44034 __feraiseexcept instead of feraiseexcept.
44035
d38f1dba
UD
440362011-10-18 Ulrich Drepper <drepper@gmail.com>
44037
d9a8d0ab
UD
44038 * math/math_private.h: Define defaults for libc_fetestexcept and
44039 libc_feupdateenv.
44040 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44041 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44043 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44044 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44045 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44046 libc_fetestexcept and libc_feupdateenv.
44047
4855e3dd
UD
44048 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44049 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44050 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44051 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44052 libc_feholdexcept_setround.
44053
581d30e3
UD
44054 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44055 Add s_nearbyint-c and s_nearbyintf-c.
44056 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44057 nearbyintf inlines.
44058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44059 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44061 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44062
d38f1dba
UD
44063 * math/math_private.h: Define defaults for libc_fegetround,
44064 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44065 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44066 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44068 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44069 standard functions.
44070 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44071 Remove comments and hacks for old compiler versions.
44072 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44073 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44074 libc_feholdexceptl.
44075
caa6c9d8
AS
440762011-10-18 Andreas Schwab <schwab@redhat.com>
44077
44078 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44079 (__feraiseexcept_renamed): Add __NTH.
44080 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44081 namespace violations.
44082
97c066e6
UD
440832011-10-17 Ulrich Drepper <drepper@gmail.com>
44084
99ce7b04
UD
44085 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44086
1004d182
UD
44087 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44088
228a984d
UD
44089 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44090 recently added interfaces.
44091 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44092
c8553a6a
UD
44093 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44094 about macro parameter expansion.
44095
ed22dcf6
UD
44096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44097 __NO_MATH_INLINES is defined. Cleanups.
44098
44099 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44100 and __floorf is target has SSE4.1.
44101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44102 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44103 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44105
b171c137
UD
44106 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44107 name.
44108 (floorf): Likewise.
44109
97c066e6
UD
44110 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44111
629f62ef
AS
441122011-10-17 Andreas Schwab <schwab@redhat.com>
44113
49a43d80
AS
44114 * misc/sys/cdefs.h: Fix last change.
44115
629f62ef
AS
44116 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44117 database lookup.
44118
e453f6cd
UD
441192011-10-16 Ulrich Drepper <drepper@gmail.com>
44120
aa78043a
UD
44121 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44122
ad0f5cad
UD
44123 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44128 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44129 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44132 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44133 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44134 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44135 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44136 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44137 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44138 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44139 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44140 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44141 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44142 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44143 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44144 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44145
44146 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44147 ceil, ceilf, floor, floorf.
44148
44149 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44150 Perform IRELATIVE relocations last.
44151
e453f6cd
UD
44152 * elf/do-rel.h: Add another parameter nrelative, replacing the
44153 local variable with the same name. Change name of the function
44154 to end in Rel or Rela (uppercase).
44155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44156 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44157 elf_dynamic_do_##reloc function.
44158
fd5bdc09
UD
441592011-10-15 Ulrich Drepper <drepper@gmail.com>
44160
79b195b5
UD
44161 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44162 is sufficient, at least on modern CPUs.
44163
d4a28569
UD
44164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44165
b61099b5
UD
44166 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44167 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44168
bcf01e6d
UD
44169 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44170 __expl_finite.
44171 * math/bits/math-finite.h: Add entries for exp.
44172 * math/e_expl.c: Add __*_finite alias.
44173 * sysdeps/i386/fpu/e_exp.S: Likewise.
44174 * sysdeps/i386/fpu/e_expf.S: Likewise.
44175 * sysdeps/i386/fpu/e_expl.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44177 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44181 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44182 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44183
ba1a0d59
UD
44184 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44185 is sufficient, at least on modern CPUs.
44186
fd5bdc09
UD
44187 * ctype/ctype-info.c (__ctype_init): Define.
44188 * include/ctype.h (__ctype_init): Declare.
44189 (__ctype_b_loc): The variable is always initialized.
44190 (__ctype_toupper_loc): Likewise.
44191 (__ctype_tolower_loc): Likewise.
44192 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44193 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44194
7872cfb0
AS
441952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44196
b468825a
AS
44197 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44198
7872cfb0
AS
44199 * configure.in: Also look in $cxxmachine/include for C++ system
44200 headers.
44201
be13f7bf
LD
442022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44203
44204 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44205 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44206 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44207 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44209 (USE_AS_WMEMCMP): New macro.
44210 Fixing indents.
44211 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44212 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44213 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44214 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44216 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44217 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44218 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44219 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44220 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44221 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44222 (USE_AS_WMEMCMP): New macro.
44223 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44224 * sysdeps/string/test-memcmp.c: Update.
44225 Fix simple_wmemcmp.
44226 Add new tests.
44227 * wcsmbs/wmemcmp.c: Update.
44228 (WMEMCMP): New macro.
44229 Fix overflow bug.
44230
556a2007
AJ
442312011-10-12 Andreas Jaeger <aj@suse.de>
44232
44233 [BZ #13268]
44234 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44235
538faaa7
UD
442362011-10-15 Ulrich Drepper <drepper@gmail.com>
44237
ab6737ff
UD
44238 * libio/iofwide.c (do_length): Avoid warning.
44239
538faaa7
UD
44240 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44241
396a21b1
UD
442422011-10-14 Ulrich Drepper <drepper@gmail.com>
44243
cdf2901f
UD
44244 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44245
38ad40ce
UD
44246 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44247 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44248 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44249 * sysdeps/i386/i686/fpu/e_log.S: New file.
44250 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44251 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44252
396a21b1
UD
44253 * ctype/ctype.h: Add support for inlined isXXX functions when
44254 compiling C++ code.
44255
6b1f68c9
AS
442562011-10-14 Andreas Schwab <schwab@redhat.com>
44257
349290c0
AS
44258 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44259
6b1f68c9
AS
44260 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44261
f2282d42
RM
442622011-10-13 Roland McGrath <roland@hack.frob.com>
44263
44264 [BZ #13291]
44265 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44266
5298ffa8
AS
442672011-10-13 Andreas Schwab <schwab@redhat.com>
44268
714fad23
AS
44269 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44270 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44271 feraiseexcept.
44272
81dcc7fb
AS
44273 * sysdeps/x86_64/memrchr.S: Check for zero size.
44274
5298ffa8
AS
44275 * string/stratcliff.c: Add memrchr tests.
44276
951fbcec
LD
442772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44278
44279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44280 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44281 rawmemchr-sse2 rawmemchr-sse2-bsf.
44282 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44283 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44284 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44285 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44286 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44287 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44288 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44289 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44291 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44292 * string/memrchr.c (MEMRCHR): New macro.
44293
0ac5ae23
UD
442942011-10-12 Ulrich Drepper <drepper@gmail.com>
44295
44296 Add integration with gcc's -ffinite-math-only and optimize wrapper
44297 functions in libm.
44298 * Versions.def: Define GLIBC_2.15 version for libm.
44299 * math/Makefile (headers): Add bits/math-finite.h.
44300 * math/bits/math-finite.h: New file.
44301 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44302 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44303 * math/e_acoshl.c: Add __*_finite alias.
44304 * math/e_acosl.c: Likewise.
44305 * math/e_asinl.c: Likewise.
44306 * math/e_atan2l.c: Likewise.
44307 * math/e_atanhl.c: Likewise.
44308 * math/e_coshl.c: Likewise.
44309 * math/e_exp10.c: Likewise.
44310 * math/e_exp10f.c: Likewise.
44311 * math/e_exp10l.c: Likewise.
44312 * math/e_exp2l.c: Likewise.
44313 * math/e_fmodl.c: Likewise.
44314 * math/e_gammal_r.c: Likewise.
44315 * math/e_hypotl.c: Likewise.
44316 * math/e_j0l.c: Likewise.
44317 * math/e_j1l.c: Likewise.
44318 * math/e_jnl.c: Likewise.
44319 * math/e_lgammal_r.c: Likewise.
44320 * math/e_log10l.c: Likewise.
44321 * math/e_log2l.c: Likewise.
44322 * math/e_logl.c: Likewise.
44323 * math/e_powl.c: Likewise.
44324 * math/e_sinhl.c: Likewise.
44325 * math/e_sqrtl.c: Likewise.
44326 * math/e_scalb.c: Completely rewritten and optimized.
44327 * math/e_scalbf.c: Likewise.
44328 * math/e_scalbl.c: Likewise.
44329 * math/w_acos.c: Likewise.
44330 * math/w_acosf.c: Likewise.
44331 * math/w_acosl.c: Likewise.
44332 * math/w_acosh.c: Likewise.
44333 * math/w_acoshf.c: Likewise.
44334 * math/w_acoshl.c: Likewise.
44335 * math/w_asin.c: Likewise.
44336 * math/w_asinf.c: Likewise.
44337 * math/w_asinl.c: Likewise.
44338 * math/w_atan2.c: Likewise.
44339 * math/w_atan2f.c: Likewise.
44340 * math/w_atan2l.c: Likewise.
44341 * math/w_atanh.c: Likewise.
44342 * math/w_atanhf.c: Likewise.
44343 * math/w_atanhl.c: Likewise.
44344 * math/w_exp10.c: Likewise.
44345 * math/w_exp10f.c: Likewise.
44346 * math/w_exp10l.c: Likewise.
44347 * math/w_fmod.c: Likewise.
44348 * math/w_fmodf.c: Likewise.
44349 * math/w_fmodl.c: Likewise.
44350 * math/w_j0.c: Likewise.
44351 * math/w_j0f.c: Likewise.
44352 * math/w_j0l.c: Likewise.
44353 * math/w_j1.c: Likewise.
44354 * math/w_j1f.c: Likewise.
44355 * math/w_j1l.c: Likewise.
44356 * math/w_jn.c: Likewise.
44357 * math/w_jnf.c: Likewise.
44358 * math/w_log.c: Likewise.
44359 * math/w_logf.c: Likewise.
44360 * math/w_logl.c: Likewise.
44361 * math/w_log10.c: Likewise.
44362 * math/w_log10f.c: Likewise.
44363 * math/w_log10l.c: Likewise.
44364 * math/w_log2.c: Likewise.
44365 * math/w_log2f.c: Likewise.
44366 * math/w_log2l.c: Likewise.
44367 * math/w_pow.c: Likewise.
44368 * math/w_powf.c: Likewise.
44369 * math/w_powl.c: Likewise.
44370 * math/w_remainder.c: Likewise.
44371 * math/w_remainderf.c: Likewise.
44372 * math/w_remainderl.c: Likewise.
44373 * math/w_scalb.c: Likewise.
44374 * math/w_scalbf.c: Likewise.
44375 * math/w_scalbl.c: Likewise.
44376 * math/w_sqrt.c: Likewise.
44377 * math/w_sqrtf.c: Likewise.
44378 * math/w_sqrtl.c: Likewise.
44379 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44380 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44381 used.
44382 * math/math_private.h: Declare __kernel_standard_f.
44383 * math/w_cosh.c: Remove cruft and optimize a bit.
44384 * math/w_coshf.c: Likewise.
44385 * math/w_coshl.c: Likewise.
44386 * math/w_exp2.c: Likewise.
44387 * math/w_exp2f.c: Likewise.
44388 * math/w_exp2l.c: Likewise.
44389 * math/w_hypot.c: Likewise.
44390 * math/w_hypotf.c: Likewise.
44391 * math/w_hypotl.c: Likewise.
44392 * math/w_lgamma.c: Likewise.
44393 * math/w_lgamma_r.c: Likewise.
44394 * math/w_lgammaf.c: Likewise.
44395 * math/w_lgammaf_r.c: Likewise.
44396 * math/w_lgammal.c: Likewise.
44397 * math/w_lgammal_r.c: Likewise.
44398 * math/w_sinh.c: Likewise.
44399 * math/w_sinhf.c: Likewise.
44400 * math/w_sinhl.c: Likewise.
44401 * math/w_tgamma.c: Likewise.
44402 * math/w_tgammaf.c: Likewise.
44403 * math/w_tgammal.c: Likewise.
44404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44406 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44407 Minor optimizations. Pretty printing. Remove cruft.
44408 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44411 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44412 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44413 * sysdeps/i386/fpu/e_asin.S: Likewise.
44414 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44415 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44416 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44417 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44421 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44422 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44423 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44424 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44425 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44426 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44427 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44428 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44429 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44430 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44431 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44432 * sysdeps/i386/fpu/e_log.S: Likewise.
44433 * sysdeps/i386/fpu/e_log10.S: Likewise.
44434 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44435 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44436 * sysdeps/i386/fpu/e_log2.S: Likewise.
44437 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44439 * sysdeps/i386/fpu/e_logf.S: Likewise.
44440 * sysdeps/i386/fpu/e_logl.S: Likewise.
44441 * sysdeps/i386/fpu/e_pow.S: Likewise.
44442 * sysdeps/i386/fpu/e_powf.S: Likewise.
44443 * sysdeps/i386/fpu/e_powl.S: Likewise.
44444 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44445 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44446 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44447 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44450 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44451 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44452 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44473 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44474 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44475 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44480 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44482 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44483 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44484 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44486 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44487 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44488 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44489 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44490 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44491 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44492 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44493 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44494 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44533 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44536 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44538 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44539 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44541 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44546 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44547 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44548 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44549 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44550 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44551 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44552 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44553 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44554 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44555 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44556 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44557 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44561 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44562 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44563 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44564 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44565 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44566 (__isnanf): Likewise.
44567 (__isinf_ns): Likewise.
44568 (__isinf_nsf): Likewise.
44569 (__finite): Likewise.
44570 (__finitef): Likewise.
44571 (__ieee754_sqrt): Define as macro.
44572 (__ieee754_sqrtf): Define as macro.
44573 (__ieee754_sqrtl): Define as macro.
44574 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44575 inlined copy.
44576 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44577 __FINITE_MATH_ONLY__ consistent.
44578 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44579
12cc2fcd
AS
445802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44581
a843a204
AS
44582 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44583 of rawmemchr.
44584
12cc2fcd
AS
44585 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44586
c853acd5
UD
445872011-10-09 Ulrich Drepper <drepper@gmail.com>
44588
44589 * po/ja.po: Update from translation team.
44590
c658d255
RM
445912011-10-08 Roland McGrath <roland@hack.frob.com>
44592
110946e4
RM
44593 * locale/programs/locarchive.c (prepare_address_space): New function.
44594 (create_archive, enlarge_archive, open_archive): Use it.
44595
50604220
RM
44596 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44597 inside [SHARED], where it is used.
44598
c658d255
RM
44599 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44600
44601 * nss/getent.c (netgroup_keys): Remove unused variable.
44602 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44603
6a621eb7
UD
446042011-10-08 Ulrich Drepper <drepper@gmail.com>
44605
7edb55ce
UD
44606 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44607 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44610 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44611 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44612 * math/Makefile (libm-calls): Add s_isinf_ns.
44613 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44614 * math/multc3.c: Likewise.
44615 * math/s_casin.c: Likewise.
44616 * math/s_casinf.c: Likewise.
44617 * math/s_casinl.c: Likewise.
44618 * math/s_ccos.c: Likewise.
44619 * math/s_ccosf.c: Likewise.
44620 * math/s_ccosl.c: Likewise.
44621 * math/s_ctan.c: Likewise.
44622 * math/s_ctanf.c: Likewise.
44623 * math/s_ctanh.c: Likewise.
44624 * math/s_ctanhf.c: Likewise.
44625 * math/s_ctanhl.c: Likewise.
44626 * math/s_ctanl.c: Likewise.
44627 * math/w_fmod.c: Likewise.
44628 * math/w_fmodf.c: Likewise.
44629 * math/w_fmodl.c: Likewise.
44630 * math/w_remainder.c: Likewise.
44631 * math/w_remainderf.c: Likewise.
44632 * math/w_remainderl.c: Likewise.
44633 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44634 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44637 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44638 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44639 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44640 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44641
187da0ae
UD
44642 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44643 of the number.
44644 * stdio-common/printf_fphex.c: Likewise.
44645 * stdio-common/printf_size.c: Likewise.
44646
9277c064
UD
44647 * math/e_exp10.c: Include math_private.h using <...> not "...".
44648 * math/e_exp10f.c: Likewise.
44649 * math/e_exp10l.c: Likewise.
44650 * math/e_exp2l.c: Likewise.
44651 * math/e_j0l.c: Likewise.
44652 * math/e_j1l.c: Likewise.
44653 * math/e_jnl.c: Likewise.
44654 * math/e_lgammal_r.c: Likewise.
44655 * math/e_rem_pio2l.c: Likewise.
44656 * math/e_scalb.c: Likewise.
44657 * math/e_scalbf.c: Likewise.
44658 * math/e_scalbl.c: Likewise.
44659 * math/k_cosl.c: Likewise.
44660 * math/k_sinl.c: Likewise.
44661 * math/k_tanl.c: Likewise.
44662 * math/s_cacoshf.c: Likewise.
44663 * math/s_catan.c: Likewise.
44664 * math/s_catanf.c: Likewise.
44665 * math/s_catanh.c: Likewise.
44666 * math/s_catanhf.c: Likewise.
44667 * math/s_catanhl.c: Likewise.
44668 * math/s_catanl.c: Likewise.
44669 * math/s_ccosh.c: Likewise.
44670 * math/s_ccoshf.c: Likewise.
44671 * math/s_ccoshl.c: Likewise.
44672 * math/s_cexp.c: Likewise.
44673 * math/s_cexpf.c: Likewise.
44674 * math/s_cexpl.c: Likewise.
44675 * math/s_clog.c: Likewise.
44676 * math/s_clog10.c: Likewise.
44677 * math/s_clog10f.c: Likewise.
44678 * math/s_clog10l.c: Likewise.
44679 * math/s_clogf.c: Likewise.
44680 * math/s_clogl.c: Likewise.
44681 * math/s_csin.c: Likewise.
44682 * math/s_csinf.c: Likewise.
44683 * math/s_csinh.c: Likewise.
44684 * math/s_csinhf.c: Likewise.
44685 * math/s_csinhl.c: Likewise.
44686 * math/s_csinl.c: Likewise.
44687 * math/s_csqrt.c: Likewise.
44688 * math/s_csqrtf.c: Likewise.
44689 * math/s_csqrtl.c: Likewise.
44690 * math/s_ctan.c: Likewise.
44691 * math/s_ctanf.c: Likewise.
44692 * math/s_ctanh.c: Likewise.
44693 * math/s_ctanhf.c: Likewise.
44694 * math/s_ctanhl.c: Likewise.
44695 * math/s_ctanl.c: Likewise.
44696 * math/s_ldexp.c: Likewise.
44697 * math/s_ldexpf.c: Likewise.
44698 * math/s_ldexpl.c: Likewise.
44699 * math/s_significand.c: Likewise.
44700 * math/s_significandf.c: Likewise.
44701 * math/s_significandl.c: Likewise.
44702 * math/w_acos.c: Likewise.
44703 * math/w_acosf.c: Likewise.
44704 * math/w_acosh.c: Likewise.
44705 * math/w_acoshf.c: Likewise.
44706 * math/w_acoshl.c: Likewise.
44707 * math/w_acosl.c: Likewise.
44708 * math/w_asin.c: Likewise.
44709 * math/w_asinf.c: Likewise.
44710 * math/w_asinl.c: Likewise.
44711 * math/w_atan2.c: Likewise.
44712 * math/w_atan2f.c: Likewise.
44713 * math/w_atan2l.c: Likewise.
44714 * math/w_atanh.c: Likewise.
44715 * math/w_atanhf.c: Likewise.
44716 * math/w_atanhl.c: Likewise.
44717 * math/w_cosh.c: Likewise.
44718 * math/w_coshf.c: Likewise.
44719 * math/w_coshl.c: Likewise.
44720 * math/w_dremf.c: Likewise.
44721 * math/w_exp10.c: Likewise.
44722 * math/w_exp10f.c: Likewise.
44723 * math/w_exp10l.c: Likewise.
44724 * math/w_exp2.c: Likewise.
44725 * math/w_exp2f.c: Likewise.
44726 * math/w_fmod.c: Likewise.
44727 * math/w_fmodf.c: Likewise.
44728 * math/w_fmodl.c: Likewise.
44729 * math/w_hypot.c: Likewise.
44730 * math/w_hypotf.c: Likewise.
44731 * math/w_hypotl.c: Likewise.
44732 * math/w_j0.c: Likewise.
44733 * math/w_j0f.c: Likewise.
44734 * math/w_j0l.c: Likewise.
44735 * math/w_j1.c: Likewise.
44736 * math/w_j1f.c: Likewise.
44737 * math/w_j1l.c: Likewise.
44738 * math/w_jn.c: Likewise.
44739 * math/w_jnf.c: Likewise.
44740 * math/w_jnl.c: Likewise.
44741 * math/w_lgamma.c: Likewise.
44742 * math/w_lgamma_r.c: Likewise.
44743 * math/w_lgammaf.c: Likewise.
44744 * math/w_lgammaf_r.c: Likewise.
44745 * math/w_lgammal.c: Likewise.
44746 * math/w_lgammal_r.c: Likewise.
44747 * math/w_log.c: Likewise.
44748 * math/w_log10.c: Likewise.
44749 * math/w_log10f.c: Likewise.
44750 * math/w_log10l.c: Likewise.
44751 * math/w_log2.c: Likewise.
44752 * math/w_log2f.c: Likewise.
44753 * math/w_log2l.c: Likewise.
44754 * math/w_logf.c: Likewise.
44755 * math/w_logl.c: Likewise.
44756 * math/w_pow.c: Likewise.
44757 * math/w_powf.c: Likewise.
44758 * math/w_powl.c: Likewise.
44759 * math/w_remainder.c: Likewise.
44760 * math/w_remainderf.c: Likewise.
44761 * math/w_remainderl.c: Likewise.
44762 * math/w_scalb.c: Likewise.
44763 * math/w_scalbf.c: Likewise.
44764 * math/w_scalbl.c: Likewise.
44765 * math/w_sinh.c: Likewise.
44766 * math/w_sinhf.c: Likewise.
44767 * math/w_sinhl.c: Likewise.
44768 * math/w_sqrt.c: Likewise.
44769 * math/w_sqrtf.c: Likewise.
44770 * math/w_sqrtl.c: Likewise.
44771 * math/w_tgamma.c: Likewise.
44772 * math/w_tgammaf.c: Likewise.
44773 * math/w_tgammal.c: Likewise.
44774
6a621eb7
UD
44775 * po/ja.po: Update from translation team.
44776
bf582445
AJ
447772011-09-29 Andreas Jaeger <aj@suse.de>
44778
f9efbf3a
AJ
44779 [BZ #13179]
44780 * sunrpc/netname.c (netname2host): Fix logic.
44781
bf582445
AJ
44782 [BZ #6779]
44783 [BZ #6783]
44784 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44785 correctly.
44786 * math/w_remainder.c (__remainder): Likewise.
44787 * math/w_remainderf.c (__remainderf): Likewise.
44788 * math/libm-test.inc (remainder_test): Add test cases.
44789
48693bea
AK
447902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44791
44792 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44793 sdiv_qrnnd.
44794
42622229
LD
447952011-10-07 Ulrich Drepper <drepper@gmail.com>
44796
44797 * string/test-memcmp.c: Avoid unncessary #defines.
44798 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44799
093ecf92
LD
448002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44801
44802 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44803 Use new sse2 version for core i3 - i7 as it's faster
44804 than sse42 version.
44805 (bit_Prefer_PMINUB_for_stringop): New.
44806 * sysdeps/x86_64/rawmemchr.S: Update.
44807 Replace with faster SSE2 version.
44808 * sysdeps/x86_64/memrchr.S: New file.
44809 * sysdeps/x86_64/memchr.S: Update.
44810 Replace with faster SSE2 version.
44811
fde56e5c
MP
448122011-09-12 Marek Polacek <mpolacek@redhat.com>
44813
44814 * elf/dl-load.c (lose): Add cast to avoid warning.
44815
21fd49a9
UD
448162011-10-07 Ulrich Drepper <drepper@gmail.com>
44817
5a06e643
UD
44818 * po/ca.po: Update from translation team.
44819
684ae515
UD
44820 * inet/getnetgrent_r.c: Hook up nscd.
44821 * nscd/Makefile (routines): Add nscd_netgroup.
44822 (nscd-modules): Add netgroupcache.
44823 (CFLAGS-netgroupcache.c): Define.
44824 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44825 (cache_search): Add const to second parameter.
44826 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44827 INNETGR.
44828 (dbs): Add netgrdb entry.
44829 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44830 (verify_persistent_db): Handle netgrdb.
44831 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44832 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44833 GETFDNETGR.
44834 (netgroup_response_header): Define.
44835 (innetgroup_response_header): Define.
44836 (datahead): Add netgroup_response_header and innetgroup_response_header
44837 elements.
44838 * nscd/nscd.conf: Add entries for netgroup cache.
44839 * nscd/nscd.h (dbtype): Add netgrdb.
44840 (_PATH_NSCD_NETGROUP_DB): Define.
44841 (netgroup_iov_disabled): Declare.
44842 (xmalloc, xcalloc, xrealloc): Move declarations here.
44843 (cache_search): Adjust prototype.
44844 Add netgroup-related prototypes.
44845 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44846 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44847 (__nscd_innetgr): Declare.
44848 * nscd/selinux.c (perms): Use access_vector_t as element type and
44849 add netgroup-related initializers.
44850 * nscd/netgroupcache.c: New file.
44851 * nscd/nscd_netgroup.c: New file.
44852 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44853 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44854 For four parameters use innetgr.
44855 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44856 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44857 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44858 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44859
21fd49a9
UD
44860 * nscd/connections.c (register_traced_file): Don't register file
44861 for disabled databases.
44862
054c0457
UD
448632011-10-06 Ulrich Drepper <drepper@gmail.com>
44864
32b63198
UD
44865 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44866
054c0457
UD
44867 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44868 from tree and freeing node.
44869
64031225
JO
448702011-09-25 Jiri Olsa <jolsa@redhat.com>
44871
44872 * nss/nsswitch.c (__nss_database_lookup): Handle
44873 nss_parse_service_list out of memory case.
44874
0490345c
JO
448752011-09-15 Jiri Olsa <jolsa@redhat.com>
44876
44877 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44878 out of memory case.
44879
3a62d00d
AS
448802011-10-04 Andreas Schwab <schwab@redhat.com>
44881
44882 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44883 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44884 pass it down.
44885 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44886 elf_machine_rela, elf_machine_lazy_rel.
44887 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44888 (ELF_DYNAMIC_DO_REL): Likewise.
44889 (ELF_DYNAMIC_DO_RELA): Likewise.
44890 (ELF_DYNAMIC_RELOCATE): Likewise.
44891 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44892 to ELF_DYNAMIC_DO_REL.
44893 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44894 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44895 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44896 elf_machine_rela.
44897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44898 skip_ifunc, don't call ifunc function if non-zero.
44899 (elf_machine_rela): Likewise.
44900 (elf_machine_lazy_rel): Likewise.
44901 (elf_machine_lazy_rela): Likewise.
44902 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44903 (elf_machine_lazy_rel): Likewise.
44904 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44905 Likewise.
44906 (elf_machine_lazy_rel): Likewise.
44907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44908 Likewise.
44909 (elf_machine_lazy_rel): Likewise.
44910 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44911 (elf_machine_lazy_rel): Likewise.
44912 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44913 (elf_machine_lazy_rel): Likewise.
44914 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44915 (elf_machine_lazy_rel): Likewise.
44916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44917 (elf_machine_lazy_rel): Likewise.
44918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44919 (elf_machine_lazy_rel): Likewise.
44920 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44921 (elf_machine_lazy_rel): Likewise.
44922
68577918
UD
449232011-09-28 Ulrich Drepper <drepper@gmail.com>
44924
44925 * nss/nss_files/files-init.c (_nss_files_init): Use static
44926 initialization for all the *_traced_file variables.
44927
68822d74
AS
449282011-09-28 Andreas Schwab <schwab@redhat.com>
44929
44930 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44931
2056100b
RM
449322011-09-27 Roland McGrath <roland@hack.frob.com>
44933
44934 [BZ #13226]
44935 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44936
32c76b63
AS
449372011-09-27 Andreas Schwab <schwab@redhat.com>
44938
44939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44940 Reread the line before reparsing it.
44941
bf972c9d
AS
449422011-09-26 Andreas Schwab <schwab@redhat.com>
44943
44944 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44945
e057a1b5
JM
449462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44947 Maxim Kuvyrkov <maxim@codesourcery.com>
44948 Joseph Myers <joseph@codesourcery.com>
44949
44950 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44951 if needed for __stack_chk_guard.
44952
bc7e1c36
RM
449532011-09-19 Roland McGrath <roland@hack.frob.com>
44954
ecb1482f
RM
44955 * sysdeps/posix/spawni.c (script_execute): Always define it.
44956 It will be optimized away if unused.
44957 (maybe_script_execute): New function.
44958 (__spawni): Call it.
44959
bc7e1c36
RM
44960 * Makerules: Don't include tls.make.
44961 (config-tls): Always set to thread.
44962 * tls.make.c: File removed.
44963
1c3b002b
MF
449642011-09-19 Mike Frysinger <vapier@gentoo.org>
44965
44966 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44967 * config.make.in (CPPFLAGS-config): New substituted variable.
44968
2840865d
UD
449692011-09-15 Ulrich Drepper <drepper@gmail.com>
44970
88738eb6
UD
44971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44972
cbf645a6 44973 [BZ #13192]
2840865d
UD
44974 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44975 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44976
b402e91a
RM
449772011-09-15 Roland McGrath <roland@hack.frob.com>
44978
44979 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44980 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44982 (CALL_FAIL): Likewise.
44983 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44984 (CALL_FAIL): Macro removed.
44985 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44986
4c1a1f71
UD
449872011-09-15 Ulrich Drepper <drepper@gmail.com>
44988
44989 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44990 for __FINITE_MATH_ONLY__ == 1.
44991
edc121be
AS
449922011-09-15 Andreas Schwab <schwab@redhat.com>
44993
44994 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44995 __ieee754_sqrt instead of sqrt.
44996 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44997 __ieee754_sqrtf instead of sqrtf.
44998 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44999 __floorf instead of floorf.
45000 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45001 __floorf, __truncf instead of floorf, truncf.
45002
cd205654
UD
450032011-09-14 Ulrich Drepper <drepper@gmail.com>
45004
ee4d0315
UD
45005 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45006
cd205654
UD
45007 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45008 __extern_always_inline.
45009 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45010 32-bit.
45011
48b67d71
AS
450122011-09-14 Andreas Schwab <schwab@redhat.com>
45013
45014 * elf/rtld.c (dl_main): Also relocate in dependency order when
45015 doing symbol dependency testing.
45016
1ae12c75
AS
450172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45018
45019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45020 Always define `refsym'.
45021
995a80df
AS
450222011-09-13 Andreas Schwab <schwab@redhat.com>
45023
e529793b
AS
45024 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45025 (__FD_ELT): Renamed from __FDELT.
45026 * misc/bits/select2.h (__FD_ELT): Likewise.
45027 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45028 __FD_MASK instead of __FDELT, __FDMASK.
45029 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45030 Likewise.
45031 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45032 Likewise.
45033
52d4fef8
AS
45034 * elf/Makefile (gen-ldd): Fix pattern.
45035
995a80df
AS
45036 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45037 (init_tls): Likewise.
45038
8682f8b0
UD
450392011-09-12 Ulrich Drepper <drepper@gmail.com>
45040
45041 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45042
de82006d
AS
450432011-09-12 Andreas Schwab <schwab@redhat.com>
45044
a7c8e6a1
AS
45045 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45046 `struct cmsghdr *' instead of `void *'.
45047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45048 Likewise.
45049
0f31fe77
AS
450502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45051
45052 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45053 if non-absolute.
45054 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45055 ldd_rewrite_script.
0f31fe77 45056
32b4c839
UD
450572011-09-11 Ulrich Drepper <drepper@gmail.com>
45058
83cd1420
UD
45059 * configure.in: Remove --with-tls option.
45060 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45061 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45062 out in case it is missing.
45063 * sysdeps/ia64/elf/configure.in: Likewise.
45064 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45065 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45066 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45067 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45068 * sysdeps/sh/elf/configure.in: Likewise.
45069 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45070 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45071 * sysdeps/x86_64/elf/configure.in: Likewise.
45072 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45073 * sysdeps/mach/hurd/tls.h: Likewise.
45074
633f745d
UD
45075 [BZ #13067]
45076 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45077
f318beb8
UD
45078 [BZ #13090]
45079 * configure.in: Fix use of AC_INIT.
45080
32b4c839
UD
45081 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45082
3ce1f295
UD
450832011-09-10 Ulrich Drepper <drepper@gmail.com>
45084
bb016596
UD
45085 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45086 __set_errno.
8e58439c
UD
45087 * malloc/hooks.c: Likewise.
45088
aebae053 45089 [BZ #11929]
02d46fc4
UD
45090 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45091 variables statically.
45092 (narenas): Initialize.
45093 (list_lock): Initialize.
bb016596
UD
45094 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45095 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45096 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45097 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45098 Add initializers to main_arena and mp_.
45099 (malloc_state): Remove pagesize member. Change all users to use
45100 GLRO(dl_pagesize).
45101
45102 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45103 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45104 is always initialized.
45105
22a89187
UD
45106 * malloc/malloc.c: Removed unused configurations and dead code.
45107 * malloc/arena.c: Likewise.
45108 * malloc/hooks.c: Likewise.
02d46fc4 45109 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45110
d063d164
UD
45111 * include/tls.h: Removed. USE___THREAD must always be defined.
45112 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45113 * elf/dl-libc.c: Likewise.
45114 * elf/dl-tsd.c: Likewise.
45115 * include/errno.h: Likewise.
45116 * include/netdb.h: Likewise.
45117 * include/resolv.h: Likewise.
45118 * inet/herrno-loc.c: Likewise.
45119 * inet/herrno.c: Likewise.
45120 * malloc/arena.c: Likewise.
45121 * malloc/hooks.c: Likewise.
45122 * malloc/malloc.c: Likewise.
45123 * resolv/res-state.c: Likewise.
45124 * resolv/res_libc.c: Likewise.
45125 * sysdeps/i386/dl-machine.h: Likewise.
45126 * sysdeps/ia64/dl-machine.h: Likewise.
45127 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45128 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45129 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45130 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45131 * sysdeps/sh/dl-machine.h: Likewise.
45132 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45133 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45134 * sysdeps/unix/i386/sysdep.S: Likewise.
45135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45136 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45146 * sysdeps/x86_64/dl-machine.h: Likewise.
45147 * tls.make.c: Likewise.
45148
3ce1f295
UD
45149 * configure.in: Remove --with-__thread option. Make tests for
45150 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45151 tls_model attribute fail if no support is available. Remove
45152 USE_IN_LIBIO.
45153 * Makeconfig: Adjust for dropped configure option. All features are
45154 now mandatory.
45155 * Makerules: Likewise.
45156 * Versions.def: Likewise.
45157 * argp/argp-fmtstream.c: Likewise.
45158 * argp/argp-fmtstream.h: Likewise.
45159 * argp/argp-help.c: Likewise.
45160 * assert/assert.c: Likewise.
45161 * config.h.in: Likewise.
45162 * config.make.in: Likewise.
45163 * configure: Likewise.
45164 * configure.in: Likewise.
45165 * csu/Versions: Likewise.
45166 * csu/init.c: Likewise.
45167 * elf/tst-audit2.c: Likewise.
45168 * elf/tst-tls10.c: Likewise.
45169 * elf/tst-tls10.h: Likewise.
45170 * elf/tst-tls11.c: Likewise.
45171 * elf/tst-tls12.c: Likewise.
45172 * elf/tst-tls14.c: Likewise.
45173 * elf/tst-tlsmod11.c: Likewise.
45174 * elf/tst-tlsmod12.c: Likewise.
45175 * elf/tst-tlsmod13.c: Likewise.
45176 * elf/tst-tlsmod13a.c: Likewise.
45177 * elf/tst-tlsmod14a.c: Likewise.
45178 * elf/tst-tlsmod15b.c: Likewise.
45179 * elf/tst-tlsmod16a.c: Likewise.
45180 * elf/tst-tlsmod16b.c: Likewise.
45181 * elf/tst-tlsmod7.c: Likewise.
45182 * elf/tst-tlsmod8.c: Likewise.
45183 * elf/tst-tlsmod9.c: Likewise.
45184 * gmon/gmon.c: Likewise.
45185 * grp/fgetgrent_r.c: Likewise.
45186 * grp/putgrent.c: Likewise.
45187 * hurd/fopenport.c: Likewise.
45188 * include/libc-symbols.h: Likewise.
45189 * include/tls.h: Likewise.
45190 * intl/gettextP.h: Likewise.
45191 * intl/loadinfo.h: Likewise.
45192 * locale/global-locale.c: Likewise.
45193 * locale/localeinfo.h: Likewise.
45194 * mach/devstream.c: Likewise.
45195 * malloc/arena.c: Likewise.
45196 * malloc/set-freeres.c: Likewise.
45197 * misc/err.c: Likewise.
45198 * misc/getttyent.c: Likewise.
45199 * misc/mntent_r.c: Likewise.
45200 * posix/getopt.c: Likewise.
45201 * posix/wordexp.c: Likewise.
45202 * pwd/fgetpwent_r.c: Likewise.
45203 * resolv/Versions: Likewise.
45204 * resolv/res_hconf.c: Likewise.
45205 * shadow/fgetspent_r.c: Likewise.
45206 * shadow/putspent.c: Likewise.
45207 * stdio-common/printf_fphex.c: Likewise.
45208 * stdio-common/tmpfile.c: Likewise.
45209 * stdlib/abort.c: Likewise.
45210 * stdlib/fmtmsg.c: Likewise.
45211 * sunrpc/auth_unix.c: Likewise.
45212 * sunrpc/clnt_perr.c: Likewise.
45213 * sunrpc/clnt_tcp.c: Likewise.
45214 * sunrpc/clnt_udp.c: Likewise.
45215 * sunrpc/clnt_unix.c: Likewise.
45216 * sunrpc/openchild.c: Likewise.
45217 * sunrpc/svc_simple.c: Likewise.
45218 * sunrpc/svc_tcp.c: Likewise.
45219 * sunrpc/svc_udp.c: Likewise.
45220 * sunrpc/svc_unix.c: Likewise.
45221 * sunrpc/xdr.c: Likewise.
45222 * sunrpc/xdr_array.c: Likewise.
45223 * sunrpc/xdr_rec.c: Likewise.
45224 * sunrpc/xdr_ref.c: Likewise.
45225 * sunrpc/xdr_stdio.c: Likewise.
45226
1248c1c4
PB
452272011-09-09 Ulrich Drepper <drepper@gmail.com>
45228
45229 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45230
452312011-07-03 Andreas Jaeger <aj@suse.de>
45232
45233 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45234 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45235 regenerate with gen-libm-tests.pl.
45236
452372010-05-12 Petr Baudis <pasky@suse.cz>
45238
45239 [BZ #11589]
45240 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45241 around j0() zero points by switching to j1().
45242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45246
f22e1074
UD
452472011-09-09 Ulrich Drepper <drepper@gmail.com>
45248
f19009c1
UD
45249 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45250 instead of 0.
45251 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45252 instead of 0.
f19009c1
UD
45253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45254 Patch in part by Pavel Roskin <proski@gnu.org>.
45255
3f8cc204
UD
45256 [BZ #13138]
45257 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45258 realloc.
45259 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45260 Free memory block if necessary.
45261
f22e1074
UD
45262 [BZ #12847]
45263 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45264 be NULL. Don't lock in this case.
45265
0a2349f9
RM
452662011-09-09 Roland McGrath <roland@hack.frob.com>
45267
45268 * elf/elf.h (ELFOSABI_GNU): New macro.
45269 (ELFOSABI_LINUX): Define to that.
45270
f3cdd467
DZ
452712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45272
45273 * string/strncat.c (strncat): Undef the symbol in case it has been
45274 defined in bits/string.h.
45275
74718d13
UD
452762011-09-09 Ulrich Drepper <drepper@gmail.com>
45277
633e9e0f
UD
45278 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45279
0a2349f9 45280 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45281 link map.
45282
f9924780
AJ
452832011-08-17 Andreas Jaeger <aj@suse.de>
45284
45285 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45286
7f5517aa
PP
452872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45288 Ian Lance Taylor <iant@google.com>
45289
45290 * math/libm-test.inc (lround_test): New testcase.
45291 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45292
762011fe
UD
452932011-09-08 Ulrich Drepper <drepper@gmail.com>
45294
92963737
UD
45295 * Makefile: Remove support for automatic cvs check-ins.
45296 * Makerules: Likewise.
45297 * config.make.in: Likewise.
45298 * configure.in: Likewise.
45299 * intl/Makefile: Likewise.
45300 * locale/Makefile: Likewise.
45301 * po/Makefile: Likewise.
45302 * posix/Makefile: Likewise.
45303 * sysdeps/gnu/Makefile: Likewise.
45304 * sysdeps/mach/hurd/Makefile: Likewise.
45305 * sysdeps/sparc/sparc32/Makefile: Likewise.
45306
b0727fd8
JS
45307 [BZ #13118]
45308 * posix/Makefile (bug-regex32-ENV): Define.
45309 Patch by John Stanley <jpsinthemix@verizon.net>.
45310
a0f33f99
UD
45311 * misc/Makefile (headers): Add bits/select2.h.
45312 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45313 * misc/bits/select2.h: New file.
45314 * include/bits/select2.h: New file.
45315 * debug/Makefile (routines): Add fdelt_chk.
45316 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45317 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45318 FD_ISSET.
45319 * debug/fdelt_chk.c: New file.
45320
762011fe
UD
45321 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45322 * wcsmbs/test-wmemcmp.c: Likewise.
45323 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45324 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45325
453262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45327
45328 * string/Makefile (strop-tests): Add memcmp.
45329 * string/test-wmemcmp.c: New file.
45330 * string/test-memcmp.c: Add wmemcmp support.
45331
7f513ec8
RM
453322011-09-08 Roland McGrath <roland@hack.frob.com>
45333
0442afb4
RM
45334 [BZ #13153]
45335 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45336 2011-07-19 change.
45337
7f513ec8
RM
45338 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45339 garbage value in a __mach_port_mod_refs call in the cases of the
45340 task-self and thread-self ports.
45341
a12b2239
ST
453422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45343
45344 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45345
610f9ab4
AS
453462011-09-08 Andreas Schwab <schwab@redhat.com>
45347
7f513ec8 45348 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45349
48882a1a
LD
453502011-09-07 Ulrich Drepper <drepper@gmail.com>
45351
b49865be
UD
45352 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45353
fdc86bc9
UD
45354 * elf/dl-libc.c (dlerror_run): Pass back error code from
45355 dl_catch_error.
45356
c966526a
UD
45357 [BZ #13123]
45358 * elf/dl-load.c (lose): Free l_origin if it is valid.
45359
48882a1a
LD
45360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45361 names.
45362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45363 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45364 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45366 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45367 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45368
77a2a8b4
AZ
453692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45370
45371 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45372 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45373 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45374 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45375 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45376 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45377 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45378 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45379 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45380 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45381
24f579d8
AM
453822011-08-15 Alan Modra <amodra@gmail.com>
45383
45384 [BZ #13092]
45385 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45386 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45387 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45388 ppc_mcount to static-only-routines.
45389 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45390 __mcount_internal.
45391 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45392 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45393
3d4837df
UD
453942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45395
45396 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45397 for finite and infinity parameters.
45398
22700377
WS
453992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45400
45401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45402 and add nop instructions for throughput optimization.
45403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45404
5025581e
WS
454052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45406
45407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45408 aligned copy for power7 with vector-scalar instructions.
45409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45410
08a300c9
L
454112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45412
45413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45414 AVX check.
45415
59178ef9
AS
454162011-09-07 Andreas Schwab <schwab@redhat.com>
45417
45418 [BZ #13144]
45419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45420 last change.
45421
e38ba7ab
UD
454222011-09-07 Ulrich Drepper <drepper@gmail.com>
45423
45424 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45425 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45426 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45427 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45428 clock_gettime.
45429
d53a73ac
UD
454302011-09-06 Ulrich Drepper <drepper@gmail.com>
45431
fc8bffcc
UD
45432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45433 Forgot to demangle the pointer.
45434
ceaa0c5d
UD
45435 * sysdeps/i386/sysdep.h: Define atom_text_section.
45436 * sysdeps/x86_64/sysdep.h: Likewise.
45437 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45438 section with atom_text_section.
45439 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45443 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45444
a77d3c17
UD
45445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45447 already be defined. Change to take two parameters and don't assign
45448 result to variable. Adjust all users.
45449 Define INTERNAL_GETTIME if not already defined.
45450 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45451 call.
45452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45453 HAVE_CLOCK_GETTIME_VSYSCALL.
45454 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45455
d53a73ac
UD
45456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45457 gettimeofday vsyscall, just use time.
45458
a8f84144
AS
454592011-09-06 Andreas Schwab <schwab@redhat.com>
45460
45461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45462 <errno.h>.
45463
ef606249
UD
454642011-09-06 Ulrich Drepper <drepper@gmail.com>
45465
45466 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45467 syscall on x86-64.
45468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45469 syscall.
45470 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45471 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45472 syscall if possible.
45473
6585cb60
UD
454742011-09-05 Ulrich Drepper <drepper@gmail.com>
45475
45476 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45477 e_ident. Don't pass to find_mapsXX.
45478 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45479
a5f524e4
LD
454802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45481
45482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45483 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45484 * sysdeps/x86_64/multiarch/strchr.S: Update.
45485 Check bit_slow_BSF bit.
45486 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45487 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45488 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45489
554881ef
UD
454902011-09-05 Ulrich Drepper <drepper@gmail.com>
45491
d96de963
UD
45492 [BZ #13134]
45493 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45494 before glibc 2.15.
45495 (tryshell): Define.
45496 (__spawni): Change last parameter to be flag. Test
45497 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45498 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45499 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45500 * posix/spawni.c: Likewise.
45501 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45502 * posix/spawnp.c: Likewise. Change normal version to use
45503 SPAWN_XFLAGS_USE_PATH.
45504 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45505 SPAWN_XFLAGS_TRY_SHELL.
45506
d48e5868
UD
45507 [BZ #13150]
45508 * posix/glob.h: Remove gcc 1.x support.
45509
554881ef
UD
45510 [BZ #13068]
45511 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45512
693fb948
LD
455132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45514
45515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45516 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45517 strrchr-sse2-bsf
45518 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45519 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45521 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45524
1b48c537
UD
455252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45526
49d42c37
UD
45527 * sysdeps/x86_64/wcscmp.S: New file.
45528
1b48c537
UD
45529 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45530 wcscmp-c wcscmp-sse2
45531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45532 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45534 * wcsmbs/wcscmp.c: Allow renaming.
45535
15c95c5d
DM
455362011-09-05 David S. Miller <davem@davemloft.net>
45537
45538 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45539 stack slot, rather than the struct return pointer slot.
45540 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45541 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45543 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45544
2f0ad8f3
UD
455452011-09-05 Ulrich Drepper <drepper@gmail.com>
45546
d88ae418
UD
45547 * po/ja.po: Update from translation team.
45548
2f0ad8f3
UD
45549 [BZ #13144]
45550 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45551 kernel in 64-bit binaries.
45552
5f4318d1
DM
455532011-09-01 David S. Miller <davem@davemloft.net>
45554
45555 * elf/elf.h (HWCAP_SPARC_*): Move to..
45556 * sysdeps/sparc/sysdep.h: this new file and add new values.
45557 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45558 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45559 _DL_HWCAP_COUNT to 24.
45560 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45561 entries.
45562 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45563 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45564 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45566 instead of magic constants.
45567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45568
3ba57516
DM
455692011-08-31 David S. Miller <davem@davemloft.net>
45570
45571 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45573 Reimplement to do errno handling inline.
45574 (SYSCALL_ERROR_HANDLER): New macro.
45575 (__SYSCALL_STRING): Do not do errno handling in asm.
45576 (__CLONE_SYSCALL_STRING): Delete.
45577 (__INTERNAL_SYSCALL_STRING): Delete.
45578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45579 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45580 (PSEUDO): Reimplement to do errno handling inline.
45581 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45582 (SYSCALL_ERROR_HANDLER): New macro.
45583 (__SYSCALL_STRING): Do not do errno handling in asm.
45584 (__CLONE_SYSCALL_STRING): Delete.
45585 (__INTERNAL_SYSCALL_STRING): Delete.
45586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45587 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45588 i386.
45589 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45590 (inline_syscall*): Add 'err' argument.
45591 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45592 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45593 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45594 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45595
45596 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45597 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45598
2bc17433
AS
455992011-08-30 Andreas Schwab <schwab@redhat.com>
45600
45601 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45602
fbeb5f4d
JO
456032011-08-29 Jiri Olsa <jolsa@redhat.com>
45604
45605 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45606 directive.
45607
ad69cc26
DM
456082011-08-24 David S. Miller <davem@davemloft.net>
45609
45610 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45611
39dd69df
AS
456122011-08-24 Andreas Schwab <schwab@redhat.com>
45613
45614 * elf/Makefile: Add rules to build and run unload8 test.
45615 * elf/unload8.c: New file.
45616 * elf/unload8mod1.c: New file.
45617 * elf/unload8mod1x.c: New file.
45618 * elf/unload8mod2.c: New file.
45619 * elf/unload8mod3.c: New file.
45620
45621 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45622 it wasn't used.
45623
2c0b250a
DM
456242011-08-23 David S. Miller <davem@davemloft.net>
45625
45626 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45627 subtract stack bias.
45628 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45629 %sp not %fp in calculations.
45630 (_JMPBUF_UNWINDS_ADJ): Likewise.
45631
22044b48
DM
45632 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45633 (aio_suspend): Call it to force an exception region around the
45634 AIO_MISC_WAIT() invocation.
45635
2cae4995
AS
456362011-08-23 Andreas Schwab <schwab@redhat.com>
45637
45638 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45639 backslash.
45640
873a772e
AJ
456412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45642
45643 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45644 protection macro.
45645 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45646 and <dl-machine.h>.
45647 (Elf64_FuncDesc): Remove.
45648
25ad0df1
DM
456492011-08-22 David S. Miller <davem@davemloft.net>
45650
45651 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45652 sigaltstack check, add missing cfi directives.
45653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45654 missing cfi directives, and sigaltstack handling.
45655
e888bcbe
AS
456562011-08-16 Andreas Schwab <schwab@redhat.com>
45657
45658 [BZ #11724]
45659 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45660 object is seen twice.
45661 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45662
45663 * elf/Makefile (distribute): Add tst-initorder2.c.
45664 (tests): Add tst-initorder2.
45665 (modules-names): Add tst-initorder2a tst-initorder2b
45666 tst-initorder2c tst-initorder2d. Add rules to build them.
45667 ($(objpfx)tst-initorder2.out): New rule.
45668 * elf/tst-initorder2.c: New file.
45669 * elf/tst-initorder2.exp: New file.
45670
87162f46
AS
456712011-08-22 Andreas Schwab <schwab@redhat.com>
45672
70538b7f
AS
45673 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45674
f55ffe58
AS
45675 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45676 dependencies back to end of function.
45677
87162f46
AS
45678 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45679 $(elfobjdir)/ld.so.
45680
91b392a4
UD
456812011-08-21 Ulrich Drepper <drepper@gmail.com>
45682
45683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45684 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45686 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45687 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45688 of __vdso_gettimeofday.
45689 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45690 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45691 attribute_hidden.
45692 (_libc_vdso_platform_setup): Remove initialization of
45693 __vdso_gettimeofday and __vdso_time.
45694
5c43483f
UD
456952011-08-20 Ulrich Drepper <drepper@gmail.com>
45696
775a77e7
UD
45697 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45698 and fgetc_unlocked.
45699 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45700 getc_unlocked.
89f447ed 45701
49c74ba9
UD
45702 * elf/dl-open.c (add_to_global): Report additions to the global scope
45703 for LD_DEBUG=scopes.
45704 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45705 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45706
5c43483f
UD
45707 [BZ #13114]
45708 * stdio-common/Makefile (tests): Add bug24.
45709 * stdio-common/bug24.c: New file.
45710
a101b025
AJ
457112011-08-19 Andreas Jaeger <aj@suse.de>
45712
45713 [BZ #13114]
45714 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45715 non-existant file when using close-on-exec mode.
45716
c88f1766
UD
457172011-08-20 Ulrich Drepper <drepper@gmail.com>
45718
0276a718
UD
45719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45720 the very first instruction.
45721
c88f1766
UD
45722 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45723 the CFI state in the end.
45724 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45725 inclusion of dl-trampoline.h.
45726 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45727
51ccffa0
AS
457282011-08-19 Andreas Schwab <schwab@redhat.com>
45729
94d7165f
AS
45730 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45731 expectations for long double.
45732
51ccffa0
AS
45733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45734 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45735
fd708658 457362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45737
45738 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45739 artificual limit depends upon the system page size.
45740
44f0a71e
UD
457412011-08-17 Ulrich Drepper <drepper@gmail.com>
45742
45743 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45744 * resolv/Makefile: Define CFLAGS-libresolv.
45745
8de79a24
AS
457462011-08-17 Andreas Schwab <schwab@redhat.com>
45747
45748 * nss/makedb.c (compute_tables): Make variables used in nested
45749 function static.
45750
27724598
UD
457512011-08-17 Ulrich Drepper <drepper@gmail.com>
45752
c5305d88
UD
45753 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45754 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45755 if buffer was too small.
45756
27724598
UD
45757 * elf/pldd.c (main): Attach to all threads in the process.
45758 Rewrite /proc handling to use *at functions.
45759
076fe015
UD
457602011-08-16 Ulrich Drepper <drepper@gmail.com>
45761
174baab3
UD
45762 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45763 specifies first scope to show.
45764 (dl_open_worker): Update callers. Move printing scope of new
45765 object to before the relocation.
44f0a71e 45766 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45767 * sysdeps/generic/ldsodefs.h: Update declaration.
45768
076fe015
UD
45769 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45770 string for the scope number.
45771
a60df2c3
UD
457722011-08-14 Ulrich Drepper <drepper@gmail.com>
45773
45774 * nscd/servicescache.c (cache_addserv): Make sure written is always
45775 initialized.
45776
5e4287d1
RM
457772011-08-14 Roland McGrath <roland@hack.frob.com>
45778
85ae0589
RM
45779 * sysdeps/i386/i486/bits/atomic.h
45780 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45781 statement expression, so as to suppress "set but not used" warning.
45782 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45783
69f63097
RM
45784 * string/strncat.c (STRNCAT): Use prototype definition.
45785
675456ef
RM
45786 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45787 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45788 -Iprograms here.
45789 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45790 (localedef-modules): Add localedef.
45791 (locale-modules): Add locale.
45792
5e4287d1
RM
45793 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45794 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45795 to avoid a warning.
45796
9c96ff23
DM
457972011-08-14 David S. Miller <davem@davemloft.net>
45798
45799 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45800 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45801
f9ddf089
UD
458022011-08-13 Ulrich Drepper <drepper@gmail.com>
45803
44f0a71e 45804 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45805 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45806 * elf/rtld.c (dl_main): Set l_name of vDSO.
45807 Call _dl_show_scope when DL_DEBUG_SCOPES.
45808 (process_dl_debug): Recognize scopes flag and also set it for all.
45809 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45810 Declare _dl_show_scope.
45811
1dc27704
UD
45812 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45813 (do_dlopen): Pass caller_dlopen to dl_open.
45814 (__libc_dlopen_mode): Initialize caller_dlopen.
45815
f9ddf089
UD
45816 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45817 of libc. Make tolower call locale-independent. Optimize a bit by
45818 using isdigit instead of isalnum.
45819 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45820
9ac533d3
UD
458212011-08-12 Ulrich Drepper <drepper@gmail.com>
45822
45823 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45824 was a dependency or dynamically loaded.
45825
89edf2e9
UD
458262011-08-11 Ulrich Drepper <drepper@gmail.com>
45827
8e999d29
UD
45828 * intl/l10nflist.c: Allow architecture-specific pop function.
45829 * sysdeps/x86_64/l10nflist.c: New file.
45830
89edf2e9
UD
45831 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45832 classification.
45833
14d96785
AS
458342011-08-10 Andreas Schwab <schwab@redhat.com>
45835
45836 * include/dirent.h: Add libc_hidden_proto for scandirat and
45837 scandirat64. Don't declare __scandirat64.
45838 * dirent/scandirat.c: Add libc_hidden_def.
45839 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45840 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45841
6761ac04
DM
458422011-08-10 David S. Miller <davem@davemloft.net>
45843
45844 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45845 enum.
45846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45849
c55fbd1e
UD
458502011-08-09 Ulrich Drepper <drepper@gmail.com>
45851
45852 * Versions.def [libc]: Add GLIBC_2.15.
45853 * dirent/Makefile (routines): Add scandirat and scandirat64.
45854 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45855 GLIBC_2.15.
45856 * dirent/dirent.h: Declare scandirat and scandirat64.
45857 * dirent/scandirat.c: New file.
45858 * dirent/scandirat64.c: New file.
45859 * sysdeps/wordsize-64/scandirat.c: New file.
45860 * sysdeps/wordsize-64/scandirat64.c: New file.
45861 * dirent/opendir.c: Define opendirat.
45862 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45863 using scandirat.
45864 * dirent/scandir64.c: Adjust for scandir.c change.
45865 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45866 __scandirat64, and __scandir_cancel_handler.
45867 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45868 additional parameter and use openat instead of open (outside of ld.so).
45869 Add new __opendir as wrapper around __opendirat.
45870 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45871 here without requiring old scandirat implementation.
45872
879165f2
UD
458732011-08-08 Ulrich Drepper <drepper@gmail.com>
45874
45875 * dirent/scandir.c (cancel_handler): Renamed to
45876 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45877 defined. Adjust users.
45878 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45879 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45880
cb7e923b
UD
458812011-08-04 Ulrich Drepper <drepper@gmail.com>
45882
16292edd
UD
45883 * string/test-string.h (IMPL): Use __STRING to expand name and then
45884 stringify it.
45885
cb7e923b
UD
45886 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45887 of cleanups.
45888
cff82933
LD
458892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45890
45891 * string/Makefile: Update.
45892 (strop-tests): Append strncat.
45893 * string/test-wcscmp.c: New file.
45894 New comprehensive test for wcscmp.
45895 * string/test-strcmp.c: Update.
45896 (WIDE): New define.
45897
9be9bfcc
AS
458982011-07-22 Andreas Schwab <schwab@redhat.com>
45899
45900 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45901 line.
45902
2e96f1c7
AS
459032011-07-26 Andreas Schwab <schwab@redhat.com>
45904
45905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45906 encoding to ACE if AI_IDN.
45907
85188888
JJ
459082011-08-01 Jakub Jelinek <jakub@redhat.com>
45909
45910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45911 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45912
5fa16e9b
LD
459132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45914
45915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45916 Fix overflow bug in strncat.
45917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45918
45919 * string/test-strncat.c: Update.
45920 Add new tests for checking overflow bugs.
45921
459222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45923
45924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45925 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45926 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45927 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45929 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45930 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45931 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45932 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45933
45934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45935 (USE_AS_STRCAT): Define.
45936 Add strcat and strncat support.
45937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45938
8c1a459f
AS
459392011-07-25 Andreas Schwab <schwab@redhat.com>
45940
45941 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45942 __n bigger than INT_MAX+1.
45943 (__strncmp_g): Likewise.
45944
bba33c28
UD
459452011-07-23 Ulrich Drepper <drepper@gmail.com>
45946
798be72d
UD
45947 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45948 * libio/stido.h: Likewise.
45949
8accd4dc
UD
45950 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45951 (AF_NFC): Define.
45952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45953 (AF_NFC): Define.
45954
cbff0d96
UD
45955 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45960
9191c04a
UD
45961 [BZ #13021]
45962 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45963 installed.
45964
bba33c28
UD
45965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45966 typo.
45967 (_dl_x86_64_save_sse): Likewise.
45968
90f139dd
UD
459692011-07-22 Ulrich Drepper <drepper@gmail.com>
45970
1aae088a
UD
45971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45972 OSXSAVE.
45973 (_dl_x86_64_save_sse): Likewise.
45974
8e2045f5
UD
45975 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45976
90f139dd
UD
45977 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45978
1d002f25
AS
459792011-07-21 Andreas Schwab <schwab@redhat.com>
45980
45981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45982 change.
45983 (_dl_x86_64_save_sse): Use correct AVX check.
45984
21137f89
UD
459852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45986
45987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45988 bug in strncpy/strncat.
45989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45990
a65c0b7a
UD
459912011-07-21 Ulrich Drepper <drepper@gmail.com>
45992
45993 * string/tester.c (test_strcat): Add tests for different alignments
45994 of source and destination.
45995 (test_strncat): Likewise.
45996
6986b98a
UD
459972011-07-20 Ulrich Drepper <drepper@gmail.com>
45998
90bb2039
UD
45999 [BZ #12852]
46000 * posix/glob.c (glob): Check passed in values before using them in
46001 expressions to avoid some overflows.
46002 (glob_in_dir): Likewise.
46003
5644ef54
UD
46004 [BZ #13007]
46005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46006 check for AVX enablement so that we don't crash with old kernels and
46007 new hardware.
46008 * elf/tst-audit4.c: Add same checks here.
46009 * elf/tst-audit6.c: Likewise.
46010
46011 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46012
bfc9dc9b
AS
460132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46014
46015 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46016
702e64bb
UD
460172011-07-20 Ulrich Drepper <drepper@gmail.com>
46018
46019 * po/cs.po: Update from translation team.
46020 * po/bg.po: Likewise.
46021
295e904f
MP
460222011-07-12 Marek Polacek <mpolacek@redhat.com>
46023
46024 * misc/sys/cdefs.h: Add support for const attribute.
46025 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46026 to gnu_dev_{major,minor,makedev} functions.
46027
3ff94596
MP
460282011-07-20 Marek Polacek <mpolacek@redhat.com>
46029
46030 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46031
28b59fca
AS
460322011-07-20 Andreas Schwab <schwab@redhat.com>
46033
46034 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46035 strlen results.
46036
19df733e
AK
460372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46038
46039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46040 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46041 register in order to avoid conflicts with the soft frame pointer
46042 being held in r11 when necessary.
46043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46044 (INTERNAL_VSYSCALL_NCS): Likewise.
46045
c8835729
MP
460462011-07-14 Marek Polacek <mpolacek@redhat.com>
46047
46048 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46049 * elf/dl-fini.c (_dl_fini): Adjust caller.
46050 * elf/dl-close.c (_dl_close_worker): Likewise.
46051 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46052
b902330c
MP
460532011-07-15 Marek Polacek <mpolacek@redhat.com>
46054
8991e135
MP
46055 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46056 "aux_cache->nlibs < 0".
46057
b902330c
MP
46058 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46059 in the reload-count case.
46060
99710781
LD
460612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46062
46063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46064 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46065 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46066 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46067 * sysdeps/x86_64/multiarch/strcat.S: New file.
46068 * sysdeps/x86_64/multiarch/strncat.S: New file.
46069 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46071 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46072 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46074 (USE_AS_STRCAT): Define.
46075 Add strcat and strncat support.
46076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46078 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46079 * string/strncat.c: Update.
46080 (USE_AS_STRNCAT): Define.
46081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46082 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46083 and i7.
46084 * sysdeps/x86_64/multiarch/init-arch.h
46085 (bit_Prefer_PMINUB_for_stringop): New.
46086 (index_Prefer_PMINUB_for_stringop): Likewise.
46087 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46088 bit_Prefer_PMINUB_for_stringop.
46089
7dc6bd90
UD
460902011-07-19 Ulrich Drepper <drepper@gmail.com>
46091
46092 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46093 buffer64.
46094 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46095 of casting of buffer.
46096 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46097 buffer32 and buffer64.
46098 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46099 writes instead of casting of buffer.
46100 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46101 buffer32.
46102 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46103 casting of buffer.
46104
e0e72284
AS
461052011-07-19 Andreas Schwab <schwab@redhat.com>
46106
46107 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46108
feb1eb0b
UD
461092011-07-19 Ulrich Drepper <drepper@gmail.com>
46110
46111 * nscd/nscd.c (termination_handler): Don't do anything for a database
46112 if it has not yet been initialized.
46113
298711ff
UD
461142011-07-18 Ulrich Drepper <drepper@gmail.com>
46115
46116 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46117
461182011-07-15 Marek Polacek <mpolacek@redhat.com>
46119
46120 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46121
f9d68389
UD
461222011-07-18 Ulrich Drepper <drepper@gmail.com>
46123
46124 * po/nl.po: Update from translation team.
46125 * po/sv.po: Likewise.
46126
db290cf5
RM
461272011-07-16 Roland McGrath <roland@hack.frob.com>
46128
46129 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46130 now disallowed by GCC.
5c550700 46131
fd5e21c7
RM
46132 * configure.in (use-default-link): Default to yes if a test -shared
46133 link meets our qualifications.
46134 * configure: Regenerated.
46135
5c550700
RM
46136 * config.make.in (output-format): New variable.
46137 * configure.in: Check for ld --print-output-format support.
46138 * configure: Regenerated.
46139 * Makerules ($(common-objpfx)format.lds)
46140 [$(output-format) != unknown]: Just use $(output-format),
46141 instead of the linker-script munging.
46142
9fa2c032
RM
461432011-07-14 Roland McGrath <roland@hack.frob.com>
46144
a6928d51
RM
46145 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46146 of $(common-objpfx)shlib.lds.
46147 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46148
661607b3
RM
46149 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46150 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46151
9fa2c032
RM
46152 * configure.in (-z relro check): Adjust test code to add a large
46153 writable data section after it.
46154 * configure: Regenerated.
46155
defe9061
RM
461562011-07-11 Roland McGrath <roland@hack.frob.com>
46157
46158 * configure.in (-z relro check): Fix test code to make the variable
46159 truly const.
46160 * configure: Regenerated.
46161
319b9ad4
UD
461622011-07-11 Ulrich Drepper <drepper@gmail.com>
46163
46164 * nscd/nscd.h (struct traced_file): Define.
46165 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46166 elements. Add traced_files.
46167 (inotify_fd): Declare.
46168 (register_traced_file): Declare.
46169 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46170 (inotify_fd): Export.
46171 (resolv_conf_descr): Remove.
46172 (nscd_init): Move inotify descriptor creation to main.
46173 Don't register files for notification here.
46174 (register_traced_file): New function.
46175 (invalidate_cache): Don't use reset_res to determine whether to call
46176 res_init, go through the list of registered files.
46177 (main_loop_poll): The inotify descriptors are now stored in the
46178 structures for the traced files.
46179 (main_loop_epoll): Likewise
46180 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46181 to __nss_disable_nscd.
46182 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46183 for a database anymore. Check the records for all the registered
46184 files instead.
46185 * nss/Makefile (libnss_files-routines): Add files-init.
46186 (libnss_db-routines): Add db-init.
46187 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46188 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46189 * nss/nss_db/db-init.c: New file.
46190 * nss/nss_files/files-init.c: New file.
46191 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46192 __nss_lookup_function.
46193 (__nss_lookup_function): Call nss_load_library.
46194 (nss_load_all_libraries): New function.
46195 (__nss_disable_nscd): Take parameter with callback function for files
46196 to register. Set is_nscd. Load all the DSOs for the NSS modules
46197 used for the cached services.
46198 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46199 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46200 options for features to all the files in nscd.
46201
46202 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46203
23bee3e8
RM
462042011-07-10 Roland McGrath <roland@hack.frob.com>
46205
46206 * csu/elf-init.c (__libc_csu_init): Comment typo.
46207
46a5b7f0
UD
462082011-07-09 Ulrich Drepper <drepper@gmail.com>
46209
46210 * po/pl.po: Update from translation team.
46211 * po/ja.po: Likewise.
46212 * po/ru.po: Likewise.
46213 * po/ko.po: Likewise.
46214 * po/fr.po: Likewise.
46215
d30cf5bb
RM
462162011-07-09 Roland McGrath <roland@hack.frob.com>
46217
113ddea4
RM
46218 * configure.in (.ctors/.dtors header and trailer check):
46219 Use an empirical test on a built program.
46220 * configure: Regenerated.
46221
574920b4
RM
46222 * configure.in (-z relro check): Use an empirical test on a built DSO.
46223 Detect, but do not require, on ia64.
46224 * configure: Regenerated.
46225
d30cf5bb
RM
46226 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46227 Update tests that use readelf to use $READELF instead.
46228 * configure: Regenerated.
46229
8538fdb3
UD
462302011-07-08 Ulrich Drepper <drepper@gmail.com>
46231
46232 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46233 if the result is not used.
46234
04d08991
AJ
462352011-07-05 Andreas Jaeger <aj@suse.de>
46236
46237 [BZ#9696]
46238 * stdlib/tst-strtod.c: Add testcase.
46239
de283087
AD
462402011-07-07 Ulrich Drepper <drepper@gmail.com>
46241
4e5f31c8 46242 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46243 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46244 The latter has a higher limit. Take additional parameter to pass to
46245 the new function.
46246 (__pathconf): Pass file to __statfs_link_max.
46247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46248 __statfs_link_max.
46249 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46250 __statfs_link_max.
46251
de283087
AD
46252 [BZ #12868]
46253 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46255 Handle Lustre.
46256 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46257 (__statfs_filesize_max): Likewise.
46258 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46259
c75fa153
AJ
462602011-07-05 Andreas Jaeger <aj@suse.de>
46261
46262 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46263
1a544854
UD
462642011-07-06 Marek Polacek <mpolacek@redhat.com>
46265
46266 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46267 `status' variable.
46268 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46269 Likewise.
46270
6f0eec67
UD
462712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46272
46273 * Makefile (strop-tests): Add strncat.
46274 * string/test-strncat.c: New file.
46275
aae30307
UD
462762011-06-30 Marek Polacek <mpolacek@redhat.com>
46277
46278 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46279
c0cfb5eb
UD
462802011-06-21 Andreas Jaeger <aj@suse.de>
46281
46282 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46283 Copy rule from iconvdata/Makefile.
46284
01636b21
UD
462852011-07-06 Ulrich Drepper <drepper@gmail.com>
46286
46287 [BZ #12922]
46288 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46289 but no long options are defined, just return 'W'.
46290
9895c8bc
UD
462912011-06-22 Marek Polacek <mpolacek@redhat.com>
46292
46293 [BZ #9696]
46294 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46295
5d4cf042
UD
462962011-07-06 Ulrich Drepper <drepper@gmail.com>
46297
46298 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46299 netgroups to read.
960e5535 46300 (innetgr): Likewise.
5d4cf042 46301
751eb97e
RM
463022011-07-05 Roland McGrath <roland@hack.frob.com>
46303
46304 * config.make.in (install_root): Default to $(DESTDIR).
46305
f15f1e45
UD
463062011-07-05 Ulrich Drepper <drepper@gmail.com>
46307
46308 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46309
4e34ac6a
RM
463102011-07-02 Roland McGrath <roland@hack.frob.com>
46311
5e9b6af4
RM
46312 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46313
84f9ea0f
RM
46314 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46315 containing directory rather than embedding absolute directory names.
46316
ea5ee9f7
RM
46317 * scripts/check-local-headers.sh: Rewritten using awk.
46318 Match by word, not by line. Print error messages for matches.
46319 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46320
1b74661a
RM
46321 * Makerules [shlib-lds-flags empty]:
46322 ($(common-objpfx)libc_pic.opts): New target.
46323 ($(common-objpfx)libc_pic.os.clean): New target.
46324 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46325
46326 * config.make.in (OBJCOPY): New variable.
46327 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46328 * configure: Regenerated.
46329
f781ef40
RM
46330 * config.make.in (use-default-link): New variable.
46331 * configure.in (use_default_link): Grok --with-default-link to set it.
46332 * configure: Regenerated.
46333 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46334 (shlib-lds, shlib-lds-flags): Define to empty.
46335
2d4fa81e
RM
46336 * Makerules (shlib-lds): New variable.
46337 (shlib-lds-flags): New variable.
46338 (build-shlib, build-moduile, build-module-asneeded): Use it.
46339 ($(common-objpfx)libc.so): Use $(shlib-lds).
46340 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46341 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46342
31fffa6b
RM
46343 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46344 DT_FLAGS/DT_FLAGS_1 with zero flags.
46345
4e34ac6a
RM
46346 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46347 linker script munging.
46348
fcfc776b
UD
463492011-07-02 Ulrich Drepper <drepper@gmail.com>
46350
46351 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46352 as 128-bit value.
46353 * crypt/sha512.c (sha512_process_block): Perform total addition using
46354 128-bit if possible.
46355 (__sha512_finish_ctx): Likewise.
46356 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46357 as 64-bit value.
46358 * crypt/sha256.c (SWAP64): Define.
46359 (sha256_process_block): Perform total addition using 64-bit if
46360 possible.
46361 (__sha256_finish_ctx): Likewise.
46362
99231d9a
UD
463632011-07-01 Ulrich Drepper <drepper@gmail.com>
46364
46365 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46367 * nscd/hstcache.c (cache_addhst): Likewise.
46368 * nscd/grpcache.c (cache_addgr): Likewise.
46369 * nscd/aicache.c (addhstaiX): Likewise
46370 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46371
445b4a53
TK
463722011-07-01 Thorsten Kukuk <kukuk@suse.de>
46373
46374 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46376 * nscd/hstcache.c (cache_addhst): Likewise.
46377 * nscd/grpcache.c (cache_addgr): Likewise.
46378 * nscd/aicache.c (addhstaiX): Likewise
46379
6d4d8e8e
AS
463802011-07-01 Andreas Schwab <schwab@redhat.com>
46381
46382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46383 domain only when needed.
46384
89f654c5
AS
463852011-06-30 Andreas Schwab <schwab@redhat.com>
46386
46387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46388 is always restored.
46389
cf3b23ff
UD
463902011-06-29 Ulrich Drepper <drepper@gmail.com>
46391
46392 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46393 are re-adding the entry.
46394 * nscd/servicescache.c (cache_addserv): Likewise.
46395
751626f9
AJ
463962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46397
46398 * sysdeps/generic/dl-irel.h: fix protection against multiple
46399 inclusions.
46400 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46401
9113ea1f
UD
464022011-06-28 Ulrich Drepper <drepper@gmail.com>
46403
5c0b8d90
UD
46404 [BZ #12935]
46405 * malloc/memusage.sh: Fix quoting in message.
46406 * debug/xtrace.sh: Likewise.
46407
9113ea1f
UD
46408 * configure.in: Remove support for --experimental-malloc option, make
46409 it the default.
46410 * config.make.in: Likewise.
46411 * malloc/Makefile: Likewise.
46412
a4172181
AS
464132011-06-27 Andreas Schwab <schwab@redhat.com>
46414
46415 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46416 two-byte characters.
46417
78a7eee7
RM
464182011-06-27 Roland McGrath <roland@hack.frob.com>
46419
62bede13
RM
46420 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46421 AC_CACHE_CHECK invocation.
46422 * configure: Regenerated.
46423
78a7eee7
RM
46424 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46425
5ce33a62
UD
464262011-06-27 Ulrich Drepper <drepper@gmail.com>
46427
034807a9
UD
46428 [BZ #12350]
46429 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46430 bit from old_res_options.
46431
4902da17
UD
46432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46433
5ce33a62
UD
46434 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46435 value type for setfct.
46436
c2344f56
L
464372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46438
46439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46440 __gettimeofday instead of gettimeofday.
46441
68468076
UD
464422011-06-26 Ulrich Drepper <drepper@gmail.com>
46443
46444 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46445
acb0d739
L
464462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46447
46448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46449
46450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46451 info.
46452
8912479f
L
464532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46454
46455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46456 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46457 strcpy-sse2-unaligned strncpy-sse2-unaligned
46458 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46459 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46460 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46461 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46462 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46465 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46466 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46467 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46468 (STRCPY): Support SSE2 and SSSE3 versions.
46469
d5495a11
UD
464702011-06-24 Ulrich Drepper <drepper@gmail.com>
46471
46472 [BZ #12874]
46473 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46474 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46475 kernels which artificially limit size of requests.
46476
0b1cbaae
L
464772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46478
46479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46480 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46481 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46482 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46483 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46484 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46485 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46486 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46489 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46490 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46491 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46492 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46493 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46495 Enable unaligned load optimization for Intel Core i3, i5 and i7
46496 processors.
46497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46498 Define.
46499 (index_Fast_Unaligned_Load): Define.
46500 (HAS_FAST_UNALIGNED_LOAD): Define.
46501
07f494a0
MP
465022011-06-23 Marek Polacek <mpolacek@redhat.com>
46503
46504 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46505
fa3fc0fe
UD
465062011-06-22 Ulrich Drepper <drepper@gmail.com>
46507
46508 [BZ #12907]
46509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46510 until it is clear that the information is realy needed.
46511 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46512
e12df166
AS
465132011-06-22 Andreas Schwab <schwab@redhat.com>
46514
46515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46516
852eb34d
UD
465172011-06-22 Ulrich Drepper <drepper@gmail.com>
46518
84e2a551
UD
46519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46520 /sys/devices/system/cpu/online if it is usable.
46521
852eb34d
UD
46522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46523 reading the information from the /proc filesystem to once a second.
46524
6e502e19
UD
465252011-06-21 Andreas Jaeger <aj@suse.de>
46526
46527 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46528 NULL after inclusion of kernel headers.
46529
75d39ff2
UD
465302011-06-21 Ulrich Drepper <drepper@gmail.com>
46531
51f9aa6a
UD
46532 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46533 calls to internal_setent.
46534
c0244a9d
UD
46535 [BZ #12885]
46536 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46537 addresses using gethostbyname4_r ignore IPv4 addresses.
46538
c5e3c2ae
UD
46539 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46540 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46541
75d39ff2
UD
46542 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46543
42675c6f
DM
465442011-06-20 David S. Miller <davem@davemloft.net>
46545
46546 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46547 inclusions.
46548 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46549
46550 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46551 (elf_irel): Use it.
46552 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46553 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46554 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46555 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46556 * sysdeps/x86_64/dl-irel.h: Likewise.
46557
46558 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46559 * elf/dl-sym.c: Likewise.
46560
57912a71
UD
465612011-06-15 Ulrich Drepper <drepper@gmail.com>
46562
46563 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46564 need to dereference resplen2.
46565
ee22793d
AS
465662011-06-14 Andreas Schwab <schwab@redhat.com>
46567
46568 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46569
a9e836b0
UD
465702011-06-15 Ulrich Drepper <drepper@gmail.com>
46571
77fb9117
UD
46572 * Makeconfig: Define vardbdir and inst_vardbdir.
46573 * nss/Makefile: Add rules to install db-Makefile.
46574
40c1b22c
UD
46575 * nss/nss_db/db-XXX.c: Cleanup.
46576
9f2da732
UD
46577 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46578 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46579 GLIBC_PRIVATE.
46580 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46581 * nss/makedb.c: Implement -g option to specify that value strings
46582 are generated and should not be added to table iterated over for
46583 get*ent calls.
46584 * nss/nss_db/db-initgroups.c: New file.
46585
82e9a1f7
UD
46586 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46587 interface.
46588
c41af17e
UD
46589 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46590 (internal_getgrouplist): Adjust to name change.
46591 Update use_initgroups_entry if this is not the first call.
46592 * nss/databases.def: Add initgroups entry.
46593
a9e836b0
UD
46594 * nss/makedb.c (compute_tables): Check result of multiple hash table
46595 sizes to minimize maximum chain length.
46596
2666d441
UD
465972011-06-14 Ulrich Drepper <drepper@gmail.com>
46598
46599 * Versions.def: Add entry for libnss_db.
46600 * shlib-versions: Likewise.
46601 * nss/Makefile: Add rules to build libnss_db.
46602 * nss/Versions: Add libnss_db information. Organize libnss_files
46603 entries better.
46604 * nss/db-Makefile: Add gshadow support. Change rules for the new
46605 makedb progra. Some minor improvements to generate smaller files.
46606 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46607 here from...
46608 * nss/makedb.c: ...here.
46609 Improve database format to be smaller and require less memory at
46610 runtime.
46611 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46612 db anymore.
46613 * nss/nss_db/db-netgrp.c: Likewise.
46614 * nss/nss_db/db-open.c: Likewise.
46615 * nss/nss_files/flies-XXX.x: Adjust comments.
46616 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46617 * nss/nss_files/files-grp.c: Likewise.
46618 * nss/nss_files/files-hosts.c: Likewise.
46619 * nss/nss_files/files-network.c: Likewise.
46620 * nss/nss_files/files-proto.c: Likewise.
46621 * nss/nss_files/files-pwd.c: Likewise.
46622 * nss/nss_files/files-rpc.c: Likewise.
46623 * nss/nss_files/files-service.c: Likewise.
46624 * nss/nss_files/files-sgrp.c: Likewise.
46625 * nss/nss_files/files-spwd.c: Likewise.
46626 * nss/nss_db/db-alias.c: Removed.
46627 * nss/nss_db/dummy-db.h: Removed.
46628
9ee76b5a
UD
466292011-06-02 Ulrich Drepper <drepper@gmail.com>
46630
46631 * nss/makedb.c: Rewritten to not use database library.
46632 * nss/Makefile: Update to build new makedb program.
46633
c71ca1f8
AJ
466342011-06-14 Andreas Jaeger <aj@suse.de>
46635
46636 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46637 memset declaration.
46638
3154bfb8
UD
466392011-06-10 Andreas Schwab <schwab@redhat.com>
46640
46641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46642 tmpbuf.
46643
b350afab
RM
466442011-06-10 Roland McGrath <roland@hack.frob.com>
46645
decd4e50
RM
46646 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46647 * elf/Makefile ($(objpfx)ld.so): Likewise.
46648
5615eaf2
RM
46649 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46650 Don't list ld.so twice in dependencies.
46651
46652 * posix/bug-regex31.c: Include <stdlib.h>.
46653
46654 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46655
46656 * nis/nss_compat/compat-spwd.c
46657 (getspent_next_nss_netgr): Remove unused variable.
46658 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46659
46660 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46661 nonmembers" output to use the right array.
46662
46663 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46664
46665 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46666
46667 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46668 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46669 * catgets/gencat.c (read_input_file): Likewise.
46670 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46671
46672 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46673 variable definition inside #if's controlling its use.
46674
46675 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46676
46677 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46678
46679 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46680
46681 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46682 unreachable code.
46683
46684 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46685
b68e08db
RM
46686 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46687 * configure: Regenerated.
46688
b350afab
RM
46689 * Makerules: Revert last change.
46690 * elf/Makefile: Likewise.
46691
28368601
RM
466922011-06-09 Roland McGrath <roland@hack.frob.com>
46693
46694 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46695 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46696 (reloc-link): Likewise.
46697
11988f8f
UD
466982011-06-09 Ulrich Drepper <drepper@gmail.com>
46699
46700 * elf/Makefile: Add rules to build pldd.
46701 * elf/pldd.c: New file.
46702 * elf/pldd-xx.c: New file.
46703
e80fab37
UD
467042011-06-07 Ulrich Drepper <drepper@gmail.com>
46705
46706 * version.h: Update for 2.15 development version.
46707
9b849836
DM
467082011-06-07 David S. Miller <davem@davemloft.net>
46709
46710 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46711 ifuncs.
46712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46713 elf_machine_lazy_rel): Likewise.
46714 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46716 elf_machine_lazy_rel): Likewise.
46717 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46718 dl_hwcap via passed in argument.
46719 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46720 Likewise.
46721
5a31b283
AK
467222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46723
46724 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46725
069e52f8
RM
467262011-06-06 Roland McGrath <roland@hack.frob.com>
46727
46728 [BZ #12849]
46729 * manual/fdl-1.1.texi: New file, verbatim from:
46730 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46731 * manual/lgpl-2.1.texi: New file, verbatim from:
46732 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46733 * manual/Makefile (licenses): New variable, list those new file names.
46734 (texis): Use it.
46735 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46736
46737 * manual/fdl.texi: File removed.
46738 * manual/lesser.texi: File removed.
46739 * manual/libc.texinfo (Copying, Documentation License):
46740 Use new @include file names, put @appendix directive before @include.
46741
f16846a5
JJ
467422011-06-04 Jakub Jelinek <jakub@redhat.com>
46743
46744 [BZ #12841]
46745 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46746 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46747 (mq_open): Add __NTH.
46748
3d29045b
L
467492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46750
46751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46752 Assume Intel Core i3/i5/i7 processor if AVX is available.
46753
8c297311
UD
467542011-05-31 Ulrich Drepper <drepper@gmail.com>
46755
46756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46757 typo.
46758
c8fc0c91
UD
467592011-05-31 Andreas Schwab <schwab@redhat.com>
46760
46761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46762 memory. Use alloca_account. Fix memory leak when retrying.
46763
5b27a807
UD
467642011-05-31 Ulrich Drepper <drepper@gmail.com>
46765
356f8bc6
UD
46766 * version.h (RELEASE): Bump for 2.14 release.
46767 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46768
5b27a807
UD
46769 * config.make.in (RANLIB): Remove entry.
46770
01f16ab0
UD
467712011-05-30 Ulrich Drepper <drepper@gmail.com>
46772
41fce8bd
UD
46773 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46774 (libc.pot): Work around missing support for .ksh extension in xgettext.
46775
4769ae77
UD
46776 [BZ #12684]
46777 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46778 if both request failed.
46779 (send_dg): In case of server errors clear resplen or *resplen2.
46780
6b1e7d19
UD
46781 [BZ #12454]
46782 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46783 when there are multiple maps.
46784 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46785 (_dl_fini): Remove test here.
46786
01f16ab0
UD
46787 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46788
b1ebd700
UD
467892011-05-29 Ulrich Drepper <drepper@gmail.com>
46790
7ae22829
UD
46791 [BZ #12350]
46792 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46793 bit from old_res_options.
46794 (gaih_inet): Likewise.
46795
553149f6 46796 [BZ #11099]
18a84741 46797 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46798 as signed.
46799
652ffab1
UD
46800 * resolv/res_init.c (res_setoptions): Make the code more compact.
46801
16985fd0
UD
46802 [BZ #11558]
46803 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46804 set RES_USEVC.
46805
0464f746
UD
46806 [BZ #11634]
46807 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46808
7d17596c
UD
46809 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46810
cf6bbbd7
UD
46811 [BZ #11781]
46812 * malloc/malloc.h: Declare malloc hook variables as volatile.
46813
13f1ab36
UD
46814 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46815 in last patch.
46816
b1ebd700
UD
46817 [BZ #11799]
46818 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46819 raise in the comment.
80e2212d
UD
46820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46822 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46823
ce67228d
UD
468242011-05-28 Ulrich Drepper <drepper@gmail.com>
46825
8887a920
UD
46826 [BZ #12811]
46827 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46828 grow the buffers more if it already has to be sufficient.
46829 (build_wcs_upper_buffer): Likewise.
46830 * posix/regexec.c (check_matching): Likewise.
46831 (clean_state_log_if_needed): Likewise.
46832 (extend_buffers): Don't enlarge buffers beyond size of the input
46833 buffer.
46834 Patches mostly by Emil Wojak <emil@wojak.eu>.
46835 * posix/bug-regex32.c: New file.
46836 * posix/Makefile (tests): Add bug-regex32.
46837
4f031072
UD
46838 * locale/findlocale.c (_nl_find_locale): Return right away if
46839 _nl_explode_name failed.
46840 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46841
d0478f0c
UD
46842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46843
de81b246
UD
46844 * debug/xtrace.sh: Unify messages.
46845 * malloc/memusage.sh: Likewise.
46846
c738465a
UD
46847 [BZ #12813]
46848 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46849 time symbol from vDSO. Substitute with vsyscall if not available.
46850 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46851 __vdso_time.
46852
f1f929d7
UD
46853 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46854 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46855 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46856 Add sendmmsg and internal_sendmmsg.
46857 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46858 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46860
ce67228d
UD
46861 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46862 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46864
e57420c6
UD
468652011-05-27 Ulrich Drepper <drepper@gmail.com>
46866
a8509ca5
UD
46867 [BZ #12813]
46868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46869 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46870 available.
46871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46872 __vdso_getcpu.
46873
e57420c6
UD
46874 [BZ #12814]
46875 * iconvdata/Makefile (tests): Add bug-iconv9.
46876 * iconvdata/bug-iconv9.c: New file.
46877
4d07db15
AS
468782011-05-27 Andreas Schwab <schwab@redhat.com>
46879
46880 [BZ #12814]
46881 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46882
ea486f69
JJ
468832011-05-25 Jakub Jelinek <jakub@redhat.com>
46884
46885 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46886 (struct user_regs_struct): Change intcs field back to cs.
46887
6f038433
UD
468882011-05-25 Ulrich Drepper <drepper@gmail.com>
46889
46890 * po/ja.po: Update from translation team.
46891
67f86a25
UD
468922011-05-23 Ulrich Drepper <drepper@gmail.com>
46893
46894 [BZ #12795]
46895 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46897
def7fbd6
AS
468982011-05-20 Andreas Schwab <schwab@redhat.com>
46899
46900 * stdlib/longlong.h: Update from GCC.
46901
f50ef8f1
AS
469022011-05-23 Andreas Schwab <schwab@redhat.com>
46903
46904 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46905 parameter name.
46906 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46907 Add parameter name.
46908 (__sysconf): Pass it down.
46909
de7ce8f1
UD
469102011-05-22 Ulrich Drepper <drepper@gmail.com>
46911
f2962a71
UD
46912 [BZ #12671]
46913 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46914 some situations.
46915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46916 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46917 add in in __libc_use_alloca calls. Adjust callers.
46918 (glob): Use malloc in some situations.
46919
de7ce8f1
UD
46920 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46921 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46922 pltexit.
46923
aec84f53
UD
469242011-05-21 Ulrich Drepper <drepper@gmail.com>
46925
05bb4a68
UD
46926 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46927 and CLOCK_BOOTTIME_ALARM.
46928
7ea72f99
UD
46929 [BZ #12782]
46930 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46931 is returned.
46932
7e4afad5
UD
46933 * string/_strerror.c (__strerror_r): Print negative errors as signed
46934 numbers.
46935
8e211fec
UD
46936 [BZ #12777]
46937 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46938 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46939 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46940
f7d82dc9
UD
46941 * configure.in: Fix typo in redirection and correct removal of test
46942 files in two cases.
46943
cc9e536d
UD
46944 [BZ #12788]
46945 * locale/setlocale.c (new_composite_name): Fix test to check for
46946 identical name of all categories.
46947
aec84f53
UD
46948 [BZ #12792]
46949 * libio/filedoalloc.c (local_isatty): New function.
46950 (_IO_file_doallocate): Use local_isatty.
46951 * stdio-common/perror.c (perror): In case a new stream is used
46952 forward the stream error.
46953 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46954 error flag.
46955
78e64fdc
RT
469562011-05-20 Ulrich Drepper <drepper@gmail.com>
46957
34a9094f
UD
46958 [BZ #11869]
46959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46960 alloca.
46961 * include/alloca.h (extend_alloca_account): Define.
46962
78e64fdc
RT
46963 [BZ #11857]
46964 * posix/regex.h: Fix comments with documentation of user-accessible
46965 fields after compilation and describe correct free'ing of pattern
46966 after re_compile_pattern.
46967 Patch by Reuben Thomas <rrt@sc3d.org>.
46968
457bddfc
RA
469692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46970
46971 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46972 and -mno-altivec to prevent the compiler from using Altivec and/or
46973 VSX instructions when the corresponding registers are not available.
46974
a4527b51
AS
469752011-05-19 Andreas Schwab <schwab@redhat.com>
46976
46977 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46978
ed690b2f
UD
469792011-05-19 Ulrich Drepper <drepper@gmail.com>
46980
46981 * libio/freopen.c (freopen): Use __dup2, not dup2.
46982 * libio/freopen64.c (freopen64): Likewise.
46983
8db73634
L
469842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46985
46986 [BZ #12775]
46987 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46988 * math/Makefile (tests): Add test-powl.
46989 (CFLAGS-test-powl.c): Define.
46990 * math/test-powl.c: New file.
46991
0a197a9d
L
469922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46993
46994 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46995
ee30c380
UD
469962011-05-17 Ulrich Drepper <drepper@gmail.com>
46997
46998 [BZ #11837]
46999 * iconvdata/gb18030.c: Update to GB18020-2005.
47000
6ce75379
UD
470012011-05-16 Ulrich Drepper <drepper@gmail.com>
47002
a4b89fd8
AR
47003 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47004 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47005 Patch by Aharon Robbins <arnold@skeeve.com>.
47006
ea389b12
UD
47007 [BZ #11892]
47008 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47009 on the stack.
47010
68a3f91f
UD
47011 [BZ #11895]
47012 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47013 through underflows.
47014
15cc7dd1
UD
47015 [BZ #12766]
47016 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47017 point to strings before performing equality test for error_one_per_line
47018 mode.
47019
f3799213
UD
47020 [BZ #11697]
47021 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47022
d79a9c94
UD
47023 [BZ #11820]
47024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47025 (struct user_fpregs_struct): Avoid __uint*_t types.
47026
56e5eb46
UD
47027 [BZ #6420]
47028 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47029 symbol info. Use it instead of calling _dl_addr locally.
47030 (lock_and_info): New function.
47031 (tr_freehook): Call lock_and_info and pass symbol info as additional
47032 parameter to tr_where.
47033 (tr_mallochook): Likewise.
47034 (tr_reallochook): Likewise.
47035 (tr_memalignhook): Likewise.
47036
6ce75379
UD
47037 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47038 used and couldn't be at all thread-safe.
47039
f8a3b5bf
UD
470402011-05-15 Ulrich Drepper <drepper@gmail.com>
47041
94b7cc37
UD
47042 * libio/freopen.c (freopen): Don't close old file descriptor
47043 before the new one is opened. Instead dup the new file descriptor
47044 to the old one after the new stream is created.
47045 * libio/freopen64.c (freopen64): Likewise.
47046 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47047 * libio/fileops.c (_IO_new_file_close_it): Handle new
47048 _IO_FLAGS2_NOCLOSE flag.
47049 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47050 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47051 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47052 _IO_FLAGS2_NOCLOSE flag.
47053 * include/unistd.h: Add hidden_proto for dup3.
47054 Define __have_dup3.
47055 * io/dup3.c: Define hidden symbol.
47056 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47057
bd25564e
UD
47058 [BZ #7101]
47059 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47060 when an incomplete long option is used.
47061 * posix/tst-getopt_long1.c: New file.
47062 * posix/Makefile (tests): Add tst-getopt_long1.
47063
c84cfef4
UD
47064 [BZ #10138]
47065 * scripts/config.guess: Update from autoconf-2.68.
47066 * scripts/config.sub: Likewise.
47067
3b85df27
UD
47068 [BZ #10157]
47069 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47070 tests into ...
47071 (has_cpuclock): ...this. New function.
47072 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47073 macro here based on has_cpuclock code.
47074
15a856b1
UD
47075 [BZ #10149]
47076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47077 First byte (not low byte) is now always NUL.
47078 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47079
05f399e6
UD
47080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47081 Use non-cancelable interfaces.
47082
10a52685 47083 [BZ #9809]
94ecc67d
UD
47084 * locale/iso-639.def: Add entry for Sorani.
47085
f8a3b5bf
UD
47086 [BZ #11901]
47087 * include/stdlib.h: Move include protection to the right place.
47088 Define abort_msg_s. Declare __abort_msg with it.
47089 * stdlib/abort.c (__abort_msg): Adjust type.
47090 * assert/assert.c (__assert_fail_base): New function. Majority
47091 of code from __assert_fail. Allocate memory for __abort_msg with
47092 mmap.
47093 (__assert_fail): Now call __assert_fail_base.
47094 * assert/assert-perr.c: Remove bulk of implementation. Use
47095 __assert_fail_base.
47096 * include/assert.hL Declare __assert_fail_base.
47097 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47098 mmap.
47099 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47100
1af4e298
UD
471012011-05-14 Ulrich Drepper <drepper@gmail.com>
47102
f8a3b5bf 47103 [BZ #11952]
d26dfc60
MG
47104 [BZ #12453]
47105 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47106 until all modules are registered in the DTV.
47107 * elf/Makefile: Add rules to build and run tst-tls19.
47108 * elf/tst-tls19.c: New file.
47109 * elf/tst-tls19mod1.c: New file.
47110 * elf/tst-tls19mod2.c: New file.
47111 * elf/tst-tls19mod3.c: New file.
47112 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47113
2fc54d6f
UD
47114 [BZ #12083]
47115 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47116 correctly.
47117
98d76b46
UD
47118 [BZ #12601]
47119 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47120 two-byte sequence errors.
47121 * iconvdata/Makefile (tests): Add bug-iconv8.
47122 * iconvdata/bug-iconv8.c: New file.
47123
da3c19ef
UD
47124 [BZ #12626]
47125 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47126 buf2 definition.
47127
ca408c15
UD
47128 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47129
d6f67f7d
UD
47130 [BZ #12432]
47131 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47132 (dummy_getcfa): New function.
47133 (init): Get _Unwind_GetCFA address, use dummy if not found.
47134 (backtrace_helper): In recursion check, also check whether CFA changes.
47135 (__backtrace): Completely initialize arg.
47136
1af4e298 47137 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47138 storing incomplete byte sequence in state object. Avoid testing for
47139 guaranteed too small input if we know there is enough data available.
1af4e298 47140
da62f81b
AS
471412011-05-11 Andreas Schwab <schwab@redhat.com>
47142
47143 * Makeconfig (+link-pie): Indent.
47144 * Rules (binaries-pie): Define if $(have-fpie) and
47145 $(build-shared).
47146 (binaries-shared): Also filter out $(binaries-pie).
47147 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47148 * nscd/Makefile (others-pie): Add nscd.
47149 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47150 ($(objpfx)nscd): Remove command override.
47151 * login/Makefile (others-pie): Add pt_chown.
47152 ($(objpfx)pt_chown): Remove command override.
47153 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47154 remove command overrides.
47155
fcabc0f8
UD
471562011-05-13 Ulrich Drepper <drepper@gmail.com>
47157
20030ae6
UD
47158 * libio/tst_putwc.c: Fix error messages.
47159
fcabc0f8
UD
47160 [BZ #12724]
47161 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47162 currently writing and seek to current position when not.
47163 * libio/Makefile (tests): Add bug-fclose1.
47164 * libio/bug-fclose1.c: New file.
47165
320a5dc0
PB
471662011-05-12 Ulrich Drepper <drepper@gmail.com>
47167
47168 [BZ #12511]
47169 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47170 don't set DF_1_NODELETE here.
47171 (do_lookup_x): When entering new entry test for copy relocation
47172 and if necessary set DF_1_NODELETE flag.
47173 * elf/tst-unique4.cc: New file.
47174 * elf/tst-unique4.h: New file.
47175 * elf/tst-unique4lib.cc: New file.
47176 * elf/Makefile: Add rules to build and run tst-unique4.
47177 Patch by Piotr Bury <pbury@goahead.com>.
47178
22836f52
UD
471792011-05-11 Ulrich Drepper <drepper@gmail.com>
47180
f574184a
UD
47181 [BZ #12052]
47182 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47183
e1fb097f
UD
47184 [BZ #12625]
47185 * misc/mntent_r.c (addmntent): Flush the stream after the output
47186
22836f52
UD
47187 [BZ #12393]
47188 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47189 (is_trusted_path_normalize): Skip initial colon. Append slash
47190 to empty buffer. Duplicate is_trusted_path code but allow
47191 constructed patch to be prefix.
47192 (is_dst): Allow $ORIGIN followed by /.
47193 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47194 Correct testing of result of is_trusted_path_normalize
47195 (decompose_rpath): Fix warning.
47196
7b3b0b2a
UD
471972011-05-10 Ulrich Drepper <drepper@gmail.com>
47198
47199 [BZ #11257]
47200 * grp/initgroups.c (internal_getgrouplist): When we found the service
47201 list through the initgroups entry in nsswitch.conf do not always
47202 continue on a successful lookup. Don't always use the
eac80ce2 47203 __nss_group_database value if it is set.
7b3b0b2a
UD
47204 * nss/nsswitch.conf (initgroups): Change action for successful db
47205 lookup to continue for compatibility.
47206
2a81eaa5
UD
472072011-05-09 Ulrich Drepper <drepper@gmail.com>
47208
be97a69e
UD
47209 [BZ #11532]
47210 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47211 and CP774 modules.
47212 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47213 and CP774 modules.
47214 * iconvdata/tst-tables.sh: Likewise.
47215 * iconvdata/cp770.c: New file.
47216 * iconvdata/cp771.c: New file.
47217 * iconvdata/cp772.c: New file.
47218 * iconvdata/cp773.c: New file.
47219 * iconvdata/cp774.c: New file.
47220 * iconvdata/testdata/CP770: New file.
47221 * iconvdata/testdata/CP770..UTF8: New file.
47222 * iconvdata/testdata/CP771: New file.
47223 * iconvdata/testdata/CP771..UTF8: New file.
47224 * iconvdata/testdata/CP772: New file.
47225 * iconvdata/testdata/CP772..UTF8: New file.
47226 * iconvdata/testdata/CP773: New file.
47227 * iconvdata/testdata/CP773..UTF8: New file.
47228 * iconvdata/testdata/CP774: New file.
47229 * iconvdata/testdata/CP774..UTF8: New file.
47230
47231 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47232 END CHARMAP line.
47233 * iconvdata/gen-8bit-gap.sh: Likewise.
47234 * iconvdata/gen-8bit.sh: Likewise.
47235
c1e9e399
UD
47236 * locale/iso-639.def: Add ary entry.
47237
24c55fb3 47238 [BZ #11258]
96b4b1b0
UD
47239 * locale/C-translit.h.in: Add U20A1 transliteration.
47240
bdc2f971
KB
47241 [BZ #12178]
47242 * locale/iso-639.def: Add wae entry.
47243 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47244
2952b117
UD
47245 [BZ #12545]
47246 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47247 for n.
47248
2a81eaa5
UD
47249 [BZ #12711]
47250 * locale/C-translit.h.in: Add entry for U20B9.
47251 Patch by pravin.d.s@gmail.com.
47252
28377d1b
UD
472532011-05-08 Ulrich Drepper <drepper@gmail.com>
47254
7fb90fb8
UD
47255 [BZ #12713]
47256 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47257 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47258 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47259 in rtld. Use *stat64.
7fb90fb8 47260 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47261 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47262 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47263 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47264 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47265 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47266 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47267 __fstatat64 macros.
7fb90fb8
UD
47268 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47269 * dirent/rewinddir.c: Add libc_hidden_def.
47270 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47271 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47272
28377d1b
UD
47273 * include/dirent.h (__alloc_dir): Add flags parameter.
47274 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47275 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47276 __alloc_dir.
47277 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47278 from fdopendir if O_CLOEXEC is already set.
47279
66bdbaa4
AM
472802011-03-15 Alan Modra <amodra@gmail.com>
47281
47282 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47283 l_tls_firstbyte_offset non-zero. Save padding offset in
47284 l_tls_firstbyte_offset for later use.
47285 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47286 freeing static tls block.
47287
95721191
JN
472882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47289
47290 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47291 where #ifdef was intended. The intent is to prevent ARG_MAX from
47292 being defined by the kernel headers.
47293
f87dfb1f
UD
472942011-05-07 Ulrich Drepper <drepper@gmail.com>
47295
47296 [BZ #12734]
47297 * resolv/resolv.h: Define RES_NOTLDQUERY.
47298 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47299 no-tld-query and set RES_NOTLDQUERY.
47300 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47301 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47302 modern BIND to search name as TLD unless forbidden.
47303
47c3cd7a
UD
473042011-05-07 Petr Baudis <pasky@suse.cz>
47305 Ulrich Drepper <drepper@gmail.com>
47306
47307 [BZ #12393]
47308 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47309 (is_trusted_path): ...to here.
c1e9ea35 47310 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47311 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47312 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47313
8a35c912
PP
473142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47315
47316 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47317 __BEGIN/__END_DECLS.
47318
acd41f47
UD
473192011-05-06 Ulrich Drepper <drepper@gmail.com>
47320
47321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47322 NSS_STATUS_NOTFOUND if no record was found.
47323
597df647
AS
473242011-05-05 Andreas Schwab <schwab@redhat.com>
47325
47326 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47327 (headers-not-in-tirpc): Remove rpc/netdb.h
47328 * resolv/netdb.h: Revert last change.
47329
b9af1301
PP
473302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47331
47332 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47333 circular dependency between libgcc.a and libc.a.
47334
4e34d5f5
AS
473352011-05-05 Andreas Schwab <schwab@redhat.com>
47336
47337 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47338 * nis/Makefile: Don't install rpcsvc/*.
47339 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47340 instead of <rpc/types.h>.
47341 (MAXHOSTNAMELEN): Define.
47342
00ee369c
AS
473432011-05-03 Andreas Schwab <schwab@redhat.com>
47344
47345 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47346
0b592a30
MB
473472011-04-28 Maciej Babinski <mbabinski@google.com>
47348
47349 [BZ #12714]
47350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47351 gethostbyname4_r when IPv6 results are possible.
47352
6e04cbbe
UD
473532011-05-02 Ulrich Drepper <drepper@gmail.com>
47354
47355 [BZ #12723]
47356 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47357 _PC_PIPE_BUF handling.
47358
e4ecafe0
BH
473592011-04-30 Bruno Haible <bruno@clisp.org>
47360
47361 [BZ #12717]
47362 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47363 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47364 to 'int'.
47365 * inet/getnameinfo.c (getnameinfo): Likewise.
47366
125ee683
UD
473672011-04-29 Ulrich Drepper <drepper@gmail.com>
47368
47369 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47370 to groups setting in database lookup.
47371 * nss/nsswitch.conf: Add initgroups entry.
47372
b722481a
EB
473732011-04-22 Ulrich Drepper <drepper@gmail.com>
47374
47375 [BZ #12685]
47376 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47377 mode string.
47378 Patch by Eric Blake <eblake@redhat.com>.
47379
4df46dbd
L
473802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47381
47382 * sunrpc/Makefile (need-export-routines): Add svc_run.
47383 (routines): Remove svc_run.
47384 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47385 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47386 * sunrpc/svc_run.c (svc_run): Likewise.
47387 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47388
e84142d2
UD
473892011-04-21 Ulrich Drepper <drepper@gmail.com>
47390
47391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47392 problem in reallocation in last patch.
47393
877175d8
UD
473942011-04-20 Ulrich Drepper <drepper@gmail.com>
47395
47396 * sunrpc/Makefile: Move inclusion of Rules.
47397
ab8eed78
UD
473982011-04-19 Ulrich Drepper <drepper@gmail.com>
47399
47400 * nss/nss_files/files-initgroups.c: New file.
47401 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47402 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47403 _nss_files_initgroups_dyn.
47404
e3d8f584
RS
474052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47406
47407 * elf/elf.h (R_ARM_IRELATIVE): Define.
47408
af190f45
UD
474092011-04-19 Ulrich Drepper <drepper@gmail.com>
47410
47411 * po/ru.po: Update from translation team.
47412
53cf59ef
UD
474132011-04-17 Ulrich Drepper <drepper@gmail.com>
47414
47415 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47416 dependencies.
47417
4c559bcd
MF
474182011-02-06 Mike Frysinger <vapier@gentoo.org>
47419
47420 [BZ #12653]
47421 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47422 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47426
4420675c
AS
474272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47428
47429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47430 differing bytes.
47431 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47434
75ea32ab
UD
474352011-04-17 Ulrich Drepper <drepper@gmail.com>
47436
47437 [BZ #12420]
47438 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47439 storing it.
47440 * stdlib/bug-getcontext.c: New file.
47441 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47442
27390476
AK
474432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47444
47445 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47446 instructions into .machine "z9-109".
47447 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47448 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47449
10442705
AK
474502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47451
47452 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47453 between environment variables and auxiliary vector.
47454
7b57bfe5
UD
474552011-04-16 Ulrich Drepper <drepper@gmail.com>
47456
47457 * Makefile: Add rules to build linkobj/libc.so.
47458 * include/libc-symbols.h: Define libc_hidden_nolink.
47459 * include/rpc/auth.h: Mark functions which are to be hidden.
47460 * include/rpc/auth_des.h: Likewise.
47461 * include/rpc/auth_unix.h: Likewise.
47462 * include/rpc/clnt.h: Likewise.
47463 * include/rpc/des_crypt.h: Likewise.
47464 * include/rpc/key_prot.h: Likewise.
47465 * include/rpc/pmap_clnt.h: Likewise.
47466 * include/rpc/pmap_prot.h: Likewise.
47467 * include/rpc/pmap_rmt.h: Likewise.
47468 * include/rpc/rpc_msg.h: Likewise.
47469 * include/rpc/svc.h: Likewise.
47470 * include/rpc/svc_auth.h: Likewise.
47471 * include/rpc/xdr.h: Likewise.
47472 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47473 * nss/Makefile: Likewise.
47474 * sunrpc/Makefile: Don't install headers. Build library with normal
47475 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47476 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47477 for the compat linking library. Remove use of INTDEF/INTUSE.
47478 * sunrpc/auth_none.c: Likewise.
47479 * sunrpc/auth_unix.c: Likewise.
47480 * sunrpc/authdes_prot.c: Likewise.
47481 * sunrpc/authuxprot.c: Likewise.
47482 * sunrpc/clnt_gen.c: Likewise.
47483 * sunrpc/clnt_perr.c: Likewise.
47484 * sunrpc/clnt_raw.c: Likewise.
47485 * sunrpc/clnt_simp.c: Likewise.
47486 * sunrpc/clnt_tcp.c: Likewise.
47487 * sunrpc/clnt_udp.c: Likewise.
47488 * sunrpc/clnt_unix.c: Likewise.
47489 * sunrpc/des_crypt.c: Likewise.
47490 * sunrpc/des_soft.c: Likewise.
47491 * sunrpc/get_myaddr.c: Likewise.
47492 * sunrpc/key_call.c: Likewise.
47493 * sunrpc/key_prot.c: Likewise.
47494 * sunrpc/netname.c: Likewise.
47495 * sunrpc/pm_getmaps.c: Likewise.
47496 * sunrpc/pm_getport.c: Likewise.
47497 * sunrpc/pmap_clnt.c: Likewise.
47498 * sunrpc/pmap_prot.c: Likewise.
47499 * sunrpc/pmap_prot2.c: Likewise.
47500 * sunrpc/pmap_rmt.c: Likewise.
47501 * sunrpc/publickey.c: Likewise.
47502 * sunrpc/rpc_cmsg.c: Likewise.
47503 * sunrpc/rpc_common.c: Likewise.
47504 * sunrpc/rpc_dtable.c: Likewise.
47505 * sunrpc/rpc_prot.c: Likewise.
47506 * sunrpc/rpc_thread.c: Likewise.
47507 * sunrpc/rtime.c: Likewise.
47508 * sunrpc/svc.c: Likewise.
47509 * sunrpc/svc_auth.c: Likewise.
47510 * sunrpc/svc_authux.c: Likewise.
47511 * sunrpc/svc_raw.c: Likewise.
47512 * sunrpc/svc_run.c: Likewise.
47513 * sunrpc/svc_simple.c: Likewise.
47514 * sunrpc/svc_tcp.c: Likewise.
47515 * sunrpc/svc_udp.c: Likewise.
47516 * sunrpc/svc_unix.c: Likewise.
47517 * sunrpc/svcauth_des.c: Likewise.
47518 * sunrpc/xcrypt.c: Likewise.
47519 * sunrpc/xdr.c: Likewise.
47520 * sunrpc/xdr_array.c: Likewise.
47521 * sunrpc/xdr_float.c: Likewise.
47522 * sunrpc/xdr_intXX_t.c: Likewise.
47523 * sunrpc/xdr_mem.c: Likewise.
47524 * sunrpc/xdr_rec.c: Likewise.
47525 * sunrpc/xdr_ref.c: Likewise.
47526 * sunrpc/xdr_sizeof.c: Likewise.
47527 * sunrpc/xdr_stdio.c: Likewise.
47528
e6c61494
UD
475292011-04-10 Ulrich Drepper <drepper@gmail.com>
47530
47531 [BZ #12650]
47532 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47533 * sysdeps/ia64/dl-tls.h: Likewise.
47534 * sysdeps/powerpc/dl-tls.h: Likewise.
47535 * sysdeps/s390/dl-tls.h: Likewise.
47536 * sysdeps/sh/dl-tls.h: Likewise.
47537 * sysdeps/sparc/dl-tls.h: Likewise.
47538 * sysdeps/x86_64/dl-tls.h: Likewise.
47539 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47540
34fe483e
AS
475412011-03-14 Andreas Schwab <schwab@redhat.com>
47542
47543 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47544 rpath element also skip the following colon.
47545 (expand_dynamic_string_token): Add is_path parameter and pass
47546 down to DL_DST_REQUIRED and _dl_dst_substitute.
47547 (decompose_rpath): Call expand_dynamic_string_token with
47548 non-zero is_path. Ignore empty rpaths.
47549 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47550 with zero is_path.
47551
f12a32e6
AS
475522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47553
47554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47555 Make cancelable.
47556
38a7d692
UD
475572011-04-09 Ulrich Drepper <drepper@gmail.com>
47558
47559 [BZ #12655]
47560 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47561 Patch by Filipe David Manana <fdmanana@apache.org>.
47562
e451d22b
AS
475632011-04-07 Andreas Schwab <schwab@redhat.com>
47564
47565 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47566 Maintain aligned stack.
47567 (CHECK_RSP): Remove unused macro.
47568
dedc7c7b
UD
475692011-04-03 Ulrich Drepper <drepper@gmail.com>
47570
47571 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47572 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47573
94521213
UD
475742011-04-02 Ulrich Drepper <drepper@gmail.com>
47575
47576 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47577
8cb700c0 47578 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47579
0354e355
L
475802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47581
47582 [BZ #12518]
47583 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47584 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47585 * sysdeps/x86_64/memmove.c: New file.
47586 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47587 (memcpy): Renamed to ...
47588 (__new_memcpy): This.
47589 (memcpy): Provide GLIBC_2_14 memcpy.
47590 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47591 (memcpy): Provide GLIBC_2_2_5 memcpy.
47592
8593482f
UD
475932011-04-01 Ulrich Drepper <drepper@gmail.com>
47594
47595 [BZ #12631]
47596 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47597
81a5726b
AS
475982011-03-30 Andreas Schwab <schwab@redhat.com>
47599
47600 * misc/syncfs.c: New file.
47601 * misc/Makefile (routines): Add syncfs.
47602 * posix/unistd.h: Declare syncfs.
47603 * sysdeps/unix/syscalls.list: Add syncfs.
47604
00e5419f
AS
476052011-04-01 Andreas Schwab <schwab@redhat.com>
47606
47607 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47608 open_by_handle_at.
47609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47614 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47616
748876bf
UD
476172011-04-01 Ulrich Drepper <drepper@gmail.com>
47618
658e451d
UD
47619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47626
748876bf
UD
47627 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47628 sync_file_range.c with -fexceptions.
47629 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47630 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47631 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47632 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47633 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47634 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47636 sync_file_range as cancellation point
47637 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47638 now a wrapper around __call_sync_file_range with cancellation handling.
47639 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47640 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47641 function name to __call_sync_file_range.
47642 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47643 Add call_sync_file_range.
748876bf 47644
6e63d5e1
AS
476452011-04-01 Andreas Schwab <schwab@redhat.com>
47646
47647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47648 bits/timex.h.
6e63d5e1 47649
46998f74
UD
476502011-04-01 Ulrich Drepper <drepper@gmail.com>
47651
4c1423ed
UD
47652 * iconv/iconv.h: Fix typo in comment.
47653 * io/fcntl.h: Likewise.
47654 * libio/stdio.h: Likewise.
47655 * posix/spawn.h: Likewise.
47656 * posix/unistd.h: Likewise.
47657 * stdlib/stdlib.h: Likewise.
47658 * time/time.h: Likewise.
47659 * wcsmbs/wchar.h: Likewise.
47660
158648c0
UD
47661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47662 open_by_handle): Add.
47663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47664 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47665 Augment a few comments.
47666 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47671 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47672 open_by_handle.
47673
46998f74
UD
47674 * io/fcntl.h (AT_EMPTY_PATH): Define.
47675
83fe108b
UD
476762011-03-30 Ulrich Drepper <drepper@gmail.com>
47677
47678 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47679 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47680 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47681 to...
47682 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47683 * Versions.def: Add GLIBC_2.14.
47684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47685 Export.
83fe108b 47686
bb242059
UD
476872011-03-22 Ulrich Drepper <drepper@gmail.com>
47688
47689 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47690 round counter.
47691 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47692
c97a1282
L
476932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47694
47695 [BZ #12597]
47696 * string/test-strncmp.c (do_page_test): New function.
47697 (check2): Likewise.
47698 (test_main): Call check2.
47699 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47700
2a115601
UD
477012011-03-20 Ulrich Drepper <drepper@gmail.com>
47702
47703 [BZ #12587]
47704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47705 Handle cache information in CPU leaf 4.
47706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47707
8126d904
UD
477082011-03-18 Ulrich Drepper <drepper@gmail.com>
47709
042c49c6 47710 [BZ #12583]
8126d904
UD
47711 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47712 character representation.
47713 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47714
ccfe366e
RA
477152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47716
47717 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47718 END(__isnan) to END(__isnanf) to match function entry point/label
47719 EALIGN(__isnanf,...).
47720
c6e13027
JJ
477212011-03-10 Jakub Jelinek <jakub@redhat.com>
47722
47723 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47724
33f85a3f
UD
477252011-03-10 Ulrich Drepper <drepper@gmail.com>
47726
028478fa
UD
47727 [BZ #12510]
47728 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47729 copy from the symbol referenced in the relocation to initialize the
47730 used variable.
47731 Patch by Piotr Bury <pbury@goahead.com>.
47732 * elf/Makefile: Add rules to build and tst-unique3.
47733 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47734 * elf/tst-unique3.cc: New file.
47735 * elf/tst-unique3.h: New file.
47736 * elf/tst-unique3lib.cc: New file.
47737 * elf/tst-unique3lib2.cc: New file.
47738
33f85a3f
UD
47739 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47740
03592fc7
MF
477412011-03-10 Mike Frysinger <vapier@gentoo.org>
47742
47743 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47744 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47745 to _start.
03592fc7 47746
6a5ee102
UD
477472011-03-06 Ulrich Drepper <drepper@gmail.com>
47748
47749 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47750 to-be-loaded object along a path to loader is ld.so.
47751
7e4ba49c
HJ
477522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47753 Ulrich Drepper <drepper@gmail.com>
47754
47755 * sysdeps/x86_64/memset.S: After aligning destination, code
47756 branches to different locations depending on the value of
47757 misalignment, when multiarch is enabled. Fix this.
47758
477592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47760
47761 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47762 Set _x86_64_preferred_memory_instruction for AMD processsors.
47763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47764 Set bit_Prefer_SSE_for_memop for AMD processors.
47765
13a804de
UD
477662011-03-04 Ulrich Drepper <drepper@gmail.com>
47767
47768 * libio/fmemopen.c (fmemopen): Optimize a bit.
47769
9d25c392
AS
477702011-03-03 Andreas Schwab <schwab@redhat.com>
47771
47772 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47773
a5543c6a
RM
477742011-03-03 Roland McGrath <roland@redhat.com>
47775
47776 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47777
012d35f7
DM
477782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47779
7e4ba49c 47780 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47781 __bzero_ultra1 instead of __memset_ultra1.
47782
4bff6e01
AS
477832011-02-23 Andreas Schwab <schwab@redhat.com>
47784 Ulrich Drepper <drepper@gmail.com>
47785
47786 [BZ #12509]
47787 * include/link.h (struct link_map): Add l_orig_initfini.
47788 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47789 returning unsuccessfully.
47790 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47791 close of a file loaded at startup, restore the original l_initfini
47792 list.
47793 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47794 list, store the pointer.
47795 * elf/Makefile ($(objpfx)noload-mem): New rule.
47796 (noload-ENV): Define.
47797 (tests): Add $(objpfx)noload-mem.
47798 * elf/noload.c: Include <memcheck.h>.
47799 (main): Call mtrace. Close all opened handles.
47800
f2092faf
AS
478012011-02-17 Andreas Schwab <schwab@redhat.com>
47802
47803 [BZ #12454]
47804 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47805 dependencies are missing.
47806
6c8a2e88
ST
478072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47808
f2092faf 47809 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47810 Hurd needs munmap.
47811 * sysdeps/mach/hurd/ifreq.h: New file.
47812
84a42118
PB
478132011-01-27 Petr Baudis <pasky@suse.cz>
47814 Ulrich Drepper <drepper@gmail.com>
47815
071f805e 47816 [BZ 12445]#
84a42118
PB
47817 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47818 to extend_alloca().
47819 * stdio-common/bug23.c: New file.
47820 * stdio-common/Makefile (tests): Add bug23.
47821
e23fe25b
AS
478222010-09-28 Andreas Schwab <schwab@redhat.com>
47823 Ulrich Drepper <drepper@gmail.com>
47824
47825 [BZ #12489]
47826 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47827 before performing relro protection. At old place add assertion
47828 to make sure nothing changed.
47829
d3f02e10
NS
478302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47831 Glauber de Oliveira Costa <glommer@gmail.com>
47832
47833 * elf/elf.h: Add new ARM TLS relocs.
47834
d55fd7a5
RA
478352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47836
47837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47838 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47839 cast from r3.
47840 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47841 'tests' variable.
47842 * sysdeps/wordsize-64/tst-writev.c: New file.
47843
2206397e
RA
478442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47845
47846 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47847 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47848 insns in _dl_start to prevent a TOC reference before relocs are
47849 resolved.
47850
e9433893
UD
478512011-02-15 Ulrich Drepper <drepper@gmail.com>
47852
47853 [BZ #12469]
47854 * Makeconfig: Remove RANLIB definition.
47855 * Makerules: Don't use RANLIB.
47856 * aclocal.m4: Remove ranlib test.
47857 * configure.in: No need to check for ranlib.
47858 * elf/rtld-Rules: Don't use RANLIB.
47859
f75286c6
ST
478602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47861
8e31c82d
ST
47862 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47863 protection macro.
47864 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47865 inclusion protection macro.
47866
f75286c6
ST
47867 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47868 SIGRTMIN and SIGRTMAX and print information in that case only when
47869 SIGRTMIN is defined.
47870
c1d0e639
JJ
478712011-02-11 Jakub Jelinek <jakub@redhat.com>
47872
47873 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47874 arginfo fn returning -1.
47875
47876 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47877 and thousands string is zero terminated.
47878
edf9294e
AS
478792011-02-03 Andreas Schwab <schwab@redhat.com>
47880
47881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47882 sysdeps/unix/sysv/linux/bits/socket.h.
47883
2b7e92df
ST
478842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47885
edf9294e
AS
47886 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47887 (__CPU_COUNT): Remove old macros.
47888 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47889 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47890 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47891 (__sched_cpualloc, __sched_cpufree): Add declarations.
47892
a4c7ea7b
UD
478932011-02-05 Ulrich Drepper <drepper@gmail.com>
47894
47895 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47896 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47897 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47898 (readdhstai): Return value of addhstaiX call.
47899 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47900 (addgrbyX): Return value returned by cache_addgr.
47901 (readdgrbyname): Return value returned by addgrbyX.
47902 (readdgrbygid): Likewise.
47903 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47904 (addpwbyX): Return value returned by cache_addpw.
47905 (readdpwbyname): Return value returned by addhstbyX.
47906 (readdpwbyuid): Likewise.
47907 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47908 (addservbyX): Return value returned by cache_addserv.
47909 (readdservbyname): Return value returned by addservbyX:
47910 (readdservbyport): Likewise.
47911 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47912 (addhstbyX): Return value returned by cache_addhst.
47913 (readdhstbyname): Return value returned by addhstbyX.
47914 (readdhstbyaddr): Likewise.
47915 (readdhstbynamev6): Likewise.
47916 (readdhstbyaddrv6): Likewise.
47917 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47918 (readdinitgroups): Return value returned by addinitgroupsX.
47919 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47920 (prune_cache): Keep track of timeout value of re-added entries.
47921 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47922 * nscd/nscd.h: Adjust prototypes of readd* functions.
47923
a0bf67cc
RM
479242011-02-04 Roland McGrath <roland@redhat.com>
47925
47926 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47927 (nis_stats): Likewise.
47928 * nis/nis_modify.c (nis_modify): Likewise.
47929 * nis/nis_remove.c (nis_remove): Likewise.
47930 * nis/nis_add.c (nis_add): Likewise.
47931
47932 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47933
47934 * posix/fnmatch_loop.c: Add some consts.
47935
47936 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47937
435b95eb
L
479382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47939
47940 [BZ #12460]
47941 * config.make.in (config-cflags-novzeroupper): Define.
47942 * configure.in: Substitute libc_cv_cc_novzeroupper.
47943 * elf/Makefile (AVX-CFLAGS): Define.
47944 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47945 (CFLAGS-tst-auditmod4a.c): Likewise.
47946 (CFLAGS-tst-auditmod4b.c): Likewise.
47947 (CFLAGS-tst-auditmod6b.c): Likewise.
47948 (CFLAGS-tst-auditmod6c.c): Likewise.
47949 (CFLAGS-tst-auditmod7b.c): Likewise.
47950 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47951
8517b15e
UD
479522011-02-02 Ulrich Drepper <drepper@gmail.com>
47953
47954 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47955 function to the callback.
47956 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47957
10a656fe
AS
479582011-02-02 Andreas Schwab <schwab@redhat.com>
47959
47960 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47961 of errno.
47962
968dad0a
UD
479632011-01-19 Ulrich Drepper <drepper@gmail.com>
47964
9f94d2ea 47965 [BZ #11724]
968dad0a
UD
47966 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47967 of constructors.
47968 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47969 of destructors.
47970 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47971
47972 [BZ #11724]
47973 * elf/Makefile: Add rules to build and run new test.
47974 * elf/tst-initorder.c: New file.
47975 * elf/tst-initorder.exp: New file.
47976 * elf/tst-initordera1.c: New file.
47977 * elf/tst-initordera2.c: New file.
47978 * elf/tst-initordera3.c: New file.
47979 * elf/tst-initordera4.c: New file.
47980 * elf/tst-initorderb1.c: New file.
47981 * elf/tst-initorderb2.c: New file.
47982 * elf/tst-order-a1.c: New file.
47983 * elf/tst-order-a2.c: New file.
47984 * elf/tst-order-a3.c: New file.
47985 * elf/tst-order-a4.c: New file.
47986 * elf/tst-order-b1.c: New file.
47987 * elf/tst-order-b2.c: New file.
47988 * elf/tst-order-main.c: New file.
47989 New test case by George Gensure <werkt0@gmail.com>.
47990
86e92359
UD
479912010-10-01 Andreas Schwab <schwab@redhat.com>
47992
47993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47994 decoding ACE if AI_CANONIDN.
47995
5d5732b0
UD
479962011-01-18 Ulrich Drepper <drepper@gmail.com>
47997
47998 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47999
a77e8cbc
UD
480002011-01-17 Ulrich Drepper <drepper@gmail.com>
48001
6392473f
UD
48002 * version.h (RELEASE): Bump for 2.13 release.
48003 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48004
620a0529
UD
48005 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48006
18ba70a5
UD
48007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48008 MADV_NOHUGEPAGE.
32465c3e
UD
48009 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48015
c0dafcf1
UD
48016 * posix/getconf.c: Update copyright year.
48017 * catgets/gencat.c: Likewise.
48018 * csu/version.c: Likewise.
48019 * debug/catchsegv.sh: Likewise.
48020 * debug/xtrace.sh: Likewise.
48021 * elf/ldconfig.c: Likewise.
48022 * elf/ldd.bash.in: Likewise.
48023 * elf/sprof.c (print_version): Likewise.
48024 * iconv/iconv_prog.c: Likewise.
48025 * iconv/iconvconfig.c: Likewise.
48026 * locale/programs/locale.c: Likewise.
48027 * locale/programs/localedef.c: Likewise.
48028 * malloc/memusage.sh: Likewise.
48029 * malloc/mtrace.pl: Likewise.
48030 * nscd/nscd.c (print_version): Likewise.
48031 * nss/getent.c: Likewise.
48032
a77e8cbc
UD
48033 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48034 PF_CAIF, and PF_ALG.
48035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48036
77e8bddf
AS
480372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48038
1f20b93a
AS
48039 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48040 (modules-names): Use them.
48041 (ifunc-test-modules, ifunc-pie-tests): Define.
48042 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48043 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48044 (test-extras): Likewise.
48045 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48046 $(compile-command.c).
48047 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48048 (all-built-dso): Define.
48049 (check-textrel.out, check-execstack.out): Depend on it.
48050
77e8bddf
AS
48051 * configure.in: Don't override --enable-multi-arch.
48052
bc425b33
UD
480532011-01-15 Ulrich Drepper <drepper@gmail.com>
48054
48055 [BZ #6812]
48056 * nscd/hstcache.c (tryagain): Define.
48057 (cache_addhst): Return tryagain not notfound for temporary errors.
48058 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48059 failed.
48060
794c3ad3
UD
480612011-01-14 Ulrich Drepper <drepper@gmail.com>
48062
70181fdd
UD
48063 [BZ #10563]
48064 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48065 to make the syscall.
48066 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48067
794c3ad3
UD
48068 [BZ #12378]
48069 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48070 and fall back to matching as normal character if the string ends before
48071 the matching ']' is found. This is what POSIX requires.
48072 * posix/testfnm.c: Adjust test result.
48073 * posix/globtest.sh: Adjust test result. Add new test.
48074 * posix/tst-fnmatch.input: Likewise.
48075 * posix/tst-fnmatch2.c: Add new test.
48076
68dc9497
AS
480772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48078
48079 * elf/Makefile (check-execstack): Revert last change. Depend on
48080 check-execstack.h.
48081 (check-execstack.h): New target.
48082 (generated): Add check-execstack.h.
48083 * elf/check-execstack.c: Include "check-execstack.h".
48084 (main): Revert last change.
48085 (handle_file): Return zero if GNU_STACK is absent and
48086 DEFAULT_STACK_PERMS doesn't include PF_X.
48087
451f001b
UD
480882011-01-13 Ulrich Drepper <drepper@gmail.com>
48089
cfa28e56
UD
48090 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48091 in child fails because the descriptor is already closed.
8cf8ce17
UD
48092 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48093 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48094 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48095
1086d70d
UD
48096 [BZ #12397]
48097 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48098 syscall.
48099
451f001b
UD
48100 [BZ #10484]
48101 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48102 temporary buffer used to handle multi lookups locally.
a85b5cb4 48103 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48104
08769175
UD
481052011-01-12 Ulrich Drepper <drepper@gmail.com>
48106
48107 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48108 loader is ld.so.
48109
5e49c52e
UD
481102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48111
48112 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48113 alignment for SSE2.
48114
60522a5f
UD
481152011-01-12 Ulrich Drepper <drepper@gmail.com>
48116
48117 [BZ #12394]
48118 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48119 characters. When rounding increased number of integer digits recompute
48120 number of groups.
48121 * stdio-common/tst-grouping.c: New file.
48122 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48123
f257bbd7
UD
481242011-01-09 Ulrich Drepper <drepper@gmail.com>
48125
48126 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48127 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48128
48129 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48130 void.
48131 * bits/select.h: Likewise.
48132
fa9c15cb
UD
481332011-01-08 Ulrich Drepper <drepper@gmail.com>
48134
48135 * po/ja.po: Update from translation team.
48136
16c2895f
DM
481372011-01-04 David S. Miller <davem@sunset.davemloft.net>
48138
48139 [BZ #11155]
48140 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48141 implementation just like for lxstat, fxstatat, et al.
48142
2543fef2
JM
481432010-12-27 Jim Meyering <meyering@redhat.com>
48144
48145 [BZ #12348]
48146 * posix/regexec.c (build_trtable): Return failure indication upon
48147 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48148
98727dbe
UD
481492010-12-25 Ulrich Drepper <drepper@gmail.com>
48150
5bd6dc5c
UD
48151 [BZ #12201]
48152 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48153 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48156
97983464
UD
48157 [BZ #12207]
48158 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48159
98727dbe
UD
48160 [BZ #12204]
48161 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48162 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48163
4a531bb0
L
481642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48165
48166 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48167 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48168 script has SORT_BY_INIT_PRIORITY.
48169 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48170 NO_CTORS_DTORS_SECTIONS is defined.
48171 * elf/soinit.c: Likewise.
48172 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48173 NO_CTORS_DTORS_SECTIONS is defined.
48174 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48175 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48176 * sysdeps/sh/init-first.c: Likewise.
48177 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48178
07eb4b71
UD
481792010-12-24 Ulrich Drepper <drepper@gmail.com>
48180
48181 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48182 always use the slow path.
48183
30950a5f
RA
481842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48185
48186 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48187 similar rule which adds the sysdep directories to the header search in
48188 order to pick up the correct platform stackinfo.h.
48189 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48190 perform test if it is, otherwise return successfully without testing.
48191 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48192 DEFAULT_STACK_PERMS define in stackinfo.h.
48193 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48194 defined in stackinfo.h.
48195 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48196 DEFAULT_STACK_PERMS defined in stackinfo.h.
48197 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48198 * sysdeps/ia64/stackinfo.h: Likewise.
48199 * sysdeps/s390/stackinfo.h: Likewise.
48200 * sysdeps/sh/stackinfo.h: Likewise.
48201 * sysdeps/sparc/stackinfo.h: Likewise.
48202 * sysdeps/x86_64/stackinfo.h: Likewise.
48203 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48204 PF_X for powerpc64. Retain PF_X for powerpc32.
48205
db753e2c
UD
482062010-12-19 Ulrich Drepper <drepper@gmail.com>
48207
14b697f7
UD
48208 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48209 accurately.
db753e2c
UD
48210 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48211 GETDENTS_64BIT_ALIGNED.
48212
28300719
UD
482132010-12-14 Ulrich Drepper <dreper@gmail.com>
48214
14b697f7 48215 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48216
4f197237
AS
482172010-12-10 Andreas Schwab <schwab@redhat.com>
48218
dbb0472f
AS
48219 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48220 _GNU_SOURCE.
48221
4f197237
AS
48222 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48223 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48224 Remove __restrict.
48225 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48226 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48227
fb88ac72
UD
482282010-12-09 Ulrich Drepper <drepper@gmail.com>
48229
48230 [BZ #11655]
48231 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48232 are initialized.
48233
42acbb92
JJ
482342010-12-09 Jakub Jelinek <jakub@redhat.com>
48235
48236 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48237
c038d98d
UD
482382010-12-03 Ulrich Drepper <drepper@gmail.com>
48239
48240 * po/it.po: Update from translation team.
48241
3a4a2499
L
482422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48243
48244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48245 unused codes.
48246
1e24cf6e
UD
482472010-11-30 Ulrich Drepper <drepper@gmail.com>
48248
48249 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48250
a7690819
AS
482512010-11-24 Andreas Schwab <schwab@redhat.com>
48252
48253 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48254 specially.
48255 (gaih_getanswer_slice): Likewise.
48256
3bf8d1b1
JJ
482572010-10-20 Jakub Jelinek <jakub@redhat.com>
48258
48259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48260
6db52fbb
PB
482612010-05-31 Petr Baudis <pasky@suse.cz>
48262
48263 [BZ #11149]
48264 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48265 silently even in the chroot mode.
48266
eaca7569
UD
482672010-11-22 Ulrich Drepper <drepper@gmail.com>
48268
48269 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48270 last patch a bit. Pretty printing
48271
3056dcdb
UD
482722010-05-31 Petr Baudis <pasky@suse.cz>
48273
48274 [BZ #10085]
48275 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48276 initialization of skip_initgroups_dyn.
48277
cf7c9078
UD
482782010-11-19 Ulrich Drepper <drepper@gmail.com>
48279
48280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48282
a1fb5e3e
UD
482832010-11-16 Ulrich Drepper <drepper@gmail.com>
48284
48285 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48286
3540d66b
AS
482872010-11-11 Andreas Schwab <schwab@redhat.com>
48288
48289 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48290 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48291 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48292 ($(objpfx)tst-fnmatch-mem): New rule.
48293 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48294 * posix/tst-fnmatch.c (main): Call mtrace.
48295
13b69574
L
482962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48297
48298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48299 Support Intel processor model 6 and model 0x2c.
48300
da93d214
LM
483012010-11-10 Luis Machado <luisgpm@br.ibm.com>
48302
48303 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48304 signed comparison.
48305
8ca52c6e
L
483062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48307
48308 [BZ #12205]
48309 * string/test-strncasecmp.c (check_result): New function.
48310 (do_one_test): Use it.
48311 (check1): New function.
48312 (test_main): Use it.
48313 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48314 Support strcasecmp and strncasecmp.
48315
69da074d
UD
483162010-11-08 Ulrich Drepper <drepper@gmail.com>
48317
48318 [BZ #12194]
48319 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48320 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48321
ff02d528
L
483222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48323
48324 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48325 IFUNC support.
48326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48327 memset-x86-64.
48328 * sysdeps/x86_64/multiarch/bzero.S: New file.
48329 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48330 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48331 * sysdeps/x86_64/multiarch/memset.S: New file.
48332 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48334 Set bit_Prefer_SSE_for_memop for Intel processors.
48335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48336 Define.
48337 (index_Prefer_SSE_for_memop): Define.
48338 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48339
344d0b54
LM
483402010-11-04 Luis Machado <luisgpm@br.ibm.com>
48341
48342 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48343 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48344
c0dde15b
UD
483452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48346
48347 [BZ #12191]
48348 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48349 (__x86_64_raw_data_cache_size_half): Likewise.
48350 (__x86_64_raw_shared_cache_size): Likewise.
48351 (__x86_64_raw_shared_cache_size_half): Likewise.
48352
48353 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48354 (__x86_64_raw_data_cache_size_half): Likewise.
48355 (__x86_64_raw_shared_cache_size): Likewise.
48356 (__x86_64_raw_shared_cache_size_half): Likewise.
48357 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48358 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48359 and __x86_64_raw_shared_cache_size_half. Round
48360 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48361 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48362 to multiple of 256 bytes.
48363
0e516e0e
MS
483642010-11-03 Ulrich Drepper <drepper@gmail.com>
48365
48366 [BZ #12167]
48367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48368 of inacessible symlinks. Verify result of symlink before returning it.
48369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48370 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48371
0e012e87
ER
483722010-10-28 Erich Ritz <erichritz@gmail.com>
48373
48374 * math/math.h (isinf): Fix typo in comment.
48375
de0ff7bc
UD
483762010-11-01 Ulrich Drepper <drepper@gmail.com>
48377
48378 * po/da.po: Update from translation team.
48379
fa41c84d
UD
483802010-10-26 Ulrich Drepper <drepper@gmail.com>
48381
48382 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48383 is added to the list.
48384
f0967738
AK
483852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48386 Ulrich Drepper <drepper@gmail.com>
48387
48388 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48389 the global list here. Move code to...
48390 (_dl_add_to_namespace_list): ...here. New function.
48391 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48392 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48393 * elf/dl-load.c (lose): Don't remove the element from the list.
48394 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48395 (_dl_map_object): Likewise.
48396
483972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48398
48399 [BZ #12159]
48400 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48401 into all bytes of SSE register.
48402 Patch by Richard Li <richardpku@gmail.com>.
48403
f0967738 484042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48405
48406 [BZ #12140]
48407 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48408 perturbing.
48409
d0b9e94f
MB
484102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48411
48412 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48413 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48415 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48417 submachine.
48418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48419
8e9f92e9
AS
484202010-10-22 Andreas Schwab <schwab@redhat.com>
48421
48422 * include/dlfcn.h (__RTLD_SECURE): Define.
48423 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48424 mode & __RTLD_SECURE instead.
48425 (open_path): Rename preloaded parameter to secure.
48426 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48427 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48428 * elf/dl-deps.c (openaux): Likewise.
48429 * elf/rtld.c (struct map_args): Remove is_preloaded.
48430 (map_doit): Don't use it.
48431 (dl_main): Likewise.
48432 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48433 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48434
bc96fbda
AS
484352010-09-09 Andreas Schwab <schwab@redhat.com>
48436
48437 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48438 (sysd-rules-targets): Remove duplicates.
48439 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48440 rtld-%.$o dependency.
48441
22cd1c9b
AS
484422010-10-18 Andreas Schwab <schwab@redhat.com>
48443
48444 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48445 _dl_map_object do it.
48446
18edac48
UD
484472010-10-19 Ulrich Drepper <drepper@gmail.com>
48448
48449 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48450 fast fma builtins, define the macros in the C99 standard.
48451 (FP_FAST_FMAF): Likewise.
48452 (FP_FAST_FMAL): Likewise.
48453 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48454
48455 * bits/mathdef.h: Update copyright year.
48456 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48457
d2050124
MM
484582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48459
48460 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48461 builtins, define the macros in the C99 standard.
48462 (FP_FAST_FMAF): Likewise.
48463 (FP_FAST_FMAL): Likewise.
48464 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48465 multiply/add.
48466 (FP_FAST_FMAF): Likewise.
48467
475facd1
JJ
484682010-10-15 Jakub Jelinek <jakub@redhat.com>
48469
48470 [BZ #3268]
48471 * math/libm-test.inc (fma_test): Some new testcases.
48472 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48474 y and infinite z. Do multiplication by C already in long double.
48475 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48477 y and infinite z. Do bitwise or of inexact bit into u.d.
48478 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48479 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48480 * sysdeps/i386/fpu/s_fma.S: Removed.
48481 * sysdeps/i386/fpu/s_fmal.S: Removed.
48482
7c08a05c
JJ
484832010-10-16 Jakub Jelinek <jakub@redhat.com>
48484
48485 [BZ #3268]
48486 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48488 computation is not scheduled after fetestexcept. Fix value
48489 of minimum denormal long double.
48490
f3f7372d
JJ
484912010-10-14 Jakub Jelinek <jakub@redhat.com>
48492
48493 [BZ #3268]
48494 * math/libm-test.inc (fma_test): Add some more tests.
48495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48496 correctly.
48497
14d43591
AS
484982010-10-15 Andreas Schwab <schwab@redhat.com>
48499
48500 * scripts/data/localplt-s390-linux-gnu.data: New file.
48501 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48502
5e908464
JJ
485032010-10-13 Jakub Jelinek <jakub@redhat.com>
48504
48505 [BZ #3268]
48506 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48507 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48508 instead of dbl-64.
48509 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48510 inlines.
48511 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48513 if one of x and y is very large and the other is subnormal.
48514 * sysdeps/s390/fpu/s_fmaf.c: New file.
48515 * sysdeps/s390/fpu/s_fma.c: New file.
48516 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48517 * sysdeps/powerpc/fpu/s_fma.S: New file.
48518 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48519 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48520 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48521
485222010-10-12 Jakub Jelinek <jakub@redhat.com>
48523
48524 [BZ #3268]
48525 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48526 fma tests.
48527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48528 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48529 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48530 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48531 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48532 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48534
b833d51f
UD
485352010-10-12 Ulrich Drepper <drepper@redhat.com>
48536
48537 [BZ #12078]
48538 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48539 * posix/bug-regex31.input: Add test case.
48540
1751705d
UD
485412010-10-11 Ulrich Drepper <drepper@gmail.com>
48542
e9b9cbf5
UD
48543 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48544 * posix/bug-regex31.input: New file.
48545
48546 [BZ #12078]
48547 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48548 (parse_sub_exp): Fix last change, use postorder.
48549
ef06edbe
UD
48550 * posix/bug-regex31.c: New file.
48551 * posix/Makefile: Add rules to build and run bug-regex31.
48552
a129c80d
UD
48553 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48554
48555 [BZ #12078]
48556 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48557
b76b818e
UD
48558 [BZ #12108]
48559 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48560 to have entries in sys_siglist.
48561
1751705d
UD
48562 [BZ #12093]
48563 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48564 be NULL.
48565
9ff8d36f
JJ
485662010-10-07 Jakub Jelinek <jakub@redhat.com>
48567
48568 [BZ #3268]
48569 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48570 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48571 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48572 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48574 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48575 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48576 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48577 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48578 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48579 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48580 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48581 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48582 * math/ftestexcept.c (fetestexcept): Likewise.
48583 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48584 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48585 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48586 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48587 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48588 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48590
af325969
UD
485912010-10-11 Ulrich Drepper <drepper@gmail.com>
48592
c579b202 48593 [BZ #12107]
af325969
UD
48594 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48595 newline.
48596
67a67b95
UD
485972010-10-06 Ulrich Drepper <drepper@gmail.com>
48598
48599 * string/bug-strstr1.c: New file.
48600 * string/Makefile: Add rules to build and run bug-strstr1.
48601
5fb308bc
EB
486022010-10-05 Eric Blake <eblake@redhat.com>
48603
48604 [BZ #12092]
48605 * string/str-two-way.h (two_way_long_needle): Always clear memory
48606 when skipping input due to the shift table.
48607
45db99c7
UD
486082010-10-03 Ulrich Drepper <drepper@gmail.com>
48609
3b111893
UD
48610 [BZ #12005]
48611 * malloc/mcheck.c: Handle large requests.
48612
45db99c7
UD
48613 [BZ #12077]
48614 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48615 for strncmp and strncasecmp.
48616 * string/stratcliff.c: Add tests for strcmp and strncmp.
48617 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48618
cf7a1eb8
NI
486192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48620
48621 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48622 __set_fpscr.
48623
6484ba5e
AJ
486242010-09-30 Andreas Jaeger <aj@suse.de>
48625
48626 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48627 (CGROUP_SUPER_MAGIC): Define.
48628 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48629 Handle btrfs and cgroup file systems.
48630 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48631 Likewise.
48632
91c42559
LM
486332010-09-27 Luis Machado <luisgpm@br.ibm.com>
48634
48635 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48636 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48637
87a97932
AK
486382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48639
48640 [BZ #12067]
48641 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48642 trying to locate the ELF header.
48643
c21cc9bc
AS
486442010-09-27 Andreas Schwab <schwab@redhat.com>
48645
48646 [BZ #11611]
48647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48648 Mask out sign-bit copies when constructing f_fsid.
48649
315970f6
PB
486502010-09-24 Petr Baudis <pasky@suse.cz>
48651
48652 * debug/stack_chk_fail_local.c: Add missing licence exception.
48653 * debug/warning-nop.c: Likewise.
48654
1ac7a2c7
JM
486552010-09-15 Joseph Myers <joseph@codesourcery.com>
48656
48657 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48658 implementing getdents64 using getdents syscall, set d_type if
48659 __ASSUME_GETDENTS32_D_TYPE.
48660
56801c50
AS
486612010-09-16 Andreas Schwab <schwab@redhat.com>
48662
48663 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48664 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48665
dda51327
UD
486662010-09-21 Ulrich Drepper <drepper@redhat.com>
48667
48668 [BZ #12037]
48669 * posix/unistd.h: Undo change of feature selection for ftruncate from
48670 2010-01-11.
48671
8ffcee4a
UD
486722010-09-20 Ulrich Drepper <drepper@redhat.com>
48673
a545ecd9 48674 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48675 detection.
48676
e24f0a8b
AS
486772010-09-20 Andreas Schwab <schwab@redhat.com>
48678
48679 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48680 fanotify_mark.
48681 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48682
7291c56f
AS
486832010-09-14 Andreas Schwab <schwab@redhat.com>
48684
48685 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48686 variables after CHECK_SP call.
48687 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48688
bc5fb037
AS
486892010-09-13 Andreas Schwab <schwab@redhat.com>
48690 Ulrich Drepper <drepper@redhat.com>
48691
48692 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48693 re-relocationg ld.so.
48694 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48695 _dl_init_paths call.
48696 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48697 here anymore.
48698
e66e7419
UD
486992010-09-14 Ulrich Drepper <drepper@redhat.com>
48700
48701 * resolv/res_init.c (__res_vinit): Count the default server we added.
48702
c044aa75
CLT
487032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48704 Ulrich Drepper <drepper@redhat.com>
48705
48706 [BZ #11968]
48707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48708 (____longjmp_chk): Use %ebx for saving value across system call.
48709 Add unwind info.
48710
32cf4069
AS
487112010-09-06 Andreas Schwab <schwab@redhat.com>
48712
48713 * manual/Makefile: Don't mix pattern rules with normal rules.
48714
817328ee
AS
487152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48716
48717 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48718 operation.
48719 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48720 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48721 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48722 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48724 Likewise.
48725
29fddf61
UD
487262010-09-04 Ulrich Drepper <drepper@redhat.com>
48727
48728 [BZ #11979]
48729 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48730 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48731
0959ffc9
UD
487322010-09-02 Ulrich Drepper <drepper@redhat.com>
48733
48734 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48735 * sysdeps/x86_64/addmul_1.S: Likewise.
48736 * sysdeps/x86_64/lshift.S: Likewise.
48737 * sysdeps/x86_64/mul_1.S: Likewise.
48738 * sysdeps/x86_64/rshift.S: Likewise.
48739 * sysdeps/x86_64/sub_n.S: Likewise.
48740 * sysdeps/x86_64/submul_1.S: Likewise.
48741
ece29840
ST
487422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48743
0959ffc9
UD
48744 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48745 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48746 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48747 * bits/sched.h [__need_schedparam]
ece29840 48748 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48749 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48750 (__defined_schedparam): Define to 1.
ece29840
ST
48751 (__sched_param): New structure, identical to sched_param.
48752 (__need_schedparam): Undefine.
48753
e53a31fe
MF
487542010-08-31 Mike Frysinger <vapier@gentoo.org>
48755
fdc0c10d
MF
48756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48757 (epoll_create1): Declare.
48758
e53a31fe
MF
48759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48760
a726d796
AS
487612010-08-31 Andreas Schwab <schwab@redhat.com>
48762
48763 [BZ #7066]
48764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48765 shifting retval into place.
48766
2f3e3dc7
UD
487672010-09-01 Ulrich Drepper <drepper@redhat.com>
48768
f2933da9
UD
48769 * nis/rpcsvc/nis.h: Update copyright notice.
48770 * nis/rpcsvc/nis.x: Likewise.
48771 * nis/rpcsvc/nis_callback.h: Likewise.
48772 * nis/rpcsvc/nis_callback.x: Likewise.
48773 * nis/rpcsvc/nis_object.x: Likewise.
48774 * nis/rpcsvc/nis_tags.h: Likewise.
48775 * nis/rpcsvc/yp.h: Likewise.
48776 * nis/rpcsvc/yp.x: Likewise.
48777 * nis/rpcsvc/ypupd.h: Likewise.
48778 * nis/yp_xdr.c: Likewise.
48779 * nis/ypupdate_xdr.c: Likewise.
48780
2f3e3dc7
UD
48781 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48782 mainly the body of pmap_getport. Add parameters to specify timeouts.
48783 (pmap_getport): Use __libc_rpc_getport.
48784 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48785 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48786 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48787
f3dcc2f9
AS
487882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48789
48790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48791 fanotify_mark.
48792
6d34eb5b
RM
487932010-08-27 Roland McGrath <roland@redhat.com>
48794
48795 * sysdeps/i386/i686/multiarch/Makefile
48796 (CFLAGS-varshift.c): New variable.
48797
9ea3de11
UD
487982010-08-27 Ulrich Drepper <drepper@redhat.com>
48799
c96d23fc
UD
48800 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48801 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48802
9ea3de11
UD
48803 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48804
48805 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48806
623aac7f
L
488072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48808
48809 * sysdeps/x86_64/strlen.S: Unroll the loop.
48810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48811 strlen-sse2 strlen-sse2-bsf.
48812 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48813 __strlen_no_bsf if bit_Slow_BSF is set.
48814 (__strlen_sse42): Removed.
48815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48816 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48817
8b2b7715
RM
488182010-08-25 Roland McGrath <roland@redhat.com>
48819
48820 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48821 * sysdeps/x86_64/multiarch/varshift.c: New file.
48822 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48823 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48824 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48825 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48826
e73015f2
L
488272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48828
48829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48830 strlen-sse2 strlen-sse2-bsf.
48831 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48832 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48833 (__strlen_sse2): Removed.
48834 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48835 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48837 bit_Slow_BSF for Atom.
48838 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48839 (index_Slow_BSF): Define.
48840 (HAS_SLOW_BSF): Define.
48841
df24a73e
UD
488422010-08-25 Ulrich Drepper <drepper@redhat.com>
48843
48844 [BZ #10851]
48845 * resolv/res_init.c (__res_vinit): When no server address at all
48846 is given default to loopback.
48847
f2ac4868
RM
488482010-08-24 Roland McGrath <roland@redhat.com>
48849
09055553
RM
48850 * configure.in: Remove config-name.h generation.
48851 * configure: Regenerated.
48852 * config-name.in: File removed.
48853 * scripts/config-uname.sh: New file.
48854 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48855 ($(objdir)config-name.h): New target.
48856
f2ac4868
RM
48857 * sunrpc/rpc_parse.h: Avoid nested comment.
48858
73f27d5e
RH
488592010-08-24 Richard Henderson <rth@redhat.com>
48860 Ulrich Drepper <drepper@redhat.com>
48861 H.J. Lu <hongjiu.lu@intel.com>
48862
48863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48865 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48866 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48867 _mm_alignr_epi8 with _mm_loadu_si128.
48868 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48869 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48870 (__m128i_shift_right): Removed.
48871 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48872 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48873 * sysdeps/x86_64/multiarch/varshift.h: New file.
48874 * sysdeps/x86_64/multiarch/varshift.S: New file.
48875
84b9230c
MF
488762010-08-21 Mike Frysinger <vapier@gentoo.org>
48877
48878 * configure.in: Move assembler checks to before sysdep dir checking.
48879
9bbd0ddc
PB
488802010-08-20 Petr Baudis <pasky@suse.cz>
48881
48882 * LICENSES: Sync the sunrpc license.
48883
9da4bb31
UD
488842010-08-19 Ulrich Drepper <drepper@redhat.com>
48885
a7ab6ec8
UD
48886 * sunrpc/auth_des.c: Update copyright notice once again.
48887 * sunrpc/auth_none.c: Likewise.
48888 * sunrpc/auth_unix.c: Likewise.
48889 * sunrpc/authdes_prot.c: Likewise.
48890 * sunrpc/authuxprot.c: Likewise.
48891 * sunrpc/bindrsvprt.c: Likewise.
48892 * sunrpc/clnt_gen.c: Likewise.
48893 * sunrpc/clnt_perr.c: Likewise.
48894 * sunrpc/clnt_raw.c: Likewise.
48895 * sunrpc/clnt_simp.c: Likewise.
48896 * sunrpc/clnt_tcp.c: Likewise.
48897 * sunrpc/clnt_udp.c: Likewise.
48898 * sunrpc/clnt_unix.c: Likewise.
48899 * sunrpc/des_crypt.c: Likewise.
48900 * sunrpc/des_soft.c: Likewise.
48901 * sunrpc/get_myaddr.c: Likewise.
48902 * sunrpc/getrpcport.c: Likewise.
48903 * sunrpc/key_call.c: Likewise.
48904 * sunrpc/key_prot.c: Likewise.
48905 * sunrpc/openchild.c: Likewise.
48906 * sunrpc/pm_getmaps.c: Likewise.
48907 * sunrpc/pm_getport.c: Likewise.
48908 * sunrpc/pmap_clnt.c: Likewise.
48909 * sunrpc/pmap_prot.c: Likewise.
48910 * sunrpc/pmap_prot2.c: Likewise.
48911 * sunrpc/pmap_rmt.c: Likewise.
48912 * sunrpc/rpc/auth.h: Likewise.
48913 * sunrpc/rpc/auth_unix.h: Likewise.
48914 * sunrpc/rpc/clnt.h: Likewise.
48915 * sunrpc/rpc/des_crypt.h: Likewise.
48916 * sunrpc/rpc/key_prot.h: Likewise.
48917 * sunrpc/rpc/netdb.h: Likewise.
48918 * sunrpc/rpc/pmap_clnt.h: Likewise.
48919 * sunrpc/rpc/pmap_prot.h: Likewise.
48920 * sunrpc/rpc/pmap_rmt.h: Likewise.
48921 * sunrpc/rpc/rpc.h: Likewise.
48922 * sunrpc/rpc/rpc_des.h: Likewise.
48923 * sunrpc/rpc/rpc_msg.h: Likewise.
48924 * sunrpc/rpc/svc.h: Likewise.
48925 * sunrpc/rpc/svc_auth.h: Likewise.
48926 * sunrpc/rpc/types.h: Likewise.
48927 * sunrpc/rpc/xdr.h: Likewise.
48928 * sunrpc/rpc_clntout.c: Likewise.
48929 * sunrpc/rpc_cmsg.c: Likewise.
48930 * sunrpc/rpc_common.c: Likewise.
48931 * sunrpc/rpc_cout.c: Likewise.
48932 * sunrpc/rpc_dtable.c: Likewise.
48933 * sunrpc/rpc_hout.c: Likewise.
48934 * sunrpc/rpc_main.c: Likewise.
48935 * sunrpc/rpc_parse.c: Likewise.
48936 * sunrpc/rpc_parse.h: Likewise.
48937 * sunrpc/rpc_prot.c: Likewise.
48938 * sunrpc/rpc_sample.c: Likewise.
48939 * sunrpc/rpc_scan.c: Likewise.
48940 * sunrpc/rpc_scan.h: Likewise.
48941 * sunrpc/rpc_svcout.c: Likewise.
48942 * sunrpc/rpc_tblout.c: Likewise.
48943 * sunrpc/rpc_util.c: Likewise.
48944 * sunrpc/rpc_util.h: Likewise.
48945 * sunrpc/rpcinfo.c: Likewise.
48946 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48947 * sunrpc/rpcsvc/key_prot.x: Likewise.
48948 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48949 * sunrpc/rpcsvc/mount.x: Likewise.
48950 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48951 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48952 * sunrpc/rpcsvc/rex.x: Likewise.
48953 * sunrpc/rpcsvc/rstat.x: Likewise.
48954 * sunrpc/rpcsvc/rusers.x: Likewise.
48955 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48956 * sunrpc/rpcsvc/spray.x: Likewise.
48957 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48958 * sunrpc/rtime.c: Likewise.
48959 * sunrpc/svc.c: Likewise.
48960 * sunrpc/svc_auth.c: Likewise.
48961 * sunrpc/svc_authux.c: Likewise.
48962 * sunrpc/svc_raw.c: Likewise.
48963 * sunrpc/svc_run.c: Likewise.
48964 * sunrpc/svc_simple.c: Likewise.
48965 * sunrpc/svc_tcp.c: Likewise.
48966 * sunrpc/svc_udp.c: Likewise.
48967 * sunrpc/svc_unix.c: Likewise.
48968 * sunrpc/svcauth_des.c: Likewise.
48969 * sunrpc/xcrypt.c: Likewise.
48970 * sunrpc/xdr.c: Likewise.
48971 * sunrpc/xdr_array.c: Likewise.
48972 * sunrpc/xdr_float.c: Likewise.
48973 * sunrpc/xdr_mem.c: Likewise.
48974 * sunrpc/xdr_rec.c: Likewise.
48975 * sunrpc/xdr_ref.c: Likewise.
48976 * sunrpc/xdr_sizeof.c: Likewise.
48977 * sunrpc/xdr_stdio.c: Likewise.
48978
9da4bb31
UD
48979 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48980 handling.
48981
bdaa77bc
AS
489822010-08-19 Andreas Schwab <schwab@redhat.com>
48983
48984 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48985
fe2f79db
LM
489862010-08-19 Luis Machado <luisgpm@br.ibm.com>
48987
48988 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48989 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48990 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48991 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48992 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48993 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48995 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48996 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48998 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49000 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49001 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49002
b9b42ee0
AB
490032010-07-26 Anton Blanchard <anton@samba.org>
49004
49005 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49006 * malloc/arena.c (heap_trim): Likewise.
49007
1c06ba31
UD
490082010-08-16 Ulrich Drepper <drepper@redhat.com>
49009
49010 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49011 here. Not...
49012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49013 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49014
f8392f40
L
490152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49016
49017 * sysdeps/i386/elf/Makefile: New file.
49018
3162f12e
AS
490192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49020
49021 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49022 from fanotify_init.
49023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49025
28c90b2c
UD
490262010-08-15 Ulrich Drepper <drepper@redhat.com>
49027
49028 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49029 of strncasecmp_l.
1feccb6c 49030 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49031
ca6bb004
UD
490322010-08-14 Ulrich Drepper <drepper@redhat.com>
49033
e9f82e0d
UD
49034 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49035 strncase_l-nonascii.
49036 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49037 Add strncase_l-ssse3.
49038 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49039 * sysdeps/x86_64/strcmp.S: Likewise.
49040 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49041 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49042 * sysdeps/x86_64/strncase.S: New file.
49043 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49044 * sysdeps/x86_64/strncase_l.S: New file.
49045 * string/Makefile (strop-tests): Add strncasecmp.
49046 * string/test-strncasecmp.c: New file.
49047
49048 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49049 warning.
49050
ca6bb004
UD
49051 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49052 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49053
052fa7b3
AS
490542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49055
49056 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49057
962dba78
UD
490582010-08-12 Ulrich Drepper <drepper@redhat.com>
49059
49060 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49062 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49063
bebff237
AM
490642010-05-01 Alan Modra <amodra@gmail.com>
49065
49066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49067 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49068 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49069 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49070 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49071 tidying. Don't tail-call __sigjmp_save for static lib.
49072 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49073 save location.
49074 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49075 (CALL_MCOUNT): Add eh info, and nop after bl.
49076 (TAIL_CALL_SYSCALL_ERROR): New macro.
49077 (PSEUDO_RET): Use it.
49078 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49079 Correct save location of integer regs and cr.
49080 (_dl_profile_resolve): Correct cr save location. Delete nops
49081 after bl when SHARED. Reduce cfi size a little by better
49082 placement of cfi directives.
49083 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49084 make a stack frame. Instead use parm save area as a temp.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49086 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49088 Don't make a stack frame for parent, use parm save area.
49089 Increase child stack frame to 112 bytes. Don't save unused reg,
49090 and adjust reg usage. Set up cfi on error recovery and
49091 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49093 (__makecontext): Add dummy nop after jump to exit.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49095 Use correct parm save area and cr save, reduce stack frame.
49096 Correct cfi for possible PSEUDO_RET frame setup.
49097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49098 Branch to local label emitted by PSEUDO_RET rather than
49099 __syscall_error.
49100
02637374
AS
491012010-08-12 Andreas Schwab <schwab@redhat.com>
49102
49103 [BZ #11904]
49104 * locale/programs/locale.c (print_assignment): New function.
49105 (show_locale_vars): Use it.
49106
c3e2f19b
UD
491072010-08-11 Ulrich Drepper <drepper@redhat.com>
49108
3cdaa6ad
UD
49109 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49110 field.
49111 (struct statfs64): Likewise.
49112 (_STATFS_F_FLAGS): Define.
49113 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49115 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49116 (ST_VALID): Define locally.
49117 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49118 __statvfs_getflags, use the provided value.
49119 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49120 __ASSUME_STATFS_F_FLAGS.
49121
754f7da3
UD
49122 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49123
10b3bedc
UD
49124 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49125 Add sys/fanotify.h.
49126 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49127 fanotify_mask for GLIBC_2.13.
49128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49129 fanotify_init and fanotify_mark.
49130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49131 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49132
c08fb0d7
UD
49133 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49134 Add prlimit.
49135 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49136 prlimit64 for GLIBC_2.13.
49137 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49138 prlimit64.
49139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49140 syscall.
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49143 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49144 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49146 add prlimit alias.
49147 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49148
15bac72b
UD
49149 [BZ #11903]
49150 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49151 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49152
c3e2f19b
UD
49153 * nss/Makefile: Add rules to build and run tst-nss-test1.
49154 * shlib-versions: Add entry for libnss_test1.
49155 * nss/nss_test1.c: New file.
49156 * nss/tst-nss-test1.c: New file.
49157
49158 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49159 (__nss_configure_lookup): Set appropriate entry in
49160 __nss_configure_lookup to true.
49161 * nss/nsswitch.h: Define enum with indeces of databases in
49162 databases and __nss_database_custom arrays. Declare
49163 __nss_database_custom.
49164 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49165 to avoid using nscd when custom rules are installed.
49166 * nss/getXXbyYY_r.c: Likewise.
49167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49168
49169 * nss/nss_files/files-parse.c: Whitespace fixes.
49170
f15ce4d8
UD
491712010-08-09 Ulrich Drepper <drepper@redhat.com>
49172
49173 [BZ #11883]
49174 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49175 * posix/fnmatch_loop.c: Likewise.
49176
d22e4cc9
AK
491772010-07-17 Andi Kleen <ak@linux.intel.com>
49178
49179 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49180 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49181 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49182 * Versions.def [GLIBC_2.13]: Add.
49183
805bc17d
UD
491842010-08-06 Ulrich Drepper <drepper@redhat.com>
49185
49186 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49187 Also fail if tpwd after pwuid call is NULL.
49188
5a42321d
ST
491892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49190
49191 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49192 when converting to ms.
49193
fd3ebeda
ST
491942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49195
49196 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49197 EOPNOTSUPP errors with ENOTTY.
49198 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49199 EOPNOTSUPP errors with ENOTTY.
49200
73507d3a
UD
492012010-07-31 Ulrich Drepper <drepper@redhat.com>
49202
49203 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49204 Add strcasecmp_l-ssse3.
49205 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49206 strcasecmp.
49207 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49208 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49209 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49210
fe36dd02
UD
492112010-07-30 Ulrich Drepper <drepper@redhat.com>
49212
66f6765a
UD
49213 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49214
42e08a54
UD
49215 * string/Makefile (strop-tests): Add strcasecmp.
49216 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49217 strcasecmp_l-nonascii.
49218 (gen-as-const-headers): Add locale-defines.sym.
49219 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49220 * sysdeps/x86_64/strcasecmp.S: New file.
49221 * sysdeps/x86_64/strcasecmp_l.S: New file.
49222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49223 * sysdeps/x86_64/locale-defines.sym: New file.
49224 * string/test-strcasecmp.c: New file.
49225
fe36dd02
UD
49226 * string/test-strcasestr.c: Test both ends of the range of characters.
49227 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49228
48cbc0d6
RM
492292010-07-29 Roland McGrath <roland@redhat.com>
49230
76e6d6bc 49231 [BZ #11856]
48cbc0d6
RM
49232 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49233
880113d9
UD
492342010-07-27 Ulrich Drepper <drepper@redhat.com>
49235
49236 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49237 for ld.so.
49238
deb9cabb
AS
492392010-07-27 Andreas Schwab <schwab@redhat.com>
49240
49241 * manual/memory.texi (Malloc Tunable Parameters): Document
49242 M_PERTURB.
49243
1c7570ff
RM
492442010-07-26 Roland McGrath <roland@redhat.com>
49245
49246 [BZ #11840]
49247 * configure.in (-fgnu89-inline check): Set and substitute
49248 gnu89_inline, not libc_cv_gnu89_inline.
49249 * configure: Regenerated.
49250 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49251
24fb0f88
UD
492522010-07-26 Ulrich Drepper <drepper@redhat.com>
49253
49254 * string/test-strnlen.c: New file.
49255 * string/Makefile (strop-tests): Add strnlen.
49256 * string/tester.c (test_strnlen): Add a few more test cases.
49257 * string/tst-strlen.c: Better error reporting.
49258
49259 * sysdeps/x86_64/strnlen.S: New file.
49260
8e96b93a
UD
492612010-07-24 Ulrich Drepper <drepper@redhat.com>
49262
49263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49264 lower-latency instructions.
49265
dbc676d4
UD
492662010-07-23 Ulrich Drepper <drepper@redhat.com>
49267
49268 * string/test-strcasestr.c: New file.
49269 * string/test-strstr.c: New file.
49270 * string/Makefile (strop-tests): Add strstr and strcasestr.
49271 * string/str-two-way.h: Don't undefine MAX.
49272 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49273
f6a31e0e
AS
492742010-07-21 Andreas Schwab <schwab@redhat.com>
49275
49276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49277 strcasestr-nonascii.
49278 (CFLAGS-strcasestr-nonascii.c): Define.
49279 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49281 Remove unused attribute.
49282
5dbc3b6c
RM
492832010-07-20 Roland McGrath <roland@redhat.com>
49284
49285 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49286 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49287 ld.so.cache was broken. With it, there is no way to disable dsocaps
49288 like LD_HWCAP_MASK can disable hwcaps.
49289
23d101d8
EPM
492902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49291
49292 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49293
cc9f2e47
UD
492942010-07-16 Ulrich Drepper <drepper@redhat.com>
49295
49296 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49297 call in strcasestr.
49298 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49299 __strcasestr_sse42_nonascii.
49300 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49301 strcasestr-nonascii.c.
49302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49303
77c1b069
LM
493042010-06-15 Luis Machado <luisgpm@br.ibm.com>
49305
49306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49310
440566c3
UD
493112010-07-09 Ulrich Drepper <drepper@redhat.com>
49312
49313 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49314 fcntl.
49315
5be9d05d
AS
493162010-07-06 Andreas Schwab <schwab@redhat.com>
49317
c30b7ee2 49318 [BZ #11577]
5be9d05d
AS
49319 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49320 dl_signal_cerror.
49321
8a492a67
UD
493222010-07-06 Ulrich Drepper <drepper@redhat.com>
49323
49324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49325 _PC_PIPE_BUF using F_GETPIPE_SZ.
49326
713df3d5
RM
493272010-07-05 Roland McGrath <roland@redhat.com>
49328
49329 * manual/arith.texi (Rounding Functions): Fix rint description
49330 implicit in round description.
49331
702e8f14
UD
493322010-07-02 Ulrich Drepper <drepper@redhat.com>
49333
49334 * elf/Makefile: Fix linking for a few tests to make recent linker
49335 happy.
49336
52ed8be9
AS
493372010-06-30 Andreas Schwab <schwab@redhat.com>
49338
49339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49340 $(common-objpfx)libc_nonshared.a.
49341
f47c9a11
LM
493422010-06-21 Luis Machado <luisgpm@br.ibm.com>
49343
49344 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49345 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49346 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49347 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49348 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49350 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49351 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49366 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49367 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49368 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49369 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49370 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49371 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49372 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49373 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49374 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49375 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49376 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49377 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49392
6fb8cbcb
L
493932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49394
49395 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49396 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49397 * string/memmove.c (memmove): Renamed to ...
49398 (MEMMOVE): ...this. Default to memmove.
49399 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49400 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49401 (END_CHK): Define.
49402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49403 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49404 mempcpy-ssse3-back memmove-ssse3-back.
49405 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49408 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49409 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49410 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49411 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49412 * sysdeps/x86_64/multiarch/memmove.c: New file.
49413 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49414 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49415 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49416 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49417 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49419 Define.
49420 (index_Fast_Copy_Backward): Define.
49421 (HAS_ARCH_FEATURE): Define.
49422 (HAS_FAST_REP_STRING): Define.
49423 (HAS_FAST_COPY_BACKWARD): Define.
49424
4e733bac 494252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49426
49427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49428 Restore proper fallback handling.
49429
63c4ed22
UD
494302010-06-19 Ulrich Drepper <drepper@redhat.com>
49431
ac2b484c
UD
49432 [BZ #11701]
49433 * posix/group_member.c (__group_member): Correct checking loop.
49434
63c4ed22
UD
49435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49436 OOM in getpwuid_r correctly. Return error number when the caller
49437 should return, otherwise -1.
49438 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49439 call returning > 0 value.
49440 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49441
765ade4b
AS
494422010-06-07 Andreas Schwab <schwab@redhat.com>
49443
49444 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49445 libc_nonshared.a from targets in modules-names.
49446
80da2e09
KS
494472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49448
49449 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49450 requires it.
49451
158db122
LM
494522010-06-10 Luis Machado <luisgpm@br.ibm.com>
49453
49454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49458
caa78cf8
AS
494592010-06-02 Andreas Schwab <schwab@redhat.com>
49460
49461 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49462
b2ef2c01
UD
494632010-06-14 Ulrich Drepper <drepper@redhat.com>
49464
49465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49466 and F_GETPIPE_SZ.
49467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49472 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49473
fbd643b6
RM
494742010-06-14 Roland McGrath <roland@redhat.com>
49475
49476 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49477
f32f2869
JJ
494782010-06-07 Jakub Jelinek <jakub@redhat.com>
49479
49480 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49481 __REDIRECT followed by __THROW.
49482 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49483 * posix/getopt.h (getopt): Likewise.
49484
2a50c078
EPM
494852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49486
49487 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49488 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49489 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49490 in AT_FLAGS.
49491 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49492 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49493
eb5ad2eb
LM
494942010-05-28 Luis Machado <luisgpm@br.ibm.com>
49495
49496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49497
3c88fe1e
L
494982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49499
49500 [BZ #11640]
49501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49502 Properly check family and model.
49503
d2f73151
TY
495042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49505
49506 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49507
ebd2e13d
LM
495082010-05-24 Luis Machado <luisgpm@br.ibm.com>
49509
49510 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49511
b32b8b45
UD
495122010-05-21 Ulrich Drepper <drepper@redhat.com>
49513
49514 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49515 symbol reference.
49516
9acbe24d
AS
495172010-05-19 Andreas Schwab <schwab@redhat.com>
49518
49519 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49520 symbol reference.
49521
f0ccf6ea
AS
495222010-05-21 Andreas Schwab <schwab@redhat.com>
49523
3d04ff3a
AS
49524 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49525 and internal_recvmmsg.
49526 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49527 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49528 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49529 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49530
f0ccf6ea
AS
49531 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49532 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49533 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49534
5b08ac57
AS
495352010-05-20 Andreas Schwab <schwab@redhat.com>
49536
49537 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49538
4828935d
LM
495392010-05-17 Luis Machado <luisgpm@br.ibm.com>
49540
49541 POWER7 optimizations.
49542 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49543 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49544
373d545e
UD
495452010-05-19 Ulrich Drepper <drepper@redhat.com>
49546
49547 * version.h: Update for 2.13 development version.
49548
21a2b1ae
AS
495492010-05-12 Andrew Stubbs <ams@codesourcery.com>
49550
49551 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49552 exceptions. Return 0.
49553
3f7dcb2b
RM
495542010-05-07 Roland McGrath <roland@redhat.com>
49555
49556 * elf/ldconfig.c (main): Add a const.
49557
5f24d53a 495582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49559
a160f8d8
UD
49560 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49561 (args_options): Add no-idn option.
49562 (ahosts_keys_int): Add idn_flags to ai_flags.
49563 (parse_option): Handle 'i' option to clear idn_flags.
49564
5f24d53a
UD
49565 * malloc/malloc.c (_int_free): Possible race in the most recently
49566 added check. Only act on the data if no current modification
49567 happened.
265bb1ce
UD
49568
49569See ChangeLog.17 for earlier changes.