]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Force eval for fma implementations
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4896f049
RH
12014-08-01 Richard Henderon <rth@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5 typo in exact zero test.
6 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9
6f64e7d7
RM
102014-08-01 Roland McGrath <roland@hack.frob.com>
11
12 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14 * sysdeps/arm/sysdep.h: ... here.
15 [!__ASSEMBLER__]: Include <stdint.h>.
16
3f3dd810
SP
172014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18
a476ac4b
SP
19 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20 (HAVE_WCTYPE_H): Likewise.
21 (HAVE_ISWCTYPE): Likewise.
22 (ENABLE_NLS): Likewise.
23 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25
78dd658a
SP
26 * posix/regex_internal.c: Check if DEBUG is defined and is
27 set.
28
3f3dd810
SP
29 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30 (HAVE_MBSRTOWCS): Likewise.
31 * posix/fnmatch.c: Include string.h unconditionally.
32
95ee7fb1
SL
332014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
34
35 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36 reversal.
37
23fe486b
RM
382014-07-31 Roland McGrath <roland@hack.frob.com>
39
f61a113f
RM
40 * sysdeps/generic/safe-fatal.h: New file.
41 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42 * nptl/forward.c: Include it.
43 (__pthread_unwind): Use __safe_fatal as default action, rather
44 than a bogus use of INTERNAL_SYSCALL that could never work.
45
9fe7e787
RM
46 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47 * configure.ac (libc_cv_builtin_trap): New test.
48 * configure: Regenerated.
49 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
50 (ABORT_INSTRUCTION): Define using __builtin_trap.
51
23fe486b
RM
52 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
53 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
54 * sysdeps/nptl/nptl-signals.h: New file.
55 * nptl/pthreadP.h: Include <nptl-signals.h>.
56
f349489e
SL
572014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
58
59 * sysdeps/s390/s390-64/utf16-utf32-z9.c
60 (ONE_DIRECTION): Define.
61 * sysdeps/s390/s390-64/utf8-utf16-z9.c
62 (ONE_DIRECTION): Define.
63 * sysdeps/s390/s390-64/utf8-utf32-z9.c
64 (ONE_DIRECTION): Define.
65
2f438e20
SL
662014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
67
68 * sysdeps/s390/Makefile: Delete file.
69 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
70 * sysdeps/s390/__longjmp.c: Delete file.
71 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
72 Remove fields __flags and __reserved.
73 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
74 and add versioning.
75 * sysdeps/s390/rtld-__longjmp.c: Delete file.
76 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
77 * sysdeps/s390/rtld-setjmp.S: Likewise.
78 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
79 * sysdeps/s390/s390-32/__longjmp.c: ... here.
80 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
81 * sysdeps/s390/s390-32/setjmp.S: ... here.
82 Add versioning.
83 (__sigsetjmp): Remove setting __flags field.
84 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
85 * sysdeps/s390/s390-64/__longjmp.c: ... here.
86 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
87 * sysdeps/s390/s390-64/setjmp.S: ... here.
88 Add versioning.
89 (__sigsetjmp): Remove setting __flags field.
90 * sysdeps/s390/setjmp.S: Delete file.
91 * sysdeps/s390/sigjmp.c: Likewise.
92 * sysdeps/s390/v1-longjmp.c: Likewise.
93 * sysdeps/s390/v1-setjmp.h: Likewise.
94 * sysdeps/s390/v1-sigjmp.c: Likewise.
95 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
96 Remove v1-longjmp_chk.
97 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
98 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
99 Include debug/longjmp_chk.c and add versioning.
100 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
101 Include nptl/pt-longjmp.c and add versioning.
102 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
103 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
104 Include __longjmp.c.
105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
106 Move to ...
107 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
108 (__getcontext): Remove setting __flags field.
109 Add versioning.
110 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
111 Don't restore upper high grps.
112 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
113 Likewise.
114 (__swapcontext): Remove setting uc_flags field.
115 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
116 Delete file.
117 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
118 Include __longjmp.c.
119 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
120 Move to ...
121 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
122 (__getcontext): Remove setting __flags field.
123 Add versioning.
124 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
125 (__swapcontext): Remove setting uc_flags field.
126 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
127 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
128 Remove fields uc_high_gprs and __reserved.
129 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
130 New file with reverted content.
131 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
132 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
133 Regenerated.
134 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
135 Regenerated.
136
6c9578a2
AS
1372014-07-31 Andreas Schwab <schwab@suse.de>
138
139 * config.h.in (HAVE_IFUNC): Define to 0.
140 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
141 definedness.
142
05f3633d
LM
1432014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
144
145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
146 memmove-avx-unaligned, memcpy-avx-unaligned and
147 mempcpy-avx-unaligned.
148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
149 Add tests for AVX memcpy functions.
150 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
151 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
152 memcpy_chk.
153 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
154 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
155 memmove_chk.
156 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
157 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
158 mempcpy_chk.
159 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
160 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
161 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
162
a53fbd8e
AZ
1632013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
164
165 [BZ #17213]
166 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
167 powerpc64le.
168
0961f7e1
JL
1692014-07-29 Jeff Layton <jlayton@poochiereds.net>
170
171 [BZ #16839]
172 * manual/llio.texi: Add section about open file description locks.
173 * manual/examples/ofdlocks.c: Example of open file description
174 lock usage.
175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
176 F_OFD_SETLK, and F_OFD_SETLKW.
177
cc5fb300
AM
1782014-07-23 Allan McRae <allan@archlinux.org>
179
180 * po/es.po: Update Spanish translation from translation project.
181
23329dca
AS
1822014-07-18 Andreas Schwab <schwab@linux-m68k.org>
183
184 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
185
9c82da17
MR
1862014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
187
188 [BZ #17078]
189 * sysdeps/arm/dl-machine.h (elf_machine_rela)
190 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
191 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
192
29c4f53e
JM
1932014-07-17 Joseph Myers <joseph@codesourcery.com>
194
831b9896
JM
195 [BZ #17088]
196 * math/fesetenv.c (__fesetenv)
197 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
198 * math/feupdateenv.c (__feupdateenv)
199 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
200
b21c2d50
JM
201 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
202 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
203 (__ASSUME_SOCKETCALL): Do not define.
204
067764ef
JM
205 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
206 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
207 (__ASSUME_SOCKETCALL): Do not define.
208 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
209 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
210 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
211 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
212 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
213 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
214 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
215 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
216
642530c1
JM
217 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
218 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
219 (__ASSUME_SOCKETCALL): Do not define.
220 (__ASSUME_IPC64): Define unconditionally.
221 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
222 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
223 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
224 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
225 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
226 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
227 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
228 Likewise.
229
03f77315
JM
230 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
231 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
232 (__ASSUME_SOCKETCALL): Do not define.
233 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
234 (__ASSUME_FUTEX_LOCK_PI): Likewise.
235 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
236 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
237 (__ASSUME_REQUEUE_PI): Define unconditionally.
238 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
239 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
240 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
241 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
242 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
243 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
244
083b1f7c
JM
245 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
246 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
247 (__ASSUME_SOCKETCALL): Do not define.
248 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
249 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
250 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
251 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
252 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
253 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
254
5be44ea6
JM
255 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
256 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
257 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
258 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
259 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
260 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
262 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
263 (__ASSUME_GETCPU_SYSCALL): Likewise.
264
d95ffd4c
JM
265 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
266 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
267 cases for individual architectures.
268 * sysdeps/gnu/configure: Regenerated.
269 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
270 LIBC_SLIBDIR_RTLDDIR.
271 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
272 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
273 LIBC_SLIBDIR_RTLDDIR.
274 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
276 LIBC_SLIBDIR_RTLDDIR.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
278 Regenerated.
279 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
280 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
281 file.
282 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
283 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
284 file.
285 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
286 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
287 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
288 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
289
29c4f53e
JM
290 * sysdeps/aarch64/shlib-versions: Move to ...
291 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
292 * sysdeps/alpha/shlib-versions: Move to ...
293 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
294 * sysdeps/arm/shlib-versions: Move to ...
295 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
296 * sysdeps/hppa/shlib-versions: Move all contents except for
297 libgcc_s entry to ...
298 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
299 entry from ...
300 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
301 * sysdeps/ia64/shlib-versions: Move to ...
302 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
303 entry from ...
304 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
305 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
306 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
307 * sysdeps/microblaze/shlib-versions: Move to ...
308 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
309 * sysdeps/mips/shlib-versions: Move to ...
310 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
311 entry from ...
312 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
313 * sysdeps/tile/shlib-versions: Move to ...
314 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
315 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
316 from ...
317 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
318 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
319 entry from ...
320 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
321
32bead5b
WN
3222014-07-17 Will Newton <will.newton@linaro.org>
323
57977c4b
WN
324 * sysdeps/arm/bits/atomic.h
325 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
326 (__arch_compare_and_exchange_bool_16_int): Likewise.
327 (__arch_compare_and_exchange_bool_64_int): Likewise.
328
32bead5b
WN
329 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
330 into an #else block.
331
37fccd41
RM
3322014-07-16 Roland McGrath <roland@hack.frob.com>
333
334 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
335 just Linux configurations. Test empirically that the compiler sets
336 __ARM_EABI__, rather than using the tuple to decide.
337 * sysdeps/arm/preconfigure: Regenerated.
338 * sysdeps/unix/sysv/linux/arm/configure: File removed.
339 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
340 contents appended ...
341 * sysdeps/arm/configure.ac: ... here.
342 * sysdeps/arm/configure: Regenerated.
343
b365f3ec
RM
3442014-07-15 Roland McGrath <roland@hack.frob.com>
345
8badf496
RM
346 * nptl/pthread_kill.c: New file.
347 * nptl/pthread_sigmask.c: New file.
348 * nptl/pthread_sigqueue.c: New file.
349
3df6f22e
RM
350 * sysdeps/nptl/lowlevellock.h: New file.
351 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
352 * sysdeps/nptl/lowlevellock-futex.h: New file.
353
b365f3ec
RM
354 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
355 Remove dead declarations.
356
f2fef657
L
3572014-07-14 H.J. Lu <hongjiu.lu@intel.com>
358
359 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
360 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
361 config-cflags-avx2.
362 * sysdeps/x86_64/configure.ac: Likewise.
363 * sysdeps/i386/configure: Regenerated.
364 * sysdeps/x86_64/configure: Likewise.
365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
366 memset-avx2 only if config-cflags-avx2 is yes.
367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
368 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
369 defined.
370 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
371 only if HAVE_AVX2_SUPPORT is defined.
372 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
373
f6c44d47
AM
3742014-07-14 Alan Modra <amodra@gmail.com>
375
376 [BZ #17153]
377 * elf/elf.h (DT_PPC64_NUM): Correct value.
378 * NEWS: Add to fixed bug list.
379
7ee03f00
JM
3802014-07-13 Jim Meyering <meyering@fb.com>
381
382 [BZ 17150]
383 regex: don't deref NULL upon heap allocation failure
384 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
385 failure in one more place.
386 To trigger the segfault, configure grep -with-included-regex,
387 build it, and run these commands:
388 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
389
9d39d517
AS
3902014-07-13 Andreas Schwab <schwab@linux-m68k.org>
391
392 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
393
a75b89b7
RH
3942014-07-11 Richard Henderson <rth@redhat.com>
395
396 * sysdeps/aarch64/libm-test-ulps: Update.
397
771eb141
FW
3982014-07-10 Florian Weimer <fweimer@redhat.com>
399
400 [BZ #17135]
401 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
402 * nptl/allocatestack.c (__nptl_setxid_error): New function.
403 (__nptl_setxid): Initialize error member. Call
404 __nptl_setxid_error.
405 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
406 * nptl/descr.h (struct xid_command): Add error member.
407 * nptl/tst-setuid3.c: New file.
408 * nptl/Makefile (tests): Add it.
409
bc1da176
AZ
4102014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
411
412 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
413 New define.
414 (__lll_trylock): Use __lll_base_trylock.
415 (__lll_cond_trylock): Likewise.
416
887865fc
RM
4172014-07-10 Roland McGrath <roland@hack.frob.com>
418
c0c6bac9
RM
419 * nptl/pthread_create.c (start_thread): Use atomic_or and
420 lll_futex_wake directly rather than lll_robust_dead.
421 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
422 (lll_robust_dead): Macro removed.
6a42be57 423 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
424 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
425 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
426 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
427 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
428 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
429 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
430 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
431 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
433 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
435 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
436 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
438
887865fc
RM
439 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
440 Use atomic_compare_and_exchange_val_acq directly rather than
441 lll_robust_trylock.
442 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
443 (__lll_robust_trylock, lll_robust_trylock): Removed.
444 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
445 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
446 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
447 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
448 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
449 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
450 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
451 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
453 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
454 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
456 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
457 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
458
58536726
FW
4592014-07-02 Florian Weimer <fweimer@redhat.com>
460
461 * manual/locale.texi (Locale Names): New section documenting
462 locale name syntax. Adjust menu and node chaining accordingly.
463 (Choosing Locale): Reference Locale Names, Locale Categories.
464 Mention setting LC_ALL=C. Reflect that name syntax is now
465 documented.
466 (Locale Categories): New section title. Reference Locale Names.
467 LC_ALL is an environment variable, but not a category.
468 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
469 description, now in Locale Name. Reference that section. Locale
470 name syntax is now documented.
471
4e8f95a0
FW
4722014-07-02 Florian Weimer <fweimer@redhat.com>
473
474 [BZ #17137]
475 * locale/findlocale.c (name_present, valid_locale_name): New
476 functions.
477 (_nl_find_locale): Use the loc_name variable to store name
478 candidates. Call name_present and valid_locale_name to check and
479 validate locale names. Return an error if the locale is invalid.
480
d1836456
FW
4812014-07-02 Florian Weimer <fweimer@redhat.com>
482
483 * locale/setlocale.c (setlocale): Use strdup for allocating
484 composite name copy.
485
d69b7f5a
SP
4862014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
487
888c679b
SP
488 Sync up with gnulib.
489 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
490 [!_LIBC && ENABLE_NLS]: Include gettext.h.
491 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
492 and _GL_ARG_NONNULL.
493 [USE_UNLOCKED_IO]: Include unlocked-io.h.
494 [!_LIBC]: Include code for Windows and Cygwin.
495 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
496 Include prototype for int strerror_r.
497 [!_LIBC] (is_open): New function.
498 (flush_stdout): New function.
499 (print_errno_message): Use it.
500 (error): Likewise.
501 (error_at_line): Likewise.
502 (error_tail) Add function attribute macros. Use
503 __builtin_expect.
504
180e0e4b
SP
505 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
506
d22f1fe2
SP
507 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
508
12f2254b
SP
509 * io/ftw.c: Include sys/param.h unconditionally.
510
c3c7c360
SP
511 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
512
d62aa75a
SP
513 [BZ #17125]
514 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
515 libc_freeres_ptr.
516 (freecache): New function to free CACHE on exit.
517
d69b7f5a
SP
518 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
519 initialization.
520
5efe06a1
DM
5212014-07-09 David S. Miller <davem@davemloft.net>
522
523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
524
7000d82e
DM
525 * sysdeps/sparc/nptl/internaltypes.h: Delete.
526 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
527 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
528 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
529 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
530 * sysdeps/sparc/nptl/sem_init.c: Likewise.
531 * sysdeps/sparc/nptl/sem_post.c: Likewise.
532 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
533 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
534 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
535 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
536 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
537 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
538
c213442d
AS
5392014-07-09 Andreas Schwab <schwab@suse.de>
540
4a2552c3
AS
541 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
542 output.
543 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
544 (do_test): Likewise.
545
c213442d
AS
546 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
547
82374e65
WN
5482014-07-09 Will Newton <will.newton@linaro.org>
549
550 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
551 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
552 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
553 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
554 * sysdeps/hppa/start.S (_start): Likewise.
555
6680738a
SP
5562014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
557
6ee3eab4
SP
558 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
559
6680738a
SP
560 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
561 defined.
562
80b5c505
SP
5632014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
564
e35c53e3
SP
565 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
566 after checking that it is non-NULL.
567
80b5c505
SP
568 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
569
91f4b564
AZ
5702014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
27b75f56
AZ
572 * sysdeps/powerpc/memmove.c: Remove file.
573 * sysdeps/powerpc/powerpc32/power4/memcopy.h
574 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
576 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
577 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
578 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
579 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
580 string memmove instead of removed powerpc one.
581
e7f95bb5
AZ
582 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
583 [weak_alias]: Fix compiler warning due trailing data.
584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
585 [weak_alias]: Likewise.
586 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
587 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
588
91f4b564
AZ
589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
590 (__libc_ifunc_impl_list): Add memmove functions.
591
7c33f1e5
SP
5922014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
593
594 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
595 Remove code.
596 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
597 Likewise
598 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
599 Likewise
600 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
601 Likewise
602 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
603 Likewise
604 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
605 Likewise
606 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
607 Likewise
608 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
609 Likewise
610 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
611 Likewise
612 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
613 Likewise
614 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
615 Likewise
616 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
617 Likewise
618 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
619 Likewise
620 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
621 Likewise
622 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
623 Likewise
624 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
625 Likewise
626 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
627 Likewise
628
3f17b03b
AZ
6292014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
87868c24
AZ
631 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
632 to avoid alignment traps in non-cacheable memory.
633 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
634
07aedd78
AZ
635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
636 multiarch objects.
637 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
638 file: multiarch power7 memmove.
639 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
640 multiarch default memmove.
641 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
642 multiarch memove for powerpc32/power4.
643
17762f66
AZ
644 * string/bcopy.c: Use full path to include memmove.c.
645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
646 multiarch objects.
647 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
648 bcopy for powerpc64.
649 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
650 bcopy for powerpc64.
651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
652 and memmove implementations.
653 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
654 optimized multiarch memmove for POWER7/powerpc64.
655 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
656 default multiarch memmove for powerpc64.
657 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
658 multiarch for powerpc64.
659 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
660 for POWER7/powerpc64.
661 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
662 memmove for POWER7/powerpc64.
663
d6f68bbe
AZ
664 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
665 glibc default one.
666
3f17b03b
AZ
667 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
668 __ELF_NATIVE_CLASS equal to 64.
669
08192659
RM
6702014-07-07 Roland McGrath <roland@hack.frob.com>
671
f4c4021b
RM
672 * sysdeps/nptl/lowlevellock.h: File removed.
673
f083450f
RM
674 * NEWS: NPTL is no longer an add-on!
675 * nptl/internaltypes.h: Moved ...
676 * sysdeps/nptl/internaltypes.h: ... here.
677 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
678 * sysdeps/nptl/fork.c: Likewise.
679 * sysdeps/nptl/gai_misc.h: Likewise.
680 * sysdeps/nptl/librt-cancellation.c: Likewise.
681 * sysdeps/nptl/jmp-unwind.c: Likewise.
682 * sysdeps/nptl/setxid.h: Likewise.
683 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
684 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
685 * sysdeps/unix/sysv/linux/arm/Implies: New file.
686 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
687 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
688 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
689 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
690 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
691 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
692 * sysdeps/unix/sysv/linux/mips/Implies: New file.
693 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
694 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
695 * sysdeps/unix/sysv/linux/sh/Implies: New file.
696 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
697 * sysdeps/unix/sysv/linux/tile/Implies: New file.
698 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
699 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
700 * nptl/Makeconfig: Moved ...
701 * sysdeps/nptl/Makeconfig: ... here.
702 * nptl/configure: File removed.
703 * nptl/ANNOUNCE: File removed.
704 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
705 * sysdeps/unix/sysv/linux/configure: Regenerated.
706
08192659
RM
707 * nptl/Makefile (routines): Add libc_pthread_init,
708 libc_multiple_threads, register-atfork and unregister-atfork.
709 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
710 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
711 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
712 pthread-pi-defines.sym, structsem.sym.
713 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
714 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
715 [$(subdir) = nptl] (tests): Add tst-setgetname.
716 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
717 * sysdeps/unix/sysv/linux/sigaction.c: Just include
718 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
719 [!LIBC_SIGACTION]: Remove aliases.
720 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
721 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
722 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
723 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
724 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
726 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
729 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
730 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
731 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
732 __libc_allocate_rtsig_private.
733 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
734 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
735 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
736 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
737 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
738 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
739 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
740 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
741 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
742 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
743 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
744 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
745 * nptl/internaltypes.h: ... here.
746 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
747 * sysdeps/nptl/jmp-unwind.c: ... here.
748 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
749 * nptl/libc-lowlevellock.c: ... here.
750 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
751 * nptl/libc_multiple_threads.c: ... here.
752 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
753 * nptl/libc_pthread_init.c: ... here.
754 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
755 * nptl/lowlevelbarrier.sym: ... here.
756 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
757 * nptl/lowlevelcond.sym: ... here.
758 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
759 * nptl/lowlevellock.c: ... here.
760 * nptl/lowlevellock.h: Moved ...
761 * sysdeps/nptl/lowlevellock.h: ... here.
762 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
763 * nptl/lowlevelrobustlock.c: ... here.
764 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
765 * nptl/lowlevelrobustlock.sym: ... here.
766 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
767 * nptl/lowlevelrwlock.sym: ... here.
768 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
769 * nptl/pt-fork.c: ... here.
770 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
771 * nptl/pthread-pi-defines.sym: ... here.
772 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
773 * nptl/pthread_attr_getaffinity.c: ... here.
774 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
775 * nptl/pthread_attr_setaffinity.c: ... here.
776 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
777 * nptl/pthread_mutex_cond_lock.c: ... here.
778 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
779 Update #include.
780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
781 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
782 * nptl/pthread_once.c: ... here, replacing old file.
783 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
784 * nptl/pthread_yield.c: ... here.
785 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
786 * nptl/register-atfork.c: ... here.
787 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
788 * nptl/sem_post.c: ... here.
789 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
790 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
791 * nptl/sem_timedwait.c: ... here.
792 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
793 * nptl/sem_trywait.c: ... here.
794 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
795 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
796 * nptl/sem_wait.c: ... here.
797 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
798 * nptl/structsem.sym: ... here.
799 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
800 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
801 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
802 * nptl/unregister-atfork.c: ... here.
803 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
804 * nptl/unwindbuf.sym: ... here.
805 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
806 * sysdeps/nptl/fork.c: ... here.
807 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
808 * sysdeps/nptl/fork.h: ... here.
809 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
810 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
811 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
812 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
813 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
814 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
815 * sysdeps/unix/sysv/linux/getpid.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
817 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
818 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
819 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
820 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
821 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
823 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
824 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
825 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
826 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
827 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
828 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
829 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
830 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
831 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
833 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
834 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
835 * sysdeps/unix/sysv/linux/raise.c: ... here.
836 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
837 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
838 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
839 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
840 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
841 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
842 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
843 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
844 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
845 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
846 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
847 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
848 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
849 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
850 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
851
96baf6ff
SP
8522014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
853
854 * sysdeps/generic/memcopy.h: Add comment for
855 MEMCPY_OK_FOR_FWD_MEMMOVE.
856
6b7b14b2
WN
8572014-07-04 Will Newton <will.newton@linaro.org>
858
1570a72b
WN
859 * string/memchr.c: Merge from gnulib.
860 [_LIBC]: Remove conditionals.
861 (__ptr_t): Remove define.
862 (LONG_MAX_32_BITS): Likewise.
863 (LONG_MAX): Likewise.
864 (MEMCHR): Use ANSI prototype and optimize algorithm.
865
6b7b14b2
WN
866 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
867
38851324
SP
8682014-07-03 Roland McGrath <roland@hack.frob.com>
869
3d9eb57c
RM
870 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
871 (lll_futex_timed_wait_bitset): Fix syscall argument count.
872
78b984ae
RM
873 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
874 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
875 in a bare environment with no <stdlib.h> installed.
876 * sysdeps/nptl/configure: Regenerated.
877
2d5976a5
RM
878 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
879
c1f5acd4
RM
880 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
881 AC_EGREP_CPP for kernel header checks, so they only succeed if
882 including <linux/version.h> actually works right.
883 * sysdeps/unix/sysv/linux/configure: Regenerated.
884
4d614fe5
RM
885 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
886 value so it's not diagnosed as unused.
887
38851324
SP
888 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
889 thing) with "ifeq ($(subdir),rt)".
890
b3ec00e5
RH
8912014-07-03 Richard Henderson <rth@redhat.com>
892
69862e25
RH
893 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
894 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
895 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
896
d5e16ade
RH
897 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
898 (math_force_eval): New.
899
ca7b945c
RH
900 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
901 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
902
cd1175a3
RH
903 * sysdeps/alpha/fpu/s_round.c: Remove file.
904 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
905
b3ec00e5
RH
906 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
907 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
908 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
909 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
910 (_dl_start, print_statistics): Likewise.
911 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
912 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
913
914 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
915 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
916 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
917 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
918 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
919 (HP_SMALL_TIMING_AVAIL): Define.
920 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
921 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
922 (HP_SMALL_TIMING_AVAIL): Define.
923 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
924 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
925
926 * sysdeps/aarch64/hp-timing.h: New file.
927
928 * sysdeps/generic/hp-timing.h: Remove dead comment.
929 * sysdeps/generic/hp-timing-common.h: New file.
930 * sysdeps/alpha/hp-timing.h: Include it.
931 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
932 * sysdeps/i386/i686/hp-timing.h: Likewise.
933 * sysdeps/ia64/hp-timing.h: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
935 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
937 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
938 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
939 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
940 (hp_timing_t): New.
941
942 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
943 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
944 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
945 * elf/rtld.c (_dl_start_final): Likewise.
946 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
947 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
948 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
949 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
950 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
952 (HP_TIMING_DIFF_INIT): Remove.
953 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
954 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
955 (HP_TIMING_DIFF_INIT): Remove.
956 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
957 * sysdeps/i386/i686/hp-timing.c: Remove file.
958 * sysdeps/x86_64/hp-timing.c: Remove file.
959 * sysdeps/ia64/hp-timing.c: Remove file.
960 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
961 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
962 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
963 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
964
965 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
966 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
967 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
968 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
969 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
970 (HP_TIMING_ACCUM): Remove.
971 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
973 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
974
975 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
976 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
977 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
978 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
980 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
981 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
982 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
983
984 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
985
225f410f
MR
9862014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
987
988 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
989
3247f285
SP
9902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
991
992 Sync up with gettext.
993 * intl/loadmsgcat.c: Define O_BINARY if not defined.
994 [_MSC_VER]: Include malloc.h
995 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
996 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
997 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
998 TEMP_FAILURE_RETRY. Cast return of alloca.
999 [!_LIBC] Call gl_rwlock_init.
1000 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1001
d12704c7
SP
10022014-07-02 Roland McGrath <roland@hack.frob.com>
1003
1004 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1005 before checking its value.
1006
99f8dc92
SP
10072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
05fdac77
SP
1009 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1010
99f8dc92
SP
1011 * debug/memcpy_chk.c: Don't include pagecopy.h.
1012 * debug/mempcpy_chk.c: Likewise.
1013 * string/memcpy.c: Likewise.
1014 * string/memmove.c: Likewise.
1015 * sysdeps/powerpc/memmove.c: Likewise.
1016 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1017 definition of PAGE_COPY_FWD_MAYBE here...
1018 * sysdeps/generic/pagecopy.h: ... from here.
1019 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1020
bc8ea385
VR
10212014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1022 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023
1024 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1026 optimizations.
1027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1028 (__libc_ifunc_impl_list): Likewise.
1029 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1030 multiarch strcat for PPC64.
1031 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1032 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1033
fe5f34e4
RM
10342014-07-02 Roland McGrath <roland@hack.frob.com>
1035
1036 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1037
256aa665
SP
10382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1039
d4eb8195
SP
1040 * intl/loadmsgcat.c: Remove declaration of
1041 get_sysdep_segment_value.
1042 (get_sysdep_segment_value): Use ISO C style.
1043 (_nl_load_domain): Use ISO C style. Get rid of redundant
1044 semicolon. Fix typo and formatting in comment.
1045 (_nl_unload_domain): Use ISO C style.
1046
256aa665
SP
1047 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1048
b100f9aa
WN
10492014-07-02 Will Newton <will.newton@linaro.org>
1050
1051 * malloc/obstack.c: Merge from gnulib master.
1052 [HAVE_CONFIG_H]: Remove conditional code.
1053 [!_LIBC]: Include config.h.
1054 [!ELIDE_CODE]: Don't include inttypes.h, include
1055 stdint.h unconditionally.
1056 (print_and_abort): Mark as _Noreturn.
1057 (_obstack_allocated_p): Mark as __attribute_pure__.
1058 (obstack_free): Rename to __obstack_free.
1059 [!__attribute__]: Remove conditional code.
1060 * malloc/obstack.h: Merge from gnulib master.
1061 [__cplusplus]: Move conditional down.
1062 [!__attribute_pure__]: Define __attribute_pure__ here
1063 if it is not already defined.
1064 (_obstack_memory_used): Mark as __attribute_pure__.
1065 [!__obstack_free]: Define as obstack_free.
1066 [__GNUC__]: Remove check for ancient NeXT gcc.
1067
c4c41244
PE
10682014-07-02 Will Newton <will.newton@linaro.org>
1069 Paul Eggert <eggert@cs.ucla.edu>
1070
1071 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1072
e1e041c4
SP
10732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
1075 * resolv/gethnamaddr.c: Add comment warning that the file is
1076 not maintained.
1077
ccf431ff
CD
10782014-07-01 Carlos O'Donell <carlos@redhat.com>
1079
d34570a6
CD
1080 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1081 entries.
1082
ccf431ff
CD
1083 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1084 entry for aio_cancel and aio_cancel64.
1085 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1086 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1087 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1088 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1089 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1090 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1091 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1092 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1093 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1094 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1095 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1096 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1097 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1098
ca06321d
RM
10992014-07-01 Roland McGrath <roland@hack.frob.com>
1100
1101 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1102 * nptl/pthread_mutex_lock.c: Likewise.
1103 * nptl/pthread_mutex_timedlock.c: Likewise.
1104 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1105
a1ac3184
RH
11062014-07-01 Richard henderson <rth@redhat.com>
1107
631021e0
RH
1108 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1109 (__isnan, __isnanl): Remove.
1110 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1111
a1ac3184
RH
1112 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1113
0c1d731f
SL
11142014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1115
1116 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1117
76985d3e
SP
11182014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1119
1120 * resolv/nss_dns/dns-host.c (getanswer_r)
1121 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1122
b0cb3096
JM
11232014-07-01 Joseph Myers <joseph@codesourcery.com>
1124
1125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1126 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1127 undefine.
1128 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1129 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1130
4d76cb39
RM
11312014-07-01 Roland McGrath <roland@hack.frob.com>
1132
1133 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1134 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1135
1136 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1137 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1138
1139 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1140 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1141 ... here.
1142 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1143 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1144
1145 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1146 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1147 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1148 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1149
1150 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1151 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1152 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1153 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1155 Moved ...
1156 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1157 ... here.
1158 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1178 ... here.
1179 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1182 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1183 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1184 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1185 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1186 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1187
0cdcad17
DH
11882014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1189
1190 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1191 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1192 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1193 Add sysdep.
1194
9b71d0e3
AZ
11952014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1198
665390c2
JM
11992014-06-30 Joseph Myers <joseph@codesourcery.com>
1200
ae05a9d7
JM
1201 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1202 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1203
a7672a2f
JM
1204 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1205
665390c2
JM
1206 * sysdeps/arm/libm-test-ulps: Regenerated.
1207
d7a05d07
MR
12082014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1209 Roland McGrath <roland@hack.frob.com>
1210
1211 * test-skeleton.c (signal_handler): Kill the whole process group
1212 before killing the child individually.
1213 (main): Report any failure on `setpgid'.
1214
46f1d8a6
RM
12152014-06-30 Roland McGrath <roland@hack.frob.com>
1216
1217 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1218 from _TLS_H to _ARM_NPTL_TLS_H.
1219 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1220 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1221
9c37ec0b
JM
12222014-06-30 Joseph Myers <joseph@codesourcery.com>
1223
ce9c5b3e
JM
1224 [BZ #16539]
1225 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1226 (__expm1l): Return argument unchanged when small but not
1227 subnormal.
1228
3a6e9887
JM
1229 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1230 include macro name.
1231 (_FP_UNPACK_RAW_1_P): Likewise.
1232 (_FP_PACK_RAW_1): Likewise.
1233 (_FP_PACK_RAW_1_P): Likewise.
1234 (_FP_MUL_MEAT_1_wide): Likewise.
1235 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1236 (_FP_MUL_MEAT_1_hard): Likewise.
1237 (_FP_DIV_MEAT_1_imm): Likewise.
1238 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1239 (_FP_DIV_MEAT_1_udiv): Likewise.
1240 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1241 (_FP_UNPACK_RAW_2): Likewise.
1242 (_FP_UNPACK_RAW_2_P): Likewise.
1243 (_FP_PACK_RAW_2): Likewise.
1244 (_FP_PACK_RAW_2_P): Likewise.
1245 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1246 (_FP_MUL_MEAT_2_wide): Likewise.
1247 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1248 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1249 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1250 (_FP_MUL_MEAT_2_gmp): Likewise.
1251 (_FP_DIV_MEAT_2_udiv): Likewise.
1252 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1253 (_FP_FRAC_SRL_4): Likewise.
1254 (_FP_FRAC_SRST_4): Likewise.
1255 (_FP_FRAC_SRS_4): Likewise.
1256 (_FP_UNPACK_RAW_4): Likewise.
1257 (_FP_UNPACK_RAW_4_P): Likewise.
1258 (_FP_PACK_RAW_4): Likewise.
1259 (_FP_PACK_RAW_4_P): Likewise.
1260 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1261 (_FP_MUL_MEAT_4_wide): Likewise.
1262 (_FP_MUL_MEAT_4_gmp): Likewise.
1263 (umul_ppppmnnn): Likewise.
1264 (_FP_DIV_MEAT_4_udiv): Likewise.
1265 (__FP_FRAC_ADD_4): Likewise.
1266 (__FP_FRAC_SUB_3): Likewise.
1267 (__FP_FRAC_SUB_4): Likewise.
1268 (__FP_FRAC_DEC_3): Likewise.
1269 (__FP_FRAC_DEC_4): Likewise.
1270 (__FP_FRAC_ADDI_4): Likewise.
1271 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1272 (_FP_FRAC_SRL_8): Likewise.
1273 (_FP_FRAC_SRS_8): Likewise.
1274
9c37ec0b
JM
1275 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1276 include macro name.
1277 (FP_UNPACK_RAW_EP): Likewise.
1278 (FP_PACK_RAW_E): Likewise.
1279 (FP_PACK_RAW_EP): Likewise.
1280 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1281 (_FP_ISSIGNAN): Likewise.
1282 (_FP_ADD_INTERNAL): Likewise.
1283 (_FP_FMA): Likewise.
1284 (_FP_CMP): Likewise.
1285 (_FP_SQRT): Likewise.
1286 (_FP_TO_INT): Likewise.
1287 (_FP_FROM_INT): Likewise.
1288 (FP_EXTEND): Likewise.
1289 (_FP_DIV_MEAT_N_loop): Likewise.
1290
2125f674
MR
12912014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1292
1293 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1294 throughout.
1295
edea4028
JM
12962014-06-29 Joseph Myers <joseph@codesourcery.com>
1297
1298 [BZ #17097]
1299 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1300 result with correct sign in case of exponents that produce
1301 overflow except for X very close to 1.
1302
dd0ba018
PE
13032014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1304
1305 mktime: merge #if/#ifdef usage from glibc
1306 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1307 as that works with both Glibc's and Gnulib's style.
1308 See thread starting at Siddhesh Poyarekar's bug report at:
1309 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1310
64df73c2
SP
13112014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1312
1313 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1314 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1315 * sysdeps/tile/tilegx/memmove.c: Remove file.
1316
f1eafb41
JM
13172014-06-27 Joseph Myers <joseph@codesourcery.com>
1318
1319 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1320 abi-name definition.
1321 * scripts/soversions.awk: Do not handle or generate ABI lines.
1322 * shlib-versions: Remove ABI entries.
1323 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1324 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1325
58eb0862
RM
13262014-06-27 Roland McGrath <roland@hack.frob.com>
1327
37caf178
RM
1328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1329 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1330 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1335 Moved ...
1336 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1337 ... here.
1338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1343 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1351 Moved ...
1352 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1354 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1358 Moved ...
1359 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1361 Moved ...
1362 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1366 Moved ...
1367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1375 Moved ...
1376 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1380 Moved ...
1381 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1383 Moved ...
1384 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1385 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1388 Moved ...
1389 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1390 ... here.
1391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1392 Identical file removed.
1393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1394 Moved ...
1395 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1397 Identical file removed.
1398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1401 Moved ...
1402 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1404 Identical file removed.
1405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1406 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1408 Identical file removed.
1409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1412 Identical file removed.
1413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1414 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1416 Identical file removed.
1417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1418 Moved ...
1419 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1421 Identical file removed.
1422 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1423 Moved ...
1424 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1428 Identical file removed.
1429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1430 Moved ...
1431 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1432 ... here.
1433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1434 Identical file removed.
1435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1436 Moved ...
1437 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1439 Identical file removed.
1440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1441 Moved ...
1442 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1448 Moved ...
1449 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1451 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1452
58eb0862
RM
1453 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1454 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1455 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1456 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1457 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1458
6f12d062
AS
14592014-06-27 Arjun Shankar <arjun.is@lostca.se>
1460
1461 [BZ #17092]
1462 * nscd/nscd.c (monitor_child): Return exit status of child
1463 instead of return value from wait syscall.
1464
be254932
JM
14652014-06-27 Joseph Myers <joseph@codesourcery.com>
1466
cb403c34
JM
1467 * configure.ac (libc_commonpagesize): Remove variable.
1468 (libc_relro_required): Likewise.
1469 (libc_cv_z_relro): Remove configure test.
1470 * configure: Regenerated.
1471 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1472 variable.
1473 (libc_relro_required): Likewise.
1474 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1475 (libc_relro_required): Likewise.
1476 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1477 (libc_relro_required): Likewise.
1478 * sysdeps/arm/preconfigure: Regenerated.
1479 * sysdeps/ia64/preconfigure: Remove file.
1480 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1481 variable.
1482 (libc_relro_required): Likewise.
1483
be254932
JM
1484 [BZ #16561]
1485 [BZ #16562]
1486 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1487 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1488 recompute overflowing results in original rounding mode.
1489 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1490 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1491 recompute overflowing results in original rounding mode.
1492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1493 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1494 recompute overflowing results in original rounding mode.
1495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1496 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1497 recompute overflowing results in original rounding mode.
1498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1499 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1500 recompute overflowing results in original rounding mode.
1501 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1502 (libc_feholdsetround_ctx): New macro.
1503 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1504 * sysdeps/i386/fpu/libm-test-ulps: Update.
1505 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1506
b351d85a
JM
15072014-06-26 Joseph Myers <joseph@codesourcery.com>
1508
1509 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1510 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1511 corresponding .cpsetup call.
1512
3cb4de47
RM
15132014-06-26 Roland McGrath <roland@hack.frob.com>
1514
1515 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1516 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1517 * sysdeps/arm/Makefile [$(subdir) = csu]
1518 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1519 (static-only-routines): Add aeabi_read_tp here.
1520 (shared-only-routines): Add libc-aeabi_read_tp here.
1521 (CFLAGS-libc-start.c): Add -fexceptions here.
1522 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1523 (sysdep_routines, static-only-routines, shared-only-routines):
1524 Don't add to these here.
1525 (CFLAGS-libc-start.c): Likewise.
1526
1527 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1528 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1529 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1530 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1531 * sysdeps/arm/Makefile [$(subdir) = rt]
1532 (librt-sysdep_routines, librt-shared-only-routines):
1533 Append rt-aeabi_unwind_cpp_pr1 here.
1534 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1535 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1536 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1537 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1538 Append nptl-aeabi_unwind_cpp_pr1 here.
1539 (tests): Filter out tst-cleanupx4 here.
1540 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1541 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1542 Don't do those here.
1543
354426bb
JM
15442014-06-26 Joseph Myers <joseph@codesourcery.com>
1545
1546 * scripts/list-sources.sh: Do not handle ports specially.
1547
28b0a8c9
RM
15482014-06-26 Roland McGrath <roland@hack.frob.com>
1549
a3dd035d
RM
1550 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1551 * sysdeps/arm/feupdateenv.c: Likewise.
1552
28b0a8c9
RM
1553 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1554
e66a8203
JM
15552014-06-26 Joseph Myers <joseph@codesourcery.com>
1556
1557 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1558 trailing whitespace removed.
1559 * scripts/config.guess: Update to version 2014-03-23.
1560 * scripts/config.sub: Update to version 2014-05-01
1561 * scripts/install-sh: Update to version 2013-12-25.23.
1562 * scripts/move-if-change: Update from gnulib.
1563
74171115
SP
15642014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
b97c9ce5
SP
1566 * debug/memmove_chk.c: Remove pagecopy.h include.
1567
4000f892
SP
15682014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1569
74171115
SP
1570 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1571 identical to gnulib mktime.
1572
a8779c28
JM
15732014-06-26 Joseph Myers <joseph@codesourcery.com>
1574
e64708de
JM
1575 * configure.ac: Do not test for machine being rs6000. Do not test
1576 for powerpc*-*soft.
1577 * configure: Regenerated.
1578
a8779c28
JM
1579 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1580 test.
1581 * configure: Regenerated.
1582 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1583 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1584 Remove configure test.
1585 * sysdeps/arm/configure: Regenerated.
1586 * sysdeps/nptl/configure.ac: Do not check
1587 libc_cv_asm_cfi_directives.
1588 * sysdeps/nptl/configure: Regenerated.
1589 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1590 * sysdeps/x86_64/nptl/configure: Remove generated file.
1591 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1592 unconditional.
1593 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1594
2aac0a86
SP
15952014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
059bf913
SP
1597 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1598 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1599 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1600 it is defined.
1601
4cf5b6d0
SP
1602 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1603 instead of whether it is defined.
1604 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1605 * sysdeps/hppa/dl-machine.h: Likewise.
1606 * sysdeps/ia64/dl-machine.h: Likewise.
1607 * sysdeps/m68k/dl-machine.h: Likewise.
1608 * sysdeps/microblaze/dl-machine.h: Likewise.
1609 * sysdeps/mips/dl-machine.: Likewise.
1610 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1611 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1612 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1613 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1614 * sysdeps/sh/dl-machine.h: Likewise.
1615 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1616 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1617 * sysdeps/tile/dl-machine.h: Likewise.
1618 * sysdeps/x86_64/dl-machine.h: Likewise.
1619
2aac0a86
SP
1620 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1621 code.
1622 (verify_persistent_db): Likewise.
1623
6ad2df0b
RM
16242014-06-26 Roland McGrath <roland@hack.frob.com>
1625
d8a483f3
RM
1626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1627 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1631 Moved ...
1632 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1633 ... here.
1634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1637 Identical file removed.
1638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1649 Moved ...
1650 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1656 Moved ...
1657 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1661 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1663 Identical file removed.
1664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1665 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1669 Moved ...
1670 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1671 ... here.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1683 Moved ...
1684 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1686 Moved ...
1687 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1691 Moved ...
1692 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1695
52ae23b4
RM
1696 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1697 folded into ...
1698 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1699 * sysdeps/unix/sysv/linux/s390/Versions
1700 (libpthread: GLIBC_2.19): New version set.
1701 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1702 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1703 (librt: GLIBC_2.3.3): New version set.
1704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1705 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1706 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1708 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1709 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1710 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1712 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1713 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1714 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1716 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1718 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1719 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1720 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1722 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1724 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1726 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1728 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1730 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1732 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1734 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1740 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1742 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1744 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1746 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1748 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1749
39507e4a
RM
1750 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1751 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1752 (__libc_vfork): Define the function under this name.
1753 [!NOT_IN_libc] (__vfork): Make this an alias.
1754 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1756 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1757 (__libc_vfork): Define the function under this name.
1758 [!NOT_IN_libc] (__vfork): Make this an alias.
1759 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1760 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1761 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1764 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1765
e549ee56
RM
1766 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1767 code that was previously under [RESET_PID].
1768 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1769 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1771
6ad2df0b
RM
1772 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1773 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1774 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1775 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1777 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1778 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1779 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1780 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1783 Moved ...
1784 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1808 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1809 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1810 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1812 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1813
7c1c1d8e
RM
18142014-06-25 Roland McGrath <roland@hack.frob.com>
1815
1816 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1817 that was previously under [RESET_PID].
1818 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1819
3e239be6
JM
18202014-06-25 Joseph Myers <joseph@codesourcery.com>
1821
74385da5
JM
1822 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1823 not undefine and redefine.
1824 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1825 [O_CLOEXEC]: Make code unconditional.
1826 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1827 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1828 <kernel-features.h>.
1829 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1830 conditional variable definition.
1831 (shm_open) [O_CLOEXEC]: Make code unconditional.
1832 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1833 code.
1834
c2570a0b
JM
1835 * configure.ac (USE_REGPARMS): Don't define here.
1836 * configure: Regenerated.
1837 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1838 * sysdeps/i386/configure: Regenerated.
1839
11b076bb
JM
1840 * nptl/createthread.c: Don't include kernel-features.h.
1841 * nptl/pthread_cancel.c: Likewise.
1842 * nptl/pthread_condattr_setclock.c: Likewise.
1843 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1844 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1845 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1846 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1847 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1848 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1849 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1852 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1853 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1854 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1855 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1856 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1857 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1858 * nscd/gai.c: Likewise.
1859 * nss/nss_db/db-open.c: Likewise.
1860 * sysdeps/generic/ldsodefs.h: Likewise.
1861 * sysdeps/sh/nptl/tls.h: Likewise.
1862 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1863 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1864 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1865 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1866 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1867 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1868 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1869 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1871 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1872 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1873 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1874 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1875 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1876 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1877 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1878 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1879 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1880 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1881 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1882 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1883 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1884 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1885 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1886 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1887 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1888 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1889 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1890 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1891 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1892 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1893 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1894 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1895 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1896 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1897 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1898 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1899 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1900 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1901 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1902 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1903 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1904 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1905 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1906 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1907 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1908 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1909 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1910 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1911 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1912 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1913 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1914 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1915 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1916 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1917 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1918 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1919 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1942 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1943 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1944 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1945 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1946 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1949 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1950 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1951 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1952 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1953 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1954 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1955 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1956 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1957 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1958 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1960 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1961 * sysdeps/unix/sysv/linux/system.c: Likewise.
1962 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1963 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1964 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1965 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1966 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1968 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1969
92072d57
JM
1970 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1971 * configure: Regenerated.
1972 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1973
3e239be6
JM
1974 * configure.ac (base_machine): Do not set specially for particular
1975 machines here.
1976 * configure: Regenerated.
1977 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1978 settings from configure.ac.
1979 * sysdeps/i386/preconfigure: New file.
1980 * sysdeps/s390/preconfigure: Likewise.
1981 * sysdeps/sh/preconfigure: Likewise.
1982 * sysdeps/sparc/preconfigure: Likewise.
1983
06d50baa
RM
19842014-06-25 Roland McGrath <roland@hack.frob.com>
1985
74836003
RM
1986 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1987 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1988 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1989 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1990 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1991 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1992 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1993 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1994 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1995 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1996 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1997 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1998 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1999 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2000 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2001 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2003 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2004 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2005
2006 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2007 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2008 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2009 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2010 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2011 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2012 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2013 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2014 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2015 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2016 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2017 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2018 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2019 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2020 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2021 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2022 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2023 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2024 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2025 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2027 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2029 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2030 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2031 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2032 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2033 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2037 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2039 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2040 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2041 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2042 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2043 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2044
06d50baa
RM
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2050 Moved ...
2051 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2052 ... here.
2053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2058 Moved ...
2059 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2067 Moved ...
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2070 Moved ...
2071 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2075 Moved ...
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2080 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2086 Moved ...
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2088 ... here.
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2094 Moved ...
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2101 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2103 Moved ...
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2106 Moved ...
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2111 Moved ...
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2114 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2116 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2117
a4ccbc9b
JM
21182014-06-25 Joseph Myers <joseph@codesourcery.com>
2119
0828edbf
JM
2120 * timezone/checktab.awk: Update from tzcode 2014e.
2121 * timezone/private.h: Likewise.
2122 * timezone/tzfile.h: Likewise.
2123 * timezone/zdump.c: Likewise.
2124 * timezone/zic.c: Likewise.
2125
a4ccbc9b
JM
2126 * sysdeps/unix/sysv/linux/kernel-features.h
2127 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2128 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2129 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2130 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2131 Remove conditional code.
2132
9aea0cb8
WN
21332014-06-25 Will Newton <will.newton@linaro.org>
2134
2135 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2136 (_dl_arm_cap_flags): Add HWCAP2 values.
2137 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2138 (_DL_HWCAP_COUNT): Increase to 37.
2139 (_DL_HWCAP_LAST): New define.
2140 (_DL_HWCAP2_LAST): New define.
2141 (_dl_procinfo): Add support for printing
2142 AT_HWCAP2 entries.
2143 (_dl_string_hwcap): Use _dl_hwcap_string.
2144
6eaa65ce
AZ
21452014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146
2147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2148
0f5b7185
JM
21492014-06-25 Joseph Myers <joseph@codesourcery.com>
2150
cfd2ea50
JM
2151 * README: Do not mention ports directory.
2152
cecf2ed4
JM
2153 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2154 Remove macro.
2155 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2156 <kernel-features.h>.
2157 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2158 conditional variable definition.
2159 (__futimes): Update comment.
2160 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2161 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2162
a638de82
JM
2163 [BZ #16560]
2164 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2165 arguments close to 0.
2166 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2167 Likewise.
2168 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2169 Likewise.
2170 * math/auto-libm-test-in: Add more tests of exp10.
2171 * math/auto-libm-test-out: Regenerated.
2172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2173
0f5b7185
JM
2174 * sysdeps/unix/sysv/linux/kernel-features.h
2175 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2176 * sysdeps/unix/sysv/linux/readv.c: Do not include
2177 <kernel-features.h>.
2178 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2179 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2180 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2181 unconditional.
2182 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2183 conditional code.
2184 * sysdeps/unix/sysv/linux/writev.c: Do not include
2185 <kernel-features.h>.
2186 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2187 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2188 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2189 unconditional.
2190 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2191 conditional code.
2192
c7aec4be
WN
21932014-06-25 Will Newton <will.newton@linaro.org>
2194
2195 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2196 comment changes throughout the file. Remove checks
2197 for HAVE_*_H definitions that are not required.
2198 (__gen_tempname): Call abort if an unknown kind value is
2199 passed.
2200
c5241f95
AS
22012014-06-25 Andreas Schwab <schwab@suse.de>
2202
2203 [BZ #17086]
2204 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2205 scalbln, scalblnf, scalblnl in libc.
2206
911422da
SP
22072014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2208
2209 [BZ #17086]
2210 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2211 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2212 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2213
0d749bbe
RM
22142014-06-24 Roland McGrath <roland@hack.frob.com>
2215
2216 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2217 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2218 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2219 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2220 Update #include.
2221 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2222 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2223 Update #include.
2224 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2225 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2226 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2227 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2228 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2229 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2230 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2231 * sysdeps/x86/bits/semaphore.h: ... here.
2232 * sysdeps/x86/nptl/elide.h: Moved ...
2233 * sysdeps/x86/elide.h: ... here.
2234 * sysdeps/x86_64/nptl/Implies: File removed.
2235 * sysdeps/i386/nptl/Implies: File removed.
2236
0ea5d373
JM
22372014-06-24 Joseph Myers <joseph@codesourcery.com>
2238
4060283d
JM
2239 [BZ #16539]
2240 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2241 return the argument for normal arguments with exponent below -64.
2242 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2243 Likewise.
2244 * math/auto-libm-test-in: Add another test of expm1.
2245 * math/auto-libm-test-out: Regenerated.
2246
e7dd3c8c
JM
2247 [BZ #16287]
2248 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2249 calling __erfcl for arguments at least 16.
2250 * math/auto-libm-test-in: Add more tests of erf.
2251 * math/auto-libm-test-out: Regenerated.
2252
0ea5d373
JM
2253 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2254 individual architectures.
2255 * sysdeps/unix/sysv/linux/configure: Regenerated.
2256 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2257 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2258 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2259 (ldd_rewrite_script): Define variable.
2260 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2262 file.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2264 generated file.
2265 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2266 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2267 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2268 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2269 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2270 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2271 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2272 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2273
2307e126
SP
22742014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2275
2276 [BZ #17084]
2277 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2278 Rename member __data.d to __data.__elision_data.
2279
c0a4ed77
W
22802014-06-24 Wilco <wdijkstr@arm.com>
2281
2282 * NEWS: Add 16918 to fixed bug list.
2283
b8c00573
W
22842014-06-24 Wilco <wdijkstr@arm.com>
2285
2286 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2287
b5570d92
W
22882014-06-24 Wilco <wdijkstr@arm.com>
2289
2290 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2291 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2292 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2293 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2294 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2295 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2296 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2297 Use _FPU_MASK_RM.
2298
947bdca2
W
22992014-06-24 Wilco <wdijkstr@arm.com>
2300
2301 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2302
00f669ed
W
23032014-06-24 Wilco <wdijkstr@arm.com>
2304
2305 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2306 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2307 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2308 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2309
db59bad3
W
23102014-06-24 Wilco <wdijkstr@arm.com>
2311
2312 [BZ #16918]
2313 * sysdeps/arm/feupdateenv.c (feupdateenv):
2314 Rewrite to reduce FPSCR accesses and fix return value.
2315
001f7b77
W
23162014-06-24 Wilco <wdijkstr@arm.com>
2317
2318 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2319 Optimize to avoid unnecessary FPSCR writes.
2320 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2321 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2322 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2323 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2324
4841e6a6
W
23252014-06-24 Wilco <wdijkstr@arm.com>
2326
2327 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2328 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2329 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2330 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2331 Call libc_fetestexcept_vfp.
2332 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2333 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2334 __SOFTFP__ ifdef so that they can be built for softfp.
2335
0813022c
SP
23362014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2337
08e5862f
SP
2338 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2339 argument type signed char.
2340
0813022c
SP
2341 * Makerules (check-abi): Dump diff of symlist if the test
2342 fails.
2343
3fc7236a
RM
23442014-06-23 Roland McGrath <roland@hack.frob.com>
2345
aba8ef95
RM
2346 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2347 using abort.
2348
3fc7236a
RM
2349 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2350 Remove unused variable ST.
2351
4da6db51
JM
23522014-06-23 Joseph Myers <joseph@codesourcery.com>
2353
4648909d
JM
2354 [BZ #16354]
2355 [BZ #17061]
2356 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2357 small arguments before calling __expm1.
2358 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2359 small arguments before calling __expm1f.
2360 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2361 small arguments before calling __expm1l.
2362 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2363 Likewise.
2364 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2365 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2366 spurious underflow for some cosh tests.
2367 * math/auto-libm-test-out: Regenerated.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369
46a3d3c7
JM
2370 [BZ #17050]
2371 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2372 (__ieee754_y1): Set errno if return value overflows.
2373 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2374 (__ieee754_y1f): Set errno if return value overflows.
2375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2376 (__ieee754_y1l): Set errno if return value overflows.
2377 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2378 (__ieee754_y1l): Set errno if return value overflows.
2379 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2380 * math/auto-libm-test-out: Regenerated.
2381
863893ec
JM
2382 * math/gen-auto-libm-tests.c: Document use of
2383 ignore-zero-inf-sign.
2384 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2385 (input_flags): Add ignore-zero-inf-sign.
2386 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2387 * math/gen-libm-test.pl (generate_testfile): Handle
2388 ignore-zero-inf-sign.
2389 * math/auto-libm-test-in: Mark some cpow tests with
2390 ignore-zero-inf-sign and some with xfail-rounding.
2391 * math/auto-libm-test-out: Regenerated.
2392 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2393 * sysdeps/i386/fpu/libm-test-ulps: Update.
2394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395
4da6db51
JM
2396 [BZ #16315]
2397 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2398 overflowing or underflowing operations take place with sign of
2399 result.
2400 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2401 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2402 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2403 (__ieee754_pow): Recompute overflowing and underflowing results in
2404 original rounding mode.
2405 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2406 (__powl_helper): Allow negative argument X and scale negated value
2407 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2408 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2409 overflowing or underflowing operations take place with sign of
2410 result.
2411 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2412 Include <math.h>.
2413 * math/auto-libm-test-in: Add more tests of pow.
2414 * math/auto-libm-test-out: Regenerated.
2415 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2416 (pow_tonearest_test_data): Remove.
2417 (pow_test_tonearest): Likewise.
2418 (pow_towardzero_test_data): Likewise.
2419 (pow_test_towardzero): Likewise.
2420 (pow_downward_test_data): Likewise.
2421 (pow_test_downward): Likewise.
2422 (pow_upward_test_data): Likewise.
2423 (pow_test_upward): Likewise.
2424 (main): Don't call removed functions.
2425 * sysdeps/i386/fpu/libm-test-ulps: Update.
2426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2427
5686b236
RM
24282014-06-23 Roland McGrath <roland@hack.frob.com>
2429
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2431 Moved ...
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2434 Moved ...
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2437 Moved ...
2438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2440 Moved ...
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2443 File removed.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2445 File removed.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2447 File removed.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2449 File removed.
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2451 File removed.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2453 File removed.
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2455 File removed.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2457 File removed.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2459 File removed.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2461 File removed.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2463 File removed.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2465 File removed.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2467 Moved ...
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2470 Moved ...
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2472 ... here.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2474 Moved ...
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2477 Moved ...
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2480 Moved ...
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2483 Moved ...
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2486 Moved ...
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2489 Moved ...
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2492 Moved ...
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2496 ... here.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2498 Moved ...
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2501 Moved ...
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2503 ... here.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2505 Moved ...
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2507 ... here.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2509 Moved ...
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2511 ... here.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2513 Moved ...
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2516 Moved ...
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2521 Moved ...
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2523 ... here.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2525 Moved ...
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2527 ... here.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2529 Moved ...
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2532 Moved ...
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2535 Moved ...
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2538 Moved ...
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2541 Moved ...
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2543 ... here.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2545 Moved ...
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2548 Moved ...
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2551 Moved ...
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2554 Moved ...
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2559 Moved ...
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2562 Moved ...
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2565 Moved ...
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2567 ... here.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2569 Moved ...
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2571 ... here.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2573 Moved ...
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2575 ... here.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2577 Moved ...
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2580 Moved ...
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2583 Moved ...
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2586 Moved ...
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2588 ... here.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2590 Moved ...
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2592 ... here.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2594 Moved ...
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2596 ... here.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2598 Moved ...
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2601 Moved ...
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2603
e6d90d67
WD
26042014-06-23 Will Newton <will.newton@linaro.org>
2605 Wilco <wdijkstr@arm.com>
2606
2607 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2608 implementation. Include get-rounding-mode.h.
2609 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2610 [!libc_feholdsetround_noex_ctx]: Define
2611 libc_feholdsetround_noex_ctx.
2612 [!libc_feholdsetround_noexf_ctx]: Define
2613 libc_feholdsetround_noexf_ctx.
2614 [!libc_feholdsetround_noexl_ctx]: Define
2615 libc_feholdsetround_noexl_ctx.
2616 (libc_feholdsetround_ctx): New function.
2617 (libc_feresetround_ctx): New function.
2618 (libc_feholdsetround_noex_ctx): New function.
2619 (libc_feresetround_noex_ctx): New function.
2620
d42df555
RM
26212014-06-23 Roland McGrath <roland@hack.frob.com>
2622
88a46474
RM
2623 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2624 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2625 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2626 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2627 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2628 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2629
15bed472
RM
2630 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2631 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2632 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2633 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2634 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2635 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2637 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2638 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2639 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2641 Moved ...
2642 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2643 ... here.
2644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2645 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2649 Moved ...
2650 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2654 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2656 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2658 Moved ...
2659 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2661 Moved ...
2662 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2664 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2666 Moved ...
2667 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2669 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2671 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2672 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2673 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2674 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2677 Moved ...
2678 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2679 ... here.
2680 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2681 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2693 Moved ...
2694 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2700 Moved ...
2701 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2705 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2706
d42df555
RM
2707 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2708 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2709 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2712 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2713 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2714 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2720 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2722 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2724 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2725 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2726 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2728 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2730 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2731 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2732 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2733 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2735
76e5216e
JM
27362014-06-23 Joseph Myers <joseph@codesourcery.com>
2737
2738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2739 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2740 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2741 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2742 (IPV6_PMTUDISC_INTERFACE): Likewise.
2743 (IPV6_PMTUDISC_OMIT): Likewise.
2744
7a81cbcc
AS
27452014-06-23 Andreas Schwab <schwab@suse.de>
2746
2747 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2748 Remove unused errout label.
2749
db224009
AZ
27502014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2753 macro: hardware supports Vector Crypto instructions.
2754
f393b4aa
WN
27552014-06-23 Will Newton <will.newton@linaro.org>
2756
cc7d0447
WN
2757 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2758 rather than __builtin_expect.
2759
d6d06225
WN
2760 * elf/dl-lookup.c (undefined_msg): Remove variable.
2761 (_dl_lookup_symbol_x): Replace undefined_msg with string
2762 literal.
2763
f393b4aa
WN
2764 * elf/dl-lookup.c (do_lookup_unique): New function.
2765 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2766 to a separate function.
2767
ac60763e
AS
27682014-06-23 Andreas Schwab <schwab@suse.de>
2769
2770 [BZ #17079]
2771 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2772 before reading the next line.
2773
c5c13355
WN
27742014-06-23 Will Newton <will.newton@linaro.org>
2775
2776 * test-skeleton.c (signal_handler): Use printf and %m
2777 rather than perror. Use printf rather than fprintf to
2778 stderr. Use puts rather than fputs to stderr.
2779 (main): Likewise.
2780
bd3675f9
LC
27812014-06-22 Ludovic Courtès <ludo@gnu.org>
2782
2783 * nscd/nscd.c (thread_info_t): Remove typedef.
2784 (thread_info): Remove variable.
2785
d03efb2f
AM
27862014-06-21 Allan McRae <allan@archlinux.org>
2787
2788 * NEWS: Mention CVE-2014-4043.
2789
bc4a86fa
RM
27902014-06-20 Roland McGrath <roland@hack.frob.com>
2791
dc9a54f8
RM
2792 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2793 * nptl/smp.h: ... here.
2794
bd7022c4
RM
2795 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2796
26ffd5e6
RM
2797 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2798 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2799 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2800 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2801
93a6d082
RM
2802 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2803 * nptl/stack-aliasing.h: New file.
2804 * sysdeps/i386/i686/stack-aliasing.h: New file.
2805 * sysdeps/i386/i686/nptl/Makefile: File removed.
2806 * sysdeps/x86_64/stack-aliasing.h: New file.
2807 * sysdeps/x86_64/nptl/Makefile
2808 (CFLAGS-pthread_create.c): Variable removed.
2809
bc4a86fa
RM
2810 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2811 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2812 old file.
2813 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2814 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2815 old file.
2816
2272ffc1
JM
28172014-06-21 Joseph Myers <joseph@codesourcery.com>
2818
2819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2820 (__ASSUME_SIGFRAME_V2): Remove macro.
2821 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2822 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2823 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2824 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2825 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2826 Declare as function. Remove conditional macro definitions.
2827 (__default_rt_sa_restorer): Likewise.
2828 (__default_sa_restorer_v1): Remove declaration.
2829 (__default_sa_restorer_v2): Likewise.
2830 (__default_rt_sa_restorer_v1): Likewise.
2831 (__default_rt_sa_restorer_v2): Likewise.
2832 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2833 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2834 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2835
4b88139b
RM
28362014-06-20 Roland McGrath <roland@hack.frob.com>
2837
2838 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2839 (libpthread-routines): Add sysdep.
2840 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2841 * sysdeps/unix/sysv/linux/sparc/Versions
2842 (libpthread: GLIBC_2.3.3): New version set.
2843 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2844 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2845 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2847 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2848 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2849 Moved ...
2850 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2852 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2854 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2856 * sysdeps/sparc/nptl/sem_init.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2858 * sysdeps/sparc/nptl/sem_post.c: ... here.
2859 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2860 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2862 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2864 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2865 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2866 (libpthread-routines): Add cpu_relax.
2867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2868 File removed.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2870 (librt: GLIBC_2.3.3): New version set.
2871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2872 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2874 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2877 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2879 Moved ...
2880 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2882 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2884 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2886 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2888 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2890 Moved ...
2891 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2892 Update #include.
2893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2894 Moved ...
2895 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2896 Update #include.
2897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2898 Moved ...
2899 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2900 Update #include.
2901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2902 Moved ...
2903 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2904 Update #include.
2905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2906 Moved ...
2907 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2908 Update #include.
2909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2910 Moved ...
2911 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2912 Update #include.
2913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2914 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2922 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2924 Moved ...
2925 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2927 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2929 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2930
d7109027
JM
29312014-06-20 Joseph Myers <joseph@codesourcery.com>
2932
9bc6103d
JM
2933 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2934 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2935 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2936 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2937 * nscd/nscd.c: Likewise.
2938 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2939 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2940 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2941 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2942
d7109027
JM
2943 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2944 <kernel-features.h>.
2945 (init_mq_netlink): Remove conditional have_sock_cloexec
2946 definitions. Remove code conditional on have_sock_cloexec < 0.
2947 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2948 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2949 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2950 <kernel-features.h>.
2951 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2952 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2953
d92d8f8a
L
29542014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2957 Add tests for memset_chk and memset.
2958
2959 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2960 with AVX2_Usable.
2961
4e6d2347
MR
29622014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2963
257ce712
MR
2964 [BZ #16046]
2965 * elf/tst-dl-iter-static.c: New file.
2966 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2967
4e6d2347
MR
2968 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2969 error.
2970
a2a76afe
JM
29712014-06-20 Joseph Myers <joseph@codesourcery.com>
2972
7fd00f99
JM
2973 * sysdeps/unix/sysv/linux/kernel-features.h
2974 (__ASSUME_F_GETOWN_EX): Remove macro.
2975 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2976 <kernel-features.h>.
2977 (miss_F_GETOWN_EX): Remove variable or macro.
2978 (do_fcntl): Do not check miss_F_GETOWN_EX.
2979 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2980
4a103975
JM
2981 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2982 Remove macro.
2983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2984 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2985 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2986
a2a76afe
JM
2987 * sysdeps/unix/sysv/linux/kernel-features.h
2988 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2989 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2990 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2991 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2992
90e5dd48
MR
29932014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2994
2995 [BZ #17075]
2996 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2997 Fix calculation of the symbol's value.
2998 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2999 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3000 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3001 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3002 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3003 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3004 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3005 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3006 (modules-names): Add `tst-armtlsdescmod',
3007 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3008 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3009 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3010 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3011 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3012 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3013 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3014 ($(objpfx)tst-armtlsdescloc): New dependency.
3015 ($(objpfx)tst-armtlsdescextnow): Likewise.
3016 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3017 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3018 TLS scheme support.
3019 * sysdeps/arm/configure: Regenerate.
3020
809fdf0d
JM
30212014-06-20 Joseph Myers <joseph@codesourcery.com>
3022
3023 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3024 (__atfct_seterrno_2): Likewise.
3025 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3026 <kernel-features.h>.
3027 (__ASSUME_ATFCTS): Do not undefine and redefine.
3028 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3029 (__have_atfcts): Remove conditional definition.
3030 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3031 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3032 unreachable if [__ASSUME_ATFCTS].
3033 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3034 not undefine and redefine.
3035 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3036 <kernel-features.h>.
3037 (faccessat) [__NR_faccessat]: Make code unconditional.
3038 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3039 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3040 <kernel-features.h>.
3041 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3042 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3043 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3044 <kernel-features.h>.
3045 (fchownat) [__NR_fchownat]: Make code unconditional.
3046 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3047 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3048 <kernel-features.h>.
3049 (futimesat) [__NR_futimesat]: Make code unconditional.
3050 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3051 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3052 <kernel-features.h>.
3053 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3054 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3055 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3056 <kernel-features.h>.
3057 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3058 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3059 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3060 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3061 <kernel-features.h>.
3062 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3063 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3064 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3065 <kernel-features.h>.
3066 (linkat) [__NR_linkat]: Make code unconditional.
3067 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3068 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3069 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3070 <kernel-features.h>.
3071 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3072 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3073 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3074 <kernel-features.h>.
3075 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3076 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/openat.c: Do not include
3078 <kernel-features.h>.
3079 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3080 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3081 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3082 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3083 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3084 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3085 <kernel-features.h>.
3086 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3087 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3088 result of INLINE_SYSCALL directly, not via int variable.
3089 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3090 <kernel-features.h>.
3091 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3092 (renameat) [__NR_renameat]: Make code unconditional.
3093 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3094 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3095 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3098 (__ASSUME_ATFCTS): Do not undefine and redefine.
3099 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3100 <kernel-features.h>.
3101 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3102 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3103 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3104 <kernel-features.h>.
3105 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3106 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3107 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3108 (__ASSUME_ATFCTS): Do not undefine and redefine.
3109 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3110 <kernel-features.h>.
3111 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3112 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3113 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3114 <kernel-features.h>.
3115 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3116 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3117
224c6c51
L
31182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3121
aa6ec754
AS
31222014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3123
3124 [BZ #17069]
3125 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3126 constructed tree before returning error.
3127 * posix/bug-regexp36.c: Expand test case.
3128
d8c2869d
SL
31292014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3130
3ef6b850
SL
3131 [BZ #6803]
3132 * math/libm-test.inc (scalbln_test_date):
3133 Add errno expectations.
3134 * math/w_scalblnf.c: New File.
3135 Add wrapper which checks for setting errno to ERANGE.
3136 Add weak_alias for corresponding scalbln function.
3137 * math/w_scalbln.c: Likewise.
3138 * math/w_scalblnl.c: Likewise.
3139 * math/Makefile (libm-calls): Add w_scalbln.
3140 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3141 Remove weak_alias for corresponding scalbln function.
3142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3145 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3146 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3147 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3148 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3149 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3150 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3151 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3152 Remove long_double_symbol for scalblnl function in libm, libc.
3153 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3154 Add wrapper which checks for setting errno to ERANGE.
3155 Add long_double_symbol for scalblnl function in libm, libc.
3156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3157 Remove long_double_symbol for scalblnl in libm.
3158 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3159 Add wrapper which checks for setting errno to ERANGE.
3160 Add long_double_symbol for scalblnl function in libm.
3161 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3162 Do not use wrapper because of own implementation.
3163
c8daec5c
L
31642014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3167 3 bytes for __pad1 for x32.
3168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3169
5c74e47c
LM
31702014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3171 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3174 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3175 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3176 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3177 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3178
4d43ef1e
AS
31792014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3180
3181 [BZ #17069]
3182 * posix/regcomp.c (parse_expression): Deallocate partially
3183 constructed tree before returning error.
3184 * posix/Makefile.c (tests): Add bug-regex36.
3185 (generated): Add bug-regex36.mtrace.
3186 (tests-special): Add $(objpfx)bug-regex36-mem.out
3187 (bug-regex36-ENV): New variable.
3188 ($(objpfx)bug-regex36-mem.out): New rule.
3189 * posix/bug-regex36.c: New file.
3190
51a7380b
WN
31912014-06-19 Will Newton <will.newton@linaro.org>
3192
3193 * malloc/malloc.c (systrim): If extra is zero then return
3194 early.
3195
91b84fe5
SP
31962014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3197
3198 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3199
f940b965
RE
32002014-06-19 Richard Earnshaw <rearnsha@arm.com>
3201
3202 * sysdeps/aarch64/strchr.S: New file.
3203
4ba7a00f
JM
32042014-06-18 Joseph Myers <joseph@codesourcery.com>
3205
3206 [BZ #17022]
3207 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3208 from arguments -2 or below.
3209 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3210 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3211
b3a9f56b
AS
32122014-06-18 Andreas Schwab <schwab@suse.de>
3213
3214 [BZ #17062]
3215 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3216 of a bracket expr not to run off the end of the string.
3217 * posix/Makefile (tests): Add tst-fnmatch3.
3218 * posix/tst-fnmatch3.c: New file.
3219
85d89278
JM
32202014-06-18 Joseph Myers <joseph@codesourcery.com>
3221
3222 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3223 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3224 [$(cross-compiling) = no]: Likewise.
3225 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3226 [$(cross-compiling) = no]: Likewise.
3227
754c5a08
RS
32282014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3229
3230 [BZ #17031]
3231 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3232 double, adjusted for any remainder from the high double.
3233 * math/libm-test.inc (nearbyint): Add tests.
3234 (rint): Likewise.
3235
556f529d
AZ
32362014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237
3238 * nptl/sysdeps/powerpc/Makefile: Moved ...
3239 * sysdeps/powerpc/nptl/Makefile: ... here.
3240 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3241 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3242 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3243 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3244 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3245 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3246 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3247 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3248 * nptl/sysdeps/powerpc/tls.h: Moved ...
3249 * sysdeps/powerpc/nptl/tls.h: ... here.
3250
91c03c53
JM
32512014-06-16 Joseph Myers <joseph@codesourcery.com>
3252
3253 [BZ #16681]
3254 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3255 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3256 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3257 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3258 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3259 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3260 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3261 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3262 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3263
a76e63c5
AS
32642014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3265
3266 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3267
f2f6d82f
AS
32682014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3269
ea8a15f6
AS
3270 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3271 defined operator.
3272
f2f6d82f
AS
3273 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3274 $TIMEOUTFACTOR.
3275
a7291117
FW
32762014-06-16 Florian Weimer <fweimer@redhat.com>
3277
3278 [BZ #17058]
3279 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3280 non-executed part of the test.
3281
3d7c00e3
AS
32822014-06-16 Andreas Schwab <schwab@suse.de>
3283
3284 * string/bits/string2.h (strdup, strndup): Update feature guard.
3285
6957fb31
DM
32862014-06-14 David S. Miller <davem@davemloft.net>
3287
3288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3289
11b9e55b
AS
32902014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3291
1d2a0492
AS
3292 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3293 that was previously under [RESET_PID].
3294 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3295
11b9e55b
AS
3296 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3297 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3298 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3299 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3300 (__libc_vfork): New strong alias.
3301 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3302
0f6901d0
AK
33032014-06-14 Andi Kleen <ak@linux.intel.com>
3304
3305 * sysdeps/generic/elide.h: New file.
3306
38bbbb9f
SL
33072014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3308
3309 * Makefile (installed-headers): Adjust path of pthread.h header.
3310
45193bb8
RM
33112014-06-13 Roland McGrath <roland@hack.frob.com>
3312
9a25fd1e
RM
3313 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3314 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3316 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3317
4004f7e4
RM
3318 * nptl/sysdeps/s390/Makefile: Moved ...
3319 * sysdeps/s390/nptl/Makefile: ... here.
3320 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3321 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3322 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3323 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3324 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3325 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3326 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3327 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3328 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3329 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3330 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3331 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3332 * nptl/sysdeps/s390/tls.h: Moved ...
3333 * sysdeps/s390/nptl/tls.h: ... here.
3334
45193bb8
RM
3335 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3336 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3337
f6fdf533
DM
33382014-06-13 David S. Miller <davem@davemloft.net>
3339
3340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3347 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3348 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3349 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3350 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3351 Remove RESET_PID cpp guards.
3352 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3353 Remove RESET_PID cpp guards.
3354 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3355
f5d71e14
AS
33562014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3357
3358 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3359 __sp to uintptr_t.
3360
b7aa8caa
AK
33612014-06-13 Andi Kleen <ak@linux.intel.com>
3362
4b266200
AZ
3363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3367 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3369 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3371 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3373 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3374 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3377 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3378 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3379 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3380 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3381 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3382 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3383
3384 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3385 (pthread_rwlock_rdlock): Add elision.
3386 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3387 (pthread_rwlock_wrlock): Add elision.
3388 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3389 (pthread_rwlock_trywrlock): Add elision.
3390 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3391 (pthread_rwlock_tryrdlock): Add elision.
3392 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3393 (pthread_rwlock_tryrdlock): Add elision unlock.
3394 * nptl/sysdeps/pthread/pthread.h:
3395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3396 (PTHREAD_RWLOCK_INITIALIZER,
3397 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3398 Handle new elision field.
3399 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3400 * sysdeps/arm/nptl/bits/pthreadtypes.h
3401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3402 * sysdeps/sh/nptl/bits/pthreadtypes.h
3403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3404 * sysdeps/tile/nptl/bits/pthreadtypes.h
3405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3406 * sysdeps/a/nptl/bits/pthreadtypes.h
3407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3408 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3410 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3412 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3414 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3416 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3418 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3420 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3422 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3424 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3425 (elision_init): Set try_xbegin to zero when no RTM.
3426 * sysdeps/x86/nptl/bits/pthreadtypes.h
3427 (pthread_rwlock_t): Change __pad1 to __rwelision.
3428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3429
a832bdd3
AK
34302014-06-13 Andi Kleen <ak@linux.intel.com>
3431
3432 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3433 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3434 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3435 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3436
995a46bb
MI
34372014-06-13 Meador Inge <meadori@codesourcery.com>
3438
3439 [BZ #16996]
03ed7738 3440 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3441 that the cached result has been set before returning it.
3442
45262aee
RM
34432014-06-12 Roland McGrath <roland@hack.frob.com>
3444
febf6cc5
RM
3445 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3446 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3448 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3450 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3451
e2682246
RM
3452 * nptl/sysdeps/sparc/Makefile: Moved ...
3453 * sysdeps/sparc/nptl/Makefile: ... here.
3454 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3455 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3456 * nptl/sysdeps/sparc/tls.h: Moved ...
3457 * sysdeps/sparc/nptl/tls.h: ... here.
3458 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3459 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3460 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3461 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3462 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3463 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3464 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3465 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3466 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3467 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3468 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3469 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3470 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3471 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3472 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3473 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3474 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3476 Update #include.
3477 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3479 Update #include.
3480 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3482 Update #include.
3483 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3485 Update #include.
3486
b0725f43
RM
3487 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3488
b14368b8
RM
3489 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3490 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3491
c5620eb3
RM
3492 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3493 (struct list_links): Type removed.
3494 (struct thread_node, struct timer_node): Replace struct list_links
3495 with struct list_head.
3496 (list_unlink_ip): Likewise.
3497 * sysdeps/pthread/timer_routines.c
3498 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3499 (list_append, list_insbefore): Likewise.
3500 (list_init): Function removed.
3501 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3502 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3503 * sysdeps/pthread/Makefile: ... here, new file.
3504
3505 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3506 * sysdeps/nptl/Implies: ... here.
3507 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3508 * nptl/sysdeps/pthread/list.h: Moved ...
3509 * include/list.h: ... here.
3510 * nptl/sysdeps/pthread/createthread.c: Moved ...
3511 * nptl/createthread.c: ... here.
3512 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3513 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3514 * nptl/pt-longjmp.c: ... here.
3515 * nptl/sysdeps/pthread/Makefile: Moved ...
3516 * sysdeps/nptl/Makefile: ... here.
3517 * nptl/sysdeps/pthread/Subdirs: Moved ...
3518 * sysdeps/nptl/Subdirs: ... here.
3519 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3520 * sysdeps/nptl/aio_misc.h: ... here.
3521 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3522 * sysdeps/nptl/bits/libc-lock.h: ... here.
3523 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3524 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3525 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3526 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3527 * nptl/sysdeps/pthread/configure: Moved ...
3528 * sysdeps/nptl/configure: ... here.
3529 * nptl/sysdeps/pthread/configure.ac: Moved ...
3530 * sysdeps/nptl/configure.ac: ... here.
3531 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3532 * sysdeps/nptl/gai_misc.h: ... here.
3533 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3534 * sysdeps/nptl/librt-cancellation.c: ... here.
3535 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3536 * sysdeps/nptl/malloc-machine.h: ... here.
3537 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3538 * sysdeps/nptl/pthread-functions.h: ... here.
3539 * nptl/sysdeps/pthread/pthread.h: Moved ...
3540 * sysdeps/nptl/pthread.h: ... here.
3541 * nptl/sysdeps/pthread/setxid.h: Moved ...
3542 * sysdeps/nptl/setxid.h: ... here.
3543 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3544 * sysdeps/nptl/sigfillset.c: ... here.
3545 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3546 * sysdeps/nptl/tcb-offsets.h: ... here.
3547 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3548 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3549 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3550 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3551 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3552 * sysdeps/pthread/allocalim.h: ... here.
3553 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3554 * sysdeps/pthread/bits/sigthread.h: ... here.
3555 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3556 * sysdeps/pthread/flockfile.c: ... here.
3557 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3558 * sysdeps/pthread/ftrylockfile.c: ... here.
3559 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3560 * sysdeps/pthread/funlockfile.c: ... here.
3561 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3562 * sysdeps/pthread/posix-timer.h: ... here.
3563 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3564 * sysdeps/pthread/timer_create.c: ... here.
3565 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3566 * sysdeps/pthread/timer_delete.c: ... here.
3567 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3568 * sysdeps/pthread/timer_getoverr.c: ... here.
3569 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3570 * sysdeps/pthread/timer_gettime.c: ... here.
3571 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3572 * sysdeps/pthread/timer_routines.c: ... here.
3573 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3574 * sysdeps/pthread/timer_settime.c: ... here.
3575 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3576 * sysdeps/pthread/tst-timer.c: ... here.
3577 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3578 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3579
e876b090
RM
3580 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3581 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3582
f6b07b3d
RM
3583 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3584 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3585 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3586 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3587 Update #include target.
3588 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3589 * sysdeps/i386/i686/nptl/Makefile: ... here.
3590 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3591 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3592 Update #include target.
3593 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3594 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3595 * nptl/sysdeps/i386/Makefile: Moved ...
3596 * sysdeps/i386/nptl/Makefile: ... here.
3597 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3598 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3599 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3600 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3601 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3602 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3603 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3604 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3605 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3606 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3607 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3608 * nptl/sysdeps/i386/tls.h: Moved ...
3609 * sysdeps/i386/nptl/tls.h: ... here.
3610
45262aee
RM
3611 * sysdeps/sh/Makefile [$(subdir) = csu]
3612 (gen-as-const-headers): Add tcb-offsets.sym.
3613 * nptl/sysdeps/sh/Makefile: File removed.
3614 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3615 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3616 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3617 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3618 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3619 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3620 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3621 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3622 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3623 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3624 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3625 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3626 * nptl/sysdeps/sh/tls.h: Moved ...
3627 * sysdeps/sh/nptl/tls.h: ... here.
3628 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3629 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3630 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3631 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3632 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3633 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3635 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3637 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3639 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3641 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3643 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3645 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3647 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3649 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3651 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3653 Moved ...
3654 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3656 Moved ...
3657 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3659 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3663 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3665 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3666 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3667 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3669 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3671 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3673 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3675 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3676
35a5e3e3
SL
36772014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3678
3679 * posix/spawn_faction_addopen.c: Include string.h.
3680
14642b85
RM
36812014-06-11 Roland McGrath <roland@hack.frob.com>
3682
3683 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3684 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3685 * nptl/sysdeps/x86_64/Makefile: Moved ...
3686 * sysdeps/x86_64/nptl/Makefile: ... here.
3687 * nptl/sysdeps/x86_64/configure: Moved ...
3688 * sysdeps/x86_64/nptl/configure: ... here.
3689 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3690 * sysdeps/x86_64/nptl/configure.ac: ... here.
3691 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3692 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3693 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3694 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3695 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3696 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3697 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3698 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3699 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3700 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3701 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3702 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3703 * nptl/sysdeps/x86_64/tls.h: Moved ...
3704 * sysdeps/x86_64/nptl/tls.h: ... here.
3705 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3706 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3707 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3708 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3709
3710 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3711
31c44fea
AZ
37122014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713
3714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3715
e81a4f9a
JM
37162014-06-11 Joseph Myers <joseph@codesourcery.com>
3717
3718 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3719 type.
3720 [POSIX] (off_t): Likewise.
3721 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3722 [POSIX] (S_ISBLK): Require macro.
3723 [POSIX] (S_ISCHR): Likewise.
3724 [POSIX] (S_ISDIR): Likewise.
3725 [POSIX] (S_ISFIFO): Likewise.
3726 [POSIX] (S_ISREG): Likewise.
3727 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3728 optional-macro.
3729 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3730 type.
3731 [POSIX] (time_t): Likewise.
3732 [POSIX] (timer_t): Likewise.
3733
89e435f3
FW
37342014-06-11 Florian Weimer <fweimer@redhat.com>
3735
3736 [BZ #17048]
3737 * posix/spawn_int.h (struct __spawn_action): Make the path string
3738 non-const to support deallocation.
3739 * posix/spawn_faction_addopen.c
3740 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3741 * posix/spawn_faction_destroy.c
3742 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3743 path in all spawn_do_open actions.
3744 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3745 posix_spawn_file_actions_addopen.
3746
c3a2ebe1
CM
37472014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3748
3749 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3750 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3751 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3752 conditional code always true.
3753 (__libc_vfork): New alias.
3754
9503784a
RM
37552014-06-11 Roland McGrath <roland@hack.frob.com>
3756
c9cab3d2
RM
3757 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3758 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3759
d3996c79
RM
3760 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3761
ba5ec611
RM
3762 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3763 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3764
f12b4814
RM
3765 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3766 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3767
9503784a
RM
3768 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3769 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3770
e23d3d26
VR
37712014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3772
3773 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3774 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3775 multiarch strcmp for PPC64.
3776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3779 multiarch optimizations.
3780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3781 (__libc_ifunc_impl_list): Likewise.
3782
42b1161e
SP
37832014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3784
3785 * benchtests/scripts/validate_benchout.py: New script.
3786 * benchtests/Makefile (bench-func): Call it.
3787 * benchtests/scripts/benchout.schema.json: New file.
3788
2d0fc4dc
CM
37892014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3790
4a594c34
AZ
3791 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3792 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3793 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3794 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3795 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3796 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3797 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3798 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3799 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3800 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3801 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3802 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3803 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3804 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3805 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3806 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3808 Moved ...
4a594c34 3809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3810 ... here.
4a594c34 3811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3812 Moved ...
4a594c34
AZ
3813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3815 Moved ...
4a594c34 3816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3817 ... here.
4a594c34 3818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3819 Moved ...
4a594c34 3820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3821 ... here.
4a594c34 3822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3823 Moved ...
4a594c34
AZ
3824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3826 Moved ...
4a594c34 3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3828 ... here.
4a594c34 3829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3830 Moved ...
4a594c34 3831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3832 ... here.
4a594c34 3833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3834 Moved ...
4a594c34
AZ
3835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3837 Moved ...
4a594c34 3838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3839 ... here.
4a594c34 3840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3841 Moved ...
4a594c34 3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3843 ... here.
4a594c34 3844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3845 Moved ...
4a594c34 3846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3847 ... here.
4a594c34 3848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3849 Moved ...
4a594c34
AZ
3850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3852 Moved ...
4a594c34 3853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3854 ... here.
4a594c34 3855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3856 Moved ...
4a594c34 3857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3858 ... here.
4a594c34 3859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3860 Moved ...
4a594c34 3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3862 ... here.
4a594c34 3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3864 Moved ...
4a594c34
AZ
3865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3867 Moved ...
4a594c34 3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3869 ... here.
4a594c34 3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3871 Moved ...
4a594c34 3872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3873 ... here.
4a594c34 3874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3875 Moved ...
4a594c34
AZ
3876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3878 Moved ...
4a594c34 3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3880 ... here.
4a594c34 3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3882 Moved ...
4a594c34
AZ
3883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3885 Moved ...
4a594c34
AZ
3886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3888 Moved ...
4a594c34 3889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3890 ... here.
4a594c34 3891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3892 Moved ...
4a594c34 3893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3894 ... here.
4a594c34 3895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3896 Moved ...
4a594c34 3897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3898 ... here.
4a594c34 3899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3900 Moved ...
4a594c34
AZ
3901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3903 Moved ...
4a594c34 3904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3905 ... here.
4a594c34 3906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3907 Moved ...
4a594c34 3908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3909 ... here.
4a594c34
AZ
3910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3911 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3913 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3915 Moved ...
4a594c34 3916 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3917 ... here.
4a594c34
AZ
3918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3921 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3923 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3925 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3927 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3929 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3931 Moved ...
4a594c34
AZ
3932 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3934 Moved ...
4a594c34
AZ
3935 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3937 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3939 Moved ...
4a594c34
AZ
3940 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3944 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3945 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3946 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3947
0570cfed
W
39482014-06-10 Wilco <wdijkstr@arm.com>
3949
3950 * math/test-fenv-return.c: New file.
3951 * math/Makefile: Add new test test-fenv-return.
3952
f8ba1b56
JM
39532014-06-10 Joseph Myers <joseph@codesourcery.com>
3954
3955 [BZ #17042]
3956 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3957 when x - 1 is zero.
3958 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3959 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3960 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3961 0.0L for an argument of 1.0L.
3962 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3963 Likewise.
3964 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3965 value when x - 1 is zero.
3966 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3967 * sysdeps/i386/fpu/libm-test-ulps: Update.
3968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3969
2c3520d9
BO
39702014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3971
3972 [BZ #15119]
3973 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3974
acaa4d24
RM
39752014-06-09 Roland McGrath <roland@hack.frob.com>
3976
3977 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3978 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3979
962b744d
RM
39802014-06-09 Roland McGrath <roland@hack.frob.com>
3981
d752f0cc
RM
3982 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3983 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3984
34eda6d1
RM
3985 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3986 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3987
50f0a637
RM
3988 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3989 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3990
08f41f04
RM
3991 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3992 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3993
962b744d
RM
3994 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3995 if not already defined.
3996 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3997 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3998 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3999 (TLS_INIT_TP): Use it.
4000 (TLS_DEFINE_INIT_TP): New macro.
4001 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4002
09f19b05
JM
40032014-06-09 Joseph Myers <joseph@codesourcery.com>
4004
4005 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4006 constant.
4007 [POSIX] (IXANY): Likewise.
4008 [POSIX] (OLCUC): Likewise.
4009 [POSIX || POSIX2008] (CBAUD): Do not allow.
4010 [POSIX || POSIX2008] (DEFECHO): Likewise.
4011 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4012 [POSIX || POSIX2008] (ECHOKE): Likewise.
4013 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4014 [POSIX || POSIX2008] (EXTA): Likewise.
4015 [POSIX || POSIX2008] (EXTB): Likewise.
4016 [POSIX || POSIX2008] (FLUSHO): Likewise.
4017 [POSIX || POSIX2008] (LOBLK): Likewise.
4018 [POSIX || POSIX2008] (PENDIN): Likewise.
4019 [POSIX || POSIX2008] (SWTCH): Likewise.
4020 [POSIX || POSIX2008] (VDISCARD): Likewise.
4021 [POSIX || POSIX2008] (VDSUSP): Likewise.
4022 [POSIX || POSIX2008] (VLNEXT): Likewise.
4023 [POSIX || POSIX2008] (VREPRINT): Likewise.
4024 [POSIX || POSIX2008] (VSTATUS): Likewise.
4025 [POSIX || POSIX2008] (VWERASE): Likewise.
4026 (B*): Change to B[0123456789]*.
4027 * conform/data/time.h-data [POSIX || UNIX98]
4028 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4029 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4030 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4031 [POSIX] (tm_*): Do not allow.
4032
686554bf
JM
40332014-06-07 Joseph Myers <joseph@codesourcery.com>
4034
4035 * Makefile (install): Don't set LANGUAGE.
4036 * Makefile.in (install): Likewise.
4037 * assert/Makefile (test-assert-ENV): Remove variable.
4038 (test-assert-perr-ENV): Likewise.
4039 * elf/Makefile (neededtest4-ENV): Likewise.
4040 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4041 [$(cross-compiling) = no]: Don't set LANGUAGE.
4042 * io/ftwtest-sh (LANG): Remove variable.
4043 * libio/Makefile (tst-widetext-ENV): Likewise.
4044 * manual/install.texi (Running make install): Don't refer to
4045 environment settings for make install.
4046 * INSTALL: Regenerated.
4047 * nptl/tst-tls6.sh: Don't set LANG.
4048 * posix/globtest.sh (LANG): Remove variable.
4049 * string/Makefile (tester-ENV): Likewise.
4050 (inl-tester-ENV): Likewise.
4051 (noinl-tester-ENV): Likewise.
4052 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4053 [$(cross-compiling) = no]: Don't set LANGUAGE.
4054 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4055 without explicit environment settings.
4056
68e6b6b1
RM
40572014-06-06 Roland McGrath <roland@hack.frob.com>
4058
4059 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4060 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4061 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4062 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4063
4d3ae034
CM
40642014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4065
4066 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4067 other files in the crypt directory.
4068 * crypt/crypt.c: Remove duplicate includes.
4069 * crypt/crypt-entry.c: Likewise.
4070 * crypt/crypt_util.c: Likewise.
4071
8540f6d2
JM
40722014-06-06 Joseph Myers <joseph@codesourcery.com>
4073
4074 * Makeconfig (run-program-env): New variable.
4075 (run-program-prefix-before-env): Likewise.
4076 (run-program-prefix-after-env): Likewise.
4077 (run-program-prefix): Define in terms of new variables.
4078 (built-program-cmd-before-env): New variable.
4079 (built-program-cmd-after-env): Likewise.
4080 (built-program-cmd): Define in terms of new variables.
4081 (test-program-prefix-before-env): New variable.
4082 (test-program-prefix-after-env): Likewise.
4083 (test-program-prefix): Define in terms of new variables.
4084 (test-program-cmd-before-env): New variable.
4085 (test-program-cmd-after-env): Likewise.
4086 (test-program-cmd): Define in terms of new variables.
4087 * Rules (make-test-out): Use $(run-program-env).
4088 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4089 (help): Do not mention environment variables. Mention
4090 --timeoutfactor option.
4091 (timeoutfactor): New variable.
4092 (blacklist_exports): Remove function.
4093 (exports): Remove variable.
4094 (command): Do not include ${exports}.
4095 * manual/install.texi (Configuring and compiling): Do not mention
4096 test wrappers preserving environment variables. Mention that last
4097 assignment to a variable must take precedence.
4098 * INSTALL: Regenerated.
4099 * benchtests/Makefile (run-bench): Use $(run-program-env).
4100 * catgets/Makefile ($(objpfx)test1.cat): Use
4101 $(built-program-cmd-before-env), $(run-program-env) and
4102 $(built-program-cmd-after-env).
4103 ($(objpfx)test2.cat): Do not specify environment variables
4104 explicitly.
4105 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4106 $(run-program-env) and $(built-program-cmd-after-env).
4107 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4108 $(run-program-env) and $(test-program-cmd-after-env).
4109 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4110 explicitly.
4111 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4112 run_program_env and test_program_cmd_after_env arguments.
4113 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4114 * elf/tst-pathopt.sh: Use run_program_env argument.
4115 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4116 $(test-wrapper-env) and $(run-program-env).
4117 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4118 run_program_env arguments.
4119 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4120 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4121 $(test-program-prefix-before-env), $(run-program-env) and
4122 $(test-program-prefix-after-env).
4123 ($(objpfx)tst-gettext2.out): Likewise.
4124 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4125 run_program_env and test_program_prefix_after_env arguments.
4126 * intl/tst-gettext2.sh: Likewise.
4127 * intl/tst-gettext4.sh: Do not set environment variables
4128 explicitly.
4129 * intl/tst-gettext6.sh: Likewise.
4130 * intl/tst-translit.sh: Likewise.
4131 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4132 $(test-program-prefix-before-env), $(run-program-env) and
4133 $(test-program-prefix-after-env).
4134 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4135 run_program_env and test_program_prefix_after_env arguments.
4136 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4137 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4138 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4139 explicitly with each use of ${test_wrapper_env}.
4140 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4141 $(test-program-prefix-before-env), $(run-program-env) and
4142 $(test-program-prefix-after-env).
4143 * posix/tst-getconf.sh: Do not set environment variables
4144 explicitly.
4145 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4146 run_program_env and test_program_prefix_after_env arguments.
4147 * stdio-common/tst-printf.sh: Do not set environment variables
4148 explicitly.
4149 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4150 $(test-program-prefix-before-env), $(run-program-env) and
4151 $(test-program-prefix-after-env).
4152 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4153 run_program_env and test_program_prefix_after_env arguments.
4154 Split $test calls into $test_pre and $test.
4155 * timezone/Makefile (build-testdata): Use
4156 $(built-program-cmd-before-env), $(run-program-env) and
4157 $(built-program-cmd-after-env).
4158
ed36bfa1
AZ
41592014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4160
4161 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4162 strlen for non SHARED builds.
4163
fc75bf46
SP
41642014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4165
4166 * nptl/allocatestack.c (check_list): Inlined function...
4167 (__reclaim_stacks): ... here.
4168
d89b3d80
OB
41692014-06-05 Ondřej Bílka <neleai@seznam.cz>
4170
4171 [BZ #15698]
4172 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4173 memory overrun.
4174
2bf18041
JM
41752014-06-05 Joseph Myers <joseph@codesourcery.com>
4176
4177 * Rules (make-test-out): Include
4178 LOCPATH=$(common-objpfx)localedata in default environment.
4179 * debug/Makefile (tst-chk1-ENV): Remove variable.
4180 (tst-chk2-ENV): Likewise.
4181 (tst-chk3-ENV): Likewise.
4182 (tst-chk4-ENV): Likewise.
4183 (tst-chk5-ENV): Likewise.
4184 (tst-chk6-ENV): Likewise.
4185 (tst-lfschk1-ENV): Likewise.
4186 (tst-lfschk2-ENV): Likewise.
4187 (tst-lfschk3-ENV): Likewise.
4188 (tst-lfschk4-ENV): Likewise.
4189 (tst-lfschk5-ENV): Likewise.
4190 (tst-lfschk6-ENV): Likewise.
4191 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4192 (tst-iconv7-ENV): Likewise.
4193 * intl/Makefile (LOCPATH-ENV): Likewise.
4194 (tst-codeset-ENV): Likewise.
4195 (tst-gettext3-ENV): Likewise.
4196 (tst-gettext5-ENV): Likewise.
4197 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4198 (tst-fopenloc-ENV): Likewise.
4199 (tst-fgetws-ENV): Remove variable.
4200 (tst-ungetwc1-ENV): Likewise.
4201 (tst-ungetwc2-ENV): Likewise.
4202 (bug-ungetwc2-ENV): Likewise.
4203 (tst-swscanf-ENV): Likewise.
4204 (bug-ftell-ENV): Likewise.
4205 (tst-fgetwc-ENV): Likewise.
4206 (tst-fseek-ENV): Likewise.
4207 (tst-ftell-partial-wide-ENV): Likewise.
4208 (tst-ftell-active-handler-ENV): Likewise.
4209 (tst-ftell-append-ENV): Likewise.
4210 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4211 (tst-regexloc-ENV): Likewise.
4212 (bug-regex1-ENV): Likewise.
4213 (tst-regex-ENV): Likewise.
4214 (tst-regex2-ENV): Likewise.
4215 (bug-regex5-ENV): Likewise.
4216 (bug-regex6-ENV): Likewise.
4217 (bug-regex17-ENV): Likewise.
4218 (bug-regex18-ENV): Likewise.
4219 (bug-regex19-ENV): Likewise.
4220 (bug-regex20-ENV): Likewise.
4221 (bug-regex22-ENV): Likewise.
4222 (bug-regex23-ENV): Likewise.
4223 (bug-regex25-ENV): Likewise.
4224 (bug-regex26-ENV): Likewise.
4225 (bug-regex30-ENV): Likewise.
4226 (bug-regex32-ENV): Likewise.
4227 (bug-regex33-ENV): Likewise.
4228 (bug-regex34-ENV): Likewise.
4229 (bug-regex35-ENV): Likewise.
4230 (tst-rxspencer-ENV): Likewise.
4231 (tst-rxspencer-no-utf8-ENV): Likewise.
4232 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4233 (tst-sscanf-ENV): Likewise.
4234 (tst-swprintf-ENV): Likewise.
4235 (tst-swscanf-ENV): Likewise.
4236 (test-vfprintf-ENV): Likewise.
4237 (scanf13-ENV): Likewise.
4238 (bug14-ENV): Likewise.
4239 (tst-grouping-ENV): Likewise.
4240 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4241 (tst-strtod3-ENV): Likewise.
4242 (tst-strtod4-ENV): Likewise.
4243 (tst-strtod5-ENV): Likewise.
4244 (testmb2-ENV): Likewise./
4245 * string/Makefile (tst-strxfrm-ENV): Likewise.
4246 (tst-strxfrm2-ENV): Likewise.
4247 (bug-strcoll1-ENV): Likewise.
4248 (test-strcasecmp-ENV): Likewise.
4249 (test-strncasecmp-ENV): Likewise.
4250 * time/Makefile (tst-strptime-ENV): Likewise.
4251 (tst-ftime_l-ENV): Likewise.
4252 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4253 (tst-mbrtowc-ENV): Likewise.
4254 (tst-wcrtomb-ENV): Likewise.
4255 (tst-mbrtowc2-ENV): Likewise.
4256 (tst-c16c32-1-ENV): Likewise.
4257 (tst-mbsnrtowcs-ENV): Likewise.
4258
cd1fb604
OB
42592014-06-05 Ondřej Bílka <neleai@seznam.cz>
4260
4261 * manual/resource.texi (How to get information about the memory
4262 subsystem?): Fix typo.
4263 Reported by Peon de la Parra Ivan <peon@keba.com>
4264
b42eca7d
GY
42652014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4266
4267 [BZ #16882]
4268 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4269 (pthread_spin_lock): Branch out of spin loop to proper location.
4270 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4271 (pthread_spin_lock): Likewise.
4272
902b71f9
DM
4273 * nptl/tst-spin4.c: New test.
4274 * nptl/Makefile (tests): Add tst-spin4.
4275
f9d2d032
AS
42762014-06-03 Andreas Schwab <schwab@suse.de>
4277
4278 [BZ #15946]
4279 * resolv/res_send.c (send_dg): Reload file descriptor after
4280 calling reopen.
4281
cf7bfd28
SL
42822014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4283
4284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4285
111cc714
RH
42862014-06-03 Richard Henderson <rth@redhat.com>
4287
89b4bd6b
RH
4288 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4289 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4290 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4291 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4292 in the SAVE_PID block.
4293 (__libc_vfork): New alias.
71840409 4294 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4295
111cc714
RH
4296 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4297 child in registers, not on the stack. Remove RESET_PID conditionals.
4298 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4299
ccc39911
MS
43002014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4301
4302 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4303
693096cc
W
43042014-06-03 Wilco <wdijkstr@arm.com>
4305
4306 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4307 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4308 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4309 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4310 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4311 Likewise.
4312
0b4366bc
W
43132014-06-03 Wilco <wdijkstr@arm.com>
4314
4315 * sysdeps/aarch64/fpu/math_private.h
4316 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4317 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4318 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4319 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4320 Fix declarations.
4321
8747cd03
KS
43222014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4323
4324 * crypt/crypt-private.h: Include ufc-crypt.h.
4325 (__b64_from_24bit): Declare extern.
4326 * crypt/crypt_util.c(__b64_from_24bit): New function.
4327 (b64t): New static const variable.
4328 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4329 (b64t): Remove variable.
4330 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4331 * crypt/sha256-crypt.c: Include crypt-private.h.
4332 (b64t): Remove variable.
4333 (__sha256_crypt_r): Remove b64_from_24bit and replace
4334 with __b64_from_24bit.
4335 * crypt/sha512-crypt.c: Likewise.
4336
d936d379
RM
43372014-06-02 Roland McGrath <roland@hack.frob.com>
4338
4339 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4340 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4341 Label the code __libc_vfork rather than __vfork.
4342 [!NOT_IN_libc] (vfork): Define as weak alias.
4343 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4344 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4345 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4346
9fa76613
SP
43472014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4348
4349 * malloc/malloc.c (malloc_info): Fix format specifier for
4350 n_mmaps.
4351
a88dadbe
W
43522014-06-02 Wilco <wdijkstr@arm.com>
4353
4354 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4355 FPCR write.
4356
c95b3011
W
43572014-06-02 Wilco <wdijkstr@arm.com>
4358
4359 [BZ #17009]
4360 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4361 Rewrite to reduce FPCR/FPSR accesses.
4362
6b4d7a90
DM
43632014-06-01 David S. Miller <davem@davemloft.net>
4364
4365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4366
30f3d07c
DM
43672014-05-31 David S. Miller <davem@davemloft.net>
4368
4369 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4370 to occur in round to nearest mode when |x| >= 2.0
4371
74f31c18
RH
43722014-05-30 Richard Henderson <rth@twiddle.net>
4373
f0712b54
RH
4374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4375 (PSEUDO_RET_NOERRNO): Remove.
4376 (ret): Don't redefine.
4377 (ret_NOERRNO): Define in terms of ret.
4378 (ret_ERRVAL): Likewise.
4379
74f31c18
RH
4380 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4381 use of PSEUDO_RET; perform the error check directly.
4382
30477995
MM
43832014-05-30 Marko Myllynen <myllynen@redhat.com>
4384
4385 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4386 with __int128_t.
4387
62a58816
SP
43882014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4389
4390 * malloc/malloc (malloc_info): Fix formatting.
4391
4d653a59
SP
43922014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4393 Roland McGrath <roland@hack.frob.com>
4394
4395 * malloc/malloc (malloc_info): Also print mmapped statistics.
4396
5190c17f
RM
43972014-05-30 Roland McGrath <roland@hack.frob.com>
4398
4399 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4400 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4401
987c0269
OB
44022014-05-30 Ondřej Bílka <neleai@seznam.cz>
4403
4404 * malloc/malloc.c (malloc_info): Inline mi_arena.
4405
af4e8ef9
RH
44062014-05-29 Richard Henderson <rth@twiddle.net>
4407
1670e207
RH
4408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4409 Remove comma before expanding ASM_ARGS_##nr.
4410 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4411 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4412 of ASM_ARGS_##nr.
4413 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4414 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4415 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4416 (ASM_ARGS_1): Add leading comma.
4417
11a28aee
RH
4418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4419 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4420 to __errno_location.
4421 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4422 Remove the expected plt for __errno_location.
4423
a17e5ffb 4424 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4425 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4426 call to __read_tp.
4427
b5be4597
RH
4428 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4429 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4430 it and break it down.
4431 (DOCARGS_0, DOCARGS_1): Do nothing.
4432 (DOCARGS_2): Update to store into the new stack frame.
4433 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4434 (UNDOCARGS_1): Update to restore from the new stack frame.
4435 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4436 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4437
645d44ab
RH
4438 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4439 (SINGLE_THREAD_P): New parameter for result regno.
4440 (PSEUDO): Update to match; use cbz instead of beq.
4441
a8b4f04a
RH
4442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4443 Use ENTRY to define the _nocancel entry point. Share the syscall
4444 and syscall error check paths with the cancel path.
4445 (PSEUDO_END): New.
4446
af4e8ef9
RH
4447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4448 whitespace; tabs before and after asm mnemonics.
4449
26b0d2e1
EW
44502014-05-29 Eric Wong <normalperson@yhbt.net>
4451
4452 [BZ #15132]
4453 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4454 Call fstat64 or stat64 internally, depending on arguments passed.
4455 Replace stat buffer argument with file descriptor argument.
4456 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4457 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4458 Pass fd to __internal_statvfs instead of calling fstat64.
4459 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4460 Pass fd to __internal_statvfs64 instead of calling fstat64.
4461 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4462 Pass -1 to __internal_statvfs instead of calling stat64.
4463 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4464 Pass -1 to __internal_statvfs64 instead of calling stat64.
4465
1efe2bd9
RM
44662014-05-28 Roland McGrath <roland@hack.frob.com>
4467
0d3b7a19
RM
4468 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4469 that was previously under [RESET_PID].
4470 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4471
1efe2bd9
RM
4472 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4473 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4474
a6bea3ca
RM
44752014-05-27 Roland McGrath <roland@hack.frob.com>
4476
30b6629e
RM
4477 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4478
a6bea3ca
RM
4479 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4480 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4481
3dfb9a5c
OB
44822014-05-27 Ondřej Bílka <neleai@seznam.cz>
4483
4484 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4485
774f9285
AS
44862014-05-27 Andreas Schwab <schwab@suse.de>
4487
4488 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4489 TLS_INIT_TP macro.
4490 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4491 * elf/rtld.c (init_tls, dl_main): Likewise.
4492 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4493 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4494 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4495 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4496 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4497 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4498 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4499 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4500 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4501 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4502 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4503 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4504 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4505 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4506 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4507 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4508 * sysdeps/generic/tls.h: Update description.
4509
36ffe739
WN
45102014-05-27 Will Newton <will.newton@linaro.org>
4511
4512 [BZ #16990]
4513 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4514 and restore r2 rather than just restoring.
4515
2482ae43
SP
45162014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4517
4518 [BZ #16724]
4519 * libio/tst-ftell-append.c: New test case.
4520 * libio/Makefile (tests): Add test case.
4521 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4522 append mode.
4523 * libio/wfileops.c (do_ftell_wide): Likewise.
4524
3d1024e8
AZ
45252014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526
bab90016
AZ
4527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4528
c7a8d667
AZ
4529 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4530 ...
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4533 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4534 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4536 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4537 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4538 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4540 Moved ...
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4542 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4543 Moved ...
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4545 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4546 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4547 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4548 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4549 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4550 ...
4551 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4552 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4553 Moved ...
4554 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4555 here.
4556 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4557 ...
4558 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4559 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4560 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4561
daee7851
AZ
4562 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4563 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4565 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4566
50a40819
AZ
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4568 merge into ...
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4571 ...
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4574 ...
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4577 Moved ...
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4579 here.
4580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4581 Moved ...
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4584 Moved ...
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4586
8464c2a1
AZ
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4588 conditional [RESET_PID].
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4591 removed.
4592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4593 removed.
4594
3d1024e8
AZ
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4596 <tcb-offsets.h>.
4597 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4598 (__libc_vfork): New strong alias.
4599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4600 removed.
4601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4602 Removed.
4603
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4605 <tcb-offsets.h>.
4606 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4607 (__libc_vfork): New strong alias.
4608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4609 removed.
4610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4611 removed.
4612
fdfd175d
CD
46132014-05-26 Carlos O'Donell <carlos@redhat.com>
4614
4615 * malloc/malloc.c (mi_arena): New function.
4616 (malloc_info): Remove nested function mi_arena. Call non-nosted
4617 function mi_arena.
4618
d298c416
AZ
46192014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620
4621 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4622 by insrwi.
4623 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4624 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4625 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4626 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4627 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4628 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4629 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4630
b60ea6ff
AS
46312014-05-26 Andreas Schwab <schwab@suse.de>
4632
4633 [BZ #16984]
4634 * locale/programs/repertoire.c (repertoire_read): Add slash
4635 between I18NPATH element and file name.
4636 * locale/programs/locfile.c (locfile_read): Likewise.
4637
67365926
SL
46382014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4639
4640 * nptl/pthread_mutexattr_settype.c
4641 (__pthread_mutexattr_settype):
4642 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4643
f8bdf1f0
SL
46442014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4645
4646 * nptl/tst-mutex5 (do_test):
4647 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4648
15eaf6ff
SP
46492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 * benchtests/README: Document 'init' directive.
4652 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4653 BENCH_INIT.
4654 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4655 (parse_file): Recognize 'init' directive.
4656
75f11331
KM
46572014-05-26 Kyle McMartin <kyle@redhat.com>
4658
4659 [BZ #16796]
4660 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4661 alignment of struct pthread.
4662
c3ec475c
SP
46632014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4664
4665 [BZ #16878]
4666 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4667 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4668 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4669 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4670
82aab97c
RH
46712014-05-25 Richard Henderson <rth@twiddle.net>
4672
aa2f176d
RH
4673 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4674 (SINGLE_THREAD_P_PIC): Remove.
4675 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4676 (SINGLE_THREAD_P_PIC): Remove.
4677
ca3cfa40
RH
4678 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4679 branch to syscall error ...
4680 (PSEUDO): ... here.
4681 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4682 from __local_syscall_error to .Lsyscall_error.
4683 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4684 (SYSCALL_ERROR): Update label name.
4685
6e6c2d01
RH
4686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4687 Do not use DOARGS/UNDOARGS.
4688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4689 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4690 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4691 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4692 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4693
c69abcee
RH
4694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4695 block comment.
4696
82aab97c
RH
4697 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4698 define if !NOT_IN_libc.
4699 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4700 define with non-default symbol versions.
4701
8820e3ac
RH
47022014-05-23 Richard Henderson <rth@twiddle.net>
4703
900e445f
RH
4704 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4705 (vfork, __vfork): Define via compat_symbol.
4706
8820e3ac
RH
4707 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4708 [!HAVE_IFUNC] (vfork_compat): Remove.
4709 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4710
e59252a5
JM
47112014-05-23 Joseph Myers <joseph@codesourcery.com>
4712
4713 [BZ #16978]
4714 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4715 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4716 variable.
4717
132c7f5f
RH
47182014-05-23 Richard Henderson <rth@twiddle.net>
4719
bc89e962
RH
4720 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4721 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4722 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4723 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4724
4725 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4726 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4727 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4728 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4729 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4730 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4731 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4732 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4733 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4734 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4735 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4736 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4737 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4738 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4742 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4746 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4747 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4748 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4749 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4750 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4751 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4752 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4753 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4754 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4755 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4756 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4757 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4758 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4759 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4760 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4762 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4764 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4765 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4766 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4767 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4768 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4769 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4770 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4771 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4772 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4774 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4776 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4777 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4778 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4779 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4780 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4781
e2fa4bc2
RH
4782 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4783 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4784 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4785 before exiting on error.
4786 (__libc_vfork): New strong alias.
4787 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4788 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4789
279b24e2
RH
4790 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4791 that was previously under [RESET_PID].
4792 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4793
132c7f5f
RH
4794 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4795
b72592e7
JM
47962014-05-23 Joseph Myers <joseph@codesourcery.com>
4797
4798 [BZ #16977]
4799 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4800 value when x - 1 is zero.
4801 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4802 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4803 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4804 0.0L for an argument of 1.0L.
4805 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4806 Likewise.
4807 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4808 value when x - 1 is zero.
4809 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812
2302d679
RV
48132014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4814
4815 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4816 alphasort and versionsort.
4817
32999d63
AZ
48182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819
4820 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4821 macro.
4822 [copysignf]: Likewise.
4823
019324d0
SP
48242014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4825
4826 * crypt/md5-crypt.c: Fix formatting.
4827
34fff5c2
KS
48282014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4829
4830 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4831 (b64_from_24bit): New function.
4832
3d2badac
AZ
48332014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4834
4835 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4836 libc_hidden_builtin_def to ifunc.
4837 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4838 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4839
f7bb179f 48402014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4841
4842 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4843 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4844
4134b50d
JM
48452014-05-21 Joseph Myers <joseph@codesourcery.com>
4846
bb7d0337
JM
4847 * nscd/Depend (linuxthreads): Remove.
4848 (nptl): Add.
4849 * resolv/Depend (linuxthreads): Remove.
4850 * rt/Depend (linuxthreads): Remove.
4851
4134b50d
JM
4852 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4853 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4854 $(common-objpfx)elf/.
4855 (link-libc-before-gnulib): Likewise.
4856 (elfobjdir): Remove variable.
4857 * Makefile (install): Use $(elf-objpfx) instead of
4858 $(common-objpfx)elf/.
4859 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4860 $(elfobjdir)/.
4861 (link-libc-deps): Likewise.
4862 ($(common-objpfx)libc.so): Likewise.
4863 ($(common-objpfx)linkobj/libc.so): Likewise.
4864 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4865 instead of $(common-objpfx)elf/.
4866 (symbolic-link-list): Likewise.
4867 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4868 [$(cross-compiling) = no]: Likewise.
4869 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4870 $(elfobjdir)/.
4871 (static-gnulib-arch): Likewise.
4872 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4873 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4874 $(common-objpfx)elf/.
4875
3612eb8f
RH
48762014-05-21 Richard Henderson <rth@redhat.com>
4877
a6b3657b
RH
4878 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4879 (SINGLE_THREAD_P): Use the correct width load. Fold
4880 into the ldr offset.
4881
3612eb8f
RH
4882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4883 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4884
175cef41
JM
48852014-05-20 Joseph Myers <joseph@codesourcery.com>
4886
4887 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4888 (libgcc_s_resume): Use __attribute_used__.
4889 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4890 Likewise.
4891
e13bccd3
AZ
48922014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893
4894 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4895 optimization when used with float constants.
4896
7c112a38
AZ
4897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4898
ae75a883
AJ
48992014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4900
4901 [BZ #16915]
4902 * locale/nl_langinfo_l.c: Make direct reference to every
4903 _nl_current_CATEGORY symbol.
4904 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4905 (tests-static): Add tst-langinfo-static.
4906 (tests-special): Add tst-langinfo-static.out.
4907 ($(objpfx)tst-langinfo.out): Redirect output.
4908 ($(objpfx)tst-langinfo-static.out): New.
4909 * localedata/tst-langinfo.sh: Send output to stdout.
4910 * localedata/tst-langinfo-static.c: New file.
4911
4406c41c
AJ
4912 [BZ #16965]
4913 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4914 when the shift amount is modulo the limb size.
4915
4c0a1e63
RH
49162014-05-20 Richard Henderson <rth@redhat.com>
4917
de9d8f20
RH
4918 [BZ #16967]
4919 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4920 Change type of sa_flags from unsigned int to int.
4921
4c0a1e63
RH
4922 [BZ #16966]
4923 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4924
4925 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4926
a60339aa
WN
49272014-05-20 Will Newton <will.newton@linaro.org>
4928
4929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4930 Test the return value of the system call in the nocancel case.
4931
7d05a816
YR
49322014-05-20 Will Newton <will.newton@linaro.org>
4933 Yvan Roux <yvan.roux@linaro.org>
4934
4935 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4936 #include of asm/ptrace.h.
4937 (PTRACE_GET_THREAD_AREA): Remove #undef.
4938 (PTRACE_GETHBPREGS): Likewise.
4939 (PTRACE_SETHBPREGS): Likewise.
4940 (struct user_regs_struct): New structure.
4941 (struct user_fpsimd_struct): New structure.
4942 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4943 #include of asm/ptrace.h and second #include of sys/user.h.
4944 (PTRACE_GET_THREAD_AREA): Remove #undef.
4945 (PTRACE_GETHBPREGS): Likewise.
4946 (PTRACE_SETHBPREGS): Likewise.
4947 (ELF_NGREG): Use new struct user_regs_struct.
4948 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4949
af121e37
AZ
49502014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4951
4952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4954
834caf06
JM
49552014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4956
4957 [BZ #16958]
4958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4959 membar to avoid block loads/stores to overlap previous stores.
4960
e184a918
RH
49612014-05-17 Richard Henderson <rth@redhat.com>
4962
4963 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4964 Create the __##syscall_name##_nocancel entry point.
4965 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4966 Remove; let the sysdep-cancel.h code create it.
4967
f56c7a6a
DM
49682014-05-17 David S. Miller <davem@davemloft.net>
4969
4970 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4971 Protect with __USE_GNU.
4972 (TIOCSET_TEMPT): Likewise.
4973 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4974 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4975 these are already provided in bits/ioctl-types.h
4976
f75616b2
RM
49772014-05-16 Roland McGrath <roland@hack.frob.com>
4978
3edeca86
RM
4979 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4980 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4981
f75616b2
RM
4982 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4983 Use wait4 regardless of [__NR_waitpid].
4984
deb0f7f6
MR
49852014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4986
4987 PR libgcc/60166
4988 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4989 (_FP_NANSIGN_Q): Set the quiet bit.
4990
79520f4b
JM
49912014-05-16 Joseph Myers <joseph@codesourcery.com>
4992
4993 * benchtests/Makefile
4994 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4995 not $(common-objpfx)math/libm.so.
4996 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4997 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4998 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4999 $(common-objpfx)dlfcn/libdl.so.
5000 ($(objpfx)tst-audit8): Depend on $(libm), not
5001 $(common-objpfx)math/libm.so.
5002 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5003 not $(common-objpfx)dlfcn/libdl.so.
5004 * math/Makefile
5005 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5006 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5007 [$(build-shared) = yes].
5008 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5009 $(common-objpfx)nptl/libpthread.so.
5010 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5011 $(common-objpfx)math/libm.so$(libm.so-version) or
5012 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5013 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5014 $(common-objpfx)dlfcn/libdl.so.
5015 * setjmp/Makefile (link-libm): Remove variable.
5016 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5017 * stdio-common/Makefile (link-libm): Remove variable.
5018 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5019 * stdlib/Makefile (link-libm): Remove variable.
5020 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5021 ($(objpfx)tst-strtod-round): Likewise.
5022 ($(objpfx)tst-tininess): Likewise.
5023 ($(objpfx)tst-strtod-underflow): Likewise.
5024 ($(objpfx)tst-strtod6): Likewise.
5025 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5026 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5027 $(common-objpfx)dlfcn/libdl.so.
5028
026b0fe4
AZ
50292014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030
5031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5032 BSD terminal modes definitions.
5033
def4bcb2
RM
50342014-05-16 Roland McGrath <roland@hack.frob.com>
5035
fe39b021
RM
5036 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5037 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5038
1d1fc46e 5039 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5040 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5041 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5042 Don't do #include_next.
5043 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5044 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5045 Don't do #include_next.
5046 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5047 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5048 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5049 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5050
c72399fb
AM
50512014-05-16 Allan McRae <allan@archlinux.org>
5052
d51d659d
AM
5053 * po/sv.po: Update Swedish translation from translation project.
5054
c72399fb
AM
5055 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5056 in sed expression.
5057
d0583c40
AJ
50582014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5059
5060 [BZ #16917]
5061 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5062 errno if the TIOCGPTN ioctl fails with an error different than
5063 EINVAL.
5064 * login/tst-ptsname.c: New file.
5065 * login/Makefile (tests): Add tst-ptsname.
5066
d16e6ec7
AJ
5067 [BZ #16943]
5068 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5069 and prlimit64.
5070
cf26a0cb
SP
50712014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 [BZ #16849]
5074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5075 herrno to return EAI_AGAIN.
5076
5675da1e
RM
50772014-05-14 Roland McGrath <roland@hack.frob.com>
5078
a5d87b3d
RM
5079 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5080 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5081 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5082 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5083 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5084 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5094 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5095 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5108 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5110 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5114 Moved ...
5115 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5121 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5125 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5127 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5129 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5139 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5141 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5143 Moved ...
5144 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5150 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5152 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5156 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5158 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5160 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5164 Moved ...
5165 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5168
039890a6
RM
5169 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5170 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5171 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5172 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5173 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5174 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5175 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5176 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5177 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5178 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5179 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5181 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5182 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5183 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5185 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5187 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5188 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5189 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5190 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5191 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5192 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5193 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5194 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5195 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5197 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5199 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5200
65c89320
RM
5201 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5202 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5203
348f8e8c
RM
5204 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5205 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5210 Moved ...
5211 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5213 Moved ...
5214 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5216 Moved ...
5217 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5219 Moved ...
5220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5222 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5224 Moved ...
5225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5227 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5229 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5230 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5231 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5233 Moved ...
5234 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5236 Moved ...
5237 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5238 ... here.
5239 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5240 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5242 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5244 Moved ...
5245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5246 ... here.
5247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5248 Moved ...
5249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5251 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5253 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5255 Moved ...
5256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5258 Moved ...
5259 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5260 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5264 Moved ...
5265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5266 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5267 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5269 Moved ...
5270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5272 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5274 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5275 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5276 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5278 Moved ...
5279 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5281 Moved ...
5282 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5283 ... here.
5284 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5285 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5287 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5289 Moved ...
5290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5291 ... here.
5292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5293 Moved ...
5294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5295 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5296 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5298 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5300 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5302 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5304 Moved ...
5305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5307 Moved ...
5308 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5309 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5310 Moved ...
5311 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5313 Moved ...
5314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5316 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5318 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5320 Moved ...
5321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5322 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5323 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5325 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5326 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5327 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5329 Moved ...
5330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5332 Moved ...
5333 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5334 ... here.
5335 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5336 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5338 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5340 Moved ...
5341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5342 ... here.
5343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5344 Moved ...
5345 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5347 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5353 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5355 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5356
5085af05
RM
5357 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5358 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5359
708f0813
RM
5360 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5361 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5362
c96067bc
RM
5363 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5364 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5365 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5366 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5367 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5369 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5371 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5375 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5377 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5379 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5381 Moved ...
5382 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5386 Moved ...
5387 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5389 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5391 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5395 Moved ...
5396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5398 Moved ...
5399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5405 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5407 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5409 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5411 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5412 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5413 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5415 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5416
ec136444
RM
5417 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5418 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5419 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5420 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5421 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5422
2fbdf533
RM
5423 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5424 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5426 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5427 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5428 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5429 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5430 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5431 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5432 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5433
4c68138b
RM
5434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5436
4eaae765
RM
5437 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5438 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5439 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5440 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5442 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5443 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5444 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5445 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5446 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5447 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5448 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5449 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5450 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5452 Update #include.
5453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5454 Likewise.
5455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5456 Likewise.
5457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5458 Likewise.
5459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5460 Likewise.
5461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5462 Likewise.
5463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5464 Likewise.
5465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5466 Likewise.
5467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5468 Likewise.
5469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5470 Likewise.
4ef6befa
RM
5471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5472 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5477 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5478 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5479 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5481 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5482 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5483 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5484 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5486
941d7dfd
RM
5487 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5488 that was previously under [RESET_PID].
5489 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5490 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5491 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5492
1b731c35
RM
5493 * sysdeps/i386/nptl/Implies: New file.
5494 * sysdeps/x86_64/nptl/Implies: New file.
5495 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5496 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5497 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5498 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5499
e2787137
RM
5500 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5501 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5502 (__libc_vfork): New strong alias.
5503 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5504 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5505
5506 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5507 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5508 (__libc_vfork): New strong alias.
5509 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5510 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5511
5675da1e
RM
5512 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5513 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5514 (__libc_vfork): New strong alias.
5515 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5516 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5517 * nptl/pt-vfork.c: New file.
5518 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5519 (libpthread: GLIBC_2.20): New version set (empty).
5520
4f02e2b8
WN
55212014-05-14 Will Newton <will.newton@linaro.org>
5522
5523 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5524 rather than #if.
5525
0bf061d3
JM
55262014-05-14 Joseph Myers <joseph@codesourcery.com>
5527
1a84c3d6
JM
5528 [BZ #16564]
5529 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5530 arguments with exponent 65 or above.
5531 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5532 arguments 0x1p113L or above.
5533 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5534 to arguments 0x1p107L or above.
5535 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5536 positive arguments with exponent 65 or above.
5537 * math/auto-libm-test-in: Add more tests of log1p.
5538 * math/auto-libm-test-out: Regenerated.
5539
01dbacd2
JM
5540 [BZ #16928]
5541 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5542 non-finite arguments is +0.
5543 * math/s_cacosf.c (__cacosf): Likewise.
5544 * math/s_cacosl.c (__cacosl): Likewise.
5545 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5548
913d03c8
JM
5549 [BZ #16927]
5550 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5551 value.
5552 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5553 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5554 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5555 for explicit high bit of mantissa when testing for argument equal
5556 to 1.
5557 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5560
0bf061d3
JM
5561 [BZ #16516]
5562 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5563 (__erf): Scale by 16 instead of 8 in potentially underflowing
5564 case. Ensure exception if result actually underflows.
5565 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5566 (__erff): Scale by 16 instead of 8 in potentially underflowing
5567 case. Ensure exception if result actually underflows.
5568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5569 (efx8): Remove variable.
5570 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5571 case. Ensure exception if result actually underflows.
5572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5573 (efx8): Remove variable.
5574 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5575 case. Ensure exception if result actually underflows.
5576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5577 (efx8): Remove variable.
5578 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5579 case. Ensure exception if result actually underflows.
5580 * math/auto-libm-test-in: Add more tests of erf.
5581 * math/auto-libm-test-out: Regenerated.
5582
73ba67cb
AS
55832014-05-14 Andreas Schwab <schwab@suse.de>
5584
3d8c8bff
AS
5585 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5586 Remove code conditionalized on USE___THREAD.
5587
73ba67cb
AS
5588 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5589 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5590 not definedness.
5591
5c521ecd
JM
55922014-05-14 Joseph Myers <joseph@codesourcery.com>
5593
5e7698c6
JM
5594 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5595 Define unconditionally.
5596 (__ASSUME_O_CLOEXEC): Likewise.
5597 (__ASSUME_SOCK_CLOEXEC): Likewise.
5598 (__ASSUME_IN_NONBLOCK): Likewise.
5599 (__ASSUME_PIPE2): Likewise.
5600 (__ASSUME_EVENTFD2): Likewise.
5601 (__ASSUME_SIGNALFD4): Likewise.
5602 (__ASSUME_DUP3): Likewise.
5603 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5604 (__ASSUME_DUP3): Do not define.
5605 (__ASSUME_EVENTFD2): Likewise.
5606 (__ASSUME_IN_NONBLOCK): Likewise.
5607 (__ASSUME_O_CLOEXEC): Likewise.
5608 (__ASSUME_PIPE2): Likewise.
5609 (__ASSUME_SIGNALFD4): Likewise.
5610 (__ASSUME_SOCK_CLOEXEC): Likewise.
5611 (__ASSUME_UTIMES): Undefine.
5612 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5613 (__ASSUME_UTIMES): Do not define.
5614 (__ASSUME_O_CLOEXEC): Likewise.
5615 (__ASSUME_SOCK_CLOEXEC): Likewise.
5616 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5617 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5618 0x020621].
5619 (__ASSUME_PIPE2): Likewise.
5620 (__ASSUME_EVENTFD2): Likewise.
5621 (__ASSUME_SIGNALFD4): Likewise.
5622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5623 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5624 Do not define.
5625 (__ASSUME_EVENTFD2): Likewise.
5626 (__ASSUME_SIGNALFD4): Likewise.
5627 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5628 (__ASSUME_32BITUIDS): Likewise.
5629 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5630 (__ASSUME_IPC64): Likewise.
5631 (__ASSUME_ST_INO_64_BIT): Likewise.
5632 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5633 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5635 (__ASSUME_UTIMES): Do not define.
5636 (__ASSUME_PSELECT): Likewise.
5637 (__ASSUME_PPOLL): Likewise.
5638 (__ASSUME_O_CLOEXEC): Likewise.
5639 (__ASSUME_SOCK_CLOEXEC): Likewise.
5640 (__ASSUME_IN_NONBLOCK): Likewise.
5641 (__ASSUME_PIPE2): Likewise.
5642 (__ASSUME_EVENTFD2): Likewise.
5643 (__ASSUME_SIGNALFD4): Likewise.
5644 (__ASSUME_DUP3): Likewise.
5645 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5646 (__ASSUME_UTIMES): Likewise.
5647 (__ASSUME_O_CLOEXEC): Likewise.
5648 (__ASSUME_SOCK_CLOEXEC): Likewise.
5649 (__ASSUME_IN_NONBLOCK): Likewise.
5650 (__ASSUME_PIPE2): Likewise.
5651 (__ASSUME_EVENTFD2): Likewise.
5652 (__ASSUME_SIGNALFD4): Likewise.
5653 (__ASSUME_DUP3): Likewise.
5654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5655 (__ASSUME_UTIMES): Likewise.
5656 (__ASSUME_O_CLOEXEC): Likewise.
5657 (__ASSUME_SOCK_CLOEXEC): Likewise.
5658 (__ASSUME_IN_NONBLOCK): Likewise.
5659 (__ASSUME_PIPE2): Likewise.
5660 (__ASSUME_EVENTFD2): Likewise.
5661 (__ASSUME_SIGNALFD4): Likewise.
5662 (__ASSUME_DUP3): Likewise.
5663 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5664 Likewise.
5665 (__ASSUME_UTIMES): Likewise.
5666 (__ASSUME_EVENTFD2): Likewise.
5667 (__ASSUME_SIGNALFD4): Likewise.
5668 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
5677
5c521ecd
JM
5678 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5679 feclearexcept. Remove symbol versioning code.
5680 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5681 symbol versioning code.
5682 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5683 symbol versioning code.
5684 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5685 feupdateenv. Remove symbol versioning code.
5686 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5687 fegetexceptflag. Remove symbol versioning code.
5688 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5689 fesetexceptflag. Remove symbol versioning code.
5690 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5691 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5692 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5693 (__posix_fadvise64_l32): Remove prototype.
5694 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5695 code.
5696
5da9dfad
RM
56972014-05-13 Roland McGrath <roland@hack.frob.com>
5698
5699 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5700 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5701 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5702 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5703
893b4f37
SK
57042014-05-13 Sami Kerola <kerolasa@iki.fi>
5705
5706 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5707 current working directory
5708
e0db6517
RM
57092014-05-13 Roland McGrath <roland@hack.frob.com>
5710
58aa195d
RM
5711 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5712 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5713 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5714 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5715 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5716 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5717 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5736 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5737 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5742 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5743 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5744 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5745 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5746 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5747 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5748 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5749 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5750 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5751 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5752 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5753
8c6d01f0
RM
5754 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5755 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5756
5757 * sysdeps/unix/sysv/linux/arm/Makefile
5758 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5759 Add rt-aeabi_unwind_cpp_pr1.
5760 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5761 Add nptl-aeabi_unwind_cpp_pr1.
5762 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5763 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5764 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5765 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5766 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5767 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5768
5769 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5770 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5771 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5772 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5773
bba6da4e
RM
5774 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5775 Deconditionalize the code that was previously under [RESET_PID].
5776 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5777
e0db6517
RM
5778 * sysdeps/generic/exit-thread.h: New file.
5779 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5780 * include/unistd.h (__exit_thread): Remove declaration.
5781 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5782 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5783 * csu/libc-start.c: Include <exit-thread.h>.
5784 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5785 * nptl/pthread_create.c: Include <exit-thread.h>.
5786 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5787 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5788 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5789 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5790 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5791 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5792 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5793 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5794 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5795 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5796 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5797 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5798 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5799 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5800 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5801 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5802 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5803
01eb16fd
AS
58042014-05-13 Andreas Schwab <schwab@suse.de>
5805
5806 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5807
637461d9
JM
58082014-05-12 Joseph Myers <joseph@codesourcery.com>
5809
5810 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5811 (__ASSUME_UTIMES): Do not condition on kernel version.
5812 (__ASSUME_PSELECT): Define unconditionally.
5813 (__ASSUME_PPOLL): Likewise.
5814 (__ASSUME_ATFCTS): Likewise.
5815 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5816 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5817 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5818 (__ASSUME_UTIMENSAT): Define unconditionally.
5819 (__ASSUME_PRIVATE_FUTEX): Likewise.
5820 (__ASSUME_FALLOCATE): Likewise.
5821 (__ASSUME_O_CLOEXEC): Likewise.
5822 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5823 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5824 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5825 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5826 (__ASSUME_IN_NONBLOCK): Likewise.
5827 (__ASSUME_PIPE2): Likewise.
5828 (__ASSUME_EVENTFD2): Likewise.
5829 (__ASSUME_SIGNALFD4): Likewise.
5830 (__ASSUME_DUP3): Likewise.
5831 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5832 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5833 (__ASSUME_AT_RANDOM): Likewise.
5834 (__ASSUME_PREADV): Likewise.
5835 (__ASSUME_PWRITEV): Likewise.
5836 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5837 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5838 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5839 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5840 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5841 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5842 (__ASSUME_O_CLOEXEC): Define unconditionally.
5843 (__ASSUME_PSELECT): Do not undefine conditionally.
5844 (__ASSUME_PPOLL): Likewise.
5845 (__ASSUME_ATFCTS): Likewise.
5846 (__ASSUME_SET_ROBUST_LIST): Likewise.
5847 (__ASSUME_UTIMENSAT): Likewise.
5848 (__ASSUME_FDATASYNC): Define unconditionally.
5849 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5850 (__ASSUME_SIGFRAME_V2): Likewise.
5851 )__ASSUME_EVENTFD2): Likewise.
5852 (__ASSUME_SIGNALFD4): Likewise.
5853 (__ASSUME_PSELECT): Do not undefine conditionally.
5854 (__ASSUME_PPOLL): Likewise.
5855 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5856 (__ASSUME_PSELECT): Define unconditionally.
5857 (__ASSUME_PPOLL): Likewise.
5858 (__ASSUME_O_CLOEXEC): Likewise.
5859 (__ASSUME_SOCK_CLOEXEC): Likewise.
5860 (__ASSUME_IN_NONBLOCK): Likewise.
5861 (__ASSUME_PIPE2): Likewise.
5862 (__ASSUME_EVENTFD2): Likewise.
5863 (__ASSUME_SIGNALFD4): Likewise.
5864 (__ASSUME_DUP3): Likewise.
5865 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5866 (__ASSUME_O_CLOEXEC): Likewise.
5867 (__ASSUME_SOCK_CLOEXEC): Likewise.
5868 (__ASSUME_IN_NONBLOCK): Likewise.
5869 (__ASSUME_PIPE2): Likewise.
5870 (__ASSUME_EVENTFD2): Likewise.
5871 (__ASSUME_SIGNALFD4): Likewise.
5872 (__ASSUME_DUP3): Likewise.
5873 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5874 (__ASSUME_EVENTFD2): Likewise.
5875 (__ASSUME_SIGNALFD4): Likewise.
5876 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5877
315eb1d8
AS
58782014-05-12 Andreas Schwab <schwab@suse.de>
5879
5880 [BZ #16932]
5881 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5882 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5883 than maximum RPC packet size.
5884 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5885 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5886 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5887 (_nss_nis_getservbyport_r): Likewise.
5888
91df99f7
WN
58892014-05-12 Will Newton <will.newton@linaro.org>
5890
5891 * malloc/Makefile (tests): Add tst-mallopt.
5892 * malloc/tst-mallopt.c: New file.
5893
0a982a29
RM
58942014-05-09 Roland McGrath <roland@hack.frob.com>
5895
5896 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5897 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5898
0ded08a5
AZ
58992014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900
5901 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5902 (tst-tlsmod6.so): Likewise.
5903
55d4d550
RM
59042014-05-09 Roland McGrath <roland@hack.frob.com>
5905
5906 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5907
77d08aca
JM
59082014-05-09 Joseph Myers <joseph@codesourcery.com>
5909
5910 [BZ #16064]
5911 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5912 and <dl-procinfo.h>.
5913 (__fegetenv): Save SSE state in envp->__eip if supported.
5914 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5915 envp->__eip if supported.
5916 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5917 and <dl-procinfo.h>.
5918 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5919 __data_offset and __data_selector in environment to 0. Set SSE
5920 state if supported.
5921 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5922 test-fenv-sse.
5923 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5924 -mfpmath=sse.
5925 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5926
28162f4d
WN
59272014-05-09 Will Newton <will.newton@linaro.org>
5928
5929 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5930 and libc_relro_required for ARM.
5931 * sysdeps/arm/preconfigure: Regenerate.
5932
5a414ff7
DV
59332014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5934 Stefan Liebler <stli@linux.vnet.ibm.com>
5935
5936 * config.make.in (enable-lock-elision): New Makefile variable.
5937 * configure.ac: Likewise.
5938 * configure: Regenerate.
5939 * sysdeps/s390/configure.ac:
5940 Add check for gcc transactions support.
5941 * sysdeps/s390/configure: Regenerate.
5942 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5943 Build elision files if enabled.
5944 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5945 Add lock elision support for s390.
5946 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5947 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5948 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5949 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5950 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5951 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5952 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5953 Likewise.
5954 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5955 Likewise.
5956 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5957 Likewise.
5958 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5959 Likewise.
5960 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5961 (__lll_timedlock_elision, __lll_lock_elision)
5962 (__lll_unlock_elision, __lll_trylock_elision)
5963 (lll_timedlock_elision, lll_lock_elision)
5964 (lll_unlock_elision, lll_trylock_elision): Add.
5965 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5966 (pthread_mutex_t): Add lock elision support for s390.
5967
1a2f40e5
W
59682014-05-14 Wilco <wdijkstr@arm.com>
5969
5970 * sysdeps/arm/fclrexcpt.c: Cleanup.
5971 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5972 * sysdeps/arm/feenablxcpt.c: Cleanup.
5973 * sysdeps/arm/fegetenv.c: Cleanup.
5974 * sysdeps/arm/fegetexcept.c: Cleanup.
5975 * sysdeps/arm/fegetround.c: Cleanup.
5976 * sysdeps/arm/feholdexcpt.c: Cleanup.
5977 * sysdeps/arm/fesetenv.c: Cleanup.
5978 * sysdeps/arm/fesetround.c: Cleanup.
5979 * sysdeps/arm/feupdateenv.c: Cleanup.
5980 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5981 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5982 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5983 * sysdeps/arm/ftestexcept.c: Cleanup.
5984 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5985 * sysdeps/arm/setfpucw.c: Cleanup.
5986
f63c86fe
WN
59872014-05-09 Will Newton <will.newton@linaro.org>
5988
5989 * sysdeps/arm/armv7/strcmp.S: New file.
5990 * NEWS: Mention addition of ARMv7 optimized strcmp.
5991
7a1a51b5
RM
59922014-05-08 Roland McGrath <roland@hack.frob.com>
5993
95afbbe5
RM
5994 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5995 look for %.ac rather than %.in.
5996
5997 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5998 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5999 * sysdeps/mach/hurd/configure: Regenerated.
6000 * sysdeps/unix/sysv/linux/configure: Regenerated.
6001
7a1a51b5
RM
6002 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6003
5057ad3b
SE
60042014-05-07 Steve Ellcey <sellcey@mips.com>
6005
6006 [BZ# 16922]
6007 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6008 (LONG_SUB): Ditto.
6009 (PTR_SUB): Ditto.
6010
8dc97517
AS
60112014-05-07 Andreas Schwab <schwab@suse.de>
6012
6013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6014 when skipping over non-matching result from nscd.
6015
ce0c5b8f
OB
60162014-05-07 Ondřej Bílka <neleai@seznam.cz>
6017
6018 [BZ #16876]
6019 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6020
a1189263
OB
6021 [BZ #16877]
6022 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6023 nscd security class.
ce0c5b8f 6024
0f58d252
RM
60252014-05-06 Roland McGrath <roland@hack.frob.com>
6026
6027 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6028 * sysdeps/arm/unwind.h: ... here.
6029
83df9ad0
AJ
60302014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6031
ce0c5b8f
OB
6032 [BZ# 16916]
6033 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6034 Define.
83df9ad0 6035
f360f94a
VR
60362014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6037
6038 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6039 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6040 multiarch strncpy for PPC64.
6041 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6042 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6044 multiarch optimizations.
6045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6046 (__libc_ifunc_impl_list): Likewise.
6047 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6048 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6049 multiarch stpncpy for PPC64.
6050 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6051 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6052
978a41c3
AS
60532014-05-06 Andreas Schwab <schwab@suse.de>
6054
6055 [BZ #16912]
6056 * gmon/mcount.c (_MCOUNT_DECL): Use
6057 atomic_compare_and_exchange_bool_acq instead of
6058 catomic_compare_and_exchange_bool_acq.
6059
eb1ed03d
RM
60602014-05-05 Roland McGrath <roland@hack.frob.com>
6061
fe658845
RM
6062 * elf/Makefile (others, install-bin): Remove pldd.
6063 (pldd-modules): Variable removed.
6064 ($(objpfx)pldd): Target removed.
6065 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6066 (others, install-bin): Append pldd here.
6067 ($(objpfx)pldd): New target.
6068
eb1ed03d
RM
6069 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6070 to 0, so the first #if test emitted later doesn't see it undefined.
6071 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6072 * sysdeps/gnu/errlist.c: Regenerated.
6073
19c4bec0
AZ
60742014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6077 [libc_hidden_builtin_def]: Define to empty value.
6078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6079 [libc_hidden_builtin_def]: Likewise.
6080 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6081 [libc_hidden_builtin_def]: Likewise.
6082 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6083 [libc_hidden_builtin_def]: Likewise.
6084 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6085 __redirect_memcpy and define ifunc as default hidden symbol.
6086 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6088
7776e669
AC
60892014-05-04 Adam Conrad <adconrad@0c3.net>
6090
6091 * locale/iso-4217.def: Reintroduce XDR currency.
6092
d69aeb12
AM
60932014-05-04 Allan McRae <allan@archlinux.org>
6094
6095 * po/eo.po: Update Esperanto translation from translation project.
6096
8f1df5cf
CD
60972014-05-02 Carlos O'Donell <carlos@redhat.com>
6098
6099 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6100 and FEATURE_INDEX_MAX to 1.
6101 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6102
13e402e7
SE
61032014-05-01 Steve Ellcey <sellcey@mips.com>
6104
6105 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6106 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6107 * iconvdata/big5.c (ONE_DIRECTION): Define.
6108 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6109 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6110 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6111 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6112 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6113 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6114 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6115 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6116 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6117 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6118 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6119 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6120 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6121 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6122 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6123 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6124 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6125 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6126 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6127 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6128 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6129 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6130 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6131 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6132 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6133 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6134 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6135 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6136 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6137 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6138 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6139 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6140 * iconvdata/johab.c (ONE_DIRECTION): Define.
6141 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6142 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6143 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6144 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6145 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6146 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6147 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6148 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6149 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6150 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6151
c727f032
RM
61522014-05-01 Roland McGrath <roland@hack.frob.com>
6153
8f2f08d0
RM
6154 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6155 (_IO_JUMPS_OFFSET): Define to 0.
6156
c727f032
RM
6157 * nptl/sysdeps/pthread/bits/libc-lock.h
6158 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6159 (__libc_lock_define_initialized_recursive): Always define using
6160 initializer. Modern compilers treat uninitialized (implicit zero) and
6161 explicit zero initializers the same (i.e. put the datum in bss).
6162
a849e800
AS
61632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6164
6165 * nscd/nscd-client.h: Include <string.h>.
6166
5331255b
DM
61672014-05-01 David S. Miller <davem@davemloft.net>
6168
6169 [BZ #16885]
6170 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6171 multiple zero bytes exist at the end of a string.
6172 Reported by Aurelien Jarno <aurelien@aurel32.net>
6173
6174 * string/test-strcmp.c (check): Add explicit test for situations where
6175 there are multiple zero bytes after the first.
6176
4fdfe821
AS
61772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6178
6179 [BZ #16890]
6180 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6181 when compiling wprintf.
6182 * stdio-common/tstdiomisc.c (t3): New function.
6183 (main): Call it.
6184
0cdddc25
SE
61852014-05-01 Steve Ellcey <sellcey@mips.com>
6186
6187 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6188 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6189 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6190 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6191
6426d77e
SE
61922014-05-01 Steve Ellcey <sellcey@mips.com>
6193
6194 * stdlib/longlong.h: Updated from GCC.
6195
6d96f5e4
WN
61962014-05-01 Will Newton <will.newton@linaro.org>
6197 Bernard Ogden <bernie.ogden@linaro.org>
6198
7470db0c
WN
6199 * NEWS: Update fixed bug list.
6200
6d96f5e4
WN
6201 [BZ #15119]
6202 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6203
211d653c
DM
62042014-04-30 David S. Miller <davem@davemloft.net>
6205
4fa262fa
DM
6206 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6207 (libc_feholdexcept_setround_sparc_ctx): New function.
6208 (libc_fesetenv_sparc_ctx): Likewise.
6209 (libc_feupdateenv_sparc_ctx): Likewise.
6210 (libc_feholdsetround_sparc_ctx): Likewise.
6211 (libc_feholdexcept_setround_ctx): Define.
6212 (libc_feholdexcept_setroundf_ctx): Likewise.
6213 (libc_feholdexcept_setroundl_ctx): Likewise.
6214 (libc_fesetenv_ctx): Likewise.
6215 (libc_fesetenvf_ctx): Likewise.
6216 (libc_fesetenvl_ctx): Likewise.
6217 (libc_feupdateenv_ctx): Likewise.
6218 (libc_feupdateenvf_ctx): Likewise.
6219 (libc_feupdateenvl_ctx): Likewise.
6220 (libc_feresetround_ctx): Likewise.
6221 (libc_feresetroundf_ctx): Likewise.
6222 (libc_feresetroundl_ctx): Likewise.
6223 (libc_feholdsetround_ctx): Likewise.
6224 (libc_feholdsetroundf_ctx): Likewise.
6225 (libc_feholdsetroundl_ctx): Likewise.
6226
1d3d93ef
DM
6227 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6228 with __USE_GNU instead of XOPEN cpp guards.
6229
8aa583c3
DM
6230 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6231 0.
6232
211d653c
DM
6233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6234 with XOPEN cpp guards.
6235
60c8f1f6
JB
62362014-04-30 Julian Brown <julian@codesourcery.com>
6237
6238 [BZ #16888]
6239 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6240 handling.
6241
9a461d46
JM
62422014-04-30 Joseph Myers <joseph@codesourcery.com>
6243
d0f5b3f8
JM
6244 [BZ #9894]
6245 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6246 Change to 2.6.32.
6247 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6248 * sysdeps/unix/sysv/linux/configure: Regenerated.
6249 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6250 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6251 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6252 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6253 * README: Update reference to required Linux kernel version.
6254 * manual/install.texi (Linux): Update reference to required Linux
6255 kernel headers version.
6256 * INSTALL: Regenerated.
6257
9a461d46
JM
6258 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6259 header inclusion.
6260 [POSIX] (limits.h): Likewise.
6261 [POSIX] (math.h): Likewise.
6262 [POSIX] (sys/wait.h): Likewise.
6263 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6264 function.
6265 [POSIX] (stddef.h): Do not allow header inclusion.
6266
1775babf
AZ
62672014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268
57f41c40 6269 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6270
8f630cca
YY
62712014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6272
6273 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6274 Return immediately after lll_futex_wake.
6275
1cdeb237
SP
62762014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6277
bc8f194c
SP
6278 [BZ #16791]
6279 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6280 structure.
6281 (datahead_init_pos): Call datahead_init_common early.
6282 (datahead_init_neg): Likewise.
6283
1cdeb237
SP
6284 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6285 datahead_init_neg): New functions.
6286 * nscd/aicache.c (addhstaiX): Use them.
6287 * nscd/grpcache.c (cache_addgr): Likewise.
6288 * nscd/hstcache.c (cache_addhst): Likewise.
6289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6290 * nscd/netgroupcache.c (do_notfound): Likewise.
6291 (addgetnetgrentX): Likewise.
6292 (addinnetgrX): Likewise.
6293 * nscd/pwdcache.c (cache_addpw): Likewise.
6294 * nscd/servicescache.c (cache_addserv): Likewise.
6295
16b293a7
SP
62962014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6297 Atsushi Onoe <atsushi@onoe.org>
6298
6299 [BZ #14308]
6300 [BZ #12994]
6301 [BZ #13651]
6302 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6303 one response is valid.
6304 * resolv/res_send.c (send_dg): Check for validity of other
6305 response if the current response is a referral.
6306
a28a9b94
SE
63072014-04-29 Steve Ellcey <sellcey@mips.com>
6308
6309 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6310
2ca180e9
SL
63112014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6312
6313 [BZ #16823]
6314 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6315 Always divide by positive zero when computing -Inf result.
6316 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6317 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6318
18f2945a
AZ
63192014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6322 FPSCR if value do not change.
6323 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6324 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6325 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6326 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6327 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6328 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6329 function.
6330
5abebba4
CD
63312014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6332
6333 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6334 * sysdeps/unix/sysv/linux/hppa: Move directory from
6335 ports/systeps/unix/sysv/linux/hppa.
6336 * README: Update listing for hppa-*-linux-gnu.
6337
f7ed60c2
OB
63382014-04-28 Ondřej Bílka <neleai@seznam.cz>
6339
fff763a5
OB
6340 [BZ #16754]
6341 * manual/stdio.texi (Hook functions): Fix types of stream hook
6342 functions.
f7ed60c2
OB
6343 [BZ #16854]
6344 * socket/sys/socket.h: Fix typo in comment.
6345
df639d73
WD
63462014-04-28 Wilco <wdijkstr@arm.com>
6347
f7ed60c2 6348 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6349 * sysdeps/arm/math_private.h: New file.
6350 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6351
48332d82
L
63522014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6353
6354 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6355 with __int128_t.
6356 (La_x86_64_retval): Likewise.
6357
e5e0d9a4
IB
63582014-04-24 Ian Bolton <ian.bolton@arm.com>
6359
6360 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6361 fpsr if value didn't change.
6362 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6363 to fpcr if value didn't change.
6364 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6365 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6366 fpsr or fpcr if value didn't change.
6367 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6368 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6369 fpcr if value didn't change.
6370 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6371 to fpsr if value didn't change.
6372
bacc75f7
SP
63732014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6374
6375 * nptl/tst-sem3.c: Use test-skeleton.c
6376 (main): Rename to do_test. Use return instead of
6377 exit.
6378 * nptl/tst-sem4.c: Use test-skeleton.c
6379 (main): Rename to do_test.
6380
a059d359
DM
63812014-04-22 David S. Miller <davem@davemloft.net>
6382
6383 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6384 (struct sigaction): New struct member __glibc_reserved0, change
6385 type of sa_flags to int.
6386
ea6c92f3
YZ
63872014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6388
6389 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6390 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6391
766c4a36
SP
63922014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6393
6394 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6395 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6396
140cc7ab
VK
63972014-04-22 Will Newton <will.newton@linaro.org>
6398 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6399
6400 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6401 (__longjmp): Add longjmp and longjmp_target SystemTap
6402 probes.
6403 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6404 (__sigsetjmp): Add setjmp SystemTap probe.
6405
c54e5cf7
CD
64062014-04-17 Carlos O'Donell <carlos@redhat.com>
6407
6408 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6409 match manual order.
6410
75ffb047
AZ
64112014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412
6413 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6414
2cd925f7
AZ
6415 * sysdeps/powerpc/fpu/fenv_private.h
6416 (libc_feholdexcept_setroundl_ctx): Define to
6417 libc_feholdexcept_setround_ppc_ctx.
6418 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6419 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6420 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6421 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6422
39e6cd8d
IB
64232014-04-17 Ian Bolton <ian.bolton@arm.com>
6424
6425 * sysdeps/aarch64/math-tests.h: New file.
6426
f9281df9
SY
64272014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6428
6429 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6430 New.
6431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6432 Check and set bit_AVX2_Usable.
6433 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6434 macro.
6435 (bit_AVX2): Likewise.
6436 (index_AVX2_Usable): Likewise.
6437 (CPUID_AVX2): Likewise.
6438 (HAS_AVX2): Likewise.
6439
37d35007
WN
64402014-04-17 Will Newton <will.newton@linaro.org>
6441
7c677662
WN
6442 * manual/setjmp.texi (System V contexts): Add note that
6443 calling setcontext on a context created by a call to a
6444 signal handler is undefined. Update text to note that
6445 setcontext from a signal handler is possible but not
6446 recommended.
6447
37d35007 6448 [BZ #16629]
e04a4e9d
WN
6449 * stdlib/tst-setcontext.c: Include signal.h.
6450 (main): Check that the signal stack before and
6451 after swapcontext is the same.
6452
37d35007
WN
6453 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6454 Re-implement to restore registers in user code and avoid
6455 rt_sigreturn system call.
6456
423a7160
W
64572014-04-17 Wilco <wdijkstr@arm.com>
6458
6459 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6460 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6461 * math/test-fenv.c: Skip exception trap tests on targets which only
6462 support non-stop mode.
6463
bc93ab29
IB
64642014-04-17 Ian Bolton <ian.bolton@arm.com>
6465 Wilco Dijkstra <wilco.dijkstra@arm.com>
6466
6467 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6468 (libc_feholdsetround_aarch64_ctx)
6469 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6470 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6471 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6472 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6473 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6474 (libc_feresetround_noexl_ctx): Define.
6475
95fc5fa3
RH
64762014-04-16 Richard Henderson <rth@redhat.com>
6477
ddb04724
RH
6478 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6479
d77c0899
RH
6480 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6481 unwind tables.
6482
a3df56fc
RH
6483 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6484 const from the non-libc, non-ldso copy.
6485
95fc5fa3
RH
6486 * sysdeps/alpha/libm-test-ulps: Regenerate.
6487
7e0b6763
IB
64882014-04-16 Ian Bolton <ian.bolton@arm.com>
6489 Wilco Dijkstra <wilco.dijkstra@arm.com>
6490
6491 * sysdeps/aarch64/fpu/math_private.h: New file.
6492
a9ea2e0c
MS
64932014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6494
6495 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6496
ea8ba7cd
IZ
64972014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6498
6499 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6500 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6502 Intel MPX bound registers before _dl_profile_fixup.
6503 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6504 registers after _dl_profile_fixup. Save and restore bound
6505 registers bnd0/bnd1 when calling _dl_call_pltexit.
6506 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6507 (LR_BND_OFFSET): Likewise.
6508 (LRV_BND0_OFFSET): Likewise.
6509 (LRV_BND1_OFFSET): Likewise.
6510
9f2a4fbc
ST
65112014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6512
6513 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6514 to...
6515 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6516 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6517 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6518 fields.
9f2a4fbc 6519
fd15a59b
ST
65202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6521
6522 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6523
f19dfa0a
SL
65242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6525
6526 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6527
4fa8bc3b
SL
65282014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6529
6530 [BZ #14770]
6531 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6532 * sysdeps/s390/configure: Regenerate.
6533
8ea587db
SL
6534 [BZ #16824]
6535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6536 Set round-to-nearest internally to reduce error accumulation.
6537
aa5f0ff1
AM
65382014-04-16 Alan Modra <amodra@gmail.com>
6539
6540 [BZ #16740]
6541 [BZ #16619]
6542 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6543 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6544 * NEWS: Update fixed bug list.
aa5f0ff1 6545
bb9c256f
SP
65462014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 * benchtests/Makefile: Depend on libraries in build directory.
6549 (bench-math): Separate out math tests.
6550 (bench-pthread): Separate out pthread tests.
6551 (bench): Include math and pthread tests.
6552
f737dfd0
CD
65532014-04-14 Carlos O'Donell <carlos@redhat.com>
6554
6555 [BZ #16831]
6556 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6557 _dl_debug_initialize.
6558
0699f766
CD
6559 * configure.ac: Remove SELinux header check.
6560 * configure: Regenerate.
6561 * nscd/selinux.c (perms): Array of const char* to permission names.
6562 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6563 default policy. Call string_to_security_class and string_to_av_perm to
6564 translate strings. Enforce default policy and call avs_has_perm with
6565 results of translated strings.
6566
809bd45f
DM
65672014-04-13 David S. Miller <davem@davemloft.net>
6568
6569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6570
89e691f2
AM
65712014-04-12 Allan McRae <allan@archlinux.org>
6572
6573 [BZ #16838]
6574 * manual/string.texi (Collation Functions): Fix qsort argument
6575 order in example.
6576 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6577
9c9daaeb
CM
65782014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6579
6580 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6581 Make the test a no-op if there are no exceptions defined.
6582
95561fb9
PP
65832014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6584
fe8d072c 6585 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6586 enable-hardcoded-path-in-tests
6587
970c602a
WN
65882014-04-11 Will Newton <will.newton@linaro.org>
6589
6590 * benchtests/Makefile (extra-objs): Add json-lib.o.
6591 (bench-func): Tidy up JSON output.
6592 * benchtests/bench-skeleton.c: Include json-lib.h.
6593 (main): Use JSON library functions to do output of
6594 benchmark results.
6595 * benchtests/bench-timing-type.c (main): Output the
6596 timing type simply, leaving formatting to the user.
6597 * benchtests/json-lib.c: New file.
6598 * benchtests/json-lib.h: Likewise.
6599
36875b06
TR
66002014-04-11 Torvald Riegel <triegel@redhat.com>
6601
6602 [BZ #15215]
6603 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6604 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6605 memory barriers. Add comments.
6606 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6607 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6608 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6609 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6610 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6611 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6612
579db35a
SL
66132014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6614
6615 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6616 * sysdeps/s390/s390-64/configure.ac: ... this ...
6617 * sysdeps/s390/configure.ac: ... to here.
6618 * sysdeps/s390/s390-32/configure: Delete file.
6619 * sysdeps/s390/s390-64/configure: Delete file.
6620 * sysdeps/s390/configure: Regenerate.
6621
c12e9f37
JAPH
66222014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6623
6624 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6625
439bda32
WN
66262014-04-11 Will Newton <will.newton@linaro.org>
6627
6628 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6629 to zero if it is not defined elsewhere. (mtrim): Test
6630 the value of MALLOC_DEBUG with #if rather than #ifdef.
6631
6a5d6ea1
TR
66322014-04-10 Torvald Riegel <triegel@redhat.com>
6633
6634 * benchtests/pthread_once-inputs: New file.
6635 * benchtests/pthread_once-source.c: New file.
6636 * benchtests/README: Update documentation.
6637
a4c75cfd
IZ
66382014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6639 H.J. Lu <hongjiu.lu@intel.com>
6640
6641 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6642 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6643 * sysdeps/x86_64/configure: Regenerated.
6644 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6645 macro.
6646 (REGISTER_SAVE_RAX): Likewise.
6647 (REGISTER_SAVE_RCX): Likewise.
6648 (REGISTER_SAVE_RDX): Likewise.
6649 (REGISTER_SAVE_RSI): Likewise.
6650 (REGISTER_SAVE_RDI): Likewise.
6651 (REGISTER_SAVE_R8): Likewise.
6652 (REGISTER_SAVE_R9): Likewise.
6653 (REGISTER_SAVE_BND0): Likewise.
6654 (REGISTER_SAVE_BND1): Likewise.
6655 (REGISTER_SAVE_BND2): Likewise.
6656 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6657 bound registers when calling _dl_fixup.
6658
27822ce6
AZ
66592014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6662 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6663 of its definition.
27822ce6
AZ
6664 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6665 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6666 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6667 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6668 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6669 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6670 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6671
a88ddc90
PTB
66722014-04-09 Peter Brett <peter@peter-b.co.uk>
6673
6674 [BZ #15514]
6675 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6676 pathconf(_PC_NAME_MAX).
6677
01f8eac2
AZ
66782014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6679
6680 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6681 Remove macro usage.
6682 (__PTHREAD_SPINS): Move definition to ...
6683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6684 (__PTHREAD_SPINS): ... here.
6685 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6686 (__PTHREAD_SPIN): Likewise.
6687 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6688 (__PTHREAD_SPIN): Likewise.
6689 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6690 (__PTHREAD_SPIN): Likewise.
6691 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6692 (__PTHREAD_SPIN): Likewise.
6693 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6694 (__PTHREAD_SPIN): Likewise.
6695 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6696 (__PTHREAD_SPIN): Likewise.
6697 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6698 (__PTHREAD_SPIN): Likewise.
6699 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6700 (__PTHREAD_SPIN): Likewise.
6701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6702 (__PTHREAD_SPIN): Likewise.
6703 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6704 (__PTHREAD_SPIN): Likewise.
6705 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6706 (__PTHREAD_SPIN): Likewise.
6707 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6708 (__PTHREAD_SPIN): Likewise.
6709
de21c33c
AZ
6710 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6711 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6712 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6713 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6714 imply folder.
6715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6716 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6717 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6718 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6719 correct imply path.
6720 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6721 strlen symbol for non multi-arch builds.
6722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6723 missing hidden_def and weak_alias.
6724
862c472e
CD
67252014-04-08 Carlos O'Donell <carlos@redhat.com>
6726
6727 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6728
8667f90e
WN
67292014-04-07 Will Newton <will.newton@linaro.org>
6730
6731 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6732 and contents. [!_LIBC] Remove #ifndef and contents.
6733 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6734 * string/memccpy.c (__memccpy): Use ANSI prototype.
6735 * string/memfrob.c (memfrob): Likewise.
6736 * string/strcoll.c (STRCOLL): Likewise.
6737 * string/strlen.c (strlen): Likewise.
6738 * string/strtok.c (STRTOK): Likewise.
6739 * string/strcat.c: Remove unused #include of memcopy.h.
6740 (strcat): Use ANSI prototype.
6741 * string/strchr.c: Remove unused #include of memcopy.h.
6742 (strchr): Use ANSI prototype.
6743 * string/strcmp.c: Remove unused #include of memcopy.h.
6744 (strcmp): Use ANSI prototype.
6745 * string/strcpy.c: Remove unused #include of memcopy.h.
6746 (strcpy): Use ANSI prototype.
6747
7ffa9423
AZ
67482014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749
6750 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6751 * config.make.in (config-extra-cppflags): Set it from
6752 libc_extra_cppflags.
6753 * configure.ac (libc_extra_cflags): Make it accumulate over
6754 configure fragments.
6755 (libc_extra_cppflags): New flag.
6756 * configure. Regenerate.
6757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6758 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6759 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6761
8bd70862
AZ
6762 [BZ #16815]
6763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6764 result for FE_DOWNWARD rounding mode.
6765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6766 Likewise.
6767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6768
d42f3448
CM
67692014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6770
6771 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6772 in function argument name.
6773
1c21d115
DS
67742014-04-03 David Svoboda <svoboda@cert.org>
6775
6776 [BZ #5666]
6777 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6778 explicitly.
6779
fcccd512
RM
67802014-04-03 Roland McGrath <roland@hack.frob.com>
6781
6782 * elf/dl-unmap-segments.h: New file.
6783 * sysdeps/generic/ldsodefs.h
6784 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6785 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6786 * elf/dl-fptr.c: Likewise.
6787 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6788 * sysdeps/aarch64/tlsdesc.c: Likewise.
6789 * sysdeps/arm/tlsdesc.c: Likewise.
6790 * sysdeps/i386/tlsdesc.c: Likewise.
6791 * sysdeps/tile/dl-runtime.c: Likewise.
6792 * sysdeps/x86_64/tlsdesc.c: Likewise.
6793 * elf/dl-load.h: New file.
6794 * elf/dl-load.c: Include it.
6795 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6796 Macros moved to dl-load.h.
6797 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6798 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6799 Use _dl_unmap_segments in place of __munmap.
6800 Break out segment-mapping loop into ...
6801 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6802
f6488e2b
WN
68032014-04-03 Will Newton <will.newton@linaro.org>
6804
6805 * elf/dl-lookup.c (do_lookup_x): Remove comment
6806 referring to nested function and move variable
6807 declarations down to before first use.
6808
6f05bafe
JM
68092014-04-02 Joseph Myers <joseph@codesourcery.com>
6810
a84e78c8
JM
6811 [BZ #16799]
6812 [BZ #16800]
6813 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6814 with 0 numerator.
6815 * math/s_catanf.c (__catanf): Likewise.
6816 * math/s_catanh.c (__catanh): Likewise.
6817 * math/s_catanhf.c (__catanhf): Likewise.
6818 * math/s_catanhl.c (__catanhl): Likewise.
6819 * math/s_catanl.c (__catanl): Likewise.
6820 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6821 by positive zero when computing -Inf result.
6822 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6823 (catanh_test): Likewise.
6824 * sysdeps/i386/fpu/libm-test-ulps: Update.
6825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6826
6f05bafe
JM
6827 [BZ #16789]
6828 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6829 instead of using underflowing value in computing result.
6830 * math/s_clog10.c (__clog10): Likewise.
6831 * math/s_clog10f.c (__clog10f): Likewise.
6832 * math/s_clog10l.c (__clog10l): Likewise.
6833 * math/s_clogf.c (__clogf): Likewise.
6834 * math/s_clogl.c (__clogl): Likewise.
6835 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6836 (clog10_test): Likewise.
6837 * sysdeps/i386/fpu/libm-test-ulps: Update.
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6839
b0abbc21
AM
68402014-04-02 Alan Modra <amodra@gmail.com>
6841
6842 [BZ #16739]
6843 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6844 output when value is near a power of two. Use int64_t for lx and
6845 remove casts. Use decimal rather than hex exponent constants.
6846 Don't use long double multiplication when double will suffice.
6847 * math/libm-test.inc (nextafter_test_data): Add tests.
6848 * NEWS: Add 16739 and 16786 to bug list.
6849
af6b1797
AM
6850 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6851
483818d7
AM
6852 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6853
f6c55796
WN
68542014-04-01 Will Newton <will.newton@linaro.org>
6855
6856 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6857 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6858
13f7fe35
FW
68592014-04-01 Florian Weimer <fweimer@redhat.com>
6860
6861 [BZ #13347]
6862 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6863 * nptl/tst-setuid2.c: New file.
6864 * nptl/Makefile (xtests): Add tst-setuid2.
6865
c859b32e
AM
68662014-04-01 Alan Modra <amodra@gmail.com>
6867
6868 [BZ #16786]
6869 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6870
54fa2475
JM
68712014-03-31 Joseph Myers <joseph@codesourcery.com>
6872
8795b4a4
JM
6873 [BZ #6803]
6874 [BZ #6804]
6875 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6876 set errno as appropriate.
6877 * math/w_scalbf.c (__scalbf): Likewise.
6878 * math/w_scalbl.c (__scalbl): Likewise.
6879 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6880 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6881 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6882 Add more NaN tests.
6883
54fa2475
JM
6884 [BZ #16349]
6885 * math/w_atan2.c: Include <errno.h>.
6886 (__atan2): Set errno for result underflowing to zero.
6887 * math/w_atan2f.c: Include <errno.h>.
6888 (__atan2f): Set errno for result underflowing to zero.
6889 * math/w_atan2l.c: Include <errno.h>.
6890 (__atan2l): Set errno for result underflowing to zero.
6891 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6892 tests.
6893 * math/auto-libm-test-out: Regenerated.
6894
757d9dd5
AZ
68952014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896
6897 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6898 Encode instruction correctly in little endian.
6899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6900 Likewise.
6901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6902 Likewise.
6903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6904 Likewise.
6905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6906 Likewise.
6907
d7a68734
JM
69082014-03-31 Joseph Myers <joseph@codesourcery.com>
6909
47c5adeb
JM
6910 [BZ #9894]
6911 * sysdeps/unix/sysv/linux/kernel-features.h
6912 [__sparc__ && !__arch64__ && !__sparc_v9__]
6913 (__ASSUME_SET_ROBUST_LIST): Do not define.
6914 [__sparc__ && !__arch64__ && !__sparc_v9__]
6915 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6916 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6919 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6920 (__ASSUME_REQUEUE_PI): Likewise.
6921 (__ASSUME_SET_ROBUST_LIST): Likewise.
6922 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6923 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6924 Undefine.
6925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6926 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6927 Likewise.
6928 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6929 Likewise.
6930 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6931 Likewise.
6932 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6933 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6934 Undefine.
6935 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6936 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6937 Likewise.
6938
d7a68734
JM
6939 [BZ #16648]
6940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6942 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6943
c760f5c2
WN
69442014-03-31 Will Newton <will.newton@linaro.org>
6945
6946 * benchtests/Makefile (bench): Add ffs and ffsll to list
6947 of tests.
6948 * benchtests/ffs-inputs: New file.
6949 * benchtests/ffsll-inputs: Likewise.
6950
ea6029b1
JM
69512014-03-29 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #16770]
6954 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6955 too large before casting to int.
6956 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6957 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6958 * math/libm-test.inc (scalb_test_data): Add more tests.
6959
cf806aff
SP
69602014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6961
56737508
SP
6962 * benchtests/Makefile (DETAILED_OPT): New make option.
6963 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6964 set.
6965 * benchtests/bench-skeleton.c: Include stdbool.h.
6966 (main): Store and print timings per input.
6967 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6968 member to each argument value.
6969 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6970 (_print_arg_data): Initialize per-input timing to 0.
6971
cb5e4aad
SP
6972 * benchtests/Makefile (timing-type): New binary.
6973 (bench-clean): Also remove bench-timing-type.
6974 (bench): New target for timing-type.
6975 (bench-func): Print output in JSON format.
6976 * benchtests/bench-skeleton.c (main): Print output in JSON
6977 format.
6978 * benchtests/bench-timing-type.c: New file.
6979 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6980 (TIMING_PRINT_STATS): Remove.
6981 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6982 name separately.
6983
cf806aff
SP
6984 * benchtests/bench-modf.c: Remove.
6985 * benchtests/modf-inputs: New inputs file.
6986
289e0779
JM
69872014-03-28 Joseph Myers <joseph@codesourcery.com>
6988
6989 [BZ #16362]
6990 * math/s_clog10.c (M_PI_LOG10E): New macro.
6991 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6992 imaginary parts are 0.
6993 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6994 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6995 imaginary parts are 0.
6996 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6997 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6998 imaginary parts are 0.
6999 * math/libm-test.inc (clog10_test_data): Update expected results
7000 for when real and imaginary parts are 0.
7001
277ae3f1
PP
70022014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7003
7004 * elf/dl-load.c: Finish conversion of __builtin_expect into
7005 __glibc_{un}likely.
7006
03a7091f
JM
70072014-03-27 Joseph Myers <joseph@codesourcery.com>
7008
7009 [BZ #16348]
7010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7011 1+x for argument with exponent below -67.
7012 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7013 Likewise.
7014 * math/auto-libm-test-in: Add more tests of exp.
7015 * math/auto-libm-test-out: Regenerated.
7016
ea7d8b95
SP
70172014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7018
dd3022d7
SP
7019 [BZ #16759]
7020 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7021 (nscd_getnetgrent): Use it.
7022
ea7d8b95
SP
7023 [BZ #16760]
7024 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7025 of stpcpy.
7026
df5b85da
AK
70272014-03-27 Andi Kleen <ak@linux.intel.com>
7028
57f41c40
AS
7029 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7030 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7031 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7032 (lll_robust_unlock): Remove out of line section. Use cfi
7033 intrinsics.
df5b85da 7034 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7035 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7036 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7037 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7038 (lll_robust_unlock): Remove out of line section. Use cfi
7039 intrinsics.
df5b85da
AK
7040 (LLL_STUB_UNWIND_INFO*): Remove.
7041
fbd6b5a4
SP
70422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7043
7044 [BZ #16758]
7045 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7046 blank values.
7047
1b26b855
PP
70482014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7049
7050 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7051
9be36fb8
JM
70522014-03-26 Joseph Myers <joseph@codesourcery.com>
7053
7054 [BZ #16198]
7055 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7056 fnstenv.
7057 * math/test-fenv-preserve.c: New file.
7058 * math/Makefile (tests): Add test-fenv-preserve.
7059
60a2f3c1
WN
70602014-03-26 Will Newton <will.newton@linaro.org>
7061
7062 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7063
a5e5f1e2
RM
70642014-03-25 Roland McGrath <roland@hack.frob.com>
7065
7066 * scripts/versionlist.awk: Partition the version sets and emit all
7067 GLIBC_* (sorted) before all others (sorted).
7068
00f4012a
JM
70692014-03-25 Joseph Myers <joseph@codesourcery.com>
7070
7071 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7072 GLIBC_2.2.5 version.
7073
7bc5a741
AZ
70742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7075
7076 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7077 calls.
7078
7578473b
AZ
7079 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7080 previous change.
7081
f3f1dab3
AZ
7082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7083
6da36183
AS
70842014-03-25 Andreas Schwab <schwab@suse.de>
7085
7086 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7087 label to be used after in6ailist is initialized.
7088
f3f1dab3 70892014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7090
7578473b 7091 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7092 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7093
046651c1
JM
70942014-03-25 Joseph Myers <joseph@codesourcery.com>
7095
7096 [BZ #16357]
7097 [BZ #16599]
7098 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7099 min_plus_half.
7100 (fp_formats): Update initializers.
7101 (init_fp_formats): Initialize new field.
7102 (output_for_one_input_case): Allow underflow for results up to
7103 min_plus_half.
7104 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7105 * math/auto-libm-test-in: Don't mark some underflows from asin and
7106 atanh as spurious.
7107 * math/auto-libm-test-out: Regenerated.
7108 * sysdeps/i386/fpu/libm-test-ulps: Update.
7109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7110
003e49ed
AS
71112014-03-25 Andreas Schwab <schwab@suse.de>
7112
7113 * libio/Makefile (tst-ftell-partial-wide-ENV)
7114 (tst-ftell-active-handler-ENV): Define.
7115
de031874
SL
71162014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7117
7118 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7119
55a81e3b
PP
71202014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7121
7122 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7123
f3426898
JM
71242014-03-24 Joseph Myers <joseph@codesourcery.com>
7125
7126 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7127 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7128 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7129
a42faf59
PP
71302014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7131
7132 [BZ #16634]
a42faf59 7133 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7134 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7135 (open_path): Change from boolean 'secure' to complete flag 'mode'
7136 (_dl_map_object): Adjust.
a42faf59
PP
7137 * elf/Makefile (tests): Add tst-dlopen-aout.
7138 * elf/tst-dlopen-aout.c: New test.
7139
50936127
SL
71402014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7141
7142 [BZ #16714]
7143 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7144 (struct stat): Rename member pad0 to __glibc_reserved0.
7145
26011b5c
SL
7146 [BZ #16712]
7147 * sysdeps/s390/s390-32/bits/wordsize.h
7148 (__WORDSIZE32_SIZE_ULONG): New define.
7149 * sysdeps/s390/s390-64/bits/wordsize.h
7150 (__WORDSIZE32_SIZE_ULONG): Likewise.
7151 * sysdeps/generic/stdint.h (SIZE_MAX):
7152 Define as UL if __WORDSIZE32_SIZE_ULONG.
7153
a2d86bf1
SL
7154 [BZ #16713]
7155 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7156 (__glibc_reserved0): New variable.
7157 (sa_flags): Change type to int.
7158
78b6eebc
SL
7159 * posix/Makefile (before-compile): Use += before-compile instead
7160 of a :=.
7161
f1399b5a
SL
7162 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7163 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7164
a071766e
AS
71652014-03-20 Andreas Schwab <schwab@suse.de>
7166
7167 [BZ #16743]
7168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7169 non-matching result from nscd.
7170
27c673b8
SP
71712014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7172
7173 * scripts/bench.py: Moved to ...
7174 * benchtests/scripts/bench.py: ... here.
7175 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7176
44152e4b
AS
71772014-03-24 Andreas Schwab <schwab@suse.de>
7178
7179 [BZ #16002]
7180 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7181 alloca_account and account alloca use for struct in6ailist.
7182
b376a11a
JM
71832014-03-24 Joseph Myers <joseph@codesourcery.com>
7184
7185 [BZ #16284]
7186 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7187 rounding mode to recompute results that overflow to infinity or
7188 underflow to zero.
7189 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7190 bug 16284.
7191 * math/auto-libm-test-out: Regenerated.
7192 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7193 (ccosh_test): Likewise.
7194 (csin_test_data): Use plus_oflow.
7195 (csin_test): Use ALL_RM_TEST.
7196 (csinh_test_data): Use plus_oflow.
7197 (csinh_test): Use ALL_RM_TEST.
7198 * sysdeps/i386/fpu/libm-test-ulps: Update.
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200
f7be7376
JM
72012014-03-21 Joseph Myers <joseph@codesourcery.com>
7202
1ca2d03e
JM
7203 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7204 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7205 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7206
f7be7376
JM
7207 [BZ #16731]
7208 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7209 when x - 1 is zero.
7210 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7211 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7212 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7214 argument is 1.
7215 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7216 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7217 zero.
7218 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221
fdf4534d
SP
72222014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7223
df26ea53
SP
7224 * scripts/bench.pl: Remove file.
7225 * scripts/bench.py: New benchmark script.
7226 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7227 * benchtests/README: Mention python dependency.
7228 * scripts/pylintrc: New file.
7229 * scripts/pylint: New file.
7230
fdf4534d
SP
7231 * bits/mathdef.h: Use #ifdef instead of #if.
7232 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7233 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7234 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7235 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7236 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7237 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7238
6f23d093
AZ
72392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7241
7242 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7244 and strpbrk-ppc64 objects.
7245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7246 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7247 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7248 multiarch strpbrk for POWER7.
7249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7250 multiarch strpbrk for PPC64.
7251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7252 ifunc selector.
7253 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7254 strpbrk for POWER7.
7255
8c92dfff
JM
72562014-03-20 Joseph Myers <joseph@codesourcery.com>
7257
7258 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7259 (atan_test): Likewise.
7260 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7261 (atanh_test): Use ALL_RM_TEST.
7262 (atan2_test_data): Likewise.
7263 (cabs_test): Likewise.
7264 (cacosh_test): Likewise.
7265 (carg_test): Likewise.
7266 (casin_test): Likewise.
7267 (casinh_test): Likewise.
7268 (cbrt_test): Likewise.
7269 (csqrt_test): Likewise.
7270 (erf_test): Likewise.
7271 (erfc_test): Likewise.
7272 (pow10_test): Likewise.
7273 (exp2_test): Likewise.
7274 (hypot_test): Likewise.
7275 (j0_test): Likewise.
7276 (j1_test): Likewise.
7277 (lgamma_test): Likewise.
7278 (gamma_test): Likewise.
7279 (sincos_test): Likewise.
7280 (tanh_test): Likewise.
7281 (y0_test): Likewise.
7282 (y1_test): Likewise.
7283 * sysdeps/i386/fpu/libm-test-ulps: Update.
7284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7285
6eaf95cb
AZ
72862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7287
a387428c
SP
7288 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7290 and strcspn-ppc64 objects.
7291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7292 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7293 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7294 multiarch strcspn for POWER7.
7295 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7296 multiarch strcspn for PPC64.
7297 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7298 ifunc selector.
7299 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7300 strcspn for POWER7.
7301
ae3a5dff
JM
73022014-03-20 Joseph Myers <joseph@codesourcery.com>
7303
7304 * math/gen-libm-test.pl (generate_testfile): Expect only function
7305 name as argument to AUTO_TESTS_* and pass results for all rounding
7306 modes to parse_args.
7307 (parse_auto_input): Separate inputs of automatic tests from
7308 outputs before storing in %auto_tests.
7309 * math/libm-test.inc (acos_test_data): Update call to
7310 AUTO_TESTS_f_f.
7311 (acos_test): Use ALL_RM_TEST.
7312 (acos_tonearest_test_data): Remove.
7313 (acos_test_tonearest): Likewise.
7314 (acos_towardzero_test_data): Likewise.
7315 (acos_test_towardzero): Likewise.
7316 (acos_downward_test_data): Likewise.
7317 (acos_test_downward): Likewise.
7318 (acos_upward_test_data): Likewise.
7319 (acos_test_upward): Likewise.
7320 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7321 (asin_test_data): Likewise.
7322 (asin_test): Use ALL_RM_TEST.
7323 (asin_tonearest_test_data): Remove.
7324 (asin_test_tonearest): Likewise.
7325 (asin_towardzero_test_data): Likewise.
7326 (asin_test_towardzero): Likewise.
7327 (asin_downward_test_data): Likewise.
7328 (asin_test_downward): Likewise.
7329 (asin_upward_test_data): Likewise.
7330 (asin_test_upward): Likewise.
7331 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7332 (atan_test_data): Likewise.
7333 (atanh_test_data): Likewise.
7334 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7335 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7336 (carg_test_data): Likewise.
7337 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7338 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7339 (ccosh_test_data): Likewise.
7340 (cexp_test_data): Likewise.
7341 (clog_test_data): Likewise.
7342 (clog10_test_data): Likewise.
7343 (cos_test_data): Update call to AUTO_TESTS_f_f.
7344 (cos_test): Use ALL_RM_TEST.
7345 (cos_tonearest_test_data): Remove.
7346 (cos_test_tonearest): Likewise.
7347 (cos_towardzero_test_data): Likewise.
7348 (cos_test_towardzero): Likewise.
7349 (cos_downward_test_data): Likewise.
7350 (cos_test_downward): Likewise.
7351 (cos_upward_test_data): Likewise.
7352 (cos_test_upward): Likewise.
7353 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7354 (cosh_test): Use ALL_RM_TEST.
7355 (cosh_tonearest_test_data): Remove.
7356 (cosh_test_tonearest): Likewise.
7357 (cosh_towardzero_test_data): Likewise.
7358 (cosh_test_towardzero): Likewise.
7359 (cosh_downward_test_data): Likewise.
7360 (cosh_test_downward): Likewise.
7361 (cosh_upward_test_data): Likewise.
7362 (cosh_test_upward): Likewise.
7363 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7364 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7365 (ctan_test_data): Likewise.
7366 (ctan_test): Use ALL_RM_TEST.
7367 (ctan_tonearest_test_data): Remove.
7368 (ctan_test_tonearest): Likewise.
7369 (ctan_towardzero_test_data): Likewise.
7370 (ctan_test_towardzero): Likewise.
7371 (ctan_downward_test_data): Likewise.
7372 (ctan_test_downward): Likewise.
7373 (ctan_upward_test_data): Likewise.
7374 (ctan_test_upward): Likewise.
7375 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7376 (ctanh_test): Use ALL_RM_TEST.
7377 (ctanh_tonearest_test_data): Remove.
7378 (ctanh_test_tonearest): Likewise.
7379 (ctanh_towardzero_test_data): Likewise.
7380 (ctanh_test_towardzero): Likewise.
7381 (ctanh_downward_test_data): Likewise.
7382 (ctanh_test_downward): Likewise.
7383 (ctanh_upward_test_data): Likewise.
7384 (ctanh_test_upward): Likewise.
7385 (erf_test_data): Update call to AUTO_TESTS_f_f.
7386 (erfc_test_data): Likewise.
7387 (exp_test_data): Likewise.
7388 (exp_test): Use ALL_RM_TEST.
7389 (exp_tonearest_test_data): Remove.
7390 (exp_test_tonearest): Likewise.
7391 (exp_towardzero_test_data): Likewise.
7392 (exp_test_towardzero): Likewise.
7393 (exp_downward_test_data): Likewise.
7394 (exp_test_downward): Likewise.
7395 (exp_upward_test_data): Likewise.
7396 (exp_test_upward): Likewise.
7397 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7398 (exp10_test): Use ALL_RM_TEST.
7399 (exp10_tonearest_test_data): Remove.
7400 (exp10_test_tonearest): Likewise.
7401 (exp10_towardzero_test_data): Likewise.
7402 (exp10_test_towardzero): Likewise.
7403 (exp10_downward_test_data): Likewise.
7404 (exp10_test_downward): Likewise.
7405 (exp10_upward_test_data): Likewise.
7406 (exp10_test_upward): Likewise.
7407 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7408 (expm1_test_data): Likewise.
7409 (expm1_test): Use ALL_RM_TEST.
7410 (expm1_tonearest_test_data): Remove.
7411 (expm1_test_tonearest): Likewise.
7412 (expm1_towardzero_test_data): Likewise.
7413 (expm1_test_towardzero): Likewise.
7414 (expm1_downward_test_data): Likewise.
7415 (expm1_test_downward): Likewise.
7416 (expm1_upward_test_data): Likewise.
7417 (expm1_test_upward): Likewise.
7418 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7419 (fma_test): Use ALL_RM_TEST.
7420 (fma_towardzero_test_data): Remove.
7421 (fma_test_towardzero): Likewise.
7422 (fma_downward_test_data): Likewise.
7423 (fma_test_downward): Likewise.
7424 (fma_upward_test_data): Likewise.
7425 (fma_test_upward): Likewise.
7426 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7427 (j0_test_data): Update call to AUTO_TESTS_f_f.
7428 (j1_test_data): Likewise.
7429 (jn_test_data): Update call to AUTO_TESTS_if_f.
7430 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7431 (log_test_data): Update call to AUTO_TESTS_f_f.
7432 (log10_test_data): Likewise.
7433 (log1p_test_data): Likewise.
7434 (log2_test_data): Likewise.
7435 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7436 (pow_tonearest_test_data): Likewise.
7437 (sin_test_data): Update call to AUTO_TESTS_f_f.
7438 (sin_test): Use ALL_RM_TEST.
7439 (sin_tonearest_test_data): Remove.
7440 (sin_test_tonearest): Likewise.
7441 (sin_towardzero_test_data): Likewise.
7442 (sin_test_towardzero): Likewise.
7443 (sin_downward_test_data): Likewise.
7444 (sin_test_downward): Likewise.
7445 (sin_upward_test_data): Likewise.
7446 (sin_test_upward): Likewise.
7447 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7448 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7449 (sinh_test): Use ALL_RM_TEST.
7450 (sinh_tonearest_test_data): Remove.
7451 (sinh_test_tonearest): Likewise.
7452 (sinh_towardzero_test_data): Likewise.
7453 (sinh_test_towardzero): Likewise.
7454 (sinh_downward_test_data): Likewise.
7455 (sinh_test_downward): Likewise.
7456 (sinh_upward_test_data): Likewise.
7457 (sinh_test_upward): Likewise.
7458 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7459 (sqrt_test): Use ALL_RM_TEST.
7460 (sqrt_tonearest_test_data): Remove.
7461 (sqrt_test_tonearest): Likewise.
7462 (sqrt_towardzero_test_data): Likewise.
7463 (sqrt_test_towardzero): Likewise.
7464 (sqrt_downward_test_data): Likewise.
7465 (sqrt_test_downward): Likewise.
7466 (sqrt_upward_test_data): Likewise.
7467 (sqrt_test_upward): Likewise.
7468 (tan_test_data): Update call to AUTO_TESTS_f_f.
7469 (tan_test): Use ALL_RM_TEST.
7470 (tan_tonearest_test_data): Remove.
7471 (tan_test_tonearest): Likewise.
7472 (tan_towardzero_test_data): Likewise.
7473 (tan_test_towardzero): Likewise.
7474 (tan_downward_test_data): Likewise.
7475 (tan_test_downward): Likewise.
7476 (tan_upward_test_data): Likewise.
7477 (tan_test_upward): Likewise.
7478 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7479 (tgamma_test_data): Likewise.
7480 (y0_test_data): Likewise.
7481 (y1_test_data): Likewise.
7482 (yn_test_data): Update call to AUTO_TESTS_if_f.
7483 (main): Do not call removed functions.
7484
d71aeee8
JM
74852014-03-19 Joseph Myers <joseph@codesourcery.com>
7486
7487 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7488 (ldexp_test_data): Remove.
7489 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7490 scalbn_test_data.
7491 (scalb_test): Use ALL_RM_TEST.
7492
baaf1ded
AS
74932014-03-19 Andreas Schwab <schwab@suse.de>
7494
7495 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7496
b1115e91
JM
74972014-03-19 Joseph Myers <joseph@codesourcery.com>
7498
7499 [BZ #16649]
7500 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7501 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7502 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7503 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7504 (__ASSUME_PREADV): Undefine.
7505 (__ASSUME_PWRITEV): Likewise.
7506
0283ecca
RM
75072014-03-18 Roland McGrath <roland@hack.frob.com>
7508
7d375303
RM
7509 * bits/mman-linux.h: Add comment about non-Linux use.
7510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7511 bits/mman-linux.h resting place.
7512
0283ecca
RM
7513 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7514 * bits/mman-linux.h: ... here.
7515
aebe1003
AZ
75162014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 * conform/conformtest.pl: Add standard definition when calling C
7519 preprocessor on data files.
7520 (checknamespace): Remove unused variable.
7521
b29b6bb8
JM
75222014-03-18 Joseph Myers <joseph@codesourcery.com>
7523
7524 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7525 minus_oflow, plus_uflow and minus_uflow in expected results.
7526 * math/libm-test.inc (scalbn_test_data): Add more tests of
7527 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7528 minus_uflow.
7529 (scalbn_test): Use ALL_RM_TEST.
7530 (scalbln_test_data): Add more tests of negative arguments. Use
7531 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7532 (scalbln_test): Use ALL_RM_TEST.
7533
c8f8fa15
RM
75342014-03-18 Roland McGrath <roland@hack.frob.com>
7535
7536 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7537
fede7a5f
WN
75382014-03-18 Will Newton <will.newton@linaro.org>
7539
7540 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7541 inaccurate comment.
7542
80cf0a58
JM
75432014-03-18 Joseph Myers <joseph@codesourcery.com>
7544
7545 * Makerules [!subdir] (check-abi): Exit with error status if a
7546 test failed.
7547
b3620862
JM
75482014-03-17 Joseph Myers <joseph@codesourcery.com>
7549
7550 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7551 for rint. Include results for all rounding modes.
7552 (nearbyint_test): Use ALL_RM_TEST.
7553 (rint_test_data): Include all tests used for nearbyint.
7554
788bba36
WN
75552014-03-17 Will Newton <will.newton@linaro.org>
7556
04ec140a
WN
7557 * nptl/sysdeps/pthread/pthread.h: Revert previous
7558 change.
7559
7579d8d5
WN
7560 * sysdeps/generic/ldsodefs.h: Revert previous
7561 change.
7562
c15cf13a
WN
7563 * libio/genops.c: Revert previous change.
7564 * libio/libioP.h: Likewise.
7565 * stdio-common/vfprintf.c: Likewise.
7566
d0ac1324
WN
7567 * sysdeps/generic/math_private.h: Revert previous
7568 change.
7569
9290130a
WN
7570 * sysdeps/generic/math_private.h: Check whether
7571 HAVE_RM_CTX is defined with #ifdef rather
7572 than #if.
7573
afb466fc
WN
7574 * argp/argp-fmtstream.h: Check whether
7575 __STRICT_ANSI__ is defined with #ifdef rather
7576 than #if.
7577 * argp/argp.h: Likewise.
7578
f7efd7c3
WN
7579 * libio/genops.c: Check whether
7580 _IO_JUMPS_OFFSET is defined with #ifdef rather
7581 than #if.
7582 * libio/libioP.h: Likewise.
7583 * stdio-common/vfprintf.c: Likewise.
7584
53f1bed3
WN
7585 * sysdeps/generic/ldsodefs.h: Check whether
7586 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7587 than #if.
7588
788bba36
WN
7589 * nptl/sysdeps/pthread/pthread.h: Check
7590 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7591 its value.
7592
fcd89ebe
SP
75932014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7594
ae42bbc5
SP
7595 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7596 setting O_APPEND.
7597 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7598 test case.
7599
ea33158c
SP
7600 [BZ #16680]
7601 * libio/fileops.c (_IO_file_open): Seek to end of file but
7602 don't cache the offset.
7603 (get_file_offset): Remove function.
7604 (do_ftell): Use cached offset when available.
7605 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7606 don't cache the offset.
7607 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7608 case.
7609 (do_one_test): Call it.
7610 (do_ftell_test): Fix up expected old offset for a+ mode.
7611 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7612 available.
7613
b1dbb426
SP
7614 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7615 up test status with function return status.
7616 (do_write_test): Likewise.
7617 (do_append_test): Likewise.
7618
fcd89ebe
SP
7619 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7620 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7621 Remove.
7622
9962a2d3
JM
76232014-03-17 Joseph Myers <joseph@codesourcery.com>
7624
7625 * math/gen-libm-test.pl (parse_args): Handle results specified for
7626 each rounding mode separately.
7627 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7628 tests and results from lrint_tonearest_test_data,
7629 lrint_towardzero_test_data, lrint_downward_test_data and
7630 lrint_upward_test_data.
7631 (lrint_test): Use ALL_RM_TEST.
7632 (lrint_tonearest_test_data): Remove.
7633 (lrint_test_tonearest): Likewise.
7634 (lrint_towardzero_test_data): Likewise.
7635 (lrint_test_towardzero): Likewise.
7636 (lrint_downward_test_data): Likewise.
7637 (lrint_test_downward): Likewise.
7638 (lrint_upward_test_data): Likewise.
7639 (lrint_test_upward): Likewise.
7640 (llrint_test_data): Merge in per-rounding-mode tests and results
7641 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7642 llrint_downward_test_data and llrint_upward_test_data.
7643 (llrint_test): Use ALL_RM_TEST.
7644 (llrint_tonearest_test_data): Remove.
7645 (llrint_test_tonearest): Likewise.
7646 (llrint_towardzero_test_data): Likewise.
7647 (llrint_test_towardzero): Likewise.
7648 (llrint_downward_test_data): Likewise.
7649 (llrint_test_downward): Likewise.
7650 (llrint_upward_test_data): Likewise.
7651 (llrint_test_upward): Likewise.
7652 (rint_test_data): Merge in per-rounding-mode tests and results
7653 from rint_tonearest_test_data, rint_towardzero_test_data,
7654 rint_downward_test_data and rint_upward_test_data. Add
7655 per-rounding-mode results for tests not in those arrays.
7656 (rint_test): Use ALL_RM_TEST.
7657 (rint_tonearest_test_data): Remove.
7658 (rint_test_tonearest): Likewise.
7659 (rint_towardzero_test_data): Likewise.
7660 (rint_test_towardzero): Likewise.
7661 (rint_downward_test_data): Likewise.
7662 (rint_test_downward): Likewise.
7663 (rint_upward_test_data): Likewise.
7664 (rint_test_upward): Likewise.
7665 (main): Don't call removed functions.
7666
5006148e
RM
76672014-03-14 Roland McGrath <roland@hack.frob.com>
7668
7669 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7670 "Compiled on ..." crapola. It is anti-useful.
7671
d6fe5e58
JM
76722014-03-14 Joseph Myers <joseph@codesourcery.com>
7673
7674 * scripts/evaluate-test.sh: Handle fourth argument to determine
7675 whether test run should stop on failure.
7676 * Makeconfig (stop-on-test-failure): New variable.
7677 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7678 $(stop-on-test-failure).
7679 * Makefile (tests): Give a summary of results from testing and
7680 exit with failure status if they include an ERROR or FAIL.
7681 (xtests): Likewise.
7682 * manual/install.texi (Configuring and compiling): Mention
7683 stop-on-test-failure=y.
7684 * INSTALL: Regenerated.
7685
498a2233
RM
76862014-03-14 Roland McGrath <roland@hack.frob.com>
7687
22dbc19d
RM
7688 * scripts/versionlist.awk: New file.
7689 * Makerules [$(build-shared) = yes]
7690 (postclean-generated): Add Versions.def, not Versions.def.v and
7691 Versions.def.v.i.
7692 ($(common-objpfx)Versions.def.v.i): Target removed.
7693 ($(common-objpfx)Versions.def): New target.
7694 ($(common-objpfx)Versions.all): Depend on that rather that
7695 $(common-objpfx)Versions.def.v.
7696 * Versions.def: File removed.
7697
498a2233
RM
7698 * Makeconfig (+gccwarn): Add -Wundef.
7699 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7700 a dl-sysdep.h breaking its contract.
7701 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7702 * include/stackinfo.h: New file.
7703 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7704 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7705 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7706 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7707 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7708 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7709 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7710 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7711 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7712 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7713 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7714 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7715 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7716 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7717 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7718
c7de5025
AZ
77192014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720
7721 [BZ #16707]
7722 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7723 implementation.
7724 * math/libm-test.inc (round_test_data): Add more tests.
7725
98fb27a3
AZ
7726 [BZ #16706]
7727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7728 implementation.
7729 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7730
374f7f61
AZ
7731 [BZ #16701]
7732 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7733 implementation.
7734 * math/libm-test.inc (ceil_test_data): Add more tests.
7735
4655c291
AZ
7736 * math/libm-test.inc (trunc_test_data): Add more tests related to
7737 BZ#16414.
7738
d7329d4b
RM
77392014-03-14 Roland McGrath <roland@hack.frob.com>
7740
7741 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7742 with #if rather than #ifdef.
7743 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7744
aa4de9ce
L
77452014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7748 first. Disable AVX-512 GCC support if assembler doesn't support
7749 it.
7750 * sysdeps/x86_64/configure: Regenerated.
7751
2e03fae7
CD
77522014-03-13 Carlos O'Donell <carlos@redhat.com>
7753
7754 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7755 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7756 (__old_pthread_attr_setstack): Likewise.
7757 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7758 [!_STACK_GROWS_DOWN]: Likewise.
7759
43ca83ec
MF
77602014-03-13 Mike Frysinger <vapier@gentoo.org>
7761
7762 * config.make.in (have-bash2): Delete.
7763 * configure.ac (libc_cv_have_bash2): Delete.
7764 * configure: Regenerate.
7765 * elf/Makefile (common-ldd-rewrite): Rename to ...
7766 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7767 (sh-ldd-rewrite): Delete.
7768 (bash-ldd-rewrite): Delete.
7769 (have-bash2): Delete checks.
57f41c40
AS
7770 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7771 ldd-rewrite.
c66e48b4
MF
7772
7773 * config.make.in (have-ksh): Delete.
7774 (KSH): Delete.
7775 * configure.ac (libc_cv_have_ksh): Delete.
7776 * configure: Regenerate.
7777
b93834ef
MF
7778 * elf/Makefile: Delete $(have-ksh) check.
7779 ($(objpfx)sotruss): Change KSH to BASH.
7780 * elf/sotruss.ksh: Rename to ...
7781 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7782 function style to match POSIX. Drop ksh vim mode setting.
7783
f3a4632a
MF
7784 * manual/time.texi (Specifying the Time Zone with TZ): Change
7785 Tuesday to Thursday.
7786
5896c8bd
MF
7787 * debug/tst-longjmp_chk2.c: Update header comment.
7788 (stackoverflow_handler): Add comment. Call assert on pass value.
7789
2d63a517
IZ
77902014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7791
7792 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7793 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7794 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7795 (La_x86_64_vector): Add zmm.
7796 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7797 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7798 ($(objpfx)tst-audit10): New target.
7799 ($(objpfx)tst-audit10.out): Likewise.
7800 (tst-audit10-ENV): New.
7801 (AVX512-CFLAGS): Likewise.
7802 (CFLAGS-tst-audit10.c): Likewise.
7803 (CFLAGS-tst-auditmod10a.c): Likewise.
7804 (CFLAGS-tst-auditmod10b.c): Likewise.
7805 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7806 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7807 * sysdeps/x86_64/configure: Regenerated.
7808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7809 AVX-512 zmm register support.
7810 (_dl_x86_64_save_sse): Likewise.
7811 (_dl_x86_64_restore_sse): Likewise.
7812 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7813 size vector registers.
7814 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7815 (ZMM_SIZE): Likewise.
7816 * sysdeps/x86_64/tst-audit10.c: New file.
7817 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7818 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7819
44c4e5d5
RM
78202014-03-13 Roland McGrath <roland@hack.frob.com>
7821
7822 * configure.ac (HAVE_EHDR_START): New check.
7823 * configure: Regenerated.
7824 * config.h.in (HAVE_EHDR_START): New #undef.
7825 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7826 assuming the lowest-addressed segment maps the start of the file.
7827
acd6e389
JM
78282014-03-13 Joseph Myers <joseph@codesourcery.com>
7829
7830 * INSTALL: Regenerated.
7831
6f918f36
WN
78322014-03-13 Will Newton <will.newton@linaro.org>
7833
7834 * manual/setjmp.texi (System V contexts): Improve
7835 clarity and grammar of documentation.
7836
798212a0
PP
78372014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7838
7839 [BZ #16381]
798212a0 7840 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7841 (tests-pie): Add tst-pie2.
798212a0
PP
7842 * elf/tst-pie2.c: New file.
7843 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7844 for ET_EXEC.
7845 * elf/rtld.c (map_doit): Load executable as lt_executable.
7846 (dl_main): Likewise.
7847
abe6d90c
JM
78482014-03-12 Joseph Myers <joseph@codesourcery.com>
7849
7850 [BZ #16642]
7851 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7852 (__ASSUME_PSELECT): Undefine.
7853
dd3946c6
AZ
78542014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7855
7856 [BZ #16689]
7857 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7858 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7859 static build.
7860 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7861 selector for static builds.
7862
c44496df
SP
78632014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7864
7865 [BZ #16695]
7866 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7867 key in the buffer.
7868
27c7220a
AZ
78692014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870
57f41c40
AS
7871 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7872 IFUNC selector for static builds.
27c7220a 7873
600fa361
JM
78742014-03-11 Joseph Myers <joseph@codesourcery.com>
7875
76c96cf7
JM
7876 * sysdeps/mips/math_private.h [__mips_hard_float]
7877 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7878 libc_feresetround_mips_ctx.
7879 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7880 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7881 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7882
600fa361
JM
7883 [BZ #16677]
7884 * math/s_nextafter.c (__nextafter): Do not return value from
7885 overflowing computation.
7886 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7887 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7889 Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7891 Likewise.
7892 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7893 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7894
d7706c32
RM
78952014-03-11 Roland McGrath <roland@hack.frob.com>
7896
7897 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7898 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7899 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7900 the new mov targetting sp.
7901
4facea47
AZ
79022014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7903
7904 [BZ #16683]
7905 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7906 Define it for static builds as well.
7907 (NO_BZERO_IMPL): Likewise.
7908
e65caf1f
VR
79092014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7910
7911 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7912 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7913 multiarch strspn for PPC64.
7914 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7915 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7917 (__libc_ifunc_impl_list): Likewise.
7918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7919 multiarch optimizations
7920 * string/strspn.c (strspn): Using macro to redefine symbol name.
7921
ba9cc071
AZ
79222014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7923 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7924
7925 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7926 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7927 multiarch strncat for PPC64.
7928 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7929 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7931 (__libc_ifunc_impl_list): Likewise.
7932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7933 multiarch optimizations
7934
8b4ff974
SP
79352014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7936
7937 [BZ #16639]
7938 * nscd/nscd.service: Make service type forking.
7939
54b46a4b
AZ
79402014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7941
7942 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7943 sign in non default rounding modes.
7944 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7945
e9996ef7
JM
79462014-03-08 Joseph Myers <joseph@codesourcery.com>
7947
7948 * math/libm-test.inc (ALL_RM_TEST): New macro.
7949 (ceil_test): Use ALL_RM_TEST.
7950 (cimag_test): Likewise.
7951 (conj_test): Likewise.
7952 (copysign_test): Likewise.
7953 (cproj_test): Likewise.
7954 (creal_test): Likewise.
7955 (fabs_test): Likewise.
7956 (floor_test): Likewise.
7957 (fmax_test): Likewise.
7958 (fmin_test): Likewise.
7959 (fmod_test): Likewise.
7960 (fpclassify_test): Likewise.
7961 (frexp_test): Likewise.
7962 (ilogb_test): Likewise.
7963 (isfinite_test): Likewise.
7964 (finite_test): Likewise.
7965 (isgreater_test): Likewise.
7966 (isgreaterequal_test): Likewise.
7967 (isinf_test): Likewise.
7968 (isless_test): Likewise.
7969 (islessequal_test): Likewise.
7970 (islessgreater_test): Likewise.
7971 (isnan_test): Likewise.
7972 (isnormal_test): Likewise.
7973 (issignaling_test): Likewise.
7974 (isunordered_test): Likewise.
7975 (logb_test): Likewise.
7976 (logb_downward_test_data): Remove.
7977 (logb_test_downward): Likewise.
7978 (lround_test): Use ALL_RM_TEST.
7979 (llround_test): Likewise.
7980 (modf_test): Likewise.
7981 (nexttoward_test): Likewise.
7982 (remainder_test): Likewise.
7983 (drem_test): Likewise.
7984 (remainder_tonearest_test_data): Likewise.
7985 (remainder_test_tonearest): Likewise.
7986 (drem_test_tonearest): Likewise.
7987 (remainder_towardzero_test_data): Likewise.
7988 (remainder_test_towardzero): Likewise.
7989 (drem_test_towardzero): Likewise.
7990 (remainder_downward_test_data): Likewise.
7991 (remainder_test_downward): Likewise.
7992 (drem_test_downward): Likewise.
7993 (remainder_upward_test_data): Likewise.
7994 (remainder_test_upward): Likewise.
7995 (drem_test_upward): Likewise.
7996 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7997 (round_test): Use ALL_RM_TEST.
7998 (signbit_test): Likewise.
7999 (trunc_test): Likewise.
8000 (significand_test): Likewise.
8001 (main): Don't call removed functions.
8002
bc61d27c
JM
80032014-03-07 Joseph Myers <joseph@codesourcery.com>
8004
5c780849
JM
8005 [BZ #16674]
8006 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8007 || __USE_XOPEN2K8].
8008 (ILL_ILLOPN): Likewise.
8009 (ILL_ILLADR): Likewise.
8010 (ILL_ILLTRP): Likewise.
8011 (ILL_PRVOPC): Likewise.
8012 (ILL_PRVREG): Likewise.
8013 (ILL_COPROC): Likewise.
8014 (ILL_BADSTK): Likewise.
8015 (FPE_INTDIV): Likewise.
8016 (FPE_INTOVF): Likewise.
8017 (FPE_FLTDIV): Likewise.
8018 (FPE_FLTOVF): Likewise.
8019 (FPE_FLTUND): Likewise.
8020 (FPE_FLTRES): Likewise.
8021 (FPE_FLTINV): Likewise.
8022 (FPE_FLTSUB): Likewise.
8023 (SEGV_MAPERR): Likewise.
8024 (SEGV_ACCERR): Likewise.
8025 (BUS_ADRALN): Likewise.
8026 (BUS_ADRERR): Likewise.
8027 (BUS_OBJERR): Likewise.
8028 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8029 (TRAP_TRACE): Likewise.
8030 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8031 __USE_XOPEN2K8].
8032 (CLD_KILLED): Likewise.
8033 (CLD_DUMPED): Likewise.
8034 (CLD_TRAPPED): Likewise.
8035 (CLD_STOPPED): Likewise.
8036 (CLD_CONTINUED): Likewise.
8037 (POLL_IN): Likewise.
8038 (POLL_OUT): Likewise.
8039 (POLL_MSG): Likewise.
8040 (POLL_ERR): Likewise.
8041 (POLL_PRI): Likewise.
8042 (POLL_HUP): Likewise.
8043 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8044 Likewise.
8045 (ILL_ILLOPN): Likewise.
8046 (ILL_ILLADR): Likewise.
8047 (ILL_ILLTRP): Likewise.
8048 (ILL_PRVOPC): Likewise.
8049 (ILL_PRVREG): Likewise.
8050 (ILL_COPROC): Likewise.
8051 (ILL_BADSTK): Likewise.
8052 (FPE_INTDIV): Likewise.
8053 (FPE_INTOVF): Likewise.
8054 (FPE_FLTDIV): Likewise.
8055 (FPE_FLTOVF): Likewise.
8056 (FPE_FLTUND): Likewise.
8057 (FPE_FLTRES): Likewise.
8058 (FPE_FLTINV): Likewise.
8059 (FPE_FLTSUB): Likewise.
8060 (SEGV_MAPERR): Likewise.
8061 (SEGV_ACCERR): Likewise.
8062 (BUS_ADRALN): Likewise.
8063 (BUS_ADRERR): Likewise.
8064 (BUS_OBJERR): Likewise.
8065 (BUS_MCEERR_AR): Likewise.
8066 (BUS_MCEERR_AO): Likewise.
8067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8068 (TRAP_TRACE): Likewise.
8069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8070 __USE_XOPEN2K8].
8071 (CLD_KILLED): Likewise.
8072 (CLD_DUMPED): Likewise.
8073 (CLD_TRAPPED): Likewise.
8074 (CLD_STOPPED): Likewise.
8075 (CLD_CONTINUED): Likewise.
8076 (POLL_IN): Likewise.
8077 (POLL_OUT): Likewise.
8078 (POLL_MSG): Likewise.
8079 (POLL_ERR): Likewise.
8080 (POLL_PRI): Likewise.
8081 (POLL_HUP): Likewise.
8082 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8083 (ILL_ILLOPN): Likewise.
8084 (ILL_ILLADR): Likewise.
8085 (ILL_ILLTRP): Likewise.
8086 (ILL_PRVOPC): Likewise.
8087 (ILL_PRVREG): Likewise.
8088 (ILL_COPROC): Likewise.
8089 (ILL_BADSTK): Likewise.
8090 (FPE_INTDIV): Likewise.
8091 (FPE_INTOVF): Likewise.
8092 (FPE_FLTDIV): Likewise.
8093 (FPE_FLTOVF): Likewise.
8094 (FPE_FLTUND): Likewise.
8095 (FPE_FLTRES): Likewise.
8096 (FPE_FLTINV): Likewise.
8097 (FPE_FLTSUB): Likewise.
8098 (SEGV_MAPERR): Likewise.
8099 (SEGV_ACCERR): Likewise.
8100 (BUS_ADRALN): Likewise.
8101 (BUS_ADRERR): Likewise.
8102 (BUS_OBJERR): Likewise.
8103 (BUS_MCEERR_AR): Likewise.
8104 (BUS_MCEERR_AO): Likewise.
8105 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8106 (TRAP_TRACE): Likewise.
8107 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8108 __USE_XOPEN2K8].
8109 (CLD_KILLED): Likewise.
8110 (CLD_DUMPED): Likewise.
8111 (CLD_TRAPPED): Likewise.
8112 (CLD_STOPPED): Likewise.
8113 (CLD_CONTINUED): Likewise.
8114 (POLL_IN): Likewise.
8115 (POLL_OUT): Likewise.
8116 (POLL_MSG): Likewise.
8117 (POLL_ERR): Likewise.
8118 (POLL_PRI): Likewise.
8119 (POLL_HUP): Likewise.
8120 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8121 Likewise.
8122 (ILL_ILLOPN): Likewise.
8123 (ILL_ILLADR): Likewise.
8124 (ILL_ILLTRP): Likewise.
8125 (ILL_PRVOPC): Likewise.
8126 (ILL_PRVREG): Likewise.
8127 (ILL_COPROC): Likewise.
8128 (ILL_BADSTK): Likewise.
8129 (ILL_BADIADDR): Likewise.
8130 (ILL_BREAK): Likewise.
8131 (FPE_INTDIV): Likewise.
8132 (FPE_INTOVF): Likewise.
8133 (FPE_FLTDIV): Likewise.
8134 (FPE_FLTOVF): Likewise.
8135 (FPE_FLTUND): Likewise.
8136 (FPE_FLTRES): Likewise.
8137 (FPE_FLTINV): Likewise.
8138 (FPE_FLTSUB): Likewise.
8139 (FPE_DECOVF): Likewise.
8140 (FPE_DECDIV): Likewise.
8141 (FPE_DECERR): Likewise.
8142 (FPE_INVASC): Likewise.
8143 (FPE_INVDEC): Likewise.
8144 (SEGV_MAPERR): Likewise.
8145 (SEGV_ACCERR): Likewise.
8146 (SEGV_PSTKOVF): Likewise.
8147 (BUS_ADRALN): Likewise.
8148 (BUS_ADRERR): Likewise.
8149 (BUS_OBJERR): Likewise.
8150 (BUS_MCEERR_AR): Likewise.
8151 (BUS_MCEERR_AO): Likewise.
8152 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8153 (TRAP_TRACE): Likewise.
8154 (TRAP_BRANCH): Likewise.
8155 (TRAP_HWBKPT): Likewise.
8156 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8157 __USE_XOPEN2K8].
8158 (CLD_KILLED): Likewise.
8159 (CLD_DUMPED): Likewise.
8160 (CLD_TRAPPED): Likewise.
8161 (CLD_STOPPED): Likewise.
8162 (CLD_CONTINUED): Likewise.
8163 (POLL_IN): Likewise.
8164 (POLL_OUT): Likewise.
8165 (POLL_MSG): Likewise.
8166 (POLL_ERR): Likewise.
8167 (POLL_PRI): Likewise.
8168 (POLL_HUP): Likewise.
8169 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8170 (ILL_ILLOPN): Likewise.
8171 (ILL_ILLADR): Likewise.
8172 (ILL_ILLTRP): Likewise.
8173 (ILL_PRVOPC): Likewise.
8174 (ILL_PRVREG): Likewise.
8175 (ILL_COPROC): Likewise.
8176 (ILL_BADSTK): Likewise.
8177 (FPE_INTDIV): Likewise.
8178 (FPE_INTOVF): Likewise.
8179 (FPE_FLTDIV): Likewise.
8180 (FPE_FLTOVF): Likewise.
8181 (FPE_FLTUND): Likewise.
8182 (FPE_FLTRES): Likewise.
8183 (FPE_FLTINV): Likewise.
8184 (FPE_FLTSUB): Likewise.
8185 (SEGV_MAPERR): Likewise.
8186 (SEGV_ACCERR): Likewise.
8187 (BUS_ADRALN): Likewise.
8188 (BUS_ADRERR): Likewise.
8189 (BUS_OBJERR): Likewise.
8190 (BUS_MCEERR_AR): Likewise.
8191 (BUS_MCEERR_AO): Likewise.
8192 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8193 (TRAP_TRACE): Likewise.
8194 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8195 __USE_XOPEN2K8].
8196 (CLD_KILLED): Likewise.
8197 (CLD_DUMPED): Likewise.
8198 (CLD_TRAPPED): Likewise.
8199 (CLD_STOPPED): Likewise.
8200 (CLD_CONTINUED): Likewise.
8201 (POLL_IN): Likewise.
8202 (POLL_OUT): Likewise.
8203 (POLL_MSG): Likewise.
8204 (POLL_ERR): Likewise.
8205 (POLL_PRI): Likewise.
8206 (POLL_HUP): Likewise.
8207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8208 (ILL_ILLOPN): Likewise.
8209 (ILL_ILLADR): Likewise.
8210 (ILL_ILLTRP): Likewise.
8211 (ILL_PRVOPC): Likewise.
8212 (ILL_PRVREG): Likewise.
8213 (ILL_COPROC): Likewise.
8214 (ILL_BADSTK): Likewise.
8215 (FPE_INTDIV): Likewise.
8216 (FPE_INTOVF): Likewise.
8217 (FPE_FLTDIV): Likewise.
8218 (FPE_FLTOVF): Likewise.
8219 (FPE_FLTUND): Likewise.
8220 (FPE_FLTRES): Likewise.
8221 (FPE_FLTINV): Likewise.
8222 (FPE_FLTSUB): Likewise.
8223 (SEGV_MAPERR): Likewise.
8224 (SEGV_ACCERR): Likewise.
8225 (BUS_ADRALN): Likewise.
8226 (BUS_ADRERR): Likewise.
8227 (BUS_OBJERR): Likewise.
8228 (BUS_MCEERR_AR): Likewise.
8229 (BUS_MCEERR_AO): Likewise.
8230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8231 (TRAP_TRACE): Likewise.
8232 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8233 __USE_XOPEN2K8].
8234 (CLD_KILLED): Likewise.
8235 (CLD_DUMPED): Likewise.
8236 (CLD_TRAPPED): Likewise.
8237 (CLD_STOPPED): Likewise.
8238 (CLD_CONTINUED): Likewise.
8239 (POLL_IN): Likewise.
8240 (POLL_OUT): Likewise.
8241 (POLL_MSG): Likewise.
8242 (POLL_ERR): Likewise.
8243 (POLL_PRI): Likewise.
8244 (POLL_HUP): Likewise.
8245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8246 (ILL_ILLOPN): Likewise.
8247 (ILL_ILLADR): Likewise.
8248 (ILL_ILLTRP): Likewise.
8249 (ILL_PRVOPC): Likewise.
8250 (ILL_PRVREG): Likewise.
8251 (ILL_COPROC): Likewise.
8252 (ILL_BADSTK): Likewise.
8253 (FPE_INTDIV): Likewise.
8254 (FPE_INTOVF): Likewise.
8255 (FPE_FLTDIV): Likewise.
8256 (FPE_FLTOVF): Likewise.
8257 (FPE_FLTUND): Likewise.
8258 (FPE_FLTRES): Likewise.
8259 (FPE_FLTINV): Likewise.
8260 (FPE_FLTSUB): Likewise.
8261 (SEGV_MAPERR): Likewise.
8262 (SEGV_ACCERR): Likewise.
8263 (BUS_ADRALN): Likewise.
8264 (BUS_ADRERR): Likewise.
8265 (BUS_OBJERR): Likewise.
8266 (BUS_MCEERR_AR): Likewise.
8267 (BUS_MCEERR_AO): Likewise.
8268 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8269 (TRAP_TRACE): Likewise.
8270 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8271 __USE_XOPEN2K8].
8272 (CLD_KILLED): Likewise.
8273 (CLD_DUMPED): Likewise.
8274 (CLD_TRAPPED): Likewise.
8275 (CLD_STOPPED): Likewise.
8276 (CLD_CONTINUED): Likewise.
8277 (POLL_IN): Likewise.
8278 (POLL_OUT): Likewise.
8279 (POLL_MSG): Likewise.
8280 (POLL_ERR): Likewise.
8281 (POLL_PRI): Likewise.
8282 (POLL_HUP): Likewise.
8283 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8284 (ILL_ILLOPN): Likewise.
8285 (ILL_ILLADR): Likewise.
8286 (ILL_ILLTRP): Likewise.
8287 (ILL_PRVOPC): Likewise.
8288 (ILL_PRVREG): Likewise.
8289 (ILL_COPROC): Likewise.
8290 (ILL_BADSTK): Likewise.
8291 (ILL_DBLFLT): Likewise.
8292 (ILL_HARDWALL): Likewise.
8293 (FPE_INTDIV): Likewise.
8294 (FPE_INTOVF): Likewise.
8295 (FPE_FLTDIV): Likewise.
8296 (FPE_FLTOVF): Likewise.
8297 (FPE_FLTUND): Likewise.
8298 (FPE_FLTRES): Likewise.
8299 (FPE_FLTINV): Likewise.
8300 (FPE_FLTSUB): Likewise.
8301 (SEGV_MAPERR): Likewise.
8302 (SEGV_ACCERR): Likewise.
8303 (BUS_ADRALN): Likewise.
8304 (BUS_ADRERR): Likewise.
8305 (BUS_OBJERR): Likewise.
8306 (BUS_MCEERR_AR): Likewise.
8307 (BUS_MCEERR_AO): Likewise.
8308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8309 (TRAP_TRACE): Likewise.
8310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8311 __USE_XOPEN2K8].
8312 (CLD_KILLED): Likewise.
8313 (CLD_DUMPED): Likewise.
8314 (CLD_TRAPPED): Likewise.
8315 (CLD_STOPPED): Likewise.
8316 (CLD_CONTINUED): Likewise.
8317 (POLL_IN): Likewise.
8318 (POLL_OUT): Likewise.
8319 (POLL_MSG): Likewise.
8320 (POLL_ERR): Likewise.
8321 (POLL_PRI): Likewise.
8322 (POLL_HUP): Likewise.
8323 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8324 (ILL_ILLOPN): Likewise.
8325 (ILL_ILLADR): Likewise.
8326 (ILL_ILLTRP): Likewise.
8327 (ILL_PRVOPC): Likewise.
8328 (ILL_PRVREG): Likewise.
8329 (ILL_COPROC): Likewise.
8330 (ILL_BADSTK): Likewise.
8331 (FPE_INTDIV): Likewise.
8332 (FPE_INTOVF): Likewise.
8333 (FPE_FLTDIV): Likewise.
8334 (FPE_FLTOVF): Likewise.
8335 (FPE_FLTUND): Likewise.
8336 (FPE_FLTRES): Likewise.
8337 (FPE_FLTINV): Likewise.
8338 (FPE_FLTSUB): Likewise.
8339 (SEGV_MAPERR): Likewise.
8340 (SEGV_ACCERR): Likewise.
8341 (BUS_ADRALN): Likewise.
8342 (BUS_ADRERR): Likewise.
8343 (BUS_OBJERR): Likewise.
8344 (BUS_MCEERR_AR): Likewise.
8345 (BUS_MCEERR_AO): Likewise.
8346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8347 (TRAP_TRACE): Likewise.
8348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8349 __USE_XOPEN2K8].
8350 (CLD_KILLED): Likewise.
8351 (CLD_DUMPED): Likewise.
8352 (CLD_TRAPPED): Likewise.
8353 (CLD_STOPPED): Likewise.
8354 (CLD_CONTINUED): Likewise.
8355 (POLL_IN): Likewise.
8356 (POLL_OUT): Likewise.
8357 (POLL_MSG): Likewise.
8358 (POLL_ERR): Likewise.
8359 (POLL_PRI): Likewise.
8360 (POLL_HUP): Likewise.
8361 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8362 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8363
bc61d27c
JM
8364 [BZ #16670]
8365 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8366 before #include of <time.h>.
8367 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8368 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8369 (test-xfail-UNIX98/sched.h/conform): Likewise.
8370
302949e2
MS
83712014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8372
8373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8374 error absence of trapping exception support.
8375 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8376
a00f522a
JM
83772014-03-07 Joseph Myers <joseph@codesourcery.com>
8378
6f99f280
JM
8379 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8380 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8381 * timezone/Makefile (testdata): Move definition above include of
8382 Rules.
8383 (test-zones): New variable.
8384 (tests-special): Add zone files.
8385 (build-testdata): Use $(evaluate-test).
8386
0b20a9e8
JM
8387 * elf/Makefile (tests-special): Rename tests to end with .out.
8388 ($(objpfx)noload-mem): Likewise.
8389 ($(objpfx)tst-leaks1-mem): Likewise.
8390 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8391 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8392 $(objpfx)test-iconvconfig.out.
8393 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8394 set -e inside subshell and redirect output to file.
8395 * iconvdata/Makefile (generated): Rename tests to end with .out.
8396 Correct type.
8397 (tests-special): Rename tests to end with .out.
8398 ($(objpfx)mtrace-tst-loading): Likewise.
8399 * intl/Makefile (generated): Likewise.
8400 (tests-special): Likewise.
8401 ($(objpfx)mtrace-tst-gettext): Likewise.
8402 * misc/Makefile (generated): Likewise.
8403 (tests-special): Likewise.
8404 ($(objpfx)tst-error1-mem): Likewise.
8405 * nptl/Makefile (tests-special): Likewise.
8406 ($(objpfx)tst-stack3-mem): Likewise.
8407 (generated): Likewise.
8408 * posix/Makefile (generated): Likewise.
8409 (tests-special): Likewise.
8410 (xtests-special): Likewise.
8411 ($(objpfx)tst-fnmatch-mem): Likewise.
8412 ($(objpfx)bug-regex2-mem): Likewise.
8413 ($(objpfx)bug-regex14-mem): Likewise.
8414 ($(objpfx)bug-regex21-mem): Likewise.
8415 ($(objpfx)bug-regex31-mem): Likewise.
8416 ($(objpfx)tst-vfork3-mem): Likewise.
8417 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8418 ($(objpfx)tst-pcre-mem): Likewise.
8419 ($(objpfx)tst-boost-mem): Likewise.
8420 ($(objpfx)bug-ga2-mem): Likewise.
8421 ($(objpfx)bug-glob2-mem): Likewise.
8422 * resolv/Makefile (generate): Likewise.
8423 (tests-special): Likewise.
8424 (xtests-special): Likewise.
8425 (generated): Likewise.
8426 ($(objpfx)mtrace-tst-leaks): Likewise.
8427 ($(objpfx)mtrace-tst-leaks2): Likewise.
8428
265d52ab
JM
8429 * scripts/merge-test-results.sh: New file.
8430 * Makefile (tests-special-notdir): New variable.
8431 (tests): Run merge-test-results.sh.
8432 (xtests): Likewise.
8433 * Rules (tests-special-notdir): New variable.
8434 (xtests-special-notdir): Likewise.
8435 (tests): Run merge-test-results.sh
8436 (xtests): Likewise.
8437
54ee292d
JM
8438 * Makeconfig (test-xfail-name): New variable.
8439 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8440 compute variable name for expected failures.
8441 * conform/Makefile (conformtest-headers-data): New variable.
8442 (conformtest-standards): Likewise.
8443 (conformtest-headers-ISO): Likewise.
8444 (conformtest-headers-ISO99): Likewise.
8445 (conformtest-headers-ISO11): Likewise.
8446 (conformtest-headers-POSIX): Likewise.
8447 (conformtest-headers-XPG3): Likewise.
8448 (conformtest-headers-XPG4): Likewise.
8449 (conformtest-headers-UNIX98): Likewise.
8450 (conformtest-headers-XOPEN2K): Likewise.
8451 (conformtest-headers-POSIX2008): Likewise.
8452 (conformtest-headers-XOPEN2K8): Likewise.
8453 (conformtest-header-list-base): Likewise.
8454 (conformtest-header-list-tests): Likewise.
8455 (conformtest-header-base): Likewise.
8456 (conformtest-header-tests): Likewise.
8457 (tests-special): Add $(conformtest-header-list-tests). If
8458 [$(fast-check) && !$(cross-compiling)], add
8459 $(conformtest-header-tests) instead of
8460 $(objpfx)run-conformtest.out.
8461 (generated): Add $(conformtest-header-list-base). If
8462 [$(fast-check) && !$(cross-compiling)], add
8463 $(conformtest-header-base). Remove previous setting.
8464 ($(conformtest-header-list-tests)): New target.
8465 (test-xfail-run-conformtest): Remove variable.
8466 ($(objpfx)run-conformtest.out): Remove target.
8467 (test-xfail-ISO11/complex.h/conform): New variable.
8468 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8469 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8470 (test-xfail-XPG3/varargs.h/conform): Likewise.
8471 (test-xfail-XPG4/varargs.h/conform): Likewise.
8472 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8473 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8474 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8475 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8476 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8477 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8478 (test-xfail-XPG3/ftw.h/conform): Likewise.
8479 (test-xfail-XPG3/grp.h/conform): Likewise.
8480 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8481 (test-xfail-XPG3/limits.h/conform): Likewise.
8482 (test-xfail-XPG3/pwd.h/conform): Likewise.
8483 (test-xfail-XPG3/search.h/conform): Likewise.
8484 (test-xfail-XPG3/signal.h/conform): Likewise.
8485 (test-xfail-XPG3/stdio.h/conform): Likewise.
8486 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8487 (test-xfail-XPG3/string.h/conform): Likewise.
8488 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8489 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8490 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8491 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8492 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8493 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8494 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8495 (test-xfail-XPG3/termios.h/conform): Likewise.
8496 (test-xfail-XPG3/time.h/conform): Likewise.
8497 (test-xfail-XPG3/unistd.h/conform): Likewise.
8498 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8499 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8500 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8501 (test-xfail-XPG4/netdb.h/conform): Likewise.
8502 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8503 (test-xfail-XPG4/signal.h/conform): Likewise.
8504 (test-xfail-XPG4/stdio.h/conform): Likewise.
8505 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8506 (test-xfail-XPG4/stropts.h/conform): Likewise.
8507 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8508 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8509 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8510 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8511 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8512 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8513 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8514 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8515 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8516 (test-xfail-XPG4/termios.h/conform): Likewise.
8517 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8518 (test-xfail-XPG4/unistd.h/conform): Likewise.
8519 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8520 (test-xfail-POSIX/sched.h/conform): Likewise.
8521 (test-xfail-POSIX/signal.h/conform): Likewise.
8522 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8523 (test-xfail-POSIX/tar.h/conform): Likewise.
8524 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8525 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8526 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8527 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8528 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8529 (test-xfail-UNIX98/sched.h/conform): Likewise.
8530 (test-xfail-UNIX98/signal.h/conform): Likewise.
8531 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8532 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8533 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8534 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8535 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8536 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8537 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8538 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8539 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8540 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8541 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8542 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8543 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8544 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8545 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8546 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8547 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8548 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8549 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8550 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8551 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8552 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8553 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8554 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8555 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8556 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8557 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8558 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8559 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8560 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8561 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8562 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8563 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8564 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8565 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8566 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8567 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8568 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8569 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8570 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8571 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8572 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8573 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8574 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8575 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8576 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8577 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8578 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8579 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8580 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8581 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8582 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8583 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8584 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8585 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8586 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8587 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8588 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8589 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8590 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8591 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8592 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8593 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8594 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8595 (conformtest-cc-flags): Likewise.
8596 ($(conformtest-header-tests): New target.
8597 * conform/check-header-lists.sh: New file.
8598 * conform/run-conformtest.sh: Remove.
8599
a00f522a
JM
8600 * conform/conformtest.pl: Allow ' and \ in values given for
8601 constants.
8602 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8603 inclusion.
8604 [POSIX] (sys/types.h): Likewise.
8605 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8606 inclusion.
8607 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8608 inclusion.
8609 * conform/data/signal.h-data (SIGIO): Remove expectation.
8610 [XPG3] (SIGBUS): Do not expect.
8611 [POSIX || XPG3] (SIGPOLL): Likewise.
8612 [POSIX || XPG3] (SIGPROF): Likewise.
8613 [POSIX || XPG3] (SIGSYS): Likewise.
8614 [XPG3] (SIGTRAP): Likewise.
8615 [POSIX || XPG3] (SIGURG): Likewise.
8616 [POSIX || XPG3] (SIGVTALRM): Likewise.
8617 [POSIX || XPG3] (SIGXCPU): Likewise.
8618 [POSIX || XPG3] (SIGXFSZ): Likewise.
8619 [POSIX] (SA_SIGINFO): Expect.
8620 [XPG3] (siginfo_t): Do not expect type or contents.
8621 [POSIX] (si_pid): Do not expect element.
8622 [POSIX] (si_uid): Likewise.
8623 [POSIX] (si_addr): Likewise.
8624 [POSIX] (si_status): Likewise.
8625 [POSIX] (si_band): Likewise.
8626 [XPG4] (si_value): Likewise.
8627 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8628 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8629 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8630 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8631 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8632 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8633 [POSIX || XPG3] (ILL_COPROC): Likewise.
8634 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8635 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8636 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8637 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8638 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8639 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8640 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8641 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8642 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8643 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8644 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8645 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8646 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8647 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8648 [POSIX || XPG3] (CLD_EXITED): Likewise.
8649 [POSIX || XPG3] (CLD_KILLED): Likewise.
8650 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8651 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8652 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8653 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8654 [POSIX || XPG3] (POLL_IN): Likewise.
8655 [POSIX || XPG3] (POLL_OUT): Likewise.
8656 [POSIX || XPG3] (POLL_MSG): Likewise.
8657 [POSIX || XPG3] (POLL_ERR): Likewise.
8658 [POSIX || XPG3] (POLL_PRI): Likewise.
8659 [POSIX || XPG3] (POLL_HUP): Likewise.
8660 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8661 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8662 (SIG*): Do not allow.
8663 [XPG3] (si_*): Likewise.
8664 [XPG3] (SI_*): Likewise.
8665 [XPG3 || XPG4] (sigev_*): Likewise.
8666 [XPG3 || XPG4] (SIGEV_*): Likewise.
8667 [XPG3 || XPG4] (sival_*): Likewise.
8668 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8669 [POSIX || XPG3] (BUS_*): Likewise.
8670 [POSIX || XPG3] (CLD_*): Likewise.
8671 [POSIX || XPG3] (FPE_*): Likewise.
8672 [POSIX || XPG3] (ILL_*): Likewise.
8673 [POSIX || XPG3] (POLL_*): Likewise.
8674 [POSIX || XPG3] (SEGV_*): Likewise.
8675 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8676 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8677 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8678 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8679 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8680 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8681 Specify type and value.
8682 (TVERSLEN): Likewise.
8683 (REGTYPE): Likewise.
8684 (AREGTYPE): Likewise.
8685 (LNKTYPE): Likewise.
8686 (SYMTYPE): Likewise.
8687 (CHRTYPE): Likewise.
8688 (BLKTYPE): Likewise.
8689 (DIRTYPE): Likewise.
8690 (FIFOTYPE): Likewise.
8691 (CONTTYPE): Likewise.
8692 (TSUID): Likewise.
8693 (TSGID): Likewise.
8694 (TSVTX): Likewise.
8695 (TUREAD): Likewise.
8696 (TUWRITE): Likewise.
8697 (TUEXEC): Likewise.
8698 (TGREAD): Likewise.
8699 (TGWRITE): Likewise.
8700 (TGEXEC): Likewise.
8701 (TOREAD): Likewise.
8702 (TOWRITE): Likewise.
8703 (TOEXEC): Likewise.
8704 [POSIX] (TSVTX): Expect constant.
8705
aa97dee1
JM
87062014-03-06 Joseph Myers <joseph@codesourcery.com>
8707
f214606a
JM
8708 * Makefile (tests): Change dependencies to ....
8709 (tests-special): ... additions to this variable.
8710 (tests): Depend on $(tests-special).
8711 * Makerules (check-abi-list): New variable.
8712 (check-abi): Depend on $(check-abi-list).
8713 [$(subdir) = elf] (tests-special): Add
8714 $(objpfx)check-abi-libc.out.
8715 [$(build-shared) = yes && subdir] (tests-special): Add
8716 $(check-abi-list).
8717 [$(build-shared) = yes && subdir] (tests): Do not depend on
8718 check-abi.
8719 * Rules (tests): Depend on $(tests-special).
8720 (xtests): Depend on $(xtests-special).
8721 * catgets/Makefile (tests): Change dependencies to ....
8722 (tests-special): ... additions to this variable.
8723 * conform/Makefile (tests): Change dependencies to ....
8724 (tests-special): ... additions to this variable.
8725 * elf/Makefile (tests): Change dependencies to ....
8726 (tests-special): ... additions to this variable.
8727 * grp/Makefile (tests): Change dependencies to ....
8728 (tests-special): ... additions to this variable.
8729 * iconv/Makefile (xtests): Change dependencies to ....
8730 (xtests-special): ... additions to this variable.
8731 * iconvdata/Makefile (tests): Change dependencies to ....
8732 (tests-special): ... additions to this variable.
8733 * intl/Makefile (tests): Change dependencies to ....
8734 (tests-special): ... additions to this variable. Also add
8735 $(objpfx)tst-gettext.out.
8736 * io/Makefile (tests): Change dependencies to ....
8737 (tests-special): ... additions to this variable.
8738 * libio/Makefile (tests): Change dependencies to ....
8739 (tests-special): ... additions to this variable.
8740 * malloc/Makefile (tests): Change dependencies to ....
8741 (tests-special): ... additions to this variable.
8742 * misc/Makefile (tests): Change dependencies to ....
8743 (tests-special): ... additions to this variable.
8744 * nptl/Makefile (tests): Change dependencies to ....
8745 (tests-special): ... additions to this variable.
8746 * nptl_db/Makefile (tests): Change dependencies to ....
8747 (tests-special): ... additions to this variable.
8748 * posix/Makefile (tests): Change dependencies to ....
8749 (tests-special): ... additions to this variable.
8750 (xtests): Change dependencies to ....
8751 (xtests-special): ... additions to this variable.
8752 * resolv/Makefile (tests): Change dependencies to ....
8753 (tests-special): ... additions to this variable.
8754 (xtests): Change dependencies to ....
8755 (xtests-special): ... additions to this variable.
8756 * stdio-common/Makefile (tests): Change dependencies to ....
8757 (tests-special): ... additions to this variable.
8758 (do-tst-unbputc): Remove target.
8759 (do-tst-printf): Likewise.
8760 * stdlib/Makefile (tests): Change dependencies to ....
8761 (tests-special): ... additions to this variable.
8762 * string/Makefile (tests): Change dependencies to ....
8763 (tests-special): ... additions to this variable.
8764 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8765 (tests-special): ... additions to this variable.
8766
81700b53
JM
8767 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8768 whole file.
8769 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8770 whole file.
8771 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8772 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8773
2ea18461
JM
8774 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8775 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8776 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8777 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8778 * conform/data/libgen.h-data [XPG3]: Likewise.
8779 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8780 * conform/data/ndbm.h-data [XPG3]: Likewise.
8781 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8782 * conform/data/netdb.h-data [XPG3]: Likewise.
8783 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8784 * conform/data/poll.h-data [XPG3]: Likewise.
8785 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8786 * conform/data/strings.h-data [XPG3]: Likewise.
8787 * conform/data/stropts.h-data [XPG3]: Likewise.
8788 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8789 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8790 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8791 Likewise.
8792 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8793 * conform/data/sys/time.h-data [XPG3]: Likewise.
8794 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8795 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8796 * conform/data/sys/un.h-data [XPG3]: Likewise.
8797 * conform/data/syslog.h-data [XPG3]: Likewise.
8798 * conform/data/ucontext.h-data [XPG3]: Likewise.
8799 * conform/data/utmpx.h-data [XPG3]: Likewise.
8800 * conform/data/varargs.h-data [UNIX98]: Enable file.
8801
355bc986
JM
8802 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8803
215db402
JM
8804 * math/libm-test.inc (struct test_f_f_data): Move expected results
8805 into structure for each rounding mode.
8806 (struct test_ff_f_data): Likewise.
8807 (struct test_ff_f_data_nexttoward): Likewise.
8808 (struct test_fi_f_data): Likewise.
8809 (struct test_fl_f_data): Likewise.
8810 (struct test_if_f_data): Likewise.
8811 (struct test_fff_f_data): Likewise.
8812 (struct test_c_f_data): Likewise.
8813 (struct test_f_f1_data): Likewise.
8814 (struct test_fF_f1_data): Likewise.
8815 (struct test_ffI_f1_data): Likewise.
8816 (struct test_c_c_data): Likewise.
8817 (struct test_cc_c_data): Likewise.
8818 (struct test_f_i_data): Likewise.
8819 (struct test_ff_i_data): Likewise.
8820 (struct test_f_l_data): Likewise.
8821 (struct test_f_L_data): Likewise.
8822 (struct test_fFF_11_data): Likewise.
8823 (RM_): New macro.
8824 (RM_FE_DOWNWARD): Likewise.
8825 (RM_FE_TONEAREST): Likewise.
8826 (RM_FE_TOWARDZERO): Likewise.
8827 (RM_FE_UPWARD): Likewise.
8828 (RUN_TEST_LOOP_f_f): Update references to expected results.
8829 (RUN_TEST_LOOP_2_f): Likewise.
8830 (RUN_TEST_LOOP_fff_f): Likewise.
8831 (RUN_TEST_LOOP_c_f): Likewise.
8832 (RUN_TEST_LOOP_f_f1): Likewise.
8833 (RUN_TEST_LOOP_fF_f1): Likewise.
8834 (RUN_TEST_LOOP_fI_f1): Likewise.
8835 (RUN_TEST_LOOP_ffI_f1): Likewise.
8836 (RUN_TEST_LOOP_c_c): Likewise.
8837 (RUN_TEST_LOOP_cc_c): Likewise.
8838 (RUN_TEST_LOOP_f_i): Likewise.
8839 (RUN_TEST_LOOP_f_i_tg): Likewise.
8840 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8841 (RUN_TEST_LOOP_f_b): Likewise.
8842 (RUN_TEST_LOOP_f_b_tg): Likewise.
8843 (RUN_TEST_LOOP_f_l): Likewise.
8844 (RUN_TEST_LOOP_f_L): Likewise.
8845 (RUN_TEST_LOOP_fFF_11): Likewise.
8846 * math/gen-libm-test.pl (parse_args): Output four copies of
8847 expected results for each test.
8848
67737b8f
JM
8849 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8850 (__ASSUME_UTIMES): Remove.
8851 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8852 (__ASSUME_UTIMES): Likewise.
8853
aa97dee1
JM
8854 * math/gen-auto-libm-tests.c: Update comment on output format.
8855 (output_for_one_input_case): Generate before-rounding and
8856 after-rounding information as conditions on output flags not
8857 floating-point format.
8858 * math/auto-libm-test-out: Regenerated.
8859 * math/gen-libm-test.pl (cond_value): New function.
8860 (or_cond_value): Use cond_value.
8861 (generate_testfile): Handle conditional exceptions.
8862
e6b6a857
JM
88632014-03-05 Joseph Myers <joseph@codesourcery.com>
8864
2f0a0f44
JM
8865 * math/libm-test.inc (max_valid_error): New variable.
8866 (init_max_error): Take new argument specifying whether function
8867 results are exactly determined. Set max_valid_error and bound
8868 other variables for errors based on this argument.
8869 (set_max_error): Do not record results above max_valid_error.
8870 (check_float_internal): Only accept errors of up to 0.5ulps if
8871 also at most max_valid_error.
8872 (START): Take new argument EXACT and pass it to init_max_error.
8873 (acos_test): Update call to START.
8874 (acos_test_tonearest): Likewise.
8875 (acos_test_towardzero): Likewise.
8876 (acos_test_downward): Likewise.
8877 (acos_test_upward): Likewise.
8878 (acosh_test): Likewise.
8879 (asin_test): Likewise.
8880 (asin_test_tonearest): Likewise.
8881 (asin_test_towardzero): Likewise.
8882 (asin_test_downward): Likewise.
8883 (asin_test_upward): Likewise.
8884 (asinh_test): Likewise.
8885 (atan_test): Likewise.
8886 (atanh_test): Likewise.
8887 (atan2_test): Likewise.
8888 (cabs_test): Likewise.
8889 (cacos_test): Likewise.
8890 (cacosh_test): Likewise.
8891 (carg_test): Likewise.
8892 (casin_test): Likewise.
8893 (casinh_test): Likewise.
8894 (catan_test): Likewise.
8895 (catanh_test): Likewise.
8896 (cbrt_test): Likewise.
8897 (ccos_test): Likewise.
8898 (ccosh_test): Likewise.
8899 (ceil_test): Likewise.
8900 (cexp_test): Likewise.
8901 (cimag_test): Likewise.
8902 (clog_test): Likewise.
8903 (clog10_test): Likewise.
8904 (conj_test): Likewise.
8905 (copysign_test): Likewise.
8906 (cos_test): Likewise.
8907 (cos_test_tonearest): Likewise.
8908 (cos_test_towardzero): Likewise.
8909 (cos_test_downward): Likewise.
8910 (cos_test_upward): Likewise.
8911 (cosh_test): Likewise.
8912 (cosh_test_tonearest): Likewise.
8913 (cosh_test_towardzero): Likewise.
8914 (cosh_test_downward): Likewise.
8915 (cosh_test_upward): Likewise.
8916 (cpow_test): Likewise.
8917 (cproj_test): Likewise.
8918 (creal_test): Likewise.
8919 (csin_test): Likewise.
8920 (csinh_test): Likewise.
8921 (csqrt_test): Likewise.
8922 (ctan_test): Likewise.
8923 (ctan_test_tonearest): Likewise.
8924 (ctan_test_towardzero): Likewise.
8925 (ctan_test_downward): Likewise.
8926 (ctan_test_upward): Likewise.
8927 (ctanh_test): Likewise.
8928 (ctanh_test_tonearest): Likewise.
8929 (ctanh_test_towardzero): Likewise.
8930 (ctanh_test_downward): Likewise.
8931 (ctanh_test_upward): Likewise.
8932 (erf_test): Likewise.
8933 (erfc_test): Likewise.
8934 (exp_test): Likewise.
8935 (exp_test_tonearest): Likewise.
8936 (exp_test_towardzero): Likewise.
8937 (exp_test_downward): Likewise.
8938 (exp_test_upward): Likewise.
8939 (exp10_test): Likewise.
8940 (exp10_test_tonearest): Likewise.
8941 (exp10_test_towardzero): Likewise.
8942 (exp10_test_downward): Likewise.
8943 (exp10_test_upward): Likewise.
8944 (pow10_test): Likewise.
8945 (exp2_test): Likewise.
8946 (expm1_test): Likewise.
8947 (expm1_test_tonearest): Likewise.
8948 (expm1_test_towardzero): Likewise.
8949 (expm1_test_downward): Likewise.
8950 (expm1_test_upward): Likewise.
8951 (fabs_test): Likewise.
8952 (fdim_test): Likewise.
8953 (floor_test): Likewise.
8954 (fma_test): Likewise.
8955 (fma_test_towardzero): Likewise.
8956 (fma_test_downward): Likewise.
8957 (fma_test_upward): Likewise.
8958 (fmax_test): Likewise.
8959 (fmin_test): Likewise.
8960 (fmod_test): Likewise.
8961 (fpclassify_test): Likewise.
8962 (frexp_test): Likewise.
8963 (hypot_test): Likewise.
8964 (ilogb_test): Likewise.
8965 (isfinite_test): Likewise.
8966 (finite_test): Likewise.
8967 (isgreater_test): Likewise.
8968 (isgreaterequal_test): Likewise.
8969 (isinf_test): Likewise.
8970 (isless_test): Likewise.
8971 (islessequal_test): Likewise.
8972 (islessgreater_test): Likewise.
8973 (isnan_test): Likewise.
8974 (isnormal_test): Likewise.
8975 (issignaling_test): Likewise.
8976 (isunordered_test): Likewise.
8977 (j0_test): Likewise.
8978 (j1_test): Likewise.
8979 (jn_test): Likewise.
8980 (ldexp_test): Likewise.
8981 (lgamma_test): Likewise.
8982 (gamma_test): Likewise.
8983 (lrint_test): Likewise.
8984 (lrint_test_tonearest): Likewise.
8985 (lrint_test_towardzero): Likewise.
8986 (lrint_test_downward): Likewise.
8987 (lrint_test_upward): Likewise.
8988 (llrint_test): Likewise.
8989 (llrint_test_tonearest): Likewise.
8990 (llrint_test_towardzero): Likewise.
8991 (llrint_test_downward): Likewise.
8992 (llrint_test_upward): Likewise.
8993 (log_test): Likewise.
8994 (log10_test): Likewise.
8995 (log1p_test): Likewise.
8996 (log2_test): Likewise.
8997 (logb_test): Likewise.
8998 (logb_test_downward): Likewise.
8999 (lround_test): Likewise.
9000 (llround_test): Likewise.
9001 (modf_test): Likewise.
9002 (nearbyint_test): Likewise.
9003 (nextafter_test): Likewise.
9004 (nexttoward_test): Likewise.
9005 (pow_test): Likewise.
9006 (pow_test_tonearest): Likewise.
9007 (pow_test_towardzero): Likewise.
9008 (pow_test_downward): Likewise.
9009 (pow_test_upward): Likewise.
9010 (remainder_test): Likewise.
9011 (drem_test): Likewise.
9012 (remainder_test_tonearest): Likewise.
9013 (drem_test_tonearest): Likewise.
9014 (remainder_test_towardzero): Likewise.
9015 (drem_test_towardzero): Likewise.
9016 (remainder_test_downward): Likewise.
9017 (drem_test_downward): Likewise.
9018 (remainder_test_upward): Likewise.
9019 (drem_test_upward): Likewise.
9020 (remquo_test): Likewise.
9021 (rint_test): Likewise.
9022 (rint_test_tonearest): Likewise.
9023 (rint_test_towardzero): Likewise.
9024 (rint_test_downward): Likewise.
9025 (rint_test_upward): Likewise.
9026 (round_test): Likewise.
9027 (scalb_test): Likewise.
9028 (scalbn_test): Likewise.
9029 (scalbln_test): Likewise.
9030 (signbit_test): Likewise.
9031 (sin_test): Likewise.
9032 (sin_test_tonearest): Likewise.
9033 (sin_test_towardzero): Likewise.
9034 (sin_test_downward): Likewise.
9035 (sin_test_upward): Likewise.
9036 (sincos_test): Likewise.
9037 (sinh_test): Likewise.
9038 (sinh_test_tonearest): Likewise.
9039 (sinh_test_towardzero): Likewise.
9040 (sinh_test_downward): Likewise.
9041 (sinh_test_upward): Likewise.
9042 (sqrt_test): Likewise.
9043 (sqrt_test_tonearest): Likewise.
9044 (sqrt_test_towardzero): Likewise.
9045 (sqrt_test_downward): Likewise.
9046 (sqrt_test_upward): Likewise.
9047 (tan_test): Likewise.
9048 (tan_test_tonearest): Likewise.
9049 (tan_test_towardzero): Likewise.
9050 (tan_test_downward): Likewise.
9051 (tan_test_upward): Likewise.
9052 (tanh_test): Likewise.
9053 (tgamma_test): Likewise.
9054 (trunc_test): Likewise.
9055 (y0_test): Likewise.
9056 (y1_test): Likewise.
9057 (yn_test): Likewise.
9058 (significand_test): Likewise.
9059
e6b6a857
JM
9060 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9061 individual tests in comment.
9062 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9063 (prev_max_error): New variable.
9064 (prev_real_max_error): Likewise.
9065 (prev_imag_max_error): Likewise.
9066 (compare_ulp_data): Don't refer to test names in comment.
9067 (find_test_ulps): Remove function.
9068 (find_function_ulps): Likewise.
9069 (find_complex_function_ulps): Likewise.
9070 (init_max_error): Take function name as argument. Look up ulps
9071 for that function.
9072 (print_ulps): Remove function.
9073 (print_max_error): Use prev_max_error instead of calling
9074 find_function_ulps.
9075 (print_complex_max_error): Use prev_real_max_error and
9076 prev_imag_max_error instead of calling find_complex_function_ulps.
9077 (check_float_internal): Take max_ulp parameter instead of calling
9078 find_test_ulps. Don't call print_ulps.
9079 (check_float): Update call to check_float_internal.
9080 (check_complex): Update calls to check_float_internal.
9081 (START): Pass argument to init_max_error.
9082 * math/gen-libm-test.pl (%results): Don't include "kind"
9083 information.
9084 (parse_ulps): Don't handle ulps of individual tests.
9085 (print_ulps_file): Likewise.
9086 (output_ulps): Likewise.
9087 * math/README.libm-test: Update.
9088 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9089 individual tests.
9090 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9091 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9092 * sysdeps/arm/libm-test-ulps: Likewise.
9093 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9094 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9095 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9096 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9097 * sysdeps/microblaze/libm-test-ulps: Likewise.
9098 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9099 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9100 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9101 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9102 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9103 * sysdeps/sh/libm-test-ulps: Likewise.
9104 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9105 * sysdeps/tile/libm-test-ulps: Likewise.
9106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9107
45adef3c
JM
91082014-03-04 Joseph Myers <joseph@codesourcery.com>
9109
9110 * math/libm-test.inc (print_complex_max_error): Check separately
9111 whether real and imaginary errors are within allowed range and
9112 pass 0 to print_complex_function_ulps instead of value within
9113 allowed range.
9114
000232b9
SP
91152014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9116
d4b17258
SP
9117 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9118 formatting.
9119 (get_handles_fopen): Likewise.
9120 (do_write_test): Likewise.
9121
091eff71
SP
9122 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9123
fa3cd248
SP
9124 * libio/fileops.c (do_ftell): Use cached offset when
9125 available.
9126 * libio/iofwide.c (do_ftell_wide): Likewise.
9127 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9128 _IO_file_attach.
9129 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9130
000232b9
SP
9131 [BZ #16532]
9132 * libio/libioP.h (get_file_offset): New function.
9133 * libio/fileops.c (get_file_offset): Likewise.
9134 (do_ftell): Likewise.
9135 (_IO_new_file_seekoff): Split out ftell logic.
9136 * libio/wfileops.c (do_ftell_wide): Likewise.
9137 (_IO_wfile_seekoff): Split out ftell logic.
9138 * libio/tst-ftell-active-handler.c: New test case.
9139 * libio/Makefile (tests): Add it.
9140
116f4d1a
RM
91412014-03-03 Roland McGrath <roland@hack.frob.com>
9142
9143 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9144 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9145
532a6035
SP
91462014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9147
9148 [BZ #16639]
9149 * nscd/connections.c (nscd_init): Call do_exit.
9150 (start_threads): Call do_exit and notify_parent.
9151 (begin_drop_privileges): Call do_exit.
9152 (finish_drop_privileges): Likewise.
9153 * nscd/selinux.c (preserve_capabilities): Likewise.
9154 (install_real_capabilities): Likewise.
9155 (nscd_selinux_enabled): Likewise.
9156 (avc_create_thread): Likewise.
9157 (avc_alloc_lock): Likewise.
9158 (nscd_avc_init): Likewise.
9159 * nscd/nscd.c (parent_fd): New static variable.
9160 (main): Create a pipe between parent and child processes.
9161 Skip closing parent_fd.
9162 (monitor_child): New function.
9163 (do_exit): Likewise.
9164 (notify_parent): Likewise.
9165 * nscd/nscd.h (notify_parent): Likewise.
9166 (do_exit): Likewise.
9167
d6285c9f
CD
91682014-03-03 Carlos O'Donell <carlos@redhat.com>
9169
9170 * malloc/malloc.c (__libc_calloc): Revert last change.
9171
2b85d2a0
AZ
91722014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173
9174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9175
c7debbdf
RS
91762014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9177
9178 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9180 implementation.
9181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9182 (__libc_ifunc_impl_list): Likewise.
9183 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9184 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9185 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9186 * string/strrchr.c: Define STRRCHR.
9187
235eed86
OB
91882014-02-28 Ondřej Bílka <neleai@seznam.cz>
9189
9190 * benchtest/bench-strtok.c (simple_strtok): Delete.
9191 (strtok_string): Use as benchmark.
9192 * string/strtok (STRTOK): New macro.
9193
8e25d1e7
CD
91942014-02-28 Carlos O'Donell <carlos@redhat.com>
9195
ef563f92
CD
9196 * manual/threads.texi: Add header and standard comments to all
9197 functions.
9198
8e25d1e7
CD
9199 * elf/dl-lookup.c (check_match): New function.
9200 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9201 (do_lookup_x): Remove nested function check_match. Use non-nested
9202 function check_match.
9203
ff71cc37
RM
92042014-02-28 Roland McGrath <roland@hack.frob.com>
9205
f08e9a26
RM
9206 * csu/Makefile (generated, before-compile): Use += rather than =.
9207 * catgets/Makefile (generated, generated-dirs): Likewise.
9208 * debug/Makefile (generated): Likewise.
9209 * dlfcn/Makefile (generated): Likewise.
9210 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9211 * iconvdata/Makefile (before-compile, generated): Likewise.
9212 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9213 * libio/Makefile (generated): Likewise.
9214 * malloc/Makefile (generated): Likewise.
9215 * manual/Makefile (generated, generated-dirs): Likewise.
9216 * misc/Makefile (generated): Likewise.
9217 * posix/Makefile (generated): Likewise.
9218 * resolv/Makefile (generated): Likewise.
9219 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9220 * timezone/Makefile (generated, generated-dirs): Likewise.
9221
ff71cc37
RM
9222 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9223
fe13a20c
AZ
92242014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9225
57f41c40
AS
9226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9227 power8 implementation.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9229 file: POWER8 llround ifunc implementation.
9230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9231 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9233 POWER8 llround implementation.
9234
57f41c40
AS
9235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9236 power8 implementation.
9237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9238 file: POWER8 llrint ifunc implementation.
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9240 Add POWER8 implementation.
1ad8950a
AZ
9241 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9242 POWER8 llrint implementation.
9243
57f41c40
AS
9244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9245 power8 implementation.
9246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9247 file: POWER8 finite ifunc implementation.
9248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9249 Add POWER8 implementation.
cac626d6
AZ
9250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9251 Likewise.
9252 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9253 POWER8 finite implementation.
9254 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9255
57f41c40
AS
9256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9257 power8 implementation.
9258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9259 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9261 POWER8 implementation.
9262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9263 Likewise.
57f41c40
AS
9264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9265 isinf implementation.
4393fc11
AZ
9266 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9267
57f41c40
AS
9268 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9269 (INIT_ARCH): Add hwcap2 initialization.
9270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9271 power8 implementation.
9272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9273 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9275 POWER8 implementation.
9276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9277 Likewise.
57f41c40
AS
9278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9279 isnan implementation.
487972ae
AZ
9280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9281
7d92b787
JY
92822014-02-27 Joey Ye <joey.ye@arm.com>
9283
9284 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9285 (_FP_NANFRAC_Q): Set to zero.
9286
1cadc858
SP
92872014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9288
9289 [BZ #16623]
9290 * math/auto-libm-test-in: New test inputs.
9291 * math/auto-libm-test-out: Regenerate.
9292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9293 and DA.
9294 (__cos): Likewise.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9296
f8c17e79
JM
92972014-02-27 Joseph Myers <joseph@codesourcery.com>
9298
9299 * scripts/evaluate-test.sh: Take new argument indicating whether
9300 failure is expected.
9301 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9302 indicating whether failure is expected.
9303 * conform/Makefile (test-xfail-run-conformtest): New variable.
9304 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9305 level.
9306 * posix/Makefile (test-xfail-annexc): New variable.
9307 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9308
a5f891ac
JM
93092014-02-26 Joseph Myers <joseph@codesourcery.com>
9310
9311 * argp/Makefile: Include Makeconfig immediately after defining
9312 subdir.
9313 * assert/Makefile: Likewise.
9314 * benchtests/Makefile: Likewise.
9315 * catgets/Makefile: Likewise.
9316 * conform/Makefile: Likewise.
9317 * crypt/Makefile: Likewise.
9318 * csu/Makefile: Likewise.
9319 (all): Remove target.
9320 * ctype/Makefile: Include Makeconfig immediately after defining
9321 subdir.
9322 * debug/Makefile: Likewise.
9323 * dirent/Makefile: Likewise.
9324 * dlfcn/Makefile: Likewise.
9325 * gmon/Makefile: Likewise.
9326 * gnulib/Makefile: Likewise.
9327 * grp/Makefile: Likewise.
9328 * gshadow/Makefile: Likewise.
9329 * hesiod/Makefile: Likewise.
9330 * hurd/Makefile: Likewise.
9331 (all): Remove target.
9332 * iconvdata/Makefile: Include Makeconfig immediately after
9333 defining subdir.
9334 * inet/Makefile: Likewise.
9335 * intl/Makefile: Likewise.
9336 * io/Makefile: Likewise.
9337 * libio/Makefile: Likewise.
9338 (all): Remove target.
9339 * locale/Makefile: Include Makeconfig immediately after defining
9340 subdir.
9341 * login/Makefile: Likewise.
9342 * mach/Makefile: Likewise.
9343 (all): Remove target.
9344 * malloc/Makefile: Include Makeconfig immediately after defining
9345 subdir.
9346 (all): Remove target.
9347 * manual/Makefile: Include Makeconfig immediately after defining
9348 subdir.
9349 * math/Makefile: Likewise.
9350 * misc/Makefile: Likewise.
9351 * nis/Makefile: Likewise.
9352 * nss/Makefile: Likewise.
9353 * po/Makefile: Likewise.
9354 (all): Remove target.
9355 * posix/Makefile: Include Makeconfig immediately after defining
9356 subdir.
9357 * pwd/Makefile: Likewise.
9358 * resolv/Makefile: Likewise.
9359 * resource/Makefile: Likewise.
9360 * rt/Makefile: Likewise.
9361 * setjmp/Makefile: Likewise.
9362 * shadow/Makefile: Likewise.
9363 * signal/Makefile: Likewise.
9364 * socket/Makefile: Likewise.
9365 * soft-fp/Makefile: Likewise.
9366 * stdio-common/Makefile: Likewise.
9367 * stdlib/Makefile: Likewise.
9368 * streams/Makefile: Likewise.
9369 * string/Makefile: Likewise.
9370 * sunrpc/Makefile: Likewise.
9371 (all): Remove target.
9372 * sysvipc/Makefile: Include Makeconfig immediately after defining
9373 subdir.
9374 * termios/Makefile: Likewise.
9375 * time/Makefile: Likewise.
9376 * timezone/Makefile: Likewise.
9377 (all): Remove target.
9378 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9379 subdir.
9380 * wctype/Makefile: Likewise.
9381
5b456e9d
SE
93822014-02-26 Steve Ellcey <sellcey@mips.com>
9383
9384 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9385 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9386 (libc_feholdexcept_setround_mips): Ditto.
9387 (libc_feholdsetround): New.
9388 (libc_feholdsetroundf): New.
9389 (libc_feholdsetroundl): New.
9390 (libc_feupdateenv_test_mips): New.
9391 (libc_feupdateenv_test): New.
9392 (libc_feupdateenv_testf): New.
9393 (libc_feupdateenv_testl): New.
9394 (libc_feresetround): New.
9395 (libc_feresetroundf): New.
9396 (libc_feresetroundl): New.
9397 (libc_fetestexcept_mips): New.
9398 (libc_fetestexcept): New.
9399 (libc_fetestexceptf): New.
9400 (libc_fetestexceptl): New.
9401 (HAVE_RM_CTX): New.
9402 (libc_feholdexcept_setround_mips_ctx): New.
9403 (libc_feholdexcept_setround_ctx): New.
9404 (libc_feholdexcept_setroundf_ctx): New.
9405 (libc_feholdexcept_setroundl_ctx): New.
9406 (libc_fesetenv_mips_ctx): New.
9407 (libc_fesetenv_ctx): New.
9408 (libc_fesetenv_ctxf): New.
9409 (libc_fesetenv_ctxl): New.
9410 (libc_feupdateenv_mips_ctx): New.
9411 (libc_feupdateenv_ctx): New.
9412 (libc_feupdateenvf_ctx): New.
9413 (libc_feupdateenvl_ctx): New.
9414 (libc_feholdsetround_mips_ctx): New.
9415 (libc_feholdsetround_ctx): New.
9416 (libc_feholdsetroundf_ctx): New.
9417 (libc_feholdsetroundl_ctx): New.
9418 (libc_feresetround_mips_ctx): New.
9419 (libc_feresetround_ctx): New.
9420 (libc_feresetroundf_ctx): New.
9421 (libc_feresetroundl_ctx): New.
9422
085d0e35
CD
94232014-02-26 Carlos O'Donell <carlos@redhat.com>
9424
f067bf1f
CD
9425 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9426
085d0e35
CD
9427 * manual/ipc.texi: New file.
9428 * manual/Makefile (chapters): Add ipc.
9429 * manual/job.texi: Add "Inter-Process Communication" to next.
9430 * manual/process.texi: Add "Inter-Process Communication" to prev.
9431
86e58c08
AZ
94322014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9433
9434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9435
4248f0da
OB
94362014-02-26 Ondřej Bílka <neleai@seznam.cz>
9437
9438 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9439
cf822e3c
OB
9440 * manual/arith.texi: Fix spaces after sentences.
9441 * manual/charset.texi: Likewise.
9442 * manual/errno.texi: Likewise.
9443 * manual/install.texi: Likewise.
9444 * manual/llio.texi: Likewise.
9445 * manual/locale.texi: Likewise.
9446 * manual/maint.texi: Likewise.
9447 * manual/math.texi: Likewise.
9448 * manual/memory.texi: Likewise.
9449 * manual/message.texi: Likewise.
9450 * manual/probes.texi: Likewise.
9451 * manual/resource.texi: Likewise.
9452 * manual/signal.texi: Likewise.
9453 * manual/socket.texi: Likewise.
9454 * manual/stdio.texi: Likewise.
9455 * manual/string.texi: Likewise.
9456 * manual/time.texi: Likewise.
9457 * manual/users.texi: Likewise.
9458
ade40b10
CD
94592014-02-25 Carlos O'Donell <carlos@redhat.com>
9460
9461 [BZ #16632]
9462 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9463 _DEFAULT_SOURCE is defined.
9464
d0503676
CD
94652014-02-25 Ulrich Drepper <drepper@gmail.com>
9466 Carlos O'Donell <carlos@redhat.com>
9467
9468 [BZ #16613]
9469 * elf/dl-tls.c (_dl_count_modids): New function.
9470 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9471 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9472 audit library and increment generation counter.
9473 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9474 * elf/tst-audit9.c: New file.
9475 * elf/tst-auditmod9a.c: New file.
9476 * elf/tst-auditmod9b.c: New file.
9477 * elf/Makefile: Add rules to build and run tst-audit9.
9478
4cbf380c
FW
94792014-02-25 Florian Weimer <fweimer@redhat.com>
9480
9481 [BZ #15347]
9482 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9483
80a56cc3
WN
94842014-02-25 Will Newton <will.newton@linaro.org>
9485
9486 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9487 (__longjmp): Restore sp and lr before restoring callee
9488 saved registers. Add longjmp and longjmp_target
9489 SystemTap probe point.
9490 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9491 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9492 Define to zero to match jmpbuf layout.
9493 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9494 (__sigsetjmp): Save sp and lr before saving callee
9495 saved registers. Add setjmp SystemTap probe point.
9496
3ea0f74e
SL
94972014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9498
9499 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9500
b04acb26
AS
95012014-02-24 Andreas Schwab <schwab@suse.de>
9502
9503 [BZ #15804]
9504 * elf/pldd.c (wait_for_ptrace_stop): New function.
9505 (main): Call it after attaching.
9506
098ad55c
RM
95072014-02-22 Roland McGrath <roland@hack.frob.com>
9508
d4ec6ae1
RM
9509 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9510 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9511 Versions files is now verboten.
9512 * hurd/Versions (libc: GLIBC_2.0):
9513 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9514 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9515 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9516 * mach/Versions: Likewise.
9517
098ad55c
RM
9518 * csu/Versions: Remove unused %include.
9519 * resolv/Versions: Likewise.
9520
acd7f096
JM
95212014-02-21 Joseph Myers <joseph@codesourcery.com>
9522
f0881698
JM
9523 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9524 ($(objpfx)check-local-headers.out): Likewise.
9525 ($(objpfx)begin-end-check.out): Likewise.
9526 * Makerules (check-abi-%.out): Likewise.
9527 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9528 ($(objpfx)test2.cat): Likewise.
9529 ($(objpfx)de/libc.cat): Likewise.
9530 ($(objpfx)test-gencat.out): Likewise.
9531 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9532 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9533 ($(objpfx)noload-mem): Likewise.
9534 ($(objpfx)tst-pathopt.out): Likewise.
9535 ($(objpfx)tst-rtld-load-self.out): Likewise.
9536 ($(objpfx)tst-array1-cmp.out): Likewise.
9537 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9538 ($(objpfx)tst-array2-cmp.out): Likewise.
9539 ($(objpfx)tst-array3-cmp.out): Likewise.
9540 ($(objpfx)tst-array4-cmp.out): Likewise.
9541 ($(objpfx)tst-array5-cmp.out): Likewise.
9542 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9543 ($(objpfx)check-textrel.out): Likewise.
9544 ($(objpfx)check-execstack.out): Likewise.
9545 ($(objpfx)check-localplt.out): Likewise.
9546 ($(objpfx)order2-cmp.out): Likewise.
9547 ($(objpfx)tst-leaks1-mem): Likewise.
9548 ($(objpfx)tst-leaks1-static-mem): Likewise.
9549 ($(objpfx)tst-initorder-cmp.out): Likewise.
9550 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9551 ($(objpfx)tst-unused-dep.out): Likewise.
9552 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9553 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9554 * iconv/Makefile (test-iconvconfig): Likewise.
9555 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9556 ($(objpfx)iconv-test.out): Likewise.
9557 ($(objpfx)tst-tables.out): Likewise.
9558 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9559 ($(objpfx)tst-gettext.out): Likewise.
9560 ($(objpfx)tst-translit.out): Likewise.
9561 ($(objpfx)tst-gettext2.out): Likewise.
9562 ($(objpfx)tst-gettext4.out): Likewise.
9563 ($(objpfx)tst-gettext6.out): Likewise.
9564 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9565 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9566 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9567 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9568 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9569 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9570 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9571 ($(objpfx)wordexp-tst.out): Likewise.
9572 ($(objpfx)annexc.out): Likewise.
9573 ($(objpfx)tst-fnmatch-mem): Likewise.
9574 ($(objpfx)bug-regex2-mem): Likewise.
9575 ($(objpfx)bug-regex14-mem): Likewise.
9576 ($(objpfx)bug-regex21-mem): Likewise.
9577 ($(objpfx)bug-regex31-mem): Likewise.
9578 ($(objpfx)tst-vfork3-mem): Likewise.
9579 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9580 ($(objpfx)tst-pcre-mem): Likewise.
9581 ($(objpfx)tst-boost-mem): Likewise.
9582 ($(objpfx)tst-getconf.out): Likewise.
9583 ($(objpfx)bug-ga2-mem): Likewise.
9584 ($(objpfx)bug-glob2-mem): Likewise.
9585 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9586 ($(objpfx)mtrace-tst-leaks2): Likewise.
9587 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9588 ($(objpfx)tst-printf.out): Likewise.
9589 ($(objpfx)tst-setvbuf1.out): Likewise.
9590 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9591 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9592 ($(objpfx)tst-fmtmsg.out): Likewise.
9593 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9594 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9595
acd7f096
JM
9596 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9597 * bits/sigaction.h [__USE_MISC]: Likewise.
9598 * bits/waitstatus.h: Update #endif comments.
9599 * ctype/ctype.h: Likewise.
9600 * dirent/dirent.h: Likewise.
9601 [__USE_MISC]: Remove redundant conditionals.
9602 * grp/grp.h: Update #endif comments.
9603 [__USE_GNU]: Remove redundant conditionals.
9604 [__USE_MISC]: Likewise.
9605 * inet/netinet/in.h [__USE_GNU]: Likewise.
9606 * io/sys/stat.h [__USE_MISC]: Likewise.
9607 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9608 * libio/bits/stdio.h: Update #endif comments.
9609 [__USE_MISC]: Remove redundant conditionals.
9610 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9611 * libio/stdio.h: Update #endif comments.
9612 [__USE_MISC]: Remove redundant conditionals.
9613 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9614 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9615 * math/math.h: Update #else and #endif comments.
9616 [__USE_MISC]: Remove redundant conditionals.
9617 * misc/sys/uio.h: Update #endif comments.
9618 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9619 * posix/glob.h [__USE_MISC]: Likewise.
9620 * posix/sys/types.h: Update #endif comments.
9621 [__USE_MISC]: Remove redundant conditionals.
9622 * posix/sys/wait.h: Update #endif comments.
9623 [__USE_MISC]: Remove redundant conditionals.
9624 * posix/unistd.h: Update #endif comments.
9625 [__USE_MISC]: Remove redundant conditionals.
9626 * pwd/pwd.h [__USE_GNU]: Likewise.
9627 [__USE_MISC]: Likewise.
9628 * resolv/netdb.h [__USE_GNU]: Likewise.
9629 * signal/signal.h: Update #endif comments.
9630 [__USE_MISC]: Remove redundant conditionals.
9631 * stdlib/stdlib.h: Update #else and #endif comments.
9632 [__USE_MISC]: Remove redundant conditionals.
9633 [__USE_GNU]: Likewise.
9634 * string/bits/string2.h [__USE_MISC]: Likewise.
9635 * string/string.h: Update #endif comments.
9636 [__USE_MISC]: Remove redundant conditionals.
9637 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9638 Likewise.
9639 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9640 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9641 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9642 Likewise.
9643 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9644 Likewise.
9645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9646 comments.
9647 [__USE_MISC]: Remove redundant conditionals.
9648 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9649 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9650 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9651 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9652 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9653 Likewise.
9654 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9655 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9656 Likewise.
9657 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9659 Likewise.
9660 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9661 Likewise.
9662 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9663 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9664 Likewise.
9665 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9666 Likewise.
9667 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9668 * sysdeps/x86/bits/string.h: Update #endif comments.
9669 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9670 conditionals.
9671 * time/sys/time.h: Update #endif comments.
9672 * time/time.h: Likewise.
9673 [__USE_MISC]: Remove redundant conditionals.
9674
a5d82e4e
YG
96752014-02-21 Yury Gribov <y.gribov@samsung.com>
9676
9677 [BZ #16600]
9678 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9679
9a80491d
AS
96802014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9681
9682 * Versions.def (librt): Add GLIBC_2.17.
9683
105fa381
AC
96842014-02-21 Adam Conrad <adconrad@0c3.net>
9685
9686 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9687 synonym for _SYS_AUXV_H to allow direct inclusion.
9688 * sysdeps/sparc/bits/hwcap.h: Likewise.
9689 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9690 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9691 * sysdeps/sparc/sysdep.h: Likewise.
9692
b8cd1c4e
SP
96932014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9694
9695 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9696
bd939d23
RS
96972014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9698
9699 * benchtests/bench-strrchr.c: Print length instead of position.
9700
5d7b57ca
JM
97012014-02-20 Joseph Myers <joseph@codesourcery.com>
9702
bc688c10
JM
9703 [BZ #16611]
9704 * sysdeps/unix/sysv/linux/kernel-features.h
9705 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9706 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9707 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9708 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9709 Likewise.
9710 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9711 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9712 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9713 (__ASSUME_SENDMMSG): Define instead of using previous
9714 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9715 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9716 (__ASSUME_SENDMMSG_SYSCALL): Define.
9717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9718 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9719 Likewise.
9720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9721 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9722 Likewise.
9723 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9724 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9725 Likewise.
9726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9727 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9728 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9729 [__ASSUME_SENDMMSG]: Change conditionals to
9730 [__ASSUME_SENDMMSG_SOCKETCALL].
9731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9732 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9733 Define.
9734 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9735 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9736 Likewise.
9737 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9738 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9739 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9740 [!__ASSUME_SENDMMSG]: Change conditional to
9741 [!__ASSUME_SENDMMSG_SOCKETCALL].
9742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9743 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9744 Define.
9745
0e31b18c
JM
9746 [BZ #16610]
9747 * sysdeps/unix/sysv/linux/kernel-features.h
9748 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9749 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9750 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9751 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9752 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9753 [__i386__ || __sparc__]
9754 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9755 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9756 (__ASSUME_RECVMMSG): Define instead of using previous
9757 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9758 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9759 (__ASSUME_RECVMMSG_SYSCALL): Define.
9760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9762 Likewise.
9763 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9764 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9767 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9770 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9771 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9772 [__ASSUME_RECVMMSG]: Change condition to
9773 [__ASSUME_RECVMMSG_SOCKETCALL].
9774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9776 Define.
9777 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9778 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9780 Likewise.
9781 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9782 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9783 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9784 [!__ASSUME_RECVMMSG]: Change condition to
9785 [!__ASSUME_RECVMMSG_SOCKETCALL].
9786 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9787 (__ASSUME_RECVMMSG_SYSCALL): Define.
9788
dd481ccf
JM
9789 [BZ #16609]
9790 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9791 __powerpc__ || __s390__ || __sh__ || __sparc__]
9792 (__ASSUME_SOCKETCALL): Define.
9793 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9794 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9795 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9796 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9797 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9798 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9799 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9800 (__ASSUME_ACCEPT4): Define instead of using previous
9801 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9802 __powerpc__ || __sparc__ || __s390__)] condition.
9803 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9804 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9805 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9806 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9807 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9808 [!__ASSUME_ACCEPT4]: Change condition to
9809 [!__ASSUME_ACCEPT4_SOCKETCALL].
9810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9811 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9812 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9814 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9815 __ASSUME_ACCEPT4_SYSCALL.
9816 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9817 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9818 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9819 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9820 __ASSUME_ACCEPT4_SYSCALL.
9821 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9822 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9823 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9824 [__ASSUME_ACCEPT4]: Change condition to
9825 [__ASSUME_ACCEPT4_SOCKETCALL].
9826 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9827 (__ASSUME_SOCKETCALL): Define.
9828 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9830 (__ASSUME_SOCKETCALL): Define.
9831 (__ASSUME_ACCEPT4): Remove.
9832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9833 Define.
9834 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9835 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9836 Likewise.
9837 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9838 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9839
5d7b57ca
JM
9840 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9841 macro.
9842 (HWCAP_ARM_LPAE): Likewise.
9843 (HWCAP_ARM_EVTSTRM): Likewise.
9844 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9845 Add vpfd32, lpae and evtstrm.
9846 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9847 Increase to 22.
9848
63689d61
JM
98492014-02-19 Joseph Myers <joseph@codesourcery.com>
9850
9851 * math/auto-libm-test-in: Add tests of clog10.
9852 * math/auto-libm-test-out: Regenerated.
9853 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9856
ab09bf61
AS
98572014-02-18 Andreas Schwab <schwab@suse.de>
9858
9859 [BZ #16574]
9860 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9861 Store non-zero if the second buffer was newly allocated.
9862 (send_dg): Likewise.
9863 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9864 to send_vc and send_dg.
9865 (res_nsend): Pass NULL for ansp2_malloced.
9866 * resolv/res_query.c (__libc_res_nquery): Add parameter
9867 answerp2_malloced and pass it down to __libc_res_nsend.
9868 (res_nquery): Pass additional NULL to __libc_res_nquery.
9869 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9870 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9871 second answer buffer if answerp2_malloced was set.
9872 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9873 (__libc_res_nquerydomain): Add parameter
9874 answerp2_malloced and pass it down to __libc_res_nquery.
9875 (res_nquerydomain): Pass additional NULL to
9876 __libc_res_nquerydomain.
9877 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9878 additional NULL to __libc_res_nsend and __libc_res_nquery.
9879 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9880 additional NULL to __libc_res_nsearch.
9881 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9882 parameter of __libc_res_nsearch to check for separately allocated
9883 second buffer.
9884 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9885 __libc_res_nquery.
9886 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9887 additional NULL to __libc_res_nquery.
9888 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9889 __libc_res_nsearch.
9890 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9891 * include/resolv.h: Update prototypes of __libc_res_nquery,
9892 __libc_res_nsearch, __libc_res_nsend.
9893
a4fb7861
JM
98942014-02-18 Joseph Myers <joseph@codesourcery.com>
9895
c6af2d89
JM
9896 * math/auto-libm-test-in: Add tests of fma.
9897 * math/auto-libm-test-out: Regenerated.
9898 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9899 (fma_towardzero_test_data): Likewise.
9900 (fma_downward_test_data): Likewise.
9901 (fma_upward_test_data): Likewise.
9902 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9903 mpc_mode.
9904 (rounding_modes): Add values for new field.
9905 (func_calc_method): Add value mpfr_fff_f.
9906 (func_calc_desc): Add mpfr_fff_f union field.
9907 (test_function): Add field exact_args.
9908 (FUNC): Add macro argument EXACT_ARGS.
9909 (FUNC_mpfr_f_f): Update call to FUNC.
9910 (FUNC_mpfr_f_f): Likewise.
9911 (FUNC_mpfr_ff_f): Likewise.
9912 (FUNC_mpfr_if_f): Likewise.
9913 (FUNC_mpc_c_f): Likewise.
9914 (FUNC_mpc_c_c): Likewise.
9915 (test_functions): Add fma. Update calls to FUNC.
9916 (handle_input_arg): Add argument exact_args.
9917 (add_test): Update call to handle_input_arg.
9918 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9919 (output_for_one_input_case): Update call to calc_generic_results.
9920 Recalculate exact zero results in each rounding mode.
9921
a4fb7861
JM
9922 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9923 non-negative before setting low bit.
9924 * math/auto-libm-test-in: Mark one asin test possibly having
9925 spurious underflow.
9926 * math/auto-libm-test-out: Regenerated.
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929
ef114eaf
DH
99302014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9931
2b7f4f2c
SP
9932 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9933 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9934 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9935 * README: Add missing listing for microblaze*-*-linux-gnu.
9936
8125aedc
AM
99372014-02-16 Ondřej Bílka <neleai@seznam.cz>
9938
9939 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9940 duplicate code
9941
c70a4b1d
MF
99422014-02-16 Mike Frysinger <vapier@gentoo.org>
9943
9944 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9945 * sysdeps/unix/sysv/linux/ia64: Move directory from
9946 ports/sysdeps/unix/sysv/linux/ia64.
9947 * README: Update listing for ia64-*-linux-gnu.
9948
591aeaf7
TD
99492014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9950 Joseph Myers <joseph@codesourcery.com>
9951
9952 * Makeconfig (test-name): New variable.
9953 (evaluate-test): Likewise.
9954 * Makerules (do-test-clean): Remove .test-result files.
9955 (common-mostlyclean): Likewise.
9956 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9957 * scripts/evaluate-test.sh: New file.
9958
6e89caf1
JM
99592014-02-14 Joseph Myers <joseph@codesourcery.com>
9960
7f98f180
JM
9961 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9962 separate $(objpfx)tst-fopenloc-cmp.out and
9963 $(objpfx)tst-fopenloc-mem.out targets.
9964 (tests): Update dependencies.
9965 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9966 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9967 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9968 (tst-rxspencer-no-utf8-ARGS): New variable.
9969 (tst-rxspencer-no-utf8-ENV): Likewise.
9970 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9971 instead of $(objpfx)tst-rxspencer-mem.
9972 ($(objpfx)tst-rxspencer-mem): Change target to
9973 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9974 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9975 * posix/tst-rxspencer-no-utf8.c: New file.
9976
6e89caf1
JM
9977 * elf/Makefile ($(objpfx)order.out): Remove rule.
9978 [$(run-built-tests) = yes] (tests): Depend on
9979 $(objpfx)order-cmp.out.
9980 ($(objpfx)order-cmp.out): New rule.
9981 [$(run-built-tests) = yes] (tests): Depend on
9982 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9983 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9984 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9985 $(objpfx)tst-array5-static-cmp.out.
9986 ($(objpfx)tst-array1.out): Remove rule.
9987 ($(objpfx)tst-array1-cmp.out): New rule.
9988 ($(objpfx)tst-array1-static.out): Remove rule.
9989 ($(objpfx)tst-array1-static-cmp.out): New rule.
9990 ($(objpfx)tst-array2.out): Remove rule.
9991 ($(objpfx)tst-array2-cmp.out): New rule.
9992 ($(objpfx)tst-array3.out): Remove rule.
9993 ($(objpfx)tst-array3-cmp.out): New rule.
9994 ($(objpfx)tst-array4.out): Remove rule.
9995 ($(objpfx)tst-array4-cmp.out): New rule.
9996 ($(objpfx)tst-array5.out): Remove rule.
9997 ($(objpfx)tst-array5-cmp.out): New rule.
9998 ($(objpfx)tst-array5-static.out): Remove rule.
9999 ($(objpfx)tst-array5-static-cmp.out): New rule.
10000 [$(run-built-tests) = yes] (tests): Depend on
10001 $(objpfx)order2-cmp.out.
10002 ($(objpfx)order2.out): Remove rule.
10003 ($(objpfx)order2-cmp.out): New rule.
10004 ($(objpfx)tst-initorder.out): Remove rule.
10005 [$(run-built-tests) = yes] (tests): Depend on
10006 $(objpfx)tst-initorder-cmp.out.
10007 ($(objpfx)tst-initorder-cmp.out): New rule.
10008 ($(objpfx)tst-initorder2.out): Remove rule.
10009 [$(run-built-tests) = yes] (tests): Depend on
10010 $(objpfx)tst-initorder2-cmp.out.
10011 ($(objpfx)tst-initorder2-cmp.out): New rule.
10012 [$(run-built-tests) = yes] (tests): Depend on
10013 $(objpfx)tst-unused-dep-cmp.out.
10014 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10015 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10016 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10017 on $(objpfx)tst-setvbuf1-cmp.out.
10018 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10019 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10020 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10021 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10022 ($(objpfx)tst-svc.out): Remove rule.
10023 ($(objpfx)tst-svc-cmp.out): New rule.
10024
ed9a38e2
JM
100252014-02-13 Joseph Myers <joseph@codesourcery.com>
10026
10027 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10028 * ctype/ctype.h [__USE_MISC]: Likewise.
10029 * dirent/dirent.h [__USE_MISC]: Likewise.
10030 * grp/grp.h [__USE_MISC]: Likewise.
10031 * io/fcntl.h [__USE_MISC]: Likewise.
10032 * io/sys/stat.h [__USE_MISC]: Likewise.
10033 * libio/stdio.h [__USE_MISC]: Likewise.
10034 * posix/unistd.h [__USE_MISC]: Likewise.
10035 * pwd/pwd.h [__USE_MISC]: Likewise.
10036 * stdlib.h [__USE_MISC]: Likewise.
10037 * string/bits/string2.h [__USE_MISC]: Likewise.
10038 * string/string.h [__USE_MISC]: Likewise.
10039 * time/time.h [__USE_MISC]: Likewise.
10040
d6680619
AS
100412014-02-13 Andreas Schwab <schwab@suse.de>
10042
10043 [BZ #16574]
10044 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10045 second answer buffer if it was separately allocated.
10046
ace614b8
JM
100472014-02-12 Joseph Myers <joseph@codesourcery.com>
10048
743151ae
JM
10049 * sysdeps/mips/math-tests.h: Include <features.h>.
10050 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10051 (ROUNDING_TESTS_long_double): Do not define.
10052 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10053 (EXCEPTION_TESTS_long_double): Likewise.
10054 * sysdeps/mips/mips64/libm-test-ulps: Update.
10055
498afc54
JM
10056 * include/features.h (__USE_BSD): Remove macro definitions.
10057 (__USE_SVID): Likewise.
10058 (_BSD_SOURCE): Likewise.
10059 (_SVID_SOURCE): Likewise.
10060 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10061 from definition of _DEFAULT_SOURCE.
10062 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10063 [_DEFAULT_SOURCE].
10064 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10065 * bits/mman.h [__USE_BSD]: Likewise.
10066 * bits/termios.h [__USE_BSD]: Likewise.
10067 * bits/waitstatus.h [__USE_BSD]: Likewise.
10068 * ctype/ctype.h [__USE_SVID]: Likewise.
10069 * dirent/dirent.h [__USE_BSD]: Likewise.
10070 * grp/grp.h [__USE_SVID]: Likewise.
10071 [__USE_BSD]: Likewise.
10072 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10073 * io/fcntl.h [__USE_BSD]: Likewise.
10074 * io/ftw.h [__USE_BSD]: Likewise.
10075 * io/sys/stat.h [__USE_BSD]: Likewise.
10076 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10077 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10078 * libio/stdio.h [__USE_SVID]: Likewise.
10079 [__USE_BSD]: Likewise.
10080 * math/math.h [__USE_SVID]: Likewise.
10081 [__USE_BSD]: Likewise.
10082 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10083 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10084 * misc/search.h [__USE_SVID]: Likewise.
10085 * misc/sys/mman.h [__USE_BSD]: Likewise.
10086 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10087 * misc/sys/uio.h [__USE_BSD]: Likewise.
10088 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10089 * posix/glob.h [__USE_BSD]: Likewise.
10090 * posix/regex.h [__USE_BSD]: Likewise.
10091 * posix/sys/types.h [__USE_BSD]: Likewise.
10092 [__USE_SVID]: Likewise.
10093 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10094 * posix/sys/wait.h [__USE_BSD]: Likewise.
10095 [__USE_SVID]: Likewise.
10096 * posix/unistd.h [__USE_BSD]: Likewise.
10097 [__USE_SVID]: Likewise.
10098 * pwd/pwd.h [__USE_SVID]: Likewise.
10099 * resolv/netdb.h [__USE_BSD]: Likewise.
10100 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10101 * signal/signal.h [__USE_BSD]: Likewise.
10102 [__USE_SVID]: Likewise.
10103 * socket/sys/socket.h [__USE_BSD]: Likewise.
10104 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10105 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10106 [__USE_SVID]: Likewise.
10107 * string/bits/string2.h [__USE_BSD]: Likewise.
10108 [__USE_SVID]: Likewise.
10109 * string/bits/string3.h [__USE_BSD]: Likewise.
10110 * string/endian.h [__USE_BSD]: Likewise.
10111 * string/string.h [__USE_SVID]: Likewise.
10112 [__USE_BSD]: Likewise.
10113 * string/strings.h [__USE_BSD]: Likewise.
10114 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10115 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10116 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10117 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10118 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10119 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10120 Likewise.
10121 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10122 Likewise.
10123 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10124 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10125 Likewise.
10126 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10127 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10128 Likewise.
10129 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10130 Likewise.
10131 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10132 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10133 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10134 Likewise.
10135 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10136 Likewise.
10137 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10138 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10139 * termios/termios.h [__USE_BSD]: Likewise.
10140 * time/sys/time.h [__USE_BSD]: Likewise.
10141 * time/time.h [__USE_BSD]: Likewise.
10142 [__USE_SVID]: Likewise.
10143
dd7b064c
JM
10144 * Makefile (subdir_targets): Remove subdir_lint.out.
10145
a2c4c199
JM
10146 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10147 (do-tst-printf): Likewise.
10148 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10149 $(objpfx)tst-printf.out.
10150
8756f740
JM
10151 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10152
1b6dd3f1
JM
10153 * Makerules (check-abi-%): Change target to
10154 $(objpfx)check-abi-%.out.
10155 (check-abi target): Update dependencies.
10156 (check-abi-pattern variable): Redirect output of diff to $@.
10157 (check-abi variable): Likewise.
10158 * elf/Makefile (check-abi): Update dependencies.
10159
ace614b8
JM
10160 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10161 unused.
10162 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10163 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10164 subnormal range.
10165 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10166 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10167 value has largest subnormal exponent.
10168 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10169 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10170 * sysdeps/aarch64/soft-fp/sfp-machine.h
10171 (_FP_TININESS_AFTER_ROUNDING): New macro.
10172 * sysdeps/alpha/soft-fp/sfp-machine.h
10173 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10174 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10175 Likewise.
10176 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10177 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10178 * sysdeps/mips/soft-fp/sfp-machine.h
10179 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10180 * sysdeps/powerpc/soft-fp/sfp-machine.h
10181 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10182 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10183 Likewise.
10184 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10186 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10187 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10188 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10189 Likewise.
10190
fbfdf9cb
DAS
101912014-02-12 Dylan Alex Simon <dylan@dylex.net>
10192
10193 [BZ #16545]
10194 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10195 model 1.
10196
68b7efaa
RH
101972014-02-12 Richard Henderson <rth@redhat.com>
10198
c70a4b1d 10199 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10200 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10201 * sysdeps/unix/sysv/linux/alpha: Move directory from
10202 ports/sysdeps/unix/sysv/linux/alpha.
10203 * README: Update listing for alpha-*-linux-gnu.
10204
cb4a2928
JM
102052014-02-11 Joseph Myers <joseph@codesourcery.com>
10206
c941736c
JM
10207 * include/features.h: Update comment documenting feature test
10208 macros.
10209 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10210 _DEFAULT_SOURCE.
10211 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10212 (_SVID_SOURCE): Likewise.
10213 (_DEFAULT_SOURCE): Update description of default features.
10214 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10215 with _GNU_SOURCE.
10216 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10217 (S_ISVTX): Likewise.
10218 * manual/math.texi (Mathematical Constants): Likewise.
10219 * manual/signal.texi (Interrupted Primitives): Likewise.
10220 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10221 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10222 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10223 Don't refer to _SVID_SOURCE in warning text.
10224
e8d8d7ec
JM
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10226
cb4a2928
JM
10227 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10228 already defined.
10229 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10230 * sysdeps/mips/dl-lookup.c: Remove.
10231 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10232
7e6424e3
AK
102332014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10234
10235 [BZ #16447]
10236 * math/auto-libm-test-in: Add testcase for expl.
10237 * math/auto-libm-test-out: Regenerate.
10238 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10239 calculation of unsafe.
10240 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10241
75eff3fe
MS
102422014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10243
10244 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10245 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10246 ports/sysdeps/unix/sysv/linux/aarch64.
10247 * README: Update listing for aarch64*-*-linux-gnu.
10248
d35f1e80
WN
102492014-02-11 Will Newton <will.newton@linaro.org>
10250
10251 * manual/probes.texi (Mathematical Function Probes): Use
10252 "triggered" instead of "hit".
10253
7b3436d4
WN
10254 * manual/probes.texi (Internal Probes): Add documentation
10255 of setjmp, longjmp and longjmp_target probes.
10256
b4f12ca3
WN
10257 * include/stap-probe.h: Add comment about probe argument
10258 format.
10259
c13a72b7
WN
10260 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10261 definition. (tr_where, tr_freehook, tr_mallochook,
10262 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10263
195b8165
DM
102642014-02-11 David S. Miller <davem@davemloft.net>
10265
10266 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10267 processing int_tests.
10268
2ad7600b
JM
102692014-02-10 Joseph Myers <joseph@codesourcery.com>
10270
10271 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10272 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10273 * sysdeps/unix/sysv/linux/mips: Move directory from
10274 ports/sysdeps/unix/sysv/linux/mips.
10275 * README: Update listing for mips-*-linux-gnu and
10276 mips64-*-linux-gnu.
10277
73588a72
AS
102782014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10279
10280 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10281 * sysdeps/unix/sysv/linux/m68k: Move directory from
10282 ports/sysdeps/unix/sysv/linux/m68k.
10283 * README: Update listing for m68k-*-linux-gnu.
10284
4372980f
CM
102852014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10286
10287 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10288 * sysdeps/unix/sysv/linux/generic: Move directory from
10289 ports/sysdeps/unix/sysv/linux/generic.
10290 * sysdeps/unix/sysv/linux/tile: Move directory from
10291 ports/sysdeps/unix/sysv/linux/tile.
10292 * README: Update listing for tile*-*-linux-gnu.
10293
a1ffb40e
OB
102942014-02-10 Ondřej Bílka <neleai@seznam.cz>
10295
57f41c40
AS
10296 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10297 __builtin_expect.
a1ffb40e
OB
10298 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10299 * catgets/open_catalog.c (__open_catalog): Likewise.
10300 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10301 * debug/confstr_chk.c: Likewise.
10302 * debug/fread_chk.c (__fread_chk): Likewise.
10303 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10304 * debug/getgroups_chk.c: Likewise.
10305 * debug/mbsnrtowcs_chk.c: Likewise.
10306 * debug/mbsrtowcs_chk.c: Likewise.
10307 * debug/mbstowcs_chk.c: Likewise.
10308 * debug/memcpy_chk.c: Likewise.
10309 * debug/memmove_chk.c: Likewise.
10310 * debug/mempcpy_chk.c: Likewise.
10311 * debug/memset_chk.c: Likewise.
10312 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10313 * debug/strcat_chk.c (__strcat_chk): Likewise.
10314 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10315 * debug/strncat_chk.c (__strncat_chk): Likewise.
10316 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10317 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10318 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10319 * debug/wcpncpy_chk.c: Likewise.
10320 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10321 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10322 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10323 * debug/wcsncpy_chk.c: Likewise.
10324 * debug/wcsnrtombs_chk.c: Likewise.
10325 * debug/wcsrtombs_chk.c: Likewise.
10326 * debug/wcstombs_chk.c: Likewise.
10327 * debug/wmemcpy_chk.c: Likewise.
10328 * debug/wmemmove_chk.c: Likewise.
10329 * debug/wmempcpy_chk.c: Likewise.
10330 * debug/wmemset_chk.c: Likewise.
10331 * dirent/scandirat.c (SCANDIRAT): Likewise.
10332 * dlfcn/dladdr1.c (dladdr1): Likewise.
10333 * dlfcn/dladdr.c (dladdr): Likewise.
10334 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10335 * dlfcn/dlerror.c (__dlerror): Likewise.
10336 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10337 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10338 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10339 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10340 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10341 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10342 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10343 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10344 Likewise.
10345 * elf/dl-conflict.c: Likewise.
10346 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10347 * elf/dl-dst.h: Likewise.
10348 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10349 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10350 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10351 * elf/dl-init.c (call_init, _dl_init): Likewise.
10352 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10353 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10354 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10355 Likewise.
a1ffb40e
OB
10356 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10357 Likewise.
10358 * elf/dl-minimal.c (__libc_memalign): Likewise.
10359 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10360 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10361 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10362 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10363 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10364 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10365 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10366 * elf/dl-writev.h (_dl_writev): Likewise.
10367 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10368 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10369 (dl_main): Likewise.
a1ffb40e
OB
10370 * elf/setup-vdso.h (setup_vdso): Likewise.
10371 * grp/compat-initgroups.c (compat_call): Likewise.
10372 * grp/fgetgrent.c (fgetgrent): Likewise.
10373 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10374 * grp/putgrent.c (putgrent): Likewise.
10375 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10376 Likewise.
10377 * hurd/hurdinit.c: Likewise.
10378 * iconvdata/8bit-gap.c (struct): Likewise.
10379 * iconvdata/ansi_x3.110.c : Likewise.
10380 * iconvdata/big5.c : Likewise.
10381 * iconvdata/big5hkscs.c : Likewise.
10382 * iconvdata/cp1255.c: Likewise.
10383 * iconvdata/cp1258.c : Likewise.
10384 * iconvdata/cp932.c : Likewise.
10385 * iconvdata/euc-cn.c: Likewise.
10386 * iconvdata/euc-jisx0213.c : Likewise.
10387 * iconvdata/euc-jp.c: Likewise.
10388 * iconvdata/euc-jp-ms.c : Likewise.
10389 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10390 * iconvdata/gb18030.c : Likewise.
10391 * iconvdata/gbbig5.c (const): Likewise.
10392 * iconvdata/gbgbk.c: Likewise.
10393 * iconvdata/gbk.c : Likewise.
10394 * iconvdata/ibm1364.c : Likewise.
10395 * iconvdata/ibm930.c : Likewise.
10396 * iconvdata/ibm932.c: Likewise.
10397 * iconvdata/ibm933.c : Likewise.
10398 * iconvdata/ibm935.c : Likewise.
10399 * iconvdata/ibm937.c : Likewise.
10400 * iconvdata/ibm939.c : Likewise.
10401 * iconvdata/ibm943.c: Likewise.
10402 * iconvdata/iso_11548-1.c: Likewise.
10403 * iconvdata/iso-2022-cn.c : Likewise.
10404 * iconvdata/iso-2022-cn-ext.c : Likewise.
10405 * iconvdata/iso-2022-jp-3.c: Likewise.
10406 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10407 * iconvdata/iso-2022-kr.c : Likewise.
10408 * iconvdata/iso646.c (gconv_end): Likewise.
10409 * iconvdata/iso_6937-2.c : Likewise.
10410 * iconvdata/iso_6937.c : Likewise.
10411 * iconvdata/iso8859-1.c: Likewise.
10412 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10413 * iconvdata/shift_jisx0213.c : Likewise.
10414 * iconvdata/sjis.c : Likewise.
10415 * iconvdata/t.61.c : Likewise.
10416 * iconvdata/tcvn5712-1.c : Likewise.
10417 * iconvdata/tscii.c: Likewise.
10418 * iconvdata/uhc.c : Likewise.
10419 * iconvdata/unicode.c (gconv_end): Likewise.
10420 * iconvdata/utf-16.c (gconv_end): Likewise.
10421 * iconvdata/utf-32.c (gconv_end): Likewise.
10422 * iconvdata/utf-7.c (base64): Likewise.
10423 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10424 * iconv/gconv_close.c (__gconv_close): Likewise.
10425 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10426 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10427 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10428 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10429 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10430 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10431 * iconv/iconv.c (iconv): Likewise.
10432 * iconv/iconv_close.c: Likewise.
10433 * iconv/loop.c (SINGLE): Likewise.
10434 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10435 * include/atomic.h: Likewise.
10436 * inet/inet6_option.c (option_alloc): Likewise.
10437 * intl/bindtextdom.c (set_binding_values): Likewise.
10438 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10439 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10440 * intl/localealias.c (read_alias_file): Likewise.
10441 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10442 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10443 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10444 * libio/fmemopen.c (fmemopen): Likewise.
10445 * libio/iofgets.c (_IO_fgets): Likewise.
10446 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10447 * libio/iofgetws.c (fgetws): Likewise.
10448 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10449 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10450 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10451 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10452 * locale/findlocale.c (_nl_find_locale): Likewise.
10453 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10454 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10455 Likewise.
10456 * locale/setlocale.c (setlocale): Likewise.
10457 * login/programs/pt_chown.c (main): Likewise.
10458 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10459 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10460 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10461 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10462 * math/e_exp2l.c: Likewise.
10463 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10464 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10465 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10466 * math/s_catan.c (__catan): Likewise.
10467 * math/s_catanf.c (__catanf): Likewise.
10468 * math/s_catanh.c (__catanh): Likewise.
10469 * math/s_catanhf.c (__catanhf): Likewise.
10470 * math/s_catanhl.c (__catanhl): Likewise.
10471 * math/s_catanl.c (__catanl): Likewise.
10472 * math/s_ccosh.c (__ccosh): Likewise.
10473 * math/s_ccoshf.c (__ccoshf): Likewise.
10474 * math/s_ccoshl.c (__ccoshl): Likewise.
10475 * math/s_cexp.c (__cexp): Likewise.
10476 * math/s_cexpf.c (__cexpf): Likewise.
10477 * math/s_cexpl.c (__cexpl): Likewise.
10478 * math/s_clog10.c (__clog10): Likewise.
10479 * math/s_clog10f.c (__clog10f): Likewise.
10480 * math/s_clog10l.c (__clog10l): Likewise.
10481 * math/s_clog.c (__clog): Likewise.
10482 * math/s_clogf.c (__clogf): Likewise.
10483 * math/s_clogl.c (__clogl): Likewise.
10484 * math/s_csin.c (__csin): Likewise.
10485 * math/s_csinf.c (__csinf): Likewise.
10486 * math/s_csinh.c (__csinh): Likewise.
10487 * math/s_csinhf.c (__csinhf): Likewise.
10488 * math/s_csinhl.c (__csinhl): Likewise.
10489 * math/s_csinl.c (__csinl): Likewise.
10490 * math/s_csqrt.c (__csqrt): Likewise.
10491 * math/s_csqrtf.c (__csqrtf): Likewise.
10492 * math/s_csqrtl.c (__csqrtl): Likewise.
10493 * math/s_ctan.c (__ctan): Likewise.
10494 * math/s_ctanf.c (__ctanf): Likewise.
10495 * math/s_ctanh.c (__ctanh): Likewise.
10496 * math/s_ctanhf.c (__ctanhf): Likewise.
10497 * math/s_ctanhl.c (__ctanhl): Likewise.
10498 * math/s_ctanl.c (__ctanl): Likewise.
10499 * math/w_pow.c: Likewise.
10500 * math/w_powf.c: Likewise.
10501 * math/w_powl.c: Likewise.
10502 * math/w_scalb.c (sysv_scalb): Likewise.
10503 * math/w_scalbf.c (sysv_scalbf): Likewise.
10504 * math/w_scalbl.c (sysv_scalbl): Likewise.
10505 * misc/error.c (error_tail): Likewise.
10506 * misc/pselect.c (__pselect): Likewise.
10507 * nis/nis_callback.c (__nis_create_callback): Likewise.
10508 * nis/nis_call.c (__nisfind_server): Likewise.
10509 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10510 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10512 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10513 * nis/nis_lookup.c (nis_lookup): Likewise.
10514 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10515 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10516 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10517 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10518 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10519 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10520 * nis/nss_compat/compat-initgroups.c (add_group)
10521 (internal_getgrent_r): Likewise.
10522 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10523 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10524 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10525 (internal_getspnam_r): Likewise.
10526 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10527 (_nss_nis_getaliasbyname_r): Likewise.
10528 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10529 (_nss_nis_getntohost_r): Likewise.
10530 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10531 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10532 (_nss_nis_getgrgid_r): Likewise.
10533 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10534 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10535 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10536 (_nss_nis_gethostbyname4_r): Likewise.
10537 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10538 (initgroups_netid): Likewise.
a1ffb40e 10539 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10540 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10541 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10542 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10543 (_nss_nis_getprotobynumber_r): Likewise.
10544 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10545 (_nss_nis_getsecretkey): Likewise.
10546 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10547 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10548 (_nss_nis_getpwuid_r): Likewise.
10549 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10550 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10551 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10552 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10553 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10554 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10555 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10556 Likewise.
57f41c40
AS
10557 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10558 (_nss_nisplus_getntohost_r): Likewise.
10559 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10560 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10561 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10562 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10563 Likewise.
57f41c40
AS
10564 * nis/nss_nisplus/nisplus-initgroups.c
10565 (_nss_nisplus_initgroups_dyn): Likewise.
10566 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10567 (_nss_nisplus_getnetbyaddr_r): Likewise.
10568 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10569 (_nss_nisplus_getprotobynumber_r): Likewise.
10570 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10571 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10572 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10573 Likewise.
57f41c40
AS
10574 * nis/nss_nisplus/nisplus-service.c
10575 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10576 (_nss_nisplus_getservbyport_r): Likewise.
10577 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10578 (_nss_nisplus_getspnam_r): Likewise.
10579 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10580 Likewise.
a1ffb40e
OB
10581 * nscd/aicache.c (addhstaiX): Likewise.
10582 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10583 * nscd/connections.c (register_traced_file, send_ro_fd)
10584 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10585 (main_loop_epoll): Likewise.
a1ffb40e
OB
10586 * nscd/grpcache.c (addgrbyX): Likewise.
10587 * nscd/hstcache.c (addhstbyX): Likewise.
10588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10589 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10590 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10591 (addinnetgrX): Likewise.
10592 * nscd/nscd-client.h (__nscd_acquire_maplock)
10593 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10594 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10595 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10597 Likewise.
10598 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10600 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10601 (__nscd_get_map_ref): Likewise.
a1ffb40e 10602 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10603 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10604 Likewise.
a1ffb40e
OB
10605 * nscd/pwdcache.c (addpwbyX): Likewise.
10606 * nscd/selinux.c (preserve_capabilities): Likewise.
10607 * nscd/servicescache.c (addservbyX): Likewise.
10608 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10609 * posix/fnmatch.c (fnmatch): Likewise.
10610 * posix/getopt.c (_getopt_internal_r): Likewise.
10611 * posix/glob.c (glob, glob_in_dir): Likewise.
10612 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10613 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10614 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10615 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10616 * resolv/res_init.c: Likewise.
10617 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10618 * resolv/res_query.c (__libc_res_nquery): Likewise.
10619 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10620 Likewise.
10621 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10622 * stdio-common/perror.c (perror): Likewise.
10623 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10624 * stdio-common/tmpnam.c (tmpnam): Likewise.
10625 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10626 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10627 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10628 Likewise.
a1ffb40e
OB
10629 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10630 * stdlib/putenv.c (putenv): Likewise.
10631 * stdlib/setenv.c (__add_to_environ): Likewise.
10632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10633 * stdlib/strtol_l.c (INTERNAL): Likewise.
10634 * string/memmem.c (memmem): Likewise.
10635 * string/strerror.c (strerror): Likewise.
10636 * string/strnlen.c (__strnlen): Likewise.
10637 * string/test-memmem.c (simple_memmem): Likewise.
10638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10639 * sunrpc/pm_getport.c (__get_socket): Likewise.
10640 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10641 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10642 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10643 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10644 Likewise.
10645 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10647 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10648 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10649 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10650 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10651 Likewise.
10652 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10653 Likewise.
a1ffb40e
OB
10654 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10655 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10657 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10658 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10660 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10661 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10662 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10663 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10664 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10665 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10666 Likewise.
10667 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10668 Likewise.
10669 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10670 Likewise.
10671 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10673 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10675 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10676 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10677 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10680 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10684 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10687 Likewise.
a1ffb40e
OB
10688 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10689 Likewise.
10690 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10691 Likewise.
10692 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10693 Likewise.
10694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10696 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10697 Likewise.
10698 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10699 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10700 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10701 * sysdeps/posix/sleep.c: Likewise.
10702 * sysdeps/posix/tempname.c: Likewise.
10703 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10704 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10705 Likewise.
57f41c40
AS
10706 * sysdeps/powerpc/powerpc32/dl-machine.h
10707 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10710 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10712 Likewise.
10713 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10715 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10716 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10717 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10718 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10719 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10720 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10722 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10724 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10727 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10728 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10729 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10730 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10731 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10732 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10733 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10734 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10736 Likewise.
10737 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10738 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10739 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10740 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10741 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10742 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10743 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10744 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10746 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10747 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10748 Likewise.
10749 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10750 (__posix_fallocate64_l64): Likewise.
10751 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10752 (posix_fallocate): Likewise.
57f41c40
AS
10753 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10754 Likewise.
a1ffb40e 10755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10756 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10757 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10758 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10759 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10760 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10761 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10762 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10763 (__posix_fallocate64_l64): Likewise.
10764 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10767 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10768 (__get_clockfreq): Likewise.
a1ffb40e
OB
10769 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10770 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10771 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10775 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10776 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10777 Likewise.
10778 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10779 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10780 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10782 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10783 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10784 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10785 Likewise.
10786 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10787 (posix_fallocate): Likewise.
10788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10789 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10790 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10791 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10792 (elf_machine_rela, elf_machine_rela_relative)
10793 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10794 * time/asctime.c (asctime_internal): Likewise.
10795 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10796 * time/tzset.c (__tzset_parse_tz): Likewise.
10797 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10798 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10799 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10800 * wcsmbs/wcsmbsload.h: Likewise.
10801
f3d338c9
OB
10802 [BZ #15894]
10803 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10804
57f41c40
AS
10805 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10806 (arena_get2): Remove THREAD_STATS conditionals.
10807 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10808 (__malloc_stats, int): Likewise.
bdfe308a 10809
d674667c
MF
108102014-02-08 Mike Frysinger <vapier@gentoo.org>
10811
10812 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10813 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10814
6349768c
MF
10815 * manual/setjmp.texi: Fix typos/grammar errors.
10816
0b7c7473
MF
10817 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10818 Only return early when n is <= 0. Delete unused return statement.
10819
ac8cc9e3
MF
10820 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10821 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10822 * debug/tst-longjmp_chk3.c: New file.
10823
c5bb8e23
MF
10824 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10825 (test_main): Replace code with set_fortify_handler call.
10826 * debug/test-strcpy_chk.c: Likewise.
10827 * debug/tst-chk1.c: Likewise.
10828 * debug/tst-longjmp_chk.c: Likewise.
10829 * test-skeleton.c: Include fcntl.h & paths.h
10830 (set_fortify_handler): Define.
10831
10444e42
MF
10832 * debug/tst-longjmp_chk.c: Add header comment and include
10833 ../test-skeleton.c.
10834 (do_test): Mark static.
10835 (TEST_FUNCTION): Define.
10836
1e805e8d
MF
10837 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10838 (IP_PMTUDISC_INTERFACE): Likewise.
10839 (IP_MULTICAST_IF): Likewise.
10840 (IP_MULTICAST_TTL): Likewise.
10841 (IP_MULTICAST_LOOP): Likewise.
10842 (IP_ADD_MEMBERSHIP): Likewise.
10843 (IP_DROP_MEMBERSHIP): Likewise.
10844 (IP_UNBLOCK_SOURCE): Likewise.
10845 (IP_BLOCK_SOURCE): Likewise.
10846 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10847 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10848 (IP_MSFILTER): Likewise.
10849 (MCAST_JOIN_GROUP): Likewise.
10850 (MCAST_BLOCK_SOURCE): Likewise.
10851 (MCAST_UNBLOCK_SOURCE): Likewise.
10852 (MCAST_LEAVE_GROUP): Likewise.
10853 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10854 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10855 (MCAST_MSFILTER): Likewise.
10856 (IP_MULTICAST_ALL): Likewise.
10857 (IP_UNICAST_IF): Likewise.
10858
73f79bb7
MF
10859 * timezone/Makefile: Delete $(have-ksh) check.
10860 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10861 * timezone/tzselect.ksh: Add +x mode bits.
10862
8da79b60
MF
10863 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10864 (ANON_INODE_FS_MAGIC): Likewise.
10865 (BDEVFS_MAGIC): Likewise.
10866 (BINFMTFS_MAGIC): Likewise.
10867 (BTRFS_TEST_MAGIC): Likewise.
10868 (CRAMFS_MAGIC_WEND): Likewise.
10869 (DEBUGFS_MAGIC): Likewise.
10870 (ECRYPTFS_SUPER_MAGIC): Likewise.
10871 (EXT3_SUPER_MAGIC): Likewise.
10872 (EXT4_SUPER_MAGIC): Likewise.
10873 (FUTEXFS_SUPER_MAGIC): Likewise.
10874 (HOSTFS_SUPER_MAGIC): Likewise.
10875 (HUGETLBFS_MAGIC): Likewise.
10876 (MINIX3_SUPER_MAGIC): Likewise.
10877 (MTD_INODE_FS_MAGIC): Likewise.
10878 (NILFS_SUPER_MAGIC): Likewise.
10879 (OPENPROM_SUPER_MAGIC): Likewise.
10880 (PIPEFS_MAGIC): Likewise.
10881 (PSTOREFS_MAGIC): Likewise.
10882 (QNX6_SUPER_MAGIC): Likewise.
10883 (RAMFS_MAGIC): Likewise.
10884 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10885 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10886 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10887 (SECURITYFS_MAGIC): Likewise.
10888 (SELINUX_MAGIC): Likewise.
10889 (SMACK_MAGIC): Likewise.
10890 (SOCKFS_MAGIC): Likewise.
10891 (SQUASHFS_MAGIC): Likewise.
10892 (STACK_END_MAGIC): Likewise.
10893 (TMPFS_MAGIC): Likewise.
10894 (USBDEVICE_SUPER_MAGIC): Likewise.
10895 (V9FS_MAGIC): Likewise.
10896 (XENFS_SUPER_MAGIC): Likewise.
10897 (CRAMFS_MAGIC): Fix typo in comment.
10898 (EXT2_SUPER_MAGIC): Update comment.
10899 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10900
464263cc
JM
109012014-02-08 Joseph Myers <joseph@codesourcery.com>
10902
c6bfe5c4
JM
10903 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10904 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10905 * sysdeps/unix/sysv/linux/arm: Move directory from
10906 ports/sysdeps/unix/sysv/linux/arm.
10907 * README: Update listing for arm-*-linux-gnueabi.
10908
464263cc
JM
10909 * README: Remove mention of am33.
10910
32749f6c
RM
109112014-02-07 Roland McGrath <roland@hack.frob.com>
10912
10913 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10914 than the comma operator, to avoid "rhs of comma has no effect"
10915 compiler warnings.
10916 (__sigfillset, __sigandset, __sigorset): Likewise.
10917 * include/signal.h (__sigemptyset): Likewise.
10918 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10919
d5b396c1
AM
109202014-02-07 Allan McRae <allan@archlinux.org>
10921
10922 * version.h (RELEASE): Set to "development".
10923 (VERSION): Set to "2.19.90"
10924 * NEWS: Add 2.20 section.
10925
3bfff2ed
CD
109262014-02-06 Carlos O'Donell <carlos@redhat.com>
10927
10928 [BZ #16529]
10929 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10930
ee7cc385
SP
109312014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
10933 * manual/contrib.texi: Update entry for Carlos O'Donell,
10934 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10935
f877c4f2
CD
109362014-02-05 Carlos O'Donell <carlos@rehdat.com>
10937
27e839f6
CD
10938 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10939
f877c4f2
CD
10940 * sysdeps/unix/sysv/linux/kernel-features.h
10941 [__LINUX_KERNEL_VERSION >= 0x020621]
10942 (__ASSUME_PROC_PID_TASK_COMM): Define.
10943
68159946
SP
109442014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10945
ba17cdbd
SP
10946 [BZ #16398]
10947 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10948 conversion when destination buffer does not have enough space.
10949 * libio/tst-ftell-partial-wide.c: New test case.
10950 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10951
68159946
SP
10952 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10953 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10954 Leonard and Allan McRae.
10955
2b528732
DM
109562014-02-04 David S. Miller <davem@davemloft.net>
10957
10958 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10959 32-bit.
10960
0ff82463
AZ
109612014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10962
57f41c40
AS
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10964 New file
c01603f7
AZ
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10966 New file
57f41c40
AS
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10968 New file.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10970 New file.
c01603f7
AZ
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10972 New file.
57f41c40
AS
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10974 New file.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10976 New file.
c01603f7
AZ
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10978 New file.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10980 New file.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10982 New file.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10984 New file.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10986 New file.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10988 New file.
10989
109902014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10991
0ff82463
AZ
10992 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10993 * shlib-versions: Likewise.
10994
1695c773
AZ
109952014-02-04 Roland McGrath <roland@hack.frob.com>
10996 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10997
10998 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10999 (abilist-pattern): New variable, set to %-le.abilist.
11000
11001 * Makerules (abilist-pattern): New variable.
11002 (vpath): Use $(abilist-pattern) in place of %.abilist.
11003 (check-abi-% pattern rule): Likewise.
11004 (check-abi, update-abi): Likewise.
11005
6c0ce4b4
EW
110062014-02-04 Eric Wong <normalperson@yhbt.net>
11007
11008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11009
481e3524
CD
110102014-02-03 Carlos O'Donell <carlos@redhat.com>
11011
11012 * manual/startup.texi: Add next, previous, and top entries for
11013 the `Program Arguments' and `Environment Variables' nodes.
11014
375592d3
AO
110152014-02-03 Alexandre Oliva <aoliva@redhat.com>
11016
11017 * manual/macros.texi: Add comments before MTASC-safety macros.
11018
f54838ba
AO
11019 * manual/users.texi: Document MTASC-safety properties.
11020
57f41c40
AS
11021 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11022 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11023 @deftypefun, and add @safety note.
11024 * manual/signal.texi: Move comments that analyze the above
11025 functions to their home place.
11026
fd3daba4
AM
110272014-02-03 Allan McRae <allan@archlinux.org>
11028
11029 * po/sl.po: Update Slovenian translation from translation project.
11030
597636d7
AO
110312014-02-02 Alexandre Oliva <aoliva@redhat.com>
11032
11033 * manual/time.texi (timegm): Add missing blank after @c.
11034 Reported by Joseph Myers <joseph@codesourcery.com>.
11035
ee196e3c
AO
110362014-02-01 Alexandre Oliva <aoliva@redhat.com>
11037
11038 * manual/check-safety.sh: New.
11039 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11040
f8d529d5
AO
11041 * manual/terminal.texi: Document MTASC-safety properties.
11042
de55fdf4
AO
11043 * manual/filesys.texi: Document MTASC-safety properties.
11044
c3299c08
AO
11045 * manual/errno.texi: Document MTASC-safety properties.
11046
06e90b14
AO
11047 * manual/intro.texi: Document safety identifiers and
11048 conditionals.
11049
1acd4371
AO
11050 * manual/string.texi (wcstok): Fix prototype.
11051 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11052
23e5b8cb
AO
11053 * manual/time.texi: Document MTASC-safety properties.
11054
11087373
AO
11055 * manual/string.texi: Document MTASC-safety properties.
11056
5da2c93d
AO
11057 * manual/threads.texi: Document MTASC-safety properties.
11058
171e9210
AO
11059 * manual/stdio.texi: Document MTASC-safety properties.
11060
d9e02532
AO
11061 * manual/syslog.texi: Document MTASC-safety properties.
11062
6af8bab7
AO
11063 * manual/sysinfo.texi: Document MTASC-safety properties.
11064
663b02d7
AO
11065 * manual/startup.texi: Document MTASC-safety properties.
11066
973f180b
AO
11067 * manual/socket.texi: Document MTASC-safety properties.
11068
8f3c25c8
AO
11069 * manual/signal.texi: Document MTASC-safety properties.
11070
542210fb
AO
110712014-01-31 Alexandre Oliva <aoliva@redhat.com>
11072
11073 * manual/setjmp.texi: Document MTASC-safety properties.
11074
433c45a2
AO
11075 * manual/search.texi: Document MTASC-safety properties.
11076
c8ce789c
AO
11077 * manual/resource.texi: Document MTASC-safety properties.
11078
19f5d29c
AO
11079 * manual/process.texi: Document MTASC-safety properties.
11080
e2dfb7f4
AO
11081 * manual/platform.texi: Document MTASC-safety properties.
11082
8c1413f5
AO
11083 * manual/pipe.texi: Document MTASC-safety properties.
11084
03483ada
AO
11085 * manual/pattern.texi: Document MTASC-safety properties.
11086
29e7e2df
AO
11087 * manual/message.texi: Document MTASC-safety properties.
11088
9f529d7c
AO
11089 [BZ #12751]
11090 * manual/memory.texi: Document MTASC-safety properties.
11091
27aaa791
AO
11092 * manual/math.texi: Document MTASC-safety properties.
11093
f2d58726
AO
11094 * manual/locale.texi: Document MTASC-safety properties.
11095
2cc3615c
AO
11096 * manual/llio.texi: Document MTASC-safety properties.
11097
d9f0ec97
AO
11098 * manual/libdl.texi: New.
11099
e7c4409a
AO
11100 * manual/lang.texi: Document MTASC-safety properties.
11101
27bdc63c
AO
11102 * manual/job.texi: Document MTASC-safety properties.
11103
a7b90ea9
AO
11104 * manual/getopt.texi: Document MTASC-safety properties.
11105
c49130e3
AO
11106 * manual/ctype.texi: Document MTASC-safety properties.
11107
0d23a5c1
MR
111082014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11109
11110 [BZ #16046]
11111 * csu/libc-tls.c (static_map): Remove variable.
11112 (__libc_setup_tls): Use main executable's link map for TLS data.
11113 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11114 casing for LM_ID_BASE and GL(dl_nns).
11115 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11116 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11117 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11118 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11119 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11120 member.
11121 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11122 l_phnum members.
11123
0037bb60
AO
111242014-01-30 Alexandre Oliva <aoliva@redhat.com>
11125
11126 * manual/debug.texi: Document MTASC-safety properties.
11127
409e00bd
L
111282014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 [BZ #16510]
11131 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11132 of __x86_64__ when disabling x87 inline functions.
11133
86e60666
AO
111342014-01-29 Alexandre Oliva <aoliva@redhat.com>
11135
11136 * manual/charset.texi: Document MTASC-safety properties.
11137
76167637
AO
11138 * manual/crypt.texi: Document MTASC-safety properties.
11139
e567f2a0
AO
11140 * manual/conf.texi: Document MTASC-safety properties.
11141
b719dafd
AO
11142 * manual/arith.texi: Document MTASC-safety properties.
11143
4a16c662
AO
11144 * manual/argp.texi: Document MTASC-safety properties.
11145
0a57b83e
AO
11146 * manual/macros.texi: Introduce macros to document multi
11147 thread, asynchronous signal and asynchronous cancellation
11148 safety properties.
11149 * manual/intro.texi: Introduce the properties themselves.
11150
feab2397
KK
111512014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11152
11153 * sysdeps/sh/sh4/Makefile: New file.
11154
1c0d11bc
AS
111552014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * math/gen-libm-test.pl ($srcdir): New variable.
11158 ($auto_input): Use it.
11159
af37a8a3
SP
111602014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11161
d7b00f98
SP
11162 [BZ #16506]
11163 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11164 access beyond array bounds when parsing netgroups file.
11165
af37a8a3
SP
11166 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11167 the old buffer before realloc.
11168
0c00f062
AM
111692014-01-27 Allan McRae <allan@archlinux.org>
11170
11171 * po/fr.po: Update French translation from translation project.
11172
7d69a1b0
KK
111732014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11174
11175 * sysdeps/sh/libm-test-ulps: Regenerate.
11176
6e697ff7
DM
111772014-01-24 David S. Miller <davem@davemloft.net>
11178
11179 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11180
9cadb35c
KK
111812014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11182
11183 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11184 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11185
5d41dadf
SP
111862013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11187
11188 [BZ #16474]
11189 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11190 string pointers after reallocation.
11191
0bad441c
KK
111922014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11193
11194 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11195 __SH4A__ instead of __SH_FPU_ANY__.
11196
7007c661
KK
111972014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11198
11199 * sysdeps/sh/fpu_control.h: New file.
11200 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11201 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11202 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11203 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11204 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11205 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11206 * sysdeps/sh/sys/ucontext.h: Remove.
11207 * sysdeps/sh/sys: Remove directory.
11208
0f0c35e4
AK
112092014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11210
11211 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11212 s390/sys/ucontext.h.
11213 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11214 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11215
4959e284
L
112162014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 [BZ #15605]
11219 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11220
d98720e0
AZ
112212014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11222
11223 [BZ#16431]
11224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11225 Adjust the vDSO correctly for internal calls.
11226 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11227
91cbd0bc
AM
112282014-01-20 Allan McRae <allan@archlinux.org>
11229
11230 * po/ca.po: Update Catalan translation from translation project.
11231
7a02cfad
MF
112322014-01-16 Mike Frysinger <vapier@gentoo.org>
11233
11234 * sysdeps/s390/sotruss-lib.c: New file.
11235
736c304a
AZ
112362014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237
11238 [BZ#16430]
6e077ee5 11239 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11240 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11241 local calls issues by not having a PLT stub required for IFUNC calls.
11242 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11243
94d0cea0
JM
112442014-01-16 Joseph Myers <joseph@codesourcery.com>
11245
11246 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11247 * math/test-fpucw-static.c: Likewise.
11248
980cb518
SP
112492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11250
11251 [BZ #16453]
11252 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11253
2393fc01
AZ
112542014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255
11256 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11257 implementation for powerpc.
11258
d359bcc2
OB
112592014-01-15 Ondřej Bílka <neleai@seznam.cz>
11260
11261 [BZ #14782]
11262 * sysdeps/posix/system.c (__libc_system): Do not enable
11263 asynchronous cancellation.
11264
7beb48cb
AK
112652014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11266
11267 [BZ #16427]
11268 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11269 handling only for numbers special also in the IEEE case.
11270
c20d5bf5
AK
112712014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11272
11273 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11274
e83bd4ee
AM
112752014-01-11 Allan McRae <allan@archlinux.org>
11276
76d0ea69
AM
11277 * po/bg.po: Update Bulgarian translation from translation project.
11278
e83bd4ee
AM
11279 * po/de.po: Update German translation from translation project.
11280
bc2ba20a
RM
112812014-01-10 Roland McGrath <roland@hack.frob.com>
11282
11283 * sysdeps/generic/gcc-compat.h: New file.
11284
649ecea2
SP
112852014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11286
11287 * benchtests/asin-inputs: Correct slow inputs.
11288 * benchtests/acos-inputs: Likewise.
11289
1b19c006
AM
112902014-01-10 Allan McRae <allan@archlinux.org>
11291
a46dab08
AM
11292 * po:sv.po: Update Swedish translation from translation project.
11293
421df74a
AM
11294 * po/vi.po: Update Vietnamese translation from translation project.
11295
d61c51a7
AM
11296 * po/eo.po: Update Esperanto translation from translation project.
11297
0339a319
AM
11298 * po/cs.po: Update Czech translation from translation project.
11299
94ad3e99
AM
11300 * po/nl.po: Update Dutch translation from translation project.
11301
e349ca71
AM
11302 * po/pl.po: Update Polish translation from translation project.
11303
ddf930c1
AM
11304 * po/ru.po: Update Russian translation from translation project.
11305
1b19c006
AM
11306 * po/uk.po: Update Ukrainian translation from translation project.
11307
9f236c49
BM
113082014-01-08 Brooks Moses <bmoses@google.com>
11309
11310 * elf/dl-load.c: Fix comment typo.
11311
cd6701cf
CD
113122014-01-08 Carlos O'Donell <carlos@redhat.com>
11313
11314 * po/header.pot: Rename to...
11315 * po/pot.header: ... this.
11316 * po/Makefile: Use pot.header.
11317
66671c84
YK
113182014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11319 Maxim Kuvyrkov <maxim@kugelworks.com>
11320
11321 [BZ #16394]
cd6701cf
CD
11322 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11323 SRC and DEST against LEN.
66671c84 11324
38f34581
AZ
113252014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11326
11327 [BZ #16414]
11328 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11329 implementation.
11330 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11331
113322014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11333
11334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11335
4c327f2a
JM
113362014-01-08 Joseph Myers <joseph@codesourcery.com>
11337
11338 [BZ #16408]
11339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11340 for large positive arguments.
11341
b821f414
JM
113422014-01-07 Joseph Myers <joseph@codesourcery.com>
11343
1f0f2067
JM
11344 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11345
a5a326f6
JM
11346 * math/auto-libm-test-in: Mark various tests with
11347 xfail-rounding:ldbl-128ibm.
11348 * math/auto-libm-test-out: Regenerated.
11349
b821f414
JM
11350 [BZ #16407]
11351 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11352 Increase overflow threshold.
11353
94c8a4bc
OB
113542014-01-07 Ondřej Bílka <neleai@seznam.cz>
11355
11356 [BZ #14286]
11357 * stdio-common/vfprintf.c: Check for integer overflow.
11358
87ded0c3
AK
113592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11360
11361 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11362 the first argument and return value of __tls_get_addr_internal.
11363
c5eebdd0
AK
113642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11365
11366 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11367 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11368
05d138ef
AK
113692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11370
11371 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11372 * sysdeps/s390/rtld-global-offsets.sym: New file.
11373 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11374 GLIBC_2.19 symbol.
11375 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11377 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11378 ... this.
11379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11380 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11381 ... this.
11382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11383 Regenerate.
11384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11385 Regenerate.
11386 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11387 halfs of GPRs for high_gprs contexts.
11388 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11389 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11390 field.
11391 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11392 uc_flags field.
11393 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11394 64 bit versions:
11395 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11396 for high GPRs (uc_high_gprs) and for future extensions
11397 (__reserved).
11398 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11399 for future extensions (__reserved).
11400 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11401 64 bit versions:
11402 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11403 SC_HIGHGPRS offset definition.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11405 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11406
93a45ff1
AK
11407 * Versions.def: Add GLIBC_2.19 for libpthread.
11408 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11409 siglongjmp for libpthread with GLIBC_2.19 symver.
11410 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11411 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11412 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11413 * sysdeps/s390/__longjmp.c: New file.
11414 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11415 * sysdeps/s390/longjmp.c: New file.
11416 * sysdeps/s390/setjmp.S: New file.
11417 * sysdeps/s390/sigjmp.S: New file.
11418 * sysdeps/s390/v1-longjmp.c: New file.
11419 * sysdeps/s390/v1-setjmp.h: New file.
11420 * sysdeps/s390/v1-sigjmp.c: New file.
11421 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11422 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11423 GLIBC_2.19 version.
11424 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11425 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11426 versioned symbols for ____longjmp_chk.
11427 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11428 Likewise.
11429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11430 Regenerate.
11431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11432 Regenerate.
11433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11434 Regenerate.
11435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11436 Regenerate.
11437 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11438 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11439 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11440 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11441 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11442 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11443 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11444 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11445 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11446 * sysdeps/s390/rtld-__longjmp.c: New file.
11447 * sysdeps/s390/rtld-setjmp.S: New file.
11448
eb3fc44b
JM
114492014-01-06 Joseph Myers <joseph@codesourcery.com>
11450
11451 [BZ #16400]
11452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11453 Return -__logl (x) for small positive arguments without evaluating
11454 a polynomial.
11455
9341dde4
MF
114562014-01-06 Mike Frysinger <vapier@gentoo.org>
11457
11458 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11459 Rename to ...
11460 (__ptrace_peeksiginfo_args): ... this.
11461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11464
4cff0293
AM
114652014-01-06 Allan McRae <allan@archlinux.org>
11466
11467 * inet/netinet/in.h: Fix typo in comment.
11468
75595dcf
AJ
114692014-01-05 Andreas Jaeger <aj@suse.de>
11470
11471 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472
79c1e109
AM
114732014-01-05 Allan McRae <allan@archlinux.org>
11474
dd804818
AM
11475 * po/libc.pot: Regenerated.
11476
79c1e109
AM
11477 * malloc/memusagestat.c: Fix gettext call formatting.
11478
0c813d1f
SK
114792014-01-04 Sami Kerola <kerolasa@iki.fi>
11480
11481 * nscd/nscd.c: Improve usage() output.
11482
20f4a8d9
MF
114832014-01-04 Mike Frysinger <vapier@gentoo.org>
11484
11485 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11486 * sysdeps/unix/sysv/linux/configure: Regenerated.
11487 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11488 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11489
22562bb2
JM
114902014-01-03 Joseph Myers <joseph@codesourcery.com>
11491
11492 [BZ #16390]
11493 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11494 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11495
d7ad2d9b
AZ
114962014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11497
11498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11499 extra tokens at end of #undef directive.
11500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11503
7dd009d8
JM
115042014-01-03 Joseph Myers <joseph@codesourcery.com>
11505
24db925a
JM
11506 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11507
7dd009d8
JM
11508 * math/auto-libm-test-in: Mark various tests with
11509 xfail-rounding:ldbl-128ibm.
11510 * math/auto-libm-test-out: Regenerated.
11511
396e3ecf
JM
115122014-01-02 Joseph Myers <joseph@codesourcery.com>
11513
819e5d50
JM
11514 [BZ #16386]
11515 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11516 numbers with subnormal high part when calculating exponent.
11517
90b6a1e5
JM
11518 [BZ #16385]
11519 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11520 fabs.
11521
396e3ecf
JM
11522 [BZ #16384]
11523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11524 M_LN2l.
11525 (__ieee754_acoshl): Use __log1pl not __log1p.
11526
6c8dbf00
OB
115272013-01-02 Ondřej Bílka <neleai@seznam.cz>
11528
57f41c40
AS
11529 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11530 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11531 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11532 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11533 (reused_arena, arena_get2): Convert to GNU style.
11534 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11535 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11536 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11537 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11538 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11539 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11540 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11541 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11542 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11543 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11544 * malloc/malloc.h: Likewise.
57f41c40
AS
11545 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11546 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11547 * malloc/mcheck.h: Likewise.
57f41c40
AS
11548 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11549 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11550 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11551 * malloc/morecore.c (__default_morecore): Likewise.
11552 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11553 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11554 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11555 (print_and_abort): Likewise.
6c8dbf00
OB
11556 * malloc/obstack.h: Likewise.
11557 * malloc/set-freeres.c (__libc_freeres): Likewise.
11558 * malloc/tst-mallocstate.c (main): Likewise.
11559 * malloc/tst-mtrace.c (main): Likewise.
11560 * malloc/tst-realloc.c (do_test): Likewise.
11561
d4124212
SP
115622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11563
9a3c6a6f
SP
11564 [BZ #16366]
11565 * nscd/netgroupcache.c (do_notfound): New function.
11566 (addgetnetgrentX): Use it.
11567
d4124212
SP
11568 [BZ # 16365]
11569 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11570 NSS_STATUS_NOTFOUND.
11571
97b9a009
JM
115722014-01-01 Joseph Myers <joseph@codesourcery.com>
11573
11574 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576
d4697bc9
AM
115772014-01-01 Allan McRae <allan@archlinux.org>
11578
ddb3687f
AM
11579 * scripts/update-copyrights: Update configure input file suffix.
11580
88726d48
AM
11581 * NEWS: Update copyright year.
11582 * catgets/gencat.c: Likewise.
11583 * csu/version.c: Likewise.
11584 * debug/catchsegv.sh: Likewise.
11585 * debug/pcprofiledump.c: Likewise.
11586 * debug/xtrace.sh: Likewise.
11587 * elf/ldconfig.c: Likewise.
11588 * elf/ldd.bash.in: Likewise.
11589 * elf/pldd.c: Likewise.
11590 * elf/sotruss.ksh: Likewise.
11591 * elf/sprof.c: Likewise.
11592 * iconv/iconv_prog.c: Likewise.
11593 * iconv/iconvconfig.c: Likewise.
11594 * locale/programs/locale.c: Likewise.
11595 * locale/programs/localedef.c: Likewise.
11596 * login/programs/pt_chown.c: Likewise.
11597 * malloc/memusage.sh: Likewise.
11598 * malloc/memusagestat.c: Likewise.
11599 * malloc/mtrace.pl: Likewise.
11600 * manual/libc.texinfo: Likewise.
11601 * nscd/nscd.c: Likewise.
11602 * nss/getent.c: Likewise.
11603 * nss/makedb.c: Likewise.
11604 * posix/getconf.c: Likewise.
11605 * scripts/test-installation.pl: Likewise.
11606
d4697bc9
AM
11607 * All files with FSF copyright notices: Update copyright dates
11608 using scripts/update-copyrights.
11609 * intl/plural.c: Regenerated.
11610 * locale/programs/charmap-kw.h: Likewise.
11611 * locale/programs/locfile-kw.h: Likewise.
11612
c8590f9d
MF
116132013-12-31 Mike Frysinger <vapier@gentoo.org>
11614
11615 * sysdeps/unix/sysv/linux/configure: Regenerated.
11616 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11617 the linux/fanotify.h header.
11618 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11619 HAVE_LINUX_FANOTIFY_H is defined.
11620
b19221b9
SP
116212013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11622
dd1d85e5
SP
11623 * benchtests/cos-inputs: New inputs.
11624 * benchtests/sin-inputs: Likewise.
11625
1acbb90f
SP
11626 * benchtests/atan-inputs: New inputs. Fix name of multiple
11627 precision fallback inputs.
11628
4c012ed3
SP
11629 * benchtests/atanh-inputs: New inputs.
11630 * benchtests/tanh-inputs: Likewise.
11631
eff98324
SP
11632 * benchtests/acosh-inputs: New inputs.
11633 * benchtests/asinh-inputs: Likewise.
11634
ce641152
SP
11635 * benchtests/cosh-inputs: New inputs.
11636 * benchtests/sinh-inputs: Likewise.
11637
b19221b9
SP
11638 * benchtests/acos-inputs: Add more inputs.
11639 * benchtests/asin-inputs: Likewise.
11640
030a4976 116412013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11642
030a4976 11643 [BZ #16375]
9dcc8f11
VS
11644 * manual/arith.texi: Fix spelling.
11645 * manual/charset.texi: Likewise.
11646 * manual/errno.texi: Likewise.
11647 * manual/filesys.texi: Likewise.
11648 * manual/lang.texi: Likewise.
11649 * manual/llio.texi: Likewise.
11650 * manual/locale.texi: Likewise.
11651 * manual/message.texi: Likewise.
11652 * manual/resource.texi: Likewise.
11653 * manual/search.texi: Likewise.
11654 * manual/setjmp.texi: Likewise.
11655 * manual/stdio.texi: Likewise.
11656 * manual/string.texi: Likewise.
11657 * manual/sysinfo.texi: Likewise.
11658 * manual/time.texi: Likewise.
11659
11520a57
CD
116602013-12-27 Carlos O'Donell <carlos@redhat.com>
11661
11662 * po/sl.po: New file.
11663
471103ae
MF
116642013-12-27 Mike Frysinger <vapier@gentoo.org>
11665
11666 * .gitignore: Add core/.gdbinit/.gdb_history.
11667
6c9642ed
AM
116682013-12-27 Allan McRae <allan@archlinux.org>
11669
11670 [BZ #16369]
11671 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11672 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11673
3f637079
BM
116742013-12-24 Brooks Moses <bmoses@google.com>
11675
11676 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11677 all compilers that claim C++98 compliance, not just GCC.
11678 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11679 Likewise.
11680
abc26e99
MK
116812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11682
11683 * NEWS: Restore accidentally deleted bug-fix entries.
11684
362b47fe
MK
116852013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11686 Ondřej Bílka <neleai@seznam.cz>
11687
11688 [BZ #15073]
11689 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11690 have_lock.
362b47fe 11691
b9bcbbcb
OB
116922013-12-23 Ondřej Bílka <neleai@seznam.cz>
11693
11694 [BZ #12986]
11695 * manual/stdio.texi (String Input Conversions): Clarify that character
11696 classes are not supported.
11697
fb55fcd2
AZ
116982013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11699
11700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11701
ef7344f0
JM
117022013-12-22 Joseph Myers <joseph@codesourcery.com>
11703
4f40e4b3
JM
11704 [BZ #16337]
11705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11706 Calculate results for small negative arguments directly rather
11707 than using reflection formula with special underflow handling.
11708
ef7344f0
JM
11709 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11710 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11711 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11712 (fchflags): Likewise.
11713 (revoke): Likewise.
11714 (setlogin): Likewise.
11715 (sigaltstack): Likewise.
11716 (wait4): Likewise.
11717 (sigblock): Remove.
11718 (sigsetmask): Likewise.
11719 (wait3): Likewise.
11720 (waitpid): Likewise.
11721 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11722 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11723 file.
11724 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11725 * sysdeps/unix/bsd/Makefile: ... here.
11726 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11727 * sysdeps/unix/bsd/Versions: ... here.
11728 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11729 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11730 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11731 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11732 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11733 * sysdeps/unix/bsd/sigblock.c: ... here.
11734 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11735 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11736 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11737 * sysdeps/unix/bsd/sigvec.c: ... here.
11738 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11739 * sysdeps/unix/bsd/tcdrain.c: ... here.
11740 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11741 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11742 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11743 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11744 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11745 * sysdeps/unix/bsd/wait.c: ... here.
11746 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11747 * sysdeps/unix/bsd/wait3.c: ... here.
11748 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11749 * sysdeps/unix/bsd/waitpid.c: ... here.
11750
5b0626b9
JM
117512013-12-21 Joseph Myers <joseph@codesourcery.com>
11752
11753 [BZ #16356]
11754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11755 round-to-nearest for [!USE_AS_EXPM1L].
11756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11757 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11758 more tests of exp and exp10. Expect some exp10 tests to miss
11759 exceptions or fail in directed rounding modes.
11760 * math/auto-libm-test-out: Regenerated.
11761 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11762 (exp10_test_tonearest): New function.
11763 (exp10_towardzero_test_data): New array.
11764 (exp10_test_towardzero): New function.
11765 (exp10_downward_test_data): New array.
11766 (exp10_test_downward): New function.
11767 (exp10_upward_test_data): New array.
11768 (exp10_test_upward): New function.
11769 (main): Call the new functions.
11770 * sysdeps/i386/fpu/libm-test-ulps: Update.
11771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772
7fda5682
JM
117732013-12-20 Joseph Myers <joseph@codesourcery.com>
11774
31e3a405
JM
11775 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11776 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11777 * math/auto-libm-test-out: Regenerated.
11778 * math/libm-test.inc (acosh_test_data): Add more tests.
11779 (atanh_test_data): Likewise.
11780 (ceil_test_data): Likewise.
11781 (copysign_test_data): Likewise.
11782 * sysdeps/i386/fpu/libm-test-ulps: Update.
11783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11784
85bff96a
JM
11785 * timezone/checktab.awk: Update from tzcode 2013i.
11786 * timezone/private.h: Likewise.
11787 * timezone/scheck.c: Likewise.
11788 * timezone/tzfile.h: Likewise.
11789 * timezone/tzselect.ksh: Likewise.
11790 * timezone/zdump.c: Likewise.
11791 * timezone/zic.c: Likewise.
11792
b7867a3b
JM
11793 * math/auto-libm-test-in: Add tests of cpow.
11794 * math/auto-libm-test-out: Regenerated.
11795 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11796 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11797 mpc_cc_c.
11798 (func_calc_desc): Add mpc_cc_c union field.
11799 (test_functions): Add cpow.
11800 (special_fill_2pi): New function.
11801 (special_real_inputs): Add 2pi.
11802 (calc_generic_results): Handle mpc_cc_c.
11803 * sysdeps/i386/fpu/libm-test-ulps: Update.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11805
7fda5682
JM
11806 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11807 csqrt, ctan and ctanh.
11808 * math/auto-libm-test-out: Regenerated.
11809 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11810 (TEST_COND_x86): Likewise.
11811 (ccos_test_data): Use AUTO_TESTS_c_c.
11812 (ccosh_test_data): Likewise.
11813 (cexp_test_data): Likewise.
11814 (clog_test_data): Likewise.
11815 (csqrt_test_data): Likewise.
11816 (ctan_test_data): Likewise.
11817 (ctan_tonearest_test_data): Likewise.
11818 (ctan_towardzero_test_data): Likewise.
11819 (ctan_downward_test_data): Likewise.
11820 (ctan_upward_test_data): Likewise.
11821 (ctanh_test_data): Likewise.
11822 (ctanh_tonearest_test_data): Likewise.
11823 (ctanh_towardzero_test_data): Likewise.
11824 (ctanh_downward_test_data): Likewise.
11825 (ctanh_upward_test_data): Likewise.
11826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11827 mpc_c_c.
11828 (func_calc_desc): Add mpc_c_c union field.
11829 (FUNC_mpc_c_c): New macro.
11830 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11831 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11832 ctanh.
11833 (special_fill_min_subnorm_p120): New function.
11834 (special_real_inputs): Add min_subnorm_p120.
11835 (calc_generic_results): Handle mpc_c_c.
11836 * sysdeps/i386/fpu/libm-test-ulps: Update.
11837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11838
5ff8d60e
SP
118392013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11840
57f41c40
AS
11841 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11842 (do_sin_slow): New functions.
11843 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11844 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11845
84ba214c
SP
11846 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11847 Use M to change sign of result instead of X. Assume X is
11848 positive.
11849 (csloww1): Likewise.
11850 (__sin): Adjust.
11851 (__cos): Adjust.
11852
975195e4
SP
11853 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11854 arguments A and DA.
11855 (__sin): Adjust.
11856 (__cos): Likewise.
11857
5ff8d60e
SP
11858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11859 (__cos): Likewise.
11860 (sloww1): Don't adjust sign of DX.
11861 (csloww1): Likewise.
11862 (sloww2): Use X directly and don't adjust sign of DX.
11863 (csloww2): Likewise.
11864
eb983568
JM
118652013-12-19 Joseph Myers <joseph@codesourcery.com>
11866
64a17f1a
JM
11867 * math/auto-libm-test-in: Add tests of cabs and carg.
11868 * math/auto-libm-test-out: Regenerated.
11869 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11870 (carg_test_data): Likewise.
11871 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11872 mpc_c_f.
11873 (func_calc_desc): Add mpc_c_f union field.
11874 (test_functions): Add cabs and carg.
11875 (calc_generic_results): Handle mpc_c_f.
11876
eb983568
JM
11877 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11878 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11879 as a macro and a compat symbol.
11880 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11881 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11882 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11883 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11884 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11886 not use .hidden.
11887 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11888 Likewise.
11889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11890 Likewise.
11891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11892 Likewise.
11893 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11894 Likewise.
11895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11896 Likewise.
11897 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11898 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11899 from GLIBC_2.3.2.
11900
6eeb678a
AZ
119012013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902
11903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11904
6f6fc482
JM
119052013-12-19 Joseph Myers <joseph@codesourcery.com>
11906
21fea2e2
JM
11907 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11908 trailing whitespace removed.
11909 * scripts/config.guess: Update to version 2013-11-29.
11910 * scripts/config.sub: Update to version 2013-10-01.
11911
6f6fc482
JM
11912 * math/auto-libm-test-in: Add tests of sincos.
11913 * math/auto-libm-test-out: Regenerated.
11914 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11916 mpfr_f_11.
11917 (func_calc_desc): Add mpfr_f_11 union field.
11918 (test_functions): Add sincos.
11919 (calc_generic_results): Handle mpfr_f_11.
11920 * sysdeps/i386/fpu/libm-test-ulps: Update.
11921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11922
83f5c32d
AS
119232013-12-19 Andreas Schwab <schwab@suse.de>
11924
11925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11926 CALL_MCOUNT.
11927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11929 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11930
c688b419
JM
119312013-12-19 Joseph Myers <joseph@codesourcery.com>
11932
335ee092
JM
11933 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11934 * sysdeps/i386/fpu/libm-test-ulps: Update.
11935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11936
f88acd39
JM
11937 [BZ #16293]
11938 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11939 round-to-nearest mode when using frndint.
11940 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11941 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11942 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11943 Likewise.
11944 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11945 sinh test to fail.
11946 * math/auto-libm-test-out: Regenerated.
11947 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11948 (TEST_COND_x86): Likewise.
11949 (expm1_tonearest_test_data): New array.
11950 (expm1_test_tonearest): New function.
11951 (expm1_towardzero_test_data): New array.
11952 (expm1_test_towardzero): New function.
11953 (expm1_downward_test_data): New array.
11954 (expm1_test_downward): New function.
11955 (expm1_upward_test_data): New array.
11956 (expm1_test_upward): New function.
11957 (main): Run the new test functions.
11958 * sysdeps/i386/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960
c688b419
JM
11961 * include/features.h: Update comment documenting feature test
11962 macros. Mention _DEFAULT_SOURCE in comment.
11963 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11964 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11965 _BSD_SOURCE and _SVID_SOURCE.
11966 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11967 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11968 !_SVID_SOURCE]: Likewise.
11969 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11970 (__USE_POSIX_IMPLICITLY): Define.
11971 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11972 (_POSIX_SOURCE): Undefine and redefine.
11973 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11974 (_POSIX_C_SOURCE): Likewise.
11975 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11976 (Feature Test Macros): Update documentation of default features.
11977
9f6e964c
RS
119782013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11979
11980 * benchtests/Makefile: Add bench-strtok.
11981 * benchtests/bench-strtok.c: New file: strtok benchtest.
11982
ee0a148a
AM
119832013-12-19 Allan McRae <allan@archlinux.org>
11984
11985 * manual/install.texi: Suppress menu for plain text output.
11986 * INSTALL: Regenerated.
11987
b9ab448f
BM
119882013-12-18 Brooks Moses <bmoses@google.com>
11989
11990 [BZ #15846]
11991 * misc/getauxval.c: Include errno.h.
11992 (__getauxval): Set errno to ENOENT if the requested type is not
11993 found.
11994 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11995 don't declare with __attribute_const__.
11996 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11997 * manual/startup.texi: Document that getauxval sets errno.
11998
23776487
JM
119992013-12-18 Joseph Myers <joseph@codesourcery.com>
12000
f889953b
JM
12001 * math/auto-libm-test-in: Add tests of jn and yn.
12002 * math/auto-libm-test-out: Regenerated.
12003 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12004 (yn_test_data): Likewise.
12005 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12006 mpfr_if_f.
12007 (func_calc_desc): Add mpfr_if_f union field.
12008 (FUNC_mpfr_if_f): New macro.
12009 (test_functions): Add jn and yn.
12010 (calc_generic_results): Assert type of second input for
12011 mpfr_ff_f. Handle mpfr_if_f.
12012 (output_for_one_input_case): Disable all checking for arguments
12013 fitting floating-point types in case of an integer argument.
12014 * sysdeps/i386/fpu/libm-test-ulps: Update.
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016
23776487
JM
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12018 Don't expect fegetround reference in libm.so.
12019
cb756c6d
MS
120202013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12021
12022 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12023 $(config-cflags-nofma).
12024
2dec468f
JM
120252013-12-18 Joseph Myers <joseph@codesourcery.com>
12026
5953eb3a
JM
12027 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12028 * math/auto-libm-test-out: Regenerated.
12029
2dec468f
JM
12030 [BZ #16338]
12031 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12032 to determine exponent and adjust argument to have exponent of -1.
12033 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12034 log2.
12035 * math/auto-libm-test-out: Regenerated.
12036 * sysdeps/i386/fpu/libm-test-ulps: Update.
12037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12038
4d84e6ad
OB
120392013-12-18 Ondřej Bílka <neleai@seznam.cz>
12040
12041 * manual/probes.texi: Remove cases when per-thread arenas are
12042 disabled.
12043
1818483b
AS
120442013-12-18 Andreas Schwab <schwab@suse.de>
12045
12046 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12047 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12048 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12049 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12050 * sysdeps/i386/i686/multiarch/Makefile: Update.
12051 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12052
25de95bf
JM
120532013-12-17 Joseph Myers <joseph@codesourcery.com>
12054
12055 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12056 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12057
674762d9
PE
120582013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12059
ed27ed83 12060 [BZ #15968]
0748546f
PE
12061 Support TZ transition times < 00:00:00.
12062 This is needed for version-3 tz-format files; it supports time
12063 stamps past 2037 for America/Godthab (the only entry in the tz
12064 database for which this change is relevant).
12065 * manual/time.texi (TZ Variable): Document transition times
12066 from -167:59:59 through -00:00:01.
12067 * time/tzset.c (tz_rule): Time of day is now signed.
12068 (__tzset_parse_tz): Parse negative time of day.
12069
4480e934
PE
12070 Document TZ transition times >= 25:00:00.
12071 * manual/time.texi (TZ Variable): Document transition times from
12072 25:00:00 through 167:59:59. These are already supported, and this
12073 support will help with version-3 tz-format files.
12074
69947401
PE
12075 * manual/time.texi (TZ Variable): Modernize North America example
12076 to reflect current (i.e., 2007-and-later) daylight saving rules.
12077
674762d9
PE
12078 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12079
7011c262
JM
120802013-12-17 Joseph Myers <joseph@codesourcery.com>
12081
2fc6557e
JM
12082 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12083 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12086 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12087 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12088 * sysdeps/unix/bsd/clock.c: Likewise.
12089 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12090 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12091 * sysdeps/unix/bsd/init-posix.c: Likewise.
12092 * sysdeps/unix/bsd/poll.c: Likewise.
12093 * sysdeps/unix/bsd/ptsname.c: Likewise.
12094 * sysdeps/unix/bsd/seekdir.c: Likewise.
12095 * sysdeps/unix/bsd/setegid.c: Likewise.
12096 * sysdeps/unix/bsd/seteuid.c: Likewise.
12097 * sysdeps/unix/bsd/setgid.c: Likewise.
12098 * sysdeps/unix/bsd/setrgid.c: Likewise.
12099 * sysdeps/unix/bsd/setruid.c: Likewise.
12100 * sysdeps/unix/bsd/setsid.c: Likewise.
12101 * sysdeps/unix/bsd/setuid.c: Likewise.
12102 * sysdeps/unix/bsd/sigaction.c: Likewise.
12103 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12104 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12105 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12106 * sysdeps/unix/bsd/telldir.c: Likewise.
12107 * sysdeps/unix/bsd/times.c: Likewise.
12108 * sysdeps/unix/bsd/usleep.c: Likewise.
12109
029c7b25
JM
12110 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12111 ($(objpfx)libbsd-compat.a): Remove rule.
12112
7011c262
JM
12113 * include/features.h (__FAVOR_BSD): Do not define.
12114 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12115 features conflicting with POSIX.
12116 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12117 (_BSD_SOURCE): Remove description of not being a subset of other
12118 feature test macros.
12119 * manual/job.texi (getpgrp): Do not document BSD version.
12120 (getpgid): Do not document by reference to BSD getpgrp.
12121 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12122 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12123 * signal/signal.h [__FAVOR_BSD]: Likewise.
12124 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12125 instead of making contents conditional on [__FAVOR_BSD].
12126 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12127
affb6f78
AZ
121282013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12129
12130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12131
c88769dd
JM
121322013-12-17 Joseph Myers <joseph@codesourcery.com>
12133
6432a540
JM
12134 [BZ #16314]
12135 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12136 values below 2**-450, not 2**-500.
12137 * math/auto-libm-test-in: Don't allow spurious underflow from
12138 hypot.
12139 * math/auto-libm-test-out: Regenerated.
12140
c88769dd
JM
12141 [BZ #16316]
12142 [BZ #16330]
12143 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12144 values of ha and hb and sort them after adjusting subnormal
12145 arguments.
12146 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12147 Likewise.
12148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12149 values of ea and eb and sort them after adjusting subnormal
12150 arguments.
12151 * math/auto-libm-test-in: Do not expect some hypot tests of
12152 subnormals to fail. Add more hypot tests.
12153 * math/auto-libm-test-out: Regenerated.
12154
29618f6b
KK
121552013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12156
12157 [BZ #13304]
12158 * sysdeps/sh/s_fma.c: New file.
12159 * sysdeps/sh/s_fmaf.c: New file.
12160 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12161 version.
12162 * sysdeps/sh/Implies: Add sh/soft-fp.
12163
eacfdfbf
RM
121642013-12-16 Roland McGrath <roland@hack.frob.com>
12165
12166 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12167 level of indirection to members `objname', `errstring', `malloced'.
12168 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12169 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12170 it as the __longjmp argument (just pass 1 instead).
12171 (_dl_catch_error): Initialize C with argument pointers and address of
12172 volatile local ERRCODE rather than copying values out of C at return.
12173
ff362e5b
JM
121742013-12-16 Joseph Myers <joseph@codesourcery.com>
12175
12176 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12177 * math/auto-libm-test-out: Regenerated.
12178 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12179 (hypot_test_data): Likewise.
12180 (pow_test_data): Likewise.
12181 (pow_tonearest_test_data): Likewise.
12182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12183 mpfr_ff_f.
12184 (func_calc_desc): Add mpfr_ff_f union field.
12185 (FUNC_mpfr_ff_f): New macro.
12186 (test_functions): Add atan2, hypot and pow.
12187 (special_fill_min): New function.
12188 (special_fill_minus_min): Likewise.
12189 (special_fill_min_subnorm): Likewise.
12190 (special_fill_minus_min_subnorm): Likewise.
12191 (special_real_inputs): Add min, -min, min_subnorm and
12192 -min_subnorm.
12193 (calc_generic_results): Handle mpfr_ff_f.
12194 * sysdeps/i386/fpu/libm-test-ulps: Update.
12195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196
5764c27f
WN
121972013-12-16 Will Newton <will.newton@linaro.org>
12198
12199 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12200 (Aligned Memory Blocks): Add documentation for aligned_alloc
12201 and suggest it as an alternative to posix_memalign.
12202 (Hooks for Malloc): Document __memalign_hook is also called
12203 for aligned_alloc. (Summary of Malloc): Add summary for
12204 aligned alloc. Document __memalign_hook is also called
12205 for aligned_alloc.
12206
0a096e44
WN
122072013-12-16 Will Newton <will.newton@linaro.org>
12208
12209 * manual/memory.texi (Malloc Examples): Clarify default
12210 alignment documentation. Suggest posix_memalign rather
12211 than memalign or valloc.
12212 (Aligned Memory Blocks): Remove suggestion to use memalign
12213 or valloc. Remove obsolete comment about BSD.
12214 Document memalign errno values and mark the function obsolete.
12215 Document posix_memalign returned error codes. Mark valloc
12216 as obsolete. (Hooks for Malloc): __memalign_hook is also
12217 called for posix_memalign and valloc.
12218 (Summary of Malloc): Add posix_memalign to function summary.
12219 __memalign_hook is also called for posix_memalign and valloc.
12220
8d561986
SP
122212013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12222
12223 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12224 TAYLOR_SIN.
12225 (__sin): Adjust.
12226 (__cos): Likewise.
12227 (sloww): Use mynumber union. Expand ternary operator into
12228 if-else statements.
12229 (cslow): use mynumber union.
12230
73616a74
AM
122312013-12-16 Allan McRae <allan@archlinux.org>
12232
9e8ac24b
AM
12233 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12234 * configure: Regenerated.
12235
6f8e37eb
AM
12236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12237
8894bad3
AM
12238 [BZ #14120]
12239 * configure.ac: Added --enable-maintainer-mode. Check for
12240 autoconf when enabled.
12241 * configure: Regenerated.
12242
73616a74
AM
12243 * nscd/nscd.service: New file.
12244 * nscd/nscd.tmpfiles: New file.
12245
584b18eb
OB
122462013-12-14 Ondřej Bílka <neleai@seznam.cz>
12247
12248 [BZ #12100]
12249 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12250 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12251 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12252 (strstr): Add __strstr_sse2_unaligned ifunc.
12253 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12254 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12255 (strcasestr): Remove __strcasestr_sse42 ifunc.
12256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12259
8a5c7897
KK
122602013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12261
12262 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12263 * sysdeps/sh/bits/fenv.h: ... here.
12264 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12265
fd712ef3
AZ
122662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267
12268 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12269
42fcb46c
AZ
12270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12271 hypotf multiarch implementations.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12273 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12274 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12275 multiarch hypot for PPC64.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12279 multiarch hypotf for PPC64.
12280
83efded4
AZ
12281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12282 modff multiarch implementations.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12286 multiarch modf for PPC64.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12290 multiarch modff for PPC64.
12291
43e246d2
AZ
12292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12293 and logl multiarch implementations.
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12297 multiarch logb for PPC64.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12301 multiarch logb for PPC64.
12302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12305 multiarch logb for PPC64.
12306
8fdad123
AZ
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12308 isinff multiarch implementation.
12309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12310 file.
12311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12313 multiarch isinf for PPC64.
12314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12315 file.
12316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12317 multiarch isinff for PPC64.
12318
1481d706
AZ
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12320 finitef multiarch implementation.
12321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12322 file.
12323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12325 multiarch finite for PPC64.
12326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12327 file.
12328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12329 multiarch finitef for PPC64.
12330
5ccd5fc8
AZ
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12332 lrint multiarch implementation.
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12334 file.
12335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12337 multiarch llrint for PPC64.
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12339 multiarch lrint for PPC64.
12340
2568f3fa
AZ
12341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12342 copysignf multiarch implementation.
12343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12344 file.
12345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12346 file.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12348 multiarch copysign for PPC64.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12350 multiarch copysignf for PPC64.
12351
1cb341fd
AZ
12352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12353 multiarch implementation.
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12355 file.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12357 file.
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12359 file.
12360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12361 file.
12362 multiarch llround for PPC64.
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12364 multiarch trunc for PPC64.
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12366 multiarch truncf for PPC64.
12367
59a3e194
AZ
12368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12369 multiarch implementation.
12370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12371 file.
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12373 file.
12374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12375 file.
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12377 file.
12378 multiarch llround for PPC64.
12379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12380 multiarch round for PPC64.
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12382 multiarch roundf for PPC64.
12383
357fd3b4
AZ
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12385 multiarch implementation.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12387 file.
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12389 file.
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12391 file.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12393 file.
12394 multiarch llround for PPC64.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12396 multiarch floor for PPC64.
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12398 multiarch floorf for PPC64.
12399
96770f12
AZ
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12401 multiarch implementation.
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12403 file.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12405 file.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12407 file.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12409 file.
12410 multiarch llround for PPC64.
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12412 multiarch ceil for PPC64.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12414 multiarch ceilf for PPC64.
12415
c3627f6e
AZ
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12417 multiarch implementation.
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12419 file.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12421 file.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12423 file.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12425 multiarch llround for PPC64.
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12427 multiarch lround for PPC64.
12428
b2284ad7
AZ
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12430 multiarch implementation.
12431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12434 file.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12438 multiarch isnan for PPC64.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12440 multiarch isnanf for PPC64.
12441
69bbc63d
AZ
12442 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12443 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12444 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12445 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12446 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12448
c24517c9
AZ
12449 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12453
a52374e8
AZ
12454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12455 multiarch implementations.
12456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12461 multiarch stpcpy for PPC64.
12462
7f5ec113
AZ
12463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12464 multiarch implementations.
12465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466 (__libc_ifunc_impl_list): Likewise.
12467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12468 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12469 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12470 multiarch strcpy for PPC64.
12471
e28bcd42
AZ
12472 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12473 redefine function name.
12474 (_wordcopy_fwd_dest_aligned): Likewise.
12475 (_wordcopy_bwd_aligned): Likewise.
12476 (_wordcopy_bwd_dest_aligned): Likewise.
12477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12478 multiarch implementations.
12479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12480 (__libc_ifunc_impl_list): Likewise.
12481 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12485 multiarch wcscpy for PPC64.
12486
92cacfce
AZ
12487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12488 multiarch implementations.
12489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12490 (__libc_ifunc_impl_list): Likewise.
12491 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12492 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12495 multiarch wcscpy for PPC64.
12496
7b714620
AZ
12497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12498 multiarch implementations.
12499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12500 (__libc_ifunc_impl_list): Likewise.
12501 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12502 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12503 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12504 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12505 multiarch wcsrchr for PPC64.
12506
16fd2ae3
AZ
12507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12508 multiarch implementations.
12509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12510 (__libc_ifunc_impl_list): Likewise.
12511 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12512 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12513 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12514 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12515 multiarch wcschr for PPC64.
12516
9ee2969b
AZ
12517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12518 multiarch implementations.
12519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12520 (__libc_ifunc_impl_list): Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12523 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12524 multiarch strchrnul for PPC64.
12525
372dc060
AZ
12526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12527 implementations.
12528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12529 (__libc_ifunc_impl_list): Likewise.
12530 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12531 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12532 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12533 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12534 strchr for PPC64.
12535
24c2c3b9
AZ
12536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12537 implementations.
12538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12539 (__libc_ifunc_impl_list): Likewise.
12540 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12541 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12542 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12543 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12544 strncmp for PPC64.
12545
1c92d9a0
AZ
12546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12547 multiarch implementations.
12548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12549 (__libc_ifunc_impl_list): Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12551 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12552 strncasecmp for PPC64.
12553 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12554 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12555 multiarch strncasecmp_l for PPC64.
12556
17de3ee3
AZ
12557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12558 multiarch implementations.
12559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12560 (__libc_ifunc_impl_list): Likewise.
12561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12563 multiarch strcasecmp for PPC64.
12564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12565 file.
12566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12567 multiarch strcasecmp_l for PPC64.
12568
62982bf9
AZ
12569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12570 implementations.
12571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12572 (__libc_ifunc_impl_list): Likewise.
12573 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12574 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12575 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12576 strnlen for PPC64.
12577
a65f4904
AZ
12578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12579 implementations.
12580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12581 (__libc_ifunc_impl_list): Likewise.
12582 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12583 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12584 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12585 strlen for PPC64.
12586
1fd005ad
AZ
12587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12588 implementations.
12589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12590 (__libc_ifunc_impl_list): Likewise.
12591 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12592 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12593 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12594 rawmemrchr for PPC64.
12595
cd05ba91
AZ
12596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12597 implementation.
12598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12599 (__libc_ifunc_impl_list): Likewise.
12600 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12601 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12602 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12603 memrchr for PPC64.
12604
870f8676
AZ
12605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12606 implementation.
12607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12608 (__libc_ifunc_impl_list): Likewise.
12609 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12611 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12612 memchr for PPC64.
12613
f00be62b
AZ
12614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12615 implementation.
12616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12617 (__libc_ifunc_impl_list): Likewise.
12618 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12619 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12620 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12621 mempcpy for PPC64.
12622
8a29a3d0
AZ
12623 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12624 avoid cretion of __bzero symbol.
12625 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12626 Likewise.
12627 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12628 Likewise.
12629 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12630 Likewise.
12631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12632 multiarch implementations.
12633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12634 (__libc_ifunc_impl_list): Likewise.
12635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12637 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12638 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12639 bzero for PPC32.
12640 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12641 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12642 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12643 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12644 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12645 memset for PPC64.
12646 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12647
07253fcf
AZ
12648 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12650 implementations.
12651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12652 (__libc_ifunc_impl_list): Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12654 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12656 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12657 memcmp for PPC64.
12658
b5beafbc
AZ
12659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12660 multiarch for POWER/PPC64.
12661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12662 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12669 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12670 memcpy for PPC64.
12671
5e6a4d4b
AZ
12672 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12673 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12674 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12675 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12676 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12677 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12678 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12679 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12680 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12681 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12682 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12683 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12684 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12685 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12686 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12694
ddfab6dc
KK
126952013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12696
12697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12698
19b5525e
SP
126992013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12700
12701 * benchtests/Makefile (bench): Add exp2 and log2.
12702 (LDLIBS-bench-exp2): Add -lm.
12703 (LDLIBS-bench-log2): Likewise.
12704 * benchtests/exp2-inputs: New inputs file.
12705 * benchtests/log2-inputs: New inputs file.
12706 * benchtests/log-inputs: Add new inputs.
12707 * benchtests/tan-inputs: Likewise.
12708
196f7f5d
SP
127092013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
7a74607f
SP
12711 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12712 definition...
57f41c40
AS
12713 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12714 (csloww2): ... from here.
7a74607f 12715
196f7f5d
SP
12716 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12717 instead of structures.
12718 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12719 (POLYNOMIAL): Likewise.
12720 (TAYLOR_SLOW): Likewise.
12721 (__sin): Likewise.
12722 (__cos): Likewise.
12723 (slow1): Likewise.
12724 (slow2): Likewise.
12725 (sloww): Likewise.
12726 (sloww1); Likewise.
12727 (sloww2): Likewise.
12728 (bsloww1): Likewise.
12729 (bsloww2): Likewise.
12730 (cslow2): Likewise.
12731 (csloww): Likewise.
12732 (csloww1): Likewise.
12733 (csloww2): Likewise.
12734
0dfa665c
OB
127352013-12-10 Ondřej Bílka <neleai@seznam.cz>
12736
12737 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12738 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12739 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12740 * malloc/hooks.c (realloc_check): Likewise.
12741
5782a80f
OB
12742 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12743 * malloc/arena.c: Remove PER_THREAD conditional.
12744 [!PER_THREAD]: Remove code.
12745 (ptmalloc_unlock_all2): Likewise.
12746 (ptmalloc_init): Likewise.
12747 (_int_new_arena): Likewise.
12748 (arena_get2): Likewise.
12749 * malloc/hooks.c (__malloc_get_state): Likewise.
12750 (__malloc_set_state): Likewise.
12751 * malloc/malloc.c: Likewise.
12752 (struct malloc_state): Likewise.
12753 (struct malloc_par): Likewise.
12754 (__libc_realloc): Likewise.
12755 (__libc_mallopt): Likewise.
12756
aeb95445
AZ
127572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12758
12759 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12760
e8349efd
OB
127612013-12-09 Ondřej Bílka <neleai@seznam.cz>
12762
12763 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12764 macro to a function. Check for zero perturb_byte.
12765 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12766
f3eeb3fc 12767 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12768 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12769 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12770 force_reg by atomic_forced_read.
12771 * malloc/arena.c (ptmalloc_init): Likewise.
12772 * malloc/hooks.c (top_check): Likewise.
12773
be2f9009
AZ
127742013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775
12776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12777
e7b914bd
MT
127782013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12779
12780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12781
9f0be4f8
JM
127822013-12-08 Joseph Myers <joseph@codesourcery.com>
12783
12784 * math/auto-libm-test-in: Add tests of lgamma.
12785 * math/auto-libm-test-out: Regenerated.
12786 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12787 (M_LOG_2_SQRT_PIl): Likewise.
12788 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12789 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12790 mpfr_f_f1.
12791 (func_calc_desc): Add mpfr_f_f1 union field.
12792 (ARGS1): New macro.
12793 (ARGS2): Likewise.
12794 (ARGS3): Likewise.
12795 (ARGS4): Likewise.
12796 (RET1): Likewise.
12797 (RET2): Likewise.
12798 (CALC): Likewise.
12799 (FUNC): Likewise.
12800 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12801 (test_functions): Add lgamma.
12802 (calc_generic_results): Handle mpfr_f_f1.
12803 * sysdeps/i386/fpu/libm-test-ulps: Update.
12804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805
24eeafdb
AZ
128062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12807
12808 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12809 __mpn_add_n for PowerPC64/POWER7.
12810 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12811 __mpn_sub_n for PowerPC64/POWER7.
12812
4a2c0fd4
AZ
12813 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12814 __mpn_addmul_1 for PowerPC64.
12815 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12816 __mpn_submul_1 for PowerPC64.
12817 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12818 for PowerPC64.
12819 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12820 for PowerPC64.
12821
4b5b548c
FS
128222013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12823
12824 [BZ #15089]
12825 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12826
0a3ac0aa
AZ
128272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12828
12829 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12830
ccdc8438
AZ
12831 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12832 add multiarch folders.
12833 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12834 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12835 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12836 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12837 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12838 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12839 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12840 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12841 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12842 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12843 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12850
2e973d99
AZ
12851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12852 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12854 New file.
12855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12856 New file.
12857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12858 multiarch __ieee754_hypot for PowerPC32.
12859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12860 New file.
12861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12862 New file.
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12864 multiarch __ieee754_hypotf for PowerPC32.
12865
2d9470b2
AZ
12866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12867 long_double_symbol only if __logbl is defined.
12868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12869 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12871 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12873 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12874 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12875 path for implementation.
12876 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12877 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12879 logb, and logbl multiarch implementations for PowerPC32.
12880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12881 file.
12882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12883 file.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12885 multiarch logb for PowerPC32.
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12887 file.
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12889 file.
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12891 multiarch logbf for PowerPC32.
12892 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12894 file.
12895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12896 multiarch logbl implementation for PowerPC32.
12897
5212ffce
AZ
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12899 and modff multiarch implementations.
12900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12901 New file.
12902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12903 New file.
12904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12905 multiarch modf for PowerPC32.
12906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12907 New file.
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12909 New file.
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12911 multiarch modff for PowerPC32.
12912
79dccf31
AZ
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12914 and lrintf multiarch implementations.
12915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12916 New file.
12917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12918 New file.
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12920 multiarch lrint for PowerPC32.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12922 file: multiarch lrintf for PowerPC32.
12923
deb66480
AZ
12924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12925 and lroundf multiarch implementations.
12926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12927 New file.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12929 New file.
12930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12931 New file.
12932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12933 multiarch lround for PowerPC32.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12935 file: multiarch lroundf for PowerPC32.
12936
264b036b
AZ
12937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12938 copysign and copysignf multiarch implementations.
12939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12940 New file.
12941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12942 New file.
12943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12944 file: multiarch copysign for PowerPC32.
12945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12946 file: multiarch copysignf for PowerPC32.
12947
d47db6c9
AZ
12948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12949 and truncf multiarch implementations.
12950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12951 New file.
12952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12953 file.
12954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12955 multiarch trunc for PowerPC32.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12957 New file.
12958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12959 New file.
12960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12961 multiarch truncf for PowerPC32.
12962
ddb60b5a
AZ
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12964 and roundf multiarch implementations.
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12966 New file.
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12968 file.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12970 multiarch round for PowerPC32.
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12972 New file.
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12974 New file.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12976 multiarch roundf for PowerPC32.
12977
bedcf49b
AZ
12978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12979 and floorf multiarch implementations.
12980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12981 New file.
12982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12983 file.
12984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12985 multiarch floor for PowerPC32.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12987 New file.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12989 New file.
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12991 multiarch floorf for PowerPC32.
12992
35ae5b40
AZ
12993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12994 and ceilf multiarch implementations.
12995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12996 New file.
12997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12998 file.
12999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13000 multiarch ceil for PowerPC32.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13002 New file.
13003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13004 file.
13005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13006 multiarch ceilf for PowerPC32.
13007
ae1a4cd9
AZ
13008 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13009 is defined.
13010 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13011 FINITEF is defined.
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13013 and finitef multiarch implementations.
13014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13015 New file.
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13017 file.
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13019 multiarch finite for PowerPC32.
13020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13021 New file.
13022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13023 file: multiarch finitef for PowerPC32.
13024
64fffd65
AZ
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13026 and isinff multiarch implementations.
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13028 file.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13030 file.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13032 multiarch isinf for PowerPC32.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13034 New file.
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13036 multiarch isinff for PowerPC32.
13037
8e4e7ba2
AZ
13038 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13039 alias when __isnan is defined.
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13041 and isnanf multiarch implementations.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13043 file.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13045 file.
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13047 file.
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13049 file.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13051 multiarch isnan for PowerPC32.
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13053 New file.
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13055 New file.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13057 multiarch isnanf for PowerPC32.
13058
ddba588e
AZ
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13060 and sqrtf multiarch implementations.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13062 file.
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13064 file.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13066 multiarch sqrt for PowerPC32.
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13068 file.
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13070 file.
13071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13072 multiarch sqrtf for PowerPC32.
13073
0f96a2f0
AZ
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13075 and llroundf multiarch implementations.
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13077 New file.
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13079 New file.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13081 New file.
13082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13083 file: multiarch llround for PowerPC32.
13084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13085 file: multiarch llroundf for PowerPC32.
13086
c9b5d79e
AZ
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13088 multiarch PowerPC32 fpu implementations.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13090 New file.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13092 New file.
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13094 multiarch llrint for PowerPC32.
13095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13096 New file.
13097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13098 New file.
13099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13100 file.
13101
9cbb3aab
AZ
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13103
ea5a72f8
AZ
13104 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13105 file.
13106 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13107 file.
13108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13109 file.
13110 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13111 multiarch wordcopy for PPC32.
13112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13113 wordcopy objects.
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13115 (__libc_ifunc_impl_list): Likewise.
13116 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13117 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13118 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13119 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13121 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13122
93be09e7
AZ
13123 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13125 file.
13126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13127 file.
13128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13129 file.
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13131 multiarch wcscpy for PPC32.
13132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13133 multiarch objects.
13134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13135 (__libc_ifunc_impl_list): Likewise.
13136 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13137 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13138 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13139 sysdeps/powerpc/power6/wcscpy.c.
13140
bb04e529
AZ
13141 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13143 file.
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13145 file.
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13147 file.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13149 multiarch wcsrchr for PPC32.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13151 multiarch objects.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13153 (__libc_ifunc_impl_list): Likewise.
13154 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13155 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13156 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13157 sysdeps/powerpc/power6/wcsrchr.c.
13158
05b5cd1c
AZ
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13160 file.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13162 file.
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13165 multiarch wcschr for PPc32.
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13167 multiarch objects.
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13169 (__libc_ifunc_impl_list): Likewise.
13170 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13171 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13172 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13173 sysdeps/powerpc/power6/wcschr.c.
13174
ba964147
AZ
13175 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13176 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13177 file.
13178 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13179 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13180 file: multiarch strchr for PPC32.
13181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13182 multiarch objects.
13183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13184 (__libc_ifunc_impl_list): Likewise.
13185
31c81aaa
AZ
13186 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13187 name.
13188 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13189 file.
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13191 file.
13192 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13193 multiarch strchrnul for PPC32.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13195 multiarch objects.
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13197 (__libc_ifunc_impl_list): Likewise.
13198
0d0607d9
AZ
13199 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13200 file.
13201 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13202 multiarch strncasecmp for PPC32.
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13204 file.
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13206 multiarch strncasecmp_l for PPC32.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13208 strncasecmp multiarch objects.
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13210 (__libc_ifunc_impl_list): Likewise.
13211
4dfd5c86
AZ
13212 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13213 file.
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13215 multiarch strncasecmp for PPC32.
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13217 New file.
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13219 multiarch strcasecmp_l for PPC32.
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13221 multiarch objects.
13222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13223 (__libc_ifunc_impl_list): Likewise.
13224
a19e01a3
AZ
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13226 file.
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13228 file.
13229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13230 multiarch strncmp for PPC32.
13231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13232 multiarch objects.
13233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13234 (__libc_ifunc_impl_list): Likewise.
13235
ae9cf7a2
AZ
13236 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13237 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13238 file.
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13242 multiarch objects.
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13244 (__libc_ifunc_impl_list): Likewise.
13245
3148bb7d
AZ
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13247 file.
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13249 file.
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13252 multiarch objects.
13253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13254 (__libc_ifunc_impl_list): Likewise.
13255
7af8b946
AZ
13256 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13257 file.
13258 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13259 file.
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13261 multiarch rawmemchr for PPC32.
13262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13263 multiarch objects.
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13265 (__libc_ifunc_impl_list): Likewise.
13266
03a6aa6a
AZ
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13268 file.
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13270 file.
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13272 file: memrchr multiarch for PPC32.
13273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13274 multiarch objects.
13275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13276 (__libc_ifunc_impl_list): Likewise.
13277
1c62e6d9
AZ
13278 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13279 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13280 file.
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13283 multiarch memchr for PPC32.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13285 multiarch objects.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13287 (__libc_ifunc_impl_list): Likewise.
13288
87da8bdb
AZ
13289 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13291 file.
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13293 file.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13295 file: multiarch mempcpy for PPC32.
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13297 multiarch objects.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13299 (__libc_ifunc_impl_list): Likewise.
13300
20ed4714
AZ
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13305 multiarch bzero for PPC32.
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13307 file.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13309 file.
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13311 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13312 file: multiarch memset for PPC32.
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13315 memset multiarch objects.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13317 (__libc_ifunc_impl_list): Likewise.
13318
ab3e3a46
AZ
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13320 file.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13323 memcmp for PPC32.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13326 multiarch objects.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13328 (__libc_ifunc_impl_list): Likewise.
13329
930de6f0
AZ
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13333 file.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13335 file.
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13337 file.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13339 multiarch memcpy for PPC32.
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13341 multiarch objects.
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13343 (__libc_ifunc_impl_list): Likewise.
13344
4c628e00
AZ
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13346 support multiarch for POWER/PPC32.
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13348 Likewise.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13351 Implies file to make multiarch folder appers before the fpu and
13352 default folder for power4 configuration.
13353
f4479220
SP
133542013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13355
13356 * scripts/bench.pl: Append volatile keyword to type.
13357
8517800f
KK
133582013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13359
13360 * sysdeps/sh/sotruss-lib.c: New file.
13361 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13362
180138f1
AZ
133632013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364
13365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13366
bbf37bdc
JM
133672013-12-05 Joseph Myers <joseph@codesourcery.com>
13368
e47cc4e0
JM
13369 [BZ #6810]
13370 * math/w_tgamma.c: Include <errno.h>.
13371 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13372 * math/w_tgammaf.c: Include <errno.h>.
13373 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13374 * math/w_tgammal.c: Include <errno.h>.
13375 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13376 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13377 underflow. Add more tgamma tests.
13378 * math/auto-libm-test-out: Regenerated.
13379 * sysdeps/i386/fpu/libm-test-ulps: Update.
13380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13381
bbf37bdc
JM
13382 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13383 sin, sinh, tan, tanh, tgamma, y0 and y1.
13384 * math/auto-libm-test-out: Regenerated.
13385 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13386 (TEST_COND_x86): Likewise.
13387 (M_E2l): Remove macro.
13388 (M_E3l): Likewise.
13389 (M_2_SQRT_PIl): Likewise.
13390 (M_SQRT_PIl): Likewise.
13391 (M_1_DIV_El): Likewise.
13392 (log_test_data): Use AUTO_TESTS_f_f.
13393 (log10_test_data): Likewise.
13394 (log1p_test_data): Likewise.
13395 (log2_test_data): Likewise.
13396 (sin_test_data): Likewise.
13397 (sin_tonearest_test_data): Likewise.
13398 (sin_towardzero_test_data): Likewise.
13399 (sin_downward_test_data): Likewise.
13400 (sin_upward_test_data): Likewise.
13401 (sinh_test_data): Likewise.
13402 (sinh_tonearest_test_data): Likewise.
13403 (sinh_towardzero_test_data): Likewise.
13404 (sinh_downward_test_data): Likewise.
13405 (sinh_upward_test_data): Likewise.
13406 (tan_test_data): Likewise.
13407 (tan_tonearest_test_data): Likewise.
13408 (tan_towardzero_test_data): Likewise.
13409 (tan_downward_test_data): Likewise.
13410 (tan_upward_test_data): Likewise.
13411 (tanh_test_data): Likewise.
13412 (tgamma_test_data): Likewise.
13413 (y0_test_data): Likewise.
13414 (y1_test_data): Likewise.
13415 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13416 (special_real_inputs): Add pi/4.
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419
eb5ad6b9
AZ
134202013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13421
13422 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13423 "longjmp_target" static probes.
13424 (__longjmp): Rename to __longjmp_symbol.
13425 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13426 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13427 on which longjmp to generate.
13428 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13429 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13430 probe.
13431 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13432 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13433 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13434 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13435 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13436 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13438 __longjmp_symbol based on which __longjmp to generate.
13439 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13440 probe.
13441 (setjmp): Rename to setjmp_symbol.
13442 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13443 (_setjmp): Rename to _setjmp_symbol.
13444 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13445 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13446 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13447 which setjmp to generate.
13448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13449 "longjmp_target" static probes.
13450
d136c6dc
SP
134512013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13452
9298ecba
SP
13453 * benchtests/README: Add note about output arguments.
13454 * benchtests/bench-sincos.c: Remove file.
13455 * benchtests/sincos-inputs: New file.
13456 * scripts/bench.pl: Identify output arguments and define
13457 static variables for them.
13458
232983e9
SP
13459 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13460
d136c6dc
SP
13461 [BZ #15941]
13462 * Makefile (INSTALL): Add install-plain.texi as the primary
13463 dependency.
13464 * manual/install-plain.texi: New file.
13465 * manual/install.texi: Include node directive only for
13466 non-plaintext output.
13467
699ff837
JM
134682013-12-04 Joseph Myers <joseph@codesourcery.com>
13469
ab07cea8
JM
13470 * stdlib/longlong.h: Update from GCC.
13471
699ff837
JM
13472 [BZ #6807]
13473 [BZ #15901]
13474 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13475 * math/w_j0f.c (y0f): Likewise.
13476 * math/w_j0l.c (__y0l): Likewise.
13477 * math/w_j1.c (y1): Likewise.
13478 * math/w_j1f.c (y1f): Likewise.
13479 * math/w_j1l.c (__y1l): Likewise
13480 * math/w_jn.c (yn): Likewise.
13481 * math/w_jnf.c (ynf): Likewise.
13482 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13483 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13484 value for Bessel function domain errors outside _SVID_ mode.
13485 Adjust sign of return value for yn (negative integer, 0).
13486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13487 by zero in return for negative x and set sign appropriately for
13488 negative n.
13489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13491 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13492 expectations in error cases.
13493 (y1_test_data): Likewise.
13494 (yn_test_data): Likewise.
13495 * sysdeps/i386/fpu/libm-test-ulps: Update.
13496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497
5b118558
UW
134982013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13499
13500 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13501 "64" to "64-v1". Add "64-v2".
13502 (abi-64-options): Rename to ...
13503 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13504 (abi-64-condition): Rename to ...
13505 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13506 (abi-64-ld-soname): Rename to ...
13507 (abi-64-v1-ld-soname): ... this.
13508 (abi-64-v2-options): Define.
13509 (abi-64-v2-condition): Likewise.
13510 (abi-64-v2-ld-soname): Likewise.
13511 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13512 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13516
61cd8fe4
UW
135172013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13518 Alan Modra <amodra@gmail.com>
13519
13520 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13521 New versions for use with the ELFv2 ABI.
13522 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13523 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13524 declaration.
13525 (struct La_ppc64v2_retval): Likewise.
13526 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13527 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13528 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13529 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13530 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13531 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13532 Do not save or restore CR.
13533 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13534 (_dl_profile_resolve): Do no save or restore CR. Support extended
13535 return values for ELFv2 ABI. Fix location of FPR return registers.
13536 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13537 updated values for _CALL_ELF == 2.
13538 (La_regs, La_retval, int_retval): Likewise.
13539
8b8a692c
UW
135402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13541
13542 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13543 (FRAME_MIN_SIZE_PARM): Likewise.
13544 (FRAME_BACKCHAIN): Likewise.
13545 (FRAME_CR_SAVE): Likewise.
13546 (FRAME_LR_SAVE): Likewise.
13547 (FRAME_TOC_SAVE): Likewise.
13548 (FRAME_PARM_SAVE): Likewise.
13549 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13550 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13551 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13552 (call_mcount_parm_offset): New macro.
13553 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13554 (PROF): Use symbolic stack frame offsets.
13555 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13556 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13557 Redefine in terms of FRAME_MIN_SIZE.
13558 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13559 (_dl_profile_resolve): Likewise. Update comment.
13560 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13561 symbols stack frame offsets.
13562 (__sigsetjmp): Likewise.
13563 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13564 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13565 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13566 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13567
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13569 (FRAME_BACKCHAIN): Remove.
13570 (FRAME_CR_SAVE): Likewise.
13571 (FRAME_LR_SAVE): Likewise.
13572 (FRAME_COMPILER_DW): Likewise.
13573 (FRAME_LINKER_DW): Likewise.
13574 (FRAME_TOC_SAVE): Likewise.
13575 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13576 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13577 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13578 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13580 (CHECK_SP): Use symbolic stack frame offsets.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13582 zone" instead of caller's parameter save area for temp storage.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13584 Likewise. Also, use symbolic stack frame offsets.
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13586 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13587 our own stack frame instead of the caller's.
13588 (__socket): Use symbolic stack frame offsets.
13589
122b66de
UW
135902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13591 Alan Modra <amodra@gmail.com>
13592
13593 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13594 Define.
57f41c40
AS
13595 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13596 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13597 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13598 New function.
13599 (elf_machine_fixup_plt): Call it.
13600 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13601 reloc arguments.
13602 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13603 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13604 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13605 r2 before calling target.
13606
696caf1d
UW
136072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13608 Alan Modra <amodra@gmail.com>
13609
13610 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13611 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13612 versions of macros to support ELFv2 ABI.
13613 (LOCALENTRY): New macro.
13614 (ENTRY, EALIGN): Use it.
13615 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13616 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13617 fall through into ENTRY entry point.
13618 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13619 Only define if _CALL_ELF != 2.
13620
13621 (elf_machine_matches_host): Verify ABI version matches.
13622 (RTLD_START): Use LOCALENTRY.
13623 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13624 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13625 (PLT_ENTRY_WORDS): New macro.
13626 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13627 (elf_machine_runtime_setup): Support ELFv2 ABI.
13628 (elf_machine_fixup_plt): Likewise.
13629 (elf_machine_plt_conflict): Likewise.
13630 (resolve_ifunc): Likewise.
13631 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13632 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13633 Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13635 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13637 (makecontext): Support ELFv2 ABI.
13638 * elf/elf.h (EF_PPC64_ABI): Define.
13639
d31beafa
UW
136402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13641
57f41c40
AS
13642 * sysdeps/powerpc/powerpc64/sysdep.h
13643 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13644 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13645 (ENTRY) [ASSEMBLER]: ... but instead here ...
13646 (EALIGN) [ASSEMBLER]: ... and here.
13647 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13648 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13649 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13650 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13651 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13652 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13653 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13654 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13656 Use PPC64_LOAD_FUNCPTR.
13657
b525166b
UW
13658 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13659
7ec07d9a
AM
136602013-12-04 Alan Modra <amodra@gmail.com>
13661
13662 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13663 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13664 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13665 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13666
13667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13668 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13669 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13670 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13671 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13672 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13673
5162e7dd
UW
136742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13675
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13677 (__makecontext): Fix incorrect CFI when backtracing out of
13678 context created via makecontext.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13680 (__setcontext): Fix incorrect CFI during switch to new context.
13681 (__novec_setcontext): Likewise.
13682
19e3372b
OB
136832013-12-04 Ondřej Bílka <neleai@seznam.cz>
13684
13685 [BZ #4772]
13686 * time/strptime_l.c (__strptime_internal): Allow modifiers
13687 in strptime.
13688 * time/tst-strptime.c (day_tests): Add testcase.
13689
ecaf142d
SP
136902013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13691
13692 * scripts/bench.pl: Skip over blank lines.
13693
fbf964ae
PE
136942013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13695
13696 [BZ #926]
13697 * manual/time.texi (Calendar Time): Clarify what timezone functions
13698 use.
13699
fa60a674
AZ
137002013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13701
13702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13703
d674f0ef
OB
137042013-12-04 Ondřej Bílka <neleai@seznam.cz>
13705
13706 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13707 implementation.
13708 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13709 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13710 * debug/memset_chk.c (__memset_chk): Likewise.
13711 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13712 * debug/strncpy_chk.c: Likewise.
13713
17dea188
JM
137142013-12-03 Joseph Myers <joseph@codesourcery.com>
13715
749008ff
JM
13716 [BZ #15268]
13717 [BZ #15425]
13718 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13719 (__ieee754_exp): For possibly underflowing results, check size of
13720 result and force underflow exception if required.
13721 * math/auto-libm-test-in: Add more tests of exp.
13722 * math/auto-libm-test-out: Regenerated.
13723 * sysdeps/i386/fpu/libm-test-ulps: Update.
13724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13725
17dea188
JM
13726 [BZ #16283]
13727 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13728 * math/w_exp2f.c (__exp2f): Likewise.
13729 * math/w_exp2l.c (__exp2l): Likewise.
13730 * math/auto-libm-test-in: Do not allow missing errno on exp2
13731 underflow.
13732 * math/auto-libm-test-out: Regenerated.
13733
b20de2c3
OB
137342013-12-03 Ondřej Bílka <neleai@seznam.cz>
13735
13736 [BZ #16274]
13737 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13738 handle filename validation.
13739 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13740 (do_open): Delete.
13741
d8e2dbe3
JM
137422013-12-03 Joseph Myers <joseph@codesourcery.com>
13743
34e16df5
JM
13744 [BZ #6786]
13745 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13746 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13747 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13748 <float.h>.
13749 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13751 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13753 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13755 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13756 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13757 Add more erfc tests.
13758 * math/auto-libm-test-out: Regenerated.
13759 * sysdeps/i386/fpu/libm-test-ulps: Update.
13760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13761
d8e2dbe3
JM
13762 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13763 exp2, expm1, j0 and j1.
13764 * math/auto-libm-test-out: Regenerated.
13765 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13766 (erfc_test_data): Likewise.
13767 (exp_test_data): Likewise.
13768 (exp_tonearest_test_data): Likewise.
13769 (exp_towardzero_test_data): Likewise.
13770 (exp_downward_test_data): Likewise.
13771 (exp_upward_test_data): Likewise.
13772 (exp10_test_data): Likewise.
13773 (exp2_test_data): Likewise.
13774 (expm1_test_data): Likewise.
13775 (j0_test_data): Likewise.
13776 (j1_test_data): Likewise.
13777 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13778 (input_flag_type): Add flag_xfail_rounding.
13779 (input_flags): Add xfail-rounding.
13780 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13781 (output_for_one_input_case): Handle flag_xfail_rounding.
13782 * sysdeps/i386/fpu/libm-test-ulps: Update.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13784
18d14251
AJ
137852013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13786
3d2e6075 13787 [BZ #16289]
18d14251
AJ
13788 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13789 division by 0.
13790
520d437b
SP
137912013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 [BZ #16195]
13794 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13795 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13796 (STAP_PROBE0): New macro.
13797 (STAP_PROBE1): Likewise.
13798 (STAP_PROBE2): Likewise.
13799 (STAP_PROBE3): Likewise.
13800 (STAP_PROBE4): Likewise.
13801
416e0145
OB
138022013-12-02 Ondřej Bílka <neleai@seznam.cz>
13803
13804 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13805
9d17796a
SE
138062013-12-02 Steve Ellcey <sellcey@mips.com>
13807
13808 * benchtests/Makefile (bench): Add sqrt.
13809 (LDLIBS-bench-sqrt): New.
13810 * benchtests/sqrt-input: New.
13811
f524d6a8
PS
138122013-12-02 Pavel Simerda <psimerda@redhat.com>
13813
639a0ef8
PS
13814 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13815 (GAIH_EAI): Likewise.
13816 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13817 (gaih_inet): Likewise.
13818 (getaddrinfo): Don't use GAIH_EAI.
13819
f524d6a8
PS
13820 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13821 (struct gaih): Remove definition.
13822
df3aedaf
SP
138232013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13824
13825 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13826 Use HERRNOP directly.
13827
1ab19dec
AZ
138282013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13829
b42ad38d 13830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13831
176b0c79
JM
138322013-11-30 Joseph Myers <joseph@codesourcery.com>
13833
13834 * math/gen-auto-libm-tests.c (test_functions): Add more
13835 single-argument functions.
13836 (special_fill_pi_2): New function.
13837 (special_fill_minus_pi_2): Likewise.
13838 (special_fill_pi_6): Likewise.
13839 (special_fill_minus_pi_6): Likewise.
13840 (special_fill_pi_3): Likewise.
13841 (special_fill_2pi_3): Likewise.
13842 (special_fill_e): Likewise.
13843 (special_fill_1_e): Likewise.
13844 (special_fill_e_minus_1): Likewise.
13845 (special_real_inputs): Add more special inputs.
13846 (output_for_one_input_case): Do not require ERANGE on underflow to
13847 zero if round-to-nearest result does not underflow to zero, unless
13848 exact results required.
13849 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13850 atan, atanh, cbrt, cos and cosh.
13851 * math/auto-libm-test-out: Regenerated.
13852 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13853 (acos_tonearest_test_data): Likewise.
13854 (acos_towardzero_test_data): Likewise.
13855 (acos_downward_test_data): Likewise.
13856 (acos_upward_test_data): Likewise.
13857 (acosh_test_data): Likewise.
13858 (asin_test_data): Likewise.
13859 (asin_tonearest_test_data): Likewise.
13860 (asin_towardzero_test_data): Likewise.
13861 (asin_upward_test_data): Likewise.
13862 (asinh_test_data): Likewise.
13863 (atan_test_data): Likewise.
13864 (atanh_test_data): Likewise.
13865 (cbrt_test_data): Likewise.
13866 (cos_test_data): Likewise.
13867 (cos_tonearest_test_data): Likewise.
13868 (cos_towardzero_test_data): Likewise.
13869 (cos_downward_test_data): Likewise.
13870 (cos_upward_test_data): Likewise.
13871 (cosh_test_data): Likewise.
13872 (cosh_tonearest_test_data): Likewise.
13873 (cosh_towardzero_test_data): Likewise.
13874 (cosh_downward_test_data): Likewise.
13875 (cosh_upward_test_data): Likewise.
13876 * sysdeps/i386/fpu/libm-test-ulps: Update.
13877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13878
ffb536d0
JM
138792013-11-29 Joseph Myers <joseph@codesourcery.com>
13880
2a77a467
JM
13881 [BZ #6787]
13882 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13883 * math/w_exp10f.c (__exp10f): Likewise.
13884 * math/w_exp10l.c (__exp10l): Likewise.
13885 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13886 errno settings in existing tests.
13887
ea3bc4e8
JM
13888 [BZ #14032]
13889 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13890 precision control set to double precision.
13891 * sysdeps/i386/fpu/w_sqrt.c: New file.
13892 * math/auto-libm-test-in: Add more tests.
13893 * math/auto-libm-test-out: Update.
13894
0712c9d8
JM
13895 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13896 (sqrt_test_tonearest): New function.
13897 (sqrt_towardzero_test_data): New variable.
13898 (sqrt_test_towardzero): New function.
13899 (sqrt_downward_test_data): New variable.
13900 (sqrt_test_downward): New function.
13901 (sqrt_upward_test_data): New variable.
13902 (sqrt_test_upward): New function.
13903 (main): Call the new functions.
13904
ffb536d0
JM
13905 * math/gen-auto-libm-tests.c: New file.
13906 * math/auto-libm-test-in: Likewise.
13907 * math/auto-libm-test-out: New generated file.
13908 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13909 variables.
13910 (%beautify): Add generated representations of zero.
13911 (top level): Set $auto_input and call parse_auto_input.
13912 (beautify): Remove trailing "f" from hex float constants.
13913 (parse_args): Handle XFAIL_TEST.
13914 (convert_condition): New function.
13915 (or_value): Likewise.
13916 (or_cond_value): Likewise.
13917 (generate_testfile): Handle AUTO_TESTS_* lines.
13918 (parse_auto_input): New function.
13919 * math/libm-test.inc (XFAIL_TEST): New macro.
13920 (ERRNO_UNCHANGED): Update value.
13921 (ERRNO_EDOM): Likewise.
13922 (ERRNO_ERANGE): Likewise.
13923 (IGNORE_RESULT): Likewise.
13924 (TEST_COND_flt_32): New macro.
13925 (TEST_COND_dbl_64): Likewise.
13926 (TEST_COND_ldbl_96_intel): Likewise.
13927 (TEST_COND_ldbl_96_m68k): Likewise.
13928 (TEST_COND_ldbl_128): Likewise.
13929 (TEST_COND_ldbl_128ibm): Likewise.
13930 (TEST_COND_long32): Likewise.
13931 (TEST_COND_long64): Likewise.
13932 (TEST_COND_before_rounding): Likewise.
13933 (TEST_COND_after_rounding): Likewise.
13934 (enable_test): Handle XFAIL_TEST flag.
13935 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13936 with finite results.
13937 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13938 auto-libm-test-out.
13939
acd98a8e
AK
139402013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13941 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13942
13943 [BZ #16214]
13944 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13945 __tls_get_addr_internal instead of __tls_get_offset in order to
13946 avoid GOT pointer dependency. Make rtld export
13947 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13948 __tls_get_addr since we are a __tls_get_offset platform.
13949 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13950 GOT pointer being set up before.
13951 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13952
3c1c46a6
JM
139532013-11-28 Joseph Myers <joseph@codesourcery.com>
13954
7475aef5
JM
13955 * manual/math.texi (Errors in Math Functions): Document accuracy
13956 goals.
13957
8bca7cd8
JM
13958 [BZ #15004]
13959 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13960 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13963 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13965 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13975
91a1f3fe
JM
13976 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13977 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13978 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13979 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13980 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13981 Likewise.
13982 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13983 Likewise.
13984 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13985 Likewise.
13986 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13987 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13988 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13989 atomic-feupdateenv and flt-rounds.
13990 * sysdeps/powerpc/nofpu/Versions (libc): Add
13991 __atomic_feholdexcept, __atomic_feclearexcept,
13992 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13993 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13994 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13995 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13996 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13997 here.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13999 Update.
14000
c5df7609
JM
14001 * manual/arith.texi (FP Exceptions): Document that exceptions may
14002 not be raised when matherr is used.
14003 (Math Error Reporting): Document overflow in directed rounding
14004 modes. Document that errno may not be set when finite values are
14005 returned on overflow. Document intent to set errno on underflow
14006 only for underflow to zero.
14007
3c1c46a6
JM
14008 [BZ #16271]
14009 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14010 round-to-nearest then adjust result for other rounding modes.
14011 * include/fenv.h (fegetround): Use libm_hidden_proto.
14012 * math/fegetround.c (fegetround): Use libm_hidden_def.
14013 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14014 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14015 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14016 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14017 Likewise.
14018 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14019 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14020 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14021 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14022
5a4c6d53
SP
140232013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 [BZ #16077]
14026 * nss/Versions (libnss_files): Add
14027 _nss_files_gethostbyname3_r.
14028 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14029 New function.
14030 (HOST_DB_LOOKUP): Remove macro.
14031 (_nss_files_gethostbyname_r): Implement function without the
14032 HOST_DB_LOOKUP macro.
14033 (_nss_files_gethostbyname2_r): Likewise.
14034
897b98ba
OB
140352013-11-28 Ondřej Bílka <neleai@seznam.cz>
14036
14037 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14038
6f476861
UB
140392013-11-26 Uros Bizjak <ubizjak@gmail.com>
14040
14041 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14042 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14043 warning.
14044
bd12ab55
AZ
140452013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14046
14047 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14048 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14049 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14050 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14051 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14052 __fe_nomask_env_priv and attribute_hidden.
14053 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14054 (libc_feupdateenv_test_ppc): Likewise.
14055 (libc_feresetround_ppc): Likewise.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14057 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14058 compat_symbol macro.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14060 (__fe_nomask_env): Likewise.
14061 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14062
52bb6543
OB
140632013-11-26 Ondřej Bílka <neleai@seznam.cz>
14064
14065 * string/Makefile: Remove ifunc tests.
14066 * string/test-string.h: Define TEST_IFUNC.
14067 * string/test-bcopy-ifunc.c: Remove.
14068 * string/test-bzero-ifunc.c: Likewise.
14069 * string/test-memccpy-ifunc.c: Likewise.
14070 * string/test-memchr-ifunc.c: Likewise.
14071 * string/test-memcmp-ifunc.c: Likewise.
14072 * string/test-memcpy-ifunc.c: Likewise.
14073 * string/test-memmem-ifunc.c: Likewise.
14074 * string/test-memmove-ifunc.c: Likewise.
14075 * string/test-mempcpy-ifunc.c: Likewise.
14076 * string/test-memrchr-ifunc.c: Likewise.
14077 * string/test-memset-ifunc.c: Likewise.
14078 * string/test-rawmemchr-ifunc.c: Likewise.
14079 * string/test-stpcpy-ifunc.c: Likewise.
14080 * string/test-stpncpy-ifunc.c: Likewise.
14081 * string/test-strcasecmp-ifunc.c: Likewise.
14082 * string/test-strcasestr-ifunc.c: Likewise.
14083 * string/test-strcat-ifunc.c: Likewise.
14084 * string/test-strchr-ifunc.c: Likewise.
14085 * string/test-strchrnul-ifunc.c: Likewise.
14086 * string/test-strcmp-ifunc.c: Likewise.
14087 * string/test-strcpy-ifunc.c: Likewise.
14088 * string/test-strcspn-ifunc.c: Likewise.
14089 * string/test-strlen-ifunc.c: Likewise.
14090 * string/test-strncasecmp-ifunc.c: Likewise.
14091 * string/test-strncat-ifunc.c: Likewise.
14092 * string/test-strncmp-ifunc.c: Likewise.
14093 * string/test-strncpy-ifunc.c: Likewise.
14094 * string/test-strnlen-ifunc.c: Likewise.
14095 * string/test-strpbrk-ifunc.c: Likewise.
14096 * string/test-strrchr-ifunc.c: Likewise.
14097 * string/test-strspn-ifunc.c: Likewise.
14098 * string/test-strstr-ifunc.c: Likewise.
14099
ab260039 141002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14101
14102 * benchtests/Makefile: Remove ifunc tests.
14103 * benchtests/bench-string.h: Define TEST_IFUNC.
14104 * benchtests/bench-bcopy-ifunc.c: Remove.
14105 * benchtests/bench-bzero-ifunc.c: Likewise.
14106 * benchtests/bench-memccpy-ifunc.c: Likewise.
14107 * benchtests/bench-memchr-ifunc.c: Likewise.
14108 * benchtests/bench-memcmp-ifunc.c: Likewise.
14109 * benchtests/bench-memcpy-ifunc.c: Likewise.
14110 * benchtests/bench-memmem-ifunc.c: Likewise.
14111 * benchtests/bench-memmove-ifunc.c: Likewise.
14112 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14113 * benchtests/bench-memrchr-ifunc.c: Likewise.
14114 * benchtests/bench-memset-ifunc.c: Likewise.
14115 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14116 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14117 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14118 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14119 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14120 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14121 * benchtests/bench-strcat-ifunc.c: Likewise.
14122 * benchtests/bench-strchr-ifunc.c: Likewise.
14123 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14124 * benchtests/bench-strcmp-ifunc.c: Likewise.
14125 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14126 * benchtests/bench-strcpy-ifunc.c: Likewise.
14127 * benchtests/bench-strcspn-ifunc.c: Likewise.
14128 * benchtests/bench-strlen-ifunc.c: Likewise.
14129 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14130 * benchtests/bench-strncat-ifunc.c: Likewise.
14131 * benchtests/bench-strncmp-ifunc.c: Likewise.
14132 * benchtests/bench-strncpy-ifunc.c: Likewise.
14133 * benchtests/bench-strnlen-ifunc.c: Likewise.
14134 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14135 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14136 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14137 * benchtests/bench-strspn-ifunc.c: Likewise.
14138 * benchtests/bench-strstr-ifunc.c: Likewise.
14139
141402013-11-26 Ondřej Bílka <neleai@seznam.cz>
14141
ab260039
OB
14142 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14143
d1d9eaf4 141442013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14145
d1d9eaf4
OB
14146 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14147 * rt/aio.h: Likewise.
14148 * sysdeps/gnu/bits/utmp.h: Likewise.
14149 * sysdeps/gnu/bits/utmpx.h: Likewise.
14150 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14151 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14152 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14153 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14154 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14155 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14156 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14157 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14158 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14162 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14164 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14165 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14166 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14167 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14168 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14169 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14171 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14172 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14174 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14176 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14177 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14186 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14187 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14188 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14189 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14190 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14191 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14192
a7624ed9
CD
141932013-11-25 Carlos O'Donell <carlos@redhat.com>
14194
14195 [BZ #16245]
14196 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14197 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14198
63cfe52b
JM
141992013-11-25 Joseph Myers <joseph@codesourcery.com>
14200
14201 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14202 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14203 Likewise.
14204
41e8926a
AZ
142052013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14206
14207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14208 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14209 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14210 (__fesetround): Remove define.
14211 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14212 rounding and exceptions handling.
14213 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14214 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14215 (__fe_nomask_env): Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14217 __fegetround instead of fegetround.
14218 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14219 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14220
6851bd4d
RM
142212013-11-21 Roland McGrath <roland@hack.frob.com>
14222
070906ff
RM
14223 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14224 it's there.
14225
6851bd4d
RM
14226 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14227
84ae135d
MI
142282013-11-21 Meador Inge <meadori@codesourcery.com>
14229
14230 [BZ #11157]
14231 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14232 (encrypt_r): Likewise.
14233 * malloc/obstack.h (obstack_free): Likewise.
14234 * posix/unistd.h (encrypt): Likewise.
14235
daf75146
GM
142362013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14237
14238 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14239 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14240 DL_CALL_DT_FINI() that call the functions directly.
14241 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14242 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14243 * elf/dl-fini.c: Likewise.
14244
10ad46bc
OB
142452013-11-20 Ondřej Bílka <neleai@seznam.cz>
14246
14247 * malloc/hooks.c (memalign_check): Add alignment rounding.
14248 * malloc/malloc.c (_mid_memalign): New function.
14249 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14250 Implement by calling _mid_memalign.
14251 * manual/probes.texi (Memory Allocation Probes): Remove
14252 memory_valloc_retry and memory_pvalloc_retry.
14253
f3fd2628
SP
142542013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14255
4712799f
SP
14256 * locale/programs/locarchive.c (open_archive): Add const
14257 qualifier to ARCHIVEFNAME and copy default fname to
14258 DEFAULT_FNAME.
14259
0417b20f
SP
14260 [BZ #15601]
14261 * libio/tst-widetext.input: Rename Oriya to Odia.
14262 * locale/iso-639.def: Likewise.
14263
f3fd2628
SP
14264 * manual/probes.texi (Mathematical Function Probes): Add
14265 documentation for sin, cos, asin and acos probes.
14266 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14267 (__sin32): Add slowasin probe.
14268 (__cos32): Add slowacos probe.
14269 (__mpsin): Add slowsin probe.
14270 (__mpcos): Add slowcos probe.
14271
73c1ce4f
JM
142722013-11-19 Joseph Myers <joseph@codesourcery.com>
14273
14274 [BZ #15483]
14275 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14276 thread-local __sim_exceptions_thread and global
14277 __sim_exceptions_global.
14278 (__sim_disabled_exceptions): Change to thread-local
14279 __sim_disabled_exceptions_thread and global
14280 __sim_disabled_exceptions_global.
14281 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14282 and global __sim_round_mode_global.
14283 (__simulate_exceptions): Use thread-local floating-point state and
14284 set global state from it as needed.
14285 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14286 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14287 __sim_round_mode_thread.
14288 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14289 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14290 and global __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 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14297 (SIM_SET_GLOBAL): Likewise.
14298 * sysdeps/powerpc/soft-fp/sfp-machine.h
14299 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14300 __sim_round_mode_thread.
14301 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14302 __sim_disabled_exceptions_thread.
14303 (__sim_exceptions): Change to __sim_exceptions_thread.
14304 (__sim_disabled_exceptions): Change to
14305 __sim_disabled_exceptions_thread.
14306 (__sim_round_mode): Change to __sim_round_mode_thread.
14307 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14308 thread-local floating-point state and set global state from it as
14309 needed.
14310 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14311 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14312 (__sim_disabled_exceptions): Remove extern declaration.
14313 (feenableexcept): Use thread-local floating-point state and set
14314 global state from it as needed.
14315 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14316 extern declaration.
14317 (__sim_disabled_exceptions): Likewise.
14318 (__sim_round_mode): Likewise.
14319 (__fegetenv): Use thread-local floating-point state.
14320 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14321 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14322 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14323 floating-point state and set global state from it as needed.
14324 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14325 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14326 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14327 Likewise.
14328 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14329 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14330 Likewise.
14331 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14332 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14333 Use __sim_round_mode_thread.
14334 * math/test-fenv-tls.c: New file.
14335 * math/Makefile (tests): Add test-fenv-tls.
14336 ($(objpfx)test-fenv-tls): Depend on
14337 $(common-objpfx)nptl/libpthread.so.
14338
b5449b12
AS
143392013-11-19 Andreas Schwab <schwab@suse.de>
14340
14341 * locale/programs/locale.c (show_info): Decode wordarray elements.
14342 * locale/categories.def (LC_MONETARY): Add element for
14343 _NL_MONETARY_CRNCYSTR.
14344 * locale/C-monetary.c (conversion_rate): New variable.
14345 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14346 element.
14347
e186536b
CM
143482013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14349
14350 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14351 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14352
5c349950
PP
143532013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14354
14355 * elf/Makefile (tst-auxv): New test.
14356 * elf/tst-auxv.c: New
14357 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14358
699df45b
JM
143592013-11-18 Joseph Myers <joseph@codesourcery.com>
14360
14361 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14362 (hidden_proto): Caller changed.
14363 (hidden_tls_proto): New macro.
14364 (libc_hidden_tls_proto): Likewise.
14365 (rtld_hidden_tls_proto): Likewise.
14366 (libm_hidden_tls_proto): Likewise.
14367 (libresolv_hidden_tls_proto): Likewise.
14368 (librt_hidden_tls_proto): Likewise.
14369 (libdl_hidden_tls_proto): Likewise.
14370 (libnss_files_hidden_tls_proto): Likewise.
14371 (libnsl_hidden_tls_proto): Likewise.
14372 (libnss_nisplus_hidden_tls_proto): Likewise.
14373 (libutil_hidden_tls_proto): Likewise.
14374
b7589107
OB
143752013-11-18 Ondřej Bílka <neleai@seznam.cz>
14376
14377 [BZ #10253]
14378 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14379 (decompose_rpath): Defer expansion to fillin_rpath.
14380 (_dl_init_paths): Pass linkmap to fillin_rpath.
14381
250c23bd
RS
143822013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14383
14384 * benchtests/Makefile: Add strsep.
14385 * benchtests/bench-strsep.c: New file: strsep benchtest.
14386 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14387
a7931fcf
AS
143882013-11-18 Andreas Schwab <schwab@suse.de>
14389
14390 * locale/programs/locale.c (show_info) [case byte]: Check for
14391 '\377' instead of '\177'.
14392 * locale/C-monetary.c (not_available): Always use "\377".
14393 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14394 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14395 detect unavailable sign_posn locale elements.
14396 * locale/localeconv.c (__localeconv): For grouping and
14397 mon_grouping handle "\177" and "\377" like no grouping.
14398 (INT_ELEM): New macro. Use it to set all numeric members.
14399 * locale/programs/ld-monetary.c (monetary_read)
14400 <tok_mon_grouping>: Normalize single -1 to the empty string.
14401 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14402 Likewise.
14403
728dab0e
OB
144042013-11-07 Ondřej Bílka <neleai@seznam.cz>
14405
14406 [BZ #16055]
14407 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14408 when we match (nil).
14409 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14410
66294491
JM
144112013-11-16 Joseph Myers <joseph@codesourcery.com>
14412
ce665817
JM
14413 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14414 (NO_TEST_INLINE): Update value.
14415 (ERRNO_UNCHANGED): Likewise.
14416 (ERRNO_EDOM): Likewise.
14417 (ERRNO_ERANGE): Likewise.
14418 (IGNORE_RESULT): Likewise.
14419 (check_float_internal): Check signs of NaN results if
14420 TEST_NAN_SIGN used.
14421 (check_complex): Pass TEST_NAN_SIGN flag through to second
14422 check_float_internal call.
14423 (copysign_test_data): Add tests with quiet NaNs as second
14424 argument. Use TEST_NAN_SIGN.
14425 (fabs_test_data): Add test of negative quiet NaN argument. Use
14426 TEST_NAN_SIGN.
14427 (signbit_test_data): Add tests of quiet NaN argument.
14428 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14429
ee1466a9
JM
14430 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14431 $ignore_result.
14432 (parse_args): Handle function results specified as IGNORE.
14433 * math/libm-test.inc (IGNORE_RESULT): New macro.
14434 (check_float_internal): Do not check numerical result if flag
14435 IGNORE_RESULT set.
14436 (check_complex): Pass through IGNORE_RESULT to second
14437 check_float_internal call.
14438 (check_int): Do not check numerical result if flag IGNORE_RESULT
14439 set.
14440 (check_long): Likewise.
14441 (check_bool): Likewise.
14442 (check_longlong): Likewise.
14443 (lrint_test_data): Add tests of infinite and NaN arguments.
14444 (lrint_tonearest_test_data): Likewise.
14445 (lrint_towardzero_test_data): Likewise.
14446 (lrint_downward_test_data): Likewise.
14447 (lrint_upward_test_data): Likewise.
14448 (llrint_test_data): Likewise.
14449 (llrint_tonearest_test_data): Likewise.
14450 (llrint_towardzero_test_data): Likewise.
14451 (llrint_downward_test_data): Likewise.
14452 (llrint_upward_test_data): Likewise.
14453 (lround_test_data): Likewise.
14454 (llround_test_data): Likewise.
14455
14407b7e
JM
14456 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14457 (ERRNO_UNCHANGED): Update value.
14458 (ERRNO_EDOM): Likewise.
14459 (ERRNO_ERANGE): Likewise.
14460 (NO_TEST_INLINE_FLOAT): New macro.
14461 (NO_TEST_INLINE_DOUBLE): Likewise.
14462 (enable_test): New function.
14463 (RUN_TEST_f_f): Check enable_test before running test.
14464 (RUN_TEST_2_f): Likewise.
14465 (RUN_TEST_fff_f): Likewise.
14466 (RUN_TEST_c_f): Likewise.
14467 (RUN_TEST_f_f1): Likewise.
14468 (RUN_TEST_fF_f1): Likewise.
14469 (RUN_TEST_fI_f1): Likewise.
14470 (RUN_TEST_ffI_f1): Likewise.
14471 (RUN_TEST_c_c): Likewise.
14472 (RUN_TEST_cc_c): Likewise.
14473 (RUN_TEST_f_i): Likewise.
14474 (RUN_TEST_f_i_tg): Likewise.
14475 (RUN_TEST_ff_i_tg): Likewise.
14476 (RUN_TEST_f_b): Likewise.
14477 (RUN_TEST_f_b_tg): Likewise.
14478 (RUN_TEST_f_l): Likewise.
14479 (RUN_TEST_f_L): Likewise.
14480 (RUN_TEST_fFF_11): Likewise.
14481 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14482 conditionals.
14483 (cosh_test_data): Likewise.
14484 (exp_test_data): Likewise.
14485 (expm1_test_data): Likewise.
14486 (hypot_test_data): Likewise.
14487 (pow_test_data): Likewise.
14488 (sinh_test_data): Likewise.
14489 (tanh_test_data): Likewise.
14490 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14491 flags argument.
14492
ca07f197
JM
14493 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14494 tests with quiet NaN input and output.
14495 (acosh_test_data): Likewise.
14496 (asin_test_data): Likewise.
14497 (asinh_test_data): Likewise.
14498 (atan_test_data): Likewise.
14499 (atanh_test_data): Likewise.
14500 (atan2_test_data): Likewise.
14501 (cbrt_test_data): Likewise.
14502 (cos_test_data): Likewise.
14503 (cosh_test_data): Likewise.
14504 (erf_test_data): Likewise.
14505 (erfc_test_data): Likewise.
14506 (exp_test_data): Likewise.
14507 (exp10_test_data): Likewise.
14508 (exp2_test_data): Likewise.
14509 (expm1_test_data): Likewise.
14510 (hypot_test_data): Likewise.
14511 (j0_test_data): Likewise.
14512 (j1_test_data): Likewise.
14513 (jn_test_data): Likewise.
14514 (lgamma_test_data): Likewise.
14515 (log_test_data): Likewise.
14516 (log10_test_data): Likewise.
14517 (log1p_test_data): Likewise.
14518 (log2_test_data): Likewise.
14519 (pow_test_data): Likewise.
14520 (scalb_test_data): Likewise.
14521 (sin_test_data): Likewise.
14522 (sincos_test_data): Likewise.
14523 (sinh_test_data): Likewise.
14524 (tan_test_data): Likewise.
14525 (tanh_test_data): Likewise.
14526 (tgamma_test_data): Likewise.
14527 (y0_test_data): Likewise.
14528 (y1_test_data): Likewise.
14529 (yn_test_data): Likewise.
14530
66294491
JM
14531 [BZ #16167]
14532 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14533 argument being NaN and avoid computations with second argument in
14534 that case.
14535 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14536 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14537 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14538
1820b143
CL
145392013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14540
14541 * locale/iso-639.def: Add Chitwani Tharu (the).
14542
714bd261
AS
145432013-11-14 Andreas Schwab <schwab@suse.de>
14544
14545 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14546 word instead of empty string.
14547
7ab44563
AZ
145482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14549
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14551 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14553 (__fe_nomask_env): Likewise.
14554
e8470ea2
SE
145552013-11-13 Steve Ellcey <sellcey@mips.com>
14556
14557 * benchtests/bench-timing.h: Include time.h.
14558
17c1d9f0
L
145592013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14560
14561 [BZ #15997]
14562 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14563 to 3.4.0 for x32.
14564 * sysdeps/unix/sysv/linux/configure: Regenerated.
14565
9310c284
JM
145662013-11-13 Joseph Myers <joseph@codesourcery.com>
14567
14568 [BZ #16151]
14569 * stdlib/strtod_l.c (round_and_return): Do not consider
14570 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14571 exponent one less than half the least subnormal exponent.
14572 * stdlib/test-strtod-round-data: Add more tests.
14573 * stdlib/tst-strtod-round.c (tests): Regenerated.
14574
7a2ad8cf
AZ
145752013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14576
14577 [BZ #14143]
14578 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14579 (__fe_mask_env): Likewise.
14580 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14581 libm_hidden_proto and add function prototype.
14582 (__fe_mask_env): Add function prototype.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14584 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14586 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14588 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14589
50727aa7
MS
145902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14591
b2f386c1 14592 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14593 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14594
a615be46
MS
145952013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14596
14597 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14598 of htab_find_slot().
14599
7ddace62
DM
146002013-11-11 David S. Miller <davem@davemloft.net>
14601
14602 [BZ #16150]
14603 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14604 symbol in the non-vis3 case in static builds.
14605 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14606 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14607 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14608 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14609
9182aa67
JK
146102013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14611
14612 [BZ #387]
14613 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14614 it is empty.
14615
450a2e2d
AZ
146162013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14617
b2f386c1
SP
14618 * benchtests/Makefile: Add bench-strtod.
14619 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14620
8ec3f656
AS
146212013-11-11 Andreas Schwab <schwab@suse.de>
14622
14623 [BZ #16153]
14624 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14625 terminating NUL in key length.
14626
76a9b998
AZ
146272013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14628
14629 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14630 Add artificial ODP entry for vDSO symbol for PPC64.
14631 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14632 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14633
e4368156
OB
146342013-11-07 Ondřej Bílka <neleai@seznam.cz>
14635
14636 [BZ #15374]
14637 * nss/getent.c (services_keys): Recognize services starting with digit.
14638
8d6bb57c
DM
146392013-11-06 David S. Miller <davem@davemloft.net>
14640
14641 [BZ #15985]
14642 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14643 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14644
e256c421
WN
146452013-11-06 Will Newton <will.newton@linaro.org>
14646
14647 * manual/memory.texi (Malloc Examples): Remove register
14648 keyword from examples.
14649
f6e12daa 146502013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14651
f6e12daa 14652 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14653
9d880655
AS
146542013-11-04 Joseph Myers <joseph@codesourcery.com>
14655
fd2f9486 14656 [BZ #6981]
9d880655
AS
14657 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14658 depending on [__GCC_IEC_559 > 0].
14659 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14660 depending on [__GCC_IEC_559_COMPLEX > 0].
14661
ae129d3c
CL
146622013-11-03 Chris Leonard <cjl@sugarlabs.org>
14663
14664 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14665 to iso-639.def.
14666
4a15c2a4 146672013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14668
14669 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14670
8b35e35d
OB
146712013-11-01 Ondřej Bílka <neleai@seznam.cz>
14672
14673 [BZ #16112]
14674 * malloc/malloc (malloc_info): Do not handle first bin as
14675 special case.
14676
1d70fd6c
CL
146772013-11-01 Chris Leonard <cjl@sugarlabs.org>
14678
14679 * locale/iso-639.def: Add Central Nahuatl (nhn).
14680
8c5c2600
BH
146812013-11-01 Bruno Haible <bruno@clisp.org>
14682
14683 [BZ #7003]
14684 * manual/math.texi (BSD Random): Specify range upper bound as
14685 in POSIX.
14686
da5579c2
CL
146872013-10-31 Chris Leonard <cjl@sugarlabs.org>
14688
14689 * locale/iso-639.def: Add Meadow Mari (mhr).
14690
5d30d853
OB
146912013-10-31 Ondřej Bílka <neleai@seznam.cz>
14692
14693 [BZ #14752], [BZ #15763]
14694 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14695 Validate name.
14696 * rt/tst_shm.c: Add test for escaping directory.
14697
a4966c61
AS
146982013-10-31 Andreas Schwab <schwab@suse.de>
14699
8a43e768 14700 [BZ #15917]
a4966c61
AS
14701 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14702 followed by 'x' as part of digit sequence.
14703 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14704
28d708c4
MAP
147052013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14706
14707 [BZ #16037]
14708 * configure.ac: allow GNU Make 4.0 and greater.
14709 * configure: Regenerated.
14710
a56ee40b
WN
147112013-10-30 Will Newton <will.newton@linaro.org>
14712
14713 [BZ #16038]
14714 * malloc/hooks.c (memalign_check): Limit alignment to the
14715 maximum representable power of two.
14716 * malloc/malloc.c (__libc_memalign): Likewise.
14717 * malloc/tst-memalign.c (do_test): Add test for very
14718 large alignment values.
14719 * malloc/tst-posix_memalign.c (do_test): Likewise.
14720
c6e4925d
OB
147212013-10-30 Ondřej Bílka <neleai@seznam.cz>
14722
14723 [BZ #11087]
14724 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14725 (munmap_chunk): Likewise.
14726 (mremap_chunk): Likewise.
14727
147282013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14729
8a43e768 14730 [BZ #15799]
bbea82f7
OB
14731 * stdlib/div.c (div): Remove obsolete code.
14732 * stdlib/ldiv.c (ldiv): Likewise.
14733 * stdlib/lldiv.c (lldiv): Likewise.
14734
977f4b31
SP
147352013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14736
14737 [BZ #16071]
14738 * nss/nss_files/files-XXX.c (get_contents_ret): New
14739 enumerator.
14740 (get_contents): New function.
14741 (internal_getent): Use it. Expand size of LINEBUFLEN.
14742
cb8a6dbd
MF
147432013-10-30 Mike Frysinger <vapier@gentoo.org>
14744
14745 * configure.in: Moved to ...
14746 * configure.ac: ... here. Change reference to configure.in
14747 to configure.ac.
14748 * sysdeps/arm/preconfigure.ac: ... here.
14749 configure.in to configure.ac.
14750 * sysdeps/gnu/configure.in: Moved to ...
14751 * sysdeps/gnu/configure.ac: ... here.
14752 * sysdeps/i386/configure.in: Moved to ...
14753 * sysdeps/i386/configure.ac: ... here.
14754 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14755 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14756 * sysdeps/mach/configure.in: Moved to ...
14757 * sysdeps/mach/configure.ac: ... here.
14758 * sysdeps/mach/hurd/configure.in: Moved to ...
14759 * sysdeps/mach/hurd/configure.ac: ... here.
14760 * sysdeps/powerpc/configure.in: Moved to ...
14761 * sysdeps/powerpc/configure.ac: ... here.
14762 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14763 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14764 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14765 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14766 * sysdeps/s390/s390-32/configure.in: Moved to ...
14767 * sysdeps/s390/s390-32/configure.ac: ... here.
14768 * sysdeps/s390/s390-64/configure.in: Moved to ...
14769 * sysdeps/s390/s390-64/configure.ac: ... here.
14770 * sysdeps/sh/configure.in: Moved to ...
14771 * sysdeps/sh/configure.ac: ... here.
14772 * sysdeps/sparc/configure.in: Moved to ...
14773 * sysdeps/sparc/configure.ac: ... here.
14774 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14775 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14776 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14777 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14778 * sysdeps/x86_64/configure.in: Moved to ...
14779 * sysdeps/x86_64/configure.ac: ... here.
14780 * sysdeps/x86_64/preconfigure.in: Moved to ...
14781 * sysdeps/x86_64/preconfigure.ac: ... here.
14782 * aclocal.m4: Change reference to configure.in to configure.ac.
14783 * config.h.in: Likewise.
14784 * manual/install.texi: Likewise.
14785 * manual/maint.texi: Likewise.
14786 * Makefile: Likewise.
14787 * malloc/Makefile: Likewise.
14788 * nscd/Makefile: Likewise.
14789 * Makeconfig: Change reference to configure.in and
14790 preconfigure.in to configure.ac and preconfigure.ac
14791 respectively.
14792 * INSTALL: Regenerated.
14793 * configure: Likewise.
14794 * sysdeps/gnu/configure: Likewise.
14795 * sysdeps/i386/configure: Likewise.
14796 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14797 * sysdeps/mach/configure: Likewise.
14798 * sysdeps/mach/hurd/configure: Likewise.
14799 * sysdeps/powerpc/configure: Likewise.
14800 * sysdeps/powerpc/powerpc32/configure: Likewise.
14801 * sysdeps/powerpc/powerpc64/configure: Likewise.
14802 * sysdeps/s390/s390-32/configure: Likewise.
14803 * sysdeps/s390/s390-64/configure: Likewise.
14804 * sysdeps/sh/configure: Likewise.
14805 * sysdeps/sparc/configure: Likewise.
14806 * sysdeps/unix/sysv/linux/configure: Likewise.
14807 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14808 * sysdeps/x86_64/configure: Likewise.
14809 * sysdeps/x86_64/preconfigure: Likewise.
14810
36a4953a
AS
148112013-10-29 Andreas Schwab <schwab@suse.de>
14812
14813 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14814
c79a1204
SP
148152013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14816
dfa1b402
SP
14817 * benchtests/pow-inputs: Add new inputs.
14818
54f73d9c
SP
14819 * benchtests/exp-inputs: Add new inputs.
14820
c79a1204
SP
14821 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14822 conditional check for return value.
14823 (__cos32): Likewise.
14824
67beb545 148252013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14826
14827 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14828 to provide a boost for large inputs with word alignment.
14829 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14830 implementation based on optimized PPC64 strcpy.
14831 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14832 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14833 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14834 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14835
151659f6
OB
148362013-10-25 Ondřej Bílka <neleai@seznam.cz>
14837
482a077e 14838 [BZ #2801]
151659f6
OB
14839 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14840
10b0f26b
OB
148412013-10-25 Ondřej Bílka <neleai@seznam.cz>
14842
14843 [BZ #14876]
14844 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14845 * time/tst-strptime.c (day_tests): Add testcase.
14846
ca42d35e
OB
148472013-10-25 Ondřej Bílka <neleai@seznam.cz>
14848
482a077e 14849 [BZ #14029]
ca42d35e
OB
14850 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14851
52e6d801
FB
148522013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14853
14854 [BZ #16074]
14855 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14856 MAP_FAILED on error.
14857
7cbcdb36
SP
148582013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14859
14860 [BZ #16072]
14861 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14862 heap for large requests.
14863
894f3f10
AM
148642013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14865
14866 [BZ #9954]
14867 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14868 result if the result has no associated interface.
14869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14870 interface for all 127.X.Y.Z addresses.
14871
b85545a6
CL
148722013-10-24 Chris Leonard <cjl@sugarlabs.org>
14873
14874 * locale/iso-639.def: Add Ligurian (lij)
14875
d1f23d46
OB
148762013-10-21 Ondřej Bílka <neleai@seznam.cz>
14877
14878 [BZ #15825]
14879 * sunrpc/rpc_main.c: Document rpcgen -5.
14880
4db5b08f
MS
148812013-10-19 Michael Stahl <mstahl@redhat.com>
14882
14883 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14884
a471e96a
OB
148852013-10-19 Ondřej Bílka <neleai@seznam.cz>
14886
d1f23d46 14887 [BZ #10278]
a471e96a
OB
14888 * posix/glob.c: Match only directories when trailing slash is present.
14889 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14890 (main): Add testcase.
14891
45c30c61
OB
148922013-10-19 Ondřej Bílka <neleai@seznam.cz>
14893
14894 [BZ #15670]
14895 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14896
484c12fb
CD
148972013-10-18 Carlos O'Donell <carlos@redhat.com>
14898
3d7dc513
CD
14899 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14900 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14901 AUTH_DES and cindex for FIPS 140-2.
14902 (DES Encryption): Add cindex FIPS 46-3.
14903
484c12fb
CD
14904 * locale/locarchive.h (struct locarhandle): Add fname.
14905 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14906 if an optional argument was specified to --list-archive,
14907 otherwise NULL.
14908 * locale/programs/locarchive.c (show_archive_content): Take new
14909 argument fname and pass it via ah.fname to open_archive.
14910 * locale/programs/localedef.h: Update decl.
14911 (open_archive): If AH->fname is non-null, open that file
14912 rather than the default file name, and don't ignore ENOENT.
14913 (create_archive): Set AH.fname to NULL.
14914 (delete_locales_from_archive): Likewise.
14915 (add_locales_to_archive): Likewise.
14916 * locale/programs/locfile.c (write_all_categories): Likewise.
14917
3c8325fb
JM
149182013-10-18 Joseph Myers <joseph@codesourcery.com>
14919 Aldy Hernandez <aldyh@redhat.com>
14920
14921 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14922 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14923 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14924 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14925 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14928 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14929 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14930 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14931 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14932 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14933 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14934 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14935 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14936 Likewise.
14937 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14938 Likewise.
14939 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14940 Likewise.
14941 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14942 Likewise.
14943 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14944 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14945 Likewise.
14946 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14947 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14948 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14949 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14950 Likewise.
14951 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14953 * sysdeps/powerpc/preconfigure: Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14955 Likewise.
14956 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14957 Replace contents of file by #include of <fenv_libc.h>.
14958 * sysdeps/powerpc/soft-fp/sfp-machine.h
14959 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14960 and <sys/prctl.h>.
14961 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14974 Allow copysignl PLT reference to be missing.
14975
5abe0682
RS
149762013-10-18 Richard Sandiford <richard@codesourcery.com>
14977 Joseph Myers <joseph@codesourcery.com
14978
14979 [BZ #15948]
14980 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14981 single character.
14982 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14983
c7738d08
SP
149842013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14985
14986 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14987 * elf/tst-tls1.c: Likewise.
14988 * elf/tst-tls10.h: Likewise.
14989 * elf/tst-tls14.c: Likewise.
14990 * elf/tst-tls2.c: Likewise.
14991 * elf/tst-tls3.c: Likewise.
14992 * elf/tst-tls4.c: Likewise.
14993 * elf/tst-tls5.c: Likewise.
14994 * elf/tst-tls6.c: Likewise.
14995 * elf/tst-tls7.c: Likewise.
14996 * elf/tst-tls8.c: Likewise.
14997 * elf/tst-tls9.c: Likewise.
14998 * elf/tst-tlsmod1.c: Likewise.
14999 * elf/tst-tlsmod13.c: Likewise.
15000 * elf/tst-tlsmod13a.c: Likewise.
15001 * elf/tst-tlsmod14a.c: Likewise.
15002 * elf/tst-tlsmod16a.c: Likewise.
15003 * elf/tst-tlsmod16b.c: Likewise.
15004 * elf/tst-tlsmod2.c: Likewise.
15005 * elf/tst-tlsmod3.c: Likewise.
15006 * elf/tst-tlsmod4.c: Likewise.
15007 * elf/tst-tlsmod5.c: Likewise.
15008 * elf/tst-tlsmod6.c: Likewise.
15009
0bfcf2c7
OB
150102013-10-18 Ondřej Bílka <neleai@seznam.cz>
15011
15012 [BZ #12486]
15013 * malloc/malloc.c: remove checks for statistics.
15014
264aad1e
OB
150152013-10-17 Ondřej Bílka <neleai@seznam.cz>
15016
15017 [BZ #15277]
15018 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15019 * inet/tst-network.c: Add testcase.
15020
b957ced8
AS
150212013-10-17 Andreas Schwab <schwab@suse.de>
15022
15023 [BZ #15218]
15024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15025 to determine canonical name.
15026
c5d5d574
OB
150272013-10-17 Ondřej Bílka <neleai@seznam.cz>
15028
15029 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15030 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15053 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15054 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15087
e5c2c2d0
JM
150882013-10-17 Joseph Myers <joseph@codesourcery.com>
15089
15090 [BZ #16041]
15091 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15092 make result into a quiet NaN.
15093
51ca9e29
JM
150942013-10-16 Joseph Myers <joseph@codesourcery.com>
15095
15096 * soft-fp/adddf3.c: Fix horizontal whitespace.
15097 * soft-fp/addsf3.c: Likewise.
15098 * soft-fp/addtf3.c: Likewise.
15099 * soft-fp/divdf3.c: Likewise.
15100 * soft-fp/divsf3.c: Likewise.
15101 * soft-fp/divtf3.c: Likewise.
15102 * soft-fp/double.h: Likewise.
15103 * soft-fp/eqdf2.c: Likewise.
15104 * soft-fp/eqsf2.c: Likewise.
15105 * soft-fp/eqtf2.c: Likewise.
15106 * soft-fp/extenddftf2.c: Likewise.
15107 * soft-fp/extended.h: Likewise.
15108 * soft-fp/extendsfdf2.c: Likewise.
15109 * soft-fp/extendsftf2.c: Likewise.
15110 * soft-fp/extendxftf2.c: Likewise.
15111 * soft-fp/fixdfdi.c: Likewise.
15112 * soft-fp/fixdfsi.c: Likewise.
15113 * soft-fp/fixdfti.c: Likewise.
15114 * soft-fp/fixsfdi.c: Likewise.
15115 * soft-fp/fixsfsi.c: Likewise.
15116 * soft-fp/fixsfti.c: Likewise.
15117 * soft-fp/fixtfdi.c: Likewise.
15118 * soft-fp/fixtfsi.c: Likewise.
15119 * soft-fp/fixtfti.c: Likewise.
15120 * soft-fp/fixunsdfdi.c: Likewise.
15121 * soft-fp/fixunsdfsi.c: Likewise.
15122 * soft-fp/fixunsdfti.c: Likewise.
15123 * soft-fp/fixunssfdi.c: Likewise.
15124 * soft-fp/fixunssfsi.c: Likewise.
15125 * soft-fp/fixunssfti.c: Likewise.
15126 * soft-fp/fixunstfdi.c: Likewise.
15127 * soft-fp/fixunstfsi.c: Likewise.
15128 * soft-fp/fixunstfti.c: Likewise.
15129 * soft-fp/floatdidf.c: Likewise.
15130 * soft-fp/floatdisf.c: Likewise.
15131 * soft-fp/floatditf.c: Likewise.
15132 * soft-fp/floatsidf.c: Likewise.
15133 * soft-fp/floatsisf.c: Likewise.
15134 * soft-fp/floatsitf.c: Likewise.
15135 * soft-fp/floattidf.c: Likewise.
15136 * soft-fp/floattisf.c: Likewise.
15137 * soft-fp/floattitf.c: Likewise.
15138 * soft-fp/floatundidf.c: Likewise.
15139 * soft-fp/floatundisf.c: Likewise.
15140 * soft-fp/floatunditf.c: Likewise.
15141 * soft-fp/floatunsidf.c: Likewise.
15142 * soft-fp/floatunsisf.c: Likewise.
15143 * soft-fp/floatunsitf.c: Likewise.
15144 * soft-fp/floatuntidf.c: Likewise.
15145 * soft-fp/floatuntisf.c: Likewise.
15146 * soft-fp/floatuntitf.c: Likewise.
15147 * soft-fp/fmadf4.c: Likewise.
15148 * soft-fp/fmasf4.c: Likewise.
15149 * soft-fp/fmatf4.c: Likewise.
15150 * soft-fp/gedf2.c: Likewise.
15151 * soft-fp/gesf2.c: Likewise.
15152 * soft-fp/getf2.c: Likewise.
15153 * soft-fp/ledf2.c: Likewise.
15154 * soft-fp/lesf2.c: Likewise.
15155 * soft-fp/letf2.c: Likewise.
15156 * soft-fp/muldf3.c: Likewise.
15157 * soft-fp/mulsf3.c: Likewise.
15158 * soft-fp/multf3.c: Likewise.
15159 * soft-fp/negdf2.c: Likewise.
15160 * soft-fp/negsf2.c: Likewise.
15161 * soft-fp/negtf2.c: Likewise.
15162 * soft-fp/op-1.h: Likewise.
15163 * soft-fp/op-2.h: Likewise.
15164 * soft-fp/op-4.h: Likewise.
15165 * soft-fp/op-8.h: Likewise.
15166 * soft-fp/op-common.h: Likewise.
15167 * soft-fp/quad.h: Likewise.
15168 * soft-fp/single.h: Likewise.
15169 * soft-fp/soft-fp.h: Likewise.
15170 * soft-fp/sqrtdf2.c: Likewise.
15171 * soft-fp/sqrtsf2.c: Likewise.
15172 * soft-fp/sqrttf2.c: Likewise.
15173 * soft-fp/subdf3.c: Likewise.
15174 * soft-fp/subsf3.c: Likewise.
15175 * soft-fp/subtf3.c: Likewise.
15176 * soft-fp/truncdfsf2.c: Likewise.
15177 * soft-fp/trunctfdf2.c: Likewise.
15178 * soft-fp/trunctfsf2.c: Likewise.
15179 * soft-fp/trunctfxf2.c: Likewise.
15180 * soft-fp/unorddf2.c: Likewise.
15181 * soft-fp/unordsf2.c: Likewise.
15182 * soft-fp/unordtf2.c: Likewise.
15183
9ebb0332
JM
151842013-10-15 Joseph Myers <joseph@codesourcery.com>
15185
15186 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15187 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15188
4b1a6d8b
OB
151892013-10-15 Ondřej Bílka <neleai@seznam.cz>
15190
15191 * elf/dl-libc.c: Clear initfini list after freeing.
15192
1e145589
JM
151932013-10-14 Joseph Myers <joseph@codesourcery.com>
15194
15195 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15196 * soft-fp/addsf3.c: Likewise.
15197 * soft-fp/addtf3.c: Likewise.
15198 * soft-fp/divdf3.c: Likewise.
15199 * soft-fp/divsf3.c: Likewise.
15200 * soft-fp/divtf3.c: Likewise.
15201 * soft-fp/double.h: Likewise.
15202 * soft-fp/eqdf2.c: Likewise.
15203 * soft-fp/eqsf2.c: Likewise.
15204 * soft-fp/eqtf2.c: Likewise.
15205 * soft-fp/extenddftf2.c: Likewise.
15206 * soft-fp/extended.h: Likewise.
15207 * soft-fp/extendsfdf2.c: Likewise.
15208 * soft-fp/extendsftf2.c: Likewise.
15209 * soft-fp/extendxftf2.c: Likewise.
15210 * soft-fp/fixdfdi.c: Likewise.
15211 * soft-fp/fixdfsi.c: Likewise.
15212 * soft-fp/fixdfti.c: Likewise.
15213 * soft-fp/fixsfdi.c: Likewise.
15214 * soft-fp/fixsfsi.c: Likewise.
15215 * soft-fp/fixsfti.c: Likewise.
15216 * soft-fp/fixtfdi.c: Likewise.
15217 * soft-fp/fixtfsi.c: Likewise.
15218 * soft-fp/fixtfti.c: Likewise.
15219 * soft-fp/fixunsdfdi.c: Likewise.
15220 * soft-fp/fixunsdfsi.c: Likewise.
15221 * soft-fp/fixunsdfti.c: Likewise.
15222 * soft-fp/fixunssfdi.c: Likewise.
15223 * soft-fp/fixunssfsi.c: Likewise.
15224 * soft-fp/fixunssfti.c: Likewise.
15225 * soft-fp/fixunstfdi.c: Likewise.
15226 * soft-fp/fixunstfsi.c: Likewise.
15227 * soft-fp/fixunstfti.c: Likewise.
15228 * soft-fp/floatdidf.c: Likewise.
15229 * soft-fp/floatdisf.c: Likewise.
15230 * soft-fp/floatditf.c: Likewise.
15231 * soft-fp/floatsidf.c: Likewise.
15232 * soft-fp/floatsisf.c: Likewise.
15233 * soft-fp/floatsitf.c: Likewise.
15234 * soft-fp/floattidf.c: Likewise.
15235 * soft-fp/floattisf.c: Likewise.
15236 * soft-fp/floattitf.c: Likewise.
15237 * soft-fp/floatundidf.c: Likewise.
15238 * soft-fp/floatundisf.c: Likewise.
15239 * soft-fp/floatunsidf.c: Likewise.
15240 * soft-fp/floatunsisf.c: Likewise.
15241 * soft-fp/floatuntidf.c: Likewise.
15242 * soft-fp/floatuntisf.c: Likewise.
15243 * soft-fp/floatuntitf.c: Likewise.
15244 * soft-fp/fmadf4.c: Likewise.
15245 * soft-fp/fmasf4.c: Likewise.
15246 * soft-fp/fmatf4.c: Likewise.
15247 * soft-fp/gedf2.c: Likewise.
15248 * soft-fp/gesf2.c: Likewise.
15249 * soft-fp/getf2.c: Likewise.
15250 * soft-fp/ledf2.c: Likewise.
15251 * soft-fp/lesf2.c: Likewise.
15252 * soft-fp/letf2.c: Likewise.
15253 * soft-fp/muldf3.c: Likewise.
15254 * soft-fp/mulsf3.c: Likewise.
15255 * soft-fp/multf3.c: Likewise.
15256 * soft-fp/negdf2.c: Likewise.
15257 * soft-fp/negsf2.c: Likewise.
15258 * soft-fp/negtf2.c: Likewise.
15259 * soft-fp/op-1.h: Likewise.
15260 * soft-fp/op-2.h: Likewise.
15261 * soft-fp/op-4.h: Likewise.
15262 * soft-fp/op-8.h: Likewise.
15263 * soft-fp/op-common.h: Likewise.
15264 * soft-fp/quad.h: Likewise.
15265 * soft-fp/single.h: Likewise.
15266 * soft-fp/soft-fp.h: Likewise.
15267 * soft-fp/sqrtdf2.c: Likewise.
15268 * soft-fp/sqrtsf2.c: Likewise.
15269 * soft-fp/sqrttf2.c: Likewise.
15270 * soft-fp/subdf3.c: Likewise.
15271 * soft-fp/subsf3.c: Likewise.
15272 * soft-fp/subtf3.c: Likewise.
15273 * soft-fp/truncdfsf2.c: Likewise.
15274 * soft-fp/trunctfdf2.c: Likewise.
15275 * soft-fp/trunctfsf2.c: Likewise.
15276 * soft-fp/trunctfxf2.c: Likewise.
15277 * soft-fp/unorddf2.c: Likewise.
15278 * soft-fp/unordsf2.c: Likewise.
15279 * soft-fp/unordtf2.c: Likewise.
15280
17c48a60
OB
152812013-10-14 Ondřej Bílka <neleai@seznam.cz>
15282
15283 [BZ #15672]
15284 * misc/error.c (error_tail): Fix possible buffer overflow.
15285
cabba934
OB
152862013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15287
15288 [BZ #13028]
15289 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15290 address.
15291
94bf958a
PM
152922013-10-14 P. J. McDermott <pj@pehjota.net>
15293
15294 [BZ #832]
15295 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15296 testing pipefail option.
15297
71b4dea7
JM
152982013-10-12 Joseph Myers <joseph@codesourcery.com>
15299
15300 * soft-fp/double.h: Indent preprocessor directives inside #if.
15301 * soft-fp/extended.h: Likewise.
15302 * soft-fp/op-2.h: Likewise.
15303 * soft-fp/op-4.h: Likewise.
15304 * soft-fp/op-common.h: Likewise.
15305 * soft-fp/quad.h: Likewise.
15306 * soft-fp/single.h: Likewise.
15307 * soft-fp/soft-fp.h: Likewise.
15308
55602758
YC
153092013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15310
15311 * iconv/iconv_prog.c: Fix typos.
15312 * stdio-common/psiginfo-data.h: Likewise.
15313
9cd83302
RT
153142013-10-12 Reuben Thomas <rrt@sc3d.org>
15315
15316 [BZ #15764]
15317 * locale/setlocale.c: Fix typo.
15318
99fd9f47
JM
153192013-10-12 Joseph Myers <joseph@codesourcery.com>
15320
b7ea74f0
JM
15321 [BZ #16036]
15322 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15323 signaling NaN arguments.
15324 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15325 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15326
8a509447
JM
15327 [BZ #14910]
15328 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15329 unordered operands.
15330 * soft-fp/gesf2.c (__gesf2): Likewise.
15331 * soft-fp/getf2.c (__getf2): Likewise.
15332 * soft-fp/ledf2.c (__ledf2): Likewise.
15333 * soft-fp/lesf2.c (__lesf2): Likewise.
15334 * soft-fp/letf2.c (__letf2): Likewise.
15335
98998e9f
JM
15336 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15337 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15338 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15339 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15340 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15341 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15342 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15343 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15344 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15345 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15346 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15347 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15348 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15349 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15350 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15351 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15352 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15353 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15354 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15355 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15356 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15357 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15358 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15359 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15360 * soft-fp/floattidf.c (__floattidf): Likewise.
15361 * soft-fp/floattisf.c (__floattisf): Likewise.
15362 * soft-fp/floattitf.c (__floattitf): Likewise.
15363 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15364 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15365 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15366 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15367 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15368 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15369 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15370 * soft-fp/gesf2.c (__gesf2): Likewise.
15371 * soft-fp/getf2.c (__getf2): Likewise.
15372 * soft-fp/ledf2.c (__ledf2): Likewise.
15373 * soft-fp/lesf2.c (__lesf2): Likewise.
15374 * soft-fp/letf2.c (__letf2): Likewise.
15375
8edc4a11
JM
15376 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15377 Undefine and redefine.
15378 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15379 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15380 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15381 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15382 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15383 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15384 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15385 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15386 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15387 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15388 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15389 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15390 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15391 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15392 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15393
8399acaf
JM
15394 [BZ #16032]
15395 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15396 without decrementing exponent if mantissa >= that for the
15397 denominator, not >.
15398 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15399 denominator, not >. Decrement exponent in < case instead of
15400 incrementing in >= case.
15401 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15402 without decrementing exponent if mantissa >= that for the
15403 denominator, not >.
15404
99fd9f47
JM
15405 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15406 computing saturated result for unsigned overflow.
15407
10e1cf6b
SP
154082013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15409 Jeff Law <law@redhat.com>
15410
15411 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15412 (atan2Mp): Add systemtap probe marker.
15413 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15414 (__ieee754_log): Add systemtap probe marker.
15415 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15416 (atanMp): Add systemtap probe marker.
15417 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15418 (tanMp): Add systemtap probe marker.
15419 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15420 (__slowexp): Add systemtap probe marker.
15421 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15422 (__slowpow): Add systemtap probe marker.
15423 * manual/probes.texi: Document probes.
15424
3d110c7c
EB
154252013-10-11 Eric Biggers <ebiggers3@gmail.com>
15426
15427 [BZ #15362]
15428 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15429 written.
15430 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15431 written.
15432 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15433 written to buffer but not flushed.
15434 * libio/iofwrite_u.c: Likewise.
15435 * libio/iopadn.c: Return bytes returned even if EOF was
15436 encountered.
15437 * libio/iowpadn.c: Likewise.
15438 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15439 if _IO_padn does not write the whole buffer.
15440 [!COMPILE_WPRINTF] (PAD): Likewise.
15441
75b4202a
DM
154422013-10-10 David S. Miller <davem@davemloft.net>
15443
15444 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15445 directory block.
15446
6c6352e6
JM
154472013-10-10 Joseph Myers <joseph@codesourcery.com>
15448
33b853c3
JM
15449 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15450 instead of FSF address.
15451 * soft-fp/fixdfti.c: Likewise.
15452 * soft-fp/fixsfti.c: Likewise.
15453 * soft-fp/fixtfti.c: Likewise.
15454 * soft-fp/fixunsdfti.c: Likewise.
15455 * soft-fp/fixunssfti.c: Likewise.
15456 * soft-fp/fixunstfti.c: Likewise.
15457 * soft-fp/floattidf.c: Likewise.
15458 * soft-fp/floattisf.c: Likewise.
15459 * soft-fp/floattitf.c: Likewise.
15460 * soft-fp/floatuntidf.c: Likewise.
15461 * soft-fp/floatuntisf.c: Likewise.
15462 * soft-fp/floatuntitf.c: Likewise.
15463 * soft-fp/trunctfxf2.c: Likewise.
15464
6c6352e6
JM
15465 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15466 * soft-fp/fixdfti.c: Likewise.
15467 * soft-fp/fixsfti.c: Likewise.
15468 * soft-fp/fixtfti.c: Likewise.
15469 * soft-fp/fixunsdfti.c: Likewise.
15470 * soft-fp/fixunssfti.c: Likewise.
15471 * soft-fp/fixunstfti.c: Likewise.
15472 * soft-fp/floattidf.c: Likewise.
15473 * soft-fp/floattisf.c: Likewise.
15474 * soft-fp/floattitf.c: Likewise.
15475 * soft-fp/floatuntidf.c: Likewise.
15476 * soft-fp/floatuntisf.c: Likewise.
15477 * soft-fp/floatuntitf.c: Likewise.
15478 * soft-fp/trunctfxf2.c: Likewise.
15479
3bf78b71
DM
154802013-10-10 David S. Miller <davem@davemloft.net>
15481
15482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15483
6f10289e
JM
154842013-10-10 Joseph Myers <joseph@codsourcery.com>
15485
bd878fc0
JM
15486 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15487 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15488 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15489 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15490 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15491 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15492 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15493
6f10289e
JM
15494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15495 for NaNs before doing comparisons on argument.
15496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15497 Likewise.
15498
321e2684
WN
154992013-10-10 Will Newton <will.newton@linaro.org>
15500
15501 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15502 passed to _int_memalign does not overflow.
15503
40fefba1
TR
155042013-10-10 Torvald Riegel <triegel@redhat.com>
15505
15506 * scripts/bench.pl: Add include-sources directive.
15507 * benchtests/README: Update documentation.
15508
2ae21ed2
JM
155092013-10-10 Joseph Myers <joseph@codesourcery.com>
15510
dcc2dd3f
JM
15511 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15512 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15513 instead of FP_INIT_ROUNDMODE.
15514 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15515 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15516
2ae21ed2
JM
15517 [BZ #16034]
15518 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15519 copy class of input value.
15520 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15521 not handle exceptions.
15522 * soft-fp/negsf2.c (__negsf2): Likewise.
15523 * soft-fp/negtf2.c (__negtf2): Likewise.
15524 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15525
cb8f9562
JM
155262013-10-09 Joseph Myers <joseph@codesourcery.com>
15527
15528 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15529 semicolon. From Linux kernel.
15530
5b60c59d
AB
155312013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15532
15533 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15534
b86835ca
YC
155352013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15536
15537 [BZ #156]
15538 * manual/socket.texi: Added statement about buffer
15539 for gethostbyname2_r.
15540
e7044ea7
OB
155412013-10-08 Ondřej Bílka <neleai@seznam.cz>
15542
15543 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15544 Use .p2align directive instead, throughout.
15545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15546 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15547 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15550 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15551 * sysdeps/x86_64/strchr.S: Likewise.
15552 * sysdeps/x86_64/strrchr.S: Likewise.
15553
09544cbc
SP
155542013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15555
88576635
SP
15556 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15557
e7b2d1dd
SP
15558 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15559
09544cbc
SP
15560 * sysdeps/generic/math_private.h (__mpsin1): Remove
15561 declaration.
15562 (__mpcos1): Likewise.
15563 (__mpsin): New argument __range_reduce.
15564 (__mpcos): Likewise.
15565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15566 (slow): Use __mpsin and __mpcos.
15567 (slow1): Likewise.
15568 (slow2): Likewise.
15569 (sloww): Likewise.
15570 (sloww1): Likewise.
15571 (sloww2): Likewise.
15572 (bsloww): Likewise.
15573 (bsloww1): Likewise.
15574 (bsloww2): Likewise.
15575 (cslow2): Likewise.
15576 (csloww): Likewise.
15577 (csloww1): Likewise.
15578 (csloww2): Likewise.
15579 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15580 range_reduce. Merge in __mpsin1.
15581 (__mpcos): Likewise.
15582 (__mpsin1): Remove.
15583 (__mpcos1): Likewise.
15584
7602d070
JM
155852013-10-07 Joseph Myers <joseph@codesourcery.com>
15586
15587 * locale/loadlocale.c (_nl_intern_locale_data): Use
15588 LOCFILE_ALIGNED_P.
15589 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15590 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15591 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15592 obstack data is appropriately aligned.
15593 (obstack_int32_grow_fast): Likewise.
15594 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15595 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15596 (add_locale_uint32_array): Likewise.
15597
a357259b
SP
155982013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15599
15600 * benchtests/Makefile: Remove ARGLIST and RET variables.
15601 ($(objpfx)bench-%.c): Pass only function name to the script.
15602 * benchtests/README: Update documentation.
15603 * benchtests/acos-inputs: Add new directives.
15604 * benchtests/acosh-inputs: Likewise.
15605 * benchtests/asin-inputs: Likewise.
15606 * benchtests/asinh-inputs: Likewise.
15607 * benchtests/atan-inputs: Likewise.
15608 * benchtests/atanh-inputs: Likewise.
15609 * benchtests/cos-inputs: Likewise.
15610 * benchtests/cosh-inputs: Likewise.
15611 * benchtests/exp-inputs: Likewise.
15612 * benchtests/log-inputs: Likewise.
15613 * benchtests/pow-inputs: Likewise.
15614 * benchtests/rint-inputs: Likewise.
15615 * benchtests/sin-inputs: Likewise.
15616 * benchtests/sinh-inputs: Likewise.
15617 * benchtests/tan-inputs: Likewise.
15618 * benchtests/tanh-inputs: Likewise.
15619 * scripts/bench.pl: Add support for new directives.
15620
9ec1b13d
AM
156212013-10-07 Alan Modra <amodra@gmail.com>
15622
15623 * README: Fix careless merge.
15624
8b7d57cd
AM
156252013-10-05 Alan Modra <amodra@gmail.com>
15626
15627 * NEWS: Mention powerpc64le support and bugs fixed.
15628 * README: Both big-endian and little-endian powerpc64 supported.
15629
7b7bab13
ST
156302013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15631
57f41c40
AS
15632 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15633 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15634 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15635 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15636
d39baad1
RA
156372013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15638
15639 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15640 match prototype.
15641
cd78f7e7
JM
156422013-10-04 Joseph Myers <joseph@codesourcery.com>
15643
29d73d86
JM
15644 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15645 Move -mhard-float appending from
15646 ports/sysdeps/powerpc/powerpc32/Makefile.
15647 [$(with-fp) = yes] (ASFLAGS): Likewise.
15648 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15649 * sysdeps/powerpc/nofpu: Move directory from
15650 ports/sysdeps/powerpc/nofpu.
15651 * sysdeps/powerpc/soft-fp: Move directory from
15652 ports/sysdeps/powerpc/soft-fp.
15653 * sysdeps/powerpc/powerpc32/405: Move directory from
15654 ports/sysdeps/powerpc/powerpc32/405.
15655 * sysdeps/powerpc/powerpc32/440: Move directory from
15656 ports/sysdeps/powerpc/powerpc32/440.
15657 * sysdeps/powerpc/powerpc32/464: Move directory from
15658 ports/sysdeps/powerpc/powerpc32/464.
15659 * sysdeps/powerpc/powerpc32/476: Move directory from
15660 ports/sysdeps/powerpc/powerpc32/476.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15662 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15664 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15666 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15668 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15670 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15671 * README: Update for powerpc-*-linux-gnu software floating point
15672 support in libc.
15673
e246b347
JM
15674 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15675 case to powerpc/powerpc32*.
15676 * sysdeps/unix/sysv/linux/configure: Regenerated.
15677
89c2003e
JM
15678 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15679 (_FPU_MASK_OM): Define as 0x04.
15680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15682 0x00c10080.
15683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15684 0x0000003c.
15685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15686
cd78f7e7
JM
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15688 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15689 getcontext_e500.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15691 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15692 setcontext_e500.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15694 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15695 and setcontext_e500.
15696
c755294d
CL
156972013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15698
15699 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15700
e16d221c
SP
157012013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15702
15703 * manual/threads.texi (Default Thread Attributes): Fix typo.
15704
215c7d43
WN
157052013-10-04 Will Newton <will.newton@linaro.org>
15706
15707 * malloc/Makefile: Add tst-memalign.
15708 * malloc/tst-memalign.c: New file.
15709
27d0461b
WN
15710 * malloc/tst-posix_memalign.c: Add comments.
15711 (do_test): Add comments and call free on all potentially
15712 allocated pointers. Add space after cast.
15713
1bc92709
WN
15714 * malloc/tst-pvalloc.c: Add comments.
15715 (do_test): Add comments and call free on all potentially
15716 allocated pointers. Remove duplicate check for NULL pointer.
15717 Add space after cast.
15718
66a9be9d
WN
15719 * malloc/tst-valloc.c: Add comments.
15720 (do_test): Add comments and call free on all potentially
15721 allocated pointers. Remove duplicate check for NULL pointer.
15722 Add space after cast.
15723
4cb81307
AM
157242013-10-04 Alan Modra <amodra@gmail.com>
15725
15726 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15727 Use stdint types in rather than __attribute__((mode())).
15728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15729
f8e3e9f3
AM
157302013-10-04 Alan Modra <amodra@gmail.com>
15731
15732 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15733 Correct handling of unaligned relocs for little-endian.
15734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15735
8f9ebb08
AM
157362013-10-04 Alan Modra <amodra@gmail.com>
15737
15738 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15739 * configure: Regenerate.
15740 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15741 * shlib-versions: Likewise.
15742
0edf96c2
AM
157432013-10-04 Alan Modra <amodra@gmail.com>
15744
15745 * string/tester.c (test_memrchr): Increment reported test cycle.
15746
e0f7a380
AM
157472013-10-04 Alan Modra <amodra@gmail.com>
15748
15749 * string/test-memcpy.c (do_one_test): When reporting errors, print
15750 string address and don't overrun end of string.
15751
466b0393
AM
157522013-10-04 Alan Modra <amodra@gmail.com>
15753
15754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15755 insrdi. Make better use of reg selection to speed exit slightly.
15756 Schedule entry path a little better. Remove useless "are we done"
15757 checks on entry to main loop. Handle wrapping around zero address.
15758 Correct main loop count. Handle single left-over word from main
15759 loop inline rather than by using loop_small. Remove extra word
15760 case in loop_small caused by wrong loop count. Add little-endian
15761 support.
15762 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15764 cache hint.
15765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15766 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15767 support. Avoid rlwimi.
15768 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15769
3be87c77
AM
157702013-10-04 Alan Modra <amodra@gmail.com>
15771
15772 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15773 insrdi. Formatting.
3be87c77
AM
15774 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15775 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15776 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15777 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15778 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15779 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15780
759cfef3
AM
157812013-10-04 Alan Modra <amodra@gmail.com>
15782
15783 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15786 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15787 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15788 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15789 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15791 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15792 use of regs. Use power7 mtocrf. Tidy function tails.
15793
fe6e95d7
AM
157942013-10-04 Alan Modra <amodra@gmail.com>
15795
15796 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15797 Formatting. Consistently use rXXX register defines or rN defines.
15798 Use early exit labels that avoid restoring unused non-volatile regs.
15799 Make cr field use more consistent with rWORDn compares. Rename
15800 regs used as shift registers for unaligned loop, using rN defines
15801 for short lifetime/multiple use regs.
15802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15804 addi 1,1,64 to pop stack frame. Simplify return value code.
15805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15806
664318c3
AM
158072013-10-04 Alan Modra <amodra@gmail.com>
15808
15809 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15810 support. Correct typos, formatting. Optimize tail. Use insrdi
15811 rather than rlwimi.
15812 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15813 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15814 little-endian support. Correct typos.
15815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15816 rather than rlwimi.
15817 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15818 in loop and entry code to keep "and." results.
15819 (strchr): Add little-endian support. Comment. Move cntlzd
15820 earlier in tail.
15821 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15822
43b84013
AM
158232013-10-04 Alan Modra <amodra@gmail.com>
15824
15825 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15826 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15827 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15828 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15829
8a7413f9
AM
158302013-10-04 Alan Modra <amodra@gmail.com>
15831
15832 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15833 (rTMP): Define as r11.
15834 (strcmp): Add little-endian support. Optimise tail.
15835 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15836 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15837 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15838 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15839 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15842
33ee81de
AM
158432013-10-04 Alan Modra <amodra@gmail.com>
15844
15845 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15846 little-endian support. Remove unnecessary "are we done" tests.
15847 Handle "s" wrapping around zero and extremely large "size".
15848 Correct main loop count. Handle single left-over word from main
15849 loop inline rather than by using small_loop. Correct comments.
15850 Delete "zero" tail, use "end_max" instead.
15851 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15852
db9b4570
AM
158532013-10-04 Alan Modra <amodra@gmail.com>
15854
15855 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15856 support. Don't branch over align.
15857 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15858 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15859 support. Rearrange tmp reg use to suit. Comment.
15860 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15861
f7c399cf
AM
158622013-10-04 Alan Modra <amodra@gmail.com>
15863
15864 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15865
0b2c2ace
AM
158662013-10-04 Alan Modra <amodra@gmail.com>
15867
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15869 conditional form of branch and link when obtaining pc.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15871
02f04a6c
AM
158722013-10-04 Alan Modra <amodra@gmail.com>
15873
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15875 HIWORD/LOWORD.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15878
9b874b2f
AM
158792013-10-04 Alan Modra <amodra@gmail.com>
15880
15881 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15882 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15883 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15884 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15885 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15886 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15887 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15888 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15889 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15890 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15891
be1e5d31
AB
158922013-10-04 Anton Blanchard <anton@au1.ibm.com>
15893 Alistair Popple <alistair@ozlabs.au.ibm.com>
15894 Alan Modra <amodra@gmail.com>
15895
15896 [BZ #15723]
15897 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15898 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15899 _dl_hwcap access for little-endian.
15900 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15901 destroy vmx regs when saving unaligned.
15902 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15903 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15904 destroy vmx regs when saving unaligned.
15905
fef13a78
AM
159062013-10-04 Alan Modra <amodra@gmail.com>
15907
15908 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15909 Don't use a union to pack hi/low value.
15910
76a66d51
AB
159112013-10-04 Anton Blanchard <anton@au1.ibm.com>
15912
15913 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15914 for little-endian.
15915 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15917 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15918 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15919 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15920
6a31fe7f
AM
159212013-10-04 Alan Modra <amodra@gmail.com>
15922
15923 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15924 constants to usual value for .cst8 section, and remove redundant
15925 high address load.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15927 constant for 0x1p52. Load little-endian words of double from
15928 correct stack offsets.
15929
7b88401f
AM
159302013-10-04 Alan Modra <amodra@gmail.com>
15931
15932 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15933 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15934 words of double from correct stack offsets.
15935 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15937 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15942 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15943 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15948 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15950 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15951 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15952
9c008155
AM
159532013-10-04 Alan Modra <amodra@gmail.com>
15954
15955 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15956 64-bit int/double union.
15957 (_FPU_SETCW): Likewise.
15958 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15959 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15960
da13146d
AM
159612013-10-04 Alan Modra <amodra@gmail.com>
15962
15963 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15964 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15965
603e8410
AM
159662013-10-04 Alan Modra <amodra@gmail.com>
15967
15968 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15969 use vector int constants.
15970 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15971
4a28b3ca
AB
159722013-10-04 Anton Blanchard <anton@au1.ibm.com>
15973
15974 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15975 array with long long.
15976 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15977 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15978 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15979 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15980 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15981 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15982 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15983 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15984 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15985 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15986 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15987 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15988 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15989
2ca85d2b
AB
159902013-10-04 Anton Blanchard <anton@au1.ibm.com>
15991
15992 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15993 (__signbit): Likewise. Correct for little-endian.
15994 (__signbitl): Call __signbit.
15995 (lrint): Correct for little-endian.
15996 (lrintf): Call lrint.
15997
62a728ae
AM
159982013-10-04 Alan Modra <amodra@gmail.com>
15999
16000 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16001 union 32-bit int array member with 64-bit int array.
16002 (t515, tm256): Double rather than long double.
16003 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16004
32c301df
AM
160052013-10-04 Alan Modra <amodra@gmail.com>
16006
16007 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16008 Delete.
16009 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16010 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16011 version of math_ldbl.h.
16012
650ef4bd
AM
160132013-10-04 Alan Modra <amodra@gmail.com>
16014
16015 [BZ #15734], [BZ #15735]
16016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16017 all uses of ieee875 long double macros and unions. Simplify test
16018 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16019 ldbl_extract_mantissa value for ix,iy exponents. Properly
16020 normalize after ldbl_extract_mantissa, and don't add hidden bit
16021 already handled. Don't treat low word of ieee854 mantissa like
16022 low word of IBM long double and mask off bit when testing for
16023 zero.
16024 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16025 all uses of ieee875 long double macros and unions. Simplify tests
16026 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16027 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16028 two1022, instead use their values. Recognise that tests for large
16029 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16030 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16031 Rewrite all uses of ieee875 long double macros and unions. Simplify
16032 test for 0.0L and nan. Correct negation.
16033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16034 ieee875 long double macros and unions. Correct output for large
16035 magnitude x. Correct absolute value calculation.
16036 (__erfcl): Likewise.
16037 * math/libm-test.inc: Add tests for errors discovered in IBM long
16038 double versions of fmodl, remainderl, erfl and erfcl.
16039
765714ca
AM
160402013-10-04 Alan Modra <amodra@gmail.com>
16041
16042 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16043 all uses of ieee854 long double macros and unions. Simplify tests
16044 for long doubles that are fully specified by the high double.
16045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16046 Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16048 Remove dead code too.
16049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16050 (__ieee754_ynl): Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16054 Remove dead code too.
16055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16059 Simplify.
16060 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16061 Simplify.
16062 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16065 Comment on variable precision.
16066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16068 Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16073 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16074
4ebd120c
AM
160752013-10-04 Alan Modra <amodra@gmail.com>
16076
16077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16078 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16079 all uses of ieee854 long double macros and unions.
16080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16086 Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16089 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16090 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16092 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16093 Simplify sign and nan test too.
16094 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16096 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16098 Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16100 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16101 Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16103 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16104 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16108
1b6adf88
AM
161092013-10-04 Alan Modra <amodra@gmail.com>
16110
16111 * stdio-common/printf_size.c (__printf_size): Don't use
16112 union ieee854_long_double in fpnum union.
16113 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16114 signbit macro to retrieve sign from long double.
16115 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16116 retrieve sign from long double.
16117 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16118 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16119 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16120 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16121 * math/test-misc.c (main): Don't use union ieee854_long_double.
16122
4cf69995
AM
161232013-10-04 Alan Modra <amodra@gmail.com>
16124
16125 [BZ #15680]
16126 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16128 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16129 calculation. Remove unnecessary test for denormal exponent.
16130 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16131 Correct handling of denormals. Avoid undefined shift behaviour.
16132 Correct normalisation of low mantissa when low double is denormal.
16133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16134 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16135 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16136 Correct normalisation of low mantissa. Test for overflow of high
16137 mantissa and normalise.
16138 (ldbl_nearbyint): Use more readable constant for two52.
16139 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16140 (__mpn_construct_long_double): Fix test for overflow of high
16141 mantissa and correct normalisation. Avoid undefined shift.
16142
9605ca6c
AM
161432013-10-04 Alan Modra <amodra@gmail.com>
16144
16145 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16146 (union ibm_extended_long_double): Define as an array of ieee754_double.
16147 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16148 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16149 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16150 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16154 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16158
975569d0
JM
161592013-10-03 Joseph Myers <joseph@codesourcery.com>
16160
d3d23756
JM
16161 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16162 page size instead of calling getpagesize.
16163
975569d0
JM
16164 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16165 (LOCFILE_ALIGN_MASK): Likewise.
16166 (LOCFILE_ALIGN_UP): Likewise.
16167 (LOCFILE_ALIGNED_P): Likewise.
16168 * locale/programs/ld-collate.c (collate_output): Use the new
16169 macros instead of __alignof__ (int32_t).
16170 * locale/weight.h (findidx): Likewise.
16171
b1fe1f2b
OB
161722013-10-03 Ondřej Bílka <neleai@seznam.cz>
16173
16174 [BZ #431]
16175 * manual/string.texi: Fix strncat and wcsncat.
16176
5f855e35
BM
161772013-10-03 Brooks Moses <bmoses@google.com>
16178
16179 [BZ #15915]
16180 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16181 * Makerules: ...here, and adjust associated comments.
16182
3cef6009
WN
161832013-10-02 Will Newton <will.newton@linaro.org>
16184
16185 * malloc/Makefile: Add tst-pvalloc.
16186 * malloc/tst-pvalloc.c: New file.
16187
7815420b
WN
161882013-10-02 Will Newton <will.newton@linaro.org>
16189
16190 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16191 improve test coverage.
16192
4868b204
WN
161932013-10-02 Will Newton <will.newton@linaro.org>
16194
16195 * malloc/Makefile: Add tst-posix_memalign.
16196 * malloc/tst-posix_memalign.c: New file.
16197
29c793b3
EB
161982013-10-01 Eric Blake <eblake@redhat.com>
16199
16200 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16201 Use __THROWNL rather than __THROW on static functions.
16202
fd967522
PM
162032013-09-30 Petr Machata <pmachata@redhat.com>
16204
16205 * elf/elf.h (R_AARCH64_ABS16): New macro.
16206 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16207 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16208 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16209 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16210 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16211 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16212 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16213 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16214 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16215 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16216 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16217 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16218 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16219 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16220 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16221 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16222 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16223 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16224 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16225 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16226 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16227 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16228 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16229 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16230 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16231 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16232 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16233 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16234 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16235 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16236 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16237 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16238 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16239 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16240 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16241 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16242 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16243 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16244 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16245 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16246 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16247 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16248 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16249 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16250 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16251 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16252 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16253 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16254 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16255 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16256 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16257 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16258 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16259 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16260 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16261 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16262 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16263 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16264 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16265 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16266 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16267 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16268 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16269 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16270 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16271 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16272 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16273 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16274 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16275 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16276 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16277 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16278 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16279 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16280 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16281 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16282 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16283 (R_AARCH64_TLSDESC_LDR): Likewise.
16284 (R_AARCH64_TLSDESC_ADD): Likewise.
16285 (R_AARCH64_TLSDESC_CALL): Likewise.
16286
b2179107
AS
162872013-09-30 Andreas Schwab <schwab@suse.de>
16288
16289 [BZ #15048]
16290 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16291 the nss database lookup.
16292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16294
47f28d0a
MF
162952013-09-28 Mike Frysinger <vapier@gentoo.org>
16296
16297 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16298
162992013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16300
16301 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16302 ${Bash-specific parameter/pattern/string} parameter expansion.
16303 * sysdeps/unix/make-syscalls.sh: Likewise.
16304
f4518a17
KK
163052013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16306
16307 * sysdeps/sh/stackguard-macros.h: New file.
16308
dc1a95c7
OB
163092013-09-26 Ondřej Bílka <neleai@seznam.cz>
16310
16311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16313 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16314 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16315 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16316 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16317
5ebbff8f
AZ
163182013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16319
16320 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16321 Fix thread ID register.
16322
4fd2cf9f
JM
163232013-09-25 Joseph Myers <joseph@codesourcery.com>
16324
16325 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16326 [POSIX || UNIX98]: Require rather than permitting all symbols from
16327 <time.h>.
16328 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16329 element of struct sched_param.
16330 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16331 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16332 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16333 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16334 constant.
16335
12c22bc4
OL
163362013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16337
16338 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16339 argument calculation.
16340
a03d8ea7
JM
163412013-09-24 Joseph Myers <joseph@codesourcery.com>
16342
16343 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16344 Expect macro.
16345 [POSIX] (pthread_attr_t): Do not require type.
16346 [POSIX] (pthread_cond_t): Likewise.
16347 [POSIX] (pthread_condattr_t): Likewise.
16348 [POSIX] (pthread_key_t): Likewise.
16349 [POSIX] (pthread_mutex_t): Likewise.
16350 [POSIX] (pthread_mutexattr_t): Likewise.
16351 [POSIX] (pthread_once_t): Likewise.
16352 [POSIX] (pthread_t): Likewise.
16353 [POSIX-based standards] (pthread_atfork): Expect function.
16354
6055173a
JM
163552013-09-24 Joseph Myers <joseph@codesourcery.com>
16356 Richard Sandiford <richard@codesourcery.com>
16357
16358 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16359 (swap_endianness_p): New extern variable.
16360 (set_big_endian): New inline function.
16361 (maybe_swap_uint32): Likewise.
16362 (maybe_swap_uint32_array): Likewise.
16363 (maybe_swap_uint32_obstack): Likewise.
16364 * locale/programs/locfile.c: Include <stdbool.h>.
16365 (swap_endianness_p): New variable.
16366 (add_locale_uint32): Call maybe_swap_uint32.
16367 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16368 (write_locale_data): Call maybe_swap_uint32_array.
16369 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16370 maybe_swap_uint32.
16371 (obstack_int32_grow_fast): Likewise.
16372 (output_weightwc): Call maybe_swap_uint32_obstack.
16373 (collate_output): Likewise.
16374 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16375 (OPT_LITTLE_ENDIAN): Likewise.
16376 (options): Add --little-endian and --big-endian options.
16377 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16378 * locale/programs/locarchive.c: Include "locfile.h".
16379 (GET): New macro.
16380 (SET): Likewise.
16381 (INC): Likewise.
16382 (create_archive): Use the new macros to access fields of
16383 structures directly mapped from or written to locale archives.
16384 (oldlocrecentcmp): Likewise.
16385 (enlarge_archive): Likewise.
16386 (insert_name): Likewise.
16387 (add_alias): Likewise.
16388 (add_locale): Likewise.
16389 (delete_locales_from_archive): Likewise.
16390 (show_archive_content): Likewise.
16391 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16392 locale data.
16393
39bf0bb4
RM
163942013-09-24 Roland McGrath <roland@hack.frob.com>
16395
16396 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16397 http://www.gnu.org/doc/freemanuals.texi.
16398 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16399
f02eed10
WN
164002013-09-24 Will Newton <will.newton@linaro.org>
16401
16402 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16403 macro.
16404
a3a6c312
JM
164052013-09-23 Joseph Myers <joseph@codesourcery.com>
16406
16407 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16408 unsigned char.
16409
107375ac
MR
164102013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16411
16412 * manual/threads.texi (POSIX Threads): Fix a typo.
16413
141f3a77
SP
164142013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16415
303e567a
SP
16416 [BZ #14547]
16417 * string/tst-strcoll-overflow.c: New test case.
16418 * string/Makefile (xtests): Add tst-strcoll-overflow.
16419 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16420 cache if string sizes may cause integer overflow.
16421
141f3a77
SP
16422 [BZ #14547]
16423 * string/strcoll_l.c (coll_seq): New members rule, idx,
16424 save_idx and back_us.
16425 (get_next_seq_nocache): New function.
16426 (do_compare_nocache): New function.
16427 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16428 when malloc fails.
16429
c61b4d41
CD
164302013-09-23 Carlos O'Donell <carlos@redhat.com>
16431
0b1f8e35
CD
16432 [BZ #15754]
16433 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16434 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16435 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16436
c61b4d41
CD
16437 [BZ #15754]
16438 * elf/Makefile (tests): Add tst-ptrguard1.
16439 (tests-static): Add tst-ptrguard1-static.
16440 (tst-ptrguard1-ARGS): Define.
16441 (tst-ptrguard1-static-ARGS): Define.
16442 * elf/tst-ptrguard1.c: New file.
16443 * elf/tst-ptrguard1-static.c: New file.
16444 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16445 * sysdeps/i386/stackguard-macros.h: Likewise.
16446 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16447 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16448 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16449 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16450 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16451 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16452
164532013-09-23 Hector Marco <hecmargi@upv.es>
16454 Ismael Ripoll <iripoll@disca.upv.es>
16455 Carlos O'Donell <carlos@redhat.com>
16456
16457 [BZ #15754]
16458 * sysdeps/generic/stackguard-macros.h: Define
16459 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16460 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16461 Define __pointer_chk_guard_local.
16462 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16463 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16464
f5f4e7b4
VV
164652013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16466
16467 [BZ #15859]
16468 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16469
5bb43a43
AS
164702013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16471
16472 * include/string.h (__ffs): Declare as hidden.
16473 * string/ffs.c (__ffs): Define as hidden.
16474 * sysdeps/i386/ffs.c (__ffs): Likewise.
16475 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16476 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16477 * sysdeps/s390/ffs.c (__ffs): Likewise.
16478 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16479
3ea5be54
AO
164802013-09-20 Alexandre Oliva <aoliva@redhat.com>
16481
ffb89e53
AO
16482 * NEWS: Mention malloc probes.
16483
322dea08
AO
16484 * malloc/arena.c (new_heap): New memory_heap_new probe.
16485 (grow_heap): New memory_heap_more probe.
16486 (shrink_heap): New memory_heap_less probe.
16487 (heap_trim): New memory_heap_free probe.
16488 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16489 (systrim): New memory_sbrk_less probe.
16490 * manual/probes.texi: Document them.
16491
655673f3
AO
16492 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16493 * manual/probes.texi: Document it.
16494
35fed6f1
AO
16495 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16496 (__libc_realloc): Add memory_realloc_retry probe.
16497 (__libc_memalign): Add memory_memalign_retry probe.
16498 (__libc_valloc): Add memory_valloc_retry probe.
16499 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16500 (__libc_calloc): Add memory_calloc_retry probe.
16501 * manual/probes.texi: Document them.
16502
6999d38c
AO
16503 * malloc/arena.c (get_free_list): Add probe
16504 memory_arena_reuse_free_list.
16505 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16506 and memory_arena_reuse.
16507 (arena_get2) [!PER_THREAD]: Likewise.
16508 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16509 memory_arena_reuse_realloc.
16510 * manual/probes.texi: Document them.
16511
0653427f
AO
16512 * malloc/malloc.c (__libc_free): Add
16513 memory_mallopt_free_dyn_thresholds probe.
16514 (__libc_mallopt): Add multiple memory_mallopt probes.
16515 * manual/probes.texi: Document them.
16516
3ea5be54
AO
16517 * malloc/malloc.c: Include stap-probe.h.
16518 (__libc_mallopt): Add memory_mallopt probe.
16519 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16520 * manual/probes.texi: New.
16521 * manual/Makefile (chapters): Add probes.
16522 * manual/threads.texi: Set next node.
16523
e35696c3 165242013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16525
e35696c3
CL
16526 [BZ #15963, #13985]
16527 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16528 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16529 Add `Chinese' to `nan' entry name.
16530
4aafb73c
SP
165312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16532
16533 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16534 (POLYNOMIAL): Likewise.
16535 (TAYLOR_SINCOS): Likewise.
16536 (TAYLOR_SLOW): Likewise.
16537 (__sin): Use TAYLOR_SINCOS.
16538 (__cos): Likewise.
16539 (slow): Use TAYLOR_SLOW.
16540 (sloww): Likewise.
16541 (bsloww): Likewise.
16542 (csloww): Likewise.
16543
d84f25c7
LD
165442013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16545
16546 * stdlib/strtod_l.c: Fix buffer overrun.
16547
5eea0404
SP
165482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
7849ff93
SP
16550 * benchtests/Makefile (bench): Add sincos.
16551 * benchtests/bench-sincos.c: New file.
16552
cfa3c886
SP
16553 * math/libm-test.inc (cos_test_data): New test inputs.
16554 (sin_test_data): Likewise.
16555
b348e1e3
SP
16556 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16557 macro.
16558 (__sin): Use it.
16559 (__cos): Likewise.
16560 (slow1): Likewise.
16561 (slow2): Likewise.
16562 (sloww1): Likewise.
16563 (sloww2): Likewise.
16564 (bsloww1): Likewise.
16565 (bsloww2): Likewise.
16566 (cslow2): Likewise.
16567 (csloww1): Likewise.
16568 (csloww2): Likewise.
16569
6cce25f8
SP
16570 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16571 function.
16572 (__sin): Use it.
16573 (__cos): Likewise.
16574
5eea0404
SP
16575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16576 gotos.
16577 (__cos): Likewise.
16578
9c21573c
MR
165792013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16580
16581 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16582 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16583 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16584 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16585 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16586 * elf/cache.c (print_entry): Handle the new cache flags.
16587
24d22e65
JM
165882013-09-18 Joseph Myers <joseph@codesourcery.com>
16589 Aldy Hernandez <aldyh@redhat.com>
16590
16591 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16592 Change condition to [_SOFT_FLOAT].
16593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16605 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16608 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16609 declaration.
16610
d13ef066
JM
166112013-09-18 Joseph Myers <joseph@codesourcery.com>
16612
2e071de0
JM
16613 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16614 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16615 (__longjmp): Use LOAD_GP to load saved GPRs.
16616 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16617 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16618 (__sigsetjmp): Use SAVE_GP to save GPRs.
16619
d13ef066
JM
16620 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16621 Do not append -msoft-float.
16622 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16623
97a0650b
SP
166242013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16625
16626 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16627
11ca09e9
JM
166282013-09-17 Joseph Myers <joseph@codesourcery.com>
16629
16630 [BZ #15966]
16631 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16632 (_FPU_GETCW): Use initial "__" on variable and field names but not
16633 on macro parameter name.
16634 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16635 parentheses around reference to macro parameter.
16636
08ffcf34
RS
166372013-09-13 Richard Sandiford <richard@codesourcery.com>
16638
16639 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16640 prototype.
16641 (ctype_startup): Use uint32_t in cast and sizeof for
16642 ctype->charnames.
16643
ae7080d3
JL
166442013-09-11 Jia Liu <proljc@gmail.com>
16645
16646 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16647 __daddr_t_defined.
16648 [__FreeBSD__]: Likewise.
16649
5905e7b3
OB
166502013-09-11 Ondřej Bílka <neleai@seznam.cz>
16651
16652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16653 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16654 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16655 (strchr): Remove __strchr_sse42 ifunc selection.
16656 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16657 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16658
b987c776
WN
166592013-09-11 Will Newton <will.newton@linaro.org>
16660
16661 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16662 parameter to RES. Remove hardcoded 1000 value.
16663 * benchtests/bench-skeleton.c (main): Pass RES parameter
16664 to TIMING_INIT and multiply result by 1000.
16665
ddf985af
AZ
166662013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16667
16668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16669
ffdd3181
AS
166702013-09-11 Andreas Schwab <schwab@suse.de>
16671
16672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16673 if not defined.
16674 (O_TMPFILE) [__USE_GNU]: Define.
16675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16676 Define.
16677
b73ed247
WN
166782013-09-11 Will Newton <will.newton@linaro.org>
16679
16680 [BZ #15857]
16681 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16682 does not overflow.
16683
55e17aad
WN
166842013-09-11 Will Newton <will.newton@linaro.org>
16685
16686 [BZ #15856]
16687 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16688 does not overflow.
16689
1159a193
WN
166902013-09-11 Will Newton <will.newton@linaro.org>
16691
16692 [BZ #15855]
16693 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16694 does not overflow.
16695
5905e7b3 166962013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16697
16698 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16699 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16702 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16703
cdfc721b
AM
167042013-09-10 Allan McRae <allan@archlinux.org>
16705
aa04af00
AM
16706 [BZ #15748]
16707 * manual/arith.texi (Parsing of Floats): Clarify
16708 cross-reference.
16709
cdfc721b
AM
16710 [BZ #15849]
16711 * manual/install.texi (Running make install): Mention
16712 --enable-pt-chown.
16713 * INSTALL: Regenerated.
16714
95e7cf29
MR
167152013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16716
16717 * csu/init-first.c (_init): Remove the !SHARED condition around
16718 FPU control word initialization.
16719 * elf/dl-support.c (_dl_fpu_control): New variable.
16720 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16721 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16722 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16723 * math/test-fpucw-static.c: New file.
16724 * math/test-fpucw-ieee.c: New file.
16725 * math/test-fpucw-ieee-static.c: New file.
16726 * math/Makefile (tests): Add `test-fpucw-ieee' and
16727 `$(tests-static)'.
16728 (tests-static): New variable.
16729 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16730 dependency to...
16731 [($(build-shared),yes)]
16732 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16733 ... this.
16734 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16735 New dependency.
16736
83e43bf0
AM
167372013-09-09 Allan McRae <allan@archlinux.org>
16738
a9f5ce09
AM
16739 [BZ #15939]
16740 * manual/string.texi (Collation Functions): Fix typo in
16741 strcoll example.
16742 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16743
34829bc2
AM
16744 [BZ #15893]
16745 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16746
3932737d
AM
16747 [BZ #15892]
16748 * libio/memstream.c (open_memstream): Fix memory leak.
16749 * libio/wmemstream.c (open_wmemstream): Likewise.
16750
83e43bf0
AM
16751 [BZ #15895]
16752 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16753
0c66b8e9
WN
167542013-09-09 Will Newton <will.newton@linaro.org>
16755
16756 * malloc/Makefile: Add tst-realloc to tests.
16757 * malloc/tst-realloc.c: New file.
16758
f6b00fd1
AM
167592013-09-09 Allan McRae <allan@archlinux.org>
16760
16761 [BZ #15844]
16762 * COPYING: Update from GNU website to fix FSF address.
16763 * COPYING.LIB: Likewise.
16764
eec55e16
DM
167652013-09-06 David S. Miller <davem@davemloft.net>
16766
16767 * po/zh_TW.po: Update Chinese (traditional) translation from
16768 translation project.
16769
1ecbb381
RS
167702013-09-06 Richard Sandiford <richard@codesourcery.com>
16771 Joseph Myers <joseph@codesourcery.com>
16772
16773 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16774 "localeinfo.h".
16775 (obstack_chunk_alloc): New macro.
16776 (obstack_chunk_free): Likewise.
16777 (record_offset): New function.
16778 (init_locale_data): Likewise.
16779 (align_locale_data): Likewise.
16780 (add_locale_empty): Likewise.
16781 (add_locale_raw_data): Likewise.
16782 (add_locale_raw_obstack): Likewise.
16783 (add_locale_string): Likewise.
16784 (add_locale_wstring): Likewise.
16785 (add_locale_uint32): Likewise.
16786 (add_locale_uint32_array): Likewise.
16787 (add_locale_char): Likewise.
16788 (start_locale_structure): Likewise.
16789 (end_locale_structure): Likewise.
16790 (start_locale_prelude): Likewise.
16791 (end_locale_prelude): Likewise.
16792 (write_locale_data): Take locale_file structure rather than an
16793 iovec.
16794 * locale/programs/locfile.h: Include "obstack.h".
16795 (struct locale_file): Change to store locale file contents instead
16796 of header.
16797 (init_locale_data): New prototype.
16798 (align_locale_data): Likewise.
16799 (add_locale_empty): Likewise.
16800 (add_locale_raw_data): Likewise.
16801 (add_locale_raw_obstack): Likewise.
16802 (add_locale_string): Likewise.
16803 (add_locale_wstring): Likewise.
16804 (add_locale_uint32): Likewise.
16805 (add_locale_uint32_array): Likewise.
16806 (add_locale_char): Likewise.
16807 (start_locale_structure): Likewise.
16808 (end_locale_structure): Likewise.
16809 (start_locale_prelude): Likewise.
16810 (end_locale_prelude): Likewise.
16811 (write_locale_data): Update prototype.
16812 * locale/programs/3level.h (struct TABLE): Remove result field.
16813 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16814 Use new locale_file interface.
16815 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16816 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16817 * locale/programs/ld-address.c (address_output): Use new
16818 locale_file interface.
16819 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16820 NO_ADD_LOCALE.
16821 (collate_finish): Don't call collseq_table_finalize.
16822 (collate_output): Use new locale_file interface.
16823 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16824 in file.
16825 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16826 (TABLE): Move defines earlier in file.
16827 (ELEMENT): Likewise.
16828 (DEFAULT): Likewise.
16829 (wctrans_table_add): Move macro and inline function earlier in
16830 file.
16831 (struct wctype_table): Move type earlier in file.
16832 (add_locale_wctype_table): New static prototype.
16833 (struct locale_ctype_t): Use logical types instead of struct iovec
16834 pointers for members.
16835 (ctype_output): Use new locale_file interface.
16836 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16837 new locale_file interface.
16838 (allocate_arrays): Update for use of new locale_file interface.
16839 * locale/programs/ld-identification.c (identification_output): Use
16840 new locale_file interface.
16841 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16842 * locale/programs/ld-messages.c (messages_output): Likewise.
16843 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16844 * locale/programs/ld-name.c (name_output): Likewise.
16845 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16846 * locale/programs/ld-paper.c (paper_output): Likewise.
16847 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16848 * locale/programs/ld-time.c (time_output): Likewise.
16849
e029e2e5
AZ
168502013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16851
16852 * benchtests/Makefile: Add memrchr benchmark.
16853 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16854 benchmark as memrchr.
16855 * benchtests/bench-memrchr-ifunc.c: New file.
16856 * benchtests/bench-memrchr.c: New file.
16857
bbf6e8e4
WN
168582013-09-06 Will Newton <will.newton@linaro.org>
16859
16860 * benchtests/Makefile (string-bench): Add memcpy.
16861
6c82a2f8
CD
168622013-09-05 Carlos O'Donell <carlos@redhat.com>
16863 Cong Wang <amwang@redhat.com>
16864
e732c5f0 16865 [BZ #15850]
6c82a2f8
CD
16866 * sysdeps/unix/sysv/linux/bits/in.h
16867 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16868 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16869 before __USE_KERNEL_IPV6_DEFS uses.
16870 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16871 IPPROTO_BEETPH.
16872 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16873 sockaddr_in6, or ipv6_mreq.
16874
5430fc65
AZ
168752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16876
16877 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16878 memory access for final bytes in some large inputs.
16879 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16880
4660856c
AZ
168812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16882
16883 * string/test-memrchr.c: New file.
16884 * string/test-memrchr-ifunc.c: New file.
16885 * string/Makefile: Add new memrchr testcase.
16886
bb8ea713
MF
168872013-09-05 Mike Frysinger <vapier@gentoo.org>
16888
16889 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16890 fanotify_init returns EPERM.
16891
b92a20b5
JM
168922013-09-04 Joseph Myers <joseph@codesourcery.com>
16893
16894 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16895 errors.
16896 (top level): Treat second token from macro or constant entries for
16897 allowed headers as allowed.
16898 * include/complex.h: Condition internal declarations on
16899 [!_ISOMAC].
16900 * include/fenv.h: Condition include of <stdbool.h> and internal
16901 declarations on [!_ISOMAC].
7447ccd9
CL
16902
169032013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16904
3e181dda 16905 [BZ #15923]
7447ccd9
CL
16906 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16907
3f2e46a4
JM
169082013-09-04 Joseph Myers <joseph@codesourcery.com>
16909
16910 * configure.in (--enable-versioning): Remove configure option.
16911 (libc_cv_asm_symver_directive): Remove configure test.
16912 (libc_cv_ld_version_script_option): Likewise.
16913 (VERSIONING): Remove variable and AC_SUBST.
16914 (DO_VERSIONING): Remove AC_DEFINE.
16915 * configure: Regenerated.
16916 * config.h.in (DO_VERSIONING): Remove macro.
16917 * Makerules [$(versioning) = yes]: Change conditionals to
16918 [$(build-shared) = yes].
16919 * config.make.in (versioning): Remove variable.
16920 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16921 [$(build-shared) = yes].
16922 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16923 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16924 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16925 [$(build-shared) = yes].
16926 * extra-lib.mk [$(versioning) = yes]: Likewise.
16927 * hurd/Makefile [$(versioning) = yes]: Likewise.
16928 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16929 [SHARED].
16930 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16931 [SHARED].
16932 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16933 [SHARED && !NO_HIDDEN].
16934 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16935 [SHARED].
16936 [SHARED && DO_VERSIONING]: Likewise..
16937 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16938 [$(build-shared) = yes].
16939 * manual/install.texi (--disable-versioning): Remove
16940 documentation.
16941 * INSTALL: Regenerated.
16942 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16943 to [SHARED].
16944 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16945 [$(build-shared) = yes].
16946 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16947 * sysdeps/i386/i686/multiarch/strstr-c.c
16948 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16949 [SHARED && !NO_HIDDEN].
16950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16951 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16952 * sysdeps/powerpc/powerpc32/dl-machine.c
16953 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16954 * sysdeps/powerpc/powerpc32/sysdep.h
16955 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16956 to [SHARED && PIC && !NO_HIDDEN].
16957 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16958 conditional to [SHARED].
16959
44558701
WN
169602013-09-04 Will Newton <will.newton@linaro.org>
16961
16962 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16963 * benchtests/bench-string.h: Include bench-timing.h instead
16964 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16965 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16966 call to HP_TIMING_DIFF_INIT.
16967 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16968 instead of hp-timing.h macros.
16969 * benchtests/bench-memchr.c: Likewise.
16970 * benchtests/bench-memcmp.c: Likewise.
16971 * benchtests/bench-memcpy.c: Likewise.
16972 * benchtests/bench-memmem.c: Likewise.
16973 * benchtests/bench-memmove.c: Likewise.
16974 * benchtests/bench-memset.c: Likewise.
16975 * benchtests/bench-rawmemchr.c: Likewise.
16976 * benchtests/bench-strcasecmp.c: Likewise.
16977 * benchtests/bench-strcasestr.c: Likewise.
16978 * benchtests/bench-strcat.c: Likewise.
16979 * benchtests/bench-strchr.c: Likewise.
16980 * benchtests/bench-strcmp.c: Likewise.
16981 * benchtests/bench-strcpy.c: Likewise.
16982 * benchtests/bench-strcpy_chk.c: Likewise.
16983 * benchtests/bench-strlen.c: Likewise.
16984 * benchtests/bench-strncasecmp.c: Likewise.
16985 * benchtests/bench-strncat.c: Likewise.
16986 * benchtests/bench-strncmp.c: Likewise.
16987 * benchtests/bench-strncpy.c: Likewise.
16988 * benchtests/bench-strnlen.c: Likewise.
16989 * benchtests/bench-strpbrk.c: Likewise.
16990 * benchtests/bench-strrchr.c: Likewise.
16991 * benchtests/bench-strspn.c: Likewise.
16992 * benchtests/bench-strstr.c: Likewise.
16993
cae16d66
WN
169942013-09-04 Will Newton <will.newton@linaro.org>
16995
16996 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16997
ffa3cd7f
JM
169982013-09-03 Joseph Myers <joseph@codesourcery.com>
16999
17000 [BZ #15427]
17001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17002 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17003 * math/libm-test.inc (lgamma_test_data): Add more tests.
17004 * sysdeps/i386/fpu/libm-test-ulps: Update.
17005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006
8f02859f
OB
170072013-09-03 Ondřej Bílka <neleai@seznam.cz>
17008
17009 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17011 Add ifunc.
17012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17013 Add strcmp-sse2-unaligned
17014 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17015
18d43716
MF
170162013-09-02 Mike Frysinger <vapier@gentoo.org>
17017
17018 * Versions.def (libc): Add GLIBC_2.19.
17019
ac444012
MF
170202013-09-02 Mike Frysinger <vapier@gentoo.org>
17021
17022 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17023 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17024
b7835e32
JM
170252013-09-02 Joseph Myers <joseph@codesourcery.com>
17026
17027 [BZ #14155]
17028 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17029 intermediate calculations in recurrence.
17030 (__ieee754_ynf): Likewise.
17031 * math/libm-test.inc (jn_test_data): Do not allow spurious
17032 underflow exception. Add more tests.
17033 (yn_test_data): Add more tests.
17034 * sysdeps/i386/fpu/libm-test-ulps: Update.
17035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17036
8220f4f0
OB
170372013-09-02 Ondřej Bílka <neleai@seznam.cz>
17038
17039 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17040
f24a6d08
OB
170412013-08-30 Ondřej Bílka <neleai@seznam.cz>
17042
17043 * csu/init-first.c: Fix then/than typos.
17044 * locale/programs/ld-collate.c: Likewise.
17045 * locale/programs/linereader.h: Likewise.
17046 * manual/charset.texi: Likewise.
17047 * manual/filesys.texi: Likewise.
17048 * manual/stdio.texi: Likewise.
17049 * manual/string.texi: Likewise.
17050 * stdlib/fmtmsg.c: Likewise.
17051 * sysdeps/i386/stpncpy.S: Likewise.
17052 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17053 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17054 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17055 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17056
382466e0
OB
170572013-08-30 Ondřej Bílka <neleai@seznam.cz>
17058
17059 * elf/dl-open.c: Fix typos.
17060 * iconvdata/gbbig5.c: Likewise.
17061 * iconvdata/iso-2022-jp.c: Likewise.
17062 * iconv/gconv_int.h: Likewise.
17063 * iconv/loop.c: Likewise.
17064 * nis/rpcsvc/nis.h: Likewise.
17065 * resolv/ns_name.c: Likewise.
17066 * stdio-common/vfscanf.c: Likewise.
17067 * streams/stropts.h: Likewise.
17068 * sunrpc/rpc_thread.c: Likewise.
17069 * sysdeps/i386/strpbrk.S: Likewise.
17070 * sysdeps/ieee754/k_standard.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17073 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17074 * sysdeps/mach/hurd/profil.c: Likewise.
17075 * sysdeps/s390/dl-procinfo.h: Likewise.
17076 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17078 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17079 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17081
0186c6e9
OB
170822013-08-30 Ondřej Bílka <neleai@seznam.cz>
17083
17084 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17086
d4e16af1
OB
170872013-08-29 Ondřej Bílka <neleai@seznam.cz>
17088
17089 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17090 aix specific files.
17091 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17095 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17096 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17097 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17099
88335980
TS
171002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17101 Roland McGrath <roland@hack.frob.com>
17102
17103 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17104 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17105
ed479b02
ST
171062013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17107
17108 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17109 __executable_start symbol instead of _start.
17110
f1cc4c86
TS
171112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17112
d821f07c
TS
17113 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17114 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17115 Move macros to...
17116 * sysdeps/gnu/ldsodefs.h: ... this new file.
17117
c54290cf
TS
17118 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17119 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17120 instead of ELFOSABI_LINUX.
17121
0007fc9b 17122 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17123 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17124 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17125 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17126 Likewise.
17127 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17128 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17130 Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17132 (ibm_extended_long_double): Add ieee_nan member.
17133 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17134 (do_test): New function.
17135
f1cc4c86
TS
17136 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17137 TEST_TRUNC.
17138 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17139 functions, renamed from truncdfsf_test, trunctfsf_test,
17140 trunctfdf_test.
17141 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17142 functions.
17143 (do_test): Run all these.
17144
6f65e668
OB
171452013-08-29 Ondřej Bílka <neleai@seznam.cz>
17146
17147 * argp/argp-help.c: Fix typos.
17148 * argp/argp-parse.c: Likewise.
17149 * debug/backtracesyms.c: Likewise.
17150 * elf/elf.h: Likewise.
17151 * malloc/malloc.c: Likewise.
17152 * nis/nis_print.c: Likewise.
17153 * resolv/res_comp.c: Likewise.
17154 * stdlib/stdlib.h: Likewise.
17155 * sunrpc/clnt_tcp.c: Likewise.
17156 * sunrpc/clnt_udp.c: Likewise.
17157 * sunrpc/clnt_unix.c: Likewise.
17158 * sysdeps/unix/bsd/ptsname.c: Likewise.
17159 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17160 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17162 Likewise.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17164 Likewise.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17166 Likewise.
6f65e668
OB
17167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17168
3a309239
SP
171692013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17170
17171 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17173
3b813b29
MF
171742013-08-27 Mike Frysinger <vapier@gentoo.org>
17175
17176 [BZ #15897]
17177 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17178 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17179 ($(objpfx)bug-dl-leaf): New rule.
17180 ($(objpfx)bug-dl-leaf.so): Likewise.
17181 ($(objpfx)bug-dl-leaf.out): Likewise.
17182 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17183 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17184 * dlfcn/bug-dl-leaf.c: New test.
17185 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17186 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17187 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17188 (dlclose): Likewise.
17189 (dlmopen): Likewise.
17190
8cc3269f
RM
171912013-08-27 Roland McGrath <roland@hack.frob.com>
17192
7f9d0034
RM
17193 * include/netdb.h [!_ISOMAC]:
17194 Don't include <tls.h>.
17195 (h_errno, __libc_h_errno): Move declaration and macros out of
17196 [_LIBC_REENTRANT].
17197
fb431262
RM
17198 * include/resolv.h [_RESOLV_H_]:
17199 Don't include <tls.h>.
17200 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17201 * resolv/res_libc.c: Don't include <tls.h>.
17202 (_res): Use __attribute__ ((nocommon)) in place of
17203 __attribute__ ((section (".bss"))).
17204
bd81123a
RM
17205 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17206 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17207
c4e42566
RM
17208 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17209
f890a59b
RM
17210 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17211 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17212
17213 * resolv/res_mkquery.c: Include <sys/time.h>.
17214
5d1f0a09
RM
17215 * inet/ifreq.c: Moved to ...
17216 * sysdeps/unix/ifreq.c: ... here.
17217 * inet/ifreq.c: New file, true stub version.
17218
6fcf28b3
RM
17219 * socket/sa_len.c: New file.
17220 * socket/Makefile (aux): Add it.
17221 * sysdeps/unix/sysv/linux/Makefile
17222 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17223 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17224 and #include <socket/sa_len.c>.
17225 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17226 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17227
e041fb8b
RM
17228 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17229 * bits/socket.h: ... here.
17230
8cc3269f
RM
17231 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17232 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17233 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17234
5d228a43
AS
172352013-08-27 Andreas Schwab <schwab@suse.de>
17236
45b8accc
AS
17237 [BZ #15736]
17238 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17239 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17240 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17241 * string/test-strcasecmp.c (test_main): Run tests in several
17242 locales.
17243 * string/test-strncasecmp.c (test_main): Likewise.
17244
5d228a43
AS
17245 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17246 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17247 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17249 (__strncasecmp_ssse3) [PIC]: Likewise.
17250
59d112a4
RM
172512013-08-26 Roland McGrath <roland@hack.frob.com>
17252
53234cc3
RM
17253 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17254
59d112a4
RM
17255 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17256 instead of explicitly declaring xdecrypt.
17257 * nis/nss_nis/nis-publickey.c: Likewise.
17258
595aba70
SP
172592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17260
17261 [BZ #15890]
17262 * nscd/aicache.c: Include res_hconf.h.
17263 (addhstaiX): Initialize res_hconf.
17264
ffabd393
AS
172652013-08-26 Andreas Schwab <schwab@suse.de>
17266
17267 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17268 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17269
e0a69f5c
SP
172702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17271
17272 * nscd/aicache.c (addhstaiX): Fix indentation.
17273
8c12f01d
MF
172742013-08-25 Mike Frysinger <vapier@gentoo.org>
17275
17276 * configure.ac: Quote $build_pt_chown test.
17277 * configure: Regenerated.
17278
8fe89494
JM
172792013-08-23 Joseph Myers <joseph@codesourcery.com>
17280
17281 [BZ #15532]
17282 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17283 * math/s_cexpf.c (__cexpf): Likewise.
17284 * math/s_cexpl.c (__cexpl): Likewise.
17285 * math/libm-test.inc (cexp_test_data): Correct expected return
17286 value for NaN + i0. Add another test.
17287
75b181d6
DM
172882013-08-22 David S. Miller <davem@davemloft.net>
17289
17290 * po/ca.po: Update Catalan translation from translation project.
936241e4 17291 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17292
acd06bb1
JM
172932013-08-21 Joseph Myers <joseph@codesourcery.com>
17294
17295 [BZ #15797]
17296 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17297 is infinite, not alongside NaN test.
17298 * math/s_fdimf.c (__fdimf): Likewise.
17299 * math/s_fdiml.c (__fdiml): Likewise.
17300 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17301 errno is unchanged.
17302
c0c3f78a
OB
173032013-08-21 Ondřej Bílka <neleai@seznam.cz>
17304
17305 * argp/argp-help.c: Fix typos.
17306 * crypt/speeds.c: Likewise.
17307 * csu/check_fds.c: Likewise.
17308 * elf/dl-load.c: Likewise.
17309 * elf/dl-open.c: Likewise.
17310 * elf/reldep3.c: Likewise.
17311 * elf/reldep.c: Likewise.
17312 * elf/sprof.c: Likewise.
17313 * iconv/iconv_charmap.c: Likewise.
17314 * iconv/skeleton.c: Likewise.
17315 * iconv/strtab.c: Likewise.
17316 * io/lockf64.c: Likewise.
17317 * libio/libioP.h: Likewise.
17318 * resolv/gai_notify.c: Likewise.
17319 * resolv/ns_name.c: Likewise.
17320 * resolv/ns_samedomain.c: Likewise.
17321 * resolv/res_send.c: Likewise.
17322 * stdlib/random.c: Likewise.
17323 * sunrpc/rpc/xdr.h: Likewise.
17324 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17326 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17332 * sysdeps/mach/hurd/check_fds.c: Likewise.
17333 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17334 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17335 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17337 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17338 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17339 * sysdeps/pthread/aio_notify.c: Likewise.
17340 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17341 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17342 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17343 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17344 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17345
46ed1038
LD
173462013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17347
17348 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17349 version if bit_Slow_SSE4_2 is set.
17350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17352
d400dcac
AZ
173532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17354
17355 [BZ #15867]
17356 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17357 trampoline stack frame information.
17358 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17359 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17360 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17361 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17362 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17363 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17364 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17365 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17366 sa_flags value.
17367 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17368 interrupting a syscall and set with option SA_SIGINFO.
17369
42c8fdd8
JM
173702013-08-20 Joseph Myers <joseph@codesourcery.com>
17371
c980f2f4
JM
17372 [BZ #15531]
17373 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17374 argument is infinite.
17375 * math/s_cprojf.c (__cprojf): Likewise.
17376 * math/s_cprojl.c (__cprojl): Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17378 * math/libm-test.inc (cproj_test_data): Add more tests.
17379
0716c4fc
JM
17380 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17381
42c8fdd8
JM
17382 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17383 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17384 size. Use __ffs to determine corresponding shift.
17385
b31469d0
JM
173862013-08-20 Joseph Myers <joseph@codesourcery.com>
17387 Roland McGrath <roland@hack.frob.com>
17388
17389 * Makefile (INSTALL): Remove trailing blank lines from output of
17390 makeinfo.
17391
4e39af6e
AK
173922013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17393
17394 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17395 Align 32 bit compat elf_greg to 8 bytes.
17396
f315524e
AA
173972013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17398
17399 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17400
1326ba1a
SP
174012013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17402
17403 * string/strcoll_l.c (coll_seq): New structure.
17404 (get_next_seq_cached): New function.
17405 (get_next_seq): New function.
17406 (do_compare): New function.
17407 (STRCOLL): Use GNU style definition. Simplify implementation
17408 by using get_next_seq, get_next_seq_cached and do_compare.
17409
91ce4085
FW
174102013-08-16 Florian Weimer <fweimer@redhat.com>
17411
17412 [BZ #14699]
17413 CVE-2013-4237
17414 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17415 member.
17416 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17417 member.
17418 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17419 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17420 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17421 conditional.
17422 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17423 GETDENTS_64BIT_ALIGNED.
17424 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17425 * manual/filesys.texi (Reading/Closing Directory): Document
17426 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17427 strongly.
17428 * manual/conf.texi (Limits for Files): Add portability note to
17429 NAME_MAX, PATH_MAX.
17430 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17431
ca0a6bc4
AS
174322013-08-13 Andreas Schwab <schwab@suse.de>
17433
17434 [BZ #15749]
17435 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17436 of fabs.
17437 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17438 LDBL_MAX_EXP >= 16384]: Add tests for it.
17439
6c1fd795
DM
174402013-08-12 David S. Miller <davem@davemloft.net>
17441
17442 * version.h (RELEASE): Set to "development".
17443 (VERSION): Set to "2.18.90".
17444 * NEWS: Add 2.19 section.
17445
31ad488d
DM
174462013-08-03 David S. Miller <davem@davemloft.net>
17447
17448 * po/ko.po: Update Korean translation from translation project.
17449
db24e684
DM
174502013-08-01 David S. Miller <davem@davemloft.net>
17451
17452 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17453 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17454 Bilka.
17455
f723285b
DM
174562013-07-30 David S. Miller <davem@davemloft.net>
17457
17458 * po/fr.po: Update French translation from translation project.
17459
3cbc52db
DM
174602013-07-28 David S. Miller <davem@davemloft.net>
17461
30bbc0cc
DM
17462 * po/cs.po: Update Czech translation from translation project.
17463
3cbc52db
DM
17464 * po/sv.po: Update Swedish translation from translation project.
17465
d492e6d0
DM
174662013-07-27 David S. Miller <davem@davemloft.net>
17467
f1a7f492
DM
17468 * po/eo.po: Update Esperanto translation from translation project.
17469
90e62a4a
DM
17470 * po/vi.po: Update Vietnamese translation from translation project.
17471
d492e6d0
DM
17472 * po/de.po: Update German translation from translation project.
17473
d4baa62d
DM
174742013-07-26 David S. Miller <davem@davemloft.net>
17475
641aa7b4
DM
17476 * po/bg.po: Update Bulgarian translation from translation project.
17477
d4baa62d
DM
17478 * po/nl.po: Update Dutch translation from translation project.
17479 * po/pl.po: Update Polish translation from translation project.
17480 * po/ru.po: Update Russian translation from translation project.
17481
61a9dcb9
DM
174822013-07-24 David S. Miller <davem@davemloft.net>
17483
17484 * po/libc.pot: Update.
17485
7b1f8b58
AZ
174862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17487
17488 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17489 variable page size.
17490 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17492 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17493
a8fc7a03
AK
174942013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17495
17496 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17497
e4608715
CD
174982013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17499 Andreas Schwab <schwab@suse.de>
17500 Roland McGrath <roland@hack.frob.com>
17501 Joseph Myers <joseph@codesourcery.com>
17502 Carlos O'Donell <carlos@redhat.com>
17503
17504 [BZ #15755]
17505 * config.h.in: Define HAVE_PT_CHOWN.
17506 * config.make.in (build-pt-chown): New variable.
17507 * configure.in (--enable-pt_chown): New configure option.
17508 * configure: Regenerate.
17509 * login/Makefile: Include Makeconfig. Build pt_chown only if
17510 build-pt-chown is enabled.
17511 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17512 pt_chown to fix pty ownership.
17513 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17514 CLOSE_ALL_FDS.
17515 * manual/install.texi (Configuring and compiling): Mention
17516 --enable-pt_chown. Add @findex for grantpt.
17517 * INSTALL: Regenerate.
17518
da2d62df
DM
175192013-07-20 David S. Miller <davem@davemloft.net>
17520
17521 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17522 difference between 32-bit and 64-bit.
17523
d7e06450
CD
175242013-07-15 Carlos O'Donell <carlos@redhat.com>
17525
17526 [BZ #15711]
17527 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17528 Avoid system header dependency with -ffreestanding.
17529 ($(objpfx)bits/syscall%d): Likewise.
17530
f959cfd7
DM
175312013-07-13 David S. Miller <davem@davemloft.net>
17532
17533 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17534 underflows from atanl/atan2l due to bug 15319.
17535 (casinh_test_data): Likewise.
17536
c61f8513
DM
175372013-07-07 David S. Miller <davem@davemloft.net>
17538
17539 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17540
72c90ed0
JA
175412013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17542
17543 * sysdeps/i386/fpu/libm-test-ulps: Update.
17544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17545
52dfbe13
SP
175462013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17547
17548 * configure.in (--enable-lock-elision): Fix message text.
17549 * INSTALL: Regenerate.
17550 * configure: Regenerate.
17551
3f169543
AZ
175522013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17553
17554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17555
521c6785
AJ
175562013-07-03 Andreas Jaeger <aj@suse.de>
17557
17558 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17559 define.
17560 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17561 (ptrace_peeksiginfo_args): Add.
17562 (__ptrace_peeksiginfo_flags): Add.
17563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17566
d2cc15cb
AM
175672013-07-03 Allan McRae <allan@archlinux.org>
17568
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17570
3aaeeca7
DM
175712013-07-02 David S. Miller <davem@davemloft.net>
17572
17573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17574
5314ed1a
MT
175752013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17576
17577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17578
67338156
JM
175792013-07-02 Joseph Myers <joseph@codesourcery.com>
17580
17581 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17583
1717da59
AK
175842013-07-02 Andi Kleen <ak@linux.intel.com>
17585
17586 * config.h.in (ENABLE_LOCK_ELISION): Add.
17587 * configure.in (--enable-lock-elision): Add option.
17588 * manual/install.texi: Document --enable lock elision.
17589 * configure: Regenerate
17590 * INSTALL: Regenerate.
17591
1c81621c
L
175922013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17593
17594 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17595 SSE4.2 strcasecmp for libc.a.
17596 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17597
77f01ab5
JM
175982013-07-02 Joseph Myers <joseph@codesourcery.com>
17599
17600 [BZ #13304]
17601 * soft-fp/op-common.h (_FP_FMA): New macro.
17602 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17603 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17604 (_FP_MUL_MEAT_1_imm): ... here.
17605 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17606 (_FP_MUL_MEAT_1_wide): ... here.
17607 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17608 (_FP_MUL_MEAT_1_hard): ... here.
17609 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17610 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17611 (_FP_MUL_MEAT_2_wide): ... here.
17612 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17613 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17614 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17615 (_FP_MUL_MEAT_2_gmp): ... here.
17616 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17617 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17618 (_FP_MUL_MEAT_4_wide): ... here.
17619 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17620 (_FP_MUL_MEAT_4_gmp): ... here.
17621 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17622 (_FP_WFRACBITS_DW_S): Likewise.
17623 (_FP_WFRACXBITS_DW_S): Likewise.
17624 (_FP_HIGHBIT_DW_S): Likewise.
17625 (FP_FMA_S): Likewise.
17626 (_FP_FRAC_HIGH_DW_S): Likewise.
17627 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17628 (_FP_WFRACBITS_DW_D): Likewise.
17629 (_FP_WFRACXBITS_DW_D): Likewise.
17630 (_FP_HIGHBIT_DW_D): Likewise.
17631 (FP_FMA_D): Likewise.
17632 (_FP_FRAC_HIGH_DW_D): Likewise.
17633 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17634 (_FP_WFRACBITS_DW_E): Likewise.
17635 (_FP_WFRACXBITS_DW_E): Likewise.
17636 (_FP_HIGHBIT_DW_E): Likewise.
17637 (FP_FMA_E): Likewise.
17638 (_FP_FRAC_HIGH_DW_E): Likewise.
17639 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17640 (_FP_WFRACBITS_DW_Q): Likewise.
17641 (_FP_WFRACXBITS_DW_Q): Likewise.
17642 (_FP_HIGHBIT_DW_Q): Likewise.
17643 (FP_FMA_Q): Likewise.
17644 (_FP_FRAC_HIGH_DW_Q): Likewise.
17645 * soft-fp/fmasf4.c: New file.
17646 * soft-fp/fmadf4.c: Likewise.
17647 * soft-fp/fmatf4.c: Likewise.
17648
6308fd9a
LD
176492013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17650
17651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17652 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17653 Silvermont.
17654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17655 macro.
17656 (index_Slow_SSE4_2): Likewise.
17657 (index_Prefer_PMINUB_for_stringop): Likewise.
17658 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17659 bit_Slow_SSE4_2 is set.
17660 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17661 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17662
89cd9569
RA
176632013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17664
17665 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17666 rtld_global._dl_hwcap2.
17667 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17668 POWER8.
17669 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17670 POWER8 feature descriptions defined in _dl_hwcap2.
17671 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17672 string handling for POWER8 feature bits.
17673 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17674 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17675 _dl_powerpc_cap_flags.
17676 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17677 * sysdeps/powerpc/rtld-global-offsets.sym
17678 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17679 _dl_hwcap2 in the rtld_global_ro structure.
17680
1ae8bfe0
RA
176812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17682
17683 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17684 hardware capabilities in support of AT_HWCAP2.
17685 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17686 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17687 GLRO(dl_hwcap2).
17688 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17689 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17690 explicitly the unknown a_type display mechanism is used.
17691 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17692 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17693 struct member.
17694 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17695 to macro prototype for AT_HWCAP2 support.
17696 * sysdeps/i386/dl-procinfo.h: Likewise.
17697 * sysdeps/s390/dl-procinfo.h: Likewise.
17698 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17699 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17700 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17701 return -1 for unknown a_type display fallback.
17702 * sysdeps/sparc/dl-procinfo.h: Likewise.
17703 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17704 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17705
8fbec010
JM
177062013-06-28 Joseph Myers <joseph@codesourcery.com>
17707
17708 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17709 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17710
0432680e
PY
177112013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17712
17713 [BZ #12492]
17714 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17715 mprotect making __stack_prot writable.
17716
ce61a2ad
NF
177172013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17718 Joseph Myers <joseph@codesourcery.com>
17719
17720 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17721 as being properly aligned.
17722
f91f1c0f
MR
177232013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17724
3d0f5d0c
MR
17725 * dlfcn/modstatic5.c: New file.
17726 * dlfcn/tststatic5.c: New file.
17727 * dlfcn/Makefile (tests): Add tststatic5.
17728 (tests-static): Likewise.
17729 (modules-names): Add modstatic5.
17730 (tststatic5-ENV): New variable.
17731 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17732
f91f1c0f
MR
17733 [BZ #15022]
17734 * elf/dl-support.c (_dl_main_map): New variable.
17735 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17736 (_dl_nns, _dl_load_adds): Set to 1.
17737 (_dl_initial_searchlist): Refer to _dl_main_map.
17738 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17739 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17740 call to _dl_get_origin.
17741 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17742 around call_map.
17743 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17744 * dlfcn/modstatic3.c: New file.
17745 * dlfcn/tststatic3.c: New file.
17746 * dlfcn/tststatic4.c: New file.
17747 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17748 (tests-static): Likewise.
17749 (modules-names): Add modstatic3.
17750 (tststatic3-ENV, tststatic4-ENV): New variables.
17751 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17752 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17753
cbe7d24b
JM
177542013-06-26 Joseph Myers <joseph@codesourcery.com>
17755
17756 * configure.in (CC): Require GCC version 4.4 or later.
17757 * configure: Regenerated.
17758 * manual/install.texi (Tools for Compilation): Update GCC version
17759 requirement.
17760 * INSTALL: Regenerated.
17761
11b8a0e1
LD
177622013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17763
17764 [BZ #15674]
bb5bb87c
L
17765 * string/test-memcmp.c (check2): New.
17766 (main): Call check2.
17767
11b8a0e1
LD
17768 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17769
b0037103
MR
177702013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17771
17772 [BZ #15022]
17773 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17774 over to...
17775 (dl_open_worker) [!SHARED]: ... here.
17776
c18c701d
RA
177772013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17778
17779 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17780
1d17fa5f
RH
177812013-06-25 Richard Henderson <rth@redhat.com>
17782
17783 * locale/programs/locarchive.c: Include <libc-internal.h>
17784
8fcb833a
JM
177852013-06-25 Joseph Myers <joseph@codesourcery.com>
17786
17787 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17788 trailing whitespace removed.
17789
17db6e8d
MF
177902013-06-24 Mike Frysinger <vapier@gentoo.org>
17791
17792 [BZ #10283]
17db6e8d
MF
17793 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17794 * locale/programs/locarchive.c: Include libc-mmap.h.
17795 (prepare_address_space): Take two new outputs (the mmap base and len).
17796 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17797 values.
17798 (create_archive): Declare new mmap base and len values for
17799 prepare_address_space, and store the result in ah.
17800 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17801 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17802 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17803 Declare new mmap base and len values for
17804 prepare_address_space, and store the result in new_ah.
17805 (open_archive): Declare new mmap base and len values for
17806 prepare_address_space, and store the result in ah.
17807 (close_archive): If ah->mmap_base is not NULL, use that and
17808 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17809 * sysdeps/generic/libc-mmap.h: New file.
17810
d605071e
MF
178112013-06-24 Mike Frysinger <vapier@gentoo.org>
17812
17813 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17814 (ALIGN_UP): Likewise.
17815 (PTR_ALIGN_DOWN): Likewise.
17816 (PTR_ALIGN_UP): Likewise.
17817
2f063a6e
RA
178182013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17819
17820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17821 entry mapped to PPC_PLATFORM_POWER8.
17822 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17823 POWER8.
17824 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17825 (_dl_string_platform): Add case for exporting platform position for
17826 POWER8.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17828 search path to sysdeps/powerpc/powerpc32/power8 directory.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17830 search path to sysdeps/powerpc/powerpc64/power8 directory.
17831 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17832 power7 directories.
17833 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17834 power7 directories.
17835
a31ee4b3
SP
178362013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17837
a74ca98f
SP
17838 * INSTALL: Regenerate.
17839
a31ee4b3
SP
17840 * nscd/connections.c (nscd_init): Fix comment.
17841
695c378f
JM
178422013-06-22 Joseph Myers <joseph@codesourcery.com>
17843
d8412221
JM
17844 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17845
695c378f
JM
17846 [BZ #15667]
17847 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17848 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17849
d1d54715
MR
178502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17851
17852 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17853 DL_DST_REQ_STATIC.
17854 (DL_DST_REQ_STATIC): Remove macro.
17855
8fdda7af
JM
178562013-06-21 Joseph Myers <joseph@codesourcery.com>
17857
17858 [BZ #7006]
17859 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17860 with a shift of 0 bits.
17861
f3bc5e5a
MR
178622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17863
17864 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17865 $(tststatic-ENV).
17866
be09e8c9
KK
178672013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17868
17869 [BZ #15655]
17870 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17871
85c2e611
AZ
178722013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17873
17874 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17875 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17876 accepts -fno-tree-loop-distribute-patterns.
17877 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17878 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17879 recursive call.
17880 * string/memset.c (memset): Likewise.
17881 * string/test-memmove.c (simple_memmove): Disable loop transformation
17882 to library calls.
17883 * string/test-memset.c (simple_memset): Likewise.
17884 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17885 * benchtests/bench-memset.c (simple_memset): Likewise.
17886 * configure: Regenerated.
17887
c91e0825
JM
178882013-06-20 Joseph Myers <joseph@codesourcery.com>
17889
b8c792af
JM
17890 * math/test-misc.c (main): Ignore fesetround failure when failures
17891 of subsequent rounding tests would be ignored.
17892
c91e0825
JM
17893 [BZ #15654]
17894 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17895 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17896 * math/fegetenv.c (__fegetenv): Return 0.
17897 * math/fegetexcept.c (fegetexcept): Return 0.
17898 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17899 FE_TONEAREST.
17900 * math/feholdexcpt.c (feholdexcept): Return 0.
17901 * math/fesetenv.c (__fesetenv): Return 0.
17902 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17903 argument FE_TONEAREST.
17904 * math/feupdateenv.c (__feupdateenv): Return 0.
17905 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17906
bfcacbde
RM
179072013-06-18 Roland McGrath <roland@hack.frob.com>
17908
17909 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17910 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17911 ($(objpfx)rtld-%.os rules): Use them.
17912
e55a9b25
AZ
179132013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17914
17915 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17916 fields.
17917
346d65b3
RM
179182013-06-17 Roland McGrath <roland@hack.frob.com>
17919
12086fb4
RM
17920 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17921 length of target pattern, then descending length of dependency pattern.
17922 * configure.in (AWK): Require gawk 3.1.2 or newer.
17923 * manual/install.texi (Tools for Compilation): Say that we do.
17924 * configure: Regenerated.
17925
346d65b3
RM
17926 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17927 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17928 * scripts/sysd-rules.awk: ... this new script.
17929 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17930 than a glob-style pattern.
17931
1a846317
JM
179322013-06-17 Joseph Myers <joseph@codesourcery.com>
17933
17934 * math/test-misc.c (main): Do not treat incorrectly rounded
17935 conversions as failure unless ROUNDING_TESTS passes.
17936
8fc75e6f
JM
179372013-06-15 Joseph Myers <joseph@codesourcery.com>
17938
3711a167
JM
17939 [BZ #15631]
17940 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17941 restore exception state around main square root computation, then
17942 check for inexactness explicitly.
17943
8fc75e6f
JM
17944 * math/libm-test.inc (fma_test_data): Add another test.
17945
61dd6208
SP
179462013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17947
adf23d2c
SP
17948 * manual/threads.texi (Non-POSIX Extensions): New document
17949 node. Document pthread_getattr_default_np and
17950 pthread_setattr_default_np.
17951
61dd6208
SP
17952 * Versions.def (libpthread): Add GLIBC_2.18.
17953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17955 Likewise.
17956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17957 Likewise.
17958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17959 Likewise.
17960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17961 Likewise.
17962 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17963 Likewise.
17964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17965 Likewise.
17966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17967 Likewise.
17968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17969 Likewise.
17970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17971 Likewise.
17972
d086fc7b
LD
179732013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17974
17975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17976 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17977
747ef469
SP
179782013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17979 H.J. Lu <hjl.tools@gmail.com>
17980
17981 [BZ #15627]
17982 * sysdeps/x86_64/rtld-memset.c: Remove file.
17983 * sysdeps/x86_64/rtld-memset.S: New file.
17984
1b2feed2
JM
179852013-06-14 Joseph Myers <joseph@codesourcery.com>
17986
17987 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17988 (test_in_one_mode): Take arguments for whether the rounding mode
17989 is supported for each floating-point type.
17990 (do_test): Pass new arguments to test_in_one_mode using
17991 ROUNDING_TESTS.
17992
a58ad3f8
RM
179932013-06-13 Roland McGrath <roland@hack.frob.com>
17994
17995 * posix/tst-waitid.c (do_test): Distinguish different instances of
17996 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17997 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17998 before entering the kernel for waitpid.
17999
c204ab28
SP
180002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18001
18002 * NEWS: Fix note on clock function precision. Text by Roland
18003 McGrath.
18004
f4a29fba
RM
180052013-06-13 Roland McGrath <roland@hack.frob.com>
18006
18007 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18008 it into place only when and if the sanity check passes.
18009
1f24b9ad
JM
180102013-06-13 Joseph Myers <joseph@codesourcery.com>
18011
18012 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18013 output for whether conversion result is exact. Take argument
18014 indicating whether type is IBM long double.
18015 (round_for_all): Change need_exact field to ibm_ld.
18016 * stdlib/tst-strtod-round.c (struct exactness): New type.
18017 (struct test): Change bool ld_ok field to struct exactness exact.
18018 (TEST): Update all definitions for change to field.
18019 (tests): Regenerate array contents.
18020 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18021 field value. Check for IBM long double here.
18022 (do_test): Update calls to test_in_one_mode.
18023
58206c68
SP
180242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18025
18026 [BZ #12515]
18027 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18028 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18029
2d6f4c5b 180302013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18031
18032 [BZ #15605]
18033 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18034 generated by the compiler on loop optimizations.
18035 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18036 general definitions.
18037
94f2c076
JM
180382013-06-12 Joseph Myers <joseph@codesourcery.com>
18039
18040 * math/bug-nextafter.c: Include <math-tests.h>.
18041 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18042 the relevant type.
18043 * math/bug-nexttoward.c: Include <math-tests.h>.
18044 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18045 the relevant type.
18046 * math/test-misc.c: Include <math-tests.h>.
18047 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18048 the relevant type.
18049
e0e50a0a
AJ
180502013-06-12 Andreas Jaeger <aj@suse.de>
18051
18052 * po/ia.po: Update Interlingua translation from translation
18053 project.
18054
25061094
SP
180552013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18056
18057 * include/fenv.h: Include stdbool.h.
18058 (struct rm_ctx): New structure.
18059 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18060 Define macro.
18061 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18062 (SET_RESTORE_ROUNDF): Likewise.
18063 (SET_RESTORE_ROUNDL): Likewise.
18064 (SET_RESTORE_ROUND_NOEX): Likewise.
18065 (SET_RESTORE_ROUND_NOEXF): Likewise.
18066 (SET_RESTORE_ROUND_NOEXL): Likewise.
18067 (SET_RESTORE_ROUND_53BIT): Likewise.
18068 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18069 (libc_feresetround_noexf_ctx): Likewise.
18070 (libc_feresetround_noexl_ctx): Likewise.
18071 (libc_feholdsetround_53bit_ctx): Likewise.
18072 (libc_feresetround_53bit_ctx): Likewise.
18073 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18074 (libc_feholdexcept_setround_sse_ctx): New function.
18075 (libc_fesetenv_sse_ctx): Likewise.
18076 (libc_feupdateenv_sse_ctx): Likewise.
18077 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18078 (libc_feholdexcept_setround_387_ctx): Likewise.
18079 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18080 (libc_feholdsetround_387_prec_ctx): Likewise.
18081 (libc_feholdsetround_387_ctx): Likewise.
18082 (libc_feholdsetround_387_53bit_ctx): Likewise.
18083 (libc_feholdsetround_sse_ctx): Likewise.
18084 (libc_feresetround_sse_ctx): Likewise.
18085 (libc_feresetround_387_ctx): Likewise.
18086 (libc_feupdateenv_387_ctx): Likewise.
18087 (libc_feholdexcept_setroundf_ctx): Define macro.
18088 (libc_fesetenvf_ctx): Likewise.
18089 (libc_feupdateenvf_ctx): Likewise.
18090 (libc_feholdsetroundf_ctx): Likewise.
18091 (libc_feresetroundf_ctx): Likewise.
18092 (libc_feholdexcept_setround_ctx): Likewise.
18093 (libc_fesetenv_ctx): Likewise.
18094 (libc_feupdateenv_ctx): Likewise.
18095 (libc_feholdsetround_ctx): Likewise.
18096 (libc_feresetround_ctx): Likewise.
18097 (libc_feholdexcept_setroundl_ctx): Likewise.
18098 (libc_feupdateenvl_ctx): Likewise.
18099 (libc_feholdsetroundl_ctx): Likewise.
18100 (libc_feresetroundl_ctx): Likewise.
18101 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18102 (libc_feresetround_53bit_ctx): Likewise.
18103
59b30555
SP
181042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18105
18106 * locale/iso-639.def: Convert to UTF-8.
18107
f1d73d30
JM
181082013-06-11 Joseph Myers <joseph@codesourcery.com>
18109
18110 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18111 (EXCEPTION_TESTS_double): Likewise.
18112 (EXCEPTION_TESTS_long_double): Likewise.
18113 (EXCEPTION_TESTS): Likewise.
18114 * math/libm-test.inc (test_exceptions): Only test exceptions if
18115 EXCEPTION_TESTS (FLOAT).
18116
94aca5e7
SP
181172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18118
18119 * benchtests/Makefile (string-bench): Add strcpy_chk and
18120 stpcpy_chk.
18121 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18122 * benchtests/bench-stpcpy_chk.c: New file.
18123 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18124 * benchtests/bench-strcpy_chk.c: New file.
18125 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18126 code.
18127 (do_test): Likewise.
18128
fac0c5f2
RA
181292013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18130
18131 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18132 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18133 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18134 with tabs where appropriate.
18135 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18136 dl-procinfo.h.
18137 [PPC_PLATFORM_PPC440]: Likewise.
18138 [PPC_PLATFORM_PPC464]: Likewise.
18139 [PPC_PLATFORM_PPC476]: Likewise.
18140 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18141 ppc464, and ppc476 platform strings merging from ports/
18142 dl-procinfo.h.
18143
f22bc486
AS
181442013-06-11 Andreas Schwab <schwab@suse.de>
18145
18146 [BZ #14991]
18147 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18148 (from_ucs4_idx): Regenerate.
18149 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18150 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18151 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18152 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18153 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18154 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18155 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18156 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18157 from FROM_LOOP and TO_LOOP specific macros.
18158 (BODY): Handle combining characters.
18159 * iconvdata/BIG5HKSCS.irreversible: Update.
18160 * iconvdata/BIG5HKSCS.precomposed: New file.
18161 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18162 characters.
18163 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18164
c1f75dc3
SP
181652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18166
4eacded2
SP
18167 * include/sys/time.h: Fix indentation and add copyright header.
18168
fec799f8
SP
18169 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18170 (do_test): Likewise.
18171 * string/test-memchr.c (do_one_test): Likewise.
18172 (do_test): Likewise.
18173 * string/test-memcmp.c (do_one_test): Likewise.
18174 (do_test): Likewise.
18175 * string/test-memcpy.c (do_one_test): Likewise.
18176 (do_test): Likewise.
18177 * string/test-memmem.c (do_one_test): Likewise.
18178 (do_test): Likewise.
18179 (do_random_tests): Likewise.
18180 * string/test-memmove.c (do_one_test): Likewise.
18181 (do_test): Likewise.
18182 * string/test-memset.c (do_one_test): Likewise.
18183 (do_test): Likewise.
18184 * string/test-rawmemchr.c (do_one_test): Likewise.
18185 (do_test): Likewise.
18186 * string/test-strcasecmp.c (do_one_test): Likewise.
18187 (do_test): Likewise.
18188 * string/test-strcasestr.c (do_one_test): Likewise.
18189 (do_test): Likewise.
18190 * string/test-strcat.c (do_one_test): Likewise.
18191 (do_test): Likewise.
18192 * string/test-strchr.c (do_one_test): Likewise.
18193 (do_test): Likewise.
18194 * string/test-strcmp.c (do_one_test): Likewise.
18195 (do_test): Likewise.
18196 * string/test-strcpy.c (do_one_test): Likewise.
18197 (do_test): Likewise.
18198 * string/test-string.h: Likewise.
18199 (test_init): Likewise.
18200 * string/test-strlen.c (do_one_test): Likewise.
18201 (do_test): Likewise.
18202 * string/test-strncasecmp.c (do_one_test): Likewise.
18203 (do_test): Likewise.
18204 * string/test-strncat.c (do_one_test): Likewise.
18205 (do_test): Likewise.
18206 * string/test-strncmp.c (do_one_test): Likewise.
18207 (do_test_limit): Likewise.
18208 (do_test): Likewise.
18209 * string/test-strncpy.c (do_one_test): Likewise.
18210 (do_test): Likewise.
18211 * string/test-strnlen.c (do_one_test): Likewise.
18212 (do_test): Likewise.
18213 * string/test-strpbrk.c (do_one_test): Likewise.
18214 (do_test): Likewise.
18215 * string/test-strrchr.c (do_one_test): Likewise.
18216 (do_test): Likewise.
18217 * string/test-strspn.c (do_one_test): Likewise.
18218 (do_test): Likewise.
18219 * string/test-strstr.c (do_one_test): Likewise.
18220 (do_test): Likewise.
18221
97020474
SP
18222 * benchtests/Makefile (string-bench): Add string benchmarks.
18223 * benchtests/bench-bcopy-ifunc.c: New file.
18224 * benchtests/bench-bcopy.c: New file.
18225 * benchtests/bench-bzero-ifunc.c: New file.
18226 * benchtests/bench-bzero.c: New file.
18227 * benchtests/bench-memccpy-ifunc.c: New file.
18228 * benchtests/bench-memccpy.c: New file.
18229 * benchtests/bench-memchr-ifunc.c: New file.
18230 * benchtests/bench-memchr.c: New file.
18231 * benchtests/bench-memcmp-ifunc.c: New file.
18232 * benchtests/bench-memcmp.c: New file.
18233 * benchtests/bench-memmem-ifunc.c: New file.
18234 * benchtests/bench-memmem.c: New file.
18235 * benchtests/bench-memmove-ifunc.c: New file.
18236 * benchtests/bench-memmove.c: New file.
18237 * benchtests/bench-mempcpy-ifunc.c: New file.
18238 * benchtests/bench-mempcpy.c: New file.
18239 * benchtests/bench-memset-ifunc.c: New file.
18240 * benchtests/bench-memset.c: New file.
18241 * benchtests/bench-rawmemchr-ifunc.c: New file.
18242 * benchtests/bench-rawmemchr.c: New file.
18243 * benchtests/bench-stpcpy-ifunc.c: New file.
18244 * benchtests/bench-stpcpy.c: New file.
18245 * benchtests/bench-stpncpy-ifunc.c: New file.
18246 * benchtests/bench-stpncpy.c: New file.
18247 * benchtests/bench-strcasecmp-ifunc.c: New file.
18248 * benchtests/bench-strcasecmp.c: New file.
18249 * benchtests/bench-strcasestr-ifunc.c: New file.
18250 * benchtests/bench-strcasestr.c: New file.
18251 * benchtests/bench-strcat-ifunc.c: New file.
18252 * benchtests/bench-strcat.c: New file.
18253 * benchtests/bench-strchr-ifunc.c: New file.
18254 * benchtests/bench-strchr.c: New file.
18255 * benchtests/bench-strchrnul-ifunc.c: New file.
18256 * benchtests/bench-strchrnul.c: New file.
18257 * benchtests/bench-strcmp-ifunc.c: New file.
18258 * benchtests/bench-strcmp.c: New file.
18259 * benchtests/bench-strcpy-ifunc.c: New file.
18260 * benchtests/bench-strcpy.c: New file.
18261 * benchtests/bench-strcspn-ifunc.c: New file.
18262 * benchtests/bench-strcspn.c: New file.
18263 * benchtests/bench-strlen-ifunc.c: New file.
18264 * benchtests/bench-strlen.c: New file.
18265 * benchtests/bench-strncasecmp-ifunc.c: New file.
18266 * benchtests/bench-strncasecmp.c: New file.
18267 * benchtests/bench-strncat-ifunc.c: New file.
18268 * benchtests/bench-strncat.c: New file.
18269 * benchtests/bench-strncmp-ifunc.c: New file.
18270 * benchtests/bench-strncmp.c: New file.
18271 * benchtests/bench-strncpy-ifunc.c: New file.
18272 * benchtests/bench-strncpy.c: New file.
18273 * benchtests/bench-strnlen-ifunc.c: New file.
18274 * benchtests/bench-strnlen.c: New file.
18275 * benchtests/bench-strpbrk-ifunc.c: New file.
18276 * benchtests/bench-strpbrk.c: New file.
18277 * benchtests/bench-strrchr-ifunc.c: New file.
18278 * benchtests/bench-strrchr.c: New file.
18279 * benchtests/bench-strspn-ifunc.c: New file.
18280 * benchtests/bench-strspn.c: New file.
18281 * benchtests/bench-strstr-ifunc.c: New file.
18282 * benchtests/bench-strstr.c: New file.
18283
c1f75dc3
SP
18284 * benchtests/Makefile: Disable parallel execution of targets.
18285 (string-bench): Add memcpy.
18286 (benchset): New variable to store a list of benchmark sets.
18287 (bench-func): Renamed from bench.
18288 (bench-set): New target.
18289 (bench): Depend on bench-func and bench-set.
18290 * benchtests/README: Add section on benchmark sets.
18291 * benchtests/bench-memcpy-ifunc.c: New file.
18292 * benchtests/bench-memcpy.c: New file.
18293 * benchtests/bench-string.h: New file.
18294
50fd745b
AS
182952013-06-11 Andreas Schwab <schwab@suse.de>
18296
18297 [BZ #15577]
18298 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18299 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18300 values in the triple.
18301 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18302 terminator in the group key.
18303
3ee7e9fe
AJ
183042013-06-11 Andreas Jaeger <aj@suse.de>
18305
18306 * po/zh_TW.po: Update Chinese (traditional) translation from
18307 translation project.
18308
89fb6835
SP
183092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18310
18311 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18312 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18313 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18315 (clock_getcpuclockid): Likewise.
18316 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18317 Add weak_alias and libc_hidden_def.
18318 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18319 * rt/clock_gettime.c (clock_gettime): Rename to
18320 __clock_gettime. Add weak_alias and libc_hidden_def.
18321 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18322 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18323 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18324 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18325 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18326 Likewise.
18327 * rt/clock_settime.c (clock_settime): Rename to
18328 __clock_settime. Add weak_alias and libc_hidden_def.
18329 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18330
0efa6f8b
JM
183312013-06-10 Joseph Myers <joseph@codesourcery.com>
18332
b8c61b4b
JM
18333 * mach/err_boot.sub: Remove trailing whitespace.
18334 * mach/err_ipc.sub: Likewise.
18335 * mach/err_mach.sub: Likewise.
18336
0efa6f8b
JM
18337 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18338 (ROUNDING_TESTS_double): Likewise.
18339 (ROUNDING_TESTS_long_double): Likewise.
18340 (ROUNDING_TESTS): Likewise.
18341 * math/libm-test.inc: Include <math-tests.h>.
18342 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18343 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18344 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18345 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18346
50b818bf
SP
183472013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18348
18349 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18350 of assigning.
18351
60d2f8f3
JM
183522013-06-08 Joseph Myers <joseph@codesourcery.com>
18353
4902d2c3
JM
18354 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18355 otherwise empty TRANS lines.
18356 * sysdeps/gnu/errlist.c: Regenerated.
18357
60d2f8f3
JM
18358 * catgets/gencat.c (error_print): Use (void) in function
18359 definition.
18360 * crypt/crypt_util.c (__init_des): Likewise.
18361 * crypt/speeds.c (Stop): Likewise.
18362 (main): Likewise.
18363 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18364 * inet/ruserpass.c (token): Likewise.
18365 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18366 * intl/localealias.c (extend_alias_table): Likewise.
18367 * intl/plural-exp.c (init_germanic_plural): Likewise.
18368 * libio/fcloseall.c (__fcloseall): Likewise.
18369 * libio/genops.c (_IO_flush_all): Likewise.
18370 (_IO_flush_all_linebuffered): Likewise.
18371 (_IO_cleanup): Likewise.
18372 (_IO_iter_begin): Likewise.
18373 (_IO_iter_end): Likewise.
18374 (_IO_list_lock): Likewise.
18375 (_IO_list_unlock): Likewise.
18376 (_IO_list_resetlock): Likewise.
18377 * libio/getchar.c (getchar): Likewise.
18378 * libio/getchar_u.c (getchar_unlocked): Likewise.
18379 * libio/getwchar.c (getwchar): Likewise.
18380 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18381 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18382 * login/getpt.c (__getpt): Likewise.
18383 * login/tst-utmp.c (main): Likewise.
18384 * malloc/hooks.c (__malloc_check_init): Likewise.
18385 * malloc/malloc.c (__malloc_stats): Likewise.
18386 * malloc/mtrace.c (tr_break): Likewise.
18387 (mtrace): Likewise.
18388 (muntrace): Likewise.
18389 * misc/fstab.c (endfsent): Likewise.
18390 * misc/getclktck.c (__getclktck): Likewise.
18391 * misc/getdtsz.c (__getdtablesize): Likewise.
18392 * misc/gethostid.c (gethostid): Likewise.
18393 * misc/getpagesize.c (__getpagesize): Likewise.
18394 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18395 (__get_nprocs): Likewise.
18396 (__get_phys_pages): Likewise.
18397 (__get_avphys_pages): Likewise.
18398 * misc/getttyent.c (getttyent): Likewise.
18399 (setttyent): Likewise.
18400 (endttyent): Likewise.
18401 * misc/getusershell.c (getusershell): Likewise.
18402 (endusershell): Likewise.
18403 (setusershell): Likewise.
18404 (initshells): Likewise.
18405 * misc/hsearch.c (__hdestroy): Likewise.
18406 * misc/sync.c (sync): Likewise.
18407 * misc/syslog.c (closelog_internal): Likewise.
18408 (closelog): Likewise.
18409 * misc/ttyslot.c (ttyslot): Likewise.
18410 * misc/vhangup.c (vhangup): Likewise.
18411 * posix/fork.c (__fork): Likewise.
18412 * posix/getegid.c (__getegid): Likewise.
18413 * posix/geteuid.c (__geteuid): Likewise.
18414 * posix/getgid.c (__getgid): Likewise.
18415 * posix/getpid.c (__getpid): Likewise.
18416 * posix/getppid.c (__getppid): Likewise.
18417 * posix/getuid.c (__getuid): Likewise.
18418 * posix/pause.c (pause): Likewise.
18419 * posix/setpgrp.c (setpgrp): Likewise.
18420 * posix/setsid.c (__setsid): Likewise.
18421 * posix/test-vfork.c (noop): Likewise.
18422 * resolv/gethnamaddr.c (_endhtent): Likewise.
18423 (_gethtent): Likewise.
18424 (ht_endhostent): Likewise.
18425 (gethostent): Likewise.
18426 (dns_service): Likewise.
18427 * stdlib/drand48.c (drand48): Likewise.
18428 * stdlib/lrand48.c (lrand48): Likewise.
18429 * stdlib/mrand48.c (mrand48): Likewise.
18430 * stdlib/rand.c (rand): Likewise.
18431 * stdlib/random.c (__random): Likewise.
18432 * stdlib/setenv.c (clearenv): Likewise.
18433 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18434 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18435 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18436 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18437 (__get_nprocs): Likewise.
18438 (__get_phys_pages): Likewise.
18439 (__get_avphys_pages): Likewise.
18440 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18441 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18442 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18443 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18444 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18445 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18446 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18447 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18448 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18449 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18450 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18451 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18452 * sysdeps/posix/clock.c (clock): Likewise.
18453 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18454 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18455 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18456 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18457 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18458 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18459 (__get_nprocs_conf): Likewise.
18460 (__get_phys_pages): Likewise.
18461 (__get_avphys_pages): Likewise.
18462 * time/clock.c (clock): Likewise.
18463 * time/tzset.c (__tzname_max): Likewise.
18464
2e09a79a
JM
184652013-06-07 Joseph Myers <joseph@codesourcery.com>
18466
18467 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18468 (__bswap_32): Do not use "register".
18469 * crypt/crypt.c (_ufc_doit_r): Likewise.
18470 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18472 * gmon/gmon.c (__monstartup): Likewise.
18473 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18474 * hurd/hurdmalloc.c (more_memory): Likewise.
18475 (malloc): Likewise.
18476 (free): Likewise.
18477 (realloc): Likewise.
18478 (malloc_fork_prepare): Likewise.
18479 (malloc_fork_parent): Likewise.
18480 (malloc_fork_child): Likewise.
18481 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18482 (_svcauth_des): Likewise.
18483 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18484 * inet/inet_net.c (inet_network): Likewise.
18485 * inet/inet_netof.c (inet_netof): Likewise.
18486 * inet/rcmd.c (__validuser2_sa): Likewise.
18487 * io/fts.c (fts_open): Likewise.
18488 (fts_load): Likewise.
18489 (fts_close): Likewise.
18490 (fts_read): Likewise.
18491 (fts_children): Likewise.
18492 (fts_build): Likewise.
18493 (fts_stat): Likewise.
18494 (fts_sort): Likewise.
18495 (fts_alloc): Likewise.
18496 (fts_lfree): Likewise.
18497 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18498 (_IO_file_xsgetn): Likewise.
18499 (_IO_file_xsgetn_mmap): Likewise.
18500 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18501 (_IO_cookie_write): Likewise.
18502 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18503 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18504 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18505 * malloc/obstack.c (_obstack_begin): Likewise.
18506 (_obstack_begin_1): Likewise.
18507 (_obstack_newchunk): Likewise.
18508 (_obstack_allocated_p): Likewise.
18509 (obstack_free): Likewise.
18510 (_obstack_memory_used): Likewise.
18511 * misc/getttyent.c (getttynam): Likewise.
18512 (getttyent): Likewise.
18513 (skip): Likewise.
18514 (value): Likewise.
18515 * misc/getusershell.c (initshells): Likewise.
18516 * misc/syslog.c (__vsyslog_chk): Likewise.
18517 * misc/ttyslot.c (ttyslot): Likewise.
18518 * nis/nis_hash.c (__nis_hash): Likewise.
18519 * posix/fnmatch_loop.c (FCT): Likewise.
18520 * posix/getconf.c (print_all): Likewise.
18521 (main): Likewise.
18522 * posix/getopt.c (exchange): Likewise.
18523 * posix/glob.c (globfree): Likewise.
18524 (prefix_array): Likewise.
18525 (__glob_pattern_type): Likewise.
18526 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18527 (NS_GET32): Likewise.
18528 (NS_PUT16): Likewise.
18529 (NS_PUT32): Likewise.
18530 * resolv/gethnamaddr.c (getanswer): Likewise.
18531 (gethostbyname2): Likewise.
18532 (gethostbyaddr): Likewise.
18533 (_gethtent): Likewise.
18534 (_gethtbyname2): Likewise.
18535 (_gethtbyaddr): Likewise.
18536 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18537 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18538 * resolv/res_init.c (__res_vinit): Likewise.
18539 (net_mask): Likewise.
18540 * resolv/res_mkquery.c (outchar): Likewise.
18541 (PRINT): Likewise.
18542 * stdio-common/printf_fp.c (outchar): Likewise.
18543 (PRINT): Likewise.
18544 * stdio-common/printf_fphex.c (outchar): Likewise.
18545 (PRINT): Likewise.
18546 * stdio-common/printf_size.c (outchar): Likewise.
18547 (PRINT): Likewise.
18548 * stdio-common/test_rdwr.c (main): Likewise.
18549 * stdio-common/tfformat.c (matches): Likewise.
18550 * stdio-common/vfprintf.c (outchar): Likewise.
18551 (printf_unknown): Likewise.
18552 (buffered_vfprintf): Likewise.
18553 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18554 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18555 (ReadFile): Likewise.
18556 * stdlib/qsort.c (SWAP): Likewise.
18557 (_quicksort): Likewise.
18558 * stdlib/setenv.c (__add_to_environ): Likewise.
18559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18560 * stdlib/strtol_l.c (__strtol_l): Likewise.
18561 * stdlib/tst-strtod.c (main): Likewise.
18562 * stdlib/tst-strtol.c (main): Likewise.
18563 * stdlib/tst-strtoll.c (main): Likewise.
18564 * string/bits/string2.h (__strcmp_cc): Likewise.
18565 (__strcmp_cg): Likewise.
18566 (__strcspn_c1): Likewise.
18567 (__strcspn_c2): Likewise.
18568 (__strcspn_c3): Likewise.
18569 (__strspn_c1): Likewise.
18570 (__strspn_c2): Likewise.
18571 (__strspn_c3): Likewise.
18572 (__strsep_1c): Likewise.
18573 (__strsep_2c): Likewise.
18574 (__strsep_3c): Likewise.
18575 * string/memccpy.c (__memccpy): Likewise.
18576 * string/stpcpy.c (__stpcpy): Likewise.
18577 * string/strcmp.c (strcmp): Likewise.
18578 * string/strrchr.c (strrchr): Likewise.
18579 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18580 Likewise.
18581 * sysdeps/mach/hurd/getcwd.c
18582 (_hurd_canonicalize_directory_name_internal): Likewise.
18583 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18584 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18585 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18586 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18587 Likewise, in both definitions.
18588 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18589 definitions.
18590 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18591 64] (__bswap_64): Likewise.
18592 * time/test_time.c (main): Likewise.
18593 * time/tzfile.c (__tzfile_read): Likewise.
18594 (__tzfile_compute): Likewise.
18595 * time/tzset.c (__tzset_parse_tz): Likewise.
18596 (tzset_internal): Likewise.
18597 (compute_change): Likewise.
18598 * wcsmbs/wcscat.c (__wcscat): Likewise.
18599 * wcsmbs/wcschr.c (wcschr): Likewise.
18600 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18601 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18602 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18603 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18604 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18605 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18606 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18607 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18608 * wcsmbs/wmemset.c (wmemset): Likewise.
18609
9e54314b
JM
186102013-06-06 Joseph Myers <joseph@codesourcery.com>
18611
18612 * scripts/config.guess: Update to version 2013-05-16.
18613 * scripts/config.sub: Update to version 2013-04-24.
18614 * scripts/install-sh: Update to version 2011-11-20.07.
18615 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18616 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18617
350635a5
OB
186182013-06-06 Ondřej Bílka <neleai@seznam.cz>
18619
18620 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18621 * elf/sln.c: Likewise.
18622 * hurd/hurd/ioctl.h: Likewise.
18623 * hurd/hurdmalloc.c: Likewise.
18624 * hurd/xattr.c: Likewise.
18625 * include/shlib-compat.h: Likewise.
18626 * inet/ruserpass.c: Likewise.
18627 * libio/iofgets_u.c: Likewise.
18628 * libio/iofgetws_u.c: Likewise.
18629 * locale/programs/ld-identification.c: Likewise.
18630 * locale/programs/ld-time.c: Likewise.
18631 * mach/msg-destroy.c: Likewise.
18632 * nss/nss_files/files-netgrp.c: Likewise.
18633 * resolv/res_data.c: Likewise.
18634 * soft-fp/op-1.h: Likewise.
18635 * soft-fp/op-2.h: Likewise.
18636 * soft-fp/op-4.h: Likewise.
18637 * soft-fp/op-common.h: Likewise.
18638 * stdio-common/printf_fphex.c: Likewise.
18639 * stdlib/strtod_l.c: Likewise.
18640 * sunrpc/rpc/clnt.h: Likewise.
18641 * sysdeps/generic/framestate.c: Likewise.
18642 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18643 * sysdeps/i386/bsd-setjmp.S: Likewise.
18644 * sysdeps/i386/__longjmp.S: Likewise.
18645 * sysdeps/i386/setjmp.S: Likewise.
18646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18648 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18651 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18656 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18657 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18658 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18659 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18664 * sysdeps/ieee754/support.c: Likewise.
18665 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18666 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18667 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18668 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18669 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18670 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18671 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18672 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18673 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18674 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18675 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18676 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18677 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18678 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18679 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18680 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18681 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18683
44a988af
OB
186842013-06-05 Ondřej Bílka <neleai@seznam.cz>
18685
25506f09 18686 * posix/transbug.c: Remove executable mode.
44a988af 18687
9c84384c
JM
186882013-06-05 Joseph Myers <joseph@codesourcery.com>
18689
18690 * crypt/speeds.c: Remove trailing whitespace.
18691 * dlfcn/default.c: Likewise.
18692 * elf/ifuncdep2.c: Likewise.
18693 * elf/ifuncmain1.c: Likewise.
18694 * elf/ifuncmain1vis.c: Likewise.
18695 * elf/testobj.h: Likewise.
18696 * elf/tst-stackguard1.c: Likewise.
18697 * gmon/sys/gmon.h: Likewise.
18698 * hurd/hurdmsg.c: Likewise.
18699 * hurd/new-fd.c: Likewise.
18700 * hurd/ports-get.c: Likewise.
18701 * iconvdata/ibm1008_420.c: Likewise.
18702 * inet/tst-getni1.c: Likewise.
18703 * inet/tst-getni2.c: Likewise.
18704 * libio/ioungetc.c: Likewise.
18705 * libio/wfiledoalloc.c: Likewise.
18706 * manual/libm-err-tab.pl: Likewise.
18707 * math/w_dremf.c: Likewise.
18708 * misc/ftruncate.c: Likewise.
18709 * posix/bug-glob2.c: Likewise.
18710 * posix/tst-pcre.c: Likewise.
18711 * posix/wait4.c: Likewise.
18712 * resolv/README: Likewise.
18713 * resolv/res_debug.h: Likewise.
18714 * resolv/tst-inet_ntop.c: Likewise.
18715 * setjmp/bug269-setjmp.c: Likewise.
18716 * soft-fp/extended.h: Likewise.
18717 * soft-fp/op-1.h: Likewise.
18718 * soft-fp/op-2.h: Likewise.
18719 * soft-fp/op-4.h: Likewise.
18720 * soft-fp/op-8.h: Likewise.
18721 * soft-fp/testit.c: Likewise.
18722 * stdio-common/bug16.c: Likewise.
18723 * stdlib/random.c: Likewise.
18724 * sunrpc/rpcsvc/rquota.x: Likewise.
18725 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18731 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18734 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18754 * sysdeps/ieee754/s_lib_version.c: Likewise.
18755 * sysdeps/mach/hurd/check_fds.c: Likewise.
18756 * sysdeps/mach/hurd/getsockname.c: Likewise.
18757 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18758 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18759 * sysdeps/powerpc/bits/link.h: Likewise.
18760 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18761 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18762 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18763 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18764 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18765 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18766 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18767 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18768 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18770 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18772 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18773 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18774 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18775 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18776 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18778 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18781 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18783 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18784 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18786 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18788 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18791 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18792 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18793 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18794 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18795 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18796 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18797 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18798 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18799 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18801 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18802 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18803 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18804 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18806 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18808 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18809 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18815 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18816 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18818 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18819 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18820 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18821 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18822 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18823 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18824 * sysdeps/powerpc/sysdep.h: Likewise.
18825 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18826 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18827 * sysdeps/sh/dl-trampoline.S: Likewise.
18828 * sysdeps/sh/memset.S: Likewise.
18829 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18830 * sysdeps/sh/strlen.S: Likewise.
18831 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18832 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18833 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18834 * sysdeps/sparc/sparc32/rem.S: Likewise.
18835 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18836 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18837 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18838 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18839 * sysdeps/sparc/sparc32/urem.S: Likewise.
18840 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18841 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18842 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18843 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18844 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18845 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18846 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18847 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18848 * sysdeps/unix/bsd/times.c: Likewise.
18849 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18850 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18857 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18858 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18859 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18860 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18861 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18862 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18865 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18866 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18867 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18868 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18869 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18870 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18871 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18874 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18875 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18877 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18878 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18879 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18880 * sysdeps/x86_64/strcspn.S: Likewise.
18881
869378a5
RA
188822013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18883
18884 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18885 generated file. Regenerate properly from gen-translit.pl.
18886 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18887 locale/C-translit.h.
18888
840e2943
AS
188892013-06-05 Andreas Schwab <schwab@suse.de>
18890
18891 [BZ #15100]
18892 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18893 week as 6 instead of -1.
18894 * time/tst-strptime.c (day_tests): Add test case.
18895
4c60cb0c
SP
188962013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18897
18898 * sysdeps/generic/math_private.h
18899 (libc_feholdexcept_setround_53bit): Replace with
18900 libc_feholdsetround_53bit.
18901 (libc_feupdateenv_53bit): Replace with
18902 libc_feresetround_53bit.
18903 (SET_RESTORE_ROUND_53BIT): Adjust.
18904
d180203e
SP
189052013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18906
96df079a
SP
18907 * string/test-strchrnul.c: Add copyright header.
18908
d180203e
SP
18909 * posix/tst-getaddrinfo4.c: Increase test timeout.
18910
8b0ccb2d
CD
189112013-06-03 Carlos O'Donell <carlos@redhat.com>
18912
18913 [BZ #15536]
18914 * math/libm-test.inc (MAX_EXP): Remove
18915 (MIN_EXP): Define.
18916 (ulp): Use MIN_EXP - MANT_DIG.
18917 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18918
3b3c4d40
CD
189192013-05-31 Carlos O'Donell <carlos@redhat.com>
18920
18921 * po/be.po: Revert last change.
18922 * po/zh_CN.po: Likewise.
18923 * po/header.pot: Likewise.
18924
fab7ce3f
JM
189252013-05-31 Joseph Myers <joseph@codesourcery.com>
18926
18927 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18928 link-libc-deps to empty as target-specific variable.
18929 * Makerules (link-libc-args): New variable.
18930 (libc-for-link): Likewise.
18931 (link-libc-deps): Likewise.
18932 (lib%.so): Depend on $(link-libc-deps). Link with
18933 $(link-libc-args).
18934 (build-module): Link with $(link-libc-args).
18935 (build-module-asneeded): Likewise.
18936 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18937 list of objects.
18938 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18939 target-specific variable.
18940 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18941 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18942 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18943 libc.
18944 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18945 libc and ld.so.
18946 ($(objpfx)libpcprofile.so): Likewise.
18947 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18948 libc_nonshared.a.
18949 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18950 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18951 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18952 $(link-libc-deps).
18953 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18954 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18955 * login/Makefile ($(objpfx)libutil.so): Likewise.
18956 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18957 * math/Makefile ($(objpfx)libm.so): Likewise.
18958 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18959 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18960 variable instead of depending directly on libc.
18961 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18962 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18963 $(link-libc-deps).
18964 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18965 libc.
18966 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18967 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18968 ($(objpfx)libanl.so): Likewise.
18969 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18970 ld.so.
18971 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18972 $(link-libc-deps).
18973 * sysdeps/i386/fpu/Makefile: Remove file.
18974 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18975 ($(objpfx)libm.so): Remove dependency on ld.so.
18976
eca5920c
PF
189772013-05-30 Patsy Franklin <pfrankli@redhat.com>
18978
18979 [BZ # 15553]
18980 * nis/yp_xdr.c (XDRMAXNAME): Define.
18981 (XDRMAXRECORD): Define.
18982 (xdr_domainname): Use XDRMAXNAME.
18983 (xdr_mapname): Likewise.
18984 (xdr_peername): Likewise.
18985 (xdr_keydat): Use XDRMAXRECORD.
18986 (xdr_valdat): Likewise.
18987
189882013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18989
18990 [BZ #14256]
18991 * manual/errno.texi (ESTALE): Update to account for more than
18992 just NFS file systems.
18993 * sysdeps/gnu/errlist.c: Regenerated.
18994
b9375348
SP
189952013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18996
18997 [BZ #15465]
18998 * elf/Makefile (tests): Add tst-null-argv.
18999 (modules-names): Add tst-null-argv-lib.
19000 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19001 (tst-null-argv-ENV): Set environment for tst-null-argv.
19002 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19003 (RTLD_PROGNAME): New macro.
19004 * elf/tst-null-argv.c: New test case.
19005 * elf/tst-null-argv-lib.c: Library for test case.
19006 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19007 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19008 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19009 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19010 * elf/dl-init.c (call_init): Likewise.
19011 (_dl_init): Likewise.
19012 * elf/dl-load.c (print_search_path): Likewise.
19013 (_dl_map_object): Likewise.
19014 * elf/dl-lookup.c (do_lookup_x): Likewise.
19015 (add_dependency): Likewise.
19016 (_dl_lookup_symbol_x): Likewise.
19017 (_dl_debug_bindings): Likewise.
19018 * elf/dl-open.c (_dl_show_scope): Likewise.
19019 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19020 * elf/dl-version.c (match_symbol): Likewise.
19021 (_dl_check_map_versions): Likewise.
19022 * elf/rtld.c (dl_main): Likewise.
19023 (print_unresolved): Use RTLD_PROGNAME.
19024 (print_missing_version): Likewise.
19025 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19026 (elf_machine_rela): Likewise.
19027 * sysdeps/powerpc/powerpc32/dl-machine.c
19028 (__process_machine_rela): Likewise.
19029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19030 Likewise.
19031 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19032 Likewise.
19033 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19034 Likewise.
19035 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19036 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19037 Likewise.
19038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19039 Likewise.
19040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19041
8a9f20c8
CD
190422013-05-28 Carlos O'Donell <carlos@redhat.com>
19043
19044 * po/be.po: Add descriptive title.
19045 * po/zh_CN.po: Likewise.
19046 * po/header.pot: Likewise.
19047
0e60d68e
MF
190482013-05-28 Mike Frysinger <vapier@gentoo.org>
19049
19050 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19051 error message.
19052 (enlarge_archive): Likewise.
19053
56b672e9
BN
190542013-05-28 Ben North <ben@redfrontdoor.org>
19055
19056 * manual/arith.texi (frexp): It is the magnitude of the return
19057 value which lies in [0.5, 1), not the return value itself.
19058
5e056687
AZ
190592013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19060
19061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19062
2b66ef5d
TS
190632013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19064
528c2405
TS
19065 * stdio-common/bug26.c (main): Correct fscanf template.
19066
07b4c13d
TS
19067 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19068 declare _dl_skip_args.
19069
ec9dd97c
TS
19070 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19071 Don't declare.
19072
2b66ef5d
TS
19073 * manual/platform.texi: Add missing @end deftypefun.
19074
4f8dfe27
JM
190752013-05-24 Joseph Myers <joseph@codesourcery.com>
19076
0323d086
JM
19077 [BZ #15529]
19078 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19079 bit of mantissa of 2^16382.
19080 * math/libm-test.inc (hypot_test_data): Add more tests.
19081
dd4259b9
JM
19082 * math/libm-test.inc: Add drem and pow10 to list of tested
19083 functions.
19084 (pow10_test): New function.
19085 (drem_test): Likewise.
19086 (drem_test_tonearest): Likewise.
19087 (drem_test_towardzero): Likewise.
19088 (drem_test_downward): Likewise.
19089 (drem_test_upward): Likewise.
19090 (main): Call the new functions.
19091
4f8dfe27
JM
19092 * math/libm-test.inc (finite_test_data): Remove.
19093 (finite_test): Run tests from isfinite_test_data.
19094 (gamma_test_data): Remove.
19095 (gamma_test): Run tests from lgamma_test_data.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098
d116b7c4
AZ
190992013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19100
19101 * manual/platform.texi: Add PowerPC PPR function set documentation.
19102 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19103 implementation.
19104
e96e3767
CD
191052013-05-24 Carlos O'Donell <carlos@redhat.com>
19106
19107 * math/libm-test.inc (MAX_EXP): Define.
19108 (ULPDIFF): Define.
19109 (ulp): New function.
19110 (check_float_internal): Use ULPDIFF.
19111 (cpow_test): Disable failing test.
19112 (check_ulp): Test ulp() implemetnation.
19113 (main): Call check_ulp before starting tests.
19114
b679a606
JM
191152013-05-24 Joseph Myers <joseph@codesourcery.com>
19116
e8bdba36
JM
19117 * math/gen-libm-test.pl (generate_testfile): Do not handle
19118 START_DATA and END_DATA.
19119 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19120 END_DATA.
19121 (acos_tonearest_test_data): Likewise.
19122 (acos_towardzero_test_data): Likewise.
19123 (acos_downward_test_data): Likewise.
19124 (acos_upward_test_data): Likewise.
19125 (acosh_test_data): Likewise.
19126 (asin_test_data): Likewise.
19127 (asin_tonearest_test_data): Likewise.
19128 (asin_towardzero_test_data): Likewise.
19129 (asin_downward_test_data): Likewise.
19130 (asin_upward_test_data): Likewise.
19131 (asinh_test_data): Likewise.
19132 (atan_test_data): Likewise.
19133 (atanh_test_data): Likewise.
19134 (atan2_test_data): Likewise.
19135 (cabs_test_data): Likewise.
19136 (cacos_test_data): Likewise.
19137 (cacosh_test_data): Likewise.
19138 (carg_test_data): Likewise.
19139 (casin_test_data): Likewise.
19140 (casinh_test_data): Likewise.
19141 (catan_test_data): Likewise.
19142 (catanh_test_data): Likewise.
19143 (cbrt_test_data): Likewise.
19144 (ccos_test_data): Likewise.
19145 (ccosh_test_data): Likewise.
19146 (ceil_test_data): Likewise.
19147 (cexp_test_data): Likewise.
19148 (cimag_test_data): Likewise.
19149 (clog_test_data): Likewise.
19150 (clog10_test_data): Likewise.
19151 (conj_test_data): Likewise.
19152 (copysign_test_data): Likewise.
19153 (cos_test_data): Likewise.
19154 (cos_tonearest_test_data): Likewise.
19155 (cos_towardzero_test_data): Likewise.
19156 (cos_downward_test_data): Likewise.
19157 (cos_upward_test_data): Likewise.
19158 (cosh_test_data): Likewise.
19159 (cosh_tonearest_test_data): Likewise.
19160 (cosh_towardzero_test_data): Likewise.
19161 (cosh_downward_test_data): Likewise.
19162 (cosh_upward_test_data): Likewise.
19163 (cpow_test_data): Likewise.
19164 (cproj_test_data): Likewise.
19165 (creal_test_data): Likewise.
19166 (csin_test_data): Likewise.
19167 (csinh_test_data): Likewise.
19168 (csqrt_test_data): Likewise.
19169 (ctan_test_data): Likewise.
19170 (ctan_tonearest_test_data): Likewise.
19171 (ctan_towardzero_test_data): Likewise.
19172 (ctan_downward_test_data): Likewise.
19173 (ctan_upward_test_data): Likewise.
19174 (ctanh_test_data): Likewise.
19175 (ctanh_tonearest_test_data): Likewise.
19176 (ctanh_towardzero_test_data): Likewise.
19177 (ctanh_downward_test_data): Likewise.
19178 (ctanh_upward_test_data): Likewise.
19179 (erf_test_data): Likewise.
19180 (erfc_test_data): Likewise.
19181 (exp_test_data): Likewise.
19182 (exp_tonearest_test_data): Likewise.
19183 (exp_towardzero_test_data): Likewise.
19184 (exp_downward_test_data): Likewise.
19185 (exp_upward_test_data): Likewise.
19186 (exp10_test_data): Likewise.
19187 (exp2_test_data): Likewise.
19188 (expm1_test_data): Likewise.
19189 (fabs_test_data): Likewise.
19190 (fdim_test_data): Likewise.
19191 (finite_test_data): Likewise.
19192 (floor_test_data): Likewise.
19193 (fma_test_data): Likewise.
19194 (fma_towardzero_test_data): Likewise.
19195 (fma_downward_test_data): Likewise.
19196 (fma_upward_test_data): Likewise.
19197 (fmax_test_data): Likewise.
19198 (fmin_test_data): Likewise.
19199 (fmod_test_data): Likewise.
19200 (fpclassify_test_data): Likewise.
19201 (frexp_test_data): Likewise.
19202 (gamma_test_data): Likewise.
19203 (hypot_test_data): Likewise.
19204 (ilogb_test_data): Likewise.
19205 (isfinite_test_data): Likewise.
19206 (isgreater_test_data): Likewise.
19207 (isgreaterequal_test_data): Likewise.
19208 (isinf_test_data): Likewise.
19209 (isless_test_data): Likewise.
19210 (islessequal_test_data): Likewise.
19211 (islessgreater_test_data): Likewise.
19212 (isnan_test_data): Likewise.
19213 (isnormal_test_data): Likewise.
19214 (issignaling_test_data): Likewise.
19215 (isunordered_test_data): Likewise.
19216 (j0_test_data): Likewise.
19217 (j1_test_data): Likewise.
19218 (jn_test_data): Likewise.
19219 (ldexp_test_data): Likewise.
19220 (lgamma_test_data): Likewise.
19221 (lrint_test_data): Likewise.
19222 (lrint_tonearest_test_data): Likewise.
19223 (lrint_towardzero_test_data): Likewise.
19224 (lrint_downward_test_data): Likewise.
19225 (lrint_upward_test_data): Likewise.
19226 (llrint_test_data): Likewise.
19227 (llrint_tonearest_test_data): Likewise.
19228 (llrint_towardzero_test_data): Likewise.
19229 (llrint_downward_test_data): Likewise.
19230 (llrint_upward_test_data): Likewise.
19231 (log_test_data): Likewise.
19232 (log10_test_data): Likewise.
19233 (log1p_test_data): Likewise.
19234 (log2_test_data): Likewise.
19235 (logb_test_data): Likewise.
19236 (logb_downward_test_data): Likewise.
19237 (lround_test_data): Likewise.
19238 (llround_test_data): Likewise.
19239 (modf_test_data): Likewise.
19240 (nearbyint_test_data): Likewise.
19241 (nextafter_test_data): Likewise.
19242 (nexttoward_test_data): Likewise.
19243 (pow_test_data): Likewise.
19244 (pow_tonearest_test_data): Likewise.
19245 (pow_towardzero_test_data): Likewise.
19246 (pow_downward_test_data): Likewise.
19247 (pow_upward_test_data): Likewise.
19248 (remainder_test_data): Likewise.
19249 (remainder_tonearest_test_data): Likewise.
19250 (remainder_towardzero_test_data): Likewise.
19251 (remainder_downward_test_data): Likewise.
19252 (remainder_upward_test_data): Likewise.
19253 (remquo_test_data): Likewise.
19254 (rint_test_data): Likewise.
19255 (rint_tonearest_test_data): Likewise.
19256 (rint_towardzero_test_data): Likewise.
19257 (rint_downward_test_data): Likewise.
19258 (rint_upward_test_data): Likewise.
19259 (round_test_data): Likewise.
19260 (scalb_test_data): Likewise.
19261 (scalbn_test_data): Likewise.
19262 (scalbln_test_data): Likewise.
19263 (signbit_test_data): Likewise.
19264 (sin_test_data): Likewise.
19265 (sin_tonearest_test_data): Likewise.
19266 (sin_towardzero_test_data): Likewise.
19267 (sin_downward_test_data): Likewise.
19268 (sin_upward_test_data): Likewise.
19269 (sincos_test_data): Likewise.
19270 (sinh_test_data): Likewise.
19271 (sinh_tonearest_test_data): Likewise.
19272 (sinh_towardzero_test_data): Likewise.
19273 (sinh_downward_test_data): Likewise.
19274 (sinh_upward_test_data): Likewise.
19275 (sqrt_test_data): Likewise.
19276 (tan_test_data): Likewise.
19277 (tan_tonearest_test_data): Likewise.
19278 (tan_towardzero_test_data): Likewise.
19279 (tan_downward_test_data): Likewise.
19280 (tan_upward_test_data): Likewise.
19281 (tanh_test_data): Likewise.
19282 (tgamma_test_data): Likewise.
19283 (trunc_test_data): Likewise.
19284 (y0_test_data): Likewise.
19285 (y1_test_data): Likewise.
19286 (yn_test_data): Likewise.
19287 (significand_test_data): Likewise.
19288
b679a606
JM
19289 * math/gen-libm-test.pl (@functions): Remove variable.
19290 (generate_testfile): Don't handle START and END lines.
19291 * math/libm-test.inc (START): New macro.
19292 (END): Likewise.
19293 (END_COMPLEX): Likewise.
19294 (acos_test): Use END macro without arguments.
19295 (acos_test_tonearest): Likewise.
19296 (acos_test_towardzero): Likewise.
19297 (acos_test_downward): Likewise.
19298 (acos_test_upward): Likewise.
19299 (acosh_test): Likewise.
19300 (asin_test): Likewise.
19301 (asin_test_tonearest): Likewise.
19302 (asin_test_towardzero): Likewise.
19303 (asin_test_downward): Likewise.
19304 (asin_test_upward): Likewise.
19305 (asinh_test): Likewise.
19306 (atan_test): Likewise.
19307 (atanh_test): Likewise.
19308 (atan2_test): Likewise.
19309 (cabs_test): Likewise.
19310 (cacos_test): Use END_COMPLEX macro without arguments.
19311 (cacosh_test): Likewise.
19312 (carg_test): Use END macro without arguments.
19313 (casin_test): Use END_COMPLEX macro without arguments.
19314 (casinh_test): Likewise.
19315 (catan_test): Likewise.
19316 (catanh_test): Likewise.
19317 (cbrt_test): Use END macro without arguments.
19318 (ccos_test): Use END_COMPLEX macro without arguments.
19319 (ccosh_test): Likewise.
19320 (ceil_test): Use END macro without arguments.
19321 (cexp_test): Use END_COMPLEX macro without arguments.
19322 (cimag_test): Use END macro without arguments.
19323 (clog_test): Use END_COMPLEX macro without arguments.
19324 (clog10_test): Likewise.
19325 (conj_test): Likewise.
19326 (copysign_test): Use END macro without arguments.
19327 (cos_test): Likewise.
19328 (cos_test_tonearest): Likewise.
19329 (cos_test_towardzero): Likewise.
19330 (cos_test_downward): Likewise.
19331 (cos_test_upward): Likewise.
19332 (cosh_test): Likewise.
19333 (cosh_test_tonearest): Likewise.
19334 (cosh_test_towardzero): Likewise.
19335 (cosh_test_downward): Likewise.
19336 (cosh_test_upward): Likewise.
19337 (cpow_test): Use END_COMPLEX macro without arguments.
19338 (cproj_test): Likewise.
19339 (creal_test): Use END macro without arguments.
19340 (csin_test): Use END_COMPLEX macro without arguments.
19341 (csinh_test): Likewise.
19342 (csqrt_test): Likewise.
19343 (ctan_test): Likewise.
19344 (ctan_test_tonearest): Likewise.
19345 (ctan_test_towardzero): Likewise.
19346 (ctan_test_downward): Likewise.
19347 (ctan_test_upward): Likewise.
19348 (ctanh_test): Likewise.
19349 (ctanh_test_tonearest): Likewise.
19350 (ctanh_test_towardzero): Likewise.
19351 (ctanh_test_downward): Likewise.
19352 (ctanh_test_upward): Likewise.
19353 (erf_test): Use END macro without arguments.
19354 (erfc_test): Likewise.
19355 (exp_test): Likewise.
19356 (exp_test_tonearest): Likewise.
19357 (exp_test_towardzero): Likewise.
19358 (exp_test_downward): Likewise.
19359 (exp_test_upward): Likewise.
19360 (exp10_test): Likewise.
19361 (exp2_test): Likewise.
19362 (expm1_test): Likewise.
19363 (fabs_test): Likewise.
19364 (fdim_test): Likewise.
19365 (finite_test): Likewise.
19366 (floor_test): Likewise.
19367 (fma_test): Likewise.
19368 (fma_test_towardzero): Likewise.
19369 (fma_test_downward): Likewise.
19370 (fma_test_upward): Likewise.
19371 (fmax_test): Likewise.
19372 (fmin_test): Likewise.
19373 (fmod_test): Likewise.
19374 (fpclassify_test): Likewise.
19375 (frexp_test): Likewise.
19376 (gamma_test): Likewise.
19377 (hypot_test): Likewise.
19378 (ilogb_test): Likewise.
19379 (isfinite_test): Likewise.
19380 (isgreater_test): Likewise.
19381 (isgreaterequal_test): Likewise.
19382 (isinf_test): Likewise.
19383 (isless_test): Likewise.
19384 (islessequal_test): Likewise.
19385 (islessgreater_test): Likewise.
19386 (isnan_test): Likewise.
19387 (isnormal_test): Likewise.
19388 (issignaling_test): Likewise.
19389 (isunordered_test): Likewise.
19390 (j0_test): Likewise.
19391 (j1_test): Likewise.
19392 (jn_test): Likewise.
19393 (ldexp_test): Likewise.
19394 (lgamma_test): Likewise.
19395 (lrint_test): Likewise.
19396 (lrint_test_tonearest): Likewise.
19397 (lrint_test_towardzero): Likewise.
19398 (lrint_test_downward): Likewise.
19399 (lrint_test_upward): Likewise.
19400 (llrint_test): Likewise.
19401 (llrint_test_tonearest): Likewise.
19402 (llrint_test_towardzero): Likewise.
19403 (llrint_test_downward): Likewise.
19404 (llrint_test_upward): Likewise.
19405 (log_test): Likewise.
19406 (log10_test): Likewise.
19407 (log1p_test): Likewise.
19408 (log2_test): Likewise.
19409 (logb_test): Likewise.
19410 (logb_test_downward): Likewise.
19411 (lround_test): Likewise.
19412 (llround_test): Likewise.
19413 (modf_test): Likewise.
19414 (nearbyint_test): Likewise.
19415 (nextafter_test): Likewise.
19416 (nexttoward_test): Likewise.
19417 (pow_test): Likewise.
19418 (pow_test_tonearest): Likewise.
19419 (pow_test_towardzero): Likewise.
19420 (pow_test_downward): Likewise.
19421 (pow_test_upward): Likewise.
19422 (remainder_test): Likewise.
19423 (remainder_test_tonearest): Likewise.
19424 (remainder_test_towardzero): Likewise.
19425 (remainder_test_downward): Likewise.
19426 (remainder_test_upward): Likewise.
19427 (remquo_test): Likewise.
19428 (rint_test): Likewise.
19429 (rint_test_tonearest): Likewise.
19430 (rint_test_towardzero): Likewise.
19431 (rint_test_downward): Likewise.
19432 (rint_test_upward): Likewise.
19433 (round_test): Likewise.
19434 (scalb_test): Likewise.
19435 (scalbn_test): Likewise.
19436 (scalbln_test): Likewise.
19437 (signbit_test): Likewise.
19438 (sin_test): Likewise.
19439 (sin_test_tonearest): Likewise.
19440 (sin_test_towardzero): Likewise.
19441 (sin_test_downward): Likewise.
19442 (sin_test_upward): Likewise.
19443 (sincos_test): Likewise.
19444 (sinh_test): Likewise.
19445 (sinh_test_tonearest): Likewise.
19446 (sinh_test_towardzero): Likewise.
19447 (sinh_test_downward): Likewise.
19448 (sinh_test_upward): Likewise.
19449 (sqrt_test): Likewise.
19450 (tan_test): Likewise.
19451 (tan_test_tonearest): Likewise.
19452 (tan_test_towardzero): Likewise.
19453 (tan_test_downward): Likewise.
19454 (tan_test_upward): Likewise.
19455 (tanh_test): Likewise.
19456 (tgamma_test): Likewise.
19457 (trunc_test): Likewise.
19458 (y0_test): Likewise.
19459 (y1_test): Likewise.
19460 (yn_test): Likewise.
19461 (significand_test): Likewise.
19462
bae143d2
OB
194632013-05-24 Ondřej Bílka <neleai@seznam.cz>
19464
19465 [BZ #15381]
19466 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19467
9323d39b
EM
194682013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19469
d4ea44a0 19470 [BZ #14894]
9323d39b
EM
19471 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19472 __ppc_mdoio and __ppc_mdoom.
19473 * manual/platform.texi: Document new functions __ppc_yield,
19474 __ppc_mdoio and __ppc_mdoom.
19475
13e23af7
CD
194762013-05-22 Carlos O'Donell <carlos@redhat.com>
19477
19478 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19479 (main): Mention "tls" pseudo-hwcap is legacy.
19480 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19481
351fe550
JM
194822013-05-22 Joseph Myers <joseph@codesourcery.com>
19483
19484 * math/gen-libm-test.pl (parse_args): Output only string of
19485 arguments as text for test name, not full call or descriptions of
19486 tests for extra outputs.
19487 (generate_testfile): Do not pass function name to parse_args.
19488 Generate this_func variable from START.
19489 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19490 field to arg_str.
19491 (struct test_ff_f_data): Likewise.
19492 (test_ff_f_data_nexttoward): Likewise.
19493 (struct test_fi_f_data): Likewise.
19494 (struct test_fl_f_data): Likewise.
19495 (struct test_if_f_data): Likewise.
19496 (struct test_fff_f_data): Likewise.
19497 (struct test_c_f_data): Likewise.
19498 (struct test_f_f1_data): Likewise. Remove field extra_name.
19499 (struct test_fF_f1_data): Likewise.
19500 (struct test_ffI_f1_data): Likewise.
19501 (struct test_c_c_data): Rename test_name field to arg_str.
19502 (struct test_cc_c_data): Likewise.
19503 (struct test_f_i_data): Likewise.
19504 (struct test_ff_i_data): Likewise.
19505 (struct test_f_l_data): Likewise.
19506 (struct test_f_L_data): Likewise.
19507 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19508 and extra2_name.
19509 (COMMON_TEST_SETUP): New macro.
19510 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19511 (COMMON_TEST_CLEANUP): Likewise.
19512 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19513 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19514 macros.
19515 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19516 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19517 macros.
19518 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19519 (RUN_TEST_fff_f): Take argument string. Call new setup and
19520 cleanup macros.
19521 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19522 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19523 macros.
19524 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19525 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19526 macros.
19527 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19528 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19529 cleanup macros.
19530 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19531 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19532 cleanup macros.
19533 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19534 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19535 cleanup macros.
19536 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19537 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19538 macros.
19539 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19540 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19541 macros.
19542 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19543 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19544 macros.
19545 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19546 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19547 cleanup macros.
19548 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19549 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19550 cleanup macros.
19551 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19552 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19553 macros.
19554 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19555 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19556 cleanup macros.
19557 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19558 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19559 macros.
19560 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19561 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19562 macros.
19563 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19564 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19565 cleanup macros.
19566 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19567
85118d4d
EBM
195682013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19569
19570 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19571 to _sifields.sigfault.
19572 (si_addr_lsb): Define new macro.
19573 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19575 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19576
7a44c18f
CD
195772013-05-03 Carlos O'Donell <carlos at redhat.com>
19578
19579 [BZ #15441]
19580 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19581 returns -1.
19582 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19583 null return -1.
19584 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19585 loading the domain.
19586
b50a7181
JM
195872013-05-22 Joseph Myers <joseph@codesourcery.com>
19588
19589 * math/gen-libm-test.pl (parse_args): Do not include expected
19590 result in test name.
19591 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19593 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19594 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19595 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19597
051063c8
SP
195982013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19599
3ce9e010
SP
19600 * benchtests/Makefile: Sort function entries.
19601
051063c8
SP
19602 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19603 tanh, asinh, acosh, atanh.
19604 * benchtests/acos-inputs: New file.
19605 * benchtests/acosh-inputs: New file.
19606 * benchtests/asin-inputs: New file.
19607 * benchtests/asinh-inputs: New file.
19608 * benchtests/atanh-inputs: New file.
19609 * benchtests/cosh-inputs: New file.
19610 * benchtests/log-inputs: New file.
19611 * benchtests/sinh-inputs: New file.
19612 * benchtests/tanh-inputs: New file.
19613
47c22455
DL
196142013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19615
19616 [BZ #15339]
19617 * posix/tst-getaddrinfo4.c: New test.
19618 * posix/Makefile (tests): Add it.
19619
3d04f5db
SP
196202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19621
19622 [BZ #15339]
19623 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19624 when no services were used.
19625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19626 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19627
d5dd6189
AS
196282013-05-21 Andreas Schwab <schwab@suse.de>
19629
19630 [BZ #15014]
19631 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19632 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19633 successful.
19634 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19635 redundant variable declarations and reallocation of buffer when
19636 parsing as IPv6 address. Always set NSS status when called from
19637 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19638 buffer too small. Correct computation of needed size.
19639 * nss/Makefile (tests): Add test-digits-dots.
19640 * nss/test-digits-dots.c: New test.
19641
fef94eab
SP
196422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
19644 * benchtests/Makefile: Remove instructions for adding
19645 benchmark tests.
19646 * benchtests/README: New file to explain how to execute and
19647 enhance the benchmark tests.
19648
e39adf43
AS
196492013-05-21 Andreas Schwab <schwab@suse.de>
19650
19651 [BZ #15493]
19652 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19653 * setjmp/tst-sigsetjmp.c: New test.
19654
b2b671b6
OB
196552013-05-20 Ondřej Bílka <neleai@seznam.cz>
19656
19657 * sysdeps/x86_64/memset.S (memset): New implementation.
19658 (__bzero): Likewise.
19659 (__memset_tail): New function.
19660
2d48b41c
OB
196612013-05-20 Ondřej Bílka <neleai@seznam.cz>
19662
19663 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19664 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19665 __memcpy_sse2_unaligned ifunc selection.
19666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19667 Add memcpy-sse2-unaligned.S.
19668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19669 Add: __memcpy_sse2_unaligned.
19670
f16cc3eb
JM
196712013-05-19 Joseph Myers <joseph@codesourcery.com>
19672
3e694268
JM
19673 [BZ #15490]
19674 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19675 math_force_eval before restoring floating-point envrionment.
19676 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19677 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19678 Likewise.
19679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19680 <math_private.h>.
19681 (__nearbyintl): Use math_force_eval before restoring
19682 floating-point environment.
19683 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19684
db62a907
JM
19685 * math/gen-libm-test.pl (special_functions): Remove.
19686 (parse_args): Don't handle TEST_extra. Handle functions with no
19687 return value.
19688 * math/libm-test.inc (struct test_sincos_data): Replace with
19689 struct test_fFF_11_data.
19690 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19691 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19692 (sincos_test_data): Change element type to struct
19693 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19694 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19695 RUN_TEST_LOOP_sincos.
19696 * math/README.libm-test: Don't mention special handling of
19697 individual functions.
19698 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19699 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19700 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19701 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19702 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19704
f16cc3eb
JM
19705 * math/gen-libm-test.pl (get_variable): Remove function.
19706 (parse_args): Don't show pointer parameters to call in test
19707 names. Use "extra output N" in test names for extra outputs
19708 rather than naming variables.
19709
3779b5b6
JM
197102013-05-18 Joseph Myers <joseph@codesourcery.com>
19711
2ee094ff
JM
19712 [BZ #15488]
19713 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19714 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19715 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19716 double tests.
19717 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19718 disable.
19719 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19720 check_long_double.
19721
3779b5b6
JM
19722 * math/gen-libm-test.pl (@tests): Remove variable.
19723 ($count): Likewise.
19724 (new_test): Remove function.
19725 (show_exceptions): New function.
19726 (special_functions): Use show_exceptions instead of new_test.
19727 (parse_args): Likewise.
19728 (generate_testfile): Pass only function name in generated call to
19729 print_max_error or print_complex_max_error.
19730 (get_ulps): Do not handle complex tests specially.
19731 (output_test): Rename to ...
19732 (get_all_ulps_for_test): ... this. Return a string rather than
19733 printing to a file. Require ulps to be present.
19734 (output_ulps): Generate arrays rather than #defines.
19735 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19736 (struct ulp_data): New type.
19737 (BUILD_COMPLEX_ULP): Remove macro.
19738 (compare_ulp_data): New function.
19739 (find_ulps): Likewise.
19740 (find_test_ulps): Likewise.
19741 (find_function_ulps): Likewise.
19742 (find_complex_function_ulps): Likewise.
19743 (print_max_error): Determine allowed ulps using
19744 find_function_ulps.
19745 (print_complex_max_error): Determine allowed ulps using
19746 find_complex_function_ulps.
19747 (check_float_internal): Determine max ulps using find_test_ulps.
19748 (check_float): Do not take max_ulp parameter. Update call to
19749 check_float_internal.
19750 (check_complex): Likewise.
19751 (check_int): Do not take max_ulp parameter.
19752 (check_long): Likewise.
19753 (check_bool): Likewise.
19754 (check_longlong): Likewise.
19755 (struct test_f_f_data): Remove max_ulp field.
19756 (struct test_ff_f_data): Likewise.
19757 (struct test_ff_f_data_nexttoward): Likewise.
19758 (struct test_fi_f_data): Likewise.
19759 (struct test_fl_f_data): Likewise.
19760 (struct test_if_f_data): Likewise.
19761 (struct test_fff_f_data): Likewise.
19762 (struct test_c_f_data): Likewise.
19763 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19764 (struct test_fF_f1_data): Likewise.
19765 (struct test_ffI_f1_data): Likewise.
19766 (struct test_c_c_data): Remove max_ulp field.
19767 (struct test_cc_c_data): Likewise.
19768 (struct test_f_i_data): Likewise.
19769 (struct test_ff_i_data): Likewise.
19770 (struct test_f_l_data): Likewise.
19771 (struct test_f_L_data): Likewise.
19772 (struct test_sincos_data): Likewise.
19773 (RUN_TEST_f_f): Do not handle ulps.
19774 (RUN_TEST_LOOP_f_f): Likewise.
19775 (RUN_TEST_2_f): Likewise.
19776 (RUN_TEST_LOOP_2_f): Likewise.
19777 (RUN_TEST_fff_f): Likewise.
19778 (RUN_TEST_LOOP_fff_f): Likewise.
19779 (RUN_TEST_c_f): Likewise.
19780 (RUN_TEST_LOOP_c_f): Likewise.
19781 (RUN_TEST_f_f1): Likewise.
19782 (RUN_TEST_LOOP_f_f1): Likewise.
19783 (RUN_TEST_fF_f1): Likewise.
19784 (RUN_TEST_LOOP_fF_f1): Likewise.
19785 (RUN_TEST_fI_f1): Likewise.
19786 (RUN_TEST_LOOP_fI_f1): Likewise.
19787 (RUN_TEST_ffI_f1): Likewise.
19788 (RUN_TEST_LOOP_ffI_f1): Likewise.
19789 (RUN_TEST_c_c): Likewise.
19790 (RUN_TEST_LOOP_c_c): Likewise.
19791 (RUN_TEST_cc_c): Likewise.
19792 (RUN_TEST_LOOP_cc_c): Likewise.
19793 (RUN_TEST_f_i): Likewise.
19794 (RUN_TEST_LOOP_f_i): Likewise.
19795 (RUN_TEST_f_i_tg): Likewise.
19796 (RUN_TEST_LOOP_f_i_tg): Likewise.
19797 (RUN_TEST_ff_i_tg): Likewise.
19798 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19799 (RUN_TEST_f_b): Likewise.
19800 (RUN_TEST_LOOP_f_b): Likewise.
19801 (RUN_TEST_f_b_tg): Likewise.
19802 (RUN_TEST_LOOP_f_b_tg): Likewise.
19803 (RUN_TEST_f_l): Likewise.
19804 (RUN_TEST_LOOP_f_l): Likewise.
19805 (RUN_TEST_f_L): Likewise.
19806 (RUN_TEST_LOOP_f_L): Likewise.
19807 (RUN_TEST_sincos): Likewise.
19808 (RUN_TEST_LOOP_sincos): Likewise.
19809
8269107f
JM
198102013-05-17 Joseph Myers <joseph@codesourcery.com>
19811
bb38759d
JM
19812 [BZ #15480]
19813 [BZ #15485]
19814 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19815 main case of finite arguments, set rounding mode to FE_TONEAREST
19816 and discard exceptions.
19817 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19818 exceptions.
19819 (remainder_tonearest_test_data): New variable.
19820 (remainder_test_tonearest): New function.
19821 (remainder_towardzero_test_data): New variable.
19822 (remainder_test_towardzero): New function.
19823 (remainder_downward_test_data): New variable.
19824 (remainder_test_downward): New function.
19825 (remainder_upward_test_data): New variable.
19826 (remainder_test_upward): New function.
19827 (main): Call the new test functions.
19828
a00bdcf0
JM
19829 * math/libm-test.inc (struct test_f_f1_data): Remove field
19830 extra_init.
19831 (struct test_fF_f1_data): Likewise.
19832 (struct test_ffI_f1_data): Likewise.
19833 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19834 based on value of EXTRA_EXPECTED.
19835 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19836 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19837 EXTRA_VAR based on value of EXTRA_EXPECTED.
19838 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19839 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19840 EXTRA_VAR based on value of EXTRA_EXPECTED.
19841 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19842 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19843 EXTRA_VAR based on value of EXTRA_EXPECTED.
19844 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19845 * math/gen-libm-test.pl (parse_args): Don't output initializers
19846 for extra output values.
19847
de407f79
JM
19848 * math/libm-test.inc (check_int): Expect result to be exactly
19849 equal to expected value and do not handle ulps.
19850 (check_long): Likewise.
19851 (check_longlong): Likewise.
19852
8269107f
JM
19853 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19854 exceptions.
19855 (cimag_test_data): Likewise.
19856 (conj_test_data): Likewise.
19857 (copysign_test_data): Likewise.
19858 (cproj_test_data): Likewise.
19859 (creal_test_data): Likewise.
19860 (fabs_test_data): Likewise.
19861 (fdim_test_data): Likewise.
19862 (finite_test_data): Likewise.
19863 (floor_test_data): Likewise.
19864 (fmax_test_data): Likewise.
19865 (fmin_test_data): Likewise.
19866 (fmod_test_data): Likewise.
19867 (fpclassify_test_data): Likewise.
19868 (frexp_test_data): Likewise.
19869 (ilogb_test_data): Likewise.
19870 (isfinite_test_data): Likewise.
19871 (isgreater_test_data): Likewise.
19872 (isgreaterequal_test_data): Likewise.
19873 (isinf_test_data): Likewise.
19874 (isless_test_data): Likewise.
19875 (islessequal_test_data): Likewise.
19876 (islessgreater_test_data): Likewise.
19877 (isnan_test_data): Likewise.
19878 (isnormal_test_data): Likewise.
19879 (issignaling_test_data): Likewise.
19880 (isunordered_test_data): Likewise.
19881 (ldexp_test_data): Likewise.
19882 (lrint_test_data): Likewise.
19883 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19884 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19885 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19886 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19887 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19888 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19889 test input.
19890 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19891 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19892 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19893 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19894 that test input.
19895 (lrint_downward_test_data): Test for "inexact" exceptions.
19896 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19897 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19898 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19899 test input.
19900 (lrint_upward_test_data): Test for "inexact" exceptions.
19901 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19902 test input.
19903 (llrint_test_data): Test for "inexact" exceptions.
19904 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19905 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19906 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19907 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19908 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19909 (llrint_downward_test_data): Test for "inexact" exceptions.
19910 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19911 (llrint_upward_test_data): Test for "inexact" exceptions.
19912 (logb_test_data): Likewise.
19913 (logb_downward_test_data): Likewise.
19914 (nextafter_test_data): Likewise.
19915 (nexttoward_test_data): Likewise.
19916 (remainder_test_data): Likewise.
19917 (remquo_test_data): Likewise.
19918 (scalbn_test_data): Likewise.
19919 (scalbln_test_data): Likewise.
19920 (signbit_test_data): Likewise.
19921 (sqrt_test_data): Likewise.
19922 (significand_test_data): Likewise.
19923
48a18de1
SP
199242013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19925
19926 [BZ #15424]
19927 * benchtests/bench-modf.c (struct args): Mark arg0 as
19928 volatile.
19929 * scripts/bench.pl: Mark members of struct args as volatile.
19930
13d3b41a
AZ
199312013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19932
68191c1d 19933 [BZ # 15497]
13d3b41a
AZ
19934 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19935 negative infinity on POWER6 or lower.
19936 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19937
2848b105
MR
199382013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19939
19940 [BZ #15442]
19941 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19942 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19943 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19944 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19945 (_FP_SETQNAN): New macro.
19946 (_FP_SETQNAN_SEMIRAW): Likewise.
19947 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19948 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19949 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19950 (FP_EXTEND): Use _FP_FRAC_SNANP.
19951 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19952 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19953 into account.
19954 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19955 New macro.
19956 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19957 Likewise.
19958
323e5cb7
JM
199592013-05-16 Joseph Myers <joseph@codesourcery.com>
19960
c58b274f
JM
19961 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19962 with DIVIDE_BY_ZERO_EXCEPTION.
19963 (gamma_test_data): Likewise.
19964 (lgamma_test_data): Likewise.
19965 (log_test_data): Likewise.
19966 (log10_test_data): Likewise.
19967 (log2_test_data): Likewise.
19968 (tgamma_test_data): Likewise.
19969
0ab34904
JM
19970 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19971 (acos_test_tonearest): Likewise.
19972 (acos_test_towardzero): Likewise.
19973 (acos_test_downward): Likewise.
19974 (acos_test_upward): Likewise.
19975 (acosh_test): Likewise.
19976 (asin_test): Likewise.
19977 (asin_test_tonearest): Likewise.
19978 (asin_test_towardzero): Likewise.
19979 (asin_test_downward): Likewise.
19980 (asin_test_upward): Likewise.
19981 (asinh_test): Likewise.
19982 (atan_test): Likewise.
19983 (atanh_test): Likewise.
19984 (atan2_test): Likewise.
19985 (cabs_test): Likewise.
19986 (cacos_test): Likewise.
19987 (cacosh_test): Likewise.
19988 (casin_test): Likewise.
19989 (casinh_test): Likewise.
19990 (catan_test): Likewise.
19991 (catanh_test): Likewise.
19992 (cbrt_test): Likewise.
19993 (ccos_test): Likewise.
19994 (ccosh_test): Likewise.
19995 (cexp_test): Likewise.
19996 (clog_test): Likewise.
19997 (clog10_test): Likewise.
19998 (cos_test): Likewise.
19999 (cos_test_tonearest): Likewise.
20000 (cos_test_towardzero): Likewise.
20001 (cos_test_downward): Likewise.
20002 (cos_test_upward): Likewise.
20003 (cosh_test): Likewise.
20004 (cosh_test_tonearest): Likewise.
20005 (cosh_test_towardzero): Likewise.
20006 (cosh_test_downward): Likewise.
20007 (cosh_test_upward): Likewise.
20008 (cpow_test): Likewise.
20009 (csin_test): Likewise.
20010 (csinh_test): Likewise.
20011 (csqrt_test): Likewise.
20012 (ctan_test): Likewise.
20013 (ctan_test_tonearest): Likewise.
20014 (ctan_test_towardzero): Likewise.
20015 (ctan_test_downward): Likewise.
20016 (ctan_test_upward): Likewise.
20017 (ctanh_test): Likewise.
20018 (ctanh_test_tonearest): Likewise.
20019 (ctanh_test_towardzero): Likewise.
20020 (ctanh_test_downward): Likewise.
20021 (ctanh_test_upward): Likewise.
20022 (erf_test): Likewise.
20023 (erfc_test): Likewise.
20024 (exp_test): Likewise.
20025 (exp_test_tonearest): Likewise.
20026 (exp_test_towardzero): Likewise.
20027 (exp_test_downward): Likewise.
20028 (exp_test_upward): Likewise.
20029 (exp10_test): Likewise.
20030 (exp2_test): Likewise.
20031 (expm1_test): Likewise.
20032 (fmod_test): Likewise.
20033 (gamma_test): Likewise.
20034 (hypot_test): Likewise.
20035 (j0_test): Likewise.
20036 (j1_test): Likewise.
20037 (jn_test): Likewise.
20038 (lgamma_test): Likewise.
20039 (log_test): Likewise.
20040 (log10_test): Likewise.
20041 (log1p_test): Likewise.
20042 (log2_test): Likewise.
20043 (logb_test_downward): Likewise.
20044 (pow_test): Likewise.
20045 (pow_test_tonearest): Likewise.
20046 (pow_test_towardzero): Likewise.
20047 (pow_test_downward): Likewise.
20048 (pow_test_upward): Likewise.
20049 (remainder_test): Likewise.
20050 (remquo_test): Likewise.
20051 (sin_test): Likewise.
20052 (sin_test_tonearest): Likewise.
20053 (sin_test_towardzero): Likewise.
20054 (sin_test_downward): Likewise.
20055 (sin_test_upward): Likewise.
20056 (sincos_test): Likewise.
20057 (sinh_test): Likewise.
20058 (sinh_test_tonearest): Likewise.
20059 (sinh_test_towardzero): Likewise.
20060 (sinh_test_downward): Likewise.
20061 (sinh_test_upward): Likewise.
20062 (sqrt_test): Likewise.
20063 (tan_test): Likewise.
20064 (tan_test_tonearest): Likewise.
20065 (tan_test_towardzero): Likewise.
20066 (tan_test_downward): Likewise.
20067 (tan_test_upward): Likewise.
20068 (tanh_test): Likewise.
20069 (tgamma_test): Likewise.
20070 (y0_test): Likewise.
20071 (y1_test): Likewise.
20072 (yn_test): Likewise.
20073
323e5cb7
JM
20074 * math/gen-libm-test.pl (adjust_arg): Remove function.
20075 (special_function): Remove argument $in_func. Only handle
20076 generating output for tables of tests, not inside functions.
20077 (parse_args): Likewise.
20078 (generate_testfile): Remove variable $in_func. Update call to
20079 parse_args.
20080 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20081 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20082 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20083 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20084 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20085 (MAX_VALUE_INIT): Rename macro to max_value.
20086 (MIN_VALUE_INIT): Rename macro to min_value.
20087 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20088 (plus_zero): Remove variable.
20089 (minus_zero): Likewise.
20090 (plus_infty): Likewise.
20091 (minus_infty): Likewise.
20092 (qnan_value): Likewise.
20093 (max_value): Likewise.
20094 (min_value): Likewise.
20095 (min_subnorm_value): Likewise.
20096
e054f494
RA
200972013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20098
20099 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20100 uint64_t or uint32_t usage.
20101 * crypt/sha256-block.c: Likewise.
20102 * crypt/sha256-crypt.c: Likewise.
20103 * crypt/sha256.c: Likewise.
20104 * crypt/sha512-block.c: Likewise.
20105 * crypt/sha512-crypt.c: Likewise.
20106 * crypt/sha512.c: Likewise.
20107 * debug/backtrace-tst.c: Likewise.
20108 * debug/pcprofiledump.c: Likewise.
20109 * elf/cache.c: Likewise.
20110 * elf/dl-cache.c: Likewise.
20111 * elf/dl-misc.c: Likewise.
20112 * elf/dl-profile.c: Likewise.
20113 * elf/dl-support.c: Likewise.
20114 * elf/ldconfig.c: Likewise.
20115 * elf/sprof.c: Likewise.
20116 * iconv/dummy-repertoire.c: Likewise.
20117 * iconv/iconv_charmap.c: Likewise.
20118 * iconv/skeleton.c: Likewise.
20119 * iconvdata/8bit-generic.c: Likewise.
20120 * iconvdata/cp737.h: Likewise.
20121 * iconvdata/cp775.h: Likewise.
20122 * iconvdata/ibm1008.h: Likewise.
20123 * iconvdata/ibm1025.h: Likewise.
20124 * iconvdata/ibm1046.h: Likewise.
20125 * iconvdata/ibm1097.h: Likewise.
20126 * iconvdata/ibm1112.h: Likewise.
20127 * iconvdata/ibm1122.h: Likewise.
20128 * iconvdata/ibm1123.h: Likewise.
20129 * iconvdata/ibm1124.h: Likewise.
20130 * iconvdata/ibm1129.h: Likewise.
20131 * iconvdata/ibm1130.h: Likewise.
20132 * iconvdata/ibm1132.h: Likewise.
20133 * iconvdata/ibm1133.h: Likewise.
20134 * iconvdata/ibm1137.h: Likewise.
20135 * iconvdata/ibm1140.h: Likewise.
20136 * iconvdata/ibm1141.h: Likewise.
20137 * iconvdata/ibm1142.h: Likewise.
20138 * iconvdata/ibm1143.h: Likewise.
20139 * iconvdata/ibm1144.h: Likewise.
20140 * iconvdata/ibm1145.h: Likewise.
20141 * iconvdata/ibm1146.h: Likewise.
20142 * iconvdata/ibm1147.h: Likewise.
20143 * iconvdata/ibm1148.h: Likewise.
20144 * iconvdata/ibm1149.h: Likewise.
20145 * iconvdata/ibm1153.h: Likewise.
20146 * iconvdata/ibm1154.h: Likewise.
20147 * iconvdata/ibm1155.h: Likewise.
20148 * iconvdata/ibm1156.h: Likewise.
20149 * iconvdata/ibm1157.h: Likewise.
20150 * iconvdata/ibm1158.h: Likewise.
20151 * iconvdata/ibm1160.h: Likewise.
20152 * iconvdata/ibm1161.h: Likewise.
20153 * iconvdata/ibm1162.h: Likewise.
20154 * iconvdata/ibm1163.h: Likewise.
20155 * iconvdata/ibm1164.h: Likewise.
20156 * iconvdata/ibm1166.h: Likewise.
20157 * iconvdata/ibm1167.h: Likewise.
20158 * iconvdata/ibm12712.h: Likewise.
20159 * iconvdata/ibm1390.h: Likewise.
20160 * iconvdata/ibm1399.h: Likewise.
20161 * iconvdata/ibm16804.h: Likewise.
20162 * iconvdata/ibm4517.h: Likewise.
20163 * iconvdata/ibm4899.h: Likewise.
20164 * iconvdata/ibm4909.h: Likewise.
20165 * iconvdata/ibm4971.h: Likewise.
20166 * iconvdata/ibm5347.h: Likewise.
20167 * iconvdata/ibm803.h: Likewise.
20168 * iconvdata/ibm856.h: Likewise.
20169 * iconvdata/ibm901.h: Likewise.
20170 * iconvdata/ibm902.h: Likewise.
20171 * iconvdata/ibm9030.h: Likewise.
20172 * iconvdata/ibm9066.h: Likewise.
20173 * iconvdata/ibm921.h: Likewise.
20174 * iconvdata/ibm922.h: Likewise.
20175 * iconvdata/ibm9448.h: Likewise.
20176 * iconvdata/isiri-3342.h: Likewise.
20177 * iconvdata/jis0201.h: Likewise.
20178 * include/link.h: Likewise.
20179 * include/netdb.h: Likewise.
20180 * inet/check_native.c: Likewise.
20181 * inet/check_pf.c: Likewise.
20182 * inet/getipv4sourcefilter.c: Likewise.
20183 * inet/getnameinfo.c: Likewise.
20184 * inet/getsourcefilter.c: Likewise.
20185 * inet/htonl.c: Likewise.
20186 * inet/setipv4sourcefilter.c: Likewise.
20187 * inet/setsourcefilter.c: Likewise.
20188 * inet/test-inet6_opt.c: Likewise.
20189 * inet/tst-network.c: Likewise.
20190 * locale/C-collate.c: Likewise.
20191 * locale/C-ctype.c: Likewise.
20192 * locale/C-time.c: Likewise.
20193 * locale/C-translit.h: Likewise.
20194 * locale/loadarchive.c: Likewise.
20195 * locale/programs/3level.h: Likewise.
20196 * locale/programs/charmap.c: Likewise.
20197 * locale/programs/charmap.h: Likewise.
20198 * locale/programs/ld-address.c: Likewise.
20199 * locale/programs/ld-collate.c: Likewise.
20200 * locale/programs/ld-ctype.c: Likewise.
20201 * locale/programs/ld-identification.c: Likewise.
20202 * locale/programs/ld-measurement.c: Likewise.
20203 * locale/programs/ld-messages.c: Likewise.
20204 * locale/programs/ld-monetary.c: Likewise.
20205 * locale/programs/ld-name.c: Likewise.
20206 * locale/programs/ld-numeric.c: Likewise.
20207 * locale/programs/ld-paper.c: Likewise.
20208 * locale/programs/ld-telephone.c: Likewise.
20209 * locale/programs/ld-time.c: Likewise.
20210 * locale/programs/linereader.c: Likewise.
20211 * locale/programs/locale.c: Likewise.
20212 * locale/programs/locarchive.c: Likewise.
20213 * locale/programs/locfile.h: Likewise.
20214 * locale/programs/repertoire.c: Likewise.
20215 * locale/programs/simple-hash.c: Likewise.
20216 * locale/programs/simple-hash.h: Likewise.
20217 * malloc/memusage.c: Likewise.
20218 * malloc/memusagestat.c: Likewise.
20219 * nis/nis_defaults.c: Likewise.
20220 * nis/nis_hash.c: Likewise.
20221 * nis/nis_print.c: Likewise.
20222 * nis/nis_xdr.c: Likewise.
20223 * nscd/connections.c: Likewise.
20224 * nscd/hstcache.c: Likewise.
20225 * nscd/nscd_gethst_r.c: Likewise.
20226 * nscd/nscd_getserv_r.c: Likewise.
20227 * nscd/nscd_helper.c: Likewise.
20228 * nscd/servicescache.c: Likewise.
20229 * nss/makedb.c: Likewise.
20230 * nss/nss_db/db-XXX.c: Likewise.
20231 * nss/nss_db/db-initgroups.c: Likewise.
20232 * nss/nss_db/db-netgrp.c: Likewise.
20233 * nss/nss_files/files-network.c: Likewise.
20234 * nss/nss_files/files-parse.c: Likewise.
20235 * posix/bug-regex5.c: Likewise.
20236 * posix/fnmatch_loop.c: Likewise.
20237 * posix/regcomp.c: Likewise.
20238 * posix/regexec.c: Likewise.
20239 * posix/tst-rfc3484-2.c: Likewise.
20240 * posix/tst-rfc3484-3.c: Likewise.
20241 * posix/tst-rfc3484.c: Likewise.
20242 * resolv/nss_dns/dns-canon.c: Likewise.
20243 * resolv/nss_dns/dns-network.c: Likewise.
20244 * resolv/res_init.c: Likewise.
20245 * resolv/res_mkquery.c: Likewise.
20246 * resolv/tst-aton.c: Likewise.
20247 * stdlib/cxa_atexit.c: Likewise.
20248 * stdlib/cxa_finalize.c: Likewise.
20249 * stdlib/gen-fpioconst.c: Likewise.
20250 * stdlib/strtol_l.c: Likewise.
20251 * string/tst-endian.c: Likewise.
20252 * sunrpc/auth_des.c: Likewise.
20253 * sunrpc/clnt_udp.c: Likewise.
20254 * sunrpc/rtime.c: Likewise.
20255 * sunrpc/svcauth_des.c: Likewise.
20256 * sunrpc/xdr.c: Likewise.
20257 * sunrpc/xdr_intXX_t.c: Likewise.
20258 * sunrpc/xdr_rec.c: Likewise.
20259 * sysdeps/generic/ldconfig.h: Likewise.
20260 * sysdeps/generic/ldsodefs.h: Likewise.
20261 * sysdeps/generic/memusage.h: Likewise.
20262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20265 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20272 * sysdeps/posix/getaddrinfo.c: Likewise.
20273 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20274 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20275 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20276 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20277 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20278 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20279 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20280 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20281 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20283 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20284 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20285 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20286 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20287 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20288 * sysdeps/x86_64/dl-tls.h: Likewise.
20289 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20290 * time/alt_digit.c: Likewise.
20291 * time/era.c: Likewise.
20292 * wcsmbs/tst-c16c32-1.c: Likewise.
20293
8c75f674
JM
202942013-05-16 Joseph Myers <joseph@codesourcery.com>
20295
20296 * math/libm-test.inc (struct test_sincos_data): New type.
20297 (RUN_TEST_LOOP_sincos): New macro.
20298 (sincos_test_data): New variable.
20299 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20300
e6e49e59
RH
203012013-05-16 Richard Henderson <rth@redhat.com>
20302
20303 * math/atest-exp2.c (LIMB64): New macro.
20304 (CONSTSZ): New macro.
20305 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20306 (hexdig): Move ...
20307 (print_mpn_fp): ... to function scope.
20308 (read_mpn_hex): Remove.
20309 (get_log2): Remove.
20310 (exp2_mpn): Use mp_log2.
20311 (main): Use mp_exp1.
20312
15c7c18d
JM
203132013-05-16 Joseph Myers <joseph@codesourcery.com>
20314
105a07df
JM
20315 * math/libm-test.inc: Remove comment about not testing "inexact"
20316 exceptions.
20317 (INEXACT_EXCEPTION): New macro.
20318 (NO_INEXACT_EXCEPTION): Likewise.
20319 (INVALID_EXCEPTION_OK): Update value.
20320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20321 (OVERFLOW_EXCEPTION_OK): Likewise.
20322 (UNDERFLOW_EXCEPTION_OK): Likewise.
20323 (IGNORE_ZERO_INF_SIGN): Likewise.
20324 (ERRNO_UNCHANGED): Likewise.
20325 (ERRNO_EDOM): Likewise.
20326 (ERRNO_ERANGE): Likewise.
20327 (test_exceptions): Handle testing "inexact" exceptions.
20328 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20329 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20330 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20331 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20332 INEXACT_EXCEPTION.
20333 (rint_towardzero_test_data): Likewise.
20334 (rint_downward_test_data): Likewise.
20335 (rint_upward_test_data): Likewise.
20336
e9eee333
JM
20337 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20338 with OVERFLOW_EXCEPTION.
20339 (exp10_test_data): Likewise.
20340 (exp2_test_data): Likewise.
20341 (expm1_test_data): Likewise.
20342 (lgamma_test_data): Likewise.
20343 (pow_test_data): Likewise.
20344 (tgamma_test_data): Likewise.
20345 (yn_test_data): Remove duplicate test of overflow.
20346
1c38ff73
JM
20347 * math/libm-test.inc (struct test_cc_c_data): New type.
20348 (RUN_TEST_LOOP_cc_c): New macro.
20349 (cpow_test_data): New variable.
20350 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20351
15c7c18d
JM
20352 * math/libm-test.inc (struct test_f_L_data): New type.
20353 (RUN_TEST_LOOP_f_L): New macro.
20354 (llrint_test_data): New variable.
20355 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20356 (llrint_tonearest_test_data): New variable.
20357 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20358 (llrint_towardzero_test_data): New variable.
20359 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20360 (llrint_downward_test_data): New variable.
20361 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20362 (llrint_upward_test_data): New variable.
20363 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20364 (llround_test_data): New variable.
20365 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20366
f137ff13
PC
203672013-05-13 Peter Collingbourne <pcc@google.com>
20368
20369 * math/atest-exp2.c (get_log2): Remove const attribute.
20370
3608cb24
JM
203712013-05-15 Joseph Myers <joseph@codesourcery.com>
20372
20373 * math/libm-test.inc (struct test_f_l_data): New type.
20374 (RUN_TEST_LOOP_f_l): New macro.
20375 (lrint_test_data): New variable.
20376 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20377 (lrint_tonearest_test_data): New variable.
20378 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20379 (lrint_towardzero_test_data): New variable.
20380 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20381 (lrint_downward_test_data): New variable.
20382 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20383 (lrint_upward_test_data): New variable.
20384 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20385 (lround_test_data): New variable.
20386 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20387
39b1f617
PC
203882013-05-15 Peter Collingbourne <pcc@google.com>
20389
1deff3dc
PC
20390 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20391 (EXTRACT_WORDS64) Use where appropriate.
20392 (INSERT_WORDS64) Likewise.
20393
791f3ba0
PC
20394 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20395 constraints with x constraints.
20396 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20397
39b1f617
PC
20398 * malloc/obstack.c (_obstack_compat): Add initializer.
20399
12fba011
EM
204002013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20401
20402 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20403 si_trapno and add si_addr_lsb to _sifields.sigfault.
20404 (si_trapno): Remove macro.
20405 (si_addr_lsb): Define new macro.
20406 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20407
d369f531
JM
204082013-05-15 Joseph Myers <joseph@codesourcery.com>
20409
b861c6c4
JM
20410 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20411 instead of TEST_f_l.
20412 (llrint_test_tonearest): Likewise.
20413 (llrint_test_towardzero): Likewise.
20414 (llrint_test_downward): Likewise.
20415 (llrint_test_upward): Likewise.
20416 (llround_test): Likewise.
20417
7abeee12
JM
20418 * math/libm-test.inc (struct test_f_i_data): Add comment.
20419 (RUN_TEST_LOOP_f_b): New macro.
20420 (RUN_TEST_LOOP_f_b_tg): Likewise.
20421 (finite_test_data): New variable.
20422 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20423 (isfinite_test_data): New variable.
20424 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20425 (isinf_test_data): New variable.
20426 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20427 (isnan_test_data): New variable.
20428 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20429 (isnormal_test_data): New variable.
20430 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20431 (issignaling_test_data): New variable.
20432 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20433 (signbit_test_data): New variable.
20434 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20435
cbe8c4d3
JM
20436 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20437 with INVALID_EXCEPTION.
20438 (acosh_test_data): Likewise.
20439 (asin_test_data): Likewise.
20440 (atanh_test_data): Likewise.
20441 (fmod_test_data): Likewise.
20442 (log_test_data): Likewise.
20443 (log10_test_data): Likewise.
20444 (log2_test_data): Likewise.
20445 (pow_test_data): Likewise.
20446 (sqrt_test_data): Likewise.
20447 (y0_test_data): Likewise.
20448 (y1_test_data): Likewise.
20449 (yn_test_data): Likewise.
20450
5575c0e5
JM
20451 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20452 function contents.
20453
d369f531
JM
20454 * math/libm-test.inc (struct test_ff_i_data): New type.
20455 (RUN_TEST_LOOP_ff_i_tg): New macro.
20456 (isgreater_test_data): New variable.
20457 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20458 (isgreaterequal_test_data): New variable.
20459 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20460 (isless_test_data): New variable.
20461 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20462 (islessequal_test_data): New variable.
20463 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20464 (islessgreater_test_data): New variable.
20465 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20466 (isunordered_test_data): New variable.
20467 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20468
781fd748
DM
204692013-05-14 David S. Miller <davem@davemloft.net>
20470
20471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20472
87aa21df
JM
204732013-05-14 Joseph Myers <joseph@codesourcery.com>
20474
5e908270
JM
20475 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20476
f71172e5
JM
20477 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20478 extra_test to int.
20479 (struct test_f_i_data): Change type of max_ulp to int.
20480
8cfa635a
JM
20481 * math/libm-test.inc (test_ffI_f1_data): New type.
20482 (RUN_TEST_LOOP_ffI_f1): New macro.
20483 (remquo_test_data): New variable.
20484 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20485
2bcb36b2
JM
20486 * setjmp/tst-setjmp-fp.c: New file.
20487 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20488 (link-libm): New variable.
20489 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20490
acbd839a
JM
20491 * math/libm-test.inc (struct test_f_i_data): New type.
20492 (RUN_TEST_LOOP_f_i): New macro.
20493 (RUN_TEST_LOOP_f_i_tg): Likewise.
20494 (fpclassify_test_data): New variable.
20495 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20496 (ilogb_test_data): New variable.
20497 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20498
e414d745
JM
20499 * math/libm-test.inc (scalbln_test): Correct function name in END
20500 call.
20501
d9c2a0fd
JM
20502 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20503 (RUN_TEST_LOOP_fI_f1): New macro.
20504 (frexp_test_data): New variable.
20505 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20506
9dc9095d
JM
20507 * math/libm-test.inc (struct test_fF_f1_data): New type.
20508 (RUN_TEST_LOOP_fF_f1): New macro.
20509 (modf_test_data): New variable.
20510 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20511
87aa21df
JM
20512 * math/libm-test.inc (struct test_f_f1_data): New type.
20513 (RUN_TEST_LOOP_f_f1): New macro.
20514 (gamma_test_data): New variable.
20515 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20516 (lgamma_test_data): New variable.
20517 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20518
141af660
CD
205192013-05-13 Carlos O'Donell <carlos@redhat.com>
20520
20521 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20522 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20523 (main): Comment "tls" pseudo-hwcap.
20524
6d33265c
JM
205252013-05-13 Joseph Myers <joseph@codesourcery.com>
20526
68fc074c
JM
20527 * math/libm-test.inc (struct test_fl_f_data): New type.
20528 (RUN_TEST_LOOP_fl_f): New variable.
20529 (scalbln_test_data): New variable.
20530 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20531
243216e1
JM
20532 * math/libm-test.inc (struct test_fi_f_data): New type.
20533 (RUN_TEST_LOOP_fi_f): New macro.
20534 (ldexp_test_data): New variable.
20535 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20536 (scalbn_test_data): New variable.
20537 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20538
6a1992e2
JM
20539 * math/libm-test.inc (struct test_c_f_data): New type.
20540 (RUN_TEST_LOOP_c_f): New macro.
20541 (cabs_test_data): New variable.
20542 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20543 (carg_test_data): New variable.
20544 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20545 (cimag_test_data): New variable.
20546 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20547 (creal_test_data): New variable.
20548 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20549
0e400df5
JM
20550 * math/libm-test.inc (struct test_if_f_data): New type.
20551 (RUN_TEST_LOOP_if_f): New macro.
20552 (jn_test_data): New variable.
20553 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20554 (yn_test_data): New variable.
20555 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20556
6d33265c
JM
20557 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20558
f98ece5f
AZ
205592013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20560
20561 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20562 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20563
0f7d347b
SP
205642013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20565
43fe811b
SP
20566 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20567 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20568 (bench-deps): Add bench-timing.h.
20569 * benchtests-bench-skeleton.c: Include bench-timing.h.
20570 (main): Use TIMING_* macros instead of clock_gettime.
20571 * benchtests/bench-timing.h: New file.
20572
0f7d347b
SP
20573 [BZ #14582]
20574 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20575 Renamed from _LIB_VERSION.
20576 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20577
601a3a5f
JM
205782013-05-12 Joseph Myers <joseph@codesourcery.com>
20579
4f184d30
JM
20580 * math/libm-test.inc (struct test_fff_f_data): New type.
20581 (RUN_TEST_LOOP_fff_f): New macro.
20582 (fma_test_data): New variable.
20583 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20584 (fma_towardzero_test_data): New variable.
20585 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20586 (fma_downward_test_data): New variable.
20587 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20588 (fma_upward_test_data): New variable.
20589 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20590
08198877
JM
20591 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20592 (struct test_c_c_data): New type.
20593 (RUN_TEST_LOOP_c_c): New macro.
20594 (cacos_test_data): New variable.
20595 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20596 (cacosh_test_data): New variable.
20597 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20598 (casin_test_data): New variable.
20599 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20600 (casinh_test_data): New variable.
20601 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20602 (catan_test_data): New variable.
20603 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20604 (catanh_test_data): New variable.
20605 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20606 (ccos_test_data): New variable.
20607 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20608 (ccosh_test_data): New variable.
20609 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20610 (cexp_test_data): New variable.
20611 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20612 (clog_test_data): New variable.
20613 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20614 (clog10_test_data): New variable.
20615 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20616 (conj_test_data): New variable.
20617 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20618 (cproj_test_data): New variable.
20619 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20620 (csin_test_data): New variable.
20621 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20622 (csinh_test_data): New variable.
20623 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20624 (csqrt_test_data): New variable.
20625 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20626 (ctan_test_data): New variable.
20627 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20628 (ctan_tonearest_test_data): New variable.
20629 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20630 (ctan_towardzero_test_data): New variable.
20631 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20632 (ctan_downward_test_data): New variable.
20633 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20634 (ctan_upward_test_data): New variable.
20635 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20636 (ctanh_test_data): New variable.
20637 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20638 (ctanh_tonearest_test_data): New variable.
20639 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20640 (ctanh_towardzero_test_data): New variable.
20641 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20642 (ctanh_downward_test_data): New variable.
20643 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20644 (ctanh_upward_test_data): New variable.
20645 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20646 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20647 of BUILD_COMPLEX.
20648
601a3a5f
JM
20649 * math/libm-test.inc (struct test_ff_f_data): New type.
20650 (struct test_ff_f_data_nexttoward): Likewise.
20651 (RUN_TEST_LOOP_2_f): New macro.
20652 (RUN_TEST_LOOP_ff_f): Likewise.
20653 (atan2_test_data): New variable.
20654 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20655 (copysign_test_data): New variable.
20656 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20657 (fdim_test_data): New variable.
20658 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20659 (fmax_test_data): New variable.
20660 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20661 (fmin_test_data): New variable.
20662 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20663 (fmod_test_data): New variable.
20664 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20665 (hypot_test_data): New variable.
20666 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20667 (nextafter_test_data): New variable.
20668 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20669 (nexttoward_test_data): New variable.
20670 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20671 (pow_test_data): New variable.
20672 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20673 (pow_tonearest_test_data): New variable.
20674 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20675 (pow_towardzero_test_data): New variable.
20676 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20677 (pow_downward_test_data): New variable.
20678 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20679 (pow_upward_test_data): New variable.
20680 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20681 (remainder_test_data): New variable.
20682 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20683 (scalb_test_data): New variable.
20684 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20685 * sysdeps/i386/fpu/libm-test-ulps: Update.
20686
74c57478
JM
206872013-05-11 Joseph Myers <joseph@codesourcery.com>
20688
8329e4da
JM
20689 * math/libm-test.inc (fma_test): Use max_value instead of local
20690 variable fltmax.
20691 (nextafter_test): Likewise.
20692
74c57478
JM
20693 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20694 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20695 (acos_downward_test_data): New variable.
20696 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20697 (acos_upward_test_data): New variable.
20698 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20699 (acosh_test_data): New variable.
20700 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20701 (asin_test_data): New variable.
20702 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20703 (asin_tonearest_test_data): New variable.
20704 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20705 (asin_towardzero_test_data): New variable.
20706 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20707 (asin_downward_test_data): New variable.
20708 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20709 (asin_upward_test_data): New variable.
20710 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20711 (asinh_test_data): New variable.
20712 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20713 (atan_test_data): New variable.
20714 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20715 (atanh_test_data): New variable.
20716 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20717 (cbrt_test_data): New variable.
20718 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20719 (ceil_test_data): New variable.
20720 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20721 (cos_test_data): New variable.
20722 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20723 (cos_tonearest_test_data): New variable.
20724 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20725 (cos_towardzero_test_data): New variable.
20726 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20727 (cos_downward_test_data): New variable.
20728 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20729 (cos_upward_test_data): New variable.
20730 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20731 (cosh_test_data): New variable.
20732 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20733 (cosh_tonearest_test_data): New variable.
20734 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20735 (cosh_towardzero_test_data): New variable.
20736 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20737 (cosh_downward_test_data): New variable.
20738 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20739 (cosh_upward_test_data): New variable.
20740 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20741 (erf_test_data): New variable.
20742 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20743 (erfc_test_data): New variable.
20744 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20745 (exp_test_data): New variable.
20746 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20747 (exp_tonearest_test_data): New variable.
20748 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20749 (exp_towardzero_test_data): New variable.
20750 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20751 (exp_downward_test_data): New variable.
20752 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20753 (exp_upward_test_data): New variable.
20754 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20755 (exp10_test_data): New variable.
20756 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20757 (exp2_test_data): New variable.
20758 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20759 (expm1_test_data): New variable.
20760 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20761 (fabs_test_data): New variable.
20762 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20763 (floor_test_data): New variable.
20764 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20765 (j0_test_data): New variable.
20766 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20767 (j1_test_data): New variable.
20768 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20769 (log_test_data): New variable.
20770 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20771 (log10_test_data): New variable.
20772 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20773 (log1p_test_data): New variable.
20774 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20775 (log2_test_data): New variable.
20776 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20777 (logb_test_data): New variable.
20778 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20779 (logb_downward_test_data): New variable.
20780 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20781 (nearbyint_test_data): New variable.
20782 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20783 (rint_test_data): New variable.
20784 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20785 (rint_tonearest_test_data): New variable.
20786 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20787 (rint_towardzero_test_data): New variable.
20788 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20789 (rint_downward_test_data): New variable.
20790 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20791 (rint_upward_test_data): New variable.
20792 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20793 (round_test_data): New variable.
20794 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20795 (sin_test_data): New variable.
20796 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20797 (sin_tonearest_test_data): New variable.
20798 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20799 (sin_towardzero_test_data): New variable.
20800 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20801 (sin_downward_test_data): New variable.
20802 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20803 (sin_upward_test_data): New variable.
20804 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20805 (sinh_test_data): New variable.
20806 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20807 (sinh_tonearest_test_data): New variable.
20808 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20809 (sinh_towardzero_test_data): New variable.
20810 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20811 (sinh_downward_test_data): New variable.
20812 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20813 (sinh_upward_test_data): New variable.
20814 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20815 (sqrt_test_data): New variable.
20816 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20817 (tan_test_data): New variable.
20818 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20819 (tan_tonearest_test_data): New variable.
20820 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20821 (tan_towardzero_test_data): New variable.
20822 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20823 (tan_downward_test_data): New variable.
20824 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20825 (tan_upward_test_data): New variable.
20826 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20827 (tanh_test_data): New variable.
20828 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20829 (tgamma_test_data): New variable.
20830 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20831 (trunc_test_data): New variable.
20832 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20833 (y0_test_data): New variable.
20834 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20835 (y1_test_data): New variable.
20836 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20837 (significand_test_data): New variable.
20838 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20839
7187d844
CG
208402013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20841
20842 [BZ #12387]
20843 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20844
f63fae73
PT
208452013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20846
20847 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20848
8a67a4b3
AJ
208492013-05-10 Andreas Jaeger <aj@suse.de>
20850
20851 [BZ #15448]
20852 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20853 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20854
51df539d
JM
208552013-05-10 Joseph Myers <joseph@codesourcery.com>
20856
20857 * math/gen-libm-test.pl (adjust_arg): New function.
20858 (special_functions): Handle generating output in both functions
20859 and arrays.
20860 (parse_args): Likewise.
20861 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20862 $in_func argument to parse_args.
20863 * math/libm-test.inc (struct test_f_f_data): New type.
20864 (IF_ROUND_INIT_): New macro.
20865 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20866 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20867 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20868 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20869 (ROUND_RESTORE_): Likewise.
20870 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20871 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20872 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20873 (ROUND_RESTORE_FE_UPWARD): Likewise.
20874 (RUN_TEST_LOOP_f_f): New macro.
20875 (acos_test_data): New variable.
20876 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20877 (acos_tonearest_test_data): New variable.
20878 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20879
5c637fe5
SP
208802013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20881
20882 * benchtests/bench-skeleton.c (startup): Fix coding style.
20883
ab2b9461
JM
208842013-05-10 Joseph Myers <joseph@codesourcery.com>
20885
20886 [BZ #6809]
20887 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20888 negative infinity argument.
20889 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20890 negative infinity argument.
20891 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20892 negative infinity argument.
20893 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20894 domain errors.
20895
4c0fe6fe
FW
208962013-05-10 Florian Weimer <fweimer@redhat.com>
20897
20898 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20899 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20900 * iconv/iconv_prog.c (main): Likewise.
20901 * locale/programs/charmap-dir.c (charmap_readdir)
20902 (fopen_uncompressed): Likewise.
20903 * locale/programs/locfile.c (siblings_uncached)
20904 (write_locale_data): Use lstat64 instead of lstat.
20905 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20906 stat.
20907
a3375d29
AJ
209082013-05-10 Andreas Jaeger <aj@suse.de>
20909
20910 [BZ #15395]
20911 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20912 localization.
20913 Include <locale.h>.
20914
36129722
CD
209152013-05-09 Carlos O'Donell <carlos@redhat.com>
20916
20917 * elf/dl-close.c (_dl_close_worker): Add comments.
20918
faa7f811
JM
209192013-05-09 Joseph Myers <joseph@codesourcery.com>
20920
ed41ffef
JM
20921 [BZ #15359]
20922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20923 high part of pi/2.
20924 (__ieee754_rem_pio2l): Update comments.
20925
d0213cd0
JM
20926 [BZ #15429]
20927 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20928 high part of pi/2.
20929 (__ieee754_rem_pio2l): Update comments.
20930
0d3e777a
JM
20931 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20932 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20933
24f56066
JM
20934 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20935 M_PI_4l.
20936
faa7f811
JM
20937 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20938 (M_PI_34_LOG10El): Likewise.
20939 (M_PI2_LOG10El): Likewise.
20940 (M_PI4_LOG10El): Likewise.
20941 (M_PI_LOG10El): Likewise.
20942
e9a5e0fd
AZ
209432013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20944
20945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20946
d8cd06db
JM
209472013-05-08 Joseph Myers <joseph@codesourcery.com>
20948
a0d9f9d7
JM
20949 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20950 (MINUS_ZERO_INIT): Likewise.
20951 (PLUS_INFTY_INIT): Likewise.
20952 (MINUS_INFTY_INIT): Likewise.
20953 (QNAN_VALUE_INIT): Likewise.
20954 (MAX_VALUE_INIT): Likewise.
20955 (MIN_VALUE_INIT): Likewise.
20956 (MIN_SUBNORM_VALUE_INIT): Likewise.
20957 (plus_zero): Initialize with PLUS_ZERO_INIT.
20958 (minus_zero): Initialize with MINUS_ZERO_INIT.
20959 (plus_infty): Initialize with PLUS_INFTY_INIT.
20960 (minus_infty): Initialize with MINUS_INFTY_INIT.
20961 (qnan_value): Initialize with QNAN_VALUE_INIT.
20962 (max_value): Initialize with MAX_VALUE_INIT.
20963 (min_value): Initialize with MIN_VALUE_INIT.
20964 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20965
ae08db3b
JM
20966 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20967 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20968 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20969 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20970
f44bf14a
JM
20971 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20972 (RUN_TEST_2_f): Likewise.
20973 (RUN_TEST_ff_f): Likewise.
20974 (RUN_TEST_fi_f): Likewise.
20975 (RUN_TEST_fl_f): Likewise.
20976 (RUN_TEST_fff_f): Likewise.
20977 (RUN_TEST_c_f): Likewise.
20978 (RUN_TEST_f_f1): Likewise.
20979 (RUN_TEST_fF_f1): Likewise.
20980 (RUN_TEST_fI_f1): Likewise.
20981 (RUN_TEST_ffI_f1): Likewise.
20982 (RUN_TEST_c_c): Likewise.
20983 (RUN_TEST_cc_c): Likewise.
20984 (RUN_TEST_f_i): Likewise.
20985 (RUN_TEST_f_i_tg): Likewise.
20986 (RUN_TEST_ff_i_tg): Likewise.
20987 (RUN_TEST_f_b): Likewise.
20988 (RUN_TEST_f_b_tg): Likewise.
20989 (RUN_TEST_f_l): Likewise.
20990 (RUN_TEST_f_L): Likewise.
20991 (RUN_TEST_sincos): Likewise.
20992 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20993 whether to show exceptions. Do not include ");\n" in return
20994 value.
20995 (special_functions): Output call to RUN_TEST_sincos instead of
20996 check_float calls. Update calls to new_test.
20997 (parse_args): Output call to single RUN_TEST_* macro instead of
20998 check_* calls and other assignments. Update calls to new_test.
20999
d8cd06db
JM
21000 [BZ #2546]
21001 [BZ #2560]
21002 [BZ #5159]
21003 [BZ #15426]
21004 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21005 input to result for tgamma overflow.
21006 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21007 (gamma_coeff): New variable.
21008 (NCOEFF): New macro.
21009 (gamma_positive): New function.
21010 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21011 underflow here. Use gamma_positive instead of exp (lgamma) for
21012 other arguments.
21013 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21014 (gamma_coeff): New variable.
21015 (NCOEFF): New macro.
21016 (gammaf_positive): New function.
21017 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21018 underflow here. Use gamma_positive instead of exp (lgamma) for
21019 other arguments.
21020 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21021 (gamma_coeff): New variable.
21022 (NCOEFF): New macro.
21023 (gammal_positive): New function.
21024 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21025 underflow here. Use gamma_positive instead of exp (lgamma) for
21026 other arguments.
21027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21028 (gamma_coeff): New variable.
21029 (NCOEFF): New macro.
21030 (gammal_positive): New function.
21031 (__ieee754_gammal_r): Handle positive infinity, overflow and
21032 underflow here. Handle NaN the same as positive infinity. Remove
21033 check x < 0xffffffff for negative integers. Use gamma_positive
21034 instead of exp (lgamma) for other arguments.
21035 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21036 (gamma_coeff): New variable.
21037 (NCOEFF): New macro.
21038 (gammal_positive): New function.
21039 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21040 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21045 * sysdeps/generic/math_private.h (__gamma_productf): New
21046 prototype.
21047 (__gamma_product): Likewise.
21048 (__gamma_productl): Likewise.
21049 * math/Makefile (libm-calls): Add gamma_product.
21050 * math/libm-test.inc (tgamma_test): Add more tests.
21051 * sysdeps/i386/fpu/libm-test-ulps: Update.
21052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21053
bb7cf681
OB
210542013-05-08 Ondřej Bílka <neleai@seznam.cz>
21055
21056 * benchtests/bench-skeleton.c (main): Preheat CPU.
21057
ba853947
AJ
210582013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21059
21060 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21061
8347c74c
RM
210622013-05-07 Roland McGrath <roland@hack.frob.com>
21063
21064 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21065 and _dl_skip_args_internal.
21066
e8dd4791
CD
210672013-05-07 Carlos O'Donell <carlos@redhat.com>
21068
21069 * manual/message.texi (Message Translation): Talk about users.
21070 Message to key mapping impacts design.
21071
c7405830
RM
210722013-05-06 Roland McGrath <roland@hack.frob.com>
21073
a9173057
RM
21074 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21075
976e2f03
RM
21076 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21077
9723ffc5
RM
21078 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21079 * sysdeps/wordsize-64/glob64.c: ... here.
21080
962e6658
RM
21081 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21082 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21083 New macros.
21084
ee586a6d
RM
21085 * debug/getlogin_r_chk.c: Moved to ...
21086 * login/getlogin_r_chk.c: ... here.
21087 * debug/Makefile (routines): Move getlogin_r_chk to ...
21088 * login/Makefile (routines): ... here.
21089 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21090 * login/Versions (libc: GLIBC_2.4): ... here.
21091
355f9165
RM
21092 * io/poll.c (__poll): Renamed from poll.
21093 Add libc_hidden_def.
21094 (poll): Define as weak alias.
21095
bd9ffde6
RM
21096 * debug/ptsname_r_chk.c: Moved to ...
21097 * login/ptsname_r_chk.c: ... here.
21098 * debug/Makefile (routines): Move ptsname_r_chk to ...
21099 * login/Makefile (routines): ... here.
21100 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21101 * login/Versions (libc: GLIBC_2.4): ... here.
21102
8fb16a04
RM
21103 * posix/getlogin.c: Moved to ...
21104 * login/getlogin.c: ... here.
21105 * posix/getlogin_r.c: Moved to ...
21106 * login/getlogin_r.c: ... here.
21107 * posix/getlogin_r.c: Moved to ...
21108 * login/getlogin_r.c: ... here.
21109 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21110 * login/Makefile (routines): ... here.
21111 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21112 * login/Versions (libc: GLIBC_2.0): ... here.
21113
b99b892f
RM
21114 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21115 (setrlimit): Define as weak alias.
21116
c7405830
RM
21117 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21118 Call __ names for open, ftruncate, and close.
21119 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21120 (truncate): Define as weak alias.
21121
5bf96de5
JM
211222013-05-06 Joseph Myers <joseph@codesourcery.com>
21123
9ea3513c
JM
21124 * math/gen-libm-test.pl (parse_args): Initialize x before each
21125 test of frexp, modf and remquo.
21126
5bf96de5
JM
21127 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21128 test signgam value.
21129
16e616a7
AZ
211302013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21131
21132 [BZ #15418]
21133 [BZ #15419]
21134 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21135 internal tests.
21136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21137
d5e82754
RM
211382013-05-06 Roland McGrath <roland@hack.frob.com>
21139
21140 * elf/dl-writev.h: New file.
21141 * elf/dl-misc.c: Include it.
21142 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21143 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21144
a7548d41
JM
211452013-05-04 Joseph Myers <joseph@codesourcery.com>
21146
b7dab1e4
JM
21147 * math/libm-test.inc (noXFails): Remove variable.
21148 (noXPasses): Likewise.
21149 (BUILD_COMPLEX_INT): Remove macro.
21150 (print_screen): Remove xfail argument.
21151 (print_screen_max_error): Likewise.
21152 (update_stats): Likewise.
21153 (print_max_error): Likewise. Update calls to other affected
21154 functions.
21155 (print_complex_max_error): Likewise.
21156 (test_single_exception): Update calls to print_screen.
21157 (test_single_errno): Likewise.
21158 (check_float_internal): Remove xfail argument. Update calls to
21159 other affected functions.
21160 (check_float): Likewise.
21161 (check_complex): Likewise.
21162 (check_int): Likewise.
21163 (check_long): Likewise.
21164 (check_bool): Likewise.
21165 (check_longlong): Likewise.
21166 (main): Don't print noXFails and noXPasses.
21167 * math/gen-libm-test.pl (top level): Don't mention expected
21168 failure handling in comment.
21169 (new_test): Don't handle expected failures.
21170 (parse_args): Don't mention expected failure handling in comment.
21171 (generate_testfile): Don't handle expected failures.
21172 (parse_ulps): Likewise.
21173 (print_ulps_file): Likewise.
21174 (get_failure): Remove function.
21175 (output_test): Don't handle expected failures.
21176 * make/README.libm-test: Don't mention expected failure handling.
21177
a7548d41
JM
21178 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21179 (minus_zero): Likewise.
21180 (plus_infty): Likewise.
21181 (minus_infty): Likewise.
21182 (qnan_value): Likewise.
21183 (max_value): Likewise.
21184 (min_value): Likewise.
21185 (min_subnorm_value): Likewise.
21186 (initialize): Do not initialize those variables dynamically.
21187
60bfd54c
RM
211882013-05-03 Roland McGrath <roland@hack.frob.com>
21189
cc0e6ed8
RM
21190 * io/open.c (__open_2): Moved to ...
21191 * io/open_2.c: ... this new file.
21192 * io/open64.c (__open64_2): Moved to ...
21193 * io/open64_2.c: ... this new file.
21194 * io/openat.c (__openat_2): Moved to ...
21195 * io/openat_2.c: ... this new file.
21196 * io/openat64.c (__openat64_2): Moved to ...
21197 * io/openat64_2.c: ... this new file.
21198 * io/Makefile (routines): Add them.
21199 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21200 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21201 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21202 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21203 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21204 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21205 (__openat64): Add hidden_ver.
21206 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21207 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21208
60bfd54c
RM
21209 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21210 Separately conditionalize setting of GLRO(dl_sysinfo) so
21211 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21212 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21213
83e7640f
AZ
212142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21215
21216 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21218 definition.
21219 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21220 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21221 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21222 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21223 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21224
d5dc2af3
JM
212252013-05-03 Joseph Myers <joseph@codesourcery.com>
21226
c31a5b1e
JM
21227 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21228 test signgam value.
21229
d5dc2af3
JM
21230 * math/libm-test.inc (hypot_test): Do not use
21231 IGNORE_ZERO_INF_SIGN.
21232
164fd39d
AJ
212332013-05-03 Andreas Jaeger <aj@suse.de>
21234
21235 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21236 Linux 3.9.
21237 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21238 (PF_MAX): Adjust for VSOCK change.
21239
8237f48c
AZ
212402013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21241
21242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21243
9df02941
CD
212442013-05-02 Carlos O'Donell <carlos@redhat.com>
21245
21246 [BZ #15264]
21247 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21248 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21249 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21250
d422395e
DM
212512013-05-02 David S. Miller <davem@davemloft.net>
21252
21253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21254
a07c5731
OB
212552013-05-01 Ondřej Bílka <neleai@seznam.cz>
21256
21257 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21258
1324e37f
RM
212592013-05-01 Roland McGrath <roland@hack.frob.com>
21260
21261 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21262
0695940b
RS
212632013-05-01 Richard Smith <richard@metafoo.co.uk>
21264
bb5f27ad 21265 [BZ #14952]
0695940b
RS
21266 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21267 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21268 Use __attribute__ ((__gnu_inline__)).
21269 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21270 Don't use __attribute__ ((__gnu_inline__)).
21271
10de07f5
JM
212722013-05-01 Joseph Myers <joseph@codesourcery.com>
21273
21274 [BZ #15423]
21275 * math/s_catan.c (__catan): Handle small real or imaginary part of
21276 input specially to avoid spurious underflow.
21277 * math/s_catanf.c (__catanf): Likewise.
21278 * math/s_catanh.c (__catanh): Likewise.
21279 * math/s_catanhf.c (__catanhf): Likewise.
21280 * math/s_catanhl.c (__catanhl): Likewise.
21281 * math/s_catanl.c (__catanl): Likewise.
21282 * math/libm-test.inc (catan_test): Add more tests.
21283 (catanh_test): Likewise.
21284 * sysdeps/i386/fpu/libm-test-ulps: Update.
21285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21286
cb4d5414
AZ
212872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21288
21289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21290
caf84319
JM
212912013-04-30 Joseph Myers <joseph@codesourcery.com>
21292
21293 [BZ #15416]
21294 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21295 accurately for denominator in atan2.
21296 * math/s_catanf.c (__catanf): Likewise.
21297 * math/s_catanh.c (__catanh): Likewise.
21298 * math/s_catanhf.c (__catanhf): Likewise.
21299 * math/s_catanhl.c (__catanhl): Likewise.
21300 * math/s_catanl.c (__catanl): Likewise.
21301 * math/libm-test.inc (catan_test): Add more tests.
21302 (catanh_test): Likewise.
21303 * sysdeps/i386/fpu/libm-test-ulps: Update.
21304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21305
d569c6ee
SP
213062013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21307
6dbe713d
SP
21308 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21309
f0ee064b
SP
21310 * benchtests/Makefile (bench): Remove slow benchmarks.
21311 * benchtests/atan-inputs: Add slow benchmark inputs.
21312 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21313 (BENCH_FUNC): Accept variant offset.
21314 (VARIANT): Define.
21315 * benchtests/bench-skeleton.c (main): Run benchmark for each
21316 variant.
21317 * benchtests/cos-inputs: Add slow benchmark inputs.
21318 * benchtests/exp-inputs: Likewise.
21319 * benchtests/pow-inputs: Likewise.
21320 * benchtests/sin-inputs: Likewise.
21321 * benchtests/slowatan-inputs: Remove.
21322 * benchtests/slowatan.c: Remove.
21323 * benchtests/slowcos-inputs: Remove.
21324 * benchtests/slowcos.c: Remove.
21325 * benchtests/slowexp-inputs: Remove.
21326 * benchtests/slowexp.c: Remove.
21327 * benchtests/slowpow-inputs: Remove.
21328 * benchtests/slowpow.c: Remove.
21329 * benchtests/slowsin-inputs: Remove.
21330 * benchtests/slowsin.c: Remove.
21331 * benchtests/slowtan-inputs: Remove.
21332 * benchtests/slowtan.c: Remove.
21333 * benchtests/tan-inputs: Add slow benchmark inputs.
21334 * scripts/bench.pl: Parse comments and directives.
21335
d569c6ee
SP
21336 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21337 in CPPFLAGS.
21338 ($(objpfx)bench-%.c): Remove *-ITER.
21339 * benchtests/bench-modf.c: Remove definition of ITER.
21340 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21341 (main): Loop for DURATION seconds instead of fixed number of
21342 iterations.
21343 * scripts/bench.pl: Don't expect iterations in parameters.
21344
a6a242fe
RM
213452013-04-29 Roland McGrath <roland@hack.frob.com>
21346
21347 * io/fchdir.c (__fchdir): Renamed from fchdir.
21348 (fchdir): Define as weak alias.
21349
f2da7793
JM
213502013-04-29 Joseph Myers <joseph@codesourcery.com>
21351
21352 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21353 (ERRNO_EDOM): Likewise.
21354 (ERRNO_ERANGE): Likewise.
21355 (noErrnoTests): New variable.
21356 (init_max_error): Set errno to 0.
21357 (test_single_errno): New function.
21358 (test_errno): Likewise.
21359 (check_float_internal): Call test_errno. Set errno to 0.
21360 (check_complex): Refer to errno tests in comment.
21361 (check_int): Call test_errno. Set errno to 0.
21362 (check_long): Likewise.
21363 (check_bool): Likewise.
21364 (check_longlong): Likewise.
21365 (cos_test): Use ERRNO_* flags for errno tests instead of
21366 check_int.
21367 (expm1_test): Likewise.
21368 (fmod_test): Likewise.
21369 (ilogb_test): Likewise.
21370 (lgamma_test): Likewise.
21371 (pow_test): Likewise.
21372 (remainder_test): Likewise.
21373 (sin_test): Likewise.
21374 (tan_test): Likewise.
21375 (yn_test): Likewise.
21376 (initialize): Set errno to 0.
21377 (main): Print number of errno tests.
21378 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21379
b1a36ceb
AJ
213802013-04-29 Andreas Jaeger <aj@suse.de>
21381
c3ed8088
AJ
21382 [BZ #15084]
21383 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21384 and RES_USEVC.
21385
f1a24198
AJ
21386 [BZ #15085]
21387 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21388 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21389 unimplemented.
21390
9ce3b2cb
AJ
21391 [BZ #15380]
21392 * stdlib/random.c (__initstate): Return NULL if
21393 __initstate fails.
21394
f1a24198 21395 [BZ #15086]
b1a36ceb
AJ
21396 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21397 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21398 RES_SNGLKUPREOP.
21399
7e7b6f36
AZ
214002013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21401
21402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21403
4d14f449
JM
214042013-04-29 Joseph Myers <joseph@codesourcery.com>
21405
21406 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21407 of individual tests.
21408 (casin_test): Likewise.
21409 (casinh_test): Likewise.
21410
5b4217d7
JM
214112013-04-27 Joseph Myers <joseph@codesourcery.com>
21412
21413 [BZ #15409]
21414 * math/s_catan.c (__catan): Handle arguments with large real or
21415 imaginary part separately without squaring.
21416 * math/s_catanf.c (__catanf): Likewise.
21417 * math/s_catanh.c (__catanh): Likewise.
21418 * math/s_catanhf.c (__catanhf): Likewise.
21419 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21420 and redefine.
21421 (__catanhl): Handle arguments with large real or imaginary part
21422 separately without squaring.
21423 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21424 and redefine.
21425 (__catanl): Handle arguments with large real or imaginary part
21426 separately without squaring.
21427 * math/libm-test.inc (catan_test): Add more tests.
21428 (catanh_test): Likewise.
21429 * sysdeps/i386/fpu/libm-test-ulps: Update.
21430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21431
4220c3ef
AJ
214322013-04-27 Andreas Jaeger <aj@suse.de>
21433
21434 [BZ #15007]
21435 * stdlib/stdlib.h: Update guards for qecvt.
21436 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21437 <stdlib.h>.
21438
4721b2d1
AM
214392013-04-27 Allan McRae <allan@archlinux.org>
21440
21441 * sysdeps/i386/fpu/libm-test-ulps: Update.
21442
f0302940
JM
214432013-04-26 Joseph Myers <joseph@codesourcery.com>
21444
9457fd95
JM
21445 [BZ #15406]
21446 * math/s_catan.c: Include <float.h>.
21447 (__catan): Ensure underflow exception occurs for underflowed
21448 result.
21449 * math/s_catanf.c: Include <float.h>.
21450 (__catanf): Ensure underflow exception occurs for underflowed
21451 result.
21452 * math/s_catanh.c: Include <float.h>.
21453 (__catanh): Ensure underflow exception occurs for underflowed
21454 result.
21455 * math/s_catanhf.c: Include <float.h>.
21456 (__catanhf): Ensure underflow exception occurs for underflowed
21457 result.
21458 * math/s_catanhl.c: Include <float.h>.
21459 (__catanhl): Ensure underflow exception occurs for underflowed
21460 result.
21461 * math/s_catanl.c: Include <float.h>.
21462 (__catanl): Ensure underflow exception occurs for underflowed
21463 result.
21464 * math/libm-test.inc (catan_test): Add more tests.
21465 (catanh_test): Likewise.
21466
f0302940
JM
21467 [BZ #15405]
21468 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21469 underflowed result.
21470 * math/s_ccoshf.c (__ccoshf): Likewise.
21471 * math/s_ccoshl.c (__ccoshl): Likewise.
21472 * math/s_csin.c (__csin): Likewise.
21473 * math/s_csinf.c (__csinf): Likewise.
21474 * math/s_csinh.c (__csinh): Likewise.
21475 * math/s_csinhf.c (__csinhf): Likewise.
21476 * math/s_csinhl.c (__csinhl): Likewise.
21477 * math/s_csinl.c (__csinl): Likewise.
21478 * math/libm-test.inc (ccos_test): Add more tests.
21479 (ccosh_test): Likewise.
21480 (csin_test): Likewise.
21481 (csinh_test): Likewise.
21482
aa630f59
AZ
214832013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21484
21485 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21486 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21487 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21488 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21489 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21490 powerpc/power5+/fpu folders.
21491 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21492
21493
1b835983
MT
214942013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21495
21496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21497
73709b26
JM
214982013-04-25 Joseph Myers <joseph@codesourcery.com>
21499
21500 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21501 additions to variable.
21502 [$(config-machine) = x86_64] (modules-names): Likewise.
21503 ($(objpfx)tst-audit3): Remove dependency.
21504 ($(objpfx)tst-audit3.out): Likewise.
21505 ($(objpfx)tst-audit4): Likewise.
21506 ($(objpfx)tst-audit4.out): Likewise.
21507 ($(objpfx)tst-audit5): Likewise.
21508 ($(objpfx)tst-audit5.out): Likewise.
21509 ($(objpfx)tst-audit6): Likewise.
21510 ($(objpfx)tst-audit6.out): Likewise.
21511 ($(objpfx)tst-audit7): Likewise.
21512 ($(objpfx)tst-audit7.out): Likewise.
21513 (tst-audit3-ENV): Remove variable.
21514 (tst-audit4-ENV): Likewise.
21515 (tst-audit5-ENV): Likewise.
21516 (tst-audit6-ENV): Likewise.
21517 (tst-audit7-ENV): Likewise.
21518 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21519 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21520 addition to variable.
21521 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21522 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21523 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21524 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21525 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21526 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21527 tst-audit3, tst-audit4 and tst-audit5.
21528 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21529 tst-audit6 and tst-audit7.
21530 [$(subdir) = elf] (modules-names): Add audit modules for those
21531 tests.
21532 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21533 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21534 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21535 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21536 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21537 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21538 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21539 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21540 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21541 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21542 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21543 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21544 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21545 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21546 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21547 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21548 Likewise.
21549 [$(subdir) = elf && $(config-cflags-avx) = yes]
21550 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21551 [$(subdir) = elf && $(config-cflags-avx) = yes]
21552 (CFLAGS-tst-auditmod4a.c): Likewise.
21553 [$(subdir) = elf && $(config-cflags-avx) = yes]
21554 (CFLAGS-tst-auditmod4b.c): Likewise.
21555 [$(subdir) = elf && $(config-cflags-avx) = yes]
21556 (CFLAGS-tst-auditmod6b.c): Likewise.
21557 [$(subdir) = elf && $(config-cflags-avx) = yes]
21558 (CFLAGS-tst-auditmod6c.c): Likewise.
21559 [$(subdir) = elf && $(config-cflags-avx) = yes]
21560 (CFLAGS-tst-auditmod7b.c): Likewise.
21561 * elf/tst-audit3.c: Move to ...
21562 * sysdeps/x86_64/tst-audit3.c: ... here.
21563 * elf/tst-audit4.c: Move to ...
21564 * sysdeps/x86_64/tst-audit4.c: ... here.
21565 * elf/tst-audit5.c: Move to ...
21566 * sysdeps/x86_64/tst-audit5.c: ... here.
21567 * elf/tst-audit6.c: Move to ...
21568 * sysdeps/x86_64/tst-audit6.c: ... here.
21569 * elf/tst-audit7.c: Move to ...
21570 * sysdeps/x86_64/tst-audit7.c: ... here.
21571 * elf/tst-auditmod3a.c: Move to ...
21572 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21573 * elf/tst-auditmod3b.c: Move to ...
21574 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21575 * elf/tst-auditmod4a.c: Move to ...
21576 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21577 * elf/tst-auditmod4b.c: Move to ...
21578 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21579 * elf/tst-auditmod5a.c: Move to ...
21580 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21581 * elf/tst-auditmod5b.c: Move to ...
21582 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21583 * elf/tst-auditmod6a.c: Move to ...
21584 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21585 * elf/tst-auditmod6b.c: Move to ...
21586 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21587 * elf/tst-auditmod6c.c: Move to ...
21588 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21589 * elf/tst-auditmod7a.c: Move to ...
21590 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21591 * elf/tst-auditmod7b.c: Move to ...
21592 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21593
1ef74943
PP
215942013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21595
21596 [BZ #15366]
21597 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21598 define unconditionally.
21599 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21600 define unconditionally.
21601 (INT8_C, INT16_C, etc.): Likewise.
21602
93fd48c5
MR
216032013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21604
ae9552cf
MR
21605 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21606 __ehdr_start with hidden visibility.
21607
93fd48c5
MR
21608 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21609
418601aa
CD
216102013-04-24 Carlos O'Donell <carlos@redhat.com>
21611
21612 * math/libm-test.inc (cos_test): Use accurate hex constants.
21613 (sincost_test): Likewise.
21614
2f38fbfe
JM
216152013-04-24 Joseph Myers <joseph@codesourcery.com>
21616
5e221800
JM
21617 * math/libm-test.inc (catan_test): Add more tests.
21618 (catanh_test): Likewise.
21619
77f143fd
JM
21620 * math/s_catanf.c (__catanf): Use suffixed floating-point
21621 constants.
21622 * math/s_catanhf.c (__catanhf): Likewise.
21623 * math/s_catanhl.c (__catanhl): Likewise.
21624 * math/s_catanl.c (__catanl): Likewise.
21625
2f38fbfe
JM
21626 [BZ #15394]
21627 * math/s_catan.c (__catan): Calculate imaginary part of result
21628 with log1p not log unless computing log of number close to 0.
21629 * math/s_catanf.c (__catanf): Likewise.
21630 * math/s_catanl.c (__catanl): Likewise.
21631 * math/s_catanh.c (__catanh): Calculate real part of result with
21632 log1p not log unless computing log of number close to 0.
21633 * math/s_catanhf.c (__catanhf): Likewise.
21634 * math/s_catanhl.c (__catanhl): Likewise.
21635 * math/libm-test.inc (catan_test): Add more tests.
21636 (catanh_test): Likewise.
21637 * sysdeps/i386/fpu/libm-test-ulps: Update.
21638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21639
45d69176
SP
216402013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21641
21642 * benchtests/Makefile: Mention files in which fast and slow
21643 paths of math functions are implemented.
21644
87f51853
RM
216452013-04-23 Roland McGrath <roland@hack.frob.com>
21646
21647 * sysdeps/posix/timespec_get.c: New file.
21648
3c026539
AZ
216492013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21650
21651 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21652 POWER.
21653 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21654 for POWER.
21655 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21656 powerpc/power5/fpu folders.
21657 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21658 * benchtests/Makefile: Add modf testcase.
21659 * benchtests/bench-modf.c: New file: Benchmark test for mo
21660
ff491d14
SP
216612013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21662
21663 [BZ #14888]
21664 * time/Makefile (tests): Add tst-strptime-whitespace.
21665 * time/strptime_l.c (get_number): Use ISSPACE.
21666 (__strptime_internal): Likewise.
21667 * time/tst-strptime-whitespace.c: New test case.
21668
7ed3f4e8
AS
216692013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21670
21671 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21672 member.
21673 (_nss_files_init): Set it here.
21674
5c95f7b6
HC
216752013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21676
21677 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21678 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21679 unsigned.
21680
d34c9158
JBG
216812013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21682
21683 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21684
2169712d
SP
216852013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21686
21687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21688 size just once.
21689
29c5de99
DM
216902013-04-21 David S. Miller <davem@davemloft.net>
21691
21692 * po/ru.po: Update Russion translation from translation project.
21693
ccdad15d
AC
216942013-04-17 Adam Conrad <adconrad@0c3.net>
21695
21696 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21697 and setfsgid.
21698
0f122b8d
CD
216992013-04-17 Carlos O'Donell <carlos@redhat.com>
21700
5c5b07da 21701 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21702 * configure: Regenerate.
5c5b07da 21703 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21704 Add example to error message.
21705 * sysdeps/i386/configure: Regenerate.
21706
037714dd
SP
217072013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21708
21709 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21710 slowtan.
21711 * benchtests/cos-inputs: New file.
21712 * benchtests/slowcos-inputs: New file.
21713 * benchtests/slowcos.c: New file.
21714 * benchtests/slowtan-inputs: New file.
21715 * benchtests/slowtan.c: New file.
21716 * benchtests/tan-inputs: New file.
21717
e913141d
RM
217182013-04-16 Roland McGrath <roland@hack.frob.com>
21719
21720 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21721 considered kosher.
21722
a2964074
SP
217232013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21724
4856bcd2
SP
21725 * benchtests/Makefile: Include cppflags-iterator.mk to add
21726 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21727
a2964074
SP
21728 * Makefile.in (bench-clean): New target.
21729 * benchtests/Makefile (bench-clean): Likewise.
21730
9fbf9aca
DH
217312013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21732
21733 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21734
207d1e2a
TS
217352013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21736
21737 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21738
306dfba9
AS
217392013-04-15 Andreas Schwab <schwab@suse.de>
21740
21741 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21743 * nscd/pwdcache.c (cache_addpw): Likewise.
21744 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21745 more than recsize.
21746
206a6699
SP
217472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
21749 * benchtests/Makefile (bench): Write all output to
21750 bench-out.tmp together.
21751
0582f6b3
AS
217522013-04-15 Andreas Schwab <schwab@suse.de>
21753
21754 * nscd/nscd.c (main): Don't fork again after closing files.
21755
acb4325f
SP
217562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21757
5cb26d0a
SP
21758 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21759
acb4325f
SP
21760 * benchtests/Rules (bench-deps): Collect dependencies into a
21761 single variable. Add Makefile to dependencies.
21762 ($(objpfx)bench-%.c): Depend on bench-deps.
21763
47792506
RM
217642013-04-12 Roland McGrath <roland@hack.frob.com>
21765 Xavier Roche <roche+kml2@exalead.com>
21766
21767 [BZ #15361]
21768 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21769 just that it's a file descriptor.
21770 * manual/llio.texi (Synchronizing AIO Operations): Update description
21771 for EBADF error from aio_fsync.
21772
8fc1bee5
SP
217732013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21774
21775 * Rules (bench): Move target definition...
21776 * benchtests/Makefile: ... here.
21777
aba5e333
CD
217782013-04-11 Carlos O'Donell <carlos@redhat.com>
21779
21780 * math/libm-test.inc (cos_test): Fix PI/2 test.
21781 (sincos_test): Likewise.
21782 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21783 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21784
273cdee8
AS
217852013-04-11 Andreas Schwab <schwab@suse.de>
21786
6ecec3b6
AS
21787 [BZ #13988]
21788 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21789 accept exponent character only when digits were seen.
21790 * stdio-common/Makefile (tests): Add bug26.
21791 * stdio-common/bug26.c: New file.
21792
273cdee8
AS
21793 [BZ #14293]
21794 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21795 non-freeable.
21796
8da491f5
SP
217972013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21798
01dc6df9
SP
21799 * Makeconfig (rtld-prefix): Define built linker prefix.
21800 * Rules (run-bench): Use it.
21801 * math/Makefile (run-regen-ulps): Likewise.
21802
8da491f5
SP
21803 * Rules (bench): Remove eval.
21804
abe7f530
SP
218052013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21806 Roland McGrath <roland@hack.frob.com>
21807 Ondrej Bilka <neleai@seznam.cz>
21808
21809 [BZ #15346]
21810 * time/getdate.c: Include ctype.h and alloca.h.
21811 (__getdate_r): Trim leading and trailing spaces of input.
21812 * time/tst-getdate.c (tests): Add tests with leading and
21813 trailing spaces.
21814
61c23e62
RM
218152013-04-08 Roland McGrath <roland@hack.frob.com>
21816
21817 [BZ #14280]
21818 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21819 when computing value.
21820
7208a313
CD
218212013-04-06 Carlos O'Donell <carlos@redhat.com>
21822
085b2d41
CD
21823 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21824 Use testrun.sh to run libm tests.
21825
7208a313
CD
21826 [BZ #15309]
21827 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21828
872c0acd
MM
218292013-04-06 Marko Myllynen <myllynen@redhat.com>
21830
21831 [BZ #15264]
21832 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21833
26510bdd
CD
218342013-04-06 Carlos O'Donell <carlos@redhat.com>
21835
21836 * Makefile.in (regen-ulps): New target.
21837 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21838 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21839 [ifneq (no,$(PERL)] (regen-ulps): New target.
21840 [ifeq (no,$(PERL)] (regen-ulps): New target.
21841 * math/libm-test.inc (ulps_file_name): Define.
21842 (output_dir): New variable.
21843 (options): Add "output-dir" option.
21844 (parse_opt): Handle 'o' case.
21845 (main): If output_dir is non-NULL use it as a prefix
21846 otherwise use "".
21847 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21848
a01f19c8
CD
218492013-04-06 Carlos O'Donell <carlos@redhat.com>
21850
21851 [BZ #10060, #10062]
21852 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21853 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21854 fail configure if __sync_val_compare_and_swap is not inlined.
21855 * sysdeps/i386/configure: Regenerate.
21856 * configure.in: Build for i686 when configured for i386.
21857 * configure: Regenerate.
21858 * README: Remove i386 reference.
21859
b7a329a5
CD
218602013-04-06 Carlos O'Donell <carlos@redhat.com>
21861
21862 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21864
bf0f50df
TS
218652013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21866
ee091edf
TS
21867 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21868 (lmsnanval): New variables.
21869 (F): Add conversion tests.
21870 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21871 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21872
a8b792d6
TS
21873 * stdio-common/tstdiomisc.c (F): Properly collect individual
21874 tests' results.
21875
a1cbf437
TS
21876 [BZ #14686, #15336]
21877 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21878 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21879 Instead, use input NaN values or generate a qNaN by arithmetic
21880 operation. Also fix bugs to comply with the standard.
21881 * math/libm-test.inc (remainder_test): Add more tests.
21882
8b43a0c9
TS
21883 [BZ #15335, #15342]
21884 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21886 input NaN values or generate a qNaN by arithmetic operation.
21887
d91da4ce
TS
21888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21889 unreachable code.
21890
bf0f50df
TS
21891 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21892 definitions.
21893
05e166c8
JM
218942013-04-03 Joseph Myers <joseph@codesourcery.com>
21895
21896 [BZ #14478]
21897 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21898 underflowed result.
21899 * math/s_cexpf.c (__cexpf): Likewise.
21900 * math/s_cexpl.c (__cexpl): Likewise.
21901 * math/libm-test.inc (cexp_test): Add more tests.
21902
1cef1b19
AS
219032013-04-03 Andreas Schwab <schwab@suse.de>
21904
21905 [BZ #15330]
21906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21907 order arrays from heap if bigger than alloca cutoff.
21908
74d87055
TS
219092013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21910
21911 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21912 (SNAN_TESTS_double): Refer to GCC PR56831.
21913 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21914 GCC PR56828.
21915
d755bba4
SP
219162013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21917
90d5d5bb
SP
21918 * Rules (bench): Move bench.out after the run is complete.
21919
73e0cd5d
SP
21920 * Rules (bench): Echo currently running benchmark.
21921
64aabd4b
SP
21922 * benchtests/Makefile (bench): Add atan and slowatan.
21923 * benchtests/atan-inputs: New file.
21924 * benchtests/slowatan-inputs: New file.
21925 * benchtests/slowatan.c: New file.
21926
c871eccd
SP
21927 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21929 its value.
21930
d755bba4
SP
21931 [BZ #15305]
21932 * sysdeps/unix/sysv/linux/kernel-features.h
21933 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21934 __ASSUME_XFS_RESTRICTED_CHOWN.
21935 * sysdeps/unix/sysv/linux/pathconf.c
21936 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21937 Save and restore errno.
21938
52ce4860
JM
219392013-04-02 Joseph Myers <joseph@codesourcery.com>
21940
21941 [BZ #15327]
21942 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21943 arguments using __kernel_casinh.
21944 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21945 arguments using __kernel_casinhf.
21946 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21947 arguments using __kernel_casinhl.
21948 * math/libm-test.inc (cacosh_test): Add more tests.
21949 * sysdeps/i386/fpu/libm-test-ulps: Update.
21950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951
81f311c2
SP
219522013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21953
e7906a47
SP
21954 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21956
92e3664b
SP
21957 * bench/Makefile (bench): Add sin and slowsin.
21958 * benchtests/sin-inputs: New file.
21959 * benchtests/slowsin-inputs: New file.
21960 * benchtests/slowsin.c: New file.
21961
81f311c2
SP
21962 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21963 (bench): Add slowexp and slowpow.
21964 (exp-ITER): Increase iterations.
21965 (pow-ITER): Likewise.
21966 * benchtests/exp-inputs: Change input.
21967 * benchtests/pow-inputs: Likewise.
21968 * benchtests/slowexp-inputs: New file.
21969 * benchtests/slowexp.c: New file.
21970 * benchtests/slowpow-inputs: New file.
21971 * benchtests/slowpow.c: New file.
21972
ab0f1aa9
AZ
219732013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21974
21975 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21976 instructions.
21977 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21978 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21979 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21980 * benchtests/Makefile: Add rint benchtest.
21981 * benchtests/rint-inputs: Input for rint benchtest.
21982
57267616
TS
219832013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21984
21985 * Versions.def (libm): Add GLIBC_2.18.
21986 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21987 hidden libm prototypes.
21988 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21989 * math/Makefile (libm-calls): Add s_issignaling.
21990 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21991 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21992 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21993 declaration.
21994 * math/math.h [__USE_GNU] (issignaling): New macro.
21995 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21996 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21998 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22001 * manual/arith.texi (issignaling): New section.
22002 * manual/libm-err-tab.pl (@all_functions): Update comment.
22003 * math/gen-libm-test.pl (parse_args): Apply special handling for
22004 issignaling.
22005 * math/libm-test.inc (print_float, issignaling_test): New
22006 functions.
22007 (check_float_internal): Add issignaling checks.
22008 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22009 default definition.
22010 * sysdeps/powerpc/math-tests.h: New file.
22011 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22012 tests.
22013 * math/test-snan.c (TEST_FUNC): Likewise.
22014
6142896d
DM
220152013-03-30 David S. Miller <davem@davemloft.net>
22016
22017 * po/de.po: Update from translation team.
22018
ccc8cadf
JM
220192013-03-30 Joseph Myers <joseph@codesourcery.com>
22020
22021 [BZ #10357]
22022 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22023 imaginary part less than 1.0 and real part less than 0.5
22024 specially.
22025 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22026 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22027 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22028 (cacos_test): Add more tests.
22029 (casin_test): Likewise.
22030 (casinh_test): Likewise.
22031 * sysdeps/i386/fpu/libm-test-ulps: Update.
22032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22033
0f6a8d4b
SP
220342013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
0d1029de
SP
22036 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22037 ONE with its value.
22038
c2d94018
SP
22039 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22040 (__pow_mp): Replace ONE and MONE with their values.
22041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22043 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22044 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22045 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22046 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22047
27ec37f1
SP
22048 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22049
a64d7e0e
SP
22050 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22051 (__pow_mp): Replace ZERO and MZERO with their values.
22052 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22053 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22054 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22056 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22057 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22058 (__sqr): Likewise.
22059
d26dd3eb
SP
22060 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22061
0f6a8d4b
SP
22062 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22063
e57b0c61
RM
220642013-03-28 Roland McGrath <roland@hack.frob.com>
22065
22066 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22067 Declare with __attribute__ ((weak)).
22068 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22069 Call __call_tls_dtors only if it's not NULL.
22070
356b3480
RM
220712013-03-28 Roland McGrath <roland@hack.frob.com>
22072
288f7d79
RM
22073 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22074 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22075 magic __ehdr_start linker symbol if it's defined.
22076 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22077 them up here if it was already done.
22078
dc0a0263
RM
22079 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22080 (_dl_aux_init): Use const in cast when setting it.
22081 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22082 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22083 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22084
3d3436ae
RM
22085 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22086 Declare them here.
22087 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22088 * csu/libc-tls.c: Nor here.
22089 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22090
356b3480
RM
22091 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22092 (__libc_message): Never call vsyslog.
22093
b0f1246a
AM
220942013-03-28 Alan Modra <amodra@gmail.com>
22095
22096 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22097 Define as empty.
22098 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22099 Likewise.
22100
fbbe2b9a
AZ
221012013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22102
22103 [BZ #15214]
22104 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22105 underflow.
22106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22107
1728ab37
SP
221082013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22109
7a86be6e
SP
22110 [BZ #15304]
22111 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22112 Don't add gid passed as argument.
22113
1728ab37
SP
22114 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22115
3a7182a1
JM
221162013-03-27 Joseph Myers <joseph@codesourcery.com>
22117
22118 [BZ #15307]
22119 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22120 imaginary part between 1.0 and 1.5 and real part less than 0.5
22121 specially.
22122 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22123 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22124 * math/libm-test.inc (cacos_test): Add more tests.
22125 (casin_test): Likewise.
22126 (casinh_test): Likewise.
22127 * sysdeps/i386/fpu/libm-test-ulps: Update.
22128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22129
6f2e90e7
SP
221302013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22131
5739f705
SP
22132 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22133 constants.
22134 (norm): Likewise.
22135 (denorm): Likewise.
22136 (__dbl_mp): Likewise.
22137 (add_magnitudes): Likewise.
22138 (sub_magnitudes): Likewise.
22139 (__add): Likewise.
22140 (__sub): Likewise.
22141 (__mul): Likewise.
22142 (__sqr): Likewise.
22143 (__inv): Likewise.
22144 (__dvd): Likewise.
22145
e375e83d
SP
22146 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22147 commented code.
22148 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22149 (__dubcos): Likewise.
22150 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22151 (__ieee754_acos): Likewise.
22152 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22153 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22154 (__exp1): Likewise.
22155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22156 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22157 (log1): Likewise.
22158 (my_log2): Likewise.
22159 (checkint): Likewise.
22160 * sysdeps/ieee754/dbl-64/e_remainder.c
22161 (__ieee754_remainder): Likewise.
22162 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22163 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22164 (bsloww): Likewise.
22165 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22166
6f2e90e7
SP
22167 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22168 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22169 MANTISSA_STORE_T to store computations on mantissa. Use
22170 macros for rounding and division.
22171 (denorm): Likewise.
22172 (__dbl_mp): Likewise.
22173 (add_magnitudes): Likewise.
22174 (sub_magnitudes): Likewise.
22175 (__mul): Likewise.
22176 (__sqr): Likewise.
22177 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22178 powers of two in terms of TWOPOW macro.
22179 (mp_no): Make type of mantissa as MANTISSA_T.
22180 [!RADIXI]: Define RADIXI.
22181 [!TWO52]: Define TWO52.
22182 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22183
fce14d4e
AZ
221842013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22185
22186 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22187 llroundl symbol when building for PPC32.
22188
9ad027fb
MW
221892013-03-24 Mark H Weaver <mhw@netris.org>
22190
22191 * manual/arith.texi (Normalization Functions): Fix prototypes for
22192 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22193
e42a38dd
AZ
221942013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22195
22196 [BZ #13889]
22197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22198 high value to check if expl overflow.
22199 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22200 to check for underflow and overflow.
22201 * math/libm-test.inc: Add exp test.
22202
2e0fb521
DL
222032013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22204
22205 [BZ #11120]
22206 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22207 with NOT_IN_libc.
22208
b5784d95
AZ
222092013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22210
22211 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22212 symbol.
22213
5aa4a1a1
TS
222142013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22215
bdef0be7
TS
22216 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22217 wrap blocks consisting of several statements.
22218
5aa4a1a1
TS
22219 * sysdeps/generic/math-tests.h: New file.
22220 * sysdeps/i386/fpu/math-tests.h: Likewise.
22221 * math/test-snan.c: Include it.
22222 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22223
98c48fe5
JM
222242013-03-21 Joseph Myers <joseph@codesourcery.com>
22225
22226 [BZ #15285]
22227 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22228 (__ieee754_j0l): Do not improve calculations using cos of twice
22229 input for inputs above LDBL_MAX / 2.0L.
22230 (__ieee754_y0l): Likewise.
22231 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22232 (__ieee754_j1l): Do not improve calculations using cos of twice
22233 input for inputs above LDBL_MAX / 2.0L.
22234 (__ieee754_y1l): Likewise.
22235 * math/libm-test.inc (j0_test): Add another test.
22236 (j1_test): Likewise.
22237 (y0_test): Likewise.
22238 (y1_test): Likewise.
22239 * sysdeps/i386/fpu/libm-test-ulps: Update.
22240
3775a8bc
SP
222412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22242
22243 * Rules ($(objpfx)bench-%.c): Include code from a C source
22244 file.
22245
0a1b2ae6
JM
222462013-03-21 Joseph Myers <joseph@codesourcery.com>
22247
22248 [BZ #15287]
22249 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22250 imaginary part 1.0 and real part less than 0.5 specially.
22251 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22252 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22253 * math/libm-test.inc (cacos_test): Add more tests.
22254 (casin_test): Likewise.
22255 (casinh_test): Likewise.
22256 * sysdeps/i386/fpu/libm-test-ulps: Update.
22257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22258
b33d4ce4
SP
222592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22260
22261 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22262 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22263
bef0b507
JM
222642013-03-20 Joseph Myers <joseph@codesourcery.com>
22265
22266 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22267 * config.make.in (config-cflags-sse4): Remove variable.
22268 (config-cflags-avx): Likewise.
22269 (config-cflags-sse2avx): Likewise.
22270 (config-cflags-novzeroupper): Likewise.
22271 (config-asflags-i686): Likewise.
22272 (have-mfma4): Likewise.
22273 (have-as-vis3): Likewise.
22274 (MIG): Likewise.
22275 * configure.in (MIG): Do not AC_SUBST.
22276 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22277 (libc_cv_cc_sse4): Do not AC_SUBST.
22278 (libc_cv_cc_avx): Likewise.
22279 (libc_cv_cc_sse2avx): Likewise.
22280 (libc_cv_cc_novzeroupper): Likewise.
22281 (libc_cv_cc_fma4): Likewise.
22282 (libc_cv_as_i686): Likewise.
22283 (libc_cv_sparc_as_vis3): Likewise.
22284 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22285 LIBC_CONFIG_VAR.
22286 (config-asflags-i686): Likewise.
22287 (config-cflags-avx): Likewise.
22288 (config-cflags-sse2avx): Likewise.
22289 (have-mfma4): Likewise.
22290 (config-cflags-novzeroupper): Likewise.
22291 * sysdeps/mach/configure.in (MIG): Likewise.
22292 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22293 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22294 LIBC_CONFIG_VAR.
22295 (config-cflags-avx): Likewise.
22296 (config-cflags-sse2avx): Likewise.
22297 (have-mfma4): Likewise.
22298 (config-cflags-novzeroupper): Likewise.
22299 * configure: Regenerated.
22300 * sysdeps/i386/configure: Likewise.
22301 * sysdeps/mach/configure: Likewise.
22302 * sysdeps/sparc/configure: Likewise.
22303 * sysdeps/x86_64/configure: Likewise.
22304
912cc4b3
RM
223052013-03-20 Roland McGrath <roland@hack.frob.com>
22306
22307 [BZ #14812]
22308 * locale/programs/localedef.c (options): Put N_ translation marker
22309 on argument names, not just descriptions.
22310
04eed2b0
MS
223112013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22312
22313 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22314
a065ceff
OB
223152013-03-20 Ondřej Bílka <neleai@seznam.cz>
22316
9bb2a810 22317 [BZ #14176]
a065ceff
OB
22318 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22319
a600e5ce
RM
223202013-03-19 Roland McGrath <roland@hack.frob.com>
22321
22322 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22323 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22324 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22325 [!BEFORE_ABORT] (before_abort): New function.
22326 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22327 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22328 (writev_for_fatal): New function.
22329 (WRITEV_FOR_FATAL): New macro; call that.
22330 (backtrace_and_maps): New function.
22331 (BEFORE_ABORT): New macro; call that.
22332 (struct str_list): Type removed.
22333 (__libc_message, __libc_fatal): Functions removed.
22334 Include <sysdeps/posix/libc_fatal.c> instead.
22335
6b18bea6
JM
223362013-03-19 Joseph Myers <joseph@codesourcery.com>
22337
22338 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22339 constants.
22340 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22341 double constants.
22342
aaa8cb4b
AS
223432013-03-19 Andreas Schwab <schwab@suse.de>
22344
44673770
AS
22345 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22346 * sysdeps/gnu/configure: Regenerate.
22347
aaa8cb4b
AS
22348 * configure.in: Substitute libc_cv_rtlddir.
22349 * configure: Regenerate.
22350 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22351 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22352 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22353 * elf/Makefile (install-others, CFLAGS-interp.c)
22354 (ldso_install, common-ldd-rewrite): Likewise.
22355 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22356 $(inst_slibdir)/$(rtld-installed-name).
22357 * scripts/rellns-sh: Add -p option.
22358 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22359 for source.
22360
d3cfc668
SP
223612013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22362
22363 * manual/nptl.texi: Renamed to ...
22364 * manual/threads.texi: ... this.
22365 * manual/Makefile (chapters): Update.
22366
0e2b9cdd
RM
223672013-03-18 Roland McGrath <roland@hack.frob.com>
22368
22369 [BZ #14812]
22370 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22371 on argument names, not just descriptions.
0e2b9cdd
RM
22372 * malloc/memusagestat.c (options): Likewise.
22373 * nss/getent.c (options): Likewise.
63270c24
RM
22374
223752013-03-18 Benno Schulenberg <bensberg@justemail.net>
22376
22377 [BZ #14812]
22378 * iconv/iconv_prog.c (options): Put N_ translation marker
22379 on argument names, not just descriptions.
22380 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22381
b2e1393c
OB
223822013-03-18 Ondrej Bilka <neleai@seznam.cz>
22383
22384 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22385 implementation which is faster on all x86_64 architectures.
22386 Tested on AMD, Intel Nehalem, SNB, IVB.
22387 * sysdeps/x86_64/strnlen.S: Likewise.
22388
22389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22390 Remove all multiarch strlen and strnlen versions.
22391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22392 Remove strlen and strnlen related parts.
22393
22394 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22395 Inline strlen part.
22396 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22397
22398 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22399 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22400 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22401 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22402 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22403 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22404
ec4ff04d
CD
224052013-03-17 Carlos O'Donell <carlos@redhat.com>
22406
22407 * manual/memory.texi (Malloc Tunable Parameters):
22408 Sort parameters alphabetically. Add comments for missing entries.
22409
cd18e90a
DM
224102013-03-17 David S. Miller <davem@davemloft.net>
22411
22412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22413
2a185d32
JM
224142013-03-16 Joseph Myers <joseph@codesourcery.com>
22415
d2f9799e
JM
22416 [BZ #15283]
22417 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22418 for arguments at most half maximum finite value.
22419 * math/libm-test.inc (j0_test): Add more tests.
22420 (j1_test): Likewise.
22421 (y0_test): Likewise.
22422 (y1_test): Likewise.
22423 * sysdeps/i386/fpu/libm-test-ulps: Update.
22424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22425
2a185d32
JM
22426 [BZ #14155]
22427 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22428 1 / x and functions P and Q for arguments above 0x1p256L.
22429 (__ieee754_y0l): Likewise.
22430 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22431 (__ieee754_y1l): Likewise.
22432 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22433 (j1_test): Likewise.
22434 (y0_test): Likewise.
22435 (y1_test): Likewise.
22436
6cbec759
TS
224372013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22438
22439 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22440 variable.
22441
bc16e260
RM
224422013-03-15 Roland McGrath <roland@hack.frob.com>
22443
aefc9b8c
RM
22444 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22445 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22446 zero since it's initialized to EXEC_PAGESIZE.
22447
bc16e260
RM
22448 * sysdeps/unix/sysv/linux/ldsodefs.h
22449 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22450 * sysdeps/generic/ldsodefs.h: ... here.
22451
a57da955
TS
224522013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22453
af00a34d
TS
22454 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22455
495ded2c
TS
22456 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22457 math/test-snan.c.
22458 * math/test-snan.c: Renamed from
22459 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22460 * math/Makefile (tests): Add test-snan.
22461 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22462 test-powerpc-snan.
22463
777b0332
TS
22464 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22465 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22466 functions.
22467 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22468 __builtin_nan family of functions.
22469 * math/libm-test.inc (initialize): Initialize qnan_value with
22470 __builtin_nan family of functions.
22471 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22472 Remove variables.
22473 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22474 Remove functions.
22475 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22476 storage class. Initialize qNaN_var and sNaN_var with
22477 __builtin_nan and __builtin_nans families of functions,
22478 respectively.
22479
64d063b8
TS
22480 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22481 (sqrt_test): Remove duplicate test with qNaN input.
22482 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22483 (round_test, signbit_test, significand_test): Note missing +/-Inf
22484 as well as qNaN tests.
22485
67e971f1
TS
22486 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22487 qNaN_var. Fix a few strings, too.
22488 * math/libm-test.inc (nan_value): Rename to qnan_value.
22489 * math/gen-libm-test.pl (%beautify): Adjust to that.
22490 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22491 * math/test-misc.c (main): Likewise.
22492 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22493 to __qnan_bytes, and __qnan_union, respectively.
22494 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22495 Likewise.
22496 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22497 and lqnanval, respectively.
22498 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22499 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22500 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22501 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22502
64487e12
TS
22503 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22504 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22505 doubles.
22506
e015e27b
TS
22507 * math/test-misc.c (main): Fix copy'n'pastos.
22508 * misc/tst-efgcvt.c (special): Likewise.
22509
a57da955
TS
22510 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22511 Remove declarations.
22512
1e380345
SP
225132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22514
22515 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22516 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22517 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22518 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22519
ef26eece
AZ
225202013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22521
22522 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22523 macro to return vdso values correctly in IFUNC implementations.
22524 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22525 Optimization by using IFUNC.
22526
8cfdb7e0
SP
225272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22528 Richard Henderson <rth@redhat.com>
22529 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22530
22531 * Makefile.in (bench): New target.
22532 * NEWS: Mention the benchmark framework.
22533 * Rules (bench): Likewise.
22534 (binaries-bench): Generate binaries for functions to
22535 benchmark.
22536 * benchtests/Makefile: New makefile for benchmark tests.
22537 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22538 programs.
22539 * benchtests/exp-inputs: New input file for EXP function.
22540 * benchtests/pow-inputs: New input file for POW function.
22541 * scripts/bench.pl: New script to generate source files for
22542 benchmark programs.
22543
bcda9880
SP
225442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22545
d22ca8cd
SP
22546 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22547 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22548 computations on mantissa. Use macros for rounding and
22549 division.
22550 (denorm): Likewise.
22551 (__dbl_mp): Likewise.
22552 (add_magnitudes): Likewise.
22553 (sub_magnitudes): Likewise.
22554 (__mul): Likewise.
22555 (__sqr): Likewise.
22556 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22557 powers of two in terms of TWOPOW macro.
22558 (mp_no): Make type of mantissa as MANTISSA_T.
22559 [!RADIXI]: Define RADIXI.
22560 [!TWO52]: Define TWO52.
22561 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22562
bcda9880
SP
22563 * manual/nptl.texi (cindex): Modify threads to pthreads.
22564
06d5adfb
JM
225652013-03-15 Joseph Myers <joseph@codesourcery.com>
22566
22567 * sysdeps/x86_64/preconfigure: Regenerated.
22568
41c7328e
JM
225692013-03-14 Joseph Myers <joseph@codesourcery.com>
22570
22571 [BZ #14155]
22572 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22573 0x1p28 and above.
22574 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22575 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22576 0x1p28 and above.
22577 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22578 * math/libm-test.inc (j0_test): Do not allow one spurious
22579 underflow exception.
22580 (y1_test): Likewise.
22581
e25cfa60
SP
225822013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22583
0409959c
SP
22584 * manual/Makefile (chapters): Add nptl.
22585 * manual/debug.texi (Debugging Support): Add link to Threads
22586 chapter.
22587 * manual/nptl.texi: New file.
22588
e25cfa60
SP
22589 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22590
58a1335e
PB
225912013-03-14 Petr Baudis <pasky@ucw.cz>
22592
22593 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22594 for non-NULL pointer before the memory validity test. Pointed
22595 out by Holger Brunck <holger.brunck@keymile.com>.
22596
9dc7c64f
AS
225972013-03-13 Andreas Schwab <schwab@suse.de>
22598
22599 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22600 instead of .os.
22601
54206aa6
JM
226022013-03-13 Joseph Myers <joseph@codesourcery.com>
22603
22604 * timezone/zic.c: Update from tzcode 2013b.
22605
e98cdb38
CD
226062013-03-12 Carlos O'Donell <carlos@redhat.com>
22607
22608 * manual/install.texi (Configuring and compiling):
22609 Mention i686 and i586.
22610 * INSTALL: Regenerate.
22611
9967e003
RM
226122013-03-12 Roland McGrath <roland@hack.frob.com>
22613
22614 * sysdeps/init_array/elf-init.c: New file.
22615 * csu/elf-init.c
22616 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22617 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22618
22619 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22620 __gmon_start__ as global, but as static with a .preinit_array pointer.
22621 * sysdeps/init_array/gmon-start.c: New file. Use that.
22622 * sysdeps/init_array/crti.S: New file, empty except for comments.
22623 * sysdeps/init_array/crtn.S: Likewise.
22624
e6b5a293 226252013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22626
22627 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22628 definining bcopy.
80f844c9
OB
22629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22630 Remove Prefer_SSE_for_memop.
22631 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22632 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22633 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22635 memset-x86-64.
80f844c9 22636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22637 Remove bzero, memset ifunc support.
80f844c9
OB
22638 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22639 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22640 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22641 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22642
fb6b0fcb
AS
226432013-03-11 Andreas Schwab <schwab@suse.de>
22644
22645 [BZ #15234]
22646 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22647 by SHLIB_COMPAT.
22648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22649 (GLIBC_2.16): Remove pthread_atfork.
22650
3e6bd4b1
PP
226512013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22652
22653 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22654 (ptestcases.h): Likewise.
22655
222d7f00
RM
226562013-03-08 Roland McGrath <roland@hack.frob.com>
22657
22658 * Makeconfig ($(common-objpfx)config.status): Depend on
22659 sysdeps/*/preconfigure{,.in} too.
22660
1ba4f030
JM
226612013-03-08 Joseph Myers <joseph@codesourcery.com>
22662
a222d91a
JM
22663 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22664 (__free_hook): Use void * instead of __malloc_ptr_t.
22665 (__malloc_hook): Likewise.
22666 (__realloc_hook): Likewise.
22667 (__memalign_hook): Likewise.
22668 (__after_morecore_hook): Likewise.
22669 * malloc/arena.c (save_malloc_hook): Likewise.
22670 (save_free_hook): Likewise.
22671 * malloc/hooks.c (malloc_hook_ini): Likewise.
22672 (realloc_hook_ini): Likewise.
22673 (memalign_hook_ini): Likewise.
22674 * malloc/malloc.c (malloc_hook_ini): Likewise.
22675 (realloc_hook_ini): Likewise.
22676 (memalign_hook_ini): Likewise.
22677 (__free_hook): Likewise.
22678 (__malloc_hook): Likewise.
22679 (__realloc_hook): Likewise.
22680 (__memalign_hook): Likewise.
22681 (__libc_malloc): Likewise.
22682 (__libc_free): Likewise.
22683 (__libc_realloc): Likewise.
22684 (__libc_memalign): Likewise.
22685 (__libc_valloc): Likewise.
22686 (__libc_pvalloc): Likewise.
22687 (__libc_calloc): Likewise.
22688 (__posix_memalign): Likewise.
22689 * malloc/morecore.c (__sbrk): Likewise.
22690 (__default_morecore): Likewise.
22691
5cc45e10
JM
22692 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22693
dd54b864
JM
22694 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22695 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22696 __malloc_ptrdiff_t.
22697
1ba4f030
JM
22698 * malloc/malloc.h (__malloc_size_t): Remove macro.
22699 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22700 __malloc_size_t.
22701 (old_memalign_hook): Likewise.
22702 (old_realloc_hook): Likewise.
22703 (struct hdr): Likewise.
22704 (flood): Likewise.
22705 (mallochook): Likewise.
22706 (memalignhook): Likewise.
22707 (reallochook): Likewise.
22708 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22709 (tr_old_realloc_hook): Likewise.
22710 (tr_old_memalign_hook): Likewise.
22711 (tr_mallochook): Likewise.
22712 (tr_reallochook): Likewise.
22713 (tr_memalignhook): Likewise.
22714
edf66e57
AZ
227152013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22716
22717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22718 default_ldbl_pack and using as default implementation.
22719 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22720 implementation.
22721 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22722 redundant definition.
22723 (ldbl_insert_mantissa): Likewise.
22724 (ldbl_canonicalize): Likewise.
22725 (ldbl_nearbyint): Likewise.
22726 (ldbl_pack): Rename to ldbl_pack_ppc.
22727 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22728 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22729 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22730
6d9145d8
SP
227312013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22732
22733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22734 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22735 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22736 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22738 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22739 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22740 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22741
4dd4e157
AJ
227422013-03-07 Andreas Jaeger <aj@suse.de>
22743
22744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22745 bits/mman-linux.h.
22746
adbb8027
SP
227472013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22748
ce544b5b
SP
22749 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22750 Include mpa.h and declare __MPEXP.
22751 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22752 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22753 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22754 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22755 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22756 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22757 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22758
4cc149fd
SP
22759 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22760 (__slowpow): Use long double EXPL and LOGL functions to
22761 compute POW.
22762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22763 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22766 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22768
e6ebd4a7
SP
22769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22770 intermediate variable to calculate exponent.
22771 (__sqr): Likewise.
22772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22773 Likewise.
22774 (__sqr): Likewise.
22775
82a9811d
SP
22776 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22777 [!NO__SQR]: Define __sqr.
22778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22779 and NO__SQR. Remove all code except __mul and __sqr. Include
22780 sysdeps/ieee754/dbl-64/mpa.c.
22781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22782
adbb8027
SP
22783 [BZ #12723]
22784 * posix/Makefile (tests): Add tst-pathconf.
22785 * posix/tst-pathconf.c: New test case.
22786 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22787 _PC_PIPE_BUF.
22788 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22789
39120df9
PF
227902013-03-06 Patsy Franklin <pfrankli@redhat.com>
22791
22792 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22793
67525cb8
AJ
227942013-03-06 Andreas Jaeger <aj@suse.de>
22795
664a9ce4
AJ
22796 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22797 definition via __MAP_ANONYMOUS.
22798
8e39047d
AJ
22799 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22800 it's not part of Linux headers.
22801
67525cb8
AJ
22802 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22803 (MAP_HUGE_MASK): Define.
22804
22805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22806 Define.
22807 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22809 Define.
22810 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22811 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22812 Define.
22813 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22815 Define.
22816 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22817
22818 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22819 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22820 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22821 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22822 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22823 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22824
22825 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22826 Handle f2fs.
22827
22828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22829 Handle f2fs and efivarfs.
22830
22831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22832 f2fs.
22833
22834 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22835 (EFIVARFS_MAGIC): Add.
22836 (F2FS_LINK_MAX): Add.
22837
e1b42695
PP
228382013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22839
22840 * stdio-common/vfprintf.c: Replace __builtin_expect with
22841 __glibc_unlikely.
22842
2d67d91a
JM
228432013-03-06 Joseph Myers <joseph@codesourcery.com>
22844
22845 [BZ #13550]
22846 * sysdeps/generic/bp-sym.h: Remove file.
22847 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22848 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22849 <bp-sym.h> and <bp-asm.h>.
22850 (__longjmp): Don't use BP_SYM.
22851 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22852 and <bp-asm.h>.
22853 (memcpy): Don't use BP_SYM.
22854 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22855 <bp-sym.h> and <bp-asm.h>.
22856 (memcpy): Don't use BP_SYM.
22857 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22858 <bp-asm.h>.
22859 (memcpy): Don't use BP_SYM.
22860 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22861 <bp-asm.h>.
22862 (memset): Don't use BP_SYM.
22863 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22864 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22865 (__bzero): Don't use BP_SYM.
22866 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22867 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22868 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22869 <bp-sym.h> and <bp-asm.h>.
22870 (memcmp): Don't use BP_SYM. Remove comment about bounded
22871 pointers.
22872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22873 <bp-sym.h> and <bp-asm.h>.
22874 (memcpy): Don't use BP_SYM.
22875 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22876 <bp-sym.h> and <bp-asm.h>.
22877 (memset): Don't use BP_SYM.
22878 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22879 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22880 (__bzero): Don't use BP_SYM.
22881 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22882 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22884 <bp-sym.h> and <bp-asm.h>.
22885 (strncmp): Don't use BP_SYM. Remove comment about bounded
22886 pointers.
22887 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22888 <bp-sym.h> and <bp-asm.h>.
22889 (memcpy): Don't use BP_SYM.
22890 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22891 <bp-sym.h> and <bp-asm.h>.
22892 (memset): Don't use BP_SYM.
22893 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22894 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22895 (__bzero): Don't use BP_SYM.
22896 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22897 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22898 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22899 <bp-sym.h> and <bp-asm.h>.
22900 (__memchr): Don't use BP_SYM.
22901 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22902 <bp-sym.h> and <bp-asm.h>.
22903 (memcmp): Don't use BP_SYM. Remove comment about bounded
22904 pointers.
22905 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22906 <bp-sym.h> and <bp-asm.h>.
22907 (memcpy): Don't use BP_SYM.
22908 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22909 <bp-sym.h> and <bp-asm.h>.
22910 (__mempcpy): Don't use BP_SYM.
22911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22912 <bp-sym.h> and <bp-asm.h>.
22913 (__memrchr): Don't use BP_SYM.
22914 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22915 <bp-sym.h> and <bp-asm.h>.
22916 (memset): Don't use BP_SYM.
22917 (__bzero): Likewise.
22918 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22919 <bp-sym.h> and <bp-asm.h>.
22920 (__rawmemchr): Don't use BP_SYM.
22921 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22922 <bp-sym.h> and <bp-asm.h>.
22923 (__STRCMP): Don't use BP_SYM.
22924 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22925 <bp-sym.h> and <bp-asm.h>.
22926 (strchr): Don't use BP_SYM.
22927 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22928 <bp-sym.h> and <bp-asm.h>.
22929 (__strchrnul): Don't use BP_SYM.
22930 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22931 <bp-sym.h> and <bp-asm.h>.
22932 (strlen): Don't use BP_SYM.
22933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22934 <bp-sym.h> and <bp-asm.h>.
22935 (strncmp): Don't use BP_SYM. Remove comment about bounded
22936 pointers.
22937 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22938 <bp-sym.h> and <bp-asm.h>.
22939 (__strnlen): Don't use BP_SYM.
22940 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22941 <bp-sym.h> and <bp-asm.h>.
22942 (__GI__setjmp): Don't use BP_SYM.
22943 (_setjmp): Likewise.
22944 (__sigsetjmp): Likewise.
22945 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22946 (L(start_addresses)): Don't use BP_SYM.
22947 (_start): Likewise.
22948 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22949 <bp-asm.h>.
22950 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22951 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22952 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22953 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22954 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22955 <bp-asm.h>.
22956 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22957 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22958 about bounded pointers.
22959 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22960 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22961 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22962 <bp-asm.h>.
22963 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22964 about bounded pointers. Remove GKM FIXME comments.
22965 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22966 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22967 <bp-asm.h>.
22968 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22969 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22970 Remove GKM FIXME comments.
22971 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22972 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22973 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22974 <bp-asm.h>.
22975 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22976 about bounded pointers. Remove GKM FIXME comment.
22977 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22978 and <bp-asm.h>.
22979 (strncmp): Don't use BP_SYM. Remove comment about bounded
22980 pointers.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22982 <bp-sym.h> and <bp-asm.h>.
22983 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22985 <bp-sym.h> and <bp-asm.h>.
22986 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22987 comment.
22988
cdcf361f
PP
229892013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22990
22991 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22992 call free(NULL).
22993
3c4a2b15
DM
229942013-03-05 David S. Miller <davem@davemloft.net>
22995
22996 * po/es.po: Update from translation team.
22997
cdcf361f 229982013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22999
23000 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23001 <bits/mman-linux.h>.
23002 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23003 is fine.
23004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23005 <bits/mman-linux.h> to end of file.
23006 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23007 is fine.
23008 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23009 <bits/mman-linux.h> to end of file.
23010 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23011 is fine.
23012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23013 <bits/mman-linux.h> to end of file.
23014
23015 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23016 (MCL_CURRENT, MCL_FUTURE): Define here.
23017
5f67c04f
AK
230182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23019
8a4473cc 23020 [BZ #15232]
5f67c04f
AK
23021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23022 attribute_hidden.
23023 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23024
c3e94a95
AK
230252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23026
23027 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23028 fourth parameter needed for rt_sigprocmask syscall.
23029 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23030 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23031 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23032 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23034 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23035
cfb6382a
JM
230362013-03-04 Joseph Myers <joseph@codesourcery.com>
23037
23038 [BZ #13550]
23039 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23040 comment about bounded pointers.
23041 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23042 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23043
539d8e01
AJ
230442013-03-04 Andreas Jaeger <aj@suse.de>
23045
23046 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23047 common definitions.
23048
23049 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23050 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23051 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23052 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23055
2e167a70 230562013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23057
23058 [BZ #15055]
23059 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23060 __ieee754_sqrl instead of __sqrl.
23061
68508633
JM
230622013-03-01 Joseph Myers <joseph@codesourcery.com>
23063
23064 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23065 * sysdeps/powerpc/fpu_control.h: ... here.
23066 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23067 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23068 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23069 * sysdeps/powerpc/bits/mathinline.h: ... here.
23070
7775448e
RM
230712013-03-01 Roland McGrath <roland@hack.frob.com>
23072
23073 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23074 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23075 to just [NEED_DL_SYSINFO_DSO].
23076 * elf/dl-support.c: Likewise.
23077 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23078 * elf/rtld.c (dl_main): Likewise.
23079 * elf/setup-vdso.h (setup_vdso): Likewise.
23080 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23081 * sysdeps/unix/sysv/linux/dl-sysdep.c
23082 (_dl_discover_osversion): Likewise.
23083
4e9b5995
CD
230842013-03-01 Carlos O'Donell <carlos@redhat.com>
23085
23086 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23087 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23088
e23872c8
SP
230892013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23090
e5c74c63
SP
23091 * NEWS: Mention libm performance improvements and non-x86 PI
23092 futex support.
23093
e23872c8
SP
23094 * csu/libc-start.c (__pthread_initialize_minimal): Change
23095 function arguments.
23096 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23097
b5510883
JM
230982013-02-28 Joseph Myers <joseph@codesourcery.com>
23099
23100 [BZ #13550]
23101 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23102 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23103 <bp-sym.h> and <bp-asm.h>.
23104 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23106 and <bp-asm.h>.
23107 (memcpy): Don't use BP_SYM.
23108 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23109 <bp-asm.h>.
23110 (__mpn_add_n): Don't use BP_SYM.
23111 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23112 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23113 and <bp-asm.h>.
23114 (__mpn_addmul_1): Don't use BP_SYM.
23115 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23116 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23117 <bp-sym.h>.
23118 (_setjmp): Don't use BP_SYM.
23119 (__novmx_setjmp): Likewise.
23120 (__GI__setjmp): Likewise.
23121 (__vmx_setjmp): Likewise.
23122 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23123 <bp-sym.h>.
23124 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23125 (__bzero): Don't use BP_SYM.
23126 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23127 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23128 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23129 <bp-sym.h> and <bp-asm.h>.
23130 (memcpy): Don't use BP_SYM.
23131 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23132 <bp-sym.h> and <bp-asm.h>.
23133 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23134 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23135 <bp-sym.h> and <bp-asm.h>.
23136 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23137 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23138 <bp-asm.h>.
23139 (__mpn_lshift): Don't use BP_SYM.
23140 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23141 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23142 <bp-asm.h>.
23143 (memset): Don't use BP_SYM.
23144 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23145 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23146 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23147 <bp-asm.h>.
23148 (__mpn_mul_1): Don't use BP_SYM.
23149 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23150 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23151 <bp-sym.h> and <bp-asm.h>.
23152 (memcmp): Don't use BP_SYM.
23153 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23154 <bp-sym.h> and <bp-asm.h>.
23155 (memcpy): Don't use BP_SYM.
23156 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23157 <bp-sym.h> and <bp-asm.h>.
23158 (memset): Don't use BP_SYM.
23159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23160 <bp-sym.h> and <bp-asm.h>.
23161 (strncmp): Don't use BP_SYM.
23162 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23163 <bp-sym.h> and <bp-asm.h>.
23164 (memcpy): Don't use BP_SYM.
23165 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23166 <bp-sym.h> and <bp-asm.h>.
23167 (memset): Don't use BP_SYM.
23168 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23169 <bp-sym.h> and <bp-asm.h>.
23170 (__memchr): Don't use BP_SYM.
23171 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23172 <bp-sym.h> and <bp-asm.h>.
23173 (memcmp): Don't use BP_SYM.
23174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23175 <bp-sym.h> and <bp-asm.h>.
23176 (memcpy): Don't use BP_SYM.
23177 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23178 <bp-sym.h> and <bp-asm.h>.
23179 (__mempcpy): Don't use BP_SYM.
23180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23181 <bp-sym.h> and <bp-asm.h>.
23182 (__memrchr): Don't use BP_SYM.
23183 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23184 <bp-sym.h> and <bp-asm.h>.
23185 (memset): Don't use BP_SYM.
23186 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23187 <bp-sym.h> and <bp-asm.h>.
23188 (__rawmemchr): Don't use BP_SYM.
23189 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23190 <bp-sym.h> and <bp-asm.h>.
23191 (__STRCMP): Don't use BP_SYM.
23192 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23193 <bp-sym.h> and <bp-asm.h>.
23194 (strchr): Don't use BP_SYM.
23195 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23196 <bp-sym.h> and <bp-asm.h>.
23197 (__strchrnul): Don't use BP_SYM.
23198 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23199 <bp-sym.h> and <bp-asm.h>.
23200 (strlen): Don't use BP_SYM.
23201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23202 <bp-sym.h> and <bp-asm.h>.
23203 (strncmp): Don't use BP_SYM.
23204 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23205 <bp-sym.h> and <bp-asm.h>.
23206 (__strnlen): Don't use BP_SYM.
23207 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23208 <bp-asm.h>.
23209 (__mpn_rshift): Don't use BP_SYM.
23210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23211 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23212 <bp-sym.h> and <bp-asm.h>.
23213 (__sigsetjmp): Don't use BP_SYM.
23214 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23215 (L(start_addresses)): Don't use BP_SYM.
23216 (_start): Likewise.
23217 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23218 <bp-asm.h>.
23219 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23220 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23221 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23222 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23223 <bp-asm.h>.
23224 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23225 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23226 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23227 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23228 <bp-asm.h>.
23229 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23230 comments.
23231 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23232 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23233 <bp-asm.h>.
23234 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23235 FIXME comments.
23236 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23237 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23238 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23239 <bp-asm.h>.
23240 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23241 comment.
23242 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23243 and <bp-asm.h>.
23244 (strncmp): Don't use BP_SYM,
23245 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23246 <bp-asm.h>.
23247 (__mpn_sub_n): Don't use BP_SYM.
23248 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23249 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23250 and <bp-asm.h>.
23251 (__mpn_submul_1): Don't use BP_SYM.
23252 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23254 <bp-sym.h> and <bp-asm.h>.
23255 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23257 <bp-sym.h> and <bp-asm.h>.
23258 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23259 comment.
23260
8d19fe64
SP
232612013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23264 Use ZK to minimize writes to Z.
23265 (sub_magnitudes): Simplify code a bit.
23266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23267 Use ZK to minimize writes to Z.
23268 (sub_magnitudes): Simplify code a bit.
23269
85bd816a
RM
232702013-02-27 Roland McGrath <roland@hack.frob.com>
23271
23272 * csu/gmon-start.c: Add special exception to license text.
23273
b5977bf2
RH
232742013-02-27 Richard Henderson <rth@redhat.com>
23275
23276 * scripts/config.guess: Update from config.git.
23277 * scripts/config.sub: Likewise.
23278
11d6e2f2
SP
232792013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23280
09c14ed2
SP
23281 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23282
a688864e
SP
23283 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23284
6295157a
SP
23285 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23286
b8de2202
SP
23287 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23288
11d6e2f2
SP
23289 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23290
7e80ddb8
RM
232912013-02-26 Roland McGrath <roland@hack.frob.com>
23292
23293 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23294 [$(build-shared = yes].
7e80ddb8 23295
7da6d9ed
SP
232962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23297
45f05884
SP
23298 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23299 (__mul): Reduce iterations for calculating mantissa.
23300
2236d359
SP
23301 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23302 MPTWO.
23303 (__mpranred): Likewise.
23304
7da6d9ed
SP
23305 [BZ #15160]
23306 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23307 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23308
b7688c42
PE
233092013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23310
23311 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23312 Define __attribute__.
23313
53a5c423
SP
233142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23315
23316 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23317 unused.
23318 * posix/regex_internal.h (__attribute): Remove.
23319 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23320 (re_string_context_at): Likewise.
23321 (bitset_not): Use __attribute__ and mark function as possibly
23322 unused.
23323 (bitset_merge): Likewise.
23324 (bitset_mask): Likewise.
23325 (re_string_char_size_at): Likewise.
23326 (re_string_wchar_at): Likewise.
23327 (re_string_elem_size_at): Likewise.
23328
60f5a8b5
SP
233292013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23330
2a983a2e
SP
23331 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23332 code.
23333 (cc32): Likewise.
23334
e69804d1
SP
23335 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23336 (__acr): Likewise.
23337 (__cpy): Likewise.
23338 (norm): Likewise.
23339 (denorm): Likewise.
23340 (__dbl_mp): Likewise.
23341 (add_magnitudes): Likewise.
23342 (sub_magnitudes): Likewise.
23343 (__mul): Likewise.
23344 (__inv): Likewise.
23345
2f22a1e8
SP
23346 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23347 style.
23348
8930ddc7
SP
23349 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23350 style.
23351
dc60cb11
SP
23352 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23353 code.
23354
60f5a8b5
SP
23355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23356 up changes with default code.
23357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23358 Likewise.
23359
b4d1fd33
AM
233602013-02-24 Allan McRae <allan@archlinux.org>
23361
faf6f8bc
AM
23362 * manual/socket.texi (The Internet Namespace): Order menu items
23363 to match that in the file.
23364
b4d1fd33
AM
23365 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23366 node listing of the info page menu.
23367
2366713d
JM
233682013-02-21 Joseph Myers <joseph@codesourcery.com>
23369
23370 [BZ #13550]
23371 * sysdeps/i386/bp-asm.h: Remove file.
23372 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23373 (PARMS): Do not use macros from bp-asm.h.
23374 (S1): Likewise.
23375 (S2): Likewise.
23376 (SIZE): Likewise.
23377 (__mpn_add_n): Do not use BP_SYM
23378 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23379 "bp-asm.h".
23380 (PARMS): Do not use macros from bp-asm.h.
23381 (S1): Likewise.
23382 (SIZE): Likewise.
23383 (__mpn_addmul_1): Do not use BP_SYM
23384 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23385 "bp-asm.h".
23386 (PARMS): Do not use macros from bp-asm.h.
23387 (SIGMSK): Likewise.
23388 (_setjmp): Likewise. Do not use BP_SYM.
23389 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23390 "bp-asm.h".
23391 (PARMS): Do not use macros from bp-asm.h.
23392 (SIGMSK): Likewise.
23393 (setjmp): Likewise. Do not use BP_SYM.
23394 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23395 "bp-asm.h".
23396 (PARMS): Do not use macros from bp-asm.h.
23397 (__frexp): Do not use BP_SYM.
23398 (frexp): Likewise.
23399 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23400 "bp-asm.h".
23401 (PARMS): Do not use macros from bp-asm.h.
23402 (__frexpf): Do not use BP_SYM.
23403 (frexpf): Likewise.
23404 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23405 "bp-asm.h".
23406 (PARMS): Do not use macros from bp-asm.h.
23407 (__frexpl): Do not use BP_SYM.
23408 (frexpl): Likewise.
23409 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23410 "bp-asm.h".
23411 (PARMS): Do not use macros from bp-asm.h.
23412 (__remquo): Do not use BP_SYM.
23413 (remquo): Likewise.
23414 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23415 "bp-asm.h".
23416 (PARMS): Do not use macros from bp-asm.h.
23417 (__remquof): Do not use BP_SYM.
23418 (remquof): Likewise.
23419 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23420 "bp-asm.h".
23421 (PARMS): Do not use macros from bp-asm.h.
23422 (__remquol): Do not use BP_SYM.
23423 (remquol): Likewise.
23424 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23425 "bp-asm.h".
23426 (PARMS): Do not use macros from bp-asm.h.
23427 (DEST): Likewise.
23428 (SRC): Likewise.
23429 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23430 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23431 "bp-asm.h".
23432 (PARMS): Do not use macros from bp-asm.h.
23433 (strlen): Do not use BP_SYM.
23434 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23435 "bp-asm.h".
23436 (PARMS): Do not use macros from bp-asm.h.
23437 (S1): Likewise.
23438 (S2): Likewise.
23439 (SIZE): Likewise.
23440 (__mpn_add_n): Do not use BP_SYM.
23441 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23442 "bp-asm.h".
23443 (PARMS): Do not use macros from bp-asm.h.
23444 (S1): Likewise.
23445 (SIZE): Likewise.
23446 (__mpn_addmul_1): Do not use BP_SYM.
23447 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23448 weak_alias.
23449 (bzero): Likewise.
23450 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23451 "bp-asm.h".
23452 (PARMS): Do not use macros from bp-asm.h.
23453 (S): Likewise.
23454 (SIZE): Likewise.
23455 (__mpn_lshift): Do not use BP_SYM.
23456 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23457 "bp-asm.h".
23458 (PARMS): Do not use macros from bp-asm.h.
23459 (DEST): Likewise.
23460 (SRC): Likewise.
23461 (LEN): Likewise.
23462 (memcpy): Likewise. Do not use BP_SYM.
23463 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23464 libc_hidden_def and weak_alias.
23465 (mempcpy): Do not use BP_SYM in weak_alias.
23466 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23467 "bp-asm.h".
23468 (PARMS): Do not use macros from bp-asm.h.
23469 (DEST): Likewise.
23470 (LEN): Likewise.
23471 [!BZERO_P] (CHR): Likewise.
23472 (memset): Likewise. Do not use BP_SYM.
23473 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23474 "bp-asm.h".
23475 (PARMS): Do not use macros from bp-asm.h.
23476 (S1): Likewise.
23477 (SIZE): Likewise.
23478 (__mpn_mul_1): Do not use BP_SYM.
23479 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23480 "bp-asm.h".
23481 (PARMS): Do not use macros from bp-asm.h.
23482 (S): Likewise.
23483 (SIZE): Likewise.
23484 (__mpn_rshift): Do not use BP_SYM.
23485 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23486 "bp-asm.h".
23487 (PARMS): Do not use macros from bp-asm.h.
23488 (STR): Likewise.
23489 (CHR): Likewise.
23490 (strchr): Likewise. Do not use BP_SYM.
23491 (index): Do not use BP_SYM in weak_alias.
23492 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23493 "bp-asm.h".
23494 (PARMS): Do not use macros from bp-asm.h.
23495 (DEST): Likewise.
23496 (SRC): Likewise.
23497 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23498 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23499 "bp-asm.h".
23500 (PARMS): Do not use macros from bp-asm.h.
23501 (strlen): Do not use BP_SYM.
23502 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23503 "bp-asm.h".
23504 (PARMS): Do not use macros from bp-asm.h.
23505 (S1): Likewise.
23506 (S2): Likewise.
23507 (SIZE): Likewise.
23508 (__mpn_sub_n): Do not use BP_SYM.
23509 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23510 "bp-asm.h".
23511 (PARMS): Do not use macros from bp-asm.h.
23512 (S1): Likewise.
23513 (SIZE): Likewise.
23514 (__mpn_submul_1): Do not use BP_SYM.
23515 * sysdeps/i386/i686/add_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_add_n): Do not use BP_SYM.
23522 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23523 weak_alias.
23524 (bzero): Likewise.
23525 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23526 "bp-asm.h".
23527 (PARMS): Do not use macros from bp-asm.h.
23528 (BLK2): Likewise.
23529 (LEN): Likewise.
23530 (memcmp): Do not use BP_SYM.
23531 (bcmp): Do not use BP_SYM in weak_alias.
23532 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23533 "bp-asm.h".
23534 (PARMS): Do not use macros from bp-asm.h.
23535 (DEST): Likewise.
23536 (SRC): Likewise.
23537 (LEN): Likewise.
23538 (memcpy): Likewise. Do not use BP_SYM.
23539 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23540 "bp-asm.h".
23541 (PARMS): Do not use macros from bp-asm.h.
23542 (DEST): Likewise.
23543 (SRC): Likewise.
23544 (LEN): Likewise.
23545 (memmove): Likewise. Do not use BP_SYM.
23546 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23547 "bp-asm.h".
23548 (PARMS): Do not use macros from bp-asm.h.
23549 (DEST): Likewise.
23550 (SRC): Likewise.
23551 (LEN): Likewise.
23552 (__mempcpy): Likewise. Do not use BP_SYM.
23553 (mempcpy): Do not use BP_SYM in weak_alias.
23554 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23555 "bp-asm.h".
23556 (PARMS): Do not use macros from bp-asm.h.
23557 (DEST): Likewise.
23558 (LEN): Likewise.
23559 [!BZERO_P] (CHR): Likewise.
23560 (memset): Likewise. Do not use BP_SYM.
23561 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23562 "bp-asm.h".
23563 (PARMS): Do not use macros from bp-asm.h.
23564 (STR2): Likewise.
23565 (strcmp): Do not use BP_SYM.
23566 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23567 "bp-asm.h".
23568 (PARMS): Do not use macros from bp-asm.h.
23569 (STR): Likewise.
23570 (DELIM): Likewise.
23571 [USE_AS_STRTOK_R] (SAVE): Likewise.
23572 (FUNCTION): Likewise. Do not use BP_SYM.
23573 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23574 aliases.
23575 (strtok_r): Likewise.
23576 (__GI___strtok_r): Likewise.
23577 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23578 (PARMS): Do not use macros from bp-asm.h.
23579 (S): Likewise.
23580 (SIZE): Likewise.
23581 (__mpn_lshift): Do not use BP_SYM.
23582 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23583 (PARMS): Do not use macros from bp-asm.h.
23584 (STR): Likewise.
23585 (CHR): Likewise.
23586 (__memchr): Do not use BP_SYM.
23587 (memchr): Do not use BP_SYM in weak_alias.
23588 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23589 (PARMS): Do not use macros from bp-asm.h.
23590 (BLK2): Likewise.
23591 (LEN): Likewise.
23592 (memcmp): Do not use BP_SYM.
23593 (bcmp): Do not use BP_SYM in weak_alias.
23594 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23595 (PARMS): Do not use macros from bp-asm.h.
23596 (S1): Likewise.
23597 (SIZE): Likewise.
23598 (__mpn_mul_1): Do not use BP_SYM.
23599 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23600 "bp-asm.h".
23601 (PARMS): Do not use macros from bp-asm.h.
23602 (STR): Likewise.
23603 (CHR): Likewise.
23604 (__rawmemchr): Do not use BP_SYM.
23605 (rawmemchr): Do not use BP_SYM in weak_alias.
23606 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23607 (PARMS): Do not use macros from bp-asm.h.
23608 (S): Likewise.
23609 (SIZE): Likewise.
23610 (__mpn_rshift): Do not use BP_SYM.
23611 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23612 (PARMS): Do not use macros from bp-asm.h.
23613 (SIGMSK): Likewise.
23614 (__sigsetjmp): Likewise. Do not use BP_SYM.
23615 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23616 (_start): Do not use BP_SYM.
23617 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23618 (PARMS): Do not use macros from bp-asm.h.
23619 (DEST): Likewise.
23620 (SRC): Likewise.
23621 (__stpcpy): Likewise. Do not use BP_SYM.
23622 (stpcpy): Do not use BP_SYM in weak_alias.
23623 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23624 "bp-asm.h".
23625 (PARMS): Do not use macros from bp-asm.h.
23626 (DEST): Likewise.
23627 (SRC): Likewise.
23628 (LEN): Likewise.
23629 (__stpncpy): Likewise. Do not use BP_SYM.
23630 (stpncpy): Do not use BP_SYM in weak_alias.
23631 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23632 (PARMS): Do not use macros from bp-asm.h.
23633 (STR): Likewise.
23634 (CHR): Likewise.
23635 (strchr): Likewise. Do not use BP_SYM.
23636 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23637 "bp-asm.h".
23638 (PARMS): Do not use macros from bp-asm.h.
23639 (STR): Likewise.
23640 (CHR): Likewise.
23641 (__strchrnul): Likewise. Do not use BP_SYM.
23642 (strchrnul): Do not use BP_SYM in weak_alias.
23643 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23644 "bp-asm.h".
23645 (PARMS): Do not use macros from bp-asm.h.
23646 (STOP): Likewise.
23647 (strcspn): Do not use BP_SYM.
23648 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23649 "bp-asm.h".
23650 (PARMS): Do not use macros from bp-asm.h.
23651 (STR): Likewise.
23652 (STOP): Likewise.
23653 (strpbrk): Likewise. Do not use BP_SYM.
23654 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23655 "bp-asm.h".
23656 (PARMS): Do not use macros from bp-asm.h.
23657 (STR): Likewise.
23658 (CHR): Likewise.
23659 (strrchr): Likewise. Do not use BP_SYM.
23660 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23661 (PARMS): Do not use macros from bp-asm.h.
23662 (SKIP): Likewise.
23663 (strspn): Do not use BP_SYM.
23664 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23665 (PARMS): Do not use macros from bp-asm.h.
23666 (STR): Likewise.
23667 (DELIM): Likewise.
23668 (SAVE): Likewise.
23669 (FUNCTION): Likewise. Do not use BP_SYM.
23670 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23671 aliases.
23672 (strtok_r): Likewise.
23673 (__GI___strtok_r): Likewise.
23674 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23675 (PARMS): Do not use macros from bp-asm.h.
23676 (S1): Likewise.
23677 (S2): Likewise.
23678 (SIZE): Likewise.
23679 (__mpn_sub_n): Do not use BP_SYM.
23680 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23681 "bp-asm.h".
23682 (PARMS): Do not use macros from bp-asm.h.
23683 (S1): Likewise.
23684 (SIZE): Likewise.
23685 (__mpn_submul_1): Do not use BP_SYM.
23686 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23687 <bp-sym.h>.
23688 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23689 and <bp-asm.h>.
23690 (PARMS): Do not use macros from bp-asm.h.
23691 (FLAGS): Likewise.
23692 (PTID): Likewise.
23693 (TLS): Likewise.
23694 (CTID): Likewise.
23695 (__clone): Do not use BP_SYM.
23696 (clone): Do not use BP_SYM in weak_alias.
23697 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23698 and <bp-asm.h>.
23699 (PARMS): Do not use macros from bp-asm.h.
23700 (LEN): Likewise.
23701 (__mmap64): Do not use BP_SYM.
23702 (mmap64): Do not use BP_SYM in weak_alias.
23703 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23704 <bp-sym.h> and <bp-asm.h>.
23705 (PARMS): Do not use macros from bp-asm.h.
23706 (__posix_fadvise64_l64): Do not use BP_SYM.
23707 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23708 (PARMS): Do not use macros from bp-asm.h.
23709 (NSOPS): Likewise.
23710 (semtimedop): Do not use BP_SYM.
23711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23712 and <bp-asm.h>.
23713
582a3cff
AM
237142013-02-21 Allan McRae <allan@archlinux.org>
23715
23716 * manual/message.texi (Charset conversion in gettext):
23717 Move @end statement to beginning of line.
23718
bab8a695
SP
237192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23720
80945231
SP
23721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23722 static.
23723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23724 Likewise.
23725
bab8a695
SP
23726 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23727 (denorm): Likewise.
23728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23730
e21d7aa7
AK
237312013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23732
23733 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23734 tail-call to the resolved function if pltexit isn't needed.
23735
4c7a4263
SP
237362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23737
23738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23739 or Y being zero as being unlikely.
23740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23741 Likewise.
23742
41f49342
CD
237432013-02-20 Carlos O'Donell <carlos@redhat.com>
23744
23745 * manual/nss.texi (System Databases and Name Service Switch):
23746 Remove frobnicate @pxref.
23747
50022a93
TS
237482013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23749
23750 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23751 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23752
08cbd996
PM
237532013-02-20 Petr Machata <pmachata@redhat.com>
23754
23755 * elf/elf.h (R_ARM_TARGET1): New macro.
23756 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23757 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23758 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23759 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23760 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23761 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23762 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23763 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23764 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23765 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23766 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23767 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23768 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23769 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23770 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23771 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23772 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23773 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23774 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23775 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23776 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23777 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23778 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23779 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23780 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23781 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23782 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23783 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23784 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23785 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23786 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23787 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23788 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23789 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23790 (R_ARM_THM_GOT_BREL12): Likewise.
23791 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23792 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23793 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23794 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23795 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23796 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23797 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23798 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23799 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23800
c7b275d6
TS
238012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23802
23803 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23804 __attribute_used__ to __attribute__ ((unused)).
23805
20cd7fb3
SP
238062013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23807
23808 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23809 powerpc mpa.c.
23810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23811 comment formatting.
23812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23813
92945b52
JM
238142013-02-19 Joseph Myers <joseph@codesourcery.com>
23815
23816 [BZ #13550]
23817 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23818 Remove macro.
23819 (ENTER): Remove both macro definitions.
23820 (LEAVE): Likewise.
23821 (CHECK_BOUNDS_LOW): Likewise.
23822 (CHECK_BOUNDS_HIGH): Likewise.
23823 (CHECK_BOUNDS_BOTH): Likewise.
23824 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23825 (RETURN_BOUNDED_POINTER): Likewise.
23826 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23827 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23828 (POP_ERRNO_LOCATION_RETURN): Likewise.
23829 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23830 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23831 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23832 macros.
23833 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23834 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23835 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23836 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23837 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23838 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23839 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23840 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23841 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23842 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23843 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23844 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23845 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23846 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23847 removed macros.
23848 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23849 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23850 macros.
23851 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23852 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23853 * sysdeps/i386/i586/memset.S (memset): Likewise.
23854 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23855 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23856 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23857 macros.
23858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23859 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23860 Change uses of L(2) to L(out).
23861 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23862 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23863 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23864 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23865 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23866 removed macros.
23867 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23868 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23869 macros.
23870 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23871 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23872 (RETURN): Do not use macro LEAVE.
23873 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23874 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23875 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23876 * sysdeps/i386/i686/memset.S (memset): Likewise.
23877 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23878 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23880 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23881 Likewise.
23882 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23883 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23884 L(1_2) and L(1_3) into L(1).
23885 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23886 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23887 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23888 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23889 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23890 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23891 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23892 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23893 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23894 macros.
23895 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23896 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23897 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23898 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23899 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23900 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23901 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23902 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23903 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23904 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23905 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23906 * sysdeps/i386/strspn.S (strspn): Likewise.
23907 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23908 conditional code.
23909 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23910 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23911 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23912 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23913 L(1_3) into L(1_1).
23914 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23915 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23916 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23917 macros.
23918 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23919
2389741a
JJ
239202013-02-19 Jakub Jelinek <jakub@redhat.com>
23921
23922 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23923 macro.
23924
2016b3cd
SP
239252013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23926
e4f22324
SP
23927 * math/atest-exp.c (exp_mpn): Remove ROUND.
23928 * math/atest-exp2.c (exp_mpn): Likewise.
23929 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23930
2016b3cd
SP
23931 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23932 * stdlib/tst-tls-atexit-lib.c: Likewise.
23933 * stdlib/tst-tls-atexit.c: Likewise.
23934
4be9b544
MF
239352013-02-18 Mike Frysinger <vapier@gentoo.org>
23936
23937 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23938 and __attribute_alloc_size__.
23939
2f62b9ee
MF
239402013-02-18 Mike Frysinger <vapier@gentoo.org>
23941
23942 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23943 __attribute_alloc_size__.
23944 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23945 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23946
6ff444c4
MF
239472013-02-18 Mike Frysinger <vapier@gentoo.org>
23948
23949 * include/programs/xmalloc.h: New file.
23950 * catgets/gencat.c: Include it.
23951 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23952 * elf/pldd.c: Likewise.
23953 * iconv/iconv_charmap.c: Likewise.
23954 * iconv/iconvconfig.c: Likewise.
23955 * iconv/strtab.c: Likewise.
23956 * locale/programs/locale.c: Likewise.
23957 * locale/programs/localedef.h: Likewise.
23958 * locale/programs/simple-hash.c: Likewise.
23959 * nscd/nscd.h: Likewise.
23960 * nss/makedb.c: Likewise.
23961 * sysdeps/generic/ldconfig.h: Likewise.
23962
be179c8a
SP
239632013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23964
ba384f6e
SP
23965 * Versions.def: Add GLIBC_2.18.
23966 * include/link.h (struct link_map): New member l_tls_dtor_count.
23967 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23968 (__call_tls_dtors): Likewise.
23969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23970 __cxa_thread_atexit_impl.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23972 Likewise.
23973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23974 Likewise.
23975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23976 Likewise.
23977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23978 Likewise.
23979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23981 Likewise.
23982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23983 Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23986 Likewise.
23987 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23988 (tests): Add test case tst-tls-atexit.
23989 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23990 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23991 (GLIBC_PRIVATE): Add __call_tls_dtors.
23992 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23993 for libstdc++.
23994 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23995 * stdlib/tst-tls-atexit.c: New test case.
23996 * stdlib/tst-tls-atexit-lib.c: New test case.
23997
ffaa74cf 23998 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23999
be179c8a
SP
24000 * elf/Versions (ld): Add _dl_find_dso_for_object.
24001 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24002 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24003 (dl_open_worker): Use _dl_find_dso_for_object.
24004 * elf/dl-sym.c (do_sym): Likewise.
24005 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24006
f78b5caa
AK
240072013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24008
24009 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24010 Syntactic changes only.
24011 (_dl_runtime_profile): Do a tail-call to the resolved function.
24012
29691210
JM
240132013-02-17 Joseph Myers <joseph@codesourcery.com>
24014
24015 [BZ #13550]
24016 * sysdeps/x86_64/bp-asm.h: Remove file.
24017 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24018 <bp-sym.h> and <bp-asm.h>.
24019 (__clone): Do not use BP_SYM.
24020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24021 <bp-sym.h> and <bp-asm.h>.
24022 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24023 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24024 "bp-asm.h".
24025 (_setjmp): Do not use BP_SYM.
24026 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24027 "bp-asm.h".
24028 (setjmp): Do not use BP_SYM.
24029 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24030 libc_hidden_def.
24031 (mempcpy): Do not use BP_SYM in weak_alias.
24032 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24033 "bp-asm.h".
24034 (strchr): Do not use BP_SYM.
24035 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24036 "bp-asm.h".
24037 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24038 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24039 (_start): Do not use BP_SYM.
24040 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24041 "bp-asm.h".
24042 (strcat): Do not use BP_SYM.
24043 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24044 "bp-asm.h".
24045 (STRCMP): Do not use BP_SYM.
24046 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24047 "bp-asm.h".
24048 (STRCPY): Do not use BP_SYM.
24049 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24050 "bp-asm.h".
24051 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24052 "bp-asm.h".
24053 (FUNCTION): Do not use BP_SYM.
24054 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24055 weak_alias.
24056 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24057
f238fd19
AJ
240582013-02-17 Andreas Jaeger <aj@suse.de>
24059
24060 * time/Versions: Sort entries.
24061 * string/Versions: Likewise.
24062 * resolv/Versions: Likewise.
24063 * posix/Versions: Likewise.
24064 * iconv/Versions: Likewise.
24065 * elf/Versions: Likewise.
24066 * wcsmbs/Versions: Likewise.
24067
bd07f23c 240682013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24069
22af19f9
SP
24070 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24071 loop termination condition.
24072
4709fe76
SP
24073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24074 variable to calculate EZ.
24075 (__sqr): Likewise.
2d0e0f29
SP
24076
24077 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24078 the lower precision input.
24079
daaa7713
JM
240802013-02-15 Joseph Myers <joseph@codesourcery.com>
24081
24082 [BZ #13550]
24083 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24084 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24085 (run-via-rtld-prefix): Do not handle %-bp tests.
24086 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24087 (all-object-suffixes): Remove .ob.
24088 (bppfx): Remove variable.
24089 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24090 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24091 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24092 [$(build-bounded) = yes] (libtype.ob): Likewise.
24093 * Makerules (elide-routines.ob): Remove variable.
24094 (do-tests-clean): Do not handle *-bp.out.
24095 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24096 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24097 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24098 (tests): Do not include $(tests-bp.out).
24099 (xtests): Do not include $(xtests-bp.out).
24100 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24101 [$(build-bounded) = yes] ($(addprefix
24102 $(objpfx),$(binaries-bounded))): Remove rule.
24103 ($(objpfx)%-bp.out): Remove rule.
24104 * config.make.in (build-bounded): Remove variable.
24105 * crypt/Makefile [$(build-bounded) = yes]
24106 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24107 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24108 append to variable.
24109 [$(build-bounded) = yes] (install-lib): Likewise.
24110 [$(build-bounded) = yes] (generated): Likewise.
24111 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24112 Remove rule.
24113 * intl/Makefile [$(build-bounded) = yes]
24114 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24115 * math/Makefile [$(build-bounded) = yes]
24116 ($(tests:%=$(objpfx)%-bp): Likewise.
24117 * misc/Makefile [$(build-bounded) = yes]
24118 ($(objpfx)tst-tsearch-bp): Likewise.
24119 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24120 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24121 Remove dependency.
24122 * string/Makefile (o-objects.ob): Remove variable.
24123 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24124 (CFLAGS-.ob): Remove variable.
24125 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24126 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24127 both definitions of variable.
24128 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24129 (ASFLAGS-.ob): Remove variable.
24130
e97ed6dd
JM
241312013-02-14 Joseph Myers <joseph@codesourcery.com>
24132
2bdd4ca6
JM
24133 [BZ #13550]
24134 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24135 Remove __BOUNDED_POINTERS__ from condition.
24136 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24137 * string/bits/string2.h [!__NO_STRING_INLINES &&
24138 !__BOUNDED_POINTERS__]: Likewise.
24139 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24140 Likewise.
24141 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24142 Remove conditional code.
24143 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24144 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24145 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24146 condition.
24147
e97ed6dd
JM
24148 [BZ #13550]
24149 * csu/libc-start.c: Do not include <bp-sym.h>.
24150 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24151 * elf/dl-open.c: Do not include <bp-sym.h>.
24152 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24153 * math/fegetenv.c: Do not include <bp-sym.h>.
24154 (fegetenv): Do not use BP_SYM in versioned symbols.
24155 * nptl/sysdeps/pthread/bits/libc-lockP.h
24156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24157 <bp-sym.h>.
24158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24159 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24161 (__pthread_mutex_destroy): Likewise.
24162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24163 (__pthread_mutex_lock): Likewise.
24164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24165 (__pthread_mutex_trylock): Likewise.
24166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24167 (__pthread_mutex_unlock): Likewise.
24168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24169 (__pthread_mutexattr_init): Likewise.
24170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24171 (__pthread_mutexattr_destroy): Likewise.
24172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24173 (__pthread_mutexattr_settype): Likewise.
24174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24175 (__pthread_rwlock_init): Likewise.
24176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24177 (__pthread_rwlock_destroy): Likewise.
24178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24179 (__pthread_rwlock_rdlock): Likewise.
24180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24181 (__pthread_rwlock_tryrdlock): Likewise.
24182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24183 (__pthread_rwlock_wrlock): Likewise.
24184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24185 (__pthread_rwlock_trywrlock): Likewise.
24186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24187 (__pthread_rwlock_unlock): Likewise.
24188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24189 (__pthread_key_create): Likewise.
24190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24191 (__pthread_setspecific): Likewise.
24192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24193 (__pthread_getspecific): Likewise.
24194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24195 Likewise.
24196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24197 (_pthread_cleanup_push_defer): Likewise.
24198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24199 (_pthread_cleanup_pop_restore): Likewise.
24200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24201 (pthread_setcancelstate): Likewise.
24202 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24203 <bp-sym.h>.
24204 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24205 (memchr): Do not use BP_SYM in weak_alias.
24206 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24207 (fegetenv): Do not use BP_SYM in versioned symbols.
24208 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24209 (fesetenv): Do not use BP_SYM in versioned symbols.
24210 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24211 (feupdateenv): Do not use BP_SYM in versioned symbols.
24212 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24213 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24214 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24215 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24216 (open64): Do not use BP_SYM in weak_alias.
24217 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24218 (fegetenv): Do not use BP_SYM in versioned symbols.
24219 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24220 (fesetenv): Do not use BP_SYM in versioned symbols.
24221 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24222 (feupdateenv): Do not use BP_SYM in versioned symbols.
24223 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24224 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24225 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24226 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24227 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24228 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24229 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24230 <bp-sym.h>.
24231 (__libc_start_main): Do not use BP_SYM.
24232
d6752ccd
SP
242332013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24234
cb57ce60
SP
24235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24236 redundant return line.
24237 (norm): Likewise.
24238 (denorm): Likewise.
24239 (dbl_mp): Likewise.
24240 (sub_magnitudes): Likewise.
24241 (__add): Likewise.
24242 (__sub): Likewise.
24243 (__mul): Likewise.
24244 (__inv): Likewise.
24245 (__dvd): Likewise.
24246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24247 (norm): Likewise.
24248 (denorm): Likewise.
24249 (dbl_mp): Likewise.
24250 (sub_magnitudes): Likewise.
24251 (__add): Likewise.
24252 (__sub): Likewise.
24253 (__mul): Likewise.
24254 (__inv): Likewise.
24255 (__dvd): Likewise.
24256
f414520d
SP
24257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24258 instead of __mul.
24259 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24260 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24261 (cc32): Likewise.
24262
d6752ccd
SP
24263 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24264 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24266 of __mul for squares.
24267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24268 function
24269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24270 Likewise.
24271 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24272 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24273
70d9946a
JM
242742013-02-13 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #13550]
24277 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24278 code.
24279 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24280 prototype or function definition. Rename ubp_* variables and
24281 parameters. Remove argv definitions conditional on
24282 [__BOUNDED_POINTERS__].
24283 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24284 * elf/dl-runtime.c (_dl_fixup): Likewise.
24285 * include/set-hooks.h (RUN_HOOK): Likewise.
24286 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24287 definition.
24288 * string/strcpy.c (strcpy): Do not use __unbounded.
24289 * sysdeps/generic/frame.h (struct layout): Likewise.
24290 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24291 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24292 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24293 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24294 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24295 (__backtrace): Likewise.
24296 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24297 use __ptrvalue.
24298 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24299 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24300 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24301 Likewise.
24302 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24303 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24304 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24305 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24306 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24307 Do not use __unbounded.
24308 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24309 Rename __unboundedrlimits parameter to rlimits in prototype.
24310 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24311 Do not use __unbounded.
24312 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24313 not use __ptrvalue.
24314 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24315 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24316 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24317 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24318 __ptrvalue or __unbounded.
24319 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24320 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24321 use __unbounded.
24322 (__new_msgctl): Do not use __ptrvalue.
24323 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24324 __unbounded.
24325 (__libc_msgrcv): Do not use __ptrvalue.
24326 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24327 startup_info): Do not use __unbounded.
24328 (__libc_start_main): Likewise. Rename ubp_* variables and
24329 parameters. Remove argv definitions conditional on
24330 [__BOUNDED_POINTERS__].
24331 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24332 __ptrvalue.
24333 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24334 use __unbounded.
24335 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24336 or __ptrvalue.
24337 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24338 use __unbounded.
24339 (__new_shmctl): Do not use __ptrvalue.
24340 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24341 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24342 Likewise.
24343 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24345 (__libc_sigaction): Likewise.
24346 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24347 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24348 Likewise.
24349 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24350
cc7834d6
OB
243512013-02-13 Ondřej Bílka <neleai@seznam.cz>
24352
ffb1ec7b 24353 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24354
24355 * string/mempcpy.c: Implement by calling memcpy.
24356
bdf02814
SP
243572013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24358
c2af38aa
SP
24359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24360
4e92d59e
SP
24361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24362 evaluation.
24363
909279a5
SP
24364 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24365 values in the mantissa.
24366
bdf02814
SP
24367 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24368 minimize writes to Z.
24369 (sub_magnitudes): Simplify code a bit.
24370
cd525923
RM
243712013-02-12 Roland McGrath <roland@hack.frob.com>
24372
24373 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24374 from the message. The linker prefixes all warnings with that already.
24375
7e2f0d2d
AS
243762013-02-12 Andreas Schwab <schwab@suse.de>
24377
a445af0b
AS
24378 [BZ #15078]
24379 * posix/regexec.c (extend_buffers): Add parameter min_len.
24380 (check_matching): Pass minimum needed length.
24381 (clean_state_log_if_needed): Likewise.
24382 (get_subexp): Likewise.
24383 * posix/Makefile (tests): Add bug-regex34.
24384 (bug-regex34-ENV): Define.
24385 * posix/bug-regex34.c: New file.
24386
7e2f0d2d
AS
24387 [BZ #11561]
24388 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24389 elements compare against the byte sequence of it, not its name.
24390 * posix/Makefile (tests): Add bug-regex35.
24391 (bug-regex35-ENV): Define.
24392 * posix/bug-regex35.c: New file.
24393
a175b684
TV
243942013-02-11 Tom de Vries <tom@codesourcery.com>
24395
24396 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24397 comment.
24398 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24399 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24400 (CHECK_EOL): Add undef.
24401
310998fe 244022013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24403
24404 * bits/stdlib-bsearch.h: New file.
24405 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24406 * stdlib/stdlib.h: Likewise.
41eda41d 24407
8ded91fb
RM
244082013-02-11 Roland McGrath <roland@hack.frob.com>
24409
24410 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24411 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24412 declaration.
24413 * manual/search.texi (Array Search Function): Add missing const in
24414 lfind prototype.
24415 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24416 declaration to use rlim_t.
24417 (Basic Scheduling Functions): Remove erroneous const from
24418 sched_getparam prototype. Remove erroneous * from
24419 sched_get_priority_max and sched_get_priority_min prototypes.
24420 (Resource Usage): Fix summary @comment on vtimes to refer to
24421 sys/vtimes.h rather than vtimes.h.
24422 Add missing *s in vtimes prototype.
24423 (Limits on Resources): Fix ulimit prototype to return long int.
24424 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24425 prototypes to use long int rather than double.
24426 (BSD Random): Fix initstate and setstate to use char *, not void *.
24427 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24428 prototype to make second argument 'struct aiocb64 *const[]'.
24429 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24430 (Status of AIO Operations): Remove erroneous const in aio_return and
24431 aio_return64 prototypes.
24432 (Synchronizing I/O): Fix sync prototype to return void.
24433 * manual/startup.texi (Suboptions): Remove an erroneous const in
24434 getsubopt prototype.
24435 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24436 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24437 use size_t rather than int.
24438 (Scanning All Users): Likewise for getpwent_r.
24439 (Setting Groups): Add missing const to setgroups prototype.
24440 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24441 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24442 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24443 'const void *' rather than 'const char *'.
24444 (Host Address Functions): Likewise for inet_ntop.
24445 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24446 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24447 ssize_t for return value.
24448 (Sending Data): Likewise for send, sendto, sendmsg.
24449 (Socket Option Functions): Add a missing const in setsockopt prototype.
24450 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24451 use wchar_t for the argument.
24452 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24453 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24454 take no arguments.
24455 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24456 double/float/long double for second argument.
24457 Fix return types of significand, significandf, significandl.
24458 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24459 argument in fchmod prototype.
24460 (File Owner): Use uid_t and gid_t in fchown prototype.
24461 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24462 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24463 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24464 use 'const struct dirent **' as argument types to CMP function pointer
24465 argument.
24466 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24467 (File Times): Fix summary magic @comment for struct utimbuf and utime
24468 to refer to utime.h, not time.h.
24469 * manual/string.texi (Argz Functions): Add missing const in
24470 argz_extract and argz_next prototypes.
24471 (Finding Tokens in a String): Likewise for basename.
24472 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24473 (Copying and Concatenation): Fix typo in wmemmove prototype.
24474 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24475 (Signal Stack): Remove erroneous const in sigstack prototype.
24476 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24477 prototype.
24478 (Simple Calendar Time): Likewise for stime.
24479 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24480 prototype.
24481 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24482 say sys/sysctl.h instead.
24483 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24484 and vsyslog prototypes.
24485
fe77fe6d
TV
244862013-02-11 Tom de Vries <tom@codesourcery.com>
24487
24488 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24489 Remove.
24490
3a09b620
RM
244912013-02-11 Roland McGrath <roland@hack.frob.com>
24492
24493 * misc/sys/mman.h: Fix typo in mremap comment.
24494
550a0b89
RM
244952013-02-08 Roland McGrath <roland@hack.frob.com>
24496
24497 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24498 the '\0' terminator.
24499
a2da1673
JM
245002013-02-08 Joseph Myers <joseph@codesourcery.com>
24501
24502 [BZ #13550]
24503 * debug/segfault.c: Don't include <bp-checks.h>.
24504 * sysdeps/generic/bp-checks.h: Remove file.
24505 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24506 (__GETDENTS): Don't use CHECK_N.
24507 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24508 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24509 (__getgroups): Don't use CHECK_N.
24510 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24511 (setgroups): Don't use CHECK_N.
24512 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24513 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24514 (__libc_msgrcv): Don't use CHECK_N.
24515 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24516 (__libc_msgsnd): Don't use CHECK_N.
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24518 <bp-checks.h>.
24519 (__libc_pread): Don't use CHECK_N.
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24521 include <bp-checks.h>.
24522 (__libc_pread64): Don't use CHECK_N.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24524 include <bp-checks.h>.
24525 (__libc_pwrite): Don't use CHECK_N.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24527 include <bp-checks.h>.
24528 (__libc_pwrite64): Don't use CHECK_N.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24530 <bp-checks.h>.
24531 (__libc_pread): Don't use CHECK_N.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24533 include <bp-checks.h>.
24534 (__libc_pread64): Don't use CHECK_N.
24535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24536 include <bp-checks.h>.
24537 (__libc_pwrite): Don't use CHECK_N.
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24539 include <bp-checks.h>.
24540 (__libc_pwrite64): Don't use CHECK_N.
24541 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24542 (do_pread): Don't use CHECK_N.
24543 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24544 (do_pread64): Don't use CHECK_N.
24545 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24546 (do_pwrite): Don't use CHECK_N.
24547 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24548 (do_pwrite64): Don't use CHECK_N.
24549 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24550 (__libc_readv): Don't use CHECK_N.
24551 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24552 (semop): Don't use CHECK_N.
24553 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24554 <bp-checks.h>.
24555 (semtimedop): Don't use CHECK_N.
24556 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24557 (__libc_pread): Don't use CHECK_N.
24558 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24559 <bp-checks.h>.
24560 (__libc_pread64): Don't use CHECK_N.
24561 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24562 <bp-checks.h>.
24563 (__libc_pwrite): Don't use CHECK_N.
24564 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24565 <bp-checks.h>.
24566 (__libc_pwrite64): Don't use CHECK_N.
24567 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24568 <bp-checks.h>.
24569 (__libc_msgrcv): Don't use CHECK_N.
24570 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24571 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24572 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24573 (__libc_writev): Don't use CHECK_N.
24574
b84660a8
RM
245752013-02-08 Roland McGrath <roland@hack.frob.com>
24576
7f3e75f8
RM
24577 * string/strcpy.c: Removed unused variable.
24578
b84660a8
RM
24579 * Makeconfig (+sysdep-includes): Define with := rather than =.
24580 Use an existing include/ subdir of each sysdeps dir before it.
24581
471514d3
CD
245822013-02-08 Carlos O'Donell <carlos@redhat.com>
24583
24584 * nscd/connection.c (register_traced_file): Comment function.
24585 [HAVE_INOTIFY] (union __inev): Define.
24586 [HAVE_INOTIFY] (inotify_check_files): New function.
24587 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24588 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24589 clear_db_cache.
24590 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24591
b2d3c3be
CD
245922013-02-08 Carlos O'Donell <carlos@redhat.com>
24593
24594 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24595 loaded if not already and that a failure is permanent.
24596
b39949d2
CD
245972013-02-08 Carlos O'Donell <carlos@redhat.com>
24598
ddacd1db 24599 [BZ #15006]
b39949d2
CD
24600 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24601 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24602
b2c9eff4
JM
246032013-02-08 Joseph Myers <joseph@codesourcery.com>
24604
f3aae3f3
JM
24605 [BZ #13550]
24606 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24607 (CHECK_1_NULL_OK): Likewise.
24608 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24609 (__fxstat): Do not use CHECK_1.
24610 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24611 <bp-checks.h>.
24612 (___fxstat64): Do not use CHECK_1.
24613 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24614 <bp-checks.h>.
24615 (__fxstatat): Do not use CHECK_1.
24616 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24617 <bp-checks.h>.
24618 (__fxstatat64): Do not use CHECK_1.
24619 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24620 <bp-checks.h>.
24621 (__fxstat): Do not use CHECK_1.
24622 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24623 <bp-checks.h>.
24624 (__fxstatat): Do not use CHECK_1.
24625 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24626 <bp-checks.h>.
24627 (__getresgid): Do not use CHECK_1.
24628 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24629 <bp-checks.h>.
24630 (__getresuid): Do not use CHECK_1.
24631 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24632 <bp-checks.h>.
24633 (__lxstat): Do not use CHECK_1.
24634 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24635 <bp-checks.h>.
24636 (__old_msgctl): Do not use CHECK_1.
24637 (__new_msgctl): Likewise.
24638 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24639 <bp-checks.h>.
24640 (__new_setrlimit): Do not use CHECK_1.
24641 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24642 <bp-checks.h>.
24643 (__old_shmctl): Do not use CHECK_1.
24644 (__new_shmctl): Likewise.
24645 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24646 <bp-checks.h>.
24647 (__xstat): Do not use CHECK_1.
24648 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24649 (__lxstat): Do not use CHECK_1.
24650 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24651 <bp-checks.h>.
24652 (___lxstat64): Do not use CHECK_1.
24653 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24654 (__old_msgctl): Do not use CHECK_1.
24655 (__new_msgctl): Likewise.
24656 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24657 <bp-checks.h>.
24658 (__gettimeofday): Do not use CHECK_1.
24659 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24660 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24661 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24662 <bp-checks.h>.
24663 (__gettimeofday): Do not use CHECK_1.
24664 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24665 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24666 (__new_shmctl): Do not use CHECK_1.
24667 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24668 <bp-checks.h>.
24669 (do_sigtimedwait): Do not use CHECK_1.
24670 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24671 <bp-checks.h>.
24672 (do_sigwaitinfo): Do not use CHECK_1.
24673 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24674 <bp-checks.h>.
24675 (msgctl): Do not use CHECK_1.
24676 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24677 <bp-checks.h>.
24678 (shmctl): Do not use CHECK_1.
24679 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24680 (ustat): Do not use CHECK_1.
24681 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24682 <bp-checks.h>.
24683 (__fxstat): Do not use CHECK_1.
24684 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24685 <bp-checks.h>.
24686 (__fxstatat): Do not use CHECK_1.
24687 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24688 <bp-checks.h>.
24689 (__lxstat): Do not use CHECK_1.
24690 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24691 <bp-checks.h>.
24692 (__xstat): Do not use CHECK_1.
24693 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24694 (__xstat): Do not use CHECK_1.
24695 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24696 (___xstat64): Do not use CHECK_1.
24697
b2c9eff4
JM
24698 [BZ #13550]
24699 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24700 definitions.
24701 (CHECK_BOUNDS_HIGH): Likewise.
24702 * string/strcpy.c: Do not include <bp-checks.h>.
24703 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24704
f1d70dad
RM
247052013-02-07 Roland McGrath <roland@hack.frob.com>
24706
24707 * nscd/nscd-client.h (__nscd_drop_map_ref):
24708 Add __attribute__ ((unused)).
24709 * nis/nss-nisplus.h (niserr2nss): Likewise.
24710
24711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24712 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24713
24714 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24715 Remove inline keyword.
24716 * include/rounding-mode.h (round_away): Likewise.
24717 * libio/wfileops.c (adjust_wide_data): Likewise.
24718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24719 (__m128i_strloadu_tolower): Likewise.
24720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24721 (__m128i_strloadu_tolower): Likewise.
24722 * time/mktime.c (ydhms_diff): Likewise.
24723 * locale/elem-hash.h (elem_hash): Likewise.
24724 * locale/setlocale.c (setdata): Likewise.
24725 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24726 (re_string_wchar_at): Likewise.
24727 (bitset_not, bitset_merge, bitset_mask): Likewise.
24728 [!(__GNUC__ > 3)] (inline): Remove macro.
24729 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24730 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24731 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24732 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24733 * string/memcmp.c (memcmp_bytes): Likewise.
24734 * locale/programs/locarchive.c (compute_hashval): Likewise.
24735 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24736 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24737 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24738 * nss/getent.c (print_rpc, print_protocols): Likewise.
24739 (print_passwd, print_group, print_aliases): Likewise.
24740 * nis/nss-nisplus.h (niserr2nss): Likewise.
24741 * nscd/connections.c (restart_p): Likewise.
24742 Change return type to bool.
24743
eab55bfb
RM
247442013-02-05 Roland McGrath <roland@hack.frob.com>
24745
7bd642f5
RM
24746 * Makeconfig (all-Depend-files): Add existing
24747 $(sorted-subdirs:=/Depend) files.
24748 (all-subdirs): Remove nss.
24749 * sysdeps/unix/inet/Subdirs: Add it here instead.
24750 * hesiod/Depend: New file.
24751
573c29b2
RM
24752 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24753 instead of calling alloca.
24754
b2e25af0
RM
24755 * io/lseek.c (__lseek): Rename to __libc_lseek.
24756 Define __lseek as an alias.
24757
eab55bfb
RM
24758 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24759
9a0d1941
CD
247602013-02-04 Carlos O'Donell <carlos@redhat.com>
24761
24762 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24763 else clause and remove check for non-standard endianness.
24764
b83bbec4
DM
247652013-02-04 David S. Miller <davem@davemloft.net>
24766
24767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24768
6277fdab
JM
247692013-02-04 Joseph Myers <joseph@codesourcery.com>
24770
24771 [BZ #13550]
24772 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24773 (__ubp_memchr): Remove prototype.
24774 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24775 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24776 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24777 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24778 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24779 Remove alias.
24780 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24781 (__ubp_memchr): Likewise.
24782 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24783 (__ubp_memchr): Likewise.
24784 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24785 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24786 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24787 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24788 CHECK_STRING.
24789 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24790 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24791 (__getcwd): Do not use CHECK_STRING.
24792 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24793 <bp-checks.h>.
24794 (__real_chown): Do not use CHECK_STRING.
24795 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24796 <bp-checks.h>.
24797 (fchownat): Do not use CHECK_STRING.
24798 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24799 CHECK_STRING.
24800 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24801 <bp-checks.h>.
24802 (__lchown): Do not use CHECK_STRING.
24803 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24804 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24805 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24806 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24808 include <bp-checks.h>.
24809 (truncate64): Do not use CHECK_STRING.
24810 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24811 <bp-checks.h>.
24812 (__real_chown): Do not use CHECK_STRING.
24813 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24814 <bp-checks.h>.
24815 (__lchown): Do not use CHECK_STRING.
24816 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24817 <bp-checks.h>.
24818 (__chown): Do not use CHECK_STRING.
24819 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24820 <bp-checks.h>.
24821 (truncate64): Do not use CHECK_STRING.
24822 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24823 Likewise.
24824 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24825 (__xmknod): Do not use CHECK_STRING.
24826 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24827 <bp-checks.h>.
24828 (__xmknodat): Do not use CHECK_STRING.
24829 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24830 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24831
903ae060
AS
248322013-02-04 Andreas Schwab <schwab@suse.de>
24833
24834 [BZ #14142]
24835 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24836 * include/netdb.h: Likewise for h_errno.
24837 * elf/tst-stackguard1.c: Include <tls.h>.
24838
542f9466
JK
248392013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24840
24841 * elf/link.h (struct link_map): Extend the l_addr comment.
24842 * include/link.h (struct link_map): Likewise.
24843
e782a927
JM
248442013-02-01 Joseph Myers <joseph@codesourcery.com>
24845
24846 [BZ #13550]
24847 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24848 (BOUNDED_1): Remove macro.
24849 * debug/backtrace.c: Don't include <bp-checks.h>.
24850 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24851 (__backtrace): Likewise.
24852 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24853 <bp-checks.h>.
24854 (__backtrace): Don't use BOUNDED_1.
24855 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24856 <bp-checks.h>.
24857 (__backtrace): Don't use BOUNDED_1.
24858 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24859 (__backtrace): Don't use BOUNDED_1.
24860 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24861 (shmat): Don't use BOUNDED_N.
24862
8cf28c5e
JM
248632013-01-31 Joseph Myers <joseph@codesourcery.com>
24864
3a7ac8a0
JM
24865 [BZ #13550]
24866 * sysdeps/generic/bp-start.h: Remove file.
24867 * csu/libc-start.c: Don't include <bp-start.h>.
24868 (LIBC_START_MAIN): Set up __environ directly instead of using
24869 INIT_ARGV_and_ENVIRON.
24870 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24871 <bp-start.h>.
24872
f3499f95
JM
24873 [BZ #13550]
24874 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24875 definitions.
24876 (CHECK_FCNTL): Likewise.
24877 (CHECK_N_PAGES): Likewise.
24878
32a45bea
JM
24879 [BZ #13550]
24880 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24881 definitions.
24882 (CHECK_SIGSET_NULL_OK): Likewise.
24883 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24884 <bp-checks.h>.
24885 (sigpending): Don't use CHECK_SIGSET.
24886 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24887 <bp-checks.h>.
24888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24889 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24890 <bp-checks.h>.
24891 (do_sigsuspend): Don't use CHECK_SIGSET.
24892 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24893 use CHECK_SIGSET.
24894 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24895 (do_sigwait): Don't use CHECK_SIGSET.
24896 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24897 use CHECK_SIGSET.
24898 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24899 include <bp-checks.h>.
24900 (sigpending): Don't use CHECK_SIGSET.
24901 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24902 include <bp-checks.h>.
24903 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24904 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24905 <bp-checks.h>.
24906 (sigpending): Don't use CHECK_SIGSET.
24907 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24908 <bp-checks.h>.
24909 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24910
2e8a5c8c
JM
24911 [BZ #13550]
24912 * sysdeps/generic/bp-semctl.h: Remove file.
24913 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24914 <bp-checks.h> and <bp-semctl.h>.
24915 (__old_semctl): Don't use CHECK_SEMCTL.
24916 (__new_semctl): Likewise.
24917 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24918 and <bp-semctl.h>.
24919 (__old_semctl): Don't use CHECK_SEMCTL.
24920 (__new_semctl): Likewise.
24921 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24922 <bp-checks.h> and <bp-semctl.h>.
24923 (__old_semctl): Don't use CHECK_SEMCTL.
24924 (__new_semctl): Likewise.
24925 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24926 <bp-checks.h> and <bp-semctl.h>.
24927 (semctl): Don't use CHECK_SEMCTL.
24928
c2d54929
JM
24929 [BZ #13550]
24930 * Makerules (elide-bp-thunks): Remove variable.
24931 (elide-routines.oS): Don't use $(elide-bp-thunks).
24932 (elide-routines.os): Likewise.
24933 (elide-routines.o): Likewise.
24934 (elide-routines.op): Likewise.
24935 (elide-routines.og): Likewise.
24936 (objects): Don't use $(bp-thunks).
24937 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24938 include.
24939 (common-generated): Do not add s-proto-bp.d.
24940 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24941 (int): Likewise.
24942 (typ): Likewise.
24943 Do not generate makefile rules for bounded-pointer thunks.
24944 * sysdeps/generic/bp-thunks.h: Remove file.
24945 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24946 * sysdeps/unix/s-proto-bp.S: Likewise.
24947
8cf28c5e
JM
24948 [BZ #15062]
24949 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24950 parts of result separately when argument is not close to line from
24951 -i to i and one part of argument is small.
24952 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24953 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24954 * math/libm-test.inc (cacos_test): Add more tests.
24955 (casin_test): Likewise.
24956 (casinh_test): Likewise.
24957 * sysdeps/i386/fpu/libm-test-ulps: Update.
24958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24959
c4e33b8d
DM
249602013-01-31 David S. Miller <davem@davemloft.net>
24961
24962 * po/de.po: Update from translation team.
24963
3b60b421
MK
249642013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24965
24966 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24967
bb931195
TS
249682013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24969
b5a5da23
TS
24970 * configure.in (_AC_PROG_CC_C89): New definition.
24971 * configure: Regenerate.
24972
bb931195
TS
24973 * configure.in (AC_PROG_CPP): New definition.
24974 * configure: Regenerate.
24975
8c53a12c
JM
249762013-01-23 Joseph Myers <joseph@codesourcery.com>
24977
24978 * debug/tst-backtrace.h: New file.
24979 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24980 (ret): Remove variable.
24981 (x): Likewise.
24982 (FAIL): Remove macro.
24983 (NO_INLINE): Likewise.
24984 (fn1): Use match function instead of strstr.
24985 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24986 (ret): Remove variable.
24987 (x): Likewise.
24988 (FAIL): Remove macro.
24989 (NO_INLINE): Likewise.
24990 (fn): Use match function instead of strstr.
24991 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24992 (ret): Remove variable.
24993 (x): Likewise.
24994 (FAIL): Remove macro.
24995 (NO_INLINE): Likewise.
24996 (handle_signal): Use match function instead of strstr.
24997 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24998 (ret): Remove variable.
24999 (x): Likewise.
25000 (FAIL): Remove macro.
25001 (NO_INLINE): Likewise.
25002 (handle_signal): Use match function instead of strstr.
25003
4858fa2a
RM
250042013-01-23 Roland McGrath <roland@hack.frob.com>
25005
25006 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25007
bae8e7f5
DM
250082013-01-23 David S. Miller <davem@davemloft.net>
25009
25010 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25011 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25012 argument of CAS if possible.
25013 * sysdeps/sparc/sparc64/bits/atomic.h
25014 (__arch_compare_and_exchange_val_32_acq): Likewise.
25015 (__arch_compare_and_exchange_val_64_acq): Likewise.
25016
9cbbc4ae
PT
250172013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25018
25019 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25020 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25021 Include <limits.h>.
67b3f58c 25022 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25023
5655a0b5
AC
250242013-01-23 Adam Conrad <adconrad@0c3.net>
25025
25026 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25027 (LDFLAGS-tst-array5): Likewise.
25028
052aff95
JM
250292013-01-23 Joseph Myers <joseph@codesourcery.com>
25030
25031 [BZ #15036]
25032 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25033 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25034 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25035 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25036
7c1e01aa
DM
250372013-01-21 David S. Miller <davem@davemloft.net>
25038
25039 * sysdeps/sparc/backtrace.c: New file.
25040 * sysdeps/sparc/sparc32/backtrace.h: New file.
25041 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25042 * sysdeps/sparc/sparc64/backtrace.h: New file.
25043 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25044 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25045 -funwind-tables.
25046
ab087e0a
AS
250472013-01-21 Andreas Schwab <schwab@suse.de>
25048
25049 [BZ #15020]
25050 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25051 closed its stdout.
25052
ed689c2f
AS
250532013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25054
25055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25056 "mpa2.h".
25057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25058
31d470ac
JM
250592013-01-18 Joseph Myers <joseph@codesourcery.com>
25060 Mark Mitchell <mark@codesourcery.com>
25061 Tom de Vries <tom@codesourcery.com>
25062 Paul Pluzhnikov <ppluzhnikov@google.com>
25063
25064 * debug/tst-backtrace2.c: New file.
25065 * debug/tst-backtrace3.c: Likewise.
25066 * debug/tst-backtrace4.c: Likewise.
25067 * debug/tst-backtrace5.c: Likewise.
25068 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25069 (CFLAGS-tst-backtrace3.c): Likewise.
25070 (CFLAGS-tst-backtrace4.c): Likewise.
25071 (CFLAGS-tst-backtrace5.c): Likewise.
25072 (LDFLAGS-tst-backtrace2): Likewise.
25073 (LDFLAGS-tst-backtrace3): Likewise.
25074 (LDFLAGS-tst-backtrace4): Likewise.
25075 (LDFLAGS-tst-backtrace5): Likewise.
25076 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25077 tst-backtrace4 and tst-backtrace5.
25078
90567f30 250792013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25080 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25081
25082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25083 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25084 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25085 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25087 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25088 "+r" and remove output regs list as redundant. Add explicit inline
25089 asm to specify register of return val to work around compiler codegen
25090 bug. Remove (int) cast on return value. Add return type parameter to
25091 use in macro so that this macro does not truncate return value for
25092 64-bit values.
25093 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25094 pass to INTERNAL_VSYSCALL_NCS.
25095 (INLINE_VSYSCALL): Add 'long int' as return type to
25096 INTERNAL_VSYSCALL_NCS macro invocation.
25097 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25098 INTERNAL_VSYSCALL_NCS macro invocation.
25099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25100
d3b9ea61
SP
251012013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25102
0b57daeb
SP
25103 [BZ #14496]
25104 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25105 Fix application of SIMD FP exception mask.
25106
caa99d06
SP
25107 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25108 mp_no from a power of two.
25109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25110 __mpexp_twomm1. Use __pow_mp.
25111
d3b9ea61
SP
25112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25113 multiplication.
25114
1dbaee3c
DM
251152013-01-17 David S. Miller <davem@davemloft.net>
25116
25117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25118
728d7b43
JM
251192013-01-17 Joseph Myers <joseph@codesourcery.com>
25120
25121 [BZ #15023]
25122 * include/complex.h: Condition contents on [!_COMPLEX_H].
25123 (__kernel_casinhf): New prototype.
25124 (__kernel_casinh): Likewise.
25125 (__kernel_casinhl): Likewise.
25126 * math/Makefile (libm_calls): Add k_casinh.
25127 * math/k_casinh.c: New file.
25128 * math/k_casinhf.c: Likewise.
25129 * math/k_casinhl.c: Likewise.
25130 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25131 finite nonzero arguments.
25132 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25133 finite nonzero arguments.
25134 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25135 finite nonzero arguments.
25136 * math/s_casinh.c: Do not include <float.h>.
25137 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25138 * math/s_casinhf.c: Do not include <float.h>.
25139 (__casinhf): Move code for finite nonzero arguments to
25140 k_casinhf.c.
25141 * math/s_casinhl.c: Do not include <float.h>.
25142 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25143 redefine.
25144 (__casinhl): Move code for finite nonzero arguments to
25145 k_casinhl.c.
25146 * math/libm-test.inc (cacos_test): Add more tests.
25147 * sysdeps/i386/fpu/libm-test-ulps: Update.
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25149
2a26ef3a
PT
251502013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25151
25152 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25153 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25154 [!HAVE_MREMAP]: Remove [defined linux] case.
25155 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25156
a897655d
SP
251572013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25158
25159 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25160
881ebe89 251612013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25162
25163 * elf/elf.h (R_386_SIZE32): New relocation.
25164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25165 R_386_SIZE32.
25166 (elf_machine_rela): Likewise.
25167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25168 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25169
59981e9b
JM
251702013-01-17 Joseph Myers <joseph@codesourcery.com>
25171
25172 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25173 (FP_FAST_FMA): Do not define.
25174 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25175 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25176 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25177 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25178 !_SOFT_FLOAT]: Likewise.
25179 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25180 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25181 value.
25182 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25183 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25185 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25186 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25187 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25188 file.
25189
cfa8054f
AS
251902013-01-16 Andreas Schwab <schwab@suse.de>
25191
25192 [BZ #14327]
25193 * include/stdlib.h (__mktemp): Add declaration.
25194 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25195 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25196
dd930cc5
SP
251972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25198
881ebe89
SP
25199 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25200 definitions.
25201 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25202 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25203 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25204 definitions here.
25205 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25206 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25207 definitions.
25208 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25209 and ONE.
25210 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25211 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25212 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25213 definitions.
25214 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25215 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25216 definitions.
25217 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25218
dd930cc5
SP
25219 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25220
c19a9f89
DM
252212013-01-15 David S. Miller <davem@davemloft.net>
25222
1aa61767
DM
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25224 trunc{,f} to libm-sysdep_routes.
25225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25227 file.
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25230 file.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25232 file.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25236 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25237 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25238 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25239 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25240 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25241
c42d5e98
DM
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25243 nearbyint{,f} to libm-sysdep_routes.
25244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25246 New file.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25248 file.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25250 New file.
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25252 file.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25255 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25256 file.
25257 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25258 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25259 file.
25260 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25261 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25262 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25263
c19a9f89
DM
25264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25265 libc_feholdexcept and libc_fesetenv.
25266
357679d2
MF
252672013-01-15 Mike Frysinger <vapier@gentoo.org>
25268
25269 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25270
65a82e3d
DM
252712013-01-14 David S. Miller <davem@davemloft.net>
25272
8b954ab9
DM
25273 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25274 (SPARC_ASM_VIS2_IFUNC): Likewise.
25275 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25277 use of 'siam' instruction.
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25279 Likewise.
25280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25281 Likewise.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25283 Likewise.
25284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25289 file.
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25291 file.
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25293 file.
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25295 file.
25296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25301 new VIS2 routines.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25305 Likewise.
25306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25311 routines to libm-sysdep_routines.
25312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25313
65a82e3d
DM
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25315 fdim/fdimf to libm-sysdep_routines.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25317 file.
25318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25320 file.
25321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25324 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25325 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25326 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25327 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25328
e34ab705
SP
253292013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25330
2a91b573
SP
25331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25332 to optimize copies.
25333
1066a534
SP
25334 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25337
e34ab705
SP
25338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25339 local variable MPTWO.
25340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25341 Likewise.
25342
aba5e596
MF
253432013-01-13 Mike Frysinger <vapier@gentoo.org>
25344
25345 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25346 GLOB_NOESCAPE.
25347
e557e9e5
MF
253482013-01-13 Mike Frysinger <vapier@gentoo.org>
25349
25350 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25351
0428cec9
MF
253522013-01-13 Mike Frysinger <vapier@gentoo.org>
25353
25354 * manual/pattern.texi (glob_t): Document gl_flags.
25355 (glob64_t): Likewise.
25356
8794a964
DM
253572013-01-11 David S. Miller <davem@davemloft.net>
25358
66438c3f
RM
25359 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25360 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25361 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25362 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25363 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25364 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25365 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25366 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25367 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25368 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25369 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25370 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25371 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25372
4ae4244d
DM
25373 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25374 sparc V9 rather than using V8 code.
25375 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25376 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25377
8794a964
DM
25378 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25379 Move to...
25380 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25381 Here.
25382
6270516e
RM
253832013-01-11 Roland McGrath <roland@hack.frob.com>
25384
25385 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25386 not in the main loop.
25387 * configure: Regenerated.
25388
6a57d931
JM
253892013-01-11 Joseph Myers <joseph@codesourcery.com>
25390
25391 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25392 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25393 to just #else.
25394 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25395 [!__GLIBC_HAVE_LONG_LONG] case.
25396 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25397 condition to just #else.
25398 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25399 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25400 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25401 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25402 unconditional.
25403 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25404 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25405 #elif condition to just #else.
25406 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25407 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25408 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25409 #elif condition to just #else.
25410
0e8529e9
SE
254112013-01-11 Steve Ellcey <sellcey@mips.com>
25412
25413 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25414 (EF_MIPS_ARCH_64): Fix value.
25415 (EF_MIPS_ARCH_32R2): New.
25416 (EF_MIPS_ARCH_64R2): New.
25417
740b3dbe
L
254182013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 * Makeconfig (+link-pie-before-libc): New.
25421 (+link-pie-after-libc): Likewise.
25422 (+link-pie-tests): Likewise.
25423 (+link-pie): Rewritten.
25424 (link-before-libc): Remove $(config-LDFLAGS).
25425 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25426 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25427 (config-LDFLAGS): Renamed to ...
25428 (rtld-LDFLAGS): This.
25429 (rtld-tests-LDFLAGS): New macro.
25430 (link-libc-rpath-link): Likewise.
25431 (link-libc-tests-rpath-link): Likewise.
25432 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25433 (link-libc): Prepand $(link-libc-rpath-link).
25434 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25435 (test-program-prefix): New macro.
25436 (test-via-rtld-prefix): Likewise.
25437 (test-program-cmd): Likewise.
25438 (host-test-program-cmd): Likewise.
25439 * Makefile ($(common-objpfx)testrun.sh): Replace
25440 $(run-program-prefix) with $(test-program-prefix).
25441 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25442 $(rtld-LDFLAGS).
25443 ($(common-objpfx)shlib.lds): Likewise.
25444 (build-module-helper): Likewise.
25445 ($(common-objpfx)format.lds): Likewise.
25446 * Rules (binaries-pie-tests): New.
25447 (binaries-pie-notests): Likewise.
25448 (binaries-pie): Rewritten.
25449 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25450 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25451 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25452 (make-test-out): Replace $(host-built-program-cmd) with
25453 $(host-test-program-cmd).
25454 * config.make.in (build-hardcoded-path-in-tests): New variable.
25455 * configure.in (--enable-hardcoded-path-in-tests): New configure
25456 option.
25457 (hardcoded_path_in_tests): New AC_SUBST.
25458 * configure: Regenerated.
25459 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25460 $(built-program-cmd) with $(test-program-cmd).
25461 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25462 (test_program_cmd): This.
25463 * elf/Makefile ($(objpfx)order.out): Run test with
25464 $(test-program-prefix).
25465 ($(objpfx)order2.out): Likewise.
25466 ($(objpfx)tst-initorder.out): Likewise.
25467 ($(objpfx)tst-initorder2.out): Likewise.
25468 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25469 $(test-program-cmd).
25470 ($(objpfx)tst-array1-static.out): Likewise.
25471 ($(objpfx)tst-array2.out): Likewise.
25472 ($(objpfx)tst-array3.out): Likewise.
25473 ($(objpfx)tst-array4.out): Likewise.
25474 ($(objpfx)tst-array5.out): Likewise.
25475 ($(objpfx)tst-array5-static.out): Likewise.
25476 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25477 $(test-program-cmd).
25478 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25479 $(run-program-prefix) with $(test-program-prefix).
25480 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25481 (test_program_prefix): This.
25482 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25483 $(run-program-prefix) with $(test-program-prefix).
25484 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25485 (test_program_prefix): This.
25486 * iconvdata/tst-tables.sh: Likewise.
25487 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25488 $(run-program-prefix) with $(test-program-prefix).
25489 ($(objpfx)tst-translit.out): Likewise.
25490 ($(objpfx)tst-gettext2.out): Likewise.
25491 ($(objpfx)tst-gettext4.out): Likewise.
25492 ($(objpfx)tst-gettext6.out): Likewise.
25493 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25494 (test_program_prefix): This.
25495 * intl/tst-gettext2.sh: Likewise.
25496 * intl/tst-gettext4.sh Likewise.
25497 * intl/tst-gettext6.sh: Likewise.
25498 * intl/tst-translit.sh: Likewise.
25499 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25500 with $(test-program-cmd).
25501 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25502 $(run-program-prefix) with $(test-program-prefix).
25503 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25504 (test_program_prefix): This.
25505 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25506 $(run-program-prefix) with $(test-program-prefix).
25507 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25508 (test_program_prefix): This.
25509 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25510 * posix/Makefile ($(objpfx)globtest.out): Replace
25511 $(run-via-rtld-prefix) and $(test-wrapper) with
25512 $(test-program-prefix) and $(test-via-rtld-prefix).
25513 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25514 $(test-program-prefix).
25515 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25516 $(host-test-program-cmd).
25517 (tst-spawn-ARGS): Likewise.
25518 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25519 $(test-program-prefix).
25520 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25521 (test_via_rtld_prefix): This.
25522 (test_wrapper): Renamed to ...
25523 (test_program_prefix): This.
25524 (run_program_prefix): Replaced by test_program_prefix.
25525 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25526 (test_program_prefix): This.
25527 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25528 with $(host-test-program-cmd).
25529 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25530 $(run-program-prefix) with $(test-program-prefix).
25531 ($(objpfx)tst-printf.out): Likewise.
25532 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25533 $(test-program-cmd).
25534 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25535 (test_program_prefix): This.
25536 * stdio-common/tst-unbputc.sh: Likewise.
25537 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25538 $(run-program-prefix) with $(test-program-prefix).
25539 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25540 (test_program_prefix): This.
25541 * string/Makefile ($(objpfx)tst-svc.out): Replace
25542 $(built-program-cmd) with $(test-program-cmd).
25543
c6fe55cf
AJ
255442013-01-11 Andreas Jaeger <aj@suse.de>
25545
25546 [BZ #15003]
25547 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25548 value. Sync with Linux 3.7.
25549
9e6919c8
DM
255502013-01-10 David S. Miller <davem@davemloft.net>
25551
25552 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25553 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25554 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25555
1c9f1a02
RM
255562013-01-10 Roland McGrath <roland@hack.frob.com>
25557
25558 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25559 never set.
25560 * configure: Regenerated.
25561
b9de2dde
DM
255622013-01-10 David S. Miller <davem@davemloft.net>
25563
25564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25565 sparc V9 rather than using V8 code.
25566 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25568
e7f68ef4
RM
255692013-01-10 Roland McGrath <roland@hack.frob.com>
25570
25571 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25572 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25573 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25574 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25575 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25576 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25577 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25578 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25579 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25580 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25581 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25582 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25583 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25584 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25585 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25586 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25587 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25588 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25589 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25590 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25591 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25592 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25593 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25594 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25595 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25596 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25597 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25598
5a47cc9c
DM
255992013-01-10 David S. Miller <davem@davemloft.net>
25600
25601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25602
4cf8f209
L
256032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * posix/Makefile (tests-static): New variable.
25606 (tests): Add $(tests-static).
25607 (tst-exec-static-ARGS): New variable.
25608 (tst-spawn-static-ARGS): Likewise.
25609 * posix/tst-exec-static.c: New file.
25610 * posix/tst-spawn-static.c: Likewise.
25611 * posix/tst-exec.c: Support run directly.
25612 * posix/tst-spawn.c: Likewise.
25613
fed0faa1
JM
256142013-01-10 Joseph Myers <joseph@codesourcery.com>
25615
828beb13
JM
25616 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25617 long.
25618 * math/bits/mathcalls.h (llrint): Likewise.
25619 (llround): Likewise.
25620 * stdlib/stdlib.h (struct drand48_data): Likewise.
25621 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25622 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25623 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25624 Likewise.
25625 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25626 Likewise.
25627 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25628 (elf_greg_t): Likewise.
25629 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25630 (__jmp_buf): Likewise.
25631 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25632 definitions.
25633 (llrint): Likewise, for all definitions.
25634 (llrintl): Likewise.
25635
fed0faa1
JM
25636 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25637 Remove [__GNUC__] condition.
25638 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25639 condition to just [__USE_ISOC99].
25640 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25641
1a20cb20
L
256422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 [BZ #14200]
25645 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25646 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25647 defined.
25648 (_POSIX_V6_ILP32_OFF32): Likewise.
25649 (_XBS5_ILP32_OFF32): Likewise.
25650 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25651 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25652
751b85f7
SP
256532013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25654
7490eb81
SP
25655 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25656
751b85f7
SP
25657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25658 doubles __mpexp_twomm1. Adjust usage.
25659 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25660 Remove.
25661
988197f0
AS
256622013-01-10 Andreas Schwab <schwab@suse.de>
25663
25664 [BZ #14964]
25665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25666 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25667
e83d7298
DM
256682013-01-09 David S. Miller <davem@davemloft.net>
25669
034ed64b 25670 [BZ #15003]
57f41c40
AS
25671 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25672 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25673 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25674 (TCP_FASTOPEN): Define.
e83d7298
DM
25675 (tcp_repair_opt): New structure.
25676 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25677 enum values.
57f41c40
AS
25678 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25679 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25680 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25681 (tcp_cookie_transactions): New structure.
25682
d5e0b9bd
AB
256832013-01-09 Anton Blanchard <anton@samba.org>
25684
25685 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25686 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25687 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25688 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25689
0c07e3ea
JM
256902013-01-09 Joseph Myers <joseph@codesourcery.com>
25691
25692 * include/features.h (__USE_ANSI): Remove.
25693
232f7002
RM
256942013-01-09 Roland McGrath <roland@hack.frob.com>
25695
ad98e30c
RM
25696 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25697
232f7002
RM
25698 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25699
950c99ca
SP
257002013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25701
b5792741
SP
25702 * sysdeps/s390/fpu/libm-test-ulps: Update.
25703
47cf2278
SP
25704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25705
950c99ca
SP
25706 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25707 (__acr): Likewise.
25708 (__cpy): Likewise.
25709 (norm): Likewise.
25710 (denorm): Likewise.
25711 (__mp_dbl): Likewise.
25712 (__dbl_mp): Likewise.
25713 (add_magnitudes): Likewise.
25714 (sub_magnitudes): Likewise.
25715 (__add): Likewise.
25716 (__sub): Likewise.
25717 (__mul): Likewise.
25718 (__inv): Likewise.
25719 (__dvd): Likewise.
25720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25721 (__acr): Likewise.
25722 (__cpy): Likewise.
25723 (norm): Likewise.
25724 (denorm): Likewise.
25725 (__mp_dbl): Likewise.
25726 (__dbl_mp): Likewise.
25727 (add_magnitudes): Likewise.
25728 (sub_magnitudes): Likewise.
25729 (__add): Likewise.
25730 (__sub): Likewise.
25731 (__mul): Likewise.
25732 (__inv): Likewise.
25733 (__dvd): Likewise.
25734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25735 (__acr): Likewise.
25736 (__cpy): Likewise.
25737 (norm): Likewise.
25738 (denorm): Likewise.
25739 (__mp_dbl): Likewise.
25740 (__dbl_mp): Likewise.
25741 (add_magnitudes): Likewise.
25742 (sub_magnitudes): Likewise.
25743 (__add): Likewise.
25744 (__sub): Likewise.
25745 (__mul): Likewise.
25746 (__inv): Likewise.
25747 (__dvd): Likewise.
25748
eede9df9
JM
257492013-01-08 Joseph Myers <joseph@codesourcery.com>
25750
25751 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25752 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25753 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25754 2 && __USE_EXTERN_INLINES]: Likewise.
25755
c40ea3d9
AJ
257562013-01-08 Andreas Jaeger <aj@suse.de>
25757
25758 [BZ# 14985]
25759 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25760 Remove.
25761 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25762 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25763
2ccdea26
AB
257642013-01-07 Anton Blanchard <anton@samba.org>
25765
25766 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25767 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25768 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25769 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25770 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25771 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25772 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25773 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25776 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25777 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25779 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25780 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25782 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25784 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25785 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25786 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25787 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25789 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25790 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25791 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25792 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25793 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25795 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25796 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25798 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25799 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25803 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25804 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25805 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25806 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25807 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25808 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25809
a9708fed
JM
258102013-01-07 Joseph Myers <joseph@codesourcery.com>
25811
375607b9
JM
25812 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25813 (__MALLOC_PMT): Likewise.
25814 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25815 [__GNUC__], only on [_LIBC].
25816 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25817 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25818 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25819 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25820 forward declaration.
25821 (realloc_hook_ini): Likewise.
25822 (memalign_hook_ini): Likewise.
25823 (__libc_memalign): Do not use __MALLOC_PMT in variable
25824 declaration.
25825 (__libc_valloc): Likewise.
25826 (__libc_pvalloc): Likewise.
25827 (__libc_calloc): Likewise.
25828 (__posix_memalign): Likewise.
25829
a9708fed
JM
25830 [BZ #14996]
25831 * math/s_casinh.c: Include <float.h>.
25832 (__casinh): Do not do computation with squaring and square root
25833 for large arguments.
25834 * math/s_casinhf.c: Include <float.h>.
25835 (__casinhf): Do not do computation with squaring and square root
25836 for large arguments.
25837 * math/s_casinhl.c: Include <float.h>.
25838 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25839 (__casinhl): Do not do computation with squaring and square root
25840 for large arguments.
25841 * math/libm-test.inc (casin_test): Add more tests.
25842 (casinh_test): Likewise.
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25845
afec409a
L
258462013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25847
25848 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25849 (__x86_64_raw_data_cache_size): Likewise.
25850 (__x86_64_data_cache_size_half): Likewise.
25851 (__x86_64_raw_data_cache_size_half): Likewise.
25852 (__x86_64_shared_cache_size): Likewise.
25853 (__x86_64_raw_shared_cache_size): Likewise.
25854 (__x86_64_shared_cache_size_half): Likewise.
25855 (__x86_64_raw_shared_cache_size_half): Likewise.
25856 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25857 to ...
25858 (__x86_data_cache_size): This.
25859 (__x86_64_raw_data_cache_size): Renamed to ...
25860 (__x86_raw_data_cache_size): This.
25861 (__x86_64_data_cache_size_half): Renamed to ...
25862 (__x86_data_cache_size_half): This.
25863 (__x86_64_raw_data_cache_size_half): Renamed to ...
25864 (__x86_raw_data_cache_size_half): This.
25865 (__x86_64_shared_cache_size): Renamed to ...
25866 (__x86_shared_cache_size): This.
25867 (__x86_64_raw_shared_cache_size): Renamed to ...
25868 (__x86_raw_shared_cache_size): This.
25869 (__x86_64_shared_cache_size_half): Renamed to ...
25870 (__x86_shared_cache_size_half): This.
25871 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25872 (__x86_raw_shared_cache_size_half): This.
25873 * sysdeps/x86_64/memcpy.S: Updated.
25874 * sysdeps/x86_64/memset.S: Likewise.
25875 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25878
0b3986d0
DM
258792013-01-04 David S. Miller <davem@davemloft.net>
25880
25881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25882
e47686e9
AS
258832013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25884
d643bac1
AS
25885 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25886 1 to avoid redefinition warning.
25887 (__USE_GNU): Don't define.
25888 (init_signaling_nan): Protoize.
25889
e47686e9
AS
25890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25891
b18decba
SP
258922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25893
fffb407f
SP
25894 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25896 (__cpymn): Likewise.
25897 (norm): Remove commented code.
25898 (denorm): Likewise.
25899 (__mp_dbl): Likewise.
25900 (__inv): Likewise.
25901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25902 (__cpymn): Likewise.
25903 (norm): Remove commented code.
25904 (denorm): Likewise.
25905 (__mp_dbl): Likewise.
25906 (__inv): Likewise.
25907
b18decba
SP
25908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25909 mp_no value for 1.0 and 2.0.
25910 (norm): Use RADIXI instead of radixi.d.
25911 (denorm): Likewise.
25912 (__mul): Use 0.0 instead of zero.d.
25913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25914 mp_no value for 1.0 and 2.0.
25915 (norm): Use RADIXI instead of radixi.d.
25916 (denorm): Likewise.
25917 (__mul): Use 0.0 instead of zero.d.
25918
cdc1c96f
JM
259192013-01-04 Joseph Myers <joseph@codesourcery.com>
25920
25921 [BZ #14994]
25922 * math/s_casinh.c (__casinh): Reduce finite argument to first
25923 quadrant then set signs of results at the end.
25924 * math/s_casinhf.c (__casinhf): Likewise.
25925 * math/s_casinhl.c (__casinhl): Likewise.
25926 * math/libm-test.inc (casin_test): Add more tests.
25927 (casinh_test): Likewise.
25928 * sysdeps/i386/fpu/libm-test-ulps: Update.
25929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25930
302913e1
SP
259312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25932
6420d207
SP
25933 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25934
a9e48ab4
SP
25935 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25936
b7837264
SP
25937 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25938 declarations.
25939 (denorm): Likewise.
25940 (__mp_dbl): Likewise.
25941 (__inv): Likewise.
25942
f8af25d2
SP
25943 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25944 and adjust the header comment.
25945
302913e1
SP
25946 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25947 variable name from declaration.
25948
5d7dd1ca
L
259492013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25950
25951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25952 Initialize COMMON_CPUID_INDEX_7 element.
25953 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25954 (CPUID_RTM): Likewise.
25955 (HAS_RTM): Likewise.
25956 (COMMON_CPUID_INDEX_7): New enum.
25957
2f5f40f4
AS
259582013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 [BZ #14981]
25961 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25962 size is zero, record memory as freed.
25963
4056f4a0
AJ
259642013-01-03 Andreas Jaeger <aj@suse.de>
25965
25966 * po/ia.po: Add new Interlingua translation.
25967
ab15736f 259682012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25969
25970 * locale/programs/localedef.c: Fix description of '--posix' flag.
25971
568035b7
JM
259722013-01-02 Joseph Myers <joseph@codesourcery.com>
25973
e6898b8d
JM
25974 * NEWS: Update dates in second copyright notice.
25975 * README: Update copyright dates in example.
25976 * manual/libc.texinfo: Update copyright dates.
25977 * scripts/test-installation.pl: Update copyright date in --version
25978 output.
25979
0e2f9562
JM
25980 * hurd/ctty-input.c: Fix copyright notice formatting.
25981 * hurd/ctty-output.c: Likewise.
25982 * hurd/dtable.c: Likewise.
25983 * hurd/hurd-raise.c: Likewise.
25984 * hurd/hurdprio.c: Likewise.
25985 * hurd/msgportdemux.c: Likewise.
25986 * misc/sys/file.h: Likewise.
25987 * misc/sys/ioctl.h: Likewise.
25988 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25989 * sysdeps/mach/hurd/chdir.c: Likewise.
25990 * sysdeps/mach/hurd/fchdir.c: Likewise.
25991 * sysdeps/mach/hurd/rename.c: Likewise.
25992 * sysdeps/mach/hurd/rmdir.c: Likewise.
25993 * sysdeps/mach/hurd/seekdir.c: Likewise.
25994 * sysdeps/mach/hurd/setsid.c: Likewise.
25995 * sysdeps/posix/wait3.c: Likewise.
25996
568035b7
JM
25997 * All files with FSF copyright notices: Update copyright dates
25998 using scripts/update-copyrights.
25999 * intl/plural.c: Regenerated.
26000 * locale/programs/charmap-kw.h: Likewise.
26001 * locale/programs/locfile-kw.h: Likewise.
26002
da08f647
SP
260032013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26004
0f5477af
SP
26005 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26006 four values.
26007
44e0d4c2
SP
26008 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26009 calculation loop and add branch prediction.
26010
4d55b4e5
SP
26011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26012 check access beyond bounds of m1np.
26013
da08f647
SP
26014 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26015 MPTWO.
26016 (__inv): Remove local variable MPTWO to use the global
26017 constant.
26018 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26020 variable MPTWO.
26021 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26022 MP3HALFS static const.
26023
8e051029
DM
260242013-01-01 David S. Miller <davem@davemloft.net>
26025
26026 * po/ca.po: Update from translation team.
26027
f4cf5f2d
JM
260282013-01-01 Joseph Myers <joseph@codesourcery.com>
26029
26030 * scripts/update-copyrights: New file.
26031 * Makeconfig: Reformat copyright notice.
26032 * ctype/ctype.h: Likewise.
26033 * debug/swprintf_chk.c: Likewise.
26034 * elf/dl-cache.c: Likewise.
26035 * elf/dl-debug.c: Likewise.
26036 * elf/dl-object.c: Likewise.
26037 * grp/initgroups.c: Likewise.
26038 * hurd/Makefile: Likewise.
26039 * hurd/hurd/signal.h: Likewise.
26040 * hurd/hurdfault.c: Likewise.
26041 * hurd/hurdioctl.c: Likewise.
26042 * hurd/hurdlookup.c: Likewise.
26043 * hurd/intr-msg.c: Likewise.
26044 * iconv/gconv_open.c: Likewise.
26045 * libio/swprintf.c: Likewise.
26046 * locale/lc-ctype.c: Likewise.
26047 * locale/nl_langinfo.c: Likewise.
26048 * mach/Machrules: Likewise.
26049 * mach/Makefile: Likewise.
26050 * malloc/obstack.h: Likewise.
26051 * manual/Makefile: Likewise.
26052 * manual/tsort.awk: Likewise.
26053 * misc/bits/stab.def: Likewise.
26054 * nis/nis_print_group_entry.c: Likewise.
26055 * nis/nis_table.c: Likewise.
26056 * nis/nss_compat/compat-pwd.c: Likewise.
26057 * nis/nss_compat/compat-spwd.c: Likewise.
26058 * po/Makefile: Likewise.
26059 * posix/fnmatch.c: Likewise.
26060 * posix/regex.h: Likewise.
26061 * resolv/Makefile: Likewise.
26062 * resolv/nss_dns/dns-network.c: Likewise.
26063 * resolv/res_hconf.c: Likewise.
26064 * scripts/gen-sorted.awk: Likewise.
26065 * soft-fp/soft-fp.h: Likewise.
26066 * stdio-common/printf.h: Likewise.
26067 * stdlib/monetary.h: Likewise.
26068 * stdlib/random.c: Likewise.
26069 * stdlib/random_r.c: Likewise.
26070 * sysdeps/generic/Makefile: Likewise.
26071 * sysdeps/gnu/Makefile: Likewise.
26072 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26100 * sysdeps/mach/hurd/errnos.awk: Likewise.
26101 * sysdeps/mach/hurd/fork.c: Likewise.
26102 * sysdeps/mach/hurd/getcwd.c: Likewise.
26103 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26104 * sysdeps/mach/hurd/mmap.c: Likewise.
26105 * sysdeps/mach/hurd/utimes.c: Likewise.
26106 * sysdeps/mach/hurd/xmknod.c: Likewise.
26107 * sysdeps/posix/profil.c: Likewise.
26108 * sysdeps/posix/readdir_r.c: Likewise.
26109 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26110 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26111 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26112 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26114 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26115 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26116 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26120 * sysdeps/pthread/lio_listio.c: Likewise.
26121 * sysdeps/sparc/dl-procinfo.h: Likewise.
26122 * sysdeps/unix/i386/sysdep.S: Likewise.
26123 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26124 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26125 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26126 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26128 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26129 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26130 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26131 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26132 * sysdeps/wordsize-32/divdi3.c: Likewise.
26133 * time/sys/time.h: Likewise.
26134 * wcsmbs/Makefile: Likewise.
26135
0549fbba
DM
261362013-01-01 David S. Miller <davem@davemloft.net>
26137
a141f1a7
DM
26138 * po/fr.po: Update from translation team.
26139
0549fbba
DM
26140 * catgets/gencat.c: Update copyright year.
26141 * csu/version.c: Likewise.
26142 * debug/catchsegv.sh: Likewise.
26143 * debug/pcprofiledump.c: Likewise.
26144 * debug/xtrace.sh: Likewise.
26145 * elf/ldconfig.c: Likewise.
26146 * elf/ldd.bash.in: Likewise.
26147 * elf/pldd.c: Likewise.
26148 * elf/sotruss.ksh: Likewise.
26149 * elf/sprof.c: Likewise.
26150 * iconv/iconv_prog.c: Likewise.
26151 * iconv/iconvconfig.c: Likewise.
26152 * locale/programs/locale.c: Likewise.
26153 * locale/programs/localedef.c: Likewise.
26154 * login/programs/pt_chown.c: Likewise.
26155 * malloc/memusage.sh: Likewise.
26156 * malloc/memusagestat.c: Likewise.
26157 * malloc/mtrace.pl: Likewise.
26158 * nscd/nscd.c: Likewise.
26159 * nss/getent.c: Likewise.
26160 * nss/makedb.c: Likewise.
26161 * posix/getconf.c: Likewise.
26162
18ea052c
SP
261632012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26164
26165 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26166 numbers.
26167
9c89fca6
MF
261682012-12-30 Mike Frysinger <vapier@gentoo.org>
26169
26170 * math/bits/mathcalls.h (modf): Use __nonnull.
26171
085ec079
SP
261722012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26173
26174 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26175 (split): Use macro CN instead of the bare value.
26176 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26177 could be used.
26178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26179 instead of the bare value.
26180 (power1): Likewise.
26181
6d9f97e1
SP
261822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26183
d63f73be
SP
26184 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26185 __ATAN_TWOM.
26186 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26187
6d9f97e1
SP
26188 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26189 their values.
26190 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26191 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26192 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26193 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26194
4c4febf5
AJ
261952012-12-28 Andreas Jaeger <aj@suse.de>
26196
af5843ef
AJ
26197 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26198 values are from Linux 3.7.
26199
4c4febf5
AJ
26200 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26201 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26202
99136f82
SP
262032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26204
2f216c3c 26205 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26206 TRUE case.
26207
99136f82
SP
26208 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26209 (norm): Likewise.
26210 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26211 variables with preprocessor constants.
26212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26213 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26214 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26215
7fffbdff
BH
262162012-12-27 Bruno Haible <bruno@clisp.org>
26217
26218 [BZ #14317]
26219 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26220 only if needed.
26221
b76eb5f0
SP
262222012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26223
31a7fe5c
SP
26224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26225 and use variable directly.
26226 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26227
b76eb5f0
SP
26228 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26229 MPONE.
26230 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26232 variable MPONE.
26233 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26235 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26236 include directive. Remove local variable MPONE.
26237 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26238 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26240
2c8bfe7d
DM
262412012-12-25 David S. Miller <davem@davemloft.net>
26242
26243 * version.h (RELEASE): Set to "development".
26244 (VERSION): Set to "2.17.90".
26245 * NEWS: Add 2.18 section.
26246
147d03b0
DM
262472012-12-21 David S. Miller <davem@davemloft.net>
26248
26249 * po/hr.po: Update from translation team.
26250
a8ebb2b9
AK
262512012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26252
26253 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26254
95b4f1b6
SE
262552012-12-19 Steve Ellcey <sellcey@mips.com>
26256
b2d94007 26257 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26258
cedb2a90
MS
262592012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26260
26261 * manual/contrib.texi (Contributors): Spelling correction.
26262
bbf527d6
DM
262632012-12-15 David S. Miller <davem@davemloft.net>
26264
26265 * po/ru.po: Update from translation team.
26266
bc38c906
DM
262672012-12-13 David S. Miller <davem@davemloft.net>
26268
85429b1a
DM
26269 * NEWS: Mention IFUNC testsuite enhancements.
26270
d283e353
DM
26271 * po/pl.po: Update from translation team.
26272 * po/bg.po: Likewise.
26273
bc38c906
DM
26274 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26275 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26276
a181b0d7
DM
262772012-12-11 David S. Miller <davem@davemloft.net>
26278
4641d57e
DM
26279 * po/sv.po: Update from translation team.
26280
f7bc6495
DM
26281 * po/vi.po: Update from translation team.
26282
6fc9048f
DM
26283 * po/cs.po: Update from translation team.
26284
a181b0d7
DM
26285 * po/de.po: Update from translation team.
26286 * po/eo.po: Likewise.
26287 * po/nl.po: Likewise.
26288
f70bfe80
SP
262892012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26290
3c8b4190
SP
26291 [BZ #14246]
26292 * manual/argp.texi (Argp Helper Functions): Move node to follow
26293 Argp Parsing State.
26294
f70bfe80
SP
26295 [BZ #14872]
26296 * manual/conf.texi (Limits on File System Capacity): Mention if
26297 terminating null is included in the max size.
26298
188f0adf
AJ
262992012-12-10 Andreas Jaeger <aj@suse.de>
26300
26301 * po/cs.po: Update from translation team.
26302
56e7d3ad
SP
263032012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26304
26305 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26306 void pointer and cast to uintptr_t.
26307 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26308 path.
26309 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26310 * sysdeps/s390/s390-64/memset.S: Likewise.
26311
76f2d2ea 263122012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26313
26314 [BZ #14833]
26315 * menual/message.texi (Message Translation): Fix typos.
26316 (Helper programs for gettext): Likewise.
26317
67cbf9a2
AS
263182012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26319
26320 [BZ #14898]
26321 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26322 Change to -1.
26323
682d0e9a
DM
263242012-12-07 David S. Miller <davem@davemloft.net>
26325
26326 * po/libc.pot: Update.
26327
573cd484
RH
263282012-12-07 Richard Henderson <rth@redhat.com>
26329
7e9da188 26330 [BZ #10114]
573cd484
RH
26331 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26332 normal/normal case to before the switch.
26333 (_FP_DIV): Likewise.
26334
e933a943
MF
263352012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26336 Mike Frysinger <vapier@gentoo.org>
26337
26338 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26339 check for __NR_fadvise64_64.
26340
82123268
CM
263412012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26342
26343 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26344 0, not just to plain "0" as a statement.
26345 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26346 with cw.
26347
d9814526
JM
263482012-12-06 Joseph Myers <joseph@codesourcery.com>
26349
26350 * NEWS: Use sourceware.org in Bugzilla URL.
26351
7728c574
SP
263522012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26353
f16946dd
SP
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26355 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26356
5704bbcb
SP
26357 * stdio-common/tst-put-error.c (do_test): Add newline to the
26358 padded test to ensure flush.
26359
17aa0516
JL
263602012-12-05 Jeff Law <law@redhat.com>
26361
26362 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26363
363313b5
JM
263642012-12-05 Joseph Myers <joseph@codesourcery.com>
26365
effbd42a
JM
26366 * README: Don't refer to ports add-on as distributed separately.
26367 Mention AArch64 in list of systems supported in the ports add-on.
26368
87600365
JM
26369 * LICENSES: Add more non-FSF copyright and license notices.
26370
a0d7066a
JM
26371 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26372 ((unused)).
26373
66ca5a5b
JM
26374 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26375
363313b5
JM
26376 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26377 10000 as width of padded output.
26378
b37984ad
JM
263792012-12-04 Joseph Myers <joseph@codesourcery.com>
26380
9003570a
JM
26381 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26382
b37984ad
JM
26383 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26384 variable LX with __attribute__ ((unused)).
26385 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26386 Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26389 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26390 with __attribute__ ((unused)).
26391
c8df52ec
DM
263922012-12-04 David S. Miller <davem@abraco.davemloft.net>
26393
26394 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26395
b3b099af
JM
263962012-12-04 Joseph Myers <joseph@codesourcery.com>
26397
c33aa6e3
JM
26398 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26399 (CFLAGS-nldbl-acos.c): New variable.
26400 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26401 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26402 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26403 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26404 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26405 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26406 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26407 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26408 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26409 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26410 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26411 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26412 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26413 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26474 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26475 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26476 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26477 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26478 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26479 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26480 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26481 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26482 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26483 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26484 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26485 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26486 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26487 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26488 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26489 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26490 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26491 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26492 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26493 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26494 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26495 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26496 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26497
20f0018d
JM
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26499 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26500
b3b099af
JM
26501 [BZ #14914]
26502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26503 whole low double instead of just low 47 bits when splitting values
26504 into two parts.
26505
029264d1
AM
265062012-12-03 Allan McRae <allan@archlinux.org>
26507
26508 * manual/stdio.texi (Predefined Printf Handlers): Remove
26509 @hsep and @vsep usage.
26510
c9d6789e
MF
265112012-12-03 Mike Frysinger <vapier@gentoo.org>
26512
26513 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26514 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26515
4b7634a5
JL
265162012-12-03 Jeff Law <law@redhat.com>
26517
26518 * time/sys/time.h (settimeofday): Do not mark TV argument
26519 as __nonnull.
26520
eb6cbd24
MF
265212012-12-01 Mike Frysinger <vapier@gentoo.org>
26522
26523 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26524 when currently writing and seek to current position when not.
26525 * libio/Makefile (tests): Remove bug-fclose1.
26526 * libio/bug-fclose1.c: Delete.
26527
f638872a
JM
265282012-12-01 Joseph Myers <joseph@codesourcery.com>
26529
26530 * manual/arith.texi (feenableexcept): Fix typo.
26531 (fedisableexcept): Likewise.
26532
48085d14
RM
265332012-11-30 Roland McGrath <roland@hack.frob.com>
26534
26535 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26536 second, differently-typed declaration, rather than a cast.
26537
1a538b9f
SP
265382012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26539
26540 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26541 * include/rpc/svc.h: ... here.
26542
d07f2ff1 265432012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26544
26545 [BZ #13013]
26546 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26547 depending n and resplen2 to catch cases where answer
26548 equals answerp2.
26549
c93ec1f0
CD
265502012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26551
26552 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26553 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26554
37db69de
MF
265552012-11-29 Mike Frysinger <vapier@gentoo.org>
26556
26557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26558
e10c4e4f
RM
265592012-11-29 Roland McGrath <roland@hack.frob.com>
26560
26561 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26562
2af1b328
JL
265632012-11-28 Jeff Law <law@redhat.com>
26564
26565 [BZ #13761]
26566 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26567 dataset_temporary. Track alloca usage into alloca_used.
26568 If dataset is large allocate and release it via malloc/free.
26569
111db5b1
FW
265702012-06-04 Florian Weimer <fweimer@redhat.com>
26571
f06cc227 26572 [BZ #14197]
111db5b1
FW
26573 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26574
dd694abd
DM
265752012-11-28 David S. Miller <davem@davemloft.net>
26576
26577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26578
9984dd01
JM
265792012-11-28 Joseph Myers <joseph@codesourcery.com>
26580
26581 [BZ #14803]
26582 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26583 of pi/2 rounded to nearest to 64 bits.
26584 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26585 nearest to 64 bits.
26586 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26587 bits.
26588
14bc93a9
JL
265892012-11-28 Jeff Law <law@redhat.com>
26590 Martin Osvald <mosvald@redhat.com>
26591
26592 [BZ #14889]
26593 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26594 * sunrpc/svc.c: Include time.h.
26595 (__svc_accept_failed): New function.
26596 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26597 any reason other than EINTR, call __svc_accept_failed.
26598 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26599 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26600
e3c6aa3a
AS
266012012-11-28 Andreas Schwab <schwab@suse.de>
26602
26603 * scripts/abilist.awk: Also handle indirect functions in .opd
26604 section.
26605
1bead169
JM
266062012-11-28 Joseph Myers <joseph@codesourcery.com>
26607
26608 [BZ #13881]
26609 * sysdeps/x86/fpu/powl_helper.c: New file.
26610 * sysdeps/x86/fpu/Makefile: Likewise.
26611 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26612 (p3): New object.
26613 (__ieee754_powl): Use __powl_helper for finite arguments except
26614 integer exponents below 8.
26615 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26616 (p3): New object.
26617 (__ieee754_powl): Use __powl_helper for finite arguments except
26618 integer exponents below 8.
26619 * math/libm-test.inc (pow_test): Add more tests and enable some
26620 previously disabled tests.
26621 * sysdeps/i386/fpu/libm-test-ulps: Update.
26622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26623
0817d63d
SP
266242012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26625 Carlos O'Donell <carlos_odonell@mentor.com>
26626
26627 * nss/makedb.c (is_prime): Assert that input is odd and greater
26628 than 4. Note that fact in a comment too.
26629 (next_prime): Add 4 to input.
26630
de2fd463
SP
266312012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26632
26633 [BZ #11741]
26634 * libio/Makefile (tests): Add test case tst-fwrite-error.
26635 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26636 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26637 * libio/tst-fwrite-error.c: New test case.
26638
c515fb51
L
266392012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26640
26641 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26642 before casting to void *.
26643 * include/libc-internal.h (__pointer_type): New macro.
26644 (__integer_if_pointer_type_sub): Likewise.
26645 (__integer_if_pointer_type): Likewise.
26646 (cast_to_integer): Likewise.
26647 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26648 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26649 before casting to atomic64_t.
26650 (atomic_exchange_acq): Likewise.
26651 (__arch_exchange_and_add_body): Likewise.
26652 (__arch_add_body): Likewise.
26653 (atomic_add_negative): Likewise.
26654 (atomic_add_zero): Likewise.
26655
4cf77aa9
JM
266562012-11-26 Joseph Myers <joseph@codesourcery.com>
26657
26658 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26659 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26660 (add_fdes): Likewise.
26661 (linear_search_fdes): Likewise.
26662 (binary_search_unencoded_fdes): Likewise.
26663
d260b3b4
AS
266642012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26665
26666 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26667
67060746
AC
266682012-11-24 Adam Conrad <adconrad@0c3.net>
26669
26670 * configure.in: Autodetect C++ header directories.
26671 * configure: Regenerated.
26672
800938a1
MF
266732012-11-23 Mike Frysinger <vapier@gentoo.org>
26674
26675 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26676
4e6e34e6
AS
266772012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26678
26679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26680
7c7feb47
JM
266812012-11-22 Joseph Myers <joseph@codesourcery.com>
26682
7184dcdf
JM
26683 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26684 LDBL_MANT_DIG == 106]: Disable some tests.
26685 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26686 Likewise.
26687 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26688 Likewise.
26689
0a42601f
JM
26690 [BZ #14871]
26691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26692 input for small inputs. Return +/- pi/2 for large inputs.
26693 * math/libm-test.inc (atan_test): Add more tests.
26694
79c9b9fe
JM
26695 * sysdeps/generic/unwind-dw2-fde-glibc.c
26696 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26697 __attribute__ ((unused)).
26698
c60d3bf2
JM
26699 [BZ #14645]
26700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26701 x * y if x and y are nonzero and z is zero.
26702
ef1e0867
JM
26703 [BZ #14811]
26704 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26705 nonzero exponents with absolute value below 0x1p-117 to +/-
26706 0x1p-117.
26707
1468ded3
JM
26708 [BZ #14869]
26709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26710 up arguments below 2**-450, not just those below 2**-500.
26711 * math/libm-test.inc (hypot_test): Add another test.
26712
8e27e3cc
JM
26713 [BZ #14868]
26714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26715 Return a+b for ratio over 2**120, not 2**60.
26716 * math/libm-test.inc (hypot_test): Add another test.
26717
c9c0279b
JM
26718 * math/libm-test.inc (clog_test): Use
26719 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26720 (clog10_test): Likewise.
26721
7c7feb47
JM
26722 [BZ #6778]
26723 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26724
fff1530e
AS
267252012-11-22 Andreas Schwab <schwab@suse.de>
26726
26727 * sysdeps/i386/fpu/libm-test-ulps: Update.
26728
94558d30
PT
267292012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26730
26731 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26732 printf output with newline.
26733
7e1be741
L
267342012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26735
6bfea974
L
26736 [BZ #14865]
26737 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26738 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26739 -z nodlopen, -z initfirst and -z execstack support.
26740 * configure: Regenerated.
26741
7e1be741
L
26742 * elf/elf.h (DF_1_NODIRECT): New macro.
26743 (DF_1_IGNMULDEF): Likewise.
26744 (DF_1_NOKSYMS): Likewise.
26745 (DF_1_NOHDR): Likewise.
26746 (DF_1_EDITED): Likewise.
26747 (DF_1_NORELOC): Likewise.
26748 (DF_1_SYMINTPOSE): Likewise.
26749 (DF_1_GLOBAUDIT): Likewise.
26750 (DF_1_SINGLETON): Likewise.
26751 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26752 DT_1_SUPPORTED_MASK bits.
26753 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26754
105ce2ce
CD
267552012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26756
26757 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26758
123be9de
TS
267592012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26760
d072f3f7
TS
26761 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26762 macro.
26763
123be9de
TS
26764 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26765 (sendmmsg): Move declarations...
26766 * socket/sys/socket.h: ... here.
26767 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26768 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26769 include it from...
26770 * socket/recvmmsg.c: ... this new file.
26771 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26772 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26773 definition of __sendmmsg hidden.
26774 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26775 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26776 Move ENOSYS stub into and include it from...
26777 * socket/sendmmsg.c: ... this new file.
26778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26779 (sysdep_routines): Move recvmmsg and sendmmsg...
26780 * socket/Makefile (routines): ... here.
26781 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26782 (GLIBC_PRIVATE): Add __sendmmsg.
26783 * include/sys/socket.h (__sendmmsg): Add declarations.
26784 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26785 sendmmsg.
26786
cf9a5d18
JM
267872012-11-20 Joseph Myers <joseph@codesourcery.com>
26788
26789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26790 variable I1 with __attribute__ ((unused)).
26791 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26792
ecd4caf9
JM
267932012-11-19 Joseph Myers <joseph@codesourcery.com>
26794
be14d48f
JM
26795 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26796 DUMMY variables with __attribute__ ((unused)).
26797
ecd4caf9
JM
26798 * bits/byteswap.h: Include <bits/types.h>.
26799 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26800
986cab95
PT
268012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26802
26803 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26804 string_t. Do not manually set errno.
26805 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26806 length with __strnlen. Make sure to both set errno and return it on
26807 failure.
26808
6d33cc9d
DM
268092012-11-19 David S. Miller <davem@davemloft.net>
26810
26811 With help from Joseph Myers.
26812 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26813 very large arguments properly.
26814 * math/libm-test.inc (atan_test): New tests.
26815 (atan2_test): New tests.
26816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26818
ee663277
JM
268192012-11-19 Joseph Myers <joseph@codesourcery.com>
26820
877f2d8e
JM
26821 [BZ #14856]
26822 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26823 Define to 3.
26824
116fc08a
JM
26825 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26826 [POSIX] (EADDRNOTAVAIL): Likewise.
26827 [POSIX] (EAFNOSUPPORT): Likewise.
26828 [POSIX] (EALREADY): Likewise.
26829 [POSIX] (ECONNABORTED): Likewise.
26830 [POSIX] (ECONNREFUSED): Likewise.
26831 [POSIX] (ECONNRESET): Likewise.
26832 [POSIX] (EDESTADDRREQ): Likewise.
26833 [POSIX] (EDQUOT): Likewise.
26834 [POSIX] (EHOSTUNREACH): Likewise.
26835 [POSIX] (EIDRM): Likewise.
26836 [POSIX] (EISCONN): Likewise.
26837 [POSIX] (ELOOP): Likewise.
26838 [POSIX] (EMULTIHOP): Likewise.
26839 [POSIX] (ENETDOWN): Likewise.
26840 [POSIX] (ENETUNREACH): Likewise.
26841 [POSIX] (ENOBUFS): Likewise.
26842 [POSIX] (ENODATA): Likewise.
26843 [POSIX] (ENOLINK): Likewise.
26844 [POSIX] (ENOMSG): Likewise.
26845 [POSIX] (ENOPROTOOPT): Likewise.
26846 [POSIX] (ENOSR): Likewise.
26847 [POSIX] (ENOSTR): Likewise.
26848 [POSIX] (ENOTCONN): Likewise.
26849 [POSIX] (ENOTSOCK): Likewise.
26850 [POSIX] (EOPNOTSUPP): Likewise.
26851 [POSIX] (EOVERFLOW): Likewise.
26852 [POSIX] (EPROTO): Likewise.
26853 [POSIX] (EPROTONOSUPPORT): Likewise.
26854 [POSIX] (EPROTOTYPE): Likewise.
26855 [POSIX] (ESTALE): Likewise.
26856 [POSIX] (ETIME): Likewise.
26857 [POSIX] (ETXTBSY): Likewise.
26858 [POSIX] (EWOULDBLOCK): Likewise.
26859 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26860 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26861 [POSIX] (SEEK_CUR): Likewise.
26862 [POSIX] (SEEK_END): Likewise.
26863 [POSIX || UNIX98] (mode_t): Do not require.
26864 [POSIX] (off_t): Likewise.
26865 [POSIX] (pid_t): Likewise.
26866 [POSIX] (sys/stat.h): Do not allow header.
26867 [POSIX] (unistd.h): Likewise.
26868 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26869 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26870 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26871 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26872 require.
26873 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26874 sigevent): Specify elements.
26875 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26876 entry.
26877 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26878 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26879
a483863f
JM
26880 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26881 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26882 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26883 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26884 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26885 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26886 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26887 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26888 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26890 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26891 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26892 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26893 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26894 Likewise.
26895 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26896 Likewise.
26897 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26898 Likewise.
26899 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26900 Likewise.
26901 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26902 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26903 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26904 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26905 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26906 Specify lower bound on value.
26907 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26908 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26909 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26910 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26911 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26912 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26913 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26914 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26915 value.
26916 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26917 as optional.
26918 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26919 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26920 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26925 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26926 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26927 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26928 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26934 entry.
26935 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26936 optional.
26937 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26942 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26943 Likewise.
26944 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26946 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26947 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26948 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26949 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26950 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26951 as optional.
26952 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26953 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26954 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26955 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26956 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26957 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26958 specify as optional.
26959 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26960 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26961 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26962 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26963 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26964 [XPG3] (NL_LANGMAX): Likewise.
26965 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26966 [POSIX || XPG3] (NL_NMAX): Likewise.
26967 [POSIX || XPG3] (NL_SETMAX): Likewise.
26968 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26969 [XPG3] (NZERO): Likewise.
26970 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26971 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26972 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26973 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26974 (REG_ERANGE): Expect.
26975 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26976 optional-constant.
26977 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26978 Use (void) in prototype.
26979 [POSIX] (*_t): Allow.
26980 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26981 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26982 (WRDE_BADVAL): Expect.
26983
5ba924e3
JM
26984 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26985 expect.
26986 [XPG3 || XPG4] (O_RSYNC): Likewise.
26987 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26988 Likewise.
26989 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26990 [XPG3 || XPG4] (sigqueue): Likewise.
26991 [XPG3 || XPG4] (sigtimedwait): Likewise.
26992 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26993 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26994 [XPG3 || XPG4] (vsnprintf): Likewise.
26995 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26996 Likewise.
26997 [XPG3 || XPG4] (blksize_t): Likewise.
26998 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26999 Likewise.
27000 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27001 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27002 [XPG3 || XPG4] (struct itimerspec): Likewise.
27003 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27004 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27005 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27006 [XPG3 || XPG4] (clockid_t): Likewise.
27007 [XPG3 || XPG4] (timer_t): Likewise.
27008 [XPG3 || XPG4] (clock_getres): Likewise.
27009 [XPG3 || XPG4] (clock_gettime): Likewise.
27010 [XPG3 || XPG4] (clock_settime): Likewise.
27011 [XPG3 || XPG4] (nanosleep): Likewise.
27012 [XPG3 || XPG4] (timer_create): Likewise.
27013 [XPG3 || XPG4] (timer_delete): Likewise.
27014 [XPG3 || XPG4] (timer_gettime): Likewise.
27015 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27016 [XPG3 || XPG4] (timer_settime): Likewise.
27017 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27018 [XPG3 || XPG4] (getlogin_r): Likewise.
27019 [XPG3 || XPG4] (pread): Likewise.
27020 [XPG3 || XPG4] (pthread_atfork): Likewise.
27021 [XPG3 || XPG4] (pwrite): Likewise.
27022
ee663277
JM
27023 [BZ #14835]
27024 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27025 <bits/siginfo.h>.
27026
942caa16
PT
270272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27028
e19af380
PT
27029 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27030 finalizing MALLSTREAM.
27031
942caa16
PT
27032 * sysdeps/mach/hurd/syncfs.c: New file.
27033
cfde9b46
SP
270342012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27035
27036 [BZ #14719]
27037 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27038 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27039 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27040 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27041 (_nss_dns_gethostbyname4_r): Likewise.
27042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27043 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27044
f6da27e5
PH
270452012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27046
27047 [BZ #13763]
27048 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27049
6665d4a2
SM
270502012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27051
1f51ee92
SM
27052 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27053 * elf/cache.c (print_entry): Print ",AArch64" for
27054 FLAG_AARCH64_LIB64
27055
6665d4a2
SM
27056 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27057 * elf/cache.c (print_entry): Print ",hard-float" for
27058 FLAG_ARM_LIBHF.
27059
05b227bd
DM
270602012-11-18 David S. Miller <davem@davemloft.net>
27061
27062 With help from Joseph Myers.
27063 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27064 cutoff to 2**-13.
27065 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27066 cutoff to 2**-25.
27067 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27068 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27069 small.
27070 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27071 * math/libm-test.inc (y0_test): New tests.
27072 (y1_test): New tests.
27073 * sysdeps/i386/fpu/libm-test-ulps: Update.
27074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27076
786b0b67
AS
270772012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27078
27079 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27080 64-bit targets.
27081 * configure: Regenerated.
27082
8e18b86d
DM
270832012-11-17 David S. Miller <davem@davemloft.net>
27084
27085 [BZ #14811]
27086 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27087 nonzero exponents with absolute value below 0x1p-128 to +/-
27088 0x1p-128.
27089
531f1ae0
JM
270902012-11-17 Joseph Myers <joseph@codesourcery.com>
27091
12df29e2
JM
27092 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27093
150dc1a0
JM
27094 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27095
531f1ae0
JM
27096 * posix/getconf-speclist.c: New file.
27097 * posix/posix-envs.def: Likewise.
27098 * posix/confstr.c (START_ENV_GROUP): New macro.
27099 (END_ENV_GROUP): Likewise.
27100 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27101 (KNOWN_PRESENT_ENV_STRING): Likewise.
27102 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27103 (UNKNOWN_ENVIRONMENT): Likewise.
27104 (confstr): Include posix-envs.def instead of handling
27105 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27106 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27107 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27108 (END_ENV_GROUP): Likewise.
27109 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27110 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27111 (UNKNOWN_ENVIRONMENT): Likewise.
27112 (__sysconf): Include posix-envs.def instead of handling associated
27113 cases directly here.
27114 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27115 preprocessing getconf-speclist.c rather than running getconf or
27116 generating empty file.
27117
a93f9cbc
PT
271182012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27119
27120 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27121
d64d9f87
AL
271222012-11-16 Andrej Lajovic <natrij@gmail.com>
27123
27124 [BZ #14672]
27125 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27126
447885eb
DM
271272012-11-16 David S. Miller <davem@davemloft.net>
27128
27129 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27130 smaller than LDBL_EPSILON/2.0L, just return xm1.
27131
bcbf9830
L
271322012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27133
27134 * elf/tst-array1.c (init): Set constructor priority to 1000.
27135 (fini): Set destructor priority to 1000.
27136 * elf/tst-array2dep.c: Likewise.
27137
2b766585
SP
271382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27139
27140 [BZ #11741]
27141 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27142 (_IO_new_file_xsputn): Also return EOF if none of the input
27143 data was written when overflow failed.
27144 * libio/iopadn.c (_IO_padn): Likewise.
27145 * libio/iowpadn.c (_IO_wpadn): Likewise.
27146 * stdio-common/tst-put-error.c: Add copyright notice.
27147 (do_test): Add case for printing padded string.
27148 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27149 _IO_padn returned error.
27150 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27151 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27152 return EOF.
27153
b1848fde
SP
271542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27155
27156 * libio/libioP.h: Add comment note that the references to C++
27157 bits are now obsolete.
27158
2fd89785
MS
271592012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27160
27161 * math/libm-test.inc (check_complex): Use asprintf.
27162
e3ea5409
JM
271632012-11-14 Joseph Myers <joseph@codesourcery.com>
27164
27165 * debug/pcprofiledump.c (print_version): Update copyright year.
27166 * malloc/memusagestat.c (print_version): Likewise.
27167
2e64d265
L
271682012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27169
27170 [BZ #14831]
27171 * elf/Makefile (tests): Add tst-audit8.
27172 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27173 ($(objpfx)tst-audit8.out): New target.
27174 (tst-audit8-ENV): New variable.
27175 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27176 audit if l_reloc_result is NULL.
27177 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27178 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27179 * elf/tst-audit8.c: New file.
27180
c485e4d2
MS
271812012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27182
27183 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27184 * misc/Makefile (CFLAGS-select.c): Define.
27185 * posix/Makefile (CFLAGS-pause.c): Define.
27186
3a0d900a
DM
271872012-11-13 David S. Miller <davem@davemloft.net>
27188
27189 * crypt/Makefile: Move test targets after toplevel Rules
27190 inclusion. Grab any necessary sysdep routines when linking.
27191 * crypt/md5.c (md5_process_block): Remove define, we will always
27192 name it __md5_process_block.
27193 (md5_finish_ctx): Update md5_process_block call.
27194 (md5_stream): Likewise.
27195 (md5_process_bytes): Likewise.
27196 (md5_process_block): Rename to __md5_process_block and move to ...
27197 * crypt/md5-block.c: ... here.
27198 * crypt/sha256.c (sha256_process_block): Move to ...
27199 * crypt/sha256-block.c: ... here.
27200 * crypt/sha512.c (sha512_process_block): Move to ...
27201 * crypt/sha512-block.c: ... here.
27202 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27203 path.
27204 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27205 * sysdeps/sparc/sparc64/multiarch/Makefile
27206 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27207 crypt subdir.
27208 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27209 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27210 multiarch changes.
27211 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27212 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27213 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27214 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27215 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27216 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27217 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27218 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27219 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27220 file.
27221 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27222 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27223 file.
27224 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27225
8ca89318
JM
272262012-11-13 Joseph Myers <joseph@codesourcery.com>
27227
e27d476a
JM
27228 * timezone/tzselect.ksh: Update from tzcode git revision
27229 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27230 * timezone/zdump.c: Likewise.
27231 * timezone/zic.c: Likewise.
27232 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27233 in TZVERSION setting, not $(PKGVERSION).
27234 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27235 REPORT_BUGS_TO settings.
27236
8ca89318
JM
27237 [BZ #14838]
27238 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27239 macro.
27240
47594329
MS
272412012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27242
27243 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27244 detection to immediately after _FP_ROUND().
27245 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27246 bits are 0.
27247
640ac3f1
DM
272482012-11-11 David S. Miller <davem@davemloft.net>
27249
27250 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27251 inttypes.h
27252 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27253 __close rather than their public counterparts.
27254
3d2577bb
JM
272552012-11-10 Joseph Myers <joseph@codesourcery.com>
27256
27257 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27258 file.
27259 [UNIX98] (sem_timedwait): Do not expect.
27260 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27261 [XPG4 || UNIX98] (sockatmark): Do not expect.
27262 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27263 (clock_getcpuclockid): Do not expect.
27264 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27265 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27266 Do not expect.
27267 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27268 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27269 [UNIX98] (vwscanf): Likewise.
27270 [UNIX98] (vswscanf): Likewise.
27271
fb1ae1ee
JM
272722012-11-09 Joseph Myers <joseph@codesourcery.com>
27273
9ec6f8bd
JM
27274 * timezone/version.h: Remove file.
27275 * timezone/README: Do not refer to version.h.
27276 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27277 $(objpfx)version.h.
27278 ($(objpfx)zdump.o): Likewise.
c3f81911 27279 ($(objpfx)version.h): New target.
9ec6f8bd 27280
0aa8f8a1
JM
27281 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27282 2012i.
27283 * timezone/README: Don't mention modification to tzselect.ksh.
27284 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27285 work on unmodified tzselect.ksh. Substitute version numbers in
27286 tzselect.ksh.
27287
4e87147f
JM
27288 * Makefile (format-me): Remove.
27289 (INSTALL): Adjust indentation. Use commands directly instead of
27290 using $(format-me).
27291
8b748aed
JM
27292 * aclocal.m4 (ACX_PKGVERSION): New macro.
27293 (ACX_BUGURL): Likewise.
27294 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27295 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27296 (REPORT_BUGS_TO): Likewise.
27297 * configure: Regenerated.
27298 * config.h.in (PKGVERSION): New macro.
27299 (REPORT_BUGS_TO): Likewise.
27300 * config.make.in (PKGVERSION): New variable.
27301 (PKGVERSION_TEXI): Likewise.
27302 (REPORT_BUGS_TO): Likewise.
27303 (REPORT_BUGS_TEXI): Likewise.
27304 * Makefile (format-me): Use -I$(common-objpfx)manual.
27305 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27306 ($(common-objpfx)manual/%): New target.
27307 (manual/%): Remove target.
27308 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27309 (print_version): Use PKGVERSION.
27310 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27311 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27312 and REPORT_BUGS_TO.
27313 ($(objpfx)xtrace): Likewise.
27314 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27315 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27316 (print_version): Use PKGVERSION.
27317 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27318 (do_version): Use PKGVERSION.
27319 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27320 REPORT_BUGS_TO.
27321 (common-ldd-rewrite): Likewise.
27322 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27323 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27324 (print_version): Use PKGVERSION.
27325 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27326 * elf/pldd.c (argp_program_bug_address): Remove variable.
27327 (more_help): New function.
27328 (argp): Use more_help.
27329 (print_version): Use PKGVERSION.
27330 * elf/sln.c (main): Use PKGVERSION.
27331 (usage): Use REPORT_BUGS_TO.
27332 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27333 (top level): Use PKGVERSION.
27334 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27335 (print_version): Use PKGVERSION.
27336 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27337 (print_version): Use PKGVERSION.
27338 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27339 (print_version): Use PKGVERSION.
27340 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27341 (print_version): Use PKGVERSION.
27342 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27343 (print_version): Use PKGVERSION.
27344 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27345 (print_version): Use PKGVERSION.
27346 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27347 and BUGURL.
27348 ($(objpfx)memusage): Likewise.
27349 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27350 (do_version): Use PKGVERSION.
27351 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27352 (print_version): Use PKGVERSION.
27353 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27354 ($PKGVERSION): New variable.
27355 ($REPORT_BUGS_TO): Likewise.
27356 (usage): Use $REPORT_BUGS_TO.
27357 (top level): Use $PKGVERSION.
27358 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27359 ($(objpfx)pkgvers.texi): New rule.
27360 ($(objpfx)stamp-pkgvers): Likewise.
27361 * manual/install.texi: Include pkgvers.texi.
27362 (--with-pkgversion): Document new configure option.
27363 (--with-bugurl): Likewise.
27364 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27365 than necessarily for this particular distribution. Use
27366 REPORT_BUGS_TO for where to report bugs.
27367 * INSTALL: Regenerated.
27368 * manual/libc.texinfo: Include pkgvers.texi.
27369 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27370 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27371 (print_version): Use PKGVERSION.
27372 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27373 (print_version): Use PKGVERSION.
27374 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27375 (print_version): Use PKGVERSION.
27376 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27377 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27378 macro.
27379 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27380 (print_version): Use PKGVERSION.
27381 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27382 (print_version): Use PKGVERSION.
27383 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27384 and PKGVERSION.
27385
92e4b6a9
JM
27386 * timezone/checktab.awk: Update from tzcode 2012i.
27387 * timezone/ialloc.c: Likewise.
27388 * timezone/private.h: Likewise.
27389 * timezone/scheck.c: Likewise.
27390 * timezone/tzfile.h: Likewise.
27391 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27392 (TZVERSION): Hardcode tzcode version number.
27393 * timezone/zdump.c: Update from tzcode 2012i.
27394 * timezone/zic.c: Likewise.
27395 * timezone/version.h: New file.
27396 * timezone/README: Describe version.h. Update upstream location.
27397
9bde902c
JM
27398 [BZ #14824]
27399 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27400 (mktemp): Enable declaration.
27401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27405 Likewise.
27406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27407 Likewise.
27408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27409 Likewise.
27410 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27411 Likewise.
27412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27413 Likewise.
27414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27415 Likewise.
27416
fb1ae1ee
JM
27417 [BZ #14821]
27418 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27419 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27420 for copies of such integer values.
27421 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27422 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27423
2c1adbcb
AJ
274242012-11-09 Andreas Jaeger <aj@suse.de>
27425
27426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27427 definitions and declarations that are provided by
27428 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27429
d0f8457e
AK
274302012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27431
3a235abb 27432 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27433 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27434 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27435 definition.
27436
57241e26
MS
274372012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27438
27439 * elf/elf.h: Update comment before AArch64 relocations.
27440
60e8270d
DM
274412012-11-07 David S. Miller <davem@davemloft.net>
27442
27443 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27444 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27445 (__start_context): Declare.
27446 (__makecontext_ret): Delete.
27447 (__makecontext): Hook up __start_context instead of
27448 __makecontext_ret.
27449 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27450 (sysdep_routines): Add __start_context when in stdlib.
27451
0fbb0fbc
JM
274522012-11-07 Joseph Myers <joseph@codesourcery.com>
27453
27454 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27455 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27456 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27457 hardcoded "nm".
27458 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27459 (READELF): New variable. Use it instead of hardcoded "readelf".
27460
eb48db7e
L
274612012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27462
27463 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27464 * sysdeps/x86/Makefile: Here.
27465 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27466 * sysdeps/x86/tst-xmmymm.sh: This.
27467
05bcf62a
JM
274682012-11-07 Joseph Myers <joseph@codesourcery.com>
27469
c4b6cf53
JM
27470 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27471 expectations.
27472 [UNIX98] (pthread_barrier_t): Do not expect.
27473 [UNIX98] (pthread_barrierattr_t): Likewise.
27474 [UNIX98] (pthread_spinlock_t): Likewise.
27475 [UNIX98] (pthread_barrier_destroy): Likewise.
27476 [UNIX98] (pthread_barrier_init): Likewise.
27477 [UNIX98] (pthread_barrier_wait): Likewise.
27478 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27479 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27480 [UNIX98] (pthread_barrierattr_init): Likewise.
27481 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27482 [UNIX98] (pthread_getcpuclockid): Likewise.
27483 [UNIX98] (pthread_mutex_timedlock): Likewise.
27484 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27485 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27486 [UNIX98] (pthread_sigmask): Likewise.
27487 [UNIX98] (pthread_spin_destroy): Likewise.
27488 [UNIX98] (pthread_spin_init): Likewise.
27489 [UNIX98] (pthread_spin_lock): Likewise.
27490 [UNIX98] (pthread_spin_trylock): Likewise.
27491 [UNIX98] (pthread_spin_unlock): Likewise.
27492 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27493 Do not expect.
27494 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27496 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27497 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27498 [XPG3 || XPG4] (pthread_key_t): Likewise.
27499 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27500 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27501 [XPG3 || XPG4] (pthread_once_t): Likewise.
27502 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27503 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27505 [XPG3 || XPG4] (pthread_t): Likewise.
27506
cbe6e120
JM
27507 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27508 not expect.
27509 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27510
1b126443
JM
27511 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27512 Change function return type to int.
27513
b961a573
JM
27514 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27515 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27516 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27517 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27518 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27519 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27520 [!POSIX] (posix_madvise): Likewise.
27521 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27522 && !UNIX98].
27523 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27524 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27525 (mode_t): Likewise.
27526 (posix_mem_offset): Likewise.
27527 (posix_typed_mem_get_info): Likewise.
27528 (posix_typed_mem_open): Likewise.
27529
9e188909
JM
27530 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27531 Change condition to [XOPEN2K8].
27532
05bcf62a
JM
27533 * conform/conformtest.pl: Preprocess allow-header data with -x c
27534 instead of from stdin.
27535 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27536 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27537 [C99-based standards] (cerfc): Likewise.
27538 [C99-based standards] (cexp2): Likewise.
27539 [C99-based standards] (cexpm1): Likewise.
27540 [C99-based standards] (clog10): Likewise.
27541 [C99-based standards] (clog1p): Likewise.
27542 [C99-based standards] (clog2): Likewise.
27543 [C99-based standards] (clgamma): Likewise.
27544 [C99-based standards] (ctgamma): Likewise.
27545 [C99-based standards] (cerff): Likewise.
27546 [C99-based standards] (cerfcf): Likewise.
27547 [C99-based standards] (cexp2f): Likewise.
27548 [C99-based standards] (cexpm1f): Likewise.
27549 [C99-based standards] (clog10f): Likewise.
27550 [C99-based standards] (clog1pf): Likewise.
27551 [C99-based standards] (clog2f): Likewise.
27552 [C99-based standards] (clgammaf): Likewise.
27553 [C99-based standards] (ctgammaf): Likewise.
27554 [C99-based standards] (cerfl): Likewise.
27555 [C99-based standards] (cerfcl): Likewise.
27556 [C99-based standards] (cexp2l): Likewise.
27557 [C99-based standards] (cexpm1l): Likewise.
27558 [C99-based standards] (clog10l): Likewise.
27559 [C99-based standards] (clog1pl): Likewise.
27560 [C99-based standards] (clog2l): Likewise.
27561 [C99-based standards] (clgammal): Likewise.
27562 [C99-based standards] (ctgammal): Likewise.
27563 * conform/data/inttypes.h-data [C99-based standards]: Include
27564 stdint.h-data. Remove all expectations for stdint.h contents.
27565 [C99-based standards] (PRI*): Do not allow.
27566 [C99-based standards] (SCN*): Likewise.
27567 [C99-based standards] (*_t): Likewise.
27568 [C99-based-standards] (PRId8): Expect macro.
27569 [C99-based-standards] (PRIi8): Likewise.
27570 [C99-based-standards] (PRIo8): Likewise.
27571 [C99-based-standards] (PRIu8): Likewise.
27572 [C99-based-standards] (PRIx8): Likewise.
27573 [C99-based-standards] (PRIX8): Likewise.
27574 [C99-based-standards] (SCNd8): Likewise.
27575 [C99-based-standards] (SCNi8): Likewise.
27576 [C99-based-standards] (SCNo8): Likewise.
27577 [C99-based-standards] (SCNu8): Likewise.
27578 [C99-based-standards] (SCNx8): Likewise.
27579 [C99-based-standards] (PRIdLEAST8): Likewise.
27580 [C99-based-standards] (PRIiLEAST8): Likewise.
27581 [C99-based-standards] (PRIoLEAST8): Likewise.
27582 [C99-based-standards] (PRIuLEAST8): Likewise.
27583 [C99-based-standards] (PRIxLEAST8): Likewise.
27584 [C99-based-standards] (PRIXLEAST8): Likewise.
27585 [C99-based-standards] (SCNdLEAST8): Likewise.
27586 [C99-based-standards] (SCNiLEAST8): Likewise.
27587 [C99-based-standards] (SCNoLEAST8): Likewise.
27588 [C99-based-standards] (SCNuLEAST8): Likewise.
27589 [C99-based-standards] (SCNxLEAST8): Likewise.
27590 [C99-based-standards] (PRIdFAST8): Likewise.
27591 [C99-based-standards] (PRIiFAST8): Likewise.
27592 [C99-based-standards] (PRIoFAST8): Likewise.
27593 [C99-based-standards] (PRIuFAST8): Likewise.
27594 [C99-based-standards] (PRIxFAST8): Likewise.
27595 [C99-based-standards] (PRIXFAST8): Likewise.
27596 [C99-based-standards] (SCNdFAST8): Likewise.
27597 [C99-based-standards] (SCNiFAST8): Likewise.
27598 [C99-based-standards] (SCNoFAST8): Likewise.
27599 [C99-based-standards] (SCNuFAST8): Likewise.
27600 [C99-based-standards] (SCNxFAST8): Likewise.
27601 [C99-based-standards] (PRId16): Likewise.
27602 [C99-based-standards] (PRIi16): Likewise.
27603 [C99-based-standards] (PRIo16): Likewise.
27604 [C99-based-standards] (PRIu16): Likewise.
27605 [C99-based-standards] (PRIx16): Likewise.
27606 [C99-based-standards] (PRIX16): Likewise.
27607 [C99-based-standards] (SCNd16): Likewise.
27608 [C99-based-standards] (SCNi16): Likewise.
27609 [C99-based-standards] (SCNo16): Likewise.
27610 [C99-based-standards] (SCNu16): Likewise.
27611 [C99-based-standards] (SCNx16): Likewise.
27612 [C99-based-standards] (PRIdLEAST16): Likewise.
27613 [C99-based-standards] (PRIiLEAST16): Likewise.
27614 [C99-based-standards] (PRIoLEAST16): Likewise.
27615 [C99-based-standards] (PRIuLEAST16): Likewise.
27616 [C99-based-standards] (PRIxLEAST16): Likewise.
27617 [C99-based-standards] (PRIXLEAST16): Likewise.
27618 [C99-based-standards] (SCNdLEAST16): Likewise.
27619 [C99-based-standards] (SCNiLEAST16): Likewise.
27620 [C99-based-standards] (SCNoLEAST16): Likewise.
27621 [C99-based-standards] (SCNuLEAST16): Likewise.
27622 [C99-based-standards] (SCNxLEAST16): Likewise.
27623 [C99-based-standards] (PRIdFAST16): Likewise.
27624 [C99-based-standards] (PRIiFAST16): Likewise.
27625 [C99-based-standards] (PRIoFAST16): Likewise.
27626 [C99-based-standards] (PRIuFAST16): Likewise.
27627 [C99-based-standards] (PRIxFAST16): Likewise.
27628 [C99-based-standards] (PRIXFAST16): Likewise.
27629 [C99-based-standards] (SCNdFAST16): Likewise.
27630 [C99-based-standards] (SCNiFAST16): Likewise.
27631 [C99-based-standards] (SCNoFAST16): Likewise.
27632 [C99-based-standards] (SCNuFAST16): Likewise.
27633 [C99-based-standards] (SCNxFAST16): Likewise.
27634 [C99-based-standards] (PRId32): Likewise.
27635 [C99-based-standards] (PRIi32): Likewise.
27636 [C99-based-standards] (PRIo32): Likewise.
27637 [C99-based-standards] (PRIu32): Likewise.
27638 [C99-based-standards] (PRIx32): Likewise.
27639 [C99-based-standards] (PRIX32): Likewise.
27640 [C99-based-standards] (SCNd32): Likewise.
27641 [C99-based-standards] (SCNi32): Likewise.
27642 [C99-based-standards] (SCNo32): Likewise.
27643 [C99-based-standards] (SCNu32): Likewise.
27644 [C99-based-standards] (SCNx32): Likewise.
27645 [C99-based-standards] (PRIdLEAST32): Likewise.
27646 [C99-based-standards] (PRIiLEAST32): Likewise.
27647 [C99-based-standards] (PRIoLEAST32): Likewise.
27648 [C99-based-standards] (PRIuLEAST32): Likewise.
27649 [C99-based-standards] (PRIxLEAST32): Likewise.
27650 [C99-based-standards] (PRIXLEAST32): Likewise.
27651 [C99-based-standards] (SCNdLEAST32): Likewise.
27652 [C99-based-standards] (SCNiLEAST32): Likewise.
27653 [C99-based-standards] (SCNoLEAST32): Likewise.
27654 [C99-based-standards] (SCNuLEAST32): Likewise.
27655 [C99-based-standards] (SCNxLEAST32): Likewise.
27656 [C99-based-standards] (PRIdFAST32): Likewise.
27657 [C99-based-standards] (PRIiFAST32): Likewise.
27658 [C99-based-standards] (PRIoFAST32): Likewise.
27659 [C99-based-standards] (PRIuFAST32): Likewise.
27660 [C99-based-standards] (PRIxFAST32): Likewise.
27661 [C99-based-standards] (PRIXFAST32): Likewise.
27662 [C99-based-standards] (SCNdFAST32): Likewise.
27663 [C99-based-standards] (SCNiFAST32): Likewise.
27664 [C99-based-standards] (SCNoFAST32): Likewise.
27665 [C99-based-standards] (SCNuFAST32): Likewise.
27666 [C99-based-standards] (SCNxFAST32): Likewise.
27667 [C99-based-standards] (PRId64): Likewise.
27668 [C99-based-standards] (PRIi64): Likewise.
27669 [C99-based-standards] (PRIo64): Likewise.
27670 [C99-based-standards] (PRIu64): Likewise.
27671 [C99-based-standards] (PRIx64): Likewise.
27672 [C99-based-standards] (PRIX64): Likewise.
27673 [C99-based-standards] (SCNd64): Likewise.
27674 [C99-based-standards] (SCNi64): Likewise.
27675 [C99-based-standards] (SCNo64): Likewise.
27676 [C99-based-standards] (SCNu64): Likewise.
27677 [C99-based-standards] (SCNx64): Likewise.
27678 [C99-based-standards] (PRIdLEAST64): Likewise.
27679 [C99-based-standards] (PRIiLEAST64): Likewise.
27680 [C99-based-standards] (PRIoLEAST64): Likewise.
27681 [C99-based-standards] (PRIuLEAST64): Likewise.
27682 [C99-based-standards] (PRIxLEAST64): Likewise.
27683 [C99-based-standards] (PRIXLEAST64): Likewise.
27684 [C99-based-standards] (SCNdLEAST64): Likewise.
27685 [C99-based-standards] (SCNiLEAST64): Likewise.
27686 [C99-based-standards] (SCNoLEAST64): Likewise.
27687 [C99-based-standards] (SCNuLEAST64): Likewise.
27688 [C99-based-standards] (SCNxLEAST64): Likewise.
27689 [C99-based-standards] (PRIdFAST64): Likewise.
27690 [C99-based-standards] (PRIiFAST64): Likewise.
27691 [C99-based-standards] (PRIoFAST64): Likewise.
27692 [C99-based-standards] (PRIuFAST64): Likewise.
27693 [C99-based-standards] (PRIxFAST64): Likewise.
27694 [C99-based-standards] (PRIXFAST64): Likewise.
27695 [C99-based-standards] (SCNdFAST64): Likewise.
27696 [C99-based-standards] (SCNiFAST64): Likewise.
27697 [C99-based-standards] (SCNoFAST64): Likewise.
27698 [C99-based-standards] (SCNuFAST64): Likewise.
27699 [C99-based-standards] (SCNxFAST64): Likewise.
27700 [C99-based-standards] (PRIdMAX): Likewise.
27701 [C99-based-standards] (PRIiMAX): Likewise.
27702 [C99-based-standards] (PRIoMAX): Likewise.
27703 [C99-based-standards] (PRIuMAX): Likewise.
27704 [C99-based-standards] (PRIxMAX): Likewise.
27705 [C99-based-standards] (PRIXMAX): Likewise.
27706 [C99-based-standards] (SCNdMAX): Likewise.
27707 [C99-based-standards] (SCNiMAX): Likewise.
27708 [C99-based-standards] (SCNoMAX): Likewise.
27709 [C99-based-standards] (SCNuMAX): Likewise.
27710 [C99-based-standards] (SCNxMAX): Likewise.
27711 [C99-based-standards] (PRIdPTR): Likewise.
27712 [C99-based-standards] (PRIiPTR): Likewise.
27713 [C99-based-standards] (PRIoPTR): Likewise.
27714 [C99-based-standards] (PRIuPTR): Likewise.
27715 [C99-based-standards] (PRIxPTR): Likewise.
27716 [C99-based-standards] (PRIXPTR): Likewise.
27717 [C99-based-standards] (SCNdPTR): Likewise.
27718 [C99-based-standards] (SCNiPTR): Likewise.
27719 [C99-based-standards] (SCNoPTR): Likewise.
27720 [C99-based-standards] (SCNuPTR): Likewise.
27721 [C99-based-standards] (SCNxPTR): Likewise.
27722 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27723 allow.
27724 * conform/data/stdint.h-data: Update comments to clarify
27725 requirements.
27726 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27727 type.
27728 [C99-based standards] (INT8_MAX): Likewise.
27729 [C99-based standards] (INT16_MIN): Likewise.
27730 [C99-based standards] (INT16_MAX): Likewise.
27731 [C99-based standards] (INT32_MIN): Likewise.
27732 [C99-based standards] (INT32_MAX): Likewise.
27733 [C99-based standards] (INT64_MIN): Likewise.
27734 [C99-based standards] (INT64_MAX): Likewise.
27735 [C99-based standards] (UINT8_MAX): Likewise.
27736 [C99-based standards] (UINT16_MAX): Likewise.
27737 [C99-based standards] (UINT32_MAX): Likewise.
27738 [C99-based standards] (UINT64_MAX): Likewise.
27739 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27740 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27741 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27742 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27743 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27744 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27745 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27746 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27747 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27748 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27749 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27750 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27751 [C99-based standards] (INT_FAST8_MIN): Likewise.
27752 [C99-based standards] (INT_FAST8_MAX): Likewise.
27753 [C99-based standards] (INT_FAST16_MIN): Likewise.
27754 [C99-based standards] (INT_FAST16_MAX): Likewise.
27755 [C99-based standards] (INT_FAST32_MIN): Likewise.
27756 [C99-based standards] (INT_FAST32_MAX): Likewise.
27757 [C99-based standards] (INT_FAST64_MIN): Likewise.
27758 [C99-based standards] (INT_FAST64_MAX): Likewise.
27759 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27760 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27761 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27762 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27763 [C99-based standards] (INTPTR_MIN): Likewise.
27764 [C99-based standards] (INTPTR_MAX): Likewise.
27765 [C99-based standards] (UINTPTR_MAX): Likewise.
27766 [C99-based standards] (INTMAX_MIN): Likewise.
27767 [C99-based standards] (INTMAX_MAX): Likewise.
27768 [C99-based standards] (UINTMAX_MAX): Likewise.
27769 [C99-based standards] (PTRDIFF_MIN): Likewise.
27770 [C99-based standards] (PTRDIFF_MAX): Likewise.
27771 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27772 [C99-based standards] (SIZE_MAX): Likewise.
27773 [C99-based standards] (WCHAR_MAX): Likewise.
27774 [C99-based standards] (WINT_MAX): Likewise.
27775 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27776 constraint on value.
27777 [C99-based standards] (WCHAR_MIN): Likewise.
27778 [C99-based standards] (WINT_MIN): Likewise.
27779 [C99-based standards] (*_t): Allow.
27780 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27781 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27782 Include math.h-data and complex.h-data. Remove all expectations
27783 of math.h and complex.h contents.
27784 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27785 at end of line.
27786 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27787 (struct tm): Expect tag.
27788 [C99-based-standards] (wcstof): Expect function.
27789 [C99-based-standards] (wcstold): Likewise.
27790 [C99-based-standards] (wcstoll): Likewise.
27791 [C99-based-standards] (wcstoull): Likewise.
27792 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27793 macro-int-constant. Specify type.
27794 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27795 constraint on value.
27796 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27797 Specify type.
27798 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27799 Specify value.
27800 [ISO C standards]: Do not allow headers.
27801 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27802 wcs[abcdefghijklmnopqrstuvwxyz]*.
27803 [ISO C standards] (*_t): Do not allow.
27804 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27805 Expect function.
27806 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27807 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27808 Specify type.
27809 [ISO C standards]: Do not allow headers.
27810 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27811 is[abcdefghijklmnopqrstuvwxyz]*.
27812 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27813 to[abcdefghijklmnopqrstuvwxyz]*.
27814 [ISO C standards] (*_t): Do not allow.
27815 * conform/data/stdalign.h-data: New file.
27816 * conform/data/stdbool.h-data: Likewise.
27817 * conform/data/stdnoreturn.h-data: Likewise.
27818
7514feb8
RM
278192012-11-07 Roland McGrath <roland@hack.frob.com>
27820
27821 [BZ #14815]
27822 * manual/filesys.texi (Directory Entries): Typo fix.
27823 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27824
19b2ecfc
MS
278252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27826
27827 * elf/elf.h (EM_AARCH64): New macro.
27828 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27829 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27830 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27831 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27832 (R_AARCH64_TLSDESC): Likewise.
27833 (NT_ARM_TLS): Likewise.
27834 (NT_ARM_HW_BREAK): Likewise.
27835 (NT_ARM_HW_WATCH): Likewise.
27836
60e235ee
JM
278372012-11-07 Joseph Myers <joseph@codesourcery.com>
27838
27839 [BZ #14811]
27840 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27841 (__ieee754_powl): Saturate nonzero exponents with absolute value
27842 below 0x1p-79 to +/- 0x1p-79.
27843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27844 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27845 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27846 nonzero exponents with absolute value below 0x1p-32 to +/-
27847 0x1p-32.
27848 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27849 (__ieee754_powl): Saturate nonzero exponents with absolute value
27850 below 0x1p-79 to +/- 0x1p-79.
27851 * math/libm-test.inc (pow_test): Add more tests.
27852
0ab234b7
AK
278532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27854
27855 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27856 _dl_s390_cap_flags with kernel. Increase string length.
27857 (_dl_s390_platforms): Add z196 and zEC12.
27858
45832f74
JM
278592012-11-07 Joseph Myers <joseph@codesourcery.com>
27860
27861 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27862 Change XOPEN21K to XOPEN2K.
27863
19218757
MK
278642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27865
27866 * string/memmove.c: Use memcpy when possible.
27867
c5f45721
AJ
278682012-11-06 Andreas Jaeger <aj@suse.de>
27869
27870 * po/eo.po: Update from translation team.
27871
82477c28
JM
278722012-11-06 Joseph Myers <joseph@codesourcery.com>
27873
27874 [BZ #14793]
27875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27876 exponent and small x and y exponents, scale x or y up. Increase
27877 by 2 the exponent used in scaling up.
27878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27880 * math/libm-test.inc (fma_test): Add more tests.
27881 (fma_test_towardzero): Likewise.
27882 (fma_test_downward): Likewise.
27883 (fma_test_upward): Likewise.
27884
99252c8c
JM
278852012-11-05 Joseph Myers <joseph@codesourcery.com>
27886
acfa885f
JM
27887 [BZ #14805]
27888 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27889 fenv_t *.
27890
99252c8c
JM
27891 [BZ #14801]
27892 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27893 namespace for names of struct fields.
27894 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27895 fenv_t fields.
27896 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27897 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27898
d6d98dea
ST
278992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27900
27901 [BZ #3665]
27902 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27903
e10bb107
TS
279042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27905
27906 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27907 PTR_DEMANGLE.
27908
27909 [BZ #5246]
27910 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27911 PTR_DEMANGLE.
27912
a0c2940d
JM
279132012-11-04 Joseph Myers <joseph@codesourcery.com>
27914
27915 [BZ #14797]
27916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27917 definitely overflow as x * y not x * y + z.
27918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27920 * math/libm-test.inc (fma_test): Add more tests.
27921 (fma_test_towardzero): Likewise.
27922 (fma_test_downward): Likewise.
27923 (fma_test_upward): Likewise.
27924
b830319d
TS
279252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27926
27927 [BZ #157]
27928
27929 * include/stub-tag.h: Remove file.
27930 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27931 '#include' of it.
27932 * manual/maint.texi (Porting): Don't reference it.
27933 * Makerules ($(objpfx)stubs): Likewise.
27934 * dirent/closedir.c: Don't include <stub-tag.h>.
27935 * dirent/dirfd.c: Likewise.
27936 * dirent/fdopendir.c: Likewise.
27937 * dirent/getdents.c: Likewise.
27938 * dirent/getdents64.c: Likewise.
27939 * dirent/opendir.c: Likewise.
27940 * dirent/readdir.c: Likewise.
27941 * dirent/readdir64.c: Likewise.
27942 * dirent/readdir64_r.c: Likewise.
27943 * dirent/readdir_r.c: Likewise.
27944 * dirent/rewinddir.c: Likewise.
27945 * dirent/seekdir.c: Likewise.
27946 * dirent/telldir.c: Likewise.
27947 * gmon/profil.c: Likewise.
27948 * grp/setgroups.c: Likewise.
27949 * inet/if_index.c: Likewise.
27950 * io/access.c: Likewise.
27951 * io/chdir.c: Likewise.
27952 * io/chmod.c: Likewise.
27953 * io/chown.c: Likewise.
27954 * io/close.c: Likewise.
27955 * io/dup.c: Likewise.
27956 * io/dup2.c: Likewise.
27957 * io/dup3.c: Likewise.
27958 * io/euidaccess.c: Likewise.
27959 * io/faccessat.c: Likewise.
27960 * io/fchdir.c: Likewise.
27961 * io/fchmod.c: Likewise.
27962 * io/fchmodat.c: Likewise.
27963 * io/fchown.c: Likewise.
27964 * io/fchownat.c: Likewise.
27965 * io/fcntl.c: Likewise.
27966 * io/flock.c: Likewise.
27967 * io/fstatfs.c: Likewise.
27968 * io/fstatfs64.c: Likewise.
27969 * io/fstatvfs.c: Likewise.
27970 * io/fstatvfs64.c: Likewise.
27971 * io/futimens.c: Likewise.
27972 * io/fxstat.c: Likewise.
27973 * io/fxstat64.c: Likewise.
27974 * io/fxstatat.c: Likewise.
27975 * io/fxstatat64.c: Likewise.
27976 * io/getcwd.c: Likewise.
27977 * io/isatty.c: Likewise.
27978 * io/lchmod.c: Likewise.
27979 * io/lchown.c: Likewise.
27980 * io/link.c: Likewise.
27981 * io/linkat.c: Likewise.
27982 * io/lseek.c: Likewise.
27983 * io/lseek64.c: Likewise.
27984 * io/lxstat64.c: Likewise.
27985 * io/mkdir.c: Likewise.
27986 * io/mkdirat.c: Likewise.
27987 * io/mkfifo.c: Likewise.
27988 * io/mkfifoat.c: Likewise.
27989 * io/open.c: Likewise.
27990 * io/open64.c: Likewise.
27991 * io/openat.c: Likewise.
27992 * io/openat64.c: Likewise.
27993 * io/pipe.c: Likewise.
27994 * io/pipe2.c: Likewise.
27995 * io/poll.c: Likewise.
27996 * io/posix_fadvise.c: Likewise.
27997 * io/posix_fadvise64.c: Likewise.
27998 * io/posix_fallocate.c: Likewise.
27999 * io/posix_fallocate64.c: Likewise.
28000 * io/read.c: Likewise.
28001 * io/readlink.c: Likewise.
28002 * io/readlinkat.c: Likewise.
28003 * io/rmdir.c: Likewise.
28004 * io/sendfile.c: Likewise.
28005 * io/sendfile64.c: Likewise.
28006 * io/statfs.c: Likewise.
28007 * io/statfs64.c: Likewise.
28008 * io/statvfs.c: Likewise.
28009 * io/statvfs64.c: Likewise.
28010 * io/symlink.c: Likewise.
28011 * io/symlinkat.c: Likewise.
28012 * io/ttyname.c: Likewise.
28013 * io/ttyname_r.c: Likewise.
28014 * io/umask.c: Likewise.
28015 * io/unlink.c: Likewise.
28016 * io/unlinkat.c: Likewise.
28017 * io/utime.c: Likewise.
28018 * io/utimensat.c: Likewise.
28019 * io/write.c: Likewise.
28020 * io/xmknod.c: Likewise.
28021 * io/xmknodat.c: Likewise.
28022 * io/xstat.c: Likewise.
28023 * io/xstat64.c: Likewise.
28024 * login/getpt.c: Likewise.
28025 * login/grantpt.c: Likewise.
28026 * login/unlockpt.c: Likewise.
28027 * math/e_acoshl.c: Likewise.
28028 * math/e_acosl.c: Likewise.
28029 * math/e_asinl.c: Likewise.
28030 * math/e_atan2l.c: Likewise.
28031 * math/e_atanhl.c: Likewise.
28032 * math/e_coshl.c: Likewise.
28033 * math/e_expl.c: Likewise.
28034 * math/e_fmodl.c: Likewise.
28035 * math/e_gammal_r.c: Likewise.
28036 * math/e_hypotl.c: Likewise.
28037 * math/e_j0l.c: Likewise.
28038 * math/e_j1l.c: Likewise.
28039 * math/e_jnl.c: Likewise.
28040 * math/e_lgammal_r.c: Likewise.
28041 * math/e_log10l.c: Likewise.
28042 * math/e_log2l.c: Likewise.
28043 * math/e_logl.c: Likewise.
28044 * math/e_powl.c: Likewise.
28045 * math/e_rem_pio2l.c: Likewise.
28046 * math/e_sinhl.c: Likewise.
28047 * math/e_sqrtl.c: Likewise.
28048 * math/fclrexcpt.c: Likewise.
28049 * math/fedisblxcpt.c: Likewise.
28050 * math/feenablxcpt.c: Likewise.
28051 * math/fegetenv.c: Likewise.
28052 * math/fegetexcept.c: Likewise.
28053 * math/fegetround.c: Likewise.
28054 * math/feholdexcpt.c: Likewise.
28055 * math/fesetenv.c: Likewise.
28056 * math/fesetround.c: Likewise.
28057 * math/feupdateenv.c: Likewise.
28058 * math/fgetexcptflg.c: Likewise.
28059 * math/fraiseexcpt.c: Likewise.
28060 * math/fsetexcptflg.c: Likewise.
28061 * math/ftestexcept.c: Likewise.
28062 * math/k_cosl.c: Likewise.
28063 * math/k_rem_pio2l.c: Likewise.
28064 * math/k_sinl.c: Likewise.
28065 * math/k_tanl.c: Likewise.
28066 * math/s_asinhl.c: Likewise.
28067 * math/s_atanl.c: Likewise.
28068 * math/s_cbrtl.c: Likewise.
28069 * math/s_erfl.c: Likewise.
28070 * math/s_expm1l.c: Likewise.
28071 * math/s_log1pl.c: Likewise.
28072 * math/s_tanhl.c: Likewise.
28073 * misc/acct.c: Likewise.
28074 * misc/brk.c: Likewise.
28075 * misc/chflags.c: Likewise.
28076 * misc/chroot.c: Likewise.
28077 * misc/fchflags.c: Likewise.
28078 * misc/fgetxattr.c: Likewise.
28079 * misc/flistxattr.c: Likewise.
28080 * misc/fremovexattr.c: Likewise.
28081 * misc/fsetxattr.c: Likewise.
28082 * misc/fsync.c: Likewise.
28083 * misc/ftruncate.c: Likewise.
28084 * misc/futimes.c: Likewise.
28085 * misc/futimesat.c: Likewise.
28086 * misc/getdomain.c: Likewise.
28087 * misc/getdtsz.c: Likewise.
28088 * misc/gethostid.c: Likewise.
28089 * misc/gethostname.c: Likewise.
28090 * misc/getloadavg.c: Likewise.
28091 * misc/getpagesize.c: Likewise.
28092 * misc/getsysstats.c: Likewise.
28093 * misc/getxattr.c: Likewise.
28094 * misc/gtty.c: Likewise.
28095 * misc/ioctl.c: Likewise.
28096 * misc/lgetxattr.c: Likewise.
28097 * misc/listxattr.c: Likewise.
28098 * misc/llistxattr.c: Likewise.
28099 * misc/lremovexattr.c: Likewise.
28100 * misc/lsetxattr.c: Likewise.
28101 * misc/lutimes.c: Likewise.
28102 * misc/madvise.c: Likewise.
28103 * misc/mincore.c: Likewise.
28104 * misc/mlock.c: Likewise.
28105 * misc/mlockall.c: Likewise.
28106 * misc/mmap.c: Likewise.
28107 * misc/mprotect.c: Likewise.
28108 * misc/msync.c: Likewise.
28109 * misc/munlock.c: Likewise.
28110 * misc/munlockall.c: Likewise.
28111 * misc/munmap.c: Likewise.
28112 * misc/preadv.c: Likewise.
28113 * misc/preadv64.c: Likewise.
28114 * misc/ptrace.c: Likewise.
28115 * misc/pwritev.c: Likewise.
28116 * misc/pwritev64.c: Likewise.
28117 * misc/readv.c: Likewise.
28118 * misc/reboot.c: Likewise.
28119 * misc/remap_file_pages.c: Likewise.
28120 * misc/removexattr.c: Likewise.
28121 * misc/revoke.c: Likewise.
28122 * misc/select.c: Likewise.
28123 * misc/setdomain.c: Likewise.
28124 * misc/setegid.c: Likewise.
28125 * misc/seteuid.c: Likewise.
28126 * misc/sethostid.c: Likewise.
28127 * misc/sethostname.c: Likewise.
28128 * misc/setregid.c: Likewise.
28129 * misc/setreuid.c: Likewise.
28130 * misc/setxattr.c: Likewise.
28131 * misc/sstk.c: Likewise.
28132 * misc/stty.c: Likewise.
28133 * misc/swapoff.c: Likewise.
28134 * misc/swapon.c: Likewise.
28135 * misc/sync.c: Likewise.
28136 * misc/syncfs.c: Likewise.
28137 * misc/syscall.c: Likewise.
28138 * misc/truncate.c: Likewise.
28139 * misc/ualarm.c: Likewise.
28140 * misc/usleep.c: Likewise.
28141 * misc/ustat.c: Likewise.
28142 * misc/utimes.c: Likewise.
28143 * misc/vhangup.c: Likewise.
28144 * misc/writev.c: Likewise.
28145 * posix/_exit.c: Likewise.
28146 * posix/alarm.c: Likewise.
28147 * posix/execve.c: Likewise.
28148 * posix/fexecve.c: Likewise.
28149 * posix/fork.c: Likewise.
28150 * posix/fpathconf.c: Likewise.
28151 * posix/getaddrinfo.c: Likewise.
28152 * posix/getegid.c: Likewise.
28153 * posix/geteuid.c: Likewise.
28154 * posix/getgid.c: Likewise.
28155 * posix/getgroups.c: Likewise.
28156 * posix/getlogin.c: Likewise.
28157 * posix/getlogin_r.c: Likewise.
28158 * posix/getpgid.c: Likewise.
28159 * posix/getpid.c: Likewise.
28160 * posix/getppid.c: Likewise.
28161 * posix/getresgid.c: Likewise.
28162 * posix/getresuid.c: Likewise.
28163 * posix/getsid.c: Likewise.
28164 * posix/getuid.c: Likewise.
28165 * posix/glob64.c: Likewise.
28166 * posix/nanosleep.c: Likewise.
28167 * posix/pathconf.c: Likewise.
28168 * posix/pause.c: Likewise.
28169 * posix/posix_madvise.c: Likewise.
28170 * posix/pread.c: Likewise.
28171 * posix/pread64.c: Likewise.
28172 * posix/pwrite.c: Likewise.
28173 * posix/pwrite64.c: Likewise.
28174 * posix/sched_getaffinity.c: Likewise.
28175 * posix/sched_getp.c: Likewise.
28176 * posix/sched_gets.c: Likewise.
28177 * posix/sched_primax.c: Likewise.
28178 * posix/sched_primin.c: Likewise.
28179 * posix/sched_rr_gi.c: Likewise.
28180 * posix/sched_setaffinity.c: Likewise.
28181 * posix/sched_setp.c: Likewise.
28182 * posix/sched_sets.c: Likewise.
28183 * posix/sched_yield.c: Likewise.
28184 * posix/setgid.c: Likewise.
28185 * posix/setlogin.c: Likewise.
28186 * posix/setpgid.c: Likewise.
28187 * posix/setresgid.c: Likewise.
28188 * posix/setresuid.c: Likewise.
28189 * posix/setsid.c: Likewise.
28190 * posix/setuid.c: Likewise.
28191 * posix/sleep.c: Likewise.
28192 * posix/spawni.c: Likewise.
28193 * posix/sysconf.c: Likewise.
28194 * posix/times.c: Likewise.
28195 * posix/wait.c: Likewise.
28196 * posix/wait3.c: Likewise.
28197 * posix/wait4.c: Likewise.
28198 * posix/waitpid.c: Likewise.
28199 * resolv/gai_sigqueue.c: Likewise.
28200 * resource/getpriority.c: Likewise.
28201 * resource/getrlimit.c: Likewise.
28202 * resource/getrusage.c: Likewise.
28203 * resource/nice.c: Likewise.
28204 * resource/setpriority.c: Likewise.
28205 * resource/setrlimit.c: Likewise.
28206 * resource/ulimit.c: Likewise.
28207 * rt/aio_cancel.c: Likewise.
28208 * rt/aio_fsync.c: Likewise.
28209 * rt/aio_read.c: Likewise.
28210 * rt/aio_sigqueue.c: Likewise.
28211 * rt/aio_suspend.c: Likewise.
28212 * rt/aio_write.c: Likewise.
28213 * rt/clock_getres.c: Likewise.
28214 * rt/clock_gettime.c: Likewise.
28215 * rt/clock_nanosleep.c: Likewise.
28216 * rt/clock_settime.c: Likewise.
28217 * rt/lio_listio.c: Likewise.
28218 * rt/mq_close.c: Likewise.
28219 * rt/mq_getattr.c: Likewise.
28220 * rt/mq_notify.c: Likewise.
28221 * rt/mq_open.c: Likewise.
28222 * rt/mq_receive.c: Likewise.
28223 * rt/mq_send.c: Likewise.
28224 * rt/mq_setattr.c: Likewise.
28225 * rt/mq_timedreceive.c: Likewise.
28226 * rt/mq_timedsend.c: Likewise.
28227 * rt/mq_unlink.c: Likewise.
28228 * rt/shm_open.c: Likewise.
28229 * rt/shm_unlink.c: Likewise.
28230 * rt/timer_create.c: Likewise.
28231 * rt/timer_delete.c: Likewise.
28232 * rt/timer_getoverr.c: Likewise.
28233 * rt/timer_gettime.c: Likewise.
28234 * rt/timer_settime.c: Likewise.
28235 * setjmp/__longjmp.c: Likewise.
28236 * setjmp/setjmp.c: Likewise.
28237 * signal/kill.c: Likewise.
28238 * signal/killpg.c: Likewise.
28239 * signal/raise.c: Likewise.
28240 * signal/sigaction.c: Likewise.
28241 * signal/sigaltstack.c: Likewise.
28242 * signal/sigblock.c: Likewise.
28243 * signal/sigignore.c: Likewise.
28244 * signal/sigintr.c: Likewise.
28245 * signal/signal.c: Likewise.
28246 * signal/sigpause.c: Likewise.
28247 * signal/sigpending.c: Likewise.
28248 * signal/sigqueue.c: Likewise.
28249 * signal/sigreturn.c: Likewise.
28250 * signal/sigset.c: Likewise.
28251 * signal/sigsetmask.c: Likewise.
28252 * signal/sigstack.c: Likewise.
28253 * signal/sigsuspend.c: Likewise.
28254 * signal/sigtimedwait.c: Likewise.
28255 * signal/sigvec.c: Likewise.
28256 * signal/sigwait.c: Likewise.
28257 * signal/sigwaitinfo.c: Likewise.
28258 * signal/sysv_signal.c: Likewise.
28259 * socket/accept.c: Likewise.
28260 * socket/accept4.c: Likewise.
28261 * socket/bind.c: Likewise.
28262 * socket/connect.c: Likewise.
28263 * socket/getpeername.c: Likewise.
28264 * socket/getsockname.c: Likewise.
28265 * socket/getsockopt.c: Likewise.
28266 * socket/isfdtype.c: Likewise.
28267 * socket/listen.c: Likewise.
28268 * socket/recv.c: Likewise.
28269 * socket/recvfrom.c: Likewise.
28270 * socket/recvmsg.c: Likewise.
28271 * socket/send.c: Likewise.
28272 * socket/sendmsg.c: Likewise.
28273 * socket/sendto.c: Likewise.
28274 * socket/setsockopt.c: Likewise.
28275 * socket/shutdown.c: Likewise.
28276 * socket/sockatmark.c: Likewise.
28277 * socket/socket.c: Likewise.
28278 * socket/socketpair.c: Likewise.
28279 * stdio-common/ctermid.c: Likewise.
28280 * stdio-common/cuserid.c: Likewise.
28281 * stdio-common/remove.c: Likewise.
28282 * stdio-common/rename.c: Likewise.
28283 * stdio-common/renameat.c: Likewise.
28284 * stdio-common/tempname.c: Likewise.
28285 * stdlib/getcontext.c: Likewise.
28286 * stdlib/makecontext.c: Likewise.
28287 * stdlib/setcontext.c: Likewise.
28288 * stdlib/swapcontext.c: Likewise.
28289 * stdlib/system.c: Likewise.
28290 * streams/fattach.c: Likewise.
28291 * streams/fdetach.c: Likewise.
28292 * streams/getmsg.c: Likewise.
28293 * streams/getpmsg.c: Likewise.
28294 * streams/putmsg.c: Likewise.
28295 * streams/putpmsg.c: Likewise.
28296 * sysdeps/unix/bsd/getpt.c: Likewise.
28297 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28298 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28299 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28301 Likewise.
28302 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28303 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28304 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28305 * sysvipc/msgctl.c: Likewise.
28306 * sysvipc/msgget.c: Likewise.
28307 * sysvipc/msgrcv.c: Likewise.
28308 * sysvipc/msgsnd.c: Likewise.
28309 * sysvipc/semctl.c: Likewise.
28310 * sysvipc/semget.c: Likewise.
28311 * sysvipc/semop.c: Likewise.
28312 * sysvipc/semtimedop.c: Likewise.
28313 * sysvipc/shmat.c: Likewise.
28314 * sysvipc/shmctl.c: Likewise.
28315 * sysvipc/shmdt.c: Likewise.
28316 * sysvipc/shmget.c: Likewise.
28317 * termios/tcdrain.c: Likewise.
28318 * termios/tcflow.c: Likewise.
28319 * termios/tcflush.c: Likewise.
28320 * termios/tcgetattr.c: Likewise.
28321 * termios/tcgetpgrp.c: Likewise.
28322 * termios/tcsendbrk.c: Likewise.
28323 * termios/tcsetattr.c: Likewise.
28324 * termios/tcsetpgrp.c: Likewise.
28325 * time/adjtime.c: Likewise.
28326 * time/clock.c: Likewise.
28327 * time/getitimer.c: Likewise.
28328 * time/gettimeofday.c: Likewise.
28329 * time/setitimer.c: Likewise.
28330 * time/settimeofday.c: Likewise.
28331 * time/stime.c: Likewise.
28332 * time/time.c: Likewise.
28333
283342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28335
a20492cf
PT
28336 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28337 /usr/old/bin.
28338
72e182e3
PT
28339 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28340 instead of spaces.
28341 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28342
fbeafede
JM
283432012-11-03 Joseph Myers <joseph@codesourcery.com>
28344
5b5b04d6
JM
28345 [BZ #14796]
28346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28347 FE_TONEAREST before applying Dekker multiplication and Knuth
28348 addition. Clear inexact exceptions and check for exact zero
28349 results afterwards.
28350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28351 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28353 * math/libm-test.inc (fma_test): Add more tests.
28354 (fma_test_towardzero): Likewise.
28355 (fma_test_downward): Likewise.
28356 (fma_test_upward): Likewise.
28357 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28358 function.
28359 (libc_fesetround): New macro.
28360 (libc_fesetroundf): Likewise.
28361 (libc_fesetroundl): Likewise.
28362 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28363 function.
28364 (libc_fesetround_387): Likewise.
28365 (libc_fesetroundf): New macro.
28366 (libc_fesetround): Likewise.
28367 (libc_fesetroundl): Likewise.
28368 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28369 function.
28370 (libc_fesetroundf): New macro.
28371 (libc_fesetround): Likewise.
28372 (libc_fesetroundl): Likewise.
28373 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28374 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28375 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28376 libm_hidden_ver.
28377 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28378 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28379 libm_hidden_def.
28380 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28381 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28382 libm_hidden_ver.
28383 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28384 libm_hidden_def.
28385
fbeafede
JM
28386 [BZ #3439]
28387 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28388 integer constant usable in #if and use that to give value to enum
28389 constant.
28390 (FE_DIVBYZERO): Likewise.
28391 (FE_UNDERFLOW): Likewise.
28392 (FE_OVERFLOW): Likewise.
28393 (FE_INVALID): Likewise.
28394 (FE_INVALID_SNAN): Likewise.
28395 (FE_INVALID_ISI): Likewise.
28396 (FE_INVALID_IDI): Likewise.
28397 (FE_INVALID_ZDZ): Likewise.
28398 (FE_INVALID_IMZ): Likewise.
28399 (FE_INVALID_COMPARE): Likewise.
28400 (FE_INVALID_SOFTWARE): Likewise.
28401 (FE_INVALID_SQRT): Likewise.
28402 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28403 (FE_TONEAREST): Likewise.
28404 (FE_TOWARDZERO): Likewise.
28405 (FE_UPWARD): Likewise.
28406 (FE_DOWNWARD): Likewise.
28407 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28408 (FE_DIVBYZERO): Likewise.
28409 (FE_OVERFLOW): Likewise.
28410 (FE_UNDERFLOW): Likewise.
28411 (FE_INEXACT): Likewise.
28412 (FE_TONEAREST): Likewise.
28413 (FE_DOWNWARD): Likewise.
28414 (FE_UPWARD): Likewise.
28415 (FE_TOWARDZERO): Likewise.
28416 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28417 (FE_UNDERFLOW): Likewise.
28418 (FE_OVERFLOW): Likewise.
28419 (FE_DIVBYZERO): Likewise.
28420 (FE_INVALID): Likewise.
28421 (FE_TONEAREST): Likewise.
28422 (FE_TOWARDZERO): Likewise.
28423 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28424 (FE_OVERFLOW): Likewise.
28425 (FE_UNDERFLOW): Likewise.
28426 (FE_DIVBYZERO): Likewise.
28427 (FE_INEXACT): Likewise.
28428 (FE_TONEAREST): Likewise.
28429 (FE_TOWARDZERO): Likewise.
28430 (FE_UPWARD): Likewise.
28431 (FE_DOWNWARD): Likewise.
28432 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28433 (FE_DIVBYZERO): Likewise.
28434 (FE_OVERFLOW): Likewise.
28435 (FE_UNDERFLOW): Likewise.
28436 (FE_INEXACT): Likewise.
28437 (FE_TONEAREST): Likewise.
28438 (FE_DOWNWARD): Likewise.
28439 (FE_UPWARD): Likewise.
28440 (FE_TOWARDZERO): Likewise.
28441
105ca950
CM
284422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28443
28444 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28445
a542b389
AS
284462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28447
28448 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28449 commands. Quote $PWD.
28450 (blacklist_exports): Don't use remove_newlines. Replace "declare
28451 -x" by "export".
28452 (remove_newlines): Remove.
28453
f62c8abc
L
284542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28455
28456 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28457 * stdlib/stdlib.h (atof): Moved to ...
28458 * include/bits/stdlib-float.h: Here. New file.
28459 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28460 * stdlib/bits/stdlib-float.h: New file.
28461 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28462 -mno-sse -mno-mmx.
28463 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28464 <xmmintrin.h>.
28465
0155d5b2
JM
284662012-11-02 Joseph Myers <joseph@codesourcery.com>
28467
a68d0680
JM
28468 * conform/conformtest.pl (@headers): Add fenv.h.
28469 * conform/data/fenv.h-data: New file.
28470 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28471 include of <math/fenv.h>.
28472
caf7f573
JM
28473 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28474 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28475 && !UNIX98]. Enables tests for XOPEN2K8.
28476 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28477 POSIX2008]: Likewise.
28478
6c073ad6
JM
28479 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28480 (struct rusage): Do not expect type or its members.
28481
0155d5b2
JM
28482 [BZ #3439]
28483 * math/math.h (FP_NAN): Define macro to integer constant usable in
28484 #if and use that to give value to enum constant.
28485 (FP_INFINITE): Likewise.
28486 (FP_ZERO): Likewise.
28487 (FP_SUBNORMAL): Likewise.
28488 (FP_NORMAL): Likewise.
28489
b5dcacb4
AS
284902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28491
28492 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28493 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28494 arguments.
28495
f7934be8
RM
284962012-11-02 Roland McGrath <roland@hack.frob.com>
28497
28498 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28499 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28500 autoconf-time if not.
28501 * configure.in: Remove AC_PREREQ.
28502
d7d08bde
TMQMF
285032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28504
28505 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28506 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28507 of the internal implementation.
28508
dcdae19a
JM
285092012-11-02 Joseph Myers <joseph@codesourcery.com>
28510
28511 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28512 except include of <misc/sys/syslog.h>.
28513
d6cffd3e
AS
285142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28515
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28517 function returns with a NULL context exit with zero.
28518
b3563932
TMQMF
285192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28520
28521 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28522
b288a93d
L
285232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28524
28525 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28526 (run_program_cmd): This.
28527 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28528 (tst_langinfo): New variable. Use it.
28529
a2421a68
SAS
285302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28531
28532 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28533 floating point opcodes.
28534
6f796e1b
TS
285352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28536
7402596b
TS
28537 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28538 variable.
28539
d0d4f868
TS
28540 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28541
6f796e1b
TS
28542 * sysdeps/mach/hurd/powerpc: Remove directory.
28543 * sysdeps/mach/powerpc: Likewise.
28544
4da224a2
AS
285452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28546
28547 * scripts/check-local-headers.sh: Ignore c++ headers.
28548
341dd673
TS
285492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28550
28551 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28552 __libc_cleanup_region_start argument.
28553
473611b2
JM
285542012-11-01 Joseph Myers <joseph@codesourcery.com>
28555
28556 [BZ #14784]
28557 [BZ #14785]
28558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28559 x * y using scaling, not as x * y + z.
28560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28562 * math/libm-test.inc (fma_test): Add more tests.
28563 (fma_test_towardzero): Likewise.
28564 (fma_test_downward): Likewise.
28565 (fma_test_upward): Likewise.
28566
4078da3d
TS
285672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28568
28569 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28570
903252aa
JM
285712012-10-31 Joseph Myers <joseph@codesourcery.com>
28572
28573 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28574 New variable.
28575
cbc818d0
TS
285762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28577
28578 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28579
5a03cb1e
AS
285802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28581
28582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28583 Fix sort order.
28584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28585 Likewise.
28586
90aff2ff
TMQMF
285872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28588
28589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28590 Fix the order of the list for glibc 2.17.
28591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28592 Likewise.
28593
1818fcb7
AS
285942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28595
28596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28597
ef82f4da
JM
285982012-10-31 Joseph Myers <joseph@codesourcery.com>
28599
16a0e2ec
JM
28600 [BZ #14610]
28601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28602 for low part of x being zero before using __atanl (y).
28603 * math/libm-test.inc (atan2_test): Add another test.
28604
0eb69512
JM
28605 * manual/install.texi (Configuring and compiling): Document
28606 general use of test-wrapper and test-wrapper-env.
28607 * INSTALL: Regenerated.
28608
ef82f4da
JM
28609 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28610 (__fma): Do not extract and scale down low bits on after-rounding
28611 systems when result rounded to normal precision would have normal
28612 exponent.
28613 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28614 (__fmal): Do not extract and scale down low bits on after-rounding
28615 systems when result rounded to normal precision would have normal
28616 exponent.
28617 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28618 (__fmal): Do not extract and scale down low bits on after-rounding
28619 systems when result rounded to normal precision would have normal
28620 exponent.
28621 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28622 macro.
28623 (fma_test): Add more tests.
28624 (fma_test_towardzero): Likewise.
28625 (fma_test_downward): Likewise.
28626 (fma_test_upward): Likewise.
28627
954ef0d9
L
286282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 * sysdeps/i386/tininess.h: Renamed to ...
28631 * sysdeps/x86/tininess.h: This.
28632 * sysdeps/x86_64/tininess.h: Removed.
28633
df61ffb2
JM
286342012-10-30 Joseph Myers <joseph@codesourcery.com>
28635
28636 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28637 input. Use $(build-program-cmd).
28638 ($(objpfx)tst-array1-static.out): Likewise.
28639 ($(objpfx)tst-array2.out): Likewise.
28640 ($(objpfx)tst-array3.out): Likewise.
28641 ($(objpfx)tst-array4.out): Likewise.
28642 ($(objpfx)tst-array5.out): Likewise.
28643 ($(objpfx)tst-array5-static.out): Likewise.
28644
01767843
CM
286452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28646
47cc1490
CM
28647 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28648 if defined.
28649
01767843
CM
28650 * nss/nsswitch.h (nss_interface_function): Provide new
28651 macro for use with NSS functions.
28652 * grp/initgroups.c: Use new macro.
28653 * nss/getXXbyYY.c: Likewise.
28654 * nss/getXXbyYY_r.c: Likewise.
28655 * nss/getXXent.c: Likewise.
28656 * nss/getXXent_r.c: Likewise.
28657 * sysdeps/posix/getaddrinfo.c: Likewise.
28658
8321aa97
AJ
286592012-10-30 Andreas Jaeger <aj@suse.de>
28660
28661 * po/ru.po: Update Russion translation from translation project.
28662
2a27fd6d
JM
286632012-10-30 Joseph Myers <joseph@codesourcery.com>
28664
8627a232
JM
28665 [BZ #14152]
28666 [BZ #14783]
28667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28668 result and shift together with sticky bit instead of replicating
28669 round-to-nearest rounding.
28670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28672 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28673 missing underflow exceptions.
28674 (fma_test_towardzero): Add more tests.
28675 (fma_test_downward): Likewise.
28676 (fma_test_upward): Likewise.
28677
2a27fd6d
JM
28678 [BZ #14047]
28679 * sysdeps/generic/tininess.h: New file.
28680 * sysdeps/i386/tininess.h: Likewise.
28681 * sysdeps/sh/tininess.h: Likewise.
28682 * sysdeps/x86_64/tininess.h: Likewise.
28683 * stdlib/tst-strtod-underflow.c: Likewise.
28684 * stdlib/tst-tininess.c: Likewise.
28685 * stdlib/strtod_l.c: Include <tininess.h>.
28686 (round_and_return): Do not set errno for exact underflow cases.
28687 Force an underflow exception when setting errno for underflow.
28688 Determine underflow based on rounding to normal precision if
28689 TININESS_AFTER_ROUNDING.
28690 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28691 ERANGE for exact underflow cases.
28692 * stdlib/Makefile (tests): Add tst-tininess and
28693 tst-strtod-underflow.
28694 ($(objpfx)tst-tininess): Use $(link-libm).
28695 ($(objpfx)tst-strtod-underflow): Likewise.
28696
e7170363
AJ
286972012-10-30 Andreas Jaeger <aj@suse.de>
28698
e5088dc6
AJ
28699 [BZ#14767]
28700 * elf/Makefile (tests): Remove conditional for have-initfini-array
28701 since this is now always required and the variable does not exist
28702 anymore.
28703 (tests-static): Likewise.
28704 (modules-names): Likewise.
28705
e7170363 28706 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28707
28708 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28709 merged with constructor/destructor.
28710 (init_array): Likewise.
28711 * elf/tst-array2dep.c (fini_array): Likewise.
28712 (init_array): Likewise.
28713
60457d8a
MF
287142012-10-29 Mike Frysinger <vapier@gentoo.org>
28715
28716 * manual/message.texi: Delete @cartouche tags.
28717
8bece752
PT
287182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28719
94ce799f
PT
28720 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28721 EOPNOTSUPP.
28722 * sysdeps/mach/hurd/fsync.c: Likewise.
28723
8bece752
PT
28724 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28725 [_POSIX_REALTIME_SIGNALS]: Change condition to
28726 [_POSIX_REALTIME_SIGNALS > 0].
28727
86ebe6b1
AJ
287282012-10-27 Andreas Jaeger <aj@suse.de>
28729
28730 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28731 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28733 [__WORDSIZE != 64]: Likewise.
28734
54399c08
L
287352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28736
28737 * iconvdata/tst-table.sh: Remove ${SHELL}.
28738 * iconvdata/tst-tables.sh: Likewise.
28739
e2211bed
DM
287402012-10-25 David S. Miller <davem@davemloft.net>
28741
28742 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28743 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28744 of strtoull.
28745
f303f97c
DM
28746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28747 ifunc-impl-list.c
28748 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28749 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28750 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28751 file.
28752
1e9d84cd
RM
287532012-10-25 Roland McGrath <roland@hack.frob.com>
28754
28755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28756 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28757 __getdirentries.
28758
df381762
JM
287592012-10-25 Joseph Myers <joseph@codesourcery.com>
28760 Jim Blandy <jimb@codesourcery.com>
28761
28762 * scripts/cross-test-ssh.sh: New file.
28763 * manual/install.texi (Configuring and compiling): Document use of
28764 cross-test-ssh.sh.
28765 * INSTALL: Regenerated.
28766
bff64913
PT
287672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28768
28769 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28770 EOPNOTSUPP.
28771
25fe8932
JM
287722012-10-25 Joseph Myers <joseph@codesourcery.com>
28773
28774 * Makeconfig (run-program-prefix): Fix comment.
28775
cc1290d0
JM
287762012-10-24 Joseph Myers <joseph@codesourcery.com>
28777 Jim Blandy <jimb@codesourcery.com>
28778
28779 * Makeconfig (test-wrapper): New variable,
28780 (test-wrapper-env): Likewise.
28781 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28782 (run-built-tests): Define to yes.
28783 (run-program-prefix): Use $(test-wrapper).
28784 (built-program-cmd): Likewise.
28785 * Rules (make-test-out): Use $(test-wrapper-env) and
28786 $(host-built-program-cmd).
28787 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28788 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28789 tst-pathopt.sh.
28790 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28791 $(test-wrapper-env) to tst-rtld-load-self.sh.
28792 ($(objpfx)order2.out): Use $(test-wrapper).
28793 ($(objpfx)tst-initorder.out): Likewise.
28794 ($(objpfx)tst-initorder2.out): Likewise.
28795 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28796 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28797 (test_wrapper_env): New variable. Use it to run ld.so.
28798 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28799 Use it to run ld.so.
28800 (test_wrapper_env): Likewise.
28801 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28802 $(test-wrapper) to run-iconv-test.sh.
28803 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28804 (ICONV): Use $test_wrapper.
28805 * posix/Makefile ($(objpfx)globtest.out): Pass
28806 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28807 globtest.sh, not $(run-program-prefix).
28808 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28809 (test_wrapper): Likewise.
28810 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28811 set together with run_via_rtld_prefix.
28812 (run_program_prefix): Define in terms of test_wrapper and
28813 run_via_rtld_prefix.
28814
6e6249d0
RM
288152012-10-24 Roland McGrath <roland@hack.frob.com>
28816
28817 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28818 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28819 Targets removed.
28820
28821 [BZ #14743]
28822 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28823 Declare __clock_getres, __clock_gettime, __clock_settime,
28824 __clock_nanosleep, and __clock_getcpuclockid.
28825 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28826 Remove librt_hidden_def (clock_gettime).
28827 * sysdeps/unix/clock_gettime.c: Likewise.
28828 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28829 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28830 * rt/clock_getres.c: Define __clock_getres as an alias.
28831 * sysdeps/posix/clock_getres.c: Likewise.
28832 * rt/clock_settime.c: Define __clock_settime as an alias.
28833 * sysdeps/unix/clock_settime.c: Likewise.
28834 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28835 * sysdeps/unix/clock_nanosleep.c: Likewise.
28836 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28837 * rt/clock-compat.c: New file.
28838 * rt/Makefile (librt-routines): Add clock-compat and move
28839 $(clock-routines) to ...
28840 (routines): ... here, new variable.
28841 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28842 Don't add get_clockfreq here.
28843 * rt/Versions (libc: GLIBC_2.17): New version set.
28844 Add clock_* symbols here.
28845 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28846 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28847 (GLIBC_2.17): Add clock_* symbols.
28848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28852 Likewise.
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28854 Likewise.
28855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28859 * NEWS: Mention the move.
28860
28861 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28862 Use __open, __read, __close rather than their public counterparts.
28863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28864 (__get_clockfreq_via_cpuinfo): Likewise.
28865 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28866 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28867
28868 * config.h.in (HAVE_IFUNC): New #undef.
28869 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28870 was successful.
28871 * configure: Regenerated.
28872
0cae3f4b
MF
288732012-10-24 Mike Frysinger <vapier@gentoo.org>
28874
28875 * configure.in: Move READELF check to start of file.
28876 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28877 libc_cv_asm_gnu_indirect_function in the process.
28878 * configure: Regenerated.
28879
8175a253
MF
288802012-10-24 Mike Frysinger <vapier@gentoo.org>
28881
28882 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28883 send the output to /dev/null.
28884 (libc_cv_cc_with_libunwind): Likewise.
28885 (libc_cv_as_noexecstack): Likewise.
28886 * configure: Regenerate.
28887
0708a7d1
JM
288882012-10-24 Joseph Myers <joseph@codesourcery.com>
28889
10b40d85
JM
28890 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28891
0708a7d1
JM
28892 * posix/globtest.sh (TMPDIR): Do not set.
28893 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28894 (testout): Likewise.
28895
9fddec1a
AJ
288962012-10-24 Andreas Jaeger <aj@suse.de>
28897
3a8db22f
AJ
28898 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28899 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28900 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28901 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28902 posix_fadvise64, posix_fallocate64.
28903
9fddec1a
AJ
28904 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28905 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28906 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28907 Likewise.
28908 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28909 Likewise.
28910 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28911
28912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28913 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28914 <bits/fcntl-linux.h>.
28915 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28916
28917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28918 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28919 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28920 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28921 [__WORDSIZE != 64]: Likewise.
28922
ebfd1bbd
JM
289232012-10-23 Joseph Myers <joseph@codesourcery.com>
28924
03ac099f
JM
28925 * Makeconfig (run-built-tests): New variable.
28926 * Rules [$(cross-compiling) = yes]: Change condition to
28927 [$(run-built-tests) = no].
28928 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28929 to [$(run-built-tests) = yes].
28930 * elf/Makefile [$(cross-compiling) = no]: Likewise
28931 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28932 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28933 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28934 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28935 * io/Makefile [$(cross-compiling) = no]: Likewise.
28936 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28937 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28938 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28939 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28940 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28941 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28942 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28943 * string/Makefile [$(cross-compiling) = no]: Likewise.
28944
ebfd1bbd
JM
28945 * posix/Makefile ($(objpfx)globtest.out): Pass
28946 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28947 $(rtld-installed-name).
28948 * posix/globtest.sh (elf_objpfx): Remove variable.
28949 (rtld_installed_name): Likewise.
28950 (library_path): Likewise.
28951 (run_program_prefix): New variable. Use for running globtest
28952 binary.
28953
166bca24
JB
289542012-10-23 Jim Blandy <jimb@codesourcery.com>
28955 Joseph Myers <joseph@codesourcery.com>
28956
28957 * Makeconfig (host-built-program-cmd): New variable.
28958 * elf/Makefile (tst-stackguard1-ARGS): Use
28959 $(host-built-program-cmd).
28960 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28961 (tst-spawn-ARGS): Likewise.
28962 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28963
88866099
JM
289642012-10-23 Joseph Myers <joseph@codesourcery.com>
28965 Jim Blandy <jimb@codesourcery.com>
28966
28967 * Makeconfig (run-via-rtld-prefix): New variable.
28968 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28969 (built-program-cmd): Likewise.
28970
b4b4c296
AJ
289712012-10-22 Andreas Jaeger <aj@suse.de>
28972
28973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28974 __O_RSYNC if it exists, otherwise to O_SYNC.
28975
6fb54a22
JB
289762012-10-22 Jim Blandy <jimb@codesourcery.com>
28977 Joseph Myers <joseph@codesourcery.com>
28978
28979 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28980 /dev/null.
28981 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28982 from /dev/null
28983 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28984 /dev/null.
28985
481b90b9
AJ
289862012-10-22 Andreas Jaeger <aj@suse.de>
28987
2a0e2669
AJ
28988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28989 Define always.
28990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28991
76e38f9a
AJ
28992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28993 bits/fcntl-linux.h.
28994
7cd37b43
AJ
28995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28996 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28997
481b90b9
AJ
28998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28999 to __O_LARGEFILE.
29000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29001 to __O_LARGEFILE.
29002
aba75984
JB
290032012-10-21 Jim Blandy <jimb@codesourcery.com>
29004 Joseph Myers <joseph@codesourcery.com>
29005
29006 * config.make.in (NM): New variable.
29007
88d4247f
AJ
290082012-10-21 Andreas Jaeger <aj@suse.de>
29009
29010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29011 definitions and declarations that are provided by
29012 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29013
f2eed205
L
290142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29015
29016 [BZ #14683]
29017 * elf/Makefile (tests-static): Add tst-leaks1-static.
29018 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29019 ($(objpfx)tst-leaks1-static): New rule.
29020 ($(objpfx)tst-leaks1-static-mem): Likewise.
29021 (tst-leaks1-static-ENV): New macro.
29022 * elf/dl-open.c (dl_open_worker): Check the main application
29023 only if SHARED is defined.
29024 * elf/tst-leaks1-static.c: New file.
29025
335e6931
AJ
290262012-10-20 Andreas Jaeger <aj@suse.de>
29027
29028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29029 generic values for Linux.
29030 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29031 and declarations that are provided by <bits/fcntl-linux.h> and
29032 include <bits/fcntl-linux.h>.
29033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29035
ac5c94d3
RM
290362012-10-20 Roland McGrath <roland@hack.frob.com>
29037
29038 * io/fcntl.h: Move include of <bits/types.h> to the top and
29039 include it unconditionally.
29040
de54b33a
L
290412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29042
228cfb01
L
29043 * wcsmbs/Makefile (tests-ifunc): New variable.
29044 (tests): Add $(tests-ifunc).
29045 * wcsmbs/test-wcschr-ifunc.c: New file.
29046 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29047 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29048 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29049 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29050 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29051
69f07e5f
L
29052 * string/Makefile (tests-ifunc): New variable.
29053 (tests): Add $(tests-ifunc).
29054 * string/test-memccpy.c (TEST_NAME): New macro.
29055 * string/test-memchr.c (TEST_NAME): Likewise.
29056 * string/test-memcmp.c (TEST_NAME): Likewise.
29057 * string/test-memcpy.c (TEST_NAME): Likewise.
29058 * string/test-memmem.c (TEST_NAME): Likewise.
29059 * string/test-memmove.c (TEST_NAME): Likewise.
29060 * string/test-memset.c (TEST_NAME): Likewise.
29061 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29062 * string/test-stpcpy.c (TEST_NAME): Likewise.
29063 * string/test-stpncpy.c (TEST_NAME): Likewise.
29064 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29065 * string/test-strcasestr.c (TEST_NAME): Likewise.
29066 * string/test-strcat.c (TEST_NAME): Likewise.
29067 * string/test-strchr.c (TEST_NAME): Likewise.
29068 * string/test-strcmp.c(TEST_NAME): Likewise.
29069 * string/test-strcpy.c (TEST_NAME): Likewise.
29070 * string/test-strcspn.c (TEST_NAME): Likewise.
29071 * string/test-strlen.c (TEST_NAME): Likewise.
29072 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29073 * string/test-strncmp.c (TEST_NAME): Likewise.
29074 * string/test-strncpy.c (TEST_NAME): Likewise.
29075 * string/test-strnlen.c (TEST_NAME): Likewise.
29076 * string/test-strpbrk.c (TEST_NAME): Likewise.
29077 * string/test-strrchr.c (TEST_NAME): Likewise.
29078 * string/test-strspn.c (TEST_NAME): Likewise.
29079 * string/test-strstr.c (TEST_NAME): Likewise.
29080 * string/test-bcopy-ifunc.c: New file.
29081 * string/test-bzero-ifunc.c: Likewise.
29082 * string/test-memccpy-ifunc.c: Likewise.
29083 * string/test-memchr-ifunc.c: Likewise.
29084 * string/test-memcmp-ifunc.c: Likewise.
29085 * string/test-memcpy-ifunc.c: Likewise.
29086 * string/test-memmem-ifunc.c: Likewise.
29087 * string/test-memmove-ifunc.c: Likewise.
29088 * string/test-mempcpy-ifunc.c: Likewise.
29089 * string/test-memset-ifunc.c: Likewise.
29090 * string/test-rawmemchr-ifunc.c: Likewise.
29091 * string/test-stpcpy-ifunc.c: Likewise.
29092 * string/test-stpncpy-ifunc.c: Likewise.
29093 * string/test-strcasecmp-ifunc.c: Likewise.
29094 * string/test-strcasestr-ifunc.c: Likewise.
29095 * string/test-strcat-ifunc.c: Likewise.
29096 * string/test-strchr-ifunc.c: Likewise.
29097 * string/test-strchrnul-ifunc.c: Likewise.
29098 * string/test-strcmp-ifunc.c: Likewise.
29099 * string/test-strcpy-ifunc.c: Likewise.
29100 * string/test-strcspn-ifunc.c: Likewise.
29101 * string/test-strlen-ifunc.c: Likewise.
29102 * string/test-strncasecmp-ifunc.c: Likewise.
29103 * string/test-strncat-ifunc.c: Likewise.
29104 * string/test-strncmp-ifunc.c: Likewise.
29105 * string/test-strncpy-ifunc.c: Likewise.
29106 * string/test-strnlen-ifunc.c: Likewise.
29107 * string/test-strpbrk-ifunc.c: Likewise.
29108 * string/test-strrchr-ifunc.c: Likewise.
29109 * string/test-strspn-ifunc.c: Likewise.
29110 * string/test-strstr-ifunc.c: Likewise.
29111
de54b33a
L
29112 * debug/Makefile (tests-ifunc): New variable.
29113 (tests): Add $(tests-ifunc).
29114 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29115 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29116 * debug/test-stpcpy_chk-ifunc.c: New file.
29117 * debug/test-strcpy_chk-ifunc.c: Likewise.
29118
88481c16
SP
291192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29120
29121 [BZ #13601]
29122 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29123 header is not read in.
29124
135948bd
JM
291252012-10-19 Joseph Myers <joseph@codesourcery.com>
29126
89f1c388
JM
29127 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29128 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29129 directly. Pass built executable to script as
29130 $(built-program-cmd).
29131 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29132 $testprogram without using LD_LIBRARY_PATH and $ldso.
29133
e40a0d21
JM
29134 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29135 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29136 $(rtld-installed-name).
29137 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29138 (rtld_installed_name): Likewise.
29139 (library_path): Likewise.
29140 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29141 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29142 $(run-program-prefix) to tst-tables.sh.
29143 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29144 it to run tst-table-from and tst-table-to.
29145 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29146 Pass it to tst-table.sh.
29147 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29148 $(run-program-prefix) to tst-gettext.sh.
29149 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29150 tst-translit.sh.
29151 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29152 tst-gettext2.sh.
29153 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29154 to run tst-gettext.
29155 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29156 to run tst-gettext2.
29157 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29158 to run tst-translit.
29159 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29160 $(run-program-prefix) to tst-mtrace.sh.
29161 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29162 to run tst-mtrace.
29163 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29164 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29165 $(rtld-installed-name).
29166 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29167 (rtld_installed_name): Likewise.
29168 (run_program_prefix): New variable. Use it to run wordexp-test.
29169
728e272a
JM
29170 * Makeconfig (ARCH): Remove all definitions.
29171 (machine): Likewise.
29172 [ARCH]: Remove conditional code.
29173 [!objdir]: Give error.
29174 [!objdir] (objpfx): Remove.
29175 [!objdir] (common-objpfx): Likewise.
29176 [!objdir] (common-objdir): Likewise.
29177 * configure.in (config_makefile): Remove. Hardcode Makefile in
29178 AC_CONFIG_FILES call.
29179 * configure: Regenerated.
29180
d528cdcf
JM
29181 [BZ #13888]
29182 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29183 or TMPDIR.
29184 (testout): Likewise.
29185
135948bd
JM
29186 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29187 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29188 $(rtld-installed-name).
29189 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29190 (rtld_installed_name): Likwise.
29191 (runit): Remove function.
29192 (run_getconf): New variable, Use it for running getconf binary.
29193
38c78296
L
291942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29195
29196 [BZ #14716]
29197 * string/test-memmem.c (check_result): New function.
29198 (do_one_test): Use it.
29199 (check1): New function.
29200 (test_main): Use it.
29201
d077f65f
MT
292022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29203
29204 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29205
ced52c71
JM
292062012-10-18 Joseph Myers <joseph@codesourcery.com>
29207
29208 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29209 (_G_LSEEK64): Likewise.
29210 (_G_MMAP64): Likewise.
29211 (_G_FSTAT64): Likewise.
29212 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29213 (_G_LSEEK64): Likewise.
29214 (_G_MMAP64): Likewise.
29215 (_G_FSTAT64): Likewise.
29216 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29217 unconditional. Call __mmap64 directly.
29218 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29219 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29220 __lseek64 directly.
29221 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29222 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29223 __mmap64 directly.
29224 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29225 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29226 __lseek64 directly.
29227 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29228 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29229 __lseek64 directly.
29230 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29231 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29232 __lseek64 directly.
29233 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29234 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29235 __fxstat64 directly.
29236 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29237 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29238 unconditional.
29239 (freopen64) [!_G_OPEN64]: Remove conditional code.
29240 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29241 unconditional.
29242 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29243 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29244 unconditional.
29245 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29246 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29247 unconditional.
29248 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29249 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29250 unconditional.
29251 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29252 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29253 unconditional.
29254 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29255 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29256 unconditional.
29257 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29258 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29259 unconditional.
29260 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29261
b741de23
SP
292622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29263
29264 [BZ #12140]
29265 * manual/memory.texi (Malloc Tunable Parameters): Add note
29266 about free list pointers overwriting some perturb bytes.
29267 Wording suggested by Roland McGrath.
29268
f9b9d9c9
JM
292692012-10-17 Joseph Myers <joseph@codesourcery.com>
29270
29271 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29272 (lgamma_test): Likewise.
29273 (tgamma_test): Likewise.
29274
172a631a
FW
292752012-10-16 Florian Weimer <fweimer@redhat.com>
29276
29277 [BZ #14700]
29278 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29279 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29280
e9f37252
MK
292812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29282
29283 * NEWS: Mention BZ #14716.
29284 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29285 when removing AVAILABLE1_USES_J macro.
29286
d394eb74
L
292872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29290 (__bswap_64): __uint64_t for unsigned 64-bit int.
29291
ca38dc17
AS
292922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29293
29294 * include/string.h (memmem): Declare libc hidden alias.
29295 * string/memmem.c (memmem): Define libc hidden alias.
29296 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29297 __read, __close instead of open, read, close.
29298
9a387d1f
L
292992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29300
ac49ecaf
L
29301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29302 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29303 global and hidden.
29304 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29305 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29306 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29307 Likewise.
29308 (__rawmemchr_sse2): Likewise.
29309 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29310 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29311 (__strchr_sse2): Likewise.
29312 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29313 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29314 (__strcasecmp_sse2): Likewise.
29315 (__strncasecmp_sse2): Likewise.
29316 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29317 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29318 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29319 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29320 (__strrchr_sse2): Likewise.
29321 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29322 ifunc-impl-list.c.
29323 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29324 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29325 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29326 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29327 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29328 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29329 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29330 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29331 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29332 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29333 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29334 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29335 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29336 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29337 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29338 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29339 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29340 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29341 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29342 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29343 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29344 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29345 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29346 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29347 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29348 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29349 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29350 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29351 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29352 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29353
b090e8ea
L
29354 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29355 global and hidden.
29356 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29357 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29358 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29359 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29360 Likewise.
29361 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29362 Likewise.
29363 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29364 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29365 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29366 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29367 ifunc-impl-list.c.
29368 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29370 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29377 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29393 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29394 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29395 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29396 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29397 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29398 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29399 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29400 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29401 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29402 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29403 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29404 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29405 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29406 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29407 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29408 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29409
11dd4af6
L
29410 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29411 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29412 * include/ifunc-impl-list.h: New file.
29413 * misc/ifunc-impl-list.c: Likewise.
29414 * misc/Makefile (routines): Add ifunc-impl-list.
29415 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29416 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29417 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29418 TEST_NAME]: New variables.
11dd4af6
L
29419 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29420 are defined.
29421 (test_init): Call __libc_ifunc_impl_list to initialize
29422 func_list if TEST_IFUNC and TEST_NAME are defined.
29423
9a387d1f
L
29424 * string/Makefile (strop-tests): Add bcopy and bzero.
29425 * string/test-bcopy.c: New file.
29426 * string/test-bzero.c: Likewise.
29427 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29428 defined.
29429 * string/test-memset.c: Support bzero test if TEST_BZERO is
29430 defined.
29431 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29432 __libc_memmove.
29433 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29434 __libc_memset.
29435 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29436 of memset.
29437
472371b9
JM
294382012-10-10 Joseph Myers <joseph@codesourcery.com>
29439
1e4a9536
JM
29440 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29441 * configure: Regenerated.
29442
d173d12e
JM
29443 * Makeconfig (+link-static-before-libc): Don't include
29444 $(link-static-libc).
29445
472371b9
JM
29446 * libio/libio.h (_IO_pos_t): Remove.
29447
89a3ad0b
AO
294482012-10-10 Alexandre Oliva <aoliva@redhat.com>
29449
29450 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29451 McGrath.
29452
e7451425
AO
294532012-10-10 Alexandre Oliva <aoliva@redhat.com>
29454
29455 * crypt/crypt-entry.c: Include fips-private.h.
29456 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29457 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29458 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29459 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29460
4ba74a35
AO
294612012-10-10 Alexandre Oliva <aoliva@redhat.com>
29462
29463 * crypt/crypt-private.h: Include stdbool.h.
29464 (_ufc_setup_salt_r): Return bool.
29465 * crypt/crypt-entry.c: Include errno.h.
29466 (__crypt_r): Return NULL with EINVAL for bad salt.
29467 * crypt/crypt_util.c (bad_for_salt): New.
29468 (_ufc_setup_salt_r): Check that salt is long enough and within
29469 the specified alphabet.
29470 * crypt/badsalttest.c: New file.
29471 * crypt/Makefile (tests): Add it.
29472 ($(objpfx)badsalttest): New.
29473
f96f1242
MK
294742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29475
29476 * NEWS: Add entry for BZ #14602.
29477
0e8e0c1c
JM
294782012-10-09 Joseph Myers <joseph@codesourcery.com>
29479
29480 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29481 type-generic.
29482 * math/libm-test.inc: Update comment listing what functions and
29483 macros are tested.
29484 (isgreater_test): New function.
29485 (isgreaterequal_test): Likewise.
29486 (isless_test): Likewise.
29487 (islessequal_test): Likewise.
29488 (islessgreater_test): Likewise.
29489 (isunordered_test): Likewise.
29490 (main): Call the new functions.
29491
273edc5e
RM
294922012-10-09 Roland McGrath <roland@hack.frob.com>
29493
b8493de0
RM
29494 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29495 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29496 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29497 * sysdeps/i386/configure: Regenerated.
29498 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29499 * sysdeps/mach/configure: Regenerated.
29500 * sysdeps/mach/hurd/configure: Regenerated.
29501 * sysdeps/powerpc/configure: Regenerated.
29502 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29503 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29504 * sysdeps/s390/s390-32/configure: Regenerated.
29505 * sysdeps/s390/s390-64/configure: Regenerated.
29506 * sysdeps/sh/configure: Regenerated.
29507 * sysdeps/sparc/configure: Regenerated.
29508 * sysdeps/unix/sysv/linux/configure: Regenerated.
29509 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29510 * sysdeps/x86_64/configure: Regenerated.
29511
273edc5e
RM
29512 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29513 defined. Don't check if MAP is NULL.
29514
c8450f70
JM
295152012-10-09 Joseph Myers <joseph@codesourcery.com>
29516
29517 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29518 (_G_stat64): Likewise.
29519 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29520 (_G_stat64): Likewise.
29521 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29522 instead of struct _G_stat64.
29523 * libio/fileops.c (mmap_remap_check): Likewise.
29524 (decide_maybe_mmap): Likewise.
29525 (_IO_new_file_seekoff): Likewise.
29526 (_IO_file_stat): Likewise.
29527 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29528 _G_off64_t.
29529 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29530 instead of struct _G_stat64.
29531 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29532
57e605ba
MK
295332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29534
29535 [BZ #14602]
29536 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29537 Replace with ...
29538 (CHECK_EOL): New macro.
29539 (two_way_short_needle): Check beginning of haystack for EOL. Use
29540 CHECK_EOL.
29541 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29542 Replace with CHECK_EOL.
29543 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29544 Replace with CHECK_EOL.
29545
ef1bb361
JM
295462012-10-08 Joseph Myers <joseph@codesourcery.com>
29547
29548 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29549 type-generic.
29550 * math/libm-test.inc: Update comment listing what functions and
29551 macros are tested.
29552 (finite_test): New function.
29553 (isinf_test): Likewise.
29554 (isnan_test): Likewise.
29555 (fpclassify_test): Test subnormal input.
29556 (isfinite_test): Likewise.
29557 (isnormal_test): Likewise.
29558 (main): Call the new functions.
29559
55f11534
JN
295602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29561
29562 [BZ #14660]
29563 * Makerules (%.dynsym): Force C locale when running
29564 $(OBJDUMP) --dynamic-syms.
29565
1ab29350
AS
295662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29567
29568 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29569 <stdint.h>.
29570
f1ecb7ef
DM
295712012-10-06 David S. Miller <davem@davemloft.net>
29572
29573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29574 upper 32-bits of the length value in %o2 since we use branch-on-register
29575 tests which consider the entire 64-bit register.
29576
5d41d91a
L
295772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29578
29579 * string/test-strstr.c (check2): Add a test for page boundary.
29580
3baddb72
DM
295812012-10-05 David S. Miller <davem@davemloft.net>
29582
29583 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29584 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29585 file.
29586 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29587 sysdep_routines.
29588 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29589 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29590 and bzero when HWCAP_SPARC_CRYPTO is present.
29591
9cee5585
L
295922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29593
d7e0dab9
L
29594 [BZ #14602]
29595 * string/test-strstr.c (check2): New function.
29596 (test_main): Call check2.
29597
03759f47
L
29598 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29599 and bug-strchr1.
29600 * string/bug-strcasestr1.c (do_test): Moved to ...
29601 * string/test-strcasestr.c (check1): Here. New function.
29602 (do_one_test): Break out result checking code into ...
29603 (check_result): This. New function.
29604 (do_one_test): Call check_result.
29605 (test_main): Call check1.
29606 * string/bug-strchr1.c (do_test): Moved to ...
29607 * string/test-strchr.c (check1): Here. New function.
29608 (do_one_test): Break out result checking code into ...
29609 (check_result): This. New function.
29610 (do_one_test): Call check_result.
29611 (test_main): Call check1.
29612 * string/bug-strstr1.c (main): Moved to ...
046f153e 29613 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29614 (do_one_test): Break out result checking code into ...
29615 (check_result): This. New function.
29616 (do_one_test): Call check_result.
29617 (test_main): Call check1.
29618 * string/bug-strcasestr1.c: Removed.
29619 * string/bug-strchr1.c: Likewise.
29620 * string/bug-strstr1.c: Likewise.
29621
53cea63e
L
29622 * elf/Makefile (dl-routines): Add hwcaps.
29623 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29624 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29625 (_dl_important_hwcaps): Moved to ...
29626 * elf/dl-hwcaps.c: Here. New file.
29627 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29628
9cee5585 29629 [BZ #14557]
bb859b06
L
29630 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29631 if IS_IN_rtld isn't defined.
29632
9cee5585
L
29633 * elf/dl-support.c (_dl_sysinfo_map): New.
29634 Include "get-dynamic-info.h" and "setup-vdso.h".
29635 (_dl_non_dynamic_init): Call setup_vdso.
29636 * elf/dynamic-link.h: Don't include <assert.h>.
29637 (elf_get_dynamic_info): Moved to ...
29638 * elf/get-dynamic-info.h: Here. New file.
29639 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29640 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29641 * elf/setup-vdso.h: Here. New file.
29642 * elf/rtld.c: Include "setup-vdso.h".
29643 (dl_main): Call setup_vdso.
29644
23c31b76
JM
296452012-10-05 Joseph Myers <joseph@codesourcery.com>
29646
28234b07
JM
29647 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29648 creal in comment listing functions tested. List finite, isinf,
29649 isnan, isless, islessequal, isgreater, isgreaterequal,
29650 islessgreater, isunordered, lgamma_r and pow10 as functions and
29651 macros not tested. Mention which functions not tested are aliases
29652 for other functions. Fix typo. Note that signs of NaNs are not
29653 tested.
29654
23c31b76
JM
29655 * scripts/config.guess: Update from config.git.
29656 * scripts/config.sub: Likewise.
29657
9043e228
RM
296582012-10-04 Roland McGrath <roland@hack.frob.com>
29659
29660 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29661 * misc/madvise.c (madvise): Renamed to __madvise.
29662 Make madvise a weak alias.
29663 * include/sys/mman.h: Declare __madvise.
29664 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29665 * sysdeps/unix/syscalls.list
29666 (madvise): Make __madvise the strong name, and madvise a weak alias.
29667 * sysdeps/unix/sysv/linux/syscalls.list
29668 (madvise, mmap): Remove redundant entries.
29669 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29670 * malloc/malloc.c (mtrim): Likewise.
29671 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29672
f57f8055
RM
296732012-10-03 Roland McGrath <roland@hack.frob.com>
29674
29675 * sysdeps/mach/hurd/dl-cache.c: File removed.
29676 * config.h.in (USE_LDCONFIG): New #undef.
29677 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29678 * configure: Regenerated.
29679 * elf/Makefile (dl-routines): Add dl-cache only under
29680 [$(use-ldconfig) = yes].
29681 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29682 cache on [USE_LDCONFIG].
29683 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29684 [USE_LDCONFIG].
29685 * elf/rtld.c (dl_main): Likewise.
29686
5bb0c10a
PT
296872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29688
29689 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29690 _SC_LEVEL4_CACHE_LINESIZE.
29691
010188c6
RM
296922012-10-03 Roland McGrath <roland@hack.frob.com>
29693
29694 * sysdeps/unix/bsd/confstr.h: File removed.
29695
b6c5ec07
AO
296962012-10-02 Alexandre Oliva <aoliva@redhat.com>
29697
29698 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29699 sys/sdt-config.h.
29700
408223d4
RM
297012012-10-02 Roland McGrath <roland@hack.frob.com>
29702
29703 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29704 Make 'mapoff' field ElfW(Off) rather than off_t.
29705
bb9510dc
DL
297062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29707
fc997c6e
DL
29708 * nscd/Makefile: Remove nscd-cflags and all its users.
29709 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29710 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29711
bb9510dc
DL
29712 [BZ #10631]
29713 * malloc.c (malloc_printerr): Clarify error message.
29714
05699367
L
297152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 [BZ #14648]
29718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29719 Set bit_FMA_Usable if FMA is supported.
29720 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29721 macro.
29722 (bit_FMA4_Usable): Updated.
29723 (index_FMA_Usable): New macro.
29724 (CPUID_FMA): Likewise
29725 (HAS_FMA): Defined with bit_FMA_Usable.
29726
51367701
RM
297272012-10-01 Roland McGrath <roland@hack.frob.com>
29728
29729 * bits/types.h (__swblk_t): Type removed.
29730 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29731 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29733 (__SWBLK_T_TYPE): Likewise.
29734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29735 (__SWBLK_T_TYPE): Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29737 (__SWBLK_T_TYPE): Likewise.
29738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29739 (__SWBLK_T_TYPE): Likewise.
29740
4d57bf63 297412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29742 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29743
29744 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29745 (xdr_mapname): Use YPMAXMAP as maxsize.
29746 (xdr_peername): Use YPMAXPEER as maxsize.
29747 (xdr_keydat): Use YPAXRECORD as maxsize.
29748 (xdr_valdat): Use YPMAXRECORD as maxsize.
29749
93c65d43
RM
297502012-10-01 Roland McGrath <roland@hack.frob.com>
29751
497a03d6
RM
29752 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29753
93c65d43
RM
29754 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29755 * csu/init-first.c: ... here.
29756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29757 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29758 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29759 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29760 * sysdeps/i386/init-first.c: File removed.
29761 * sysdeps/sh/init-first.c: File removed.
29762
bec749fd
JM
297632012-10-01 Joseph Myers <joseph@codesourcery.com>
29764
29765 [BZ #14645]
29766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29767 if x * y might underflow to zero and z is zero.
29768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29770 * math/libm-test.inc (min_subnorm_value): New variable.
29771 (fma_test): Add more tests.
29772 (fma_test_towardzero): Likewise.
29773 (fma_test_downward): Likewise
29774 (fma_test_upward): Likewise.
29775 (initialize): Set min_subnorm_value.
29776
8ec5b013
JM
297772012-09-29 Joseph Myers <joseph@codesourcery.com>
29778
29779 [BZ #14638]
29780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29781 0 + 0.
29782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29783 mode for addition resulting in exact zero.
29784 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29786 exact 0 + 0.
29787 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29789 * math/libm-test.inc (fma_test): Add more tests.
29790 (fma_test_towardzero): New function.
29791 (fma_test_downward): Likewise.
29792 (fma_test_upward): Likewise.
29793 (main): Call the new functions.
29794
b1fa802e
DM
297952012-09-28 David S. Miller <davem@davemloft.net>
29796
29797 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29798
d3b9fd9e
RM
297992012-09-28 Roland McGrath <roland@hack.frob.com>
29800
ea4d37b3
RM
29801 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29802 instead of SIGALRM.
29803
ac51c949
RM
29804 * sysdeps/gnu/_G_config.h: Moved to ...
29805 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29806 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29807 * sysdeps/generic/_G_config.h: ... here.
29808
28c195f7
RM
29809 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29810
848917f9
RM
29811 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29812
6bacf05b
RM
29813 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29814 Conditionalize target on [libnss_test1.so-version].
29815
91363dbb
RM
29816 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29817
cc87f7d8
RM
29818 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29819 (elfobjdir): Move out of conditionals.
29820
b1c608fe
RM
29821 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29822 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29823 (__nss_lookup_function): Conditionalize label remove_from_tree on
29824 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29825
1d9a6d96
DM
298262012-09-28 David S. Miller <davem@davemloft.net>
29827
29828 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29829 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29830 file.
29831 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29832 sysdep_routines.
29833 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29835 when HWCAP_SPARC_CRYPTO is present.
29836
72581615
PT
298372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29838
29839 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29840
715a900c
JL
298412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29842
29843 [BZ #6530]
29844 * stdio-common/vfprintf.c (process_string_arg): Revert
29845 2000-07-22 change.
29846
298472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29848
29849 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29850 for testcase.
29851 * stdio-common/tst-sprintf.c: Include <locale.h>
29852 (main): Test sprintf's handling of incomplete multibyte
29853 characters.
29854
9bac1d86
L
298552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29856
29857 * elf/dl-runtime.c (VERSYMIDX): Removed.
29858 * elf/dl-version.c (VERSYMIDX): Likewise.
29859 * elf/do-rel.h (VERSYMIDX): Likewise.
29860 (VALIDX): Likewise.
29861 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29862 * elf/rtld.c (VALIDX): Likewise.
29863 (ADDRIDX): Likewise.
9bac1d86
L
29864 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29865 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29866 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29867 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29868 (VALIDX): Likewise.
29869 (ADDRIDX): Likewise.
9bac1d86 29870
b31606c0
PT
298712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29872
29873 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29874
11541177
JL
298752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29876
29877 [BZ #11438]
29878 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29879 to global scope.
29880 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29881 addresses are in the same scope as 192.0.2/24.
29882 * posix/gai.conf: Document new scope table defaults.
29883
adb26fae
SP
298842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29885
29886 [BZ #5298]
29887 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29888 for ftell. Compute offsets from write pointers instead.
29889 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29890
4573c6b0
SP
298912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29892
29893 [BZ #14543]
29894 * libio/Makefile (tests): New test case tst-fseek.
29895 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29896 combination works in wide mode.
29897 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29898 state when the external buffer state changes.
29899
aa9bbfe6
DM
299002012-09-27 David S. Miller <davem@davemloft.net>
29901
29902 [BZ #14376]
29903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29904 pass reloc->r_addend in as the 'high' argument to
29905 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29906
784421e7
DM
29907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29908
c39bc8b8
PT
299092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29910
29911 * rt/tst-aio2.c: Include <pthread.h>.
29912 * rt/tst-aio3.c: Likewise.
29913
1ccc2399
SE
299142012-09-27 Steve Ellcey <sellcey@mips.com>
29915
29916 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29917
31ed4153
L
299182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29919
25f5f885
L
29920 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29921 contents on [SHARED].
31ed4153 29922
b7bfe116
MP
299232012-09-26 Marek Polacek <polacek@redhat.com>
29924
29925 [BZ #14530]
29926 [BZ #13741]
29927 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29928 for C++ and GCC <4.3 as well as for non GCC compilers.
29929
43c4edba
MT
299302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29931
29932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29933
6a1bf82f
RM
299342012-09-25 Roland McGrath <roland@hack.frob.com>
29935
29936 * Makefile.in (all, install): Declare with .PHONY.
29937 Reported by Michael Hope <michael.hope@linaro.org>.
29938
8ad11b9a
TMQMF
299392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29940
29941 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29942 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29943 system header.
29944 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29945 Likewise.
29946 (sydep_routines): Add the new and the internal functions.
29947 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29948 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29950 (GLIBC_2.17): Add the new function.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29952 (GLIBC_2.17): Likewise.
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29954 (GLIBC_2.17): Likewise.
29955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29956 (GLIBC_2.17): Likewise.
29957 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29958
7e2fca8d
AM
299592012-09-25 Alan Modra <amodra@gmail.com>
29960
29961 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29962 Add release barrier before setting once_control to say
29963 initialisation is done. Add hints on lwarx. Use macro in
29964 place of isync.
29965 (clear_once_control): Add release barrier.
29966
b87c4b24
JM
299672012-09-25 Joseph Myers <joseph@codesourcery.com>
29968
d032e0d2
JM
29969 [BZ #13629]
29970 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29971 specially.
29972 * math/s_clog10.c (__clog10): Likewise.
29973 * math/s_clog10f.c (__clog10f): Likewise.
29974 * math/s_clog10l.c (__clog10l): Likewise.
29975 * math/s_clogf.c (__clogf): Likewise.
29976 * math/s_clogl.c (__clogl): Likewise.
29977 * math/Makefile (libm-calls): Add x2y2m1.
29978 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29979 (__x2y2m1): Likewise.
29980 (__x2y2m1l): Likewise.
29981 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29982 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29985 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29986 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29987 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29988 * sysdeps/i386/fpu/libm-test-ulps: Update.
29989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990
b87c4b24
JM
29991 [BZ #14621]
29992 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29993 int as type of variable DEPTH.
29994 (glob): Use size_t instead of int as type of variables NEWCOUNT
29995 and OLD_PATHC.
29996
6d3bf199
LD
299972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29998
22bf5c17
LD
29999 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30000 Add s_sincosf-sse2.
30001 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30002 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30003 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30004 macros for using routine as __sincosf_ia32.
30005 Use macro for function declaration and weak_alias.
30006 * sysdeps/i386/fpu/libm-test-ulps: Update.
30007
30008 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30010
30011 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30012 subnormal argument.
30013 * math/s_cexpf.c (__cexpf): Likewise.
30014 * math/s_csinf.c (__csinf): Likewise.
30015 * math/s_csinhf.c (__csinhf): Likewise.
30016 * math/s_ctanf.c (__ctanf): Likewise.
30017 * math/s_ctanhf.c (__ctanhf): Likewise.
30018 * math/s_ccosh.c (__ccoshf): Likewise.
30019 * math/s_cexp.c (__cexpl): Likewise.
30020 * math/s_csin.c (__csin): Likewise.
30021 * math/s_csinh.c (__csinh): Likewise.
30022 * math/s_ctan.c (__ctan): Likewise.
30023 * math/s_ctanh.c (ctanh): Likewise.
30024 * math/s_ccoshl.c (__ccoshl): Likewise.
30025 * math/s_cexpl.c (__cexpl): Likewise.
30026 * math/s_csinl.c (__csinl): Likewise.
30027 * math/s_csinhl.c (__csinhl): Likewise.
30028 * math/s_ctanl.c (__ctanl): Likewise.
30029 * math/s_ctanhl.c (__ctanhl): Likewise.
30030
203e5603
JM
300312012-09-25 Joseph Myers <joseph@codesourcery.com>
30032
30033 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30034 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30035 (_IO_off_t): Define to __off_t, not _G_off_t.
30036 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30037 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30038 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30039 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30040 type of __dummy and __dummy2 fields.
30041 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30042 (_G_ssize_t): Likewise.
30043 (_G_off_t): Likewise.
30044 (_G_pid_t): Likewise.
30045 (_G_uid_t): Likewise.
30046 (_G_wchar_t): Likewise.
30047 (_G_wint_t): Likewise.
30048 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30049 (_G_ssize_t): Likewise.
30050 (_G_off_t): Likewise.
30051 (_G_pid_t): Likewise.
30052 (_G_uid_t): Likewise.
30053 (_G_wchar_t): Likewise.
30054 (_G_wint_t): Likewise.
30055 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30056 (_G_ssize_t): Likewise.
30057 (_G_off_t): Likewise.
30058 (_G_pid_t): Likewise.
30059 (_G_uid_t): Likewise.
30060 (_G_wchar_t): Likewise.
30061 (_G_wint_t): Likewise.
30062
9fab36eb
SP
300632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30064
30065 * malloc/arena.c: Include malloc-sysdep.h.
30066 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30067 is sufficient to shrink the heap or an unmap is needed.
30068 * sysdeps/generic/malloc-sysdep.h: New file. Define
30069 new function check_may_shrink_heap.
30070 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30071 new function check_may_shrink_heap.
30072
2b4f00d1
SP
300732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30074
30075 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30076 comments.
30077
9a9028b1
DL
300782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30079
57c69bef
DL
30080 * catgets/test-gencat.sh: Add "set -e".
30081 * elf/tst-pathopt.sh: Likewise.
30082 * grp/tst_fgetgrent.sh: Likewise.
30083 * iconvdata/run-iconv-test.sh: Likewise.
30084 * intl/tst-gettext.sh: Likewise.
30085 * intl/tst-gettext2.sh: Likewise.
30086 * intl/tst-gettext4.sh: Likewise.
30087 * intl/tst-gettext6.sh: Likewise.
30088 * intl/tst-translit.sh: Likewise.
30089 * io/ftwtest-sh: Likewise.
30090 * libio/test-freopen.sh: Likewise.
30091 * malloc/tst-mtrace.sh: Likewise.
30092 * posix/globtest.sh: Likewise.
30093 * posix/tst-getconf.sh: Likewise.
30094 * posix/wordexp-tst.sh: Likewise.
30095 * stdio-common/tst-printf.sh: Likewise.
30096 * stdio-common/tst-unbputc.sh: Likewise.
30097 * stdlib/tst-fmtmsg.sh: Likewise.
30098 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30099 * catgets/Makefile: Do not specify -e option when running
30100 testsuite shell scripts.
30101 * elf/Makefile: Likewise.
30102 * grp/Makefile: Likewise.
30103 * iconvdata/Makefile: Likewise.
30104 * intl/Makefile: Likewise.
30105 * io/Makefile: Likewise.
30106 * libio/Makefile: Likewise.
30107 * malloc/Makefile: Likewise.
30108 * posix/Makefile: Likewise.
30109 * stdio-common/Makefile: Likewise.
30110 * stdlib/Makefile: Likewise.
30111 * sysdeps/x86_64/Makefile: Likewise.
30112
9a9028b1
DL
30113 * io/ftwtest-sh: Add copyright header.
30114 * posix/globtest.sh: Likewise.
30115 * posix/tst-getconf.sh: Likewise.
30116 * posix/wordexp-tst.sh: Likewise.
30117 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30118
ced6f16e
L
301192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30120
94b32c39
L
30121 [BZ #13679]
30122 * Makeconfig (+link): Defined as $(+link-static) if
30123 $(build-shared) isn't yes.
30124 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30125 isn't yes.
30126 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30127
189e935b
L
30128 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30129
ced6f16e
L
30130 [BZ #14562]
30131 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30132 new chunk size with MALLOC_ALIGN_MASK.
30133
a9f8e53a
JM
301342012-09-24 Joseph Myers <joseph@codesourcery.com>
30135
30136 [BZ #5044]
30137 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30138 <rounding-mode.h>.
30139 (__printf_fphex): Determine rounding using get_rounding_mode and
30140 round_away.
30141 * stdio-common/tst-printf-round.c (struct hex_test): New
30142 structure.
30143 (hex_tests): New variable.
30144 (test_hex_in_one_mode): New function.
30145 (do_test): Also run tests for hex float output.
30146
43153109
JM
301472012-09-21 Joseph Myers <joseph@codesourcery.com>
30148
30149 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30150 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30151 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30152 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30153 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30154 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30155 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30156 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30157
8a26625d
JM
301582012-09-20 Joseph Myers <joseph@codesourcery.com>
30159
30160 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30161 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30162 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30163 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30164
f3fd569c
DL
301652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30166
30167 [BZ #14579]
30168 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30169 mode only.
30170 * elf/tst-rtld-load-self.sh: New test.
30171 * elf/Makefile: Run it.
30172
63bbedd4
JM
301732012-09-18 Joseph Myers <joseph@codesourcery.com>
30174
30175 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30176 (tst-writev-ENV): Remove.
30177 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30178
626f8b6a
CM
301792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30180
30181 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30182
b7aaa4d6
JM
301832012-09-17 Joseph Myers <joseph@codesourcery.com>
30184
30185 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30186 unconditional.
30187 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30188 Likewise.
30189 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30190 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30191 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30192 Likewise.
30193
65513990
L
301942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30195
30196 [BZ #14587]
30197 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30198 * config.make.in (have-cpp-asm-debuginfo): Removed.
30199 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30200 * configure: Regenerated.
30201
784761be
JM
302022012-09-14 Joseph Myers <joseph@codesourcery.com>
30203
30204 [BZ #5044]
30205 * stdio-common/printf_fp.c: Include <stdbool.h> and
30206 <rounding-mode.h>.
30207 (___printf_fp): Determine rounding using get_rounding_mode and
30208 round_away.
30209 * stdio-common/tst-printf-round.c: New file.
30210 * stdio-common/Makefile (tests): Add tst-printf-round.
30211 (link-libm): New variable.
30212 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30213
9503345f
L
302142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30215
30216 [BZ #14576]
30217 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30218 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30219 Likewise.
30220 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30221 Likewise.
30222
ad35fc00
JM
302232012-09-13 Joseph Myers <joseph@codesourcery.com>
30224
30225 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30226 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30227 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30228 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30229
6c9b0f68
JM
302302012-09-12 Joseph Myers <joseph@codesourcery.com>
30231
30232 [BZ #14518]
30233 * include/rounding-mode.h: New file.
30234 * sysdeps/generic/get-rounding-mode.h: Likewise.
30235 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30236 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30237 (MAX_VALUE): New macro.
30238 (MIN_VALUE): Likewise.
30239 (overflow_value): New function.
30240 (underflow_value): Likewise.
30241 (round_and_return): Use overflow_value and underflow_value to
30242 determine return values in overflow and underflow cases. Use
30243 round_away to determine rounding depending on rounding mode.
30244 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30245 determine return values in overflow and underflow cases.
30246 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30247 (struct test_results): New structure.
30248 (struct test): Use struct test_results to store expected results
30249 for all rounding modes.
30250 (TEST): Include expected results for all rounding modes.
30251 (test_in_one_mode): New function.
30252 (do_test): Use test_in_one_mode to compute and check results.
30253 Check results for all rounding modes.
30254 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30255 $(link-libm).
30256
19fcedd5
AM
302572012-12-09 Allan McRae <allan@archlinux.org>
30258
1e9d84cd 30259 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30260
8bbfd2f1
JM
302612012-09-11 Joseph Myers <joseph@codesourcery.com>
30262
30263 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30264 (_G_int32_t): Likewise.
30265 (_G_uint16_t): Likewise.
30266 (_G_uint32_t): Likewise.
30267 (_G_HAVE_BOOL): Likewise.
30268 (_G_HAVE_ATEXIT): Likewise.
30269 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30270 (_G_HAVE_IO_FILE_OPEN): Likewise.
30271 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30272 (_G_int32_t): Likewise.
30273 (_G_uint16_t): Likewise.
30274 (_G_uint32_t): Likewise.
30275 (_G_HAVE_BOOL): Likewise.
30276 (_G_HAVE_ATEXIT): Likewise.
30277 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30278 (_G_HAVE_IO_FILE_OPEN): Likewise.
30279 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30280 (_G_int32_t): Likewise.
30281 (_G_uint16_t): Likewise.
30282 (_G_uint32_t): Likewise.
30283 (_G_HAVE_BOOL): Likewise.
30284 (_G_HAVE_ATEXIT): Likewise.
30285 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30286 (_G_HAVE_IO_FILE_OPEN): Likewise.
30287
b1dc5912
L
302882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30289
30290 * csu/libc-tls.c: Update copyright years.
30291
0e886ef9
JM
302922012-09-10 Joseph Myers <joseph@codesourcery.com>
30293
28361c5e
JM
30294 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30295 [!_G_USING_THUNKS]: Remove conditional code.
30296 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30297 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30298
0e886ef9
JM
30299 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30300 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30301 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30302 (_G_VTABLE_LABEL_PREFIX): Likewise.
30303 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30304 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30305 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30306 (_G_VTABLE_LABEL_PREFIX): Likewise.
30307 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30308 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30309 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30310 (_G_VTABLE_LABEL_PREFIX): Likewise.
30311 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30312
bcba7aa2
L
303132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30314
30315 * libio/Makefile: Include ../Makeconfig before tests.
30316 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30317 only if $(build-shared) is yes.
30318
06585ee8
L
30319 * iconv/gconv_db.c: Update copyright years.
30320
80ccd52c
LD
303212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30322
30323 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30324 unwind info if defined PIC. Fix special cases description.
30325 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30326
30327 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30328 DP_HI_MASK entry.
30329 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30330
691bc9c1
L
303312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30332
3d9b46b3
L
30333 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30334
de2139a9
L
30335 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30336 is NULL.
30337
5ca78dd0
L
30338 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30339 (LDLIBS-tst-chk4): This.
30340 (LDFLAGS-tst-chk5): Renamed to ...
30341 (LDLIBS-tst-chk5): This.
30342 (LDFLAGS-tst-chk6): Renamed to ...
30343 (LDLIBS-tst-chk6): This.
30344 (LDFLAGS-tst-lfschk4): Renamed to ...
30345 (LDLIBS-tst-lfschk4): This.
30346 (LDFLAGS-tst-lfschk5): Renamed to ...
30347 (LDLIBS-tst-lfschk5): This.
30348 (LDFLAGS-tst-lfschk6): Renamed to ...
30349 (LDLIBS-tst-lfschk6): This.
30350
691bc9c1
L
30351 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30352 on $(common-objpfx)soversions.mk.
30353
65cafb1c
JM
303542012-09-07 Joseph Myers <joseph@codesourcery.com>
30355
30356 [BZ #10014]
30357 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30358 example host name.
30359
c78ab094
SP
303602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30361
30362 * malloc/arena.c (arena_get_retry): New function that gets
30363 another arena for the caller to try its request on.
30364 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30365 current arena cannot fulfill the request.
30366 (__libc_memalign): Likewise.
30367 (__libc_memalign): Likewise.
30368 (__libc_pvalloc): Likewise.
30369 (__libc_calloc): Likewise.
30370
01f49f59
JT
303712012-09-05 John Tobey <john.tobey@gmail.com>
30372
30373 [BZ #13542]
30374 * manual/arith.texi (Operations on Complex): Fix description
30375 of carg branch cut.
30376
4c23fed5
JM
303772012-09-06 Joseph Myers <joseph@codesourcery.com>
30378
1d3c8572
JM
30379 [BZ #10014]
30380 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30381 host name.
30382
4c23fed5
JM
30383 [BZ #10038]
30384 * manual/memory.texi (Memory): Make order of menu items match
30385 order of sections.
30386
04570aaa
L
303872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30390 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30391 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30392
b80af2f4
L
303932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30394
30395 * csu/libc-tls.c (static_dtv): Renamed to ...
30396 (_dl_static_dtv): This. Make it global.
30397 (_dl_initial_dtv): Removed.
30398 (__libc_setup_tls): Updated.
30399 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30400 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30401 DL_INITIAL_DTV.
30402
2abe9f15
PM
304032012-09-06 Petr Machata <pmachata@redhat.com>
30404
30405 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30406 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30407 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30408 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30409
0948c3af
L
304102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30411
30412 [BZ #14545]
30413 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30414 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30415 freeing dtv[-1].
30416
a5055ad1
L
304172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30418
30419 [BZ #14544]
30420 * Makeconfig (link-static-before-libc): Replace $(+prector)
30421 with $(+prectorT).
30422 (link-static-after-libc): Replace $(+postctor) with
30423 $(+postctorT).
30424 (link-bounded): Replace $(+prector)/$(+postctor) with
30425 $(+prectorT)/$(+postctorT).
30426 (+prectorT): New macro.
30427 (+postctorT): Likewise.
30428
ed8c2ecd
JM
304292012-09-06 Joseph Myers <joseph@codesourcery.com>
30430
30431 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30432 (round_str): Handle values above the maximum for IBM long double
30433 as inexact.
30434 * stdlib/tst-strtod-round.c (tests): Regenerated.
30435
14c996c8
AK
304362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30437
30438 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30439 assembler flag.
30440 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30441 zarch_nohighgprs around the zarch optimized routines.
30442 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30443 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30444 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30445 for zarch.
30446
430d6ce6
DM
304472012-09-05 David S. Miller <davem@davemloft.net>
30448
30449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30450
57f41c40
AS
30451 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30452 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30453 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30454 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30455 entries.
30456
24d4e01b
AO
304572012-09-05 Alexandre Oliva <aoliva@redhat.com>
30458
30459 * malloc/arena.c: Fold copyright years.
30460 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30461
61d58174
AO
304622012-09-05 Alexandre Oliva <aoliva@redhat.com>
30463
30464 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30465
20196a5e
AO
304662012-09-05 Alexandre Oliva <aoliva@redhat.com>
30467
30468 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30469
5c447383
AO
304702012-09-05 Alexandre Oliva <aoliva@redhat.com>
30471
30472 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30473 change internal state upon failure.
30474
fad64255
AO
304752012-09-05 Alexandre Oliva <aoliva@redhat.com>
30476
30477 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30478 * malloc/memusage.c (mmap): Likewise.
30479 (mmap64, mremap): Likewise. Adjust name in comment.
30480
1ffb8c90
SP
304812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
30483 * libio/fileops.c: Fix typos in comments.
30484 * libio/oldfileops.c: Likewise.
30485 * libio/wfileops.c: Likewise.
30486
6ef9cc37
SP
304872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30488
30489 [BZ #1349]
30490 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30491 (tst-malloc-usable-ENV): Set environment for test case.
30492 * malloc/hooks.c (malloc_check_get_size): New function to get
30493 requested size.
30494 * malloc/malloc.c (musable): Use malloc_check_get_size.
30495 * malloc/tst-malloc-usable.c: New test case.
30496
4d038ae3
AS
304972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30498
30499 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30500
c4e85184
AM
305012012-09-05 Allan McRae <allan@archlinux.org>
30502
b9dafc56 30503 [BZ #13966]
c4e85184
AM
30504 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30505 determine header location.
30506 * configure: Regenerated.
30507
e1343020
AS
305082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30509
30510 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30511 float format.
30512 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30513 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30514 format.
e1343020
AS
30515 (test): Regenerate.
30516
0a9f1987
DM
305172012-09-04 David S. Miller <davem@davemloft.net>
30518
30519 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30520 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30521 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30522
29237804
FW
305232012-09-04 Florian Weimer <fweimer@redhat.com>
30524
30525 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30526 failures.
30527
edb3cb88
FW
30528 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30529
60160d83
JM
305302012-09-04 Joseph Myers <joseph@codesourcery.com>
30531
30532 [BZ #9914]
30533 * libio/iogetdelim.c: Include <limits.h>.
30534 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30535 + len + 1 would overflow.
30536
bcd6c8dc
AJ
305372012-09-03 Andreas Jaeger <aj@suse.de>
30538
30539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30540 * sysdeps/i386/fpu/libm-test-ulps: Update.
30541
4ffffbd2
LD
305422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30543
30544 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30545 Add s_sinf-sse2, s_conf-sse2.
30546
30547 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30548 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30549 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30550 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30551
30552 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30553 for using routine as __sinf_ia32.
30554 Use macro for function declaration and weak_alias.
30555 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30556 for using routine as __cosf_ia32.
30557 Use macro for function declaration and weak_alias.
30558
30559 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30560 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30561
30562 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30563 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30565
30566 * math/libm-test.inc (cos_test): Add more test cases.
30567 (sin_test): Likewise.
30568 (sincos_test): Likewise.
30569
511fa286
AK
305702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30571
30572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30573 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30574 hidden.
30575 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30576
5f30cfec
L
305772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30578
30579 [BZ #14538]
30580 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30581 first element of the GOT.
30582 (elf_machine_load_address): Return the difference between
30583 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30584
0786794f
AM
305852012-09-01 Allan McRae <allan@archlinux.org>
30586
5f30cfec
L
30587 [BZ #13412]
30588 * configure.in (AWK): Require gawk version 3.0 or later.
30589 * configure: Regenerated.
0786794f 30590
26889eac
JM
305912012-09-01 Joseph Myers <joseph@codesourcery.com>
30592
30593 * sysdeps/unix/sysv/linux/kernel-features.h
30594 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30595 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30596 [__NR_clock_getres]: Make code unconditional.
30597 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30598 (clock_getcpuclockid): Remove code left unreachable by removal of
30599 conditionals.
30600 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30601 code unconditional.
30602 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30603 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30604 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30605 Make code unconditional.
30606 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30607 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30608 * sysdeps/unix/sysv/linux/clock_settime.c
30609 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30610 conditional code.
30611 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30612 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30613
d22e28b0
L
306142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30615
30616 [BZ #14476]
30617 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30618 scripts/test-installation.pl.
30619
30620 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30621 and $ld_so_version if it is set.
30622
050af9c4
SP
306232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30624
30625 [BZ #14516]
30626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30627 failure if reading from procfs failed.
30628 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30629
ad845c0b
JM
306302012-08-27 Joseph Myers <joseph@codesourcery.com>
30631
30632 * sysdeps/unix/sysv/linux/kernel-features.h
30633 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30634 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30635 Remove conditional code.
30636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30637 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30638 Remove conditional code.
30639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30640 * sysdeps/unix/sysv/linux/i386/fxstat.c
30641 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30644 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30646 * sysdeps/unix/sysv/linux/i386/lxstat.c
30647 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30649 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30650 Remove conditional code.
30651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30652 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30653 Remove conditional code.
30654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30655 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30656 <kernel-features.h>.
30657 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30658 Remove.
30659 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30660 Remove conditional code.
30661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30662 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30663 Remove conditional.
30664
5dbf56af
MF
306652012-08-27 Mike Frysinger <vapier@gentoo.org>
30666
30667 [BZ #5400]
30668 * NEWS: Add fixed bug number.
30669
d6e70f43
JM
306702012-08-27 Joseph Myers <joseph@codesourcery.com>
30671
7efb4737
JM
30672 [BZ #14519]
30673 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30674 underflowing exponent in case of negative sign.
30675 * stdlib/tst-strtod-round-data: Add more tests.
30676 * stdlib/tst-strtod-round.c (tests): Regenerated.
30677
af92131a
JM
30678 [BZ #3479]
30679 * stdlib/strtod_l.c (NDIG): Remove.
30680 (HEXNDIG): Likewise.
30681 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30682 smallest representable value.
30683 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30684 lie within an exact representation of 1/2 ulp of the result.
30685 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30686 unconditionally.
30687 (TENS_P9_IDX): Define unconditionally.
30688 (TENS_P9_SIZE): Likewise.
30689 (TENS_P10_IDX): Likewise.
30690 (TENS_P10_SIZE): Likewise.
30691 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30692 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30693 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30694 entries for 10^2^13 and 10^2^14.
30695 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30696 (TENS_P13_IDX): Define.
30697 (TENS_P13_SIZE): Likewise.
30698 (TENS_P14_IDX): Likewise.
30699 (TENS_P14_SIZE): Likewise.
30700 (_fpioconst_pow10): Change array size to
30701 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30702 unconditional.
30703 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30704 1024]: Add entries for 10^2^13 and 10^2^14.
30705 [LAST_POW10 > _LAST_POW10]: Remove #error.
30706 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30707 (_fpioconst_pow10): Change array size to
30708 FPIOCONST_POW10_ARRAY_SIZE.
30709 * stdlib/gen-fpioconst.c: New file.
30710 * stdlib/gen-tst-strtod-round.c: Likewise.
30711 * stdlib/tst-strtod-round-data: Likewise.
30712 * stdlib/tst-strtod-round.c: Likewise.
30713 * stdlib/Makefile (tests): Add tst-strtod-round.
30714
d6e70f43
JM
30715 [BZ #14459]
30716 * stdlib/strtod_l.c: Include <stdint.h>.
30717 (NDEBUG): Do not define.
30718 (round_and_return): Change EXPONENT parameter to type intmax_t.
30719 Rearrange calculations to avoid internal overflow possibilities.
30720 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30721 Rearrange calculations to avoid internal overflow possibilities.
30722 Assert that number fits inside MPNSIZE limbs.
30723 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30724 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30725 calculations and add assertions to avoid internal overflow
30726 possibilities. Add casts to avoid signed/unsigned operations.
30727 * stdlib/tst-strtod-overflow.c: New file.
30728 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30729
1f529f7d
MP
307302012-08-25 Marek Polacek <polacek@redhat.com>
30731
30732 * time/time.h: Fix some typos in comments.
30733
59a629f1
RM
307342012-08-23 Roland McGrath <roland@hack.frob.com>
30735
30736 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30737 * posix/tst-rfc3484-2.c: Likewise.
30738 * posix/tst-rfc3484-3.c: Likewise.
30739
d3bafbc9
SM
307402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30741
30742 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30743 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30744
4efcc022
JM
307452012-08-23 Joseph Myers <joseph@codesourcery.com>
30746
30747 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30748 #include of fxstatat64.c.
30749
3cc3ef96
RM
307502012-08-22 Roland McGrath <roland@hack.frob.com>
30751
f04e2132
RM
30752 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30753 * shadow/getspent_r.c: Likewise.
30754 * shadow/getspnam.c: Likewise.
30755 * shadow/getspnam_r.c: Likewise.
30756 * gshadow/getsgent.c: Likewise.
30757 * gshadow/getsgent_r.c: Likewise.
30758 * gshadow/getsgnam.c: Likewise.
30759 * gshadow/getsgnam_r.c: Likewise.
30760 * inet/getnetbyad.c: Likewise.
30761 * inet/getnetbyad_r.c: Likewise.
30762 * inet/getnetbynm.c: Likewise.
30763 * inet/getnetbynm_r.c: Likewise.
30764 * inet/getnetent.c: Likewise.
30765 * inet/getnetent_r.c: Likewise.
30766 * inet/getproto.c: Likewise.
30767 * inet/getproto_r.c: Likewise.
30768 * inet/getprtent.c: Likewise.
30769 * inet/getprtent_r.c: Likewise.
30770 * inet/getprtname.c: Likewise.
30771 * inet/getprtname_r.c: Likewise.
30772 * inet/getrpcbyname.c: Likewise.
30773 * inet/getrpcbyname_r.c: Likewise.
30774 * inet/getrpcbynumber.c: Likewise.
30775 * inet/getrpcbynumber_r.c: Likewise.
30776 * inet/getrpcent.c: Likewise.
30777 * inet/getrpcent_r.c: Likewise.
30778 * inet/getaliasent.c: Likewise.
30779 * inet/getaliasent_r.c: Likewise.
30780 * inet/getaliasname.c: Likewise.
30781 * inet/getaliasname_r.c: Likewise.
30782 * nscd/getgrgid_r.c: Likewise.
30783 * nscd/getgrnam_r.c: Likewise.
30784 * nscd/gethstbyad_r.c: Likewise.
30785 * nscd/gethstbynm3_r.c: Likewise.
30786 * nscd/getpwnam_r.c: Likewise.
30787 * nscd/getpwuid_r.c: Likewise.
30788 * nscd/getsrvbynm_r.c: Likewise.
30789 * nscd/getsrvbypt_r.c: Likewise.
30790 * nscd/gai.c: Likewise.
30791
c53d909c
RM
30792 * configure.in (build_nscd): New substituted variable, set
30793 by --disable-build-nscd and defaults to $use_nscd.
30794 * configure: Regenerated.
30795 * config.make.in (build-nscd): New substituted variable.
30796 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30797 Change conditional to require [$(build-nscd) = yes] as well.
30798 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30799
3cc3ef96
RM
30800 [BZ# 13696]
30801 * configure.in (use_nscd): New substituted variable, set by
30802 --disable-nscd. If enabled, define USE_NSCD.
30803 * configure: Regenerated.
30804 * config.h.in: Add USE_NSCD.
30805 * config.make.in (use-nscd): New substituted variable.
30806 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30807 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30808 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30809 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30810 (CFLAGS-getgrnam_r.c): Likewise.
30811 (CFLAGS-initgroups.c): Likewise.
30812 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30813 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30814 Variables removed.
30815 * inet/getnetgrent_r.c
30816 (nscd_setnetgrent): New function, broken out of ...
30817 (setnetgrent): ... here. Call it.
30818 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30819 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30820 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30821 * nscd/Makefile (routines, aux): Move definitions after include of
30822 Makeconfig. Conditionalize on [$(use-nscd) != no].
30823 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30824 Conditionalize on [USE_NSCD].
30825 (is_nscd, nscd_init_cb): Likewise.
30826 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30827 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30828 * nss/nss_db/db-init.c: Likewise.
30829 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30830 [USE_NSCD].
30831 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30832 (make_request): Use it.
30833 (cache_valid_p): New function.
30834 (__check_pf): Use it.
30835 * NEWS: Add item for --disable-nscd.
30836
07e51550
DL
308372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30838
30839 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30840 to support sed >= 4.2.1-20-ga9bf076.
30841 * configure: Regenerated.
30842
35a5b08b
RM
308432012-08-22 Roland McGrath <roland@hack.frob.com>
30844
30845 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30846 Conditionalize whole body on [IREL].
30847
8479f23a
JL
308482012-08-22 Jeff Law <law@redhat.com>
30849
30850 [BZ #14505]
30851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30852 if the family is PF_UNSPEC.
30853
48da0b21
MF
308542012-08-22 Mike Frysinger <vapier@gentoo.org>
30855
30856 * Makerules (lib-version): Rename from V.
30857 (install-lib-nosubdir): Change V to lib-version.
30858
15d0da8c
WS
308592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30860
30861 [BZ #14252]
30862 * powerpc32/power6/wcschr.c: New file.
30863 * powerpc32/power6/wcscpy.c: New file.
30864 * powerpc32/power6/wcsrchr.c: New file.
30865 * powerpc64/power6/wcschr.c: New file.
30866 * powerpc64/power6/wcscpy.c: New file.
30867 * powerpc64/power6/wcsrchr.c: New file.
30868
bcca0895
MK
308692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30870
30871 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30872 (two_way_short_needle): Use it.
5a4aaa33
RM
30873 * string/strstr.c (AVAILABLE1_USES_J): Define.
30874 * string/strcasestr.c: Likewise.
99677e57
MK
30875
30876 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30877 array references.
30878 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30879
400726de
MK
30880 [BZ #11607]
30881 * NEWS: Add an entry.
30882 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30883 define their defaults.
30884 (two_way_short_needle): Detect end-of-string on-the-fly.
30885 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30886 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30887 * string/bug-strcasestr1.c: New test.
30888 * string/Makefile: Run it.
30889
20a71f2c
MK
308902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30891
30892 [BZ #11607]
30893 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30894 the first character.
30895
21ad0558
RM
308962012-08-21 Roland McGrath <roland@hack.frob.com>
30897
30898 * csu/elf-init.c (__libc_csu_irel): Function removed.
30899 * csu/libc-start.c (apply_irel): New function.
30900 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30901
0e1d9911
JM
309022012-08-21 Joseph Myers <joseph@codesourcery.com>
30903
30904 * sysdeps/unix/sysv/linux/kernel-features.h
30905 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30906 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30907 <kernel-features.h>.
30908 [__NR_fadvise64_64]: Make code unconditional.
30909 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30910 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30911 !__NR_fadvise64_64)]: Likewise.
30912 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30913 !__NR_fadvise64_64))]: Likewise.
30914 [__NR_fadvise64]: Make code unconditional.
30915 [!__NR_fadvise64]: Remove conditional code.
30916 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30917 <kernel-features.h>.
30918 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30919 unconditional.
30920 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30921 conditional code.
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30923 not include <kernel-features.h>.
30924 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30925 unconditional.
30926 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30927 conditional code.
30928 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30929 include <kernel-features.h>.
30930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30931 unconditional.
30932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30933 conditional code.
30934
14a50c9d
WS
309352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30936
30937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30938 slight instruction rearrangements per scrollpipe analysis.
30939 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30940
c0f4faf0
RM
309412012-08-20 Roland McGrath <roland@hack.frob.com>
30942
696da859
RM
30943 * manual/syslog.texi (syslog; vsyslog, closelog):
30944 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30945 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30946
c0f4faf0
RM
30947 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30948 DSOCAPS to match condition on defining it.
30949
348363b2
JM
309502012-08-20 Joseph Myers <joseph@codesourcery.com>
30951
a35cbf28
JM
30952 * sysdeps/unix/sysv/linux/kernel-features.h
30953 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30955 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30956 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30958 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30959 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30961 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30962 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30963
445f7ecd
JM
30964 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30965 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30966
348363b2
JM
30967 * sysdeps/unix/sysv/linux/kernel-features.h
30968 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30969 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30970 unconditional.
30971 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30972 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30973 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30974 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30975 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30976 Make code unconditional.
30977 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30978 (__mmap64) [!__NR_mmap2]: Likewise.
30979 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30980 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30981 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30982 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30983 [__NR_mmap2]: Make code unconditional.
30984 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30985 (__mmap64) [!__NR_mmap2]: Likewise.
30986
bc5bc0e5
AK
309872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30988
30989 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30990
88d506de
AJ
309912012-08-18 Andreas Jaeger <aj@suse.de>
30992
30993 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30994
493387d2
MF
309952012-08-18 Mike Frysinger <vapier@gentoo.org>
30996
30997 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30998 * include/unistd.h (__have_sock_cloexec): Likewise.
30999 (__have_pipe2): Likewise.
31000 (__have_dup3): Likewise.
31001
a277af22
MF
310022012-08-18 Mike Frysinger <vapier@gentoo.org>
31003
31004 [BZ #9685]
31005 * include/unistd.h (__have_pipe2): Change define into an extern int.
31006 (__have_dup3): Likewise.
31007 * socket/have_sock_cloexec.c: Include fcntl.h.
31008 (__have_pipe2): New variable.
31009 (__have_dup3): Likewise.
31010
fdab8fd3
MF
310112012-08-17 Mike Frysinger <vapier@gentoo.org>
31012
31013 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31014
31035e80
MP
310152012-08-17 Marek Polacek <polacek@redhat.com>
31016
31017 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31018 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31019
3bd9e993
RM
310202012-08-17 Roland McGrath <roland@hack.frob.com>
31021
c91c505f
RM
31022 * configure.in: Add AC_SUBST for sysheaders.
31023 * configure: Regenerated.
31024 * config.make.in (sysheaders): New substituted variable.
31025
7c6f9d53
RM
31026 * sysdeps/unix/mkfifo.c: Moved ...
31027 * sysdeps/posix/mkfifo.c: ... here.
31028 * sysdeps/unix/mkfifoat.c: Moved ...
31029 * sysdeps/posix/mkfifoat.c: ... here.
31030
31031 * sysdeps/unix/utime.c: Moved ...
31032 * sysdeps/posix/utime.c: ... here.
31033
31034 * sysdeps/unix/time.c: Moved ...
31035 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31036 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31037 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31038
31039 * sysdeps/unix/nice.c: Moved ...
31040 * sysdeps/posix/nice.c: ... here.
31041
31042 * sysdeps/unix/alarm.c: Moved ...
31043 * sysdeps/posix/alarm.c: ... here.
31044
3bd9e993
RM
31045 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31046
d1f09384
JL
310472012-08-17 Jeff Law <law@redhat.com>
31048
31049 * intl/Makefile (codeset_mo): New variable.
31050 ($(codeset_mo)): New target.
31051 (tst-codeset.out): Depend on that. Remove explicit rule.
31052 (tst-gettext3.out, tst-gettext5.out): Likewise.
31053 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31054 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31055 * intl/tst-codeset.sh: Remove.
31056 * intl/tst-gettext3.sh: Likewise.
31057 * intl/tst-gettext5.sh: Likewise.
31058
2ae1ae5c
RM
310592012-08-17 Roland McGrath <roland@hack.frob.com>
31060
c31fdb83
RM
31061 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31062 * sysdeps/unix/syscalls.list: ... here.
31063
a0844057
RM
31064 * sysdeps/posix/getaddrinfo.c
31065 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31066 (gaiconf_init, gaiconf_reload): Use them.
31067 [!_STATBUF_ST_NSEC]
31068 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31069 Define using time_t rather than struct timespec.
31070
750c1f2a
RM
31071 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31072 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31073 Macros removed.
31074 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31075 [!NO_THREADS].
31076 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31077 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31078 Likewise.
31079
2ae1ae5c
RM
31080 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31081 __libc_cleanup_push argument.
31082
e66a42f5
RM
31083 * bits/param.h: New file.
31084 * misc/sys/param.h: New file.
31085 * include/sys/param.h: New file.
31086 * misc/Makefile (headers): Add bits/param.h.
31087 * sysdeps/generic/sys/param.h: File removed.
31088 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31089 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31090 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31091 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31092
b7c08a66
RM
31093 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31094 last change.
31095
b2e1c562
RM
31096 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31097 [_IO_MTSAFE_IO].
31098 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31099 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31100 New macros.
31101
c75ccd4c
RM
31102 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31103 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31104 rather than -D_IO_MTSAFE_IO conditionally.
31105 * stdio-common/Makefile (CPPFLAGS): Likewise.
31106 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31107 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31108 Use $(libio-mtsafe).
31109 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31110 of -D_IO_MTSAFE_IO.
31111 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31112 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31113 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31114 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31115 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31116 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31117 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31118 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31119 (CFLAGS-fread_u_chk.c): Likewise.
31120 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31121 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31122 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31123 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31124 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31125 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31126 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31127 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31128 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31129
31130 * libio/Makefile: Test [$(libc-reentrant) = yes]
31131 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31132
31133 * Makeconfig
31134 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31135 * sysdeps/pthread/configure: File removed.
31136 * sysdeps/pthread/Makeconfig: New file.
31137 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31138 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31139
d9195db8
GB
311402012-08-16 Gary Benson <gbenson@redhat.com>
31141
31142 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31143 unmapping the first object in a namespace.
31144
86466cd9
RM
311452012-08-16 Roland McGrath <roland@hack.frob.com>
31146
31147 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31148 (__internal_setnetgrent): ... this. Add internal_function to
31149 definition. Add libc_hidden_def.
31150 (setnetgrent): Update caller.
31151 (internal_endnetgrent): Renamed to ...
31152 (__internal_endnetgrent): ... this. Add internal_function to
31153 definition. Add libc_hidden_def.
31154 (endnetgrent): Update caller.
31155 (internal_getnetgrent_r): Renamed to ...
31156 (__internal_getnetgrent_r): ... this. Add internal_function to
31157 definition. Add libc_hidden_def.
31158 (__getnetgrent_r): Update caller.
31159 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31160
c3c8283c
JM
311612012-08-16 Joseph Myers <joseph@codesourcery.com>
31162
31163 * stdlib/longlong.h: Update from GCC.
31164
db1ee0a8
RM
311652012-08-16 Roland McGrath <roland@hack.frob.com>
31166
31167 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31168 on _QL, which is set by umul_ppmm but never used.
31169 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31170 variables, which are set by GMP macros but never used.
31171 * stdio-common/_itowa.c (_itowa): Likewise.
31172 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31173 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31174
30f69637
CD
311752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31176
31177 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31178 struct La_sh_regs is not constant.
31179 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31180 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31181 and struct La_sparc64_regs are not constant.
31182
93a78ac4
JM
311832012-08-16 Joseph Myers <joseph@codesourcery.com>
31184
31185 * sysdeps/unix/sysv/linux/kernel-features.h
31186 (__ASSUME_POSIX_TIMERS): Remove.
31187 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31189 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31190 Make code unconditional.
31191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31192 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31193 Make code unconditional.
31194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31195 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31196 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31198 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31199 Make code unconditional.
31200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31201 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31202 (__libc_missing_posix_timers): Remove.
31203
dd924cd7
RM
312042012-08-15 Roland McGrath <roland@hack.frob.com>
31205
4b4f2771
RM
31206 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31207 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31208
601c888b
RM
31209 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31210
176790a7
RM
31211 * elf/dl-sym.c: Include <stdlib.h>.
31212
329bc018
RM
31213 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31214 constants, which avoids warnings in 32-bit builds.
31215
e04e272d
RM
31216 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31217 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31218
952bf94a
RM
31219 * misc/lseek.c: File moved to ...
31220 * io/lseek.c: ... here.
31221
7c99b50a
RM
31222 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31223
dd924cd7
RM
31224 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31225 shifting LEN more than 31 bits at once.
31226
b3f479a8
LD
312272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31228
31229 [BZ #14195]
8c4ae0d4
RM
31230 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31231 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31232 * string/test-strncasecmp.c (check1): Renamed to...
31233 (bz12205): ...this.
31234 (bz14195): Add new testcase for two empty input strings and N > 0.
31235 (test_main): Call new testcase, adapt for renamed function.
31236
9c55864e
AJ
312372012-08-15 Andreas Jaeger <aj@suse.de>
31238
31239 [BZ #14090]
31240 * crypt/md5test2.c: New test, based on test supplied by Serge
31241 Belyshev <belyshev@depni.sinp.msu.ru>.
31242 * crypt/Makefile (xtests): Add md5test-giant..
31243 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31244
02dcb6c5
PE
312452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31246
31247 [BZ #14090]
31248 * crypt/md5.c (md5_process_block): Don't assume the buffer
31249 length is less than 2**32.
31250 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31251 length is less than 2**64.
31252
a3f95dcc
RM
312532012-08-15 Roland McGrath <roland@hack.frob.com>
31254
be75d758
RM
31255 * string/str-two-way.h: Include <sys/param.h>.
31256 (MAX): Macro removed.
31257
7312ca90
RM
31258 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31259 Move #define and #undef of memmove to just before and after
31260 including <string.h>.
31261
9a0a5486
RM
31262 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31263 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31264 and after including <string.h>. Move declarations of
31265 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31266 to before #include "string/memmove.c".
31267
67cc348d
RM
31268 * include/dirent.h: Declare __getdirentries.
31269
a3f95dcc
RM
31270 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31271 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31272
ca98e171
MF
312732012-08-14 Mike Frysinger <vapier@gentoo.org>
31274
31275 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31276 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31277 * sysdeps/i386/configure: Regenerated.
31278 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31279 STABS_CURRENT_FILE, and STABS_FUN.
31280 (END): Remove call to STABS_FUN_END.
31281 (STABS_CURRENT_FILE1): Delete.
31282 (STABS_CURRENT_FILE): Likewise.
31283 (STABS_FUN): Likewise.
31284 (STABS_FUN_END): Likewise.
31285 (STABS_FUN2): Likewise.
31286 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31287 * sysdeps/x86_64/configure: Regenerated.
31288
5908bf46
RM
312892012-08-14 Roland McGrath <roland@hack.frob.com>
31290
31291 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31292 * elf/dl-lookup.c: Likewise.
5908bf46 31293
f2c05b9e
JM
312942012-08-14 Joseph Myers <joseph@codesourcery.com>
31295
31296 * sysdeps/unix/sysv/linux/kernel-features.h
31297 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31298 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31299 unconditionally.
31300 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31301 unconditionally.
31302 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31303 condition on __ASSUME_CLONE_THREAD_FLAGS.
31304
e11f5155
AJ
313052012-08-14 Andreas Jaeger <aj@suse.de>
31306
31307 * sysdeps/i386/fpu/libm-test-ulps: Update.
31308
51a9ba86
MK
313092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31310
2fdd4f78
AJ
31311 * include/atomic.h (atomic_exchange_and_add): Split into ...
31312 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31313 New atomic macros.
51a9ba86 31314
ba6cba9e
MT
313152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31316
31317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31318
42443a47
JL
313192012-08-13 Jeff Law <law@redhat.com>
31320
31321 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31322 null byte in the output string.
31323
121dce05
JM
313242012-08-10 Joseph Myers <joseph@codesourcery.com>
31325
31326 * sysdeps/unix/sysv/linux/kernel-features.h
31327 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31328 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31329 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31330 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31331 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31332 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31333 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31334
bf51f568
JL
313352012-08-09 Jeff Law <law@redhat.com>
31336
31337 [BZ #13939]
31338 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31339 When avoid_arena is set, don't retry in the that arena. Pick the
31340 next one, whatever it might be.
31341 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31342 (arena_lock): Pass in new parameter to arena_get2.
31343 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31344 arena_get2.
31345 (__libc_malloc): Unify retrying after main arena failure with
31346 __libc_memalign version.
31347 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31348
f85fa270
L
313492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31350
31351 [BZ #14166]
31352 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31353 to __redirect_strstr.
31354 (__strstr_sse42): Use typeof __redirect_strstr.
31355 (__strstr_ia32): Likewise.
31356 (__libc_strstr): New prototype.
31357 (strstr): Renamed to ...
31358 (__libc_strstr): This.
31359 (strstr): New strong alias of __libc_strstr.
31360 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31362 __redirect_time.
31363 Include <time.h>.
31364 (__libc_time): New prototype.
31365 (time_ifunc): Replace time with __libc_time.
31366 (time): New strong alias and hidden definition of __libc_time.
31367 (__GI_time): Remove strong alias.
31368 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31369 Include <stddef.h>.
31370 (memmove): Redefined to __redirect_memmove.
31371 (__memmove_sse2): Use typeof __redirect_memmove.
31372 (__memmove_ssse3): Likewise.
31373 (__memmove_ssse3_back): Likewise.
31374 (__libc_memmove): New prototype.
31375 (memmove): Renamed to ...
31376 (__libc_memmove): This.
31377 (memmove): New strong alias of __libc_memmove.
31378
33b4a91e
MS
313792012-08-08 Mark Salter <msalter@redhat.com>
31380
31381 * elf/elf.h
31382 (R_MN10300_TLS_GD): Define.
31383 (R_MN10300_TLS_LD): Likewise.
31384 (R_MN10300_TLS_LDO): Likewise.
31385 (R_MN10300_TLS_GOTIE): Likewise.
31386 (R_MN10300_TLS_IE): Likewise.
31387 (R_MN10300_TLS_LE): Likewise.
31388 (R_MN10300_TLS_DTPMOD): Likewise.
31389 (R_MN10300_TLS_DTPOFF): Likewise.
31390 (R_MN10300_TLS_TPOFF): Likewise.
31391 (R_MN10300_SYM_DIFF): Likewise.
31392 (R_MN10300_ALIGN): Likewise.
31393 (R_MN10300_NUM): Update.
31394
b36137f1
JM
313952012-08-08 Joseph Myers <joseph@codesourcery.com>
31396
31397 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31398 Remove.
31399
cdd915fd
RM
314002012-08-08 Roland McGrath <roland@hack.frob.com>
31401
a2433aac
RM
31402 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31403
cdd915fd
RM
31404 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31405 sysdeps/unix -> sysdeps/posix move.
31406 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31407
bf9b740a
AM
314082012-08-07 Allan McRae <allan@archlinux.org>
31409
31410 [BZ #14303]
31411 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31412 (SUNOS_CPP): Likewise.
31413 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31414 not found.
31415 (open_input): Call CPP using execvp.
31416
93df14ee
JM
314172012-08-07 Joseph Myers <joseph@codesourcery.com>
31418
31419 * sysdeps/unix/sysv/linux/kernel-features.h
31420 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31421 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31422 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31423 (__ASSUME_WAITID_SYSCALL): Likewise.
31424 * sysdeps/unix/sysv/linux/dl-execstack.c
31425 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31426 code unconditional.
31427 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31428 conditional code.
31429 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31430 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31431 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31432 code.
31433 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31434 unconditional.
31435 [__ASSUME_WAITID_SYSCALL]: Likewise.
31436 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31437
d34689de
RM
314382012-08-07 Roland McGrath <roland@hack.frob.com>
31439
a281decc
RM
31440 * sysdeps/unix/closedir.c: Renamed to ...
31441 * sysdeps/posix/closedir.c: ... here.
31442 * sysdeps/unix/dirfd.c: Renamed to ...
31443 * sysdeps/posix/dirfd.c: ... here.
31444 * sysdeps/unix/dirstream.h: Renamed to ...
31445 * sysdeps/posix/dirstream.h: ... here.
31446 * sysdeps/unix/fdopendir.c: Renamed to ...
31447 * sysdeps/posix/fdopendir.c: ... here.
31448 * sysdeps/unix/opendir.c: Renamed to ...
31449 * sysdeps/posix/opendir.c: ... here.
31450 * sysdeps/unix/readdir.c: Renamed to ...
31451 * sysdeps/posix/readdir.c: ... here.
31452 * sysdeps/unix/readdir_r.c: Renamed to ...
31453 * sysdeps/posix/readdir_r.c: ... here.
31454 * sysdeps/unix/rewinddir.c: Renamed to ...
31455 * sysdeps/posix/rewinddir.c: ... here.
31456 * sysdeps/unix/seekdir.c: Renamed to ...
31457 * sysdeps/posix/seekdir.c: ... here.
31458 * sysdeps/unix/telldir.c: Renamed to ...
31459 * sysdeps/posix/telldir.c: ... here.
31460 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31461 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31462 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31463 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31464
22895b47
RM
31465 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31466 * bits/fcntl.h: ... here.
31467
707a53b6
RM
31468 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31469 not 0.
31470 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31471 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31472 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31473 (struct flock): Move l_start, l_len to the beginning.
31474 Use __pid_t for l_pid.
31475 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31476 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31477 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31478 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31479 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31480 [__USE_LARGEFILE64] (struct flock64): New type.
31481 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31482
f0bd3e25
RM
31483 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31484 * bits/dirent.h: ... here.
31485
d34689de
RM
31486 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31487 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31488
6dad2c06
JM
314892012-08-07 Joseph Myers <joseph@codesourcery.com>
31490
31491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31492 Change from 2.6.0 to 2.6.16.
31493 * sysdeps/unix/sysv/linux/configure: Regenerated.
31494 * sysdeps/unix/sysv/linux/kernel-features.h
31495 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31496 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31497 version.
31498 (__ASSUME_UTIMES): Likewise.
31499 (__ASSUME_CLONE_STOPPED): Remove.
31500 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31501 architectures, not kernel version.
31502 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31503 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31504 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31505 (__ASSUME_WAITID_SYSCALL): Likewise.
31506 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31507 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31508 * README: State 2.6.16 as minimum Linux kernel version. Do not
31509 refer to older versions.
31510
03af9520
RM
315112012-08-06 Roland McGrath <roland@hack.frob.com>
31512
8e49df1d
RM
31513 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31514 Define alphasort64 as an alias.
31515 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31516 Define versionsort64 as an alias.
31517 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31518 Define scandir64 as an alias.
31519 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31520 Define scandirat64 as an alias.
31521 * dirent/alphasort64.c (alphasort64):
31522 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31523 * dirent/versionsort64.c: Likewise.
31524 * dirent/scandir64.c: Likewise.
31525 * dirent/scandirat64.c: Likewise.
31526 * sysdeps/wordsize-64/alphasort.c: File removed.
31527 * sysdeps/wordsize-64/alphasort64.c: File removed.
31528 * sysdeps/wordsize-64/scandir.c: File removed.
31529 * sysdeps/wordsize-64/scandir64.c: File removed.
31530 * sysdeps/wordsize-64/scandirat.c: File removed.
31531 * sysdeps/wordsize-64/scandirat64.c: File removed.
31532 * sysdeps/wordsize-64/versionsort.c: File removed.
31533 * sysdeps/wordsize-64/versionsort64.c: File removed.
31534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31535 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31536 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31537 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31538 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31539 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31540 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31541 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31542
31543 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31545 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31547 [defined __arch64__ || defined __sparcv9]
31548 (__INO_T_MATCHES_INO64_T): New macro.
31549 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31550 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31551 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31552 * sysdeps/unix/sysv/linux/bits/dirent.h
31553 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31554 (_DIRENT_MATCHES_DIRENT64): New macro.
31555
03af9520
RM
31556 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31557 Define lockf64 as an alias.
31558 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31559 Define fseeko64 as an alias.
31560 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31561 Define ftello64 as an alias.
31562 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31563 Define _IO_fgetpos64 and fgetpos64 as aliases.
31564 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31565 Define _IO_fsetpos64 and fsetpos64 as aliases.
31566 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31567 Conditionalize body on this.
31568 * libio/fseeko64.c: Likewise.
31569 * libio/ftello64.c: Likewise.
31570 * libio/iofgetpos64.c: Likewise.
31571 * libio/iofsetpos64.c: Likewise.
31572 * sysdeps/wordsize-64/lockf.c: File removed.
31573 * sysdeps/wordsize-64/lockf64.c: File removed.
31574 * sysdeps/wordsize-64/fseeko.c: File removed.
31575 * sysdeps/wordsize-64/fseeko64.c: File removed.
31576 * sysdeps/wordsize-64/ftello.c: File removed.
31577 * sysdeps/wordsize-64/ftello64.c: File removed.
31578 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31579 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31580 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31581 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31583 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31585 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31587 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31589 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31592
31593 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31595 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31597 [defined __arch64__ || defined __sparcv9]
31598 (__OFF_T_MATCHES_OFF64_T): New macro.
31599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31600 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31602 (__OFF_T_MATCHES_OFF64_T): New macro.
31603
c5757acd
L
316042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * stdlib/secure-getenv.c (__secure_getenv): Replace
31607 GLIBC_2_16 with GLIBC_2_17.
31608
3a31811e
L
316092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31612 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31613
faa2bccb
DM
316142012-08-03 David S. Miller <davem@davemloft.net>
31615
31616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31617
85fe1997
JM
316182012-08-03 Joseph Myers <joseph@codesourcery.com>
31619
31620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31621 Remove.
31622 (__ASSUME_CORRECT_SI_PID): Likewise.
31623 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31624 (__ASSUME_TMPFS_NAME): Likewise.
31625 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31626 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31627 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31628 (HAVE_AUX_SECURE): Make definition unconditional.
31629 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31630 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31631
4f75b7a0
RM
316322012-08-03 Roland McGrath <roland@hack.frob.com>
31633
31634 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31635 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31636 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31637 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31638 __eloop_threshold instead of SYMLOOP_MAX.
31639
31640 * sysdeps/generic/eloop-threshold.h: New file.
31641 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31642 of MAXSYMLINKS.
31643 * elf/chroot_canon.c (chroot_canon): Likewise.
31644
7aab07e4
JM
316452012-08-03 Joseph Myers <joseph@codesourcery.com>
31646
31647 [BZ #13717]
31648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31649 Change to 2.6.0 everywhere.
31650 * sysdeps/unix/sysv/linux/configure: Regenerated.
31651 * sysdeps/unix/sysv/linux/kernel-features.h
31652 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31653 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31654 kernel versions.
31655 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31656 (__ASSUME_FUTEX_REQUEUE): Remove.
31657 (__ASSUME_STATFS64): Define unconditionally.
31658 (__ASSUME_AT_SECURE): Likewise.
31659 (__ASSUME_CORRECT_SI_PID): Likewise.
31660 (__ASSUME_TGKILL): Define without depending on kernel version for
31661 i386.
31662 (__ASSUME_UTIMES): Likewise.
31663 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31664 kernel version.
31665 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31666 (__ASSUME_TMPFS_NAME): Likewise.
31667 * README: Update reference to Linux kernel versions.
31668
b67e9372
MP
316692012-08-02 Marek Polacek <polacek@redhat.com>
31670
1f529f7d 31671 [BZ# 14150]
b67e9372
MP
31672 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31673 libc_cv_asm_type_prefix with %.
31674 * configure: Regenerated.
d2441631
RM
31675 * include/libc-symbols.h: Remove comment about
31676 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31677 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31678 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31679 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31680 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31681 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31682 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31683 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31684 * elf/tst-unique2mod1.c: Likewise.
31685 * elf/tst-unique1mod2.c: Likewise.
31686 * elf/tst-unique1mod1.c: Likewise.
31687 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31688 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31689 Replace ASM_TYPE_DIRECTIVE with .type.
31690 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31691 * sysdeps/i386/sysdep.h: Likewise.
31692 * sysdeps/x86_64/sysdep.h: Likewise.
31693 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31695 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31696 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31697 * sysdeps/powerpc/powerpc32/sysdep.h:
31698 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31699 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31700 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31701 * sysdeps/i386/fpu/e_powf.S: Likewise.
31702 * sysdeps/i386/fpu/e_expl.S: Likewise.
31703 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31705 * sysdeps/i386/fpu/e_pow.S: Likewise.
31706 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31708 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31709 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31710 * sysdeps/i386/fpu/e_log2.S: Likewise.
31711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31713 * sysdeps/i386/fpu/e_powl.S: Likewise.
31714 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31715 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31716 * sysdeps/i386/fpu/e_logl.S: Likewise.
31717 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31718 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31719 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31720 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31721 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31722 * sysdeps/i386/fpu/e_log.S: Likewise.
31723 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31724 * sysdeps/i386/fpu/e_logf.S: Likewise.
31725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31726 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31727 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31728 * sysdeps/i386/fpu/e_log10.S: Likewise.
31729 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31730 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31731 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31732 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31733 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31734 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31735 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31736 * sysdeps/i386/i686/strtok.S: Likewise.
31737 * sysdeps/i386/i386-mcount.S: Likewise.
31738 * sysdeps/i386/strtok.S: Likewise.
31739 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31740 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31741 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31742 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31743 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31744 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31745 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31746 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31747 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31748 * sysdeps/x86_64/_mcount.S: Likewise.
31749 * sysdeps/x86_64/strtok.S: Likewise.
31750 * sysdeps/sh/_mcount.S: Likewise.
31751
2747bf9a
RM
317522012-08-01 Roland McGrath <roland@hack.frob.com>
31753
31754 * libio/iofopen.c: Include <fcntl.h>.
31755 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31756 (_IO_fopen64, fopen64): Define as aliases.
31757 * libio/iofopen64.c: Include <fcntl.h>.
31758 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31759 Conditionalize body on this.
31760 * sysdeps/wordsize-64/iofopen.c: File removed.
31761 * sysdeps/wordsize-64/iofopen64.c: File removed.
31762
3fb791b8
MP
317632012-08-01 Marek Polacek <polacek@redhat.com>
31764
31765 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31766 Use dlfcn directly instead of a variable.
31767 (binfmt-subdir): Do not define.
31768 (dlfcn): Likewise.
31769
a9f1039f
JM
317702012-08-01 Joseph Myers <joseph@codesourcery.com>
31771
23bddc06
JM
31772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31773 Remove all definitions.
31774 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31775 <kernel-features.h>.
31776 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31777 (miss_F_GETOWN_EX): Remove all definitions.
31778 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31779 macro definition.
31780 [!__ASSUME_FCNTL64]: Remove conditional code.
31781 [__ASSUME_FCNTL64]: Make code unconditional.
31782 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31783 <kernel-features.h>.
31784 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31785 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31786 (lockf64) [__NR_fcntl64]: Make code unconditional.
31787 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31788
a9f1039f
JM
31789 * sysdeps/unix/sysv/linux/kernel-features.h
31790 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31791 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31792 Make code unconditional.
31793 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31794 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31796 [__NR_vfork]: Make code unconditional.
31797 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31798 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31800 [__NR_vfork]: Make code unconditional.
31801 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31802 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31803
09c0ee5f
RM
318042012-08-01 Roland McGrath <roland@hack.frob.com>
31805
48aec5b9
RM
31806 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31807 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31808
cd97c966
RM
31809 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31810 Define mkstemp64 as an alias.
3f55550c
RM
31811 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31812 Define mkstemps64 as an alias.
cd97c966
RM
31813 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31814 Define mkostemp64 as an alias.
b8625cfc
RM
31815 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31816 Define mkostemps64 as an alias.
cd97c966
RM
31817 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31818 Conditionalize body on this.
31819 * misc/mkostemp64.c: Likewise.
b8625cfc 31820 * misc/mkostemps64.c: Likewise.
3f55550c 31821 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31822 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31823 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31824 * sysdeps/wordsize-64/mkostemp.c: File removed.
31825 * sysdeps/wordsize-64/mkstemp.c: File removed.
31826 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31828 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31830
09c0ee5f
RM
31831 [BZ #14138]
31832 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31833 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31834 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31835 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31836
31837 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31838 compat_symbol macros from <shlib-compat.h> rather than the underlying
31839 default_symbol_version and symbol_version macros, so that DEFAULT
31840 lines in shlib-versions are respected.
31841 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31842
7e66ee51
FW
318432012-08-01 Florian Weimer <fweimer@redhat.com>
31844
31845 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31846 Declare with warn_unused_result.
31847 (setgid, setregid, setegid, setresgid): Likewise.
31848 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31849 Likewise.
31850 * WUR-REPORT: Remove set*id functions.
31851
d2a54255
PT
318522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31853
31854 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31855
7ecdb005
RM
318562012-07-31 Roland McGrath <roland@hack.frob.com>
31857
b4180a5e 31858 [BZ #10191]
789bd351
RM
31859 * include/sys/socket.h (__libc_accept, __libc_accept4):
31860 Add attribute_hidden.
31861 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31862
40ce302d
RM
31863 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31864 use of PTR_MANGLE.
31865 * inet/getnetgrent_r.c (setup): Likewise.
31866
7ecdb005
RM
31867 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31868
e2eabb2c
DM
318692012-07-31 David S. Miller <davem@davemloft.net>
31870
31871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31872
d0419dbf
JM
318732012-07-31 Joseph Myers <joseph@codesourcery.com>
31874
31875 [BZ #13629]
31876 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31877 value between 1.0 and 2.0 and smaller part has absolute value less
31878 than 1.0.
31879 * math/s_clog10.c (__clog10): Likewise.
31880 * math/s_clog10f.c (__clog10f): Likewise.
31881 * math/s_clog10l.c (__clog10l): Likewise.
31882 * math/s_clogf.c (__clogf): Likewise.
31883 * math/s_clogl.c (__clogl): Likewise.
31884 * math/libm-test.inc (clog_test): Add more tests.
31885 (clog10_test): Likewise.
31886 * sysdeps/i386/fpu/libm-test-ulps: Update.
31887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31888
2bc13872
FW
318892012-07-31 Florian Weimer <fweimer@redhat.com>
31890
31891 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31892 Exit with zero in case no suitable GID is found, and write a
31893 message to standard error.
31894
bea9b193
RM
318952012-07-30 Roland McGrath <roland@hack.frob.com>
31896
31897 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31898 rather than to 1.
31899 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31900 (MAXPATHLEN): Removed.
31901 (NOGROUP, NODEV): New macros.
31902 (setbit, clrbit, isset, isclr): New macros.
31903 (howmany, roundup, powerof2): New macros.
31904 (DEV_BSIZE): New macro.
31905
31906 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31907 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31908
31909 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31910 definition on [!__NO_LONG_DOUBLE_MATH].
31911
31912 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31913 PTR_MANGLE and PTR_DEMANGLE.
31914
31915 * socket/accept4.c (accept4): Rename to __libc_accept4.
31916 Define accept4 as a weak alias.
31917
31918 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31919 on [_DIRENT_HAVE_D_TYPE].
31920 * io/ftw.c (ftw_dir): Likewise.
31921
31922 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31923
31924 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31925
31926 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31927 Use the BSD numbers rather than the arbitrary ones we had.
31928 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31929 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31930 (SIGXCPU, SIGXFSZ): New macros.
31931 (_NSIG): Now 32.
31932
31933 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31934 initializer on [_LIBC_REENTRANT].
31935
31936 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31937 definitions inside [_POSIX_MAPPED_FILES].
31938
31939 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31940
31941 * dirent/opendir.c: Include <fcntl.h>.
31942
31943 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31944 (__libc_getspecific): Likewise.
31945 (__libc_key_create): Likewise.
31946
31947 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31948 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31949 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31950 (tmpfile64): Define as alias.
31951 * sysdeps/wordsize-64/tmpfile.c: File removed.
31952 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31953 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31954 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31955
31956 * stdio-common/vfscanf.c: Include <stdbool.h>.
31957 * nss/makedb.c: Likewise.
31958 * stdio-common/_i18n_number.h: Likewise.
31959 * argp/argp-help.c: Likewise.
31960 * posix/wordexp.c: Likewise.
31961 * sysdeps/posix/spawni.c: Likewise.
31962 * nss/nss_files/files-initgroups.c: Likewise.
31963 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31964 * nss/nss_files/files-initgroups.c: Likewise.
31965 * nss/nss_db/db-netgrp.c: Likewise.
31966 * nss/nss_db/db-initgroups.c: Likewise.
31967 * io/fchmodat.c: Include <sys/stat.h>.
31968
31969 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31970 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31971
31972 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31973 [HAVE_MMAP].
31974
31975 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31976 Add multiple inclusion protection.
31977
e5abc686
DM
319782012-07-27 David S. Miller <davem@davemloft.net>
31979
31980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31981
815e6fa3
GB
319822012-07-27 Gary Benson <gbenson@redhat.com>
31983
31984 [BZ #14298]
31985 * elf/rtld.c: Include <stap-probe.h>.
31986 (dl_main): Added static probes "init_start" and "init_complete".
31987 * elf/dl-load.c: Include <stap-probe.h>.
31988 (lose): Take new parameter "nsid".
31989 Added static probe "map_failed".
31990 (_dl_map_object_from_fd): Pass namespace id to lose.
31991 Added static probe "map_start".
31992 (open_verify): Pass namespace id to lose.
31993 * elf/dl-open.c: Include <stap-probe.h>.
31994 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31995 and "reloc_complete".
31996 * elf/dl-close.c: Include <stap-probe.h>.
31997 (_dl_close_worker): Added static probes "unmap_start" and
31998 "unmap_complete".
31999 * elf/rtld-debugger-interface.txt: New file documenting the above.
32000
9f98c16c
RM
320012012-07-26 Roland McGrath <roland@hack.frob.com>
32002
32003 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32004 rather than a string variable.
32005 * sunrpc/rpc_main.c (h_output): Likewise.
32006 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32007
f3c22df3
PT
320082012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32009
32010 * inet/check_native.c: New file.
32011
3129cfc6
JM
320122012-07-26 Joseph Myers <joseph@codesourcery.com>
32013
da865e95
JM
32014 [BZ #13629]
32015 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32016 if larger part has absolute value 1.0.
32017 * math/s_clog10.c (__clog10): Likewise.
32018 * math/s_clog10f.c (__clog10f): Likewise.
32019 * math/s_clog10l.c (__clog10l): Likewise.
32020 * math/s_clogf.c (__clogf): Likewise.
32021 * math/s_clogl.c (__clogl): Likewise.
32022 * math/libm-test.inc (clog_test): Add more tests.
32023 (clog10_test): Likewise.
32024 * sysdeps/i386/fpu/libm-test-ulps: Update.
32025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32026
3129cfc6
JM
32027 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32028 (pltexit): Likewise.
32029 (La_regs): Likewise.
32030 (La_retval): Likewise.
32031 (int_retval): Likewise.
32032 Update #error for removed macros to refer only to definitions in
32033 tst-audit.h.
32034 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32035 macro.
32036 (pltexit): Likewise.
32037 (La_regs): Likewise.
32038 (La_retval): Likewise.
32039 (int_retval): Likewise.
32040 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32041 macro.
32042 (pltexit): Likewise.
32043 (La_regs): Likewise.
32044 (La_retval): Likewise.
32045 (int_retval): Likewise.
32046 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32047 macro.
32048 (pltexit): Likewise.
32049 (La_regs): Likewise.
32050 (La_retval): Likewise.
32051 (int_retval): Likewise.
32052 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32053 macro.
32054 (pltexit): Likewise.
32055 (La_regs): Likewise.
32056 (La_retval): Likewise.
32057 (int_retval): Likewise.
32058 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32059 macro.
32060 (pltexit): Likewise.
32061 (La_regs): Likewise.
32062 (La_retval): Likewise.
32063 (int_retval): Likewise.
32064 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32065 macro.
32066 (pltexit): Likewise.
32067 (La_regs): Likewise.
32068 (La_retval): Likewise.
32069 (int_retval): Likewise.
32070 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32071 macro definitions in tst-audit.h.
32072 * sysdeps/i386/tst-audit.h: New file.
32073 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32074 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32075 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32076 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32077 * sysdeps/sh/tst-audit.h: Likewise.
32078 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32079 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32080 * sysdeps/x86_64/tst-audit.h: Likewise.
32081
bfc07087
AJ
320822012-07-26 Andreas Jaeger <aj@suse.de>
32083
b1b2aaf8
AJ
32084 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32085 ptrace.
32086
32087 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32088 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32089 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32090 PTRACE_O_MASK.
32091 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32093 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32094
bfc07087
AJ
32095 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32096 value.
32097
32098 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32099 _sigsys.
32100 (si_call_addr, si_syscall, si_arch): Define new macro.
32101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32102 _sigsys.
32103 (si_call_addr, si_syscall, si_arch): Define new marcro.
32104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32105 _sigsys.
32106 (si_call_addr, si_syscall, si_arch): Define new macro.
32107 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32108 _sigsys.
32109 (si_call_addr, si_syscall, si_arch): Define new macro.
32110
89b4b02f
JM
321112012-07-25 Joseph Myers <joseph@codesourcery.com>
32112
32113 [BZ #13717]
32114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32115 Change to 2.4.21 where previously 2.4.1.
32116 * sysdeps/unix/sysv/linux/configure: Regenerated.
32117 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32118 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32119 Linux kernel version.
32120 (__ASSUME_STD_AUXV): Remove.
32121 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32122 kernel version.
32123 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32124 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32125 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32126 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32127 (__ASSUME_NETLINK_SUPPORT): Likewise.
32128 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32129 (__no_netlink_support): Remove conditional definition.
32130 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32131 Remove.
32132 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32133 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32134 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32135 (if_nameindex_ioctl): Remove.
32136 (if_nameindex_netlink): Do not handle __no_netlink_support.
32137 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32138 code.
32139 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32140 Remove conditional code.
32141 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32142 code.
32143 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32144 unconditional.
32145 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32146 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32147 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32148 Remove.
32149 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32150 [!__ASSUME_STD_AUXV]: Remove conditional code.
32151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32152 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32153 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32155 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32156 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32157 code.
32158 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32160 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32161 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32162 conditional code.
32163 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32165 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32166 code.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32168 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32169 conditional code.
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32171 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32172 code unconditional.
32173 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32174 conditional code.
32175 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32176 unconditional.
32177 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32178 conditional code.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32180 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32181 unconditional.
32182 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32183 conditional code.
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32185 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32186 code unconditional.
32187 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32188 conditional code.
32189 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32190 unconditional.
32191 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32192 conditional code.
32193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32194 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32195 code unconditional.
32196 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32197 conditional code.
32198 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32199 unconditional.
32200 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32201 conditional code.
32202
842a39cd
AS
322032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32204
32205 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32206 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32207 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32208 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32209 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32210 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32211 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32212 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32213 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32214 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32215 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32216 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32217 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32218 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32219 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32220 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32221 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32222 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32223 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32225 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32226 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32227 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32228
84b3fd84
FW
322292012-07-25 Florian Weimer <fweimer@redhat.com>
32230
32231 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32232 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32233 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32234 Introduce __libc_secure_getenv.
0c7936d5
FW
32235 * stdlib/Versions (2.17): Add secure_getenv
32236 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32237 * stdlib/secure-getenv.c: Rename __secure_getenv to
32238 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32239 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32240 * stdlib/tst-secure-getenv.c: New.
32241 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32242 * manual/startup.texi (Environment Access): Document
32243 secure_getenv.
84b3fd84
FW
32244 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32245 __libc_secure_getenv.
32246 * inet/ruserpass.c (ruserpass): Likewise.
32247 * malloc/mtrace.c (mtrace): Likewise.
32248 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32249 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32250 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32251 * sysdeps/posix/tempname.c: Likewise. Evaluate
32252 HAVE_SECURE_GETENV.
32253 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32254 __secure_getenv to __libc_secure_getenv.
84b3fd84 32255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32257 Likewise.
32258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32259 Likewise.
32260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32262 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32267
56e49b71
JM
322682012-07-25 Joseph Myers <joseph@codesourcery.com>
32269
32270 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32271 (struct La_i86_retval): Likewise.
32272 (struct La_x86_64_regs): Likewise.
32273 (struct La_x86_64_retval): Likewise.
32274 (struct La_x32_regs): Likewise.
32275 (struct La_x32_retval): Likewise.
32276 (struct La_ppc32_regs): Likewise.
32277 (struct La_ppc32_retval): Likewise.
32278 (struct La_ppc64_regs): Likewise.
32279 (struct La_ppc64_retval): Likewise.
32280 (struct La_sh_regs): Likewise.
32281 (struct La_sh_retval): Likewise.
32282 (struct La_s390_32_regs): Likewise.
32283 (struct La_s390_32_retval): Likewise.
32284 (struct La_s390_64_regs): Likewise.
32285 (struct La_s390_64_retval): Likewise.
32286 (struct La_sparc32_regs): Likewise.
32287 (struct La_sparc32_retval): Likewise.
32288 (struct La_sparc64_regs): Likewise.
32289 (struct La_sparc64_retval): Likewise.
32290 (struct audit_ifaces): Remove architecture-specific pltenter and
32291 pltexit members.
32292 * sysdeps/i386/ldsodefs.h: New file.
32293 * sysdeps/powerpc/ldsodefs.h: Likewise.
32294 * sysdeps/s390/ldsodefs.h: Likewise.
32295 * sysdeps/sh/ldsodefs.h: Likewise.
32296 * sysdeps/sparc/ldsodefs.h: Likewise.
32297 * sysdeps/x86_64/ldsodefs.h: Likewise.
32298
354691b7
MP
322992012-07-25 Marek Polacek <polacek@redhat.com>
32300
32301 [BZ #6808]
32302 * math/libm-test.inc (yn_test): Add another test.
32303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32304 to ERANGE when the result is +-Inf.
32305 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32306 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32307 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32308 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32309
bf9e2071
JM
323102012-07-24 Joseph Myers <joseph@codesourcery.com>
32311
32312 * conform/data/time.h-data (NULL): Use macro-constant. Require
32313 equal to 0.
32314 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32315 clock_t.
32316 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32317
57633811
TS
323182012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32319
32320 * configure.in <sysdeps resolving>: Correct printing
32321 Implies_before.
32322 * configure: Regenerate.
32323
c23c33b0
TS
323242012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32325
32326 * math/w_ilogb.c: Include <limits.h>.
32327 * math/w_ilogbl.c: Likewise.
32328
b5982523
JM
323292012-07-20 Joseph Myers <joseph@codesourcery.com>
32330
32331 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32332 va_copy. Document allowing for unavailable va_copy only as
32333 pre-C99 compatibility.
32334 * manual/string.texi (Copying and Concatenation): Use va_copy
32335 instead of __va_copy in concat example.
32336
ac4ea442
PT
323372012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32338
32339 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32340 (__sendto): Use create_address_port. Initialize APORT and deallocate
32341 it if not null.
32342
f98eafbd
PT
32343 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32344 with O_NOLINK passed to __file_name_lookup.
32345
898c7aab
PT
32346 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32347 with O_NOLINK passed to __file_name_lookup.
32348
0ced335a
PT
32349 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32350 negative N or less than NGIDS.
32351
b3404dbd
PT
32352 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32353 type to string_t. Set ERANGE as errno and return it if NAME is not big
32354 enough. Use memcpy instead of strncpy.
32355
0f48659e
JM
323562012-07-20 Joseph Myers <joseph@codesourcery.com>
32357
32358 * elf/Makefile (check-data): Remove.
32359 (localplt.data): New vpath directive.
32360 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32361 instead of $(check-data).
32362 * scripts/data/localplt-generic.data: Move to ...
32363 * sysdeps/generic/localplt.data: ... here.
32364 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32365 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32366 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32368 ... here.
32369 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32371 ... here.
32372 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32374 ... here.
32375 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32377 ... here.
32378 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32380 ... here.
32381 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32383 ... here.
32384
d37cbdaa
AZ
323852012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32386
32387 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32388 PPC32 and PPC64 files.
32389 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32390 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32391
46f85fc2
AK
323922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32393
32394 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32395 __makecontext_ret to ...
32396 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32397 ... here and call exit if uc_link is NULL. New file.
32398 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32399 __makecontext_ret.S.
32400 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32401 __makecontext_ret to ...
32402 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32403 ... here and call exit if uc_link is NULL. New file.
32404 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32405 __makecontext_ret.S.
32406
08f43f9b
AK
324072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32408
32409 * elf/elf.h (R_390_IRELATIVE): New definition.
32410 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32411 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32412 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32413 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32414 (elf_machine_lazy_rel): Likewise.
32415 * sysdeps/s390/dl-irel.h: New file.
32416 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32417 * sysdeps/s390/s390-64/memset.S: New asm code.
32418 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32419 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32420 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32421 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32422 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32423 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32424 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32425 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32426 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32427 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32428 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32429 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32430 * sysdeps/s390/s390-32/memset.S: New asm code.
32431 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32432
3b05db33
MP
324332012-07-17 Marek Polacek <polacek@redhat.com>
32434
32435 [BZ #14349]
32436 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32437 * sysdeps/s390/s390-64/configure.in: Likewise.
32438 * sysdeps/sparc/configure.in: Likewise.
32439 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32440 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32441 * sysdeps/i386/configure.in: Likewise.
32442 * sysdeps/x86_64/configure.in: Likewise.
32443 * sysdeps/sh/configure.in: Likewise.
32444 * sysdeps/s390/s390-32/configure: Regenerated.
32445 * sysdeps/s390/s390-64/configure: Likewise.
32446 * sysdeps/x86_64/configure: Likewise.
32447 * sysdeps/sh/configure: Likewise.
32448 * sysdeps/powerpc/powerpc64/configure: Likewise.
32449 * sysdeps/powerpc/powerpc32/configure: Likewise.
32450 * sysdeps/sparc/configure: Likwise.
32451 * sysdeps/i386/configure: Likewise.
32452
a66877c6
MP
32453 * elf/dl-open.c: Comment fixes.
32454
cfc82fd8
JM
324552012-07-17 Joseph Myers <joseph@codesourcery.com>
32456
bd29910a
JM
32457 * Makefile [CXX] (check-data): Remove.
32458 [CXX] (c++-types.data): New vpath directive.
32459 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32460 vpath. Do not allow for C++ type data being missing.
32461 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32462 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32463 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32464 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32465 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32466 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32467 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32469 ... here.
32470 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32472 ... here.
32473 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32475 ... here.
32476 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32478 ... here.
32479 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32481 ... here.
32482 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32484 ... here.
32485 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32487 ... here.
32488 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32490
cfc82fd8
JM
32491 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32492 definitions to architecture-specific files.
32493 (TLS_IE): Likewise.
32494 (TLS_LD): Likewise.
32495 (TLS_GD): Likewise.
32496 * sysdeps/i386/tls-macros.h: New file.
32497 * sysdeps/powerpc/tls-macros.h: Likewise.
32498 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32499 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32500 * sysdeps/sh/tls-macros.h: Likewise.
32501 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32502 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32503 * sysdeps/x86_64/tls-macros.h: Likewise.
32504
f7db3170
TS
325052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32506
07cbfc23
TS
32507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32508 zero value for regular exit case.
32509
f7db3170
TS
32510 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32511 (__start_context): Preserve zero value for regular exit case.
32512
dc97c227
TS
325132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32514 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32515
32516 * manual/setjmp.texi (setcontext): Clarify normal process
32517 termination when uc_link is the null pointer.
32518 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32519 exit call.
32520
d0cd7d02
AS
325212012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32522
32523 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32524 preprocessor. Test for each exception mask separately.
32525
dd318934
AJ
325262012-07-16 Andreas Jaeger <aj@suse.de>
32527
32528 * po/ru.po: Update from translation team.
32529
8048311a
JM
325302012-07-15 Joseph Myers <joseph@codesourcery.com>
32531
32532 * conform/data/string.h-data (NULL): Use macro-constant. Require
32533 equal to 0.
32534 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32535 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32536 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32537 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32539
b637d46e
AJ
325402012-07-13 Andreas Jaeger <aj@suse.de>
32541
32542 * po/fr.po: Update from translation team.
32543
541428fe
MP
325442012-07-12 Marek Polacek <polacek@redhat.com>
32545
32546 [BZ #14173]
32547 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32549 loop condition.
32550
ec332e94
JM
325512012-07-12 Joseph Myers <joseph@codesourcery.com>
32552
32553 [BZ #13717]
32554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32555 Change to 2.4.1 where previously 2.4.0.
32556 * sysdeps/unix/sysv/linux/configure: Regenerated.
32557 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32558 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32559 version.
32560 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32561 (__ASSUME_AT_CLKTCK): Remove.
32562 (__ASSUME_AT_PAGESIZE): Likewise.
32563 (__ASSUME_AT_XID): Likewise.
32564 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32565 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32566 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32567 unconditionally.
32568 (HAVE_AUX_PAGESIZE): Likewise.
32569 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32570 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32571 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32572
7b6e99be
JB
325732012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32574
32575 [BZ #14307]
32576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32577 the temporary buffer used to invoke __gethostbyname2_r,
32578 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32579 host_data / struct gaih_addrtuple.
32580 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32581 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32582 header file nss/nsswitch.h.
32583 * nss/nsswitch.h (global scope): Add definition of implementation
32584 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32585 resolv/nss_dns/dns-host.c).
32586
608404eb
AJ
325872012-07-11 Andreas Jaeger <aj@suse.de>
32588
32589 * po/fr.po: Update from translation team.
32590
71220aca
AJ
32591 * po/sv.po: Update from translation team
32592 * po/fr.po: Another update from translation team.
32593
28cfe843
AZ
325942012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32595
32596 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32597 for subnormals or multiply small sinh result by itself.
32598 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32600
6b90f981
DM
326012012-07-11 David S. Miller <davem@davemloft.net>
32602
32603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32604
c6825772
AS
326052012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32606
32607 [BZ #14347]
32608 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32609 (INTERNAL_MARK): Shift it here.
32610
7b8e0d49
MP
326112012-07-10 Marek Polacek <polacek@redhat.com>
32612
32613 [BZ #14151]
32614 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32615 libc_cv_asm_global_directive with .globl.
32616 * configure: Regenerated.
32617 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32618 with .globl.
32619 * sysdeps/i386/configure: Regenerated.
32620 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32621 with .globl.
32622 * sysdeps/x86_64/configure: Regenerated.
32623 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32624 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32625 * elf/tst-unique2mod2.c: Likewise.
32626 * elf/tst-unique2mod1.c: Likewise.
32627 * elf/tst-unique1mod2.c: Likewise.
32628 * elf/tst-unique1mod1.c: Likewise.
32629 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32630 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32631 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32632 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32633 * sysdeps/mach/sysdep.h: Likewise.
32634 * sysdeps/i386/sysdep.h: Likewise.
32635 * sysdeps/i386/i386-mcount.S: Likewise.
32636 * sysdeps/x86_64/_mcount.S: Likewise.
32637 * sysdeps/x86_64/sysdep.h: Likewise.
32638 * sysdeps/sh/_mcount.S: Likewise.
32639 * sysdeps/sh/sysdep.h: Likewise.
32640 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32641 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32642 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32643 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32644 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32645 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32646 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32647 * locale/localeinfo.h: Likewise.
32648 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32649 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32650
6c55cda3
RM
326512012-07-09 Roland McGrath <roland@hack.frob.com>
32652
32653 [BZ #14336]
32654 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32655 system".
32656 * manual/message.texi (The Uniforum approach): Likewise.
32657 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32658 (glibc iconv Implementation): Likewise.
32659
638a572e
JM
326602012-07-09 Joseph Myers <joseph@codesourcery.com>
32661
32662 [BZ #14337]
32663 * math/s_clog.c (__clog): Avoid scaling a value down where that
32664 could result in underflow.
32665 * math/s_clog10.c (__clog10): Likewise.
32666 * math/s_clog10f.c (__clog10f): Likewise.
32667 * math/s_clog10l.c (__clog10l): Likewise.
32668 * math/s_clogf.c (__clogf): Likewise.
32669 * math/s_clogl.c (__clogl): Likewise.
32670 * math/libm-test.inc (clog_test): Add more tests.
32671 (clog10_test): Likewise.
32672 * sysdeps/i386/fpu/libm-test-ulps: Update.
32673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32674
261f4859
AS
326752012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32676
0abaf3e4
AS
32677 [BZ #14283]
32678 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32679 by 7 not 8 to examine high bit of fractional part.
32680
261f4859
AS
32681 [BZ #14042]
32682 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32683 for call to __mcount_internal.
32684 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32685 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32686 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32687
f17ac40d
JM
326882012-07-06 Joseph Myers <joseph@codesourcery.com>
32689
9ad63c23
JM
32690 [BZ #14154]
32691 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32692 approximation for values within 0x1p-13f of an odd multiple of
32693 pi/4.
32694 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32695 exception. Add more tests.
32696 * sysdeps/i386/fpu/libm-test-ulps: Update.
32697
f17ac40d
JM
32698 [BZ #6778]
32699 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32700 inputs and return -1 for them. Do not check for +Inf in case not
32701 reachable for +Inf.
32702 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32703 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32704 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32705 and return -1 for them. Do not check for +Inf in case not
32706 reachable for +Inf.
32707 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32708 define.
32709 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32710 and return -1 for them. Do not check for +Inf in case not
32711 reachable for +Inf.
32712 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32713 spurious underflow.
32714 * sysdeps/i386/fpu/libm-test-ulps: Update.
32715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32716
fb21f89b
MF
327172012-07-06 Mike Frysinger <vapier@gentoo.org>
32718
32719 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32720
cdfe2c5e
JM
327212012-07-05 Joseph Myers <joseph@codesourcery.com>
32722
32723 [BZ #14157]
32724 [BZ #14331]
32725 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32726 could result in spurious underflow. Scale down values above
32727 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32728 * math/s_csqrtf.c (__csqrtf): Likewise.
32729 * math/s_csqrtl.c (__csqrtl): Likewise.
32730 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32731 spurious underflow.
32732 * sysdeps/i386/fpu/libm-test-ulps: Update.
32733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734
70d35b67
AS
327352012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32736
704bc459
AS
32737 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32738 xopen-msg.sed.
32739 * catgets/xopen-msg.awk: New file.
32740 * catgets/xopen-msg.sed: Removed.
32741
70d35b67
AS
32742 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32743 po2text.sed.
32744 * intl/po2test.awk: New file.
32745 * intl/po2test.sed: Removed.
32746
ca61cf32
JM
327472012-07-04 Joseph Myers <joseph@codesourcery.com>
32748
32749 [BZ #14328]
32750 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32751 or multiply small sinh result by itself.
32752 * math/s_ctanf.c (__ctanf): Likewise.
32753 * math/s_ctanh.c (__ctanh): Likewise.
32754 * math/s_ctanhf.c (__ctanhf): Likewise.
32755 * math/s_ctanhl.c (__ctanhl): Likewise.
32756 * math/s_ctanl.c (__ctanl): Likewise.
32757 * math/libm-test.inc (ctan_test_tonearest): New function.
32758 (ctan_test_towardzero): Likewise.
32759 (ctan_test_downward): Likewise.
32760 (ctan_test_upward): Likewise.
32761 (ctanh_test_tonearest): Likewise.
32762 (ctanh_test_towardzero): Likewise.
32763 (ctanh_test_downward): Likewise.
32764 (ctanh_test_upward): Likewise.
32765 (main): Call these new functions.
32766 * sysdeps/i386/fpu/libm-test-ulps: Update.
32767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32768
ca48a46a
MF
327692012-07-03 Mike Frysinger <vapier@gentoo.org>
32770
32771 * .gitignore: Delete /ports entry.
32772
9d63d37d
AJ
327732012-07-03 Andreas Jaeger <aj@suse.de>
32774
32775 * po/bg.po: Update from translation team.
32776 * po/cs.po: Likewise.
32777 * po/de.po: Likewise.
32778 * po/hr.po: Likewise.
32779 * po/nl.pl: Likewise.
32780 * po/pl.po: Likewise.
32781 * po/vi.po: Likewise.
32782
370ca3d2
JM
327832012-07-03 Joseph Myers <joseph@codesourcery.com>
32784
95f5a9a8
JM
32785 * Makeconfig [!+link] (+link-before-libc): New variable.
32786 [!+link] (+link-after-libc): Likewise.
32787 [!+link] (+link-tests): Likewise.
32788 [!+link] (+link): Define in terms of $(+link-before-libc) and
32789 $(+link-after-libc).
32790 [!+link-static] (+link-static-before-libc): New variable.
32791 [!+link-static] (+link-static-after-libc): Likewise.
32792 [!+link-static] (+link-static-tests): Likewise.
32793 [!+link-static] (+link-static): Define in terms of
32794 $(+link-static-before-libc) and $(+link-static-after-libc).
32795 [build-shared] (link-libc-before-gnulib): New variable.
32796 [build-shared] (link-libc-tests): Likewise.
32797 [build-shared] (link-libc): Define in terms of
32798 $(link-libc-before-gnulib).
32799 [!build-shared] (link-libc-tests): New variable.
32800 (link-libc-static-tests): New variable.
32801 [!gnulib] (gnulib-arch): New variable.
32802 [!gnulib] (gnulib-tests): Likewise.
32803 [!gnulib] (static-gnulib-arch): Likewise.
32804 [!gnulib] (static-gnulib-tests): Likewise.
32805 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32806 Define with "=" instead of ":=".
32807 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32808 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32809 * Rules (binaries-all-notests): New variable.
32810 (binaries-all-tests): Likewise.
32811 (binaries-static-notests): Likewise.
32812 (binaries-static-tests): Likewise.
32813 (binaries-all): Define using $(binaries-all-notests) and
32814 $(binaries-all-tests).
32815 (binaries-static): Define using $(binaries-static-notests) and
32816 $(binaries-static-tests).
32817 (binaries-shared-tests): New variable.
32818 (binaries-shared-notests): Likewise.
32819 (binaries-shared): Remove variable.
32820 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32821 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32822 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32823 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32824 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32825 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32826 * elf/Makefile (sln-modules): New variable.
32827 (extra-objs): Add $(sln-modules:=.o).
32828 (ldconfig-modules): Add static-stubs.
32829 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32830 * elf/static-stubs.c: New file.
32831
7a845b2c
JM
32832 [BZ #14283]
32833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32834 by 7 not 8 to examine high bit of fractional part. Use volatile
32835 variables when splitting into final array of floats if
32836 __FLT_EVAL_METHOD__ != 0.
32837 * math/libm-test.inc (cos_test): Add another test.
32838 (sin_test): Likewise.
32839 * sysdeps/i386/fpu/libm-test-ulps: Update.
32840
e2283f38
JM
32841 [BZ #14273]
32842 * math/libm-test.inc (cosh_test): Add more tests.
32843
370ca3d2
JM
32844 * version.h (RELEASE): Set to "development".
32845 (VERSION): Set to "2.16.90".
32846
ee9247c3
CD
328472012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32848
32849 * NEWS: Update copyright. Remove last-updated date.
32850 Mention math library bug fixes and timezone data changes.
32851 * README: Mention GNU/Hurd, x32, and HPPA support status.
32852
4648c381
TS
328532012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32854
32855 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32856
aac78a43
AJ
328572012-06-27 Andreas Jaeger <aj@suse.de>
32858
32859 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32860
ed3dbfad
AJ
328612012-06-25 Andreas Jaeger <aj@suse.de>
32862
32863 * sysdeps/s390/fpu/libm-test-ulps: Update.
32864
4d0ee855
AS
328652012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32866 Thomas Schwinge <thomas@codesourcery.com>
32867
32868 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32869 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32870 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32871 fanotify_mark.
32872
af1bce34
TS
328732012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32874
a9fa33ba
TS
32875 * sysdeps/mach/start.c: Remove file.
32876 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32877 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32878 * sysdeps/sh/init-first.c: Likewise.
32879
58f902b8
TS
32880 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32881 registers for frame unwinding purposes, add CFI directives.
32882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32883 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32884 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32885 Likewise.
32886
1518f58b
TS
32887 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32888 __fortify_fail returning.
32889 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32890
db9b5059
TS
32891 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32892 sysdeps/sh/____longjmp_chk.S.
32893 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32894 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32895 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32896 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32897
967705fe
TS
32898 * sysdeps/sh/abort-instr.h: New file.
32899 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32900 process in case exit returns.
32901
a9def8c4
TS
32902 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32903 initialize the GOT register before use.
32904
2a649725
TS
32905 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32906 calculation of ARGC > 4.
32907
af1bce34
TS
32908 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32909 meaningful names to some local labels.
32910
d230f50a
KK
329112012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32912 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32913
32914 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32915 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32916 (__arch_compare_and_exchange_val_16_acq): Likewise.
32917 (__arch_compare_and_exchange_val_32_acq): Likewise.
32918 (atomic_exchange_and_add): Fix gUSA sequence.
32919 (atomic_add): Likewise.
32920 (atomic_add_negative): Likewise.
32921 (atomic_add_zero): Likewise.
32922 (atomic_bit_test_set): Likewise.
32923
0479b305
AS
329242012-06-22 Andreas Schwab <schwab@redhat.com>
32925
32926 [BZ #13579]
32927 * include/link.h (struct link_map): Add l_free_initfini.
32928 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32929 l_initfini.
32930 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32931 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32932 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32933 set.
32934
0e3933b9
CD
329352012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32936
32937 * configure.in: Use AC_LANG_SOURCE.
32938 * configure: Regenerate.
32939
4248b1b1
RM
329402012-06-22 Roland McGrath <roland@hack.frob.com>
32941
32942 * configure.in (libc_cv_localstatedir): New substituted variable.
32943 * configure: Regenerated.
32944 * config.make.in (localstatedir): New variable, substituted from
32945 libc_cv_localstatedir.
32946 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32947 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32948 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32949 * sysdeps/gnu/configure: Regenerated.
32950
006dd861
JL
329512012-06-21 Jeff Law <law@redhat.com>
32952
32953 [BZ #14277]
32954 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32955 free. Simplify list management for _LIBC case.
32956
79662d42
JM
329572012-06-21 Joseph Myers <joseph@codesourcery.com>
32958
b7abb4bf
JM
32959 [BZ #14273]
32960 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32961 Clear sign bit of 64-bit integer value before comparing against
32962 overflow value.
32963
79662d42
JM
32964 * sysdeps/mach/configure: Regenerated.
32965
1f150908
L
329662012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32967
32968 [BZ #14278]
32969 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32970
28363bbf
JL
329712012-06-21 Jeff Law <law@redhat.com>
32972
32973 [BZ #13882]
32974 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32975 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32976 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32977 * elf/dl-open.c (dl_open_worker): Likewise.
32978
09615db4
CD
329792012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32980
32981 * scripts/list-sources.sh: Scan PORTS for translations.
32982 * po/libc.pot: Regenerated.
32983
2174c6dd
AJ
329842012-06-21 Andreas Jaeger <aj@suse.de>
32985
32986 [BZ #12194]
32987 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32988 warning.
32989 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32990 * bits/byteswap-16.h (__bswap_16): Likewise.
32991 * bits/byteswap.h (__bswap_constant_16): Likewise.
32992
3ee947b1
L
329932012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32994
32995 [BZ #14117]
a2f34833
L
32996 * sysdeps/i386/fpu_control.h: Removed.
32997 * sysdeps/x86_64/fpu_control.h: Moved to ...
32998 * sysdeps/x86/fpu_control.h: Here.
32999
3ee947b1
L
33000 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33001 (_FPU_SETCW): Likewise.
33002
ed1825f8
L
330032012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33004
25f1282a
L
33005 [BZ #14117]
33006 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33007 * sysdeps/x86/fpu/bits/mathinline.h: This.
33008 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33009
ed1825f8
L
33010 [BZ #14050]
33011 [BZ #14117]
33012 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33013 functions if __x86_64__ is defined.
33014
36d54b74
CLT
330152012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33016
33017 * string/endian.h: Add !__ASSEMBLER__ condition for including
33018 conversion interfaces.
33019
10285c21
JM
330202012-06-15 Joseph Myers <joseph@codesourcery.com>
33021
33022 [BZ #14241]
33023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33024 of ABS(x) in calculating zero to negative powers other than odd
33025 integers.
33026 * math/libm-test.inc (pow_test): Add more tests.
33027
06c5abbd
AJ
330282012-06-15 Andreas Jaeger <aj@suse.de>
33029
33030 * manual/contrib.texi (Contributors): Update entry of Liubov
33031 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33032 Machado Filho.
33033
a3aeac40
CH
330342012-06-15 Cyril Hrubis <metan@ucw.cz>
33035
33036 * string/string.h: Add __wur to GNU version of strerror_r.
33037
49bdf4c1
L
330382012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33039
33040 [BZ #14229]
33041 * string/Makefile (tests): Add tst-strtok_r.
33042 * string/tst-strtok_r.c: New file.
33043 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33044 RAX_LP/RDX_LP on SAVE_PTR.
33045
834f9b8d
RM
330462012-06-14 Roland McGrath <roland@hack.frob.com>
33047
33048 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33049
75fa1921
JM
330502012-06-14 Joseph Myers <joseph@codesourcery.com>
33051
33052 * libm_test.inc (csqrt_test): Allow more spurious underflow
33053 exceptions.
33054 (j0_test): Likewise.
33055 (j1_test): Likewise.
33056 (y0_test): Likewise.
33057 (y1_test): Likewise.
33058
771766df
CD
330592012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33060
33061 * po/Makefile (libc.pot): Use UTF-8 charset.
33062
ceb9e56b
PP
330632012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33064
33065 [BZ #14210]
33066 Suppress sign-conversion warning from FD_SET.
33067 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33068 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33069 not unsigned long int.
33070 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33071
ddb28975
L
330722012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33073
33074 [BZ #14050]
33075 [BZ #14117]
33076 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33077 __extern_always_inline instead of __extern_inline.
33078 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33079 (__signbit): Likewise.
33080 (__signbitl): Support C++ namespace.
33081 (lrintf): New inline function.
33082 (lrint): Likewise.
33083 (llrintf): Likewise.
33084 (llrint): Likewise.
33085 (fmaxf): Likewise.
33086 (fmax): Likewise.
33087 (fminf): Likewise.
33088 (fmin): Likewise.
33089 (rint): Likewise.
33090 (rintf): Likewise.
33091 (ceil): Likewise.
33092 (ceilf): Likewise.
33093 (floor): Likewise.
33094 (floorf): Likewise.
33095 (nearbyint): Likewise.
33096 (nearbyintf): Likewise.
33097
d7b4fb26
TS
330982012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33099
33100 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33101 non-default versions.
33102
eb55f5c2
RM
331032012-06-11 Roland McGrath <roland@hack.frob.com>
33104
33105 [BZ #14218]
33106 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33107
366af02c
TS
331082012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33109
99ff6e5c
TS
33110 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33111 (FE_UPWARD, FE_DOWNWARD): Don't define.
33112 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33113 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33114
366af02c
TS
33115 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33116 reading it.
33117 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33118 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33119
793ea851
KK
331202012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33121
33122 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33124 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33125 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33126
a728a38f
L
331272012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 [BZ #14117]
c08010c7
L
33130 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33131 * sysdeps/i386/fpu/Implies: New file.
33132 * sysdeps/x86_64/fpu/Implies: Likewise.
33133 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33134 * sysdeps/x86/fpu/bits/fenv.h: This.
33135
a728a38f
L
33136 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33137 __SSE_MATH__.
33138
6e230d11
SP
331392012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33140
33141 [BZ #14134]
33142 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33143 character 0xffff that matches the last element of the
33144 conversion table.
33145
1b671feb
AZ
331462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33147
33148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33149 fmodl commit.
33150
6043738b
AZ
331512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33152
33153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33154 values higher than 25.6283.
33155
34ae0b32
AZ
331562012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33157
33158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33159 subnormal exponent extraction and add some __builtin_expect.
33160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33161 Fix for subnormal mantissa calculation.
33162
1214ec8f
MF
331632012-06-04 Mike Frysinger <vapier@gentoo.org>
33164
33165 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33166 cpu2 is -1 and errno is not ENOSYS.
33167
f3d1f93c
L
331682012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33169
33170 [BZ #14117]
0e4a3cd7
L
33171 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33172 * sysdeps/x86/bits/string.h: This.
33173 * sysdeps/x86_64/bits/string.h: Removed.
33174
6704c645
L
33175 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33176 if not compiling for x86-64, but compiling for >= i486.
33177
48495318
L
33178 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33179 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33180
14adcbfc
L
33181 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33182 New macro from Linux kernel 3.4.0.
33183 (FP_XSTATE_MAGIC2): Likewise.
33184 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33185 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33186 (struct _fpx_sw_bytes): New struct.
33187 (struct _xsave_hdr): Likewise.
33188 (struct _ymmh_state): Likewise.
33189 (struct _xstate): Likewise.
33190
68e408ab
L
33191 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33192 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33193 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33194 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33195 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33196 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33197
f3d1f93c
L
33198 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33199 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33200 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33201 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33202 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33203 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33204
d9dc34cd
TMQMF
332052012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33206
33207 [BZ #13743]
33208 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33209 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33210 (sysdep_headers): Include sys/platform/ppc.h.
33211 * sysdeps/powerpc/test-gettimebase.c: Test for
33212 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33213 * manual/Makefile (appendices): Include platform.texi.
33214 * manual/contrib.texi (Contributors): Update @node pointers.
33215 * manual/maint.texi (Maintenance): Likewise.
33216 (Platform): New node.
33217 * manual/platform.texi: New file. Document the new features.
33218
4af3879c
SP
332192012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33220 Jakub Jelinek <jakub@redhat.com>
33221
33222 [BZ #14188]
33223 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33224 where __builtin_expect is unavailable.
33225
2fd6ff13
DM
332262012-06-03 David S. Miller <davem@davemloft.net>
33227
33228 * stdlib/longlong.h: Updated from GCC.
33229
173f7220
AS
332302012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33231
33232 [BZ #14042]
33233 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33234 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33235 __mcount_internal.
33236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33237 (GLIBC_2.16): Likewise.
33238
f34a1c6f
L
332392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33242
88a4576f
JM
332432012-06-01 Joseph Myers <joseph@codesourcery.com>
33244
ea32bcdd
JM
33245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33246 (default-abi): New variable.
33247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33248 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33249 variable.
33250 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33251 Likewise.
33252 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33253 Likewise.
33254 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33255 Likewise.
33256
88a4576f
JM
33257 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33258 definition. Document in comment.
33259
402fe938
DM
332602012-06-01 David S. Miller <davem@davemloft.net>
33261
33262 * stdlib/longlong.h: Updated from GCC.
33263
3553723f
L
332642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33265
33266 [BZ #14117]
3bd872c4
L
33267 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33268 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33269 sys/debugreg.h sys/io.h here.
33270 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33271 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33272 sys/io.h.
33273 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33274 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33275 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33276 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33277 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33278 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33279
3553723f
L
33280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33281 Define only if __x86_64__ is defined.
33282
4842e4fe
JM
332832012-06-01 Joseph Myers <joseph@codesourcery.com>
33284
c5bfe3d5
JM
33285 [BZ #14048]
33286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33287 Use int64_t for variable i.
33288 * math/libm-test.inc (fmod_test): Add more tests.
33289
4842e4fe
JM
33290 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33291 z computation is not scheduled after fetestexcept.
33292 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33293 Use math_force_eval instead of asm to ensure calculation scheduled
33294 before exception test.
33295 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33296 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33297
efb73488
AJ
332982012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33299
33300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33301 computation is not scheduled after fetestexcept.
33302
29bcce7c
L
333032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33304
33305 [BZ #14117]
33306 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33307 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33308
73a68f94
AZ
333092012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33310
33311 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33312 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33313
67b6df78
L
333142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33315
edf2933a 33316 [BZ #14117]
ebc64a18
L
33317 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33318 <bits/wordsize.h>.
33319 (__WCHAR_MIN): Support __WORDSIZE == 64.
33320 (__WCHAR_MAX): Likewise.
33321
edf2933a
L
33322 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33323 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33324
57c6cf40
L
33325 [BZ #14183]
33326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33327 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33328
67b6df78 33329 [BZ #14117]
8eb6281e
L
33330 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33331 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33332
aac639f4
L
33333 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33334 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33335
67b6df78
L
33336 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33337 Defined to 1 if __x86_64__ isn't defined.
33338 (_STAT_VER_LINUX_OLD): New.
33339 (st_atime): Remove duplicate.
33340 (st_mtime): Likewise.
33341 (st_ctime): Likewise.
33342
1c2cfe81
DM
333432012-05-31 David S. Miller <davem@davemloft.net>
33344
33345 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33346 entries.
33347
5be8418c
AS
333482012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33349
e7725326
AS
33350 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33351 gen-libm-test.pl.
33352
5be8418c
AS
33353 [BZ #14132]
33354 * elf/dl-reloc.c: Include <_itoa.h>.
33355 (_dl_reloc_bad_type): Remove use of INTUSE.
33356 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33357 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33358 * stdio-common/psiginfo.c (psiginfo): Likewise.
33359 * stdio-common/psignal.c (psignal): Likewise.
33360 * string/strsignal.c (strsignal): Likewise.
33361 * include/signal.h (_sys_siglist): Declare hidden proto.
33362 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33363 INTVARDEF with libc_hidden_data_def.
33364 * stdio-common/itoa-udigits.c: Likewise.
33365 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33366 (_itoa_lower_digits_internal): Remove declaration.
33367 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33368 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33369 (_sys_sigabbrev_internal): Remove aliases.
33370 (_sys_siglist): Define hidden alias.
33371
507352f1
MT
333722012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33373
33374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33375 bits/sysctl.h.
33376
42bbb1c3
L
333772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 [BZ #14117]
6bd784b6
L
33380 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33381 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33382
8bca20f0
L
33383 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33384 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33385 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33386 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33387 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33388 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33389
f9e890a9
L
33390 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33391 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33392 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33393
471101a1
L
33394 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33395 with __addr.
33396 (insw): Likewise.
33397 (insl): Likewise.
33398 (outsb): Likewise.
33399 (outsw): Likewise.
33400 (outsl): Likewise.
33401
6451c862
L
33402 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33403 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33404 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33405
a254b8c9
L
33406 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33407 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33408 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33409 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33410 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33411 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33412
b8dfdd92
L
33413 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33414 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33415
578cd270
L
33416 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33417 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33418
de662f5f
L
33419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33420 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33422
25653439
L
33423 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33424 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33425 to ...
33426 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33427
6bad24a0
L
33428 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33429 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33430 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33431
42bbb1c3
L
33432 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33433 for x86-64.
33434 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33435
2d10d547
JM
334362012-05-31 Joseph Myers <joseph@codesourcery.com>
33437
33438 * math/math.h (M_El): Use two more decimal places.
33439 (M_LOG2El): Likewise.
33440 (M_LOG10El): Likewise.
33441 (M_LN2l): Likewise.
33442 (M_LN10l): Likewise.
33443 (M_PIl): Likewise.
33444 (M_PI_2l): Likewise.
33445 (M_PI_4l): Likewise.
33446 (M_1_PIl): Likewise.
33447 (M_2_PIl): Likewise.
33448 (M_2_SQRTPIl): Likewise.
33449 (M_SQRT2l): Likewise.
33450 (M_SQRT1_2l): Likewise.
33451
f230c29b
DM
334522012-05-31 David S. Miller <davem@davemloft.net>
33453
33454 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33455 values between float registers.
33456 * sysdeps/sparc/sparc64/memset.S: Likewise.
33457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33458
fed806c3
MF
334592012-05-31 Mike Frysinger <vapier@gentoo.org>
33460
33461 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33462 -D_FORTIFY_SOURCE=1.
33463 (CPPFLAGS-tst-longjmp_chk.c): Define.
33464 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33465 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33466 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33467 CFLAGS-tst-wchar-h.c.
33468
30917259
MP
334692012-05-31 Marek Polacek <polacek@redhat.com>
33470
33471 [BZ #14132]
33472 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33473 __endmntent_internal): Remove declaration.
33474 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33475 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33476 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33477
1c58d5dc
DM
334782012-05-30 David S. Miller <davem@davemloft.net>
33479
33480 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33481 (___Q_simulate_exceptions): Use real FP ops rather than writing
33482 into the %fsr.
33483 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33484 Likewise.
33485
7dc00e0d
L
334862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33487
33488 [BZ #14117]
0bd53985
L
33489 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33490 * sysdeps/x86/bits/xtitypes.h: This.
33491
3a257e66
L
33492 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33493 * sysdeps/x86/bits/wordsize.h: This.
33494
62f62904
L
33495 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33496 * sysdeps/x86/bits/huge_vall.h: This.
33497
404fe9d9
L
33498 * sysdeps/i386/bits/select.h: Removed.
33499 * sysdeps/x86_64/bits/select.h: Renamed to ...
33500 * sysdeps/x86/bits/select.h: This.
33501
d48d0446
L
33502 * sysdeps/i386/bits/setjmp.h: Removed.
33503 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33504 * sysdeps/x86/bits/setjmp.h: This.
33505
7dc00e0d
L
33506 * sysdeps/i386/bits/mathdef.h: Removed.
33507 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33508 * sysdeps/x86/bits/mathdef.h: This.
33509
03277f8f
AS
335102012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33511
33512 [BZ #14132]
33513 * include/sys/socket.h (__connect_internal)
33514 (__libc_sa_len_internal): Remove declaration.
33515 (__connect, __libc_sa_len): Declare hidden_proto.
33516 (SA_LEN): Remove use of INTUSE.
33517 * socket/connect.c: Add libc_hidden_def.
33518 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33519 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33520 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33521 alias.
33522 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33523 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33524 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33525 of adding _internal alias.
33526
13764867
L
335272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33528
33529 [BZ #14117]
6bd97696
L
33530 * sysdeps/i386/bits/link.h: Removed.
33531 * sysdeps/i386/bits/linkmap.h: Likewise.
33532 * sysdeps/x86_64/bits/link.h: Renamed to ...
33533 * sysdeps/x86/bits/link.h: This.
33534 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33535 * sysdeps/x86/bits/linkmap.h: This.
33536
f726f0bb
L
33537 * sysdeps/i386/bits/endian.h: Removed.
33538 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33539 * sysdeps/x86/bits/endian.h: This.
33540
13764867
L
33541 * sysdeps/i386/bits/byteswap.h: Removed.
33542 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33543 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33544 * sysdeps/x86/bits/byteswap.h: This.
33545 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33546 * sysdeps/x86/bits/byteswap-16.h: This.
33547 * sysdeps/i386/Implies: Add x86.
33548 * sysdeps/x86_64/Implies: Likewise.
33549
ae251b0b
DM
335502012-05-30 David S. Miller <davem@davemloft.net>
33551
33552 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33553 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33554 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33555 (FP_TRAPPING_EXCEPTIONS): Define.
33556 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33557 (FP_TRAPPING_EXCEPTIONS): Define.
33558 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33559 subnormals only when inexact has been signalled or underflow
33560 exceptions are enabled.
33561 (_FP_PACK_CANONICAL): Likewise.
33562
d5c90867
L
335632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33564
33565 [BZ #14183]
33566 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33567 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33568
63f1549e
RH
335692012-05-30 Richard Henderson <rth@twiddle.net>
33570
8d8f2279
RH
33571 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33572 with #ifndef NOT_IN_libc.
33573
63f1549e
RH
33574 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33575 marked to avoid plt entry.
33576
0ab0291b
L
335772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33578
33579 [BZ #14112]
33580 * Makeconfig (default-abi): New macro.
33581 (abi-includes): Likewise.
33582 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33583 $(abi-$(default-abi)-lib-soname) for soname if defined.
33584 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33585 abi-variants.
33586 * Makefile (installed-stubs): Likewise.
33587 * include/stubs-biarch.h: Removed.
33588 * scripts/lib-names.awk: Only handle one library at a time.
33589 * scripts/soversions.awk: Remove WORDSIZE support.
33590 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33591 entries.
33592 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33593 Removed.
33594 (syscall-list-default-condition): Likewise.
33595 (syscall-list-default-condition): Likewise.
33596 (syscall-list-includes): Likewise.
33597 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33598 syscall-list-* with abi-*. Handle undefined abi-variants.
33599 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33600 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33601 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33602 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33603 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33604 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33605 Removed.
33606 (syscall-list-32-options): Likewise.
33607 (syscall-list-32-condition): Likewise.
33608 (syscall-list-64-options): Likewise.
33609 (syscall-list-64-condition): Likewise.
33610 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33611 macro.
33612 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33613 Renamed to ...
33614 (abi-*): This.
33615 (abi-64-ld-soname): New macro.
33616 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33617 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33618 Renamed to ...
33619 (abi-*): This.
33620 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33621 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33622
4da0431d
JM
336232012-05-30 Joseph Myers <joseph@codesourcery.com>
33624
3a85279c
JM
33625 * sysdeps/unix/sysv/linux/kernel-features.h
33626 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33627 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33628 include <kernel-features.h>.
33629 [!__NR_ftruncate64]: Remove conditional code.
33630 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33631 [__NR_ftruncate64]: Make code unconditional.
33632 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33633 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33634 include <kernel-features.h>.
33635 [!__NR_ftruncate64]: Remove conditional code.
33636 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33637 [__NR_ftruncate64]: Make code unconditional.
33638 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33640 include <kernel-features.h>.
33641 [!__NR_ftruncate64]: Remove conditional code.
33642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33643 [__NR_ftruncate64]: Make code unconditional.
33644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33646 include <kernel-features.h>.
33647 [!__NR_ftruncate64]: Remove conditional code.
33648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33649 [__NR_ftruncate64]: Make code unconditional.
33650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33651
4da0431d
JM
33652 * configure.in (libc_cv_fpie): Weaken to a compile test using
33653 LIBC_TRY_CC_OPTION.
33654 * configure: Regenerated.
33655
11ef492c
AK
336562012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33657
33658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33662 Refreshed.
33663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33669 Refreshed.
33670
d66ef399
DM
336712012-05-27 David S. Miller <davem@davemloft.net>
33672
33673 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33674 (___Q_zero): New.
33675 (__Q_simulate_exceptions): Return void. Change to simulate
33676 exceptions by writing into the %fsr.
33677 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33678 (__Qp_handle_exceptions): Likewise.
33679 (numbers): Delete.
33680 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33681 __Qp_handle_exceptions.
33682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33683 __Qp_handle_exceptions.
33684 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33685 as unused and give dummy FP_RND_NEAREST initializer.
33686 (FP_INHIBIT_RESULTS): Define.
33687 (___Q_simulate_exceptions): Update declaration.
33688 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33689 formatting.
33690 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33691 as unused and give dummy FP_RND_NEAREST initializer.
33692 (__Qp_handle_exceptions): Update declaration.
33693 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33694 formatting.
33695
04fb54b5
TS
336962012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33697
33698 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33699 the temporary FPU control word.
33700 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33701 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33702 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33703 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33704 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33706 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33707 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33708 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33709 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33710 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33711
3f99608f
KK
337122012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33713
33714 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33715 fields.
33716
65a4de4e
CLT
337172012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33718
33719 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33720 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33721 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33722 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33723 Likewise.
33724 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33725 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33726 Likewise.
33727
15749d40
UD
337282012-05-27 Ulrich Drepper <drepper@gmail.com>
33729
33730 * po/h.po: Update from translation team.
33731
25dbcb27
AS
337322012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33733
3d3f8e55
AS
33734 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33735
25dbcb27
AS
33736 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33737 handling of denormals.
33738 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33739 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33740 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33745 Likewise.
33746
7ad47a80 337472012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33748
33749 [BZ #14152]
33750 * math/libm-test.inc (fma_test): Don't always expect underflow
33751 exception.
33752
9c6ea9fa
SP
337532012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33754
33755 [BZ #12416]
33756 * elf/tst-execstack.c: Include stackinfo.h.
33757 (do_test): Adjust test case to ensure that pthread_getattr_np
33758 behaviour remains the same after marking stack executable.
33759
a8239222
JM
337602012-05-25 Joseph Myers <joseph@codesourcery.com>
33761
33762 * sysdeps/unix/sysv/linux/kernel-features.h
33763 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33764 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33765 kernel-features.h.
33766 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33767 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33768 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33769 kernel-features.h.
33770 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33771 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33772
918b5606
L
337732012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 * configure.in: Define the default includes to being none.
33776 * configure: Regenerated.
33777
3a097cc7
RM
337782012-05-25 Roland McGrath <roland@hack.frob.com>
33779
8422c9a5
RM
33780 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33781 * sysdeps/x86_64/setjmp.S: Likewise.
33782 * sysdeps/i386/bsd-setjmp.S: Likewise.
33783 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33784 * sysdeps/i386/setjmp.S: Likewise.
33785 * sysdeps/i386/__longjmp.S: Likewise.
33786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33787 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33788
3a097cc7
RM
33789 * include/stap-probe.h: New file.
33790 * configure.in: Handle --enable-systemtap.
33791 * configure: Regenerated.
33792 * config.h.in (USE_STAP_PROBE): New #undef.
33793 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33794 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33795 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33796
21708942
JM
337972012-05-25 Joseph Myers <joseph@codesourcery.com>
33798
33799 [BZ #13717]
33800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33801 to 2.4.0 where earlier.
33802 * sysdeps/unix/sysv/linux/configure: Regenerated.
33803 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33804 <kernel-features.h>.
33805 [__ASSUME_32BITUIDS]: Make code unconditional.
33806 [!__ASSUME_32BITUIDS]: Remove conditional code.
33807 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33808 <kernel-features.h>.
33809 [__ASSUME_32BITUIDS]: Make code unconditional.
33810 [!__ASSUME_32BITUIDS]: Remove conditional code.
33811 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33812 [__ASSUME_32BITUIDS]: Make code unconditional.
33813 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33814 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33815 <kernel-features.h>.
33816 [__ASSUME_32BITUIDS]: Make code unconditional.
33817 [!__ASSUME_32BITUIDS]: Remove conditional code.
33818 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33819 <kernel-features.h>.
33820 [__ASSUME_32BITUIDS]: Make code unconditional.
33821 [!__ASSUME_32BITUIDS]: Remove conditional code.
33822 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33823 <kernel-features.h>.
33824 [__ASSUME_32BITUIDS]: Make code unconditional.
33825 [!__ASSUME_32BITUIDS]: Remove conditional code.
33826 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33827 <kernel-features.h>.
33828 [__ASSUME_32BITUIDS]: Make code unconditional.
33829 [!__ASSUME_32BITUIDS]: Remove conditional code.
33830 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33831 <kernel-features.h>.
33832 [__ASSUME_32BITUIDS]: Make code unconditional.
33833 [!__ASSUME_32BITUIDS]: Remove conditional code.
33834 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33835 <kernel-features.h>.
33836 [__ASSUME_32BITUIDS]: Make code unconditional.
33837 [!__ASSUME_32BITUIDS]: Remove conditional code.
33838 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33839 <kernel-features.h>.
33840 [__ASSUME_32BITUIDS]: Make code unconditional.
33841 [!__ASSUME_32BITUIDS]: Remove conditional code.
33842 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33843 <kernel-features.h>.
33844 [__ASSUME_32BITUIDS]: Make code unconditional.
33845 [!__ASSUME_32BITUIDS]: Remove conditional code.
33846 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33847 <kernel-features.h>.
33848 [__ASSUME_32BITUIDS]: Make code unconditional.
33849 [!__ASSUME_32BITUIDS]: Remove conditional code.
33850 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33851 <kernel-features.h>.
33852 [__ASSUME_32BITUIDS]: Make code unconditional.
33853 [!__ASSUME_32BITUIDS]: Remove conditional code.
33854 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33855 <kernel-features.h>.
33856 [__NR_setresgid] (__setresgid): Do not declare.
33857 [__ASSUME_32BITUIDS]: Make code unconditional.
33858 [!__ASSUME_32BITUIDS]: Remove conditional code.
33859 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33860 <kernel-features.h>.
33861 [__NR_setresuid] (__setresuid): Do not declare.
33862 [__ASSUME_32BITUIDS]: Make code unconditional.
33863 [!__ASSUME_32BITUIDS]: Remove conditional code.
33864 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33865 <kernel-features.h>.
33866 [__ASSUME_32BITUIDS]: Make code unconditional.
33867 [!__ASSUME_32BITUIDS]: Remove conditional code.
33868 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33869 <kernel-features.h>.
33870 [__ASSUME_32BITUIDS]: Make code unconditional.
33871 [!__ASSUME_32BITUIDS]: Remove conditional code.
33872 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33873 <kernel-features.h>.
33874 [__ASSUME_32BITUIDS]: Make code unconditional.
33875 [!__ASSUME_32BITUIDS]: Remove conditional code.
33876 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33877 <kernel-features.h>.
33878 [__ASSUME_32BITUIDS]: Make code unconditional.
33879 [!__ASSUME_32BITUIDS]: Remove conditional code.
33880 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33881 <kernel-features.h>.
33882 [__ASSUME_32BITUIDS]: Make code unconditional.
33883 [!__ASSUME_32BITUIDS]: Remove conditional code.
33884 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33885 <kernel-features.h>.
33886 [__ASSUME_32BITUIDS]: Make code unconditional.
33887 [!__ASSUME_32BITUIDS]: Remove conditional code.
33888 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33889 <kernel-features.h>.
33890 [__ASSUME_32BITUIDS]: Make code unconditional.
33891 [!__ASSUME_32BITUIDS]: Remove conditional code.
33892 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33893 <kernel-features.h>.
33894 [__ASSUME_32BITUIDS]: Make code unconditional.
33895 [!__ASSUME_32BITUIDS]: Remove conditional code.
33896 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33897 <kernel-features.h>.
33898 [__ASSUME_32BITUIDS]: Make code unconditional.
33899 [!__ASSUME_32BITUIDS]: Remove conditional code.
33900 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33901 <kernel-features.h>.
33902 [__ASSUME_32BITUIDS]: Make code unconditional.
33903 [!__ASSUME_32BITUIDS]: Remove conditional code.
33904 * sysdeps/unix/sysv/linux/kernel-features.h
33905 (__ASSUME_SETRESUID_SYSCALL): Remove.
33906 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33907 (__ASSUME_32BITUIDS): Likewise.
33908 (__ASSUME_LDT_WORKS): Likewise.
33909 (__ASSUME_O_DIRECTORY): Likewise.
33910 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33911 architecture but not kernel version.
33912 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33913 (__ASSUME_MMAP2_SYSCALL): Likewise.
33914 (__ASSUME_STAT64_SYSCALL): Likewise.
33915 (__ASSUME_IPC64): Likewise.
33916 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33917 <kernel-features.h>.
33918 [__ASSUME_32BITUIDS]: Make code unconditional.
33919 [!__ASSUME_32BITUIDS]: Remove conditional code.
33920 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33921 <kernel-features.h>.
33922 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33923 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33924 132096]: Remove conditional code.
33925 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33926 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33927 <kernel-features.h>.
33928 [__ASSUME_32BITUIDS]: Make code unconditional.
33929 [!__ASSUME_32BITUIDS]: Remove conditional code.
33930 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33931 <kernel-features.h>.
33932 [__ASSUME_32BITUIDS]: Make code unconditional.
33933 [!__ASSUME_32BITUIDS]: Remove conditional code.
33934 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33935 <kernel-features.h>.
33936 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33937 unconditional.
33938 (__setresgid): Do not declare.
33939 [__ASSUME_32BITUIDS]: Make code unconditional.
33940 [!__ASSUME_32BITUIDS]: Remove conditional code.
33941 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33942 <kernel-features.h>.
33943 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33944 unconditional.
33945 (__setresuid): Do not declare.
33946 [__ASSUME_32BITUIDS]: Make code unconditional.
33947 [!__ASSUME_32BITUIDS]: Remove conditional code.
33948 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33949 <kernel-features.h>.
33950 [__ASSUME_32BITUIDS]: Make code unconditional.
33951 [!__ASSUME_32BITUIDS]: Remove conditional code.
33952 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33953 <kernel-features.h>.
33954 [__ASSUME_32BITUIDS]: Make code unconditional.
33955 [!__ASSUME_32BITUIDS]: Remove conditional code.
33956
a386f1cc
RH
339572012-05-25 Richard Henderson <rth@twiddle.net>
33958
33959 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33960 dl_hwcap to ifunc resolver.
33961 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33962 elf_ifunc_invoke.
33963 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33964 dl_hwcap to ifunc resolver.
33965 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33966
b6550497
JM
339672012-05-24 Joseph Myers <joseph@codesourcery.com>
33968
33969 [BZ #14153]
33970 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33971 for |x| <= 2**-26, not 2**-57.
33972 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33973 exception.
33974
b0bc23a1
JL
339752012-05-24 Jeff Law <law@redhat.com>
33976
33977 * stdio-common/Makefile (tests): Add bug25.
33978 * stdio-common/bug25.c: New test.
33979
347c92e9
L
339802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33981
33982 [BZ #13576]
33983 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33984 multiple of MALLOC_ALIGNMENT in size.
33985 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33986
6bcc8b3f
JM
339872012-05-24 Joseph Myers <joseph@codesourcery.com>
33988
33989 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33990 Require >= 256.
33991 (FILENAME_MAX): Use macro-int-constant.
33992 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33993 (_IOFBF): Use macro-int-constant.
33994 (_IOLBF): Likewise.
33995 (_IONBF): Likewise.
33996 (SEEK_CUR): Likewise.
33997 (SEEK_END): Likewise.
33998 (SEEK_SET): Likewise.
33999 (TMP_MAX): Likewise.
34000 (EOF): Use macro-int-constant. Require < 0.
34001 (NULL): Use macro-constant. Require == 0.
34002 (stdin): Require type to be FILE *.
34003 (stdout): Likewise.
34004 (stderr): Likewise.
34005 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34006 macro-int-constant.
34007 (EXIT_SUCCESS): Likewise.
34008 (NULL): Use macro-constant. Require == 0.
34009 (RAND_MAX): Use macro-int-constant.
34010 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34011 [C99-based standards] (strtof): Require function.
34012 [C99-based standards] (strtold): Likewise.
34013 [C99-based standards] (strtoll): Likewise.
34014 [C99-based standards] (strtoull): Likewise.
34015 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34016 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34017 [ISO || ISO99 || ISO11] (math.h): Likewise.
34018 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34019 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34021
d18ea0c5
AS
340222012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34023
34024 [BZ #14132]
56d25bb8
AS
34025 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34026 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34027 * intl/dgettext.c (DCGETTEXT): Likewise.
34028 * intl/gettext.c (DCGETTEXT): Likewise.
34029 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34030 * posix/regex_internal.h (gettext): Likewise.
34031 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34032 Remove declaration.
34033 * include/argz.h (__argz_count_internal)
34034 (__argz_stringify_internal): Remove declaration.
34035 (__argz_count, __argz_stringify): Declare hidden proto.
34036 * intl/dcgettext.c: Remove use of INTDEF.
34037 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34038 * string/argz-stringify.c: Likewise.
34039 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34040 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34041 Declare hidden proto.
d18ea0c5
AS
34042 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34043 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34044 Declare hidden proto.
34045 * include/stdio.h (__asprintf_internal): Don't declare.
34046 (__asprintf): Don't define as macro. Declare hidden proto.
34047 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34048 (__fsetlocking): Declare hidden proto.
34049 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34050 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34051 hidden proto.
34052 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34053 (_IO_setlinebuf): Remove use of INTUSE.
34054 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34055 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34056 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34057 Remove declaration.
34058 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34059 (_IO_do_flush): Remove use of INTUSE.
34060 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34061 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34062 (_IO_adjust_column, _IO_least_wmarker)
34063 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34064 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34065 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34066 (_IO_default_doallocate, _IO_wdefault_doallocate)
34067 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34068 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34069 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34070 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34071 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34072 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34073 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34074 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34075 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34076 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34077 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34078 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34079 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34080 proto.
34081 (_IO_flush_all_internal, _IO_adjust_column_internal)
34082 (_IO_default_uflow_internal, _IO_default_finish_internal)
34083 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34084 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34085 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34086 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34087 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34088 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34089 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34090 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34091 (_IO_file_close_internal, _IO_file_close_it_internal)
34092 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34093 (_IO_file_init_internal, _IO_file_attach_internal)
34094 (_IO_file_fopen_internal, _IO_file_read_internal)
34095 (_IO_file_sync_internal, _IO_file_seek_internal)
34096 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34097 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34098 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34099 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34100 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34101 (_IO_list_all_internal, _IO_link_in_internal)
34102 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34103 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34104 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34105 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34106 (_IO_do_write_internal, _IO_padn_internal)
34107 (_IO_getline_info_internal, _IO_getline_internal)
34108 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34109 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34110 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34111 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34112 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34113 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34114 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34115 with libc_hidden_ver, remove use of INTUSE.
34116 * libio/genops.c: Likewise.
34117 * libio/freopen.c: Likewise.
34118 * libio/freopen64.c: Likewise.
34119 * libio/iofclose.c: Likewise.
34120 * libio/iofdopen.c: Likewise.
34121 * libio/iofflush.c: Likewise.
34122 * libio/iofflush_u.c: Likewise.
34123 * libio/iofgets.c: Likewise.
34124 * libio/iofgets_u.c: Likewise.
34125 * libio/iofopen.c: Likewise.
34126 * libio/iofopncook.c: Likewise.
34127 * libio/iofread.c: Likewise.
34128 * libio/iofread_u.c: Likewise.
34129 * libio/ioftell.c: Likewise.
34130 * libio/iofwrite.c: Likewise.
34131 * libio/iogetline.c: Likewise.
34132 * libio/iogets.c: Likewise.
34133 * libio/iogetwline.c: Likewise.
34134 * libio/iopadn.c: Likewise.
34135 * libio/iopopen.c: Likewise.
34136 * libio/ioseekoff.c: Likewise.
34137 * libio/ioseekpos.c: Likewise.
34138 * libio/iosetbuffer.c: Likewise.
34139 * libio/iosetvbuf.c: Likewise.
34140 * libio/ioungetc.c: Likewise.
34141 * libio/ioungetwc.c: Likewise.
34142 * libio/iovdprintf.c: Likewise.
34143 * libio/iovsprintf.c: Likewise.
34144 * libio/iovsscanf.c: Likewise.
34145 * libio/memstream.c: Likewise.
34146 * libio/obprintf.c: Likewise.
34147 * libio/oldfileops.c: Likewise.
34148 * libio/oldiofclose.c: Likewise.
34149 * libio/oldiofdopen.c: Likewise.
34150 * libio/oldiofopen.c: Likewise.
34151 * libio/oldiopopen.c: Likewise.
34152 * libio/oldstdfiles.c: Likewise.
34153 * libio/putc.c: Likewise.
34154 * libio/setbuf.c: Likewise.
34155 * libio/setlinebuf.c: Likewise.
34156 * libio/stdfiles.c: Likewise.
34157 * libio/strops.c: Likewise.
34158 * libio/vasprintf.c: Likewise.
34159 * libio/vscanf.c: Likewise.
34160 * libio/vsnprintf.c: Likewise.
34161 * libio/vswprintf.c: Likewise.
34162 * libio/wfiledoalloc.c: Likewise.
34163 * libio/wfileops.c: Likewise.
34164 * libio/wgenops.c: Likewise.
34165 * libio/wmemstream.c: Likewise.
34166 * libio/wstrops.c: Likewise.
34167 * libio/__fpurge.c: Likewise.
34168 * libio/__fsetlocking.c: Likewise.
34169 * assert/assert.c: Likewise.
34170 * debug/fgets_chk.c: Likewise.
34171 * debug/fgets_u_chk.c: Likewise.
34172 * debug/fread_chk.c: Likewise.
34173 * debug/fread_u_chk.c: Likewise.
34174 * debug/gets_chk.c: Likewise.
34175 * debug/obprintf_chk.c: Likewise.
34176 * debug/vasprintf_chk.c: Likewise.
34177 * debug/vdprintf_chk.c: Likewise.
34178 * debug/vsnprintf_chk.c: Likewise.
34179 * debug/vsprintf_chk.c: Likewise.
34180 * malloc/mtrace.c: Likewise.
34181 * misc/error.c: Likewise.
34182 * misc/syslog.c: Likewise.
34183 * stdio-common/asprintf.c: Likewise.
34184 * stdio-common/fxprintf.c: Likewise.
34185 * stdio-common/getw.c: Likewise.
34186 * stdio-common/isoc99_fscanf.c: Likewise.
34187 * stdio-common/isoc99_scanf.c: Likewise.
34188 * stdio-common/isoc99_vfscanf.c: Likewise.
34189 * stdio-common/isoc99_vscanf.c: Likewise.
34190 * stdio-common/isoc99_vsscanf.c: Likewise.
34191 * stdio-common/printf-prs.c: Likewise.
34192 * stdio-common/printf_fp.c: Likewise.
34193 * stdio-common/printf_fphex.c: Likewise.
34194 * stdio-common/printf_size.c: Likewise.
34195 * stdio-common/putw.c: Likewise.
34196 * stdio-common/scanf.c: Likewise.
34197 * stdio-common/sprintf.c: Likewise.
34198 * stdio-common/tmpfile.c: Likewise.
34199 * stdio-common/vfprintf.c: Likewise.
34200 * stdio-common/vfscanf.c: Likewise.
34201 * stdlib/strfmon_l.c: Likewise.
34202 * sunrpc/openchild.c: Likewise.
34203 * sunrpc/xdr_stdio.c: Likewise.
34204 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34205 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34206
d6c33fda
RM
342072012-05-24 Roland McGrath <roland@hack.frob.com>
34208
c1487492
RM
34209 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34210
34211 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34212 in the third column, to generate for the shared library an IFUNC
34213 that uses _dl_vdso_vsym.
34214 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34215 * Makeconfig (object-suffixes-noshared): New variable.
34216
34217 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34218 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34219 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34220 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34221
d6c33fda
RM
34222 [BZ #14132]
34223 * include/sys/time.h (__gettimeofday): Remove macro.
34224 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34225 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34226 Remove INTDEF.
34227 (__gettimeofday): Add libc_hidden_def.
34228 (gettimeofday): Add libc_hidden_weak.
34229 * sysdeps/mach/gettimeofday.c: Likewise.
34230 * sysdeps/posix/gettimeofday.c: Likewise.
34231 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34232 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34234 (__gettimeofday_internal): Remove strong_alias.
34235 (__gettimeofday): Add libc_hidden_def.
34236 (gettimeofday): Add libc_hidden_weak.
34237 * sysdeps/unix/syscalls.list (gettimeofday):
34238 Remove __gettimeofday_internal alias.
34239
b5a2bbe6
L
342402012-05-24 Daniel Jacobowitz <drow@false.org>
34241 H.J. Lu <hongjiu.lu@intel.com>
34242
34243 [BZ #12495]
34244 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34245 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34246 (largebin_index_32_big): New.
34247 (largebin_index): Use it for 16-byte alignment.
34248 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34249 correction with front_misalign.
34250
cfba4fda
L
342512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34252
7f907421
L
34253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34255 Likewise.
34256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34257 Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34259 Likewise.
34260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34261 Likewise.
34262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34263 Likewise.
34264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34265 Likewise.
34266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34267 Likewise.
34268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34269 Likewise.
34270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34271 Likewise.
34272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34273 Likewise.
34274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34275 Likewise.
34276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34277 Likewise.
34278
cfba4fda
L
34279 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34280 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34281
80bad0cc
JM
342822012-05-24 Joseph Myers <joseph@codesourcery.com>
34283
7a25eb06
JM
34284 [BZ #10846]
34285 [BZ #14036]
34286 * math/libm-test.inc (exp_test): Add test from bug 14036.
34287 (pow_test): Add test from bug 10846.
34288
795405f9
JM
34289 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34290 and other flags.
34291 (special_function): Do not include flags in test name.
34292 (parse_args): Likewise.
34293 * sysdeps/i386/fpu/libm-test-ulps: Update.
34294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34295 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34296 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34298
80bad0cc
JM
34299 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34300 exceptions.
34301 * math/libm-test.inc ("Philosophy"): Update comment about
34302 exception testing.
34303 (UNDERFLOW_EXCEPTION): New macro.
34304 (UNDERFLOW_EXCEPTION_OK): Likewise.
34305 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34306 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34307 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34308 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34309 (INVALID_EXCEPTION_OK): Update value.
34310 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34311 (OVERFLOW_EXCEPTION_OK): Likewise.
34312 (IGNORE_ZERO_INF_SIGN): Likewise.
34313 (test_exceptions): Handle underflow exceptions.
34314 (acos_test): Update for underflow exception expectations.
34315 (cexp_test): Likewise.
34316 (clog_test): Likewise.
34317 (clog10_test): Likewise.
34318 (csqrt_test): Likewise.
34319 (ctan_test): Likewise.
34320 (ctanh_test): Likewise.
34321 (exp_test): Likewise.
34322 (exp10_test): Likewise.
34323 (exp2_test): Likewise.
34324 (expm1_test): Likewise.
34325 (fma_test): Likewise.
34326 (j0_test): Likewise.
34327 (jn_test): Likewise.
34328 (nexttoward_test): Likewise.
34329 (pow_test): Likewise.
34330 (scalbn_test): Likewise.
34331 (scalbln_test): Likewise.
34332 (tan_test): Likewise.
34333 (y1_test): Likewise.
34334 * sysdeps/i386/fpu/libm-test-ulps: Update.
34335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34336
9e0e3d0b
DM
343372012-05-23 David S. Miller <davem@davemloft.net>
34338
34339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34340 (__libc_sigaction): Remove unused local variables.
34341
ccd0a08f
L
343422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34343
34344 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34345
62bdf9a6
PE
343462012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34347
f8591f80
PE
34348 mktime: avoid signed integer overflow
34349 * time/mktime.c (__mktime_internal): Do not mishandle the case
34350 where diff == INT_MIN.
34351
94c7d826
PE
34352 mktime: simplify computation of average
34353 * time/mktime.c (ranged_convert): Use new time_t_avg function
34354 instead of rolling our own (probably-slower) code.
34355
ce73d683
PE
34356 mktime: do not assume signed right shift propagates sign bit
34357 * time/mktime.c (isdst_differ): New static function.
34358 (__mktime_internal): No need to normalize tm_isdst now.
34359 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34360 tm_isdst values.
34361
72a22e59
PE
34362 mktime: merge another wrapv change from gnulib
34363 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34364 from some compilers.
34365
68605433
PE
34366 mktime: remove incorrect attempt at unusual arithmetics
34367 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34368 The code didn't really work on such machines anyway.
34369 (TYPE_MINIMUM): Assume two's complement.
34370 (twos_complement_arithmetic): Verify that long_int and time_t
34371 are two's complement (or unsigned, in the latter case).
34372
03cf7fe3
PE
34373 mktime: check signed shifts on long_int and time_t, too
34374 * time/mktime.c (SHR): Check that shifts work as desired
34375 on the types long_int and time_t too, as SHR is used on
34376 such types.
34377
f04dfbc2
PE
34378 mktime: do not assume 'long' is wide enough
34379 * time/mktime.c (verify): Move decl up.
34380 (long_int): New type.
34381 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34382 to remove assumption in the code that 'long' is wide enough to
34383 store year values. This assumption is not true on x32 and on
34384 some non-glibc platforms.
34385
62bdf9a6
PE
34386 mktime: merge wrapv change from gnulib
34387 * time/mktime.c (WRAPV): New macro.
34388 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34389 (guess_time_tm, __mktime_internal): Do not assume that signed
34390 integer overflow wraps around; modern compilers generate code
34391 where this assumption is no longer valid.
34392
5e292e4f
L
343932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34394
34395 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34396 Replace "jmp L(pseudo_end)" with "ret".
34397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34398 Likewise.
34399
8caf8c87
AJ
344002012-05-23 Andreas Jaeger <aj@suse.de>
34401
34402 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34403 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34404
1a09dc56
AJ
344052012-05-23 Andreas Jaeger <aj@suse.de>
34406 Maximilian Attems <max@stro.at>
34407
34408 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34409 New macros.
34410
1c87aba0
L
344112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34412
34413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34414 code so that pseudo_end is just ret and the stack pointer is
34415 correct also for static library in error case.
34416
40e45bd5
JM
344172012-05-23 Joseph Myers <joseph@codesourcery.com>
34418
c2670533
JM
34419 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34420 move to syscalls.list.
34421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34425
40e45bd5
JM
34426 * manual/install.texi (Running make install): Do not mention Linux
34427 kernel version for which pt_chown is not needed.
34428 (Linux): Do not mention problems with nscd with 2.0 kernels.
34429 * INSTALL: Regenerated.
34430
be08eda5
AJ
344312012-05-23 Andreas Jaeger <aj@suse.de>
34432
34433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34434 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34435 macro.
34436 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34437 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34438 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34440 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34444 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34446 * sysdeps/unix/sysv/linux/bits/in.h
34447 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34448
a6a056bb
RM
344492012-05-22 Roland McGrath <roland@hack.frob.com>
34450
34451 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34452 (PREPARE_VERSION): Just use assert instead, it will be elided
34453 under [NDEBUG] anyway.
34454
c9009328
L
344552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34456
34457 * sysdeps/unix/sysv/linux/Makefile: Include
34458 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34459 (sysdep_routines): Remove sysctl.
c9009328
L
34460 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34461 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34462 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34463 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34464 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34465
73338355
AJ
344662012-05-22 Andreas Jaeger <aj@suse.de>
34467
34468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34469 that pseudo_end is just ret and the stack pointer is correct also
34470 for static library in error case.
34471
d44638b0
PP
344722012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34473
34474 [BZ #14122]
34475 * nss/nsswitch.c (defconfig_entries): New variable.
34476 (__nss_database_lookup): Don't leak defconfig entries.
34477 (nss_parse_service_list): Don't leak on error paths.
34478 (free_database_entries): New function.
34479 (free_defconfig): New function.
34480 (free_mem): Move common code to free_database_entries.
34481
31a39bd8
L
344822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34483
da0331a8
L
34484 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34485 Add arch_prctl.
34486 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34487
31a39bd8
L
34488 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34489 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34491 New macro.
34492 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34493 (INTERNAL_SYSCALL_TYPES): Likewise.
34494 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34495 (LOAD_REGS_TYPES_[1-6]): Likewise.
34496 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34497 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34498
45470df3
AZ
344992012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34500
34501 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34502 copysignl for GLIBC_2_0.
34503 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34504 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34506 logbl for GLIBC_2_0.
34507 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34508 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34509
98a61bcb
L
345102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34511
a4f6e481
L
34512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34513 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34514
f63d5db6
L
34515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34516 Use "neg %eax".
34517
98a61bcb
L
34518 * time/mktime.c: Update copyright years.
34519
95770f14
PE
345202012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34521
6226efbd
PE
34522 mktime: merge comment-quoting-style change from gnulib
34523 * time/mktime.c: Quote 'like this' in comments.
34524 The GNU coding standards suggest that we no longer quote `like this',
34525 as "`" and "'" are typically rendered asymmetrically nowadays.
34526 The typical gnulib style is to quote 'like this' when quoting
34527 code, and "like this" when quoting English.
34528
b99e4f78
PE
34529 * time/mktime.c (compile-command): Add "-I.".
34530
643e01e6
PE
34531 mktime: merge mktime-internal.h change from gnulib
34532 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34533
2554247d
PE
34534 mktime: merge time_r change from gnulib
34535 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34536
826dd0ab
PE
34537 mktime: merge DEBUG change from gnulib
34538 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34539 case system <time.h> has a #define.
34540
bd83aabe
PE
34541 mktime: merge <sys/types.h> change from gnulib
34542 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34543 since <time.t> is now guaranteed to define time_t.
34544
95770f14
PE
34545 mktime: merge HAVE_CONFIG_H change from gnulib
34546 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34547
5e1a27a9
L
345482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34549
0e44a77e
L
34550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34551 Use "neg %eax".
34552
5e1a27a9
L
34553 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34554 __rlim_t cast.
34555 (struct rusage): Use anonymous union to pad each field to
34556 __syscall_slong_t.
34557
46259bec
DM
345582012-05-21 David S. Miller <davem@davemloft.net>
34559
34560 * Makefules (o-iterator): Remove .s cases.
34561 (compile-command.s): Delete.
34562 (COMPILE.s): Delete.
34563 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34564
59f0c22e
JM
345652012-05-21 Joseph Myers <joseph@codesourcery.com>
34566
34567 * configure.in (libc_cv_predef_stack_protector): Only consider
34568 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34569 * configure: Regenerated.
34570
20c07380
L
345712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34572
bbb3154b
L
34573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34574 New macro. Use R*LP on int and pointer.
34575 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34576 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34577 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34578 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34579
20c07380
L
34580 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34581 [__WORDSIZE_TIME64_COMPAT32] instead of
34582 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34583 (struct utmp): Likewise.
34584 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34585 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34586 Renamed to ...
34587 (__WORDSIZE_TIME64_COMPAT32): This.
34588 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34589 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34590 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34591 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34592 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34593 (__WORDSIZE_TIME64_COMPAT32): New macro.
34594
d8d1017e
AJ
345952012-05-21 Andreas Jaeger <aj@suse.de>
34596
34597 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34598 only if [SHARED]. Add prototype for __wcschr_ia32.
34599
6c7fb145
RM
346002012-05-21 Roland McGrath <roland@hack.frob.com>
34601
34602 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34603 of %rbp unmolested in the jmp_buf while mangling the low bits.
34604 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34605 unmolested high bits of %rbp while demangling the low bits.
34606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34607
66274218
AJ
346082012-05-21 Andreas Jaeger <aj@suse.de>
34609
07c58f8f
AJ
34610 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34611 * sunrpc/svc_simple.c: Use it for registerrpc.
34612 * sunrpc/xcrypt.c: Use it for passwd2des.
34613
66274218
AJ
34614 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34615
61f65140
L
346162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34617
34618 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34619 Don't define if [__SYSCALL_WORDSIZE != 32].
34620 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34621 New macro.
34622
5fefb436
AJ
346232012-05-21 Bruno Haible <bruno@clisp.org>
34624 Andreas Jaeger <aj@suse.de>
34625
34626 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34627 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34628 inptr and inend for must_buffer_ch.
34629 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34630 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34631 * stdio-common/Makefile (tests): Remove bug15.
34632 (bug15-ENV): Remove macro.
34633 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34634 anymore.
34635
d8e272ab
AJ
346362012-05-19 Andreas Jaeger <aj@suse.de>
34637 Roland McGrath <roland@hack.frob.com>
34638
34639 * manual/contrib.texi: Completely rewritten. It contains now an
34640 alphabetical list of contributors and their contributions.
34641
4a56a162
RH
346422012-05-21 Richard Henderson <rth@twiddle.net>
34643
34644 * misc/getauxval.c (__getauxval): Use unsigned long int.
34645 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34646 (getauxval): Use unsigned long int.
34647
d024d23c
L
346482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34651
cbc00a03
RM
346522012-05-21 Roland McGrath <roland@hack.frob.com>
34653
34654 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34655 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34656 __alignof__ (long double).
34657
478143fa
AZ
346582012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34659
34660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34661
c7683a6d
RH
346622012-05-20 Richard Henderson <rth@twiddle.net>
34663
34664 * misc/getauxval.c: New file.
34665 * misc/sys/auxv.h: New file.
34666 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34667 (routines): Add getauxval.
34668 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34669 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34670 * elf/dl-sysdep.c (_dl_auxv): Remove.
34671 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34672 * elf/dl-support.c (_dl_auxv): New variable.
34673 (_dl_aux_init): Initialize it.
34674 * manual/startup.texi (Auxiliary Vector): New node.
34675 * sysdeps/generic/bits/hwcap.h: New file.
34676 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34677 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34678 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34679 * sysdeps/sparc/sysdep.h: ... here. Include it.
34680 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34681 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34683 Update.
c7683a6d
RH
34684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34692
a6f1845d
AZ
346932012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34694
34695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34696
cbcbe830
DM
346972012-05-19 David S. Miller <davem@davemloft.net>
34698
34699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34700
e0b16cc2
JM
347012012-05-19 Joseph Myers <joseph@codesourcery.com>
34702
34703 [BZ #14123]
34704 * math/s_ccosh.c: Include <float.h>
34705 (__ccosh): Avoid internal overflow calculating sinh and cosh
34706 values before multiplying by sin and cos values.
34707 * math/s_ccoshf.c: Likewise.
34708 * math/s_ccoshl.c: Likewise.
34709 * math/s_csin.c: Likewise.
34710 * math/s_csinf.c: Likewise.
34711 * math/s_csinl.c: Likewise.
34712 * math/s_csinh.c: Likewise.
34713 * math/s_csinhf.c: Likewise.
34714 * math/s_csinhl.c: Likewise.
34715 * math/libm-test.inc (ccos_test): Add more tests.
34716 (ccosh_test): Likewise.
34717 (csin_test): Likewise.
34718 (csinh_test): Likewise.
34719 * sysdeps/i386/fpu/libm-test-ulps: Update.
34720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34721
6ad13e08
L
347222012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34723
f66f0ce8
L
34724 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34725 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34726
6ad13e08
L
34727 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34728
b1d072a7
JM
347292012-05-19 Joseph Myers <joseph@codesourcery.com>
34730
34731 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34732 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34733 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34734 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34735 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34736 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34737 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34738 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34739 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34740 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34741 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34742 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34743 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34744 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34745 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34746 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34747 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34748 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34749 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34750 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34751 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34752 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34753 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34754 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34755 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34756 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34757 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34758 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34759 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34760 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34761 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34762
9eae47cb
AJ
347632012-05-18 Andreas Jaeger <aj@suse.de>
34764
34765 * csu/.gitignore: Delete.
34766
bb07f69f
L
347672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34768
34769 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34770 (timex): Use __syscall_slong_t.
34771
e6bdb741
AJ
347722012-05-18 Andreas Jaeger <aj@suse.de>
34773 Carlos O'Donell <carlos_odonell@mentor.com>
34774
34775 * manual/install.texi (Configuring and compiling): Update
34776 description about files modified in the source directory.
d6c33fda 34777 * INSTALL: Regenerated.
e6bdb741 34778
1b74487e
L
347792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34782 value. Use "or" to set return value to -1.
34783 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34784 negate return value.
34785
a88b64b9
TMQMF
347862012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34787
57f41c40
AS
34788 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34789 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34790 failure if the compiler has Graphite support disabled.
34791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34792 Likewise.
57f41c40
AS
34793 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34794 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34795 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34796 Likewise.
34797
3707636e
L
347982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34799
610b8622
L
34800 * sysdeps/x86_64/x32/_itoa.h: New file.
34801
7cd195df
L
34802 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34803 getdents system call only if kernel and user dirents have the
34804 same d_ino and d_off.
34805
94b07d20
L
34806 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34807 LLONG_MAX != LONG_MAX.
34808 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34809 (_fitoa_word): Likewise.
34810
18298070
L
34811 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34812 years.
34813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34814 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34815 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34816
553c7ea4
L
34817 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34818 include <bits/wordsize.h>. Check __x86_64__ instead of
34819 __WORDSIZE.
34820 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34821 if __x86_64__ is defined. Use anonymous union on fpstate.
34822
3707636e
L
34823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34824 anonymous union.
34825
b53ef01a
AS
348262012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34827
37fb1dc0
AS
34828 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34829 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34830 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34831 Refer to _rtld_local_ro instead of _rtld_global_ro.
34832 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34833 Likewise.
34834 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34835 Likewise.
34836 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34837 Likewise.
34838 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34839 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34840 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34841
b53ef01a
AS
34842 * sysdeps/powerpc/powerpc32/dl-machine.c
34843 (__elf_machine_runtime_setup) [PROF]: Don't reference
34844 _dl_prof_resolve.
34845
7a185db2
AJ
348462012-05-18 Andreas Jaeger <aj@suse.de>
34847
34848 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34849 function only available for GCCs before 3.4 since GCC 3.4
34850 introduced a builtin.
34851 (lrint): Likewise.
34852 (llrintf): Likewise.
34853 (llrint): Likewise.
34854 (fmaxf): Likewise.
34855 (fmax): Likewise.
34856 (fminf): Likewise.
34857 (fmin): Likewise.
34858 (rint): Likewise.
34859 (rintf): Likewise.
34860 (nearbyint): Likewise.
34861 (nearbyintf): Likewise.
34862 (ceil): Likewise.
34863 (ceilf): Likewise.
34864 (floor): Likewise.
34865 (floorf): Likewise.
34866
3e5aef87
L
348672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34868
428bd707
L
34869 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34870 on both fields and cast pointer to __syscall_ulong_t.
34871
3e5aef87
L
34872 * bits/types.h (__fsword_t): New type.
34873 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34874 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34876 (__FSWORD_T_TYPE): Likewise.
34877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34878 (__FSWORD_T_TYPE): Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34880 (__FSWORD_T_TYPE): Likewise.
34881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34882 (__FSWORD_T_TYPE): Likewise.
34883 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34884 __SWORD_TYPE with __fsword_t.
34885 (statfs64): Likewise.
34886
1ba7c3dc
DM
348872012-05-17 David S. Miller <davem@davemloft.net>
34888
34889 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34890
59910343
AJ
348912012-05-17 Andreas Jaeger <aj@suse.de>
34892
34893 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34894 warning.
34895
2e4c1e9e
L
348962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34897
34898 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34899
de7f5ce7
AJ
349002012-05-17 Andreas Jaeger <aj@suse.de>
34901
34902 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34903 when it is used.
34904
286abc3d
CM
349052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34906
34907 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34908
477cc68e
L
349092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34910
34911 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34912 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34913
1a0994f5
CD
349142012-05-17 Andreas Jaeger <aj@suse.de>
34915 Carlos O'Donell <carlos_odonell@mentor.com>
34916
34917 [BZ #14059]
34918 * sysdeps/x86_64/multiarch/init-arch.h
34919 (bit_YMM_Usable): Rename to...
34920 (bit_AVX_Usable): ... this.
34921 (bit_FMA4_Usable): New macro.
34922 (bit_XMM_state): New macro.
34923 (bit_YMM_state): New macro.
34924 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34925 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34926 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34927 (CPUID_OSXSAVE): New macro.
34928 (CPUID_AVX): New macro.
34929 (CPUID_FMA4): New macro.
34930 (index_YMM_Usable): Rename to...
34931 (index_AVX_Usable): ... this.
34932 (HAS_AVX): Use HAS_ARCH_FEATURE.
34933 (HAS_FMA4): Likewise.
34934 (HAS_YMM_USABLE): Remove.
34935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34936 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34937 are present.
34938 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34939 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34940 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34941 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34942 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34943
0af797de
CM
349442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34945
34946 * math/libm-test.c: Support platforms without multiple rounding modes.
34947 * math/bug-nextafter.c: Support platforms without FP exceptions.
34948 * math/bug-nexttoward.c: Likewise.
34949 * math/test-fenv.c: Likewise.
34950 * math/test-misc.c: Likewise.
34951 * stdlib/bug-getcontext.c: Likewise.
34952
e39745ff
AJ
349532012-05-17 Andreas Jaeger <aj@suse.de>
34954
34955 * manual/examples/search.c (critter_cmp): Change signature to
34956 avoid warnings.
34957 * manual/string.texi (Collation Functions): Likewise.
34958
48970aba
L
349592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34960
34961 * bits/types.h: Fold copyright years.
34962 * bits/typesizes.h: Likewise.
34963 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34967 * time/time.h: Likewise.
34968
bedee953
PP
349692012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34970
34971 [BZ #208]
34972 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34973 in instead of returning them. Return void.
34974 (__libc_mallinfo): Accumulate over all arenas.
34975 (__malloc_stats): Adjust for change in int_mallinfo interface.
34976
61653dfb
RM
349772012-05-16 Roland McGrath <roland@hack.frob.com>
34978
30b99d79
RM
34979 [BZ #10375]
34980 * configure.in (NM): Add AC_CHECK_TOOL for it.
34981 (libc_extra_cflags): New substituted variable.
34982 Check for -fstack-protector being used implicitly.
34983 * configure: Regenerated.
34984 * config.make.in (config-extra-cflags): New variable,
34985 gets @libc_extra_cflags@.
34986 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34987
61653dfb
RM
34988 [BZ #10375]
34989 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34990 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34991 * configure: Regenerated.
34992 * config.make.in (CPPUNDEFS): New substituted variable.
34993 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34994 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34995 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34996
661768bb
L
349972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34998
34999 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35000 (mq_attr): Use __syscall_slong_t.
35001
d4261567
L
350022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35003
35004 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35005 Check __x86_64__ instead of __WORDSIZE.
35006 (_STAT_VER_LINUX): Likewise.
35007 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35008 __syscall_ulong_t and __syscall_slong_t.
35009 (stat64): Likewise.
35010
cf3ff365
L
350112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35012
35013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35014
76cf3e4d
L
350152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35016
35017 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35018
a637753a
L
350192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35020
35021 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35022 __syscall_ulong_t.
35023
d5e05119
L
35024 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35025 include <bits/wordsize.h>. Check __x86_64__ instead of
35026 __WORDSIZE.
35027 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35028 defined.
35029 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35030
f62ee380
L
35031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35032 include <bits/wordsize.h>. Check __x86_64__ instead of
35033 __WORDSIZE.
35034 (user_regs_struct): Use "__extension__ unsigned long long"
35035 instead of "unsigned long" if __x86_64__ is defined.
35036 (user): Likewise. Pad after pointer field if __ILP32__ is
35037 defined.
35038
4e124ced
JM
350392012-05-16 Joseph Myers <joseph@codesourcery.com>
35040
6a3951a0
JM
35041 * configure.in (makeinfo): Require version 4.5 or later. Allow
35042 versions 5 to 9.
35043 * configure: Regenerated.
35044 * manual/install.texi (texinfo): Increase version requirement to
35045 4.5 or later.
35046 * INSTALL: Regenerated.
35047
4e124ced
JM
35048 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35049
953ca31a
L
350502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35051
35052 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35053
617aca05
L
35054 * sysdeps/x86_64/x32/ffs.c: New file.
35055
5762f7ae
L
35056 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35057 __syscall_ulong_t.
35058 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35059 defined. Use __syscall_ulong_t.
35060 (shminfo): Use __syscall_ulong_t.
35061 (shm_info): Likewise.
35062
a26b6856
L
35063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35064 __syscall_ulong_t.
35065
cb2b9ef7
L
35066 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35067 <bits/wordsize.h>.
35068 (msgqnum_t): Use __syscall_ulong_t.
35069 (msglen_t): Likewise.
35070 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35071 __syscall_ulong_t.
35072
34683bb0
L
35073 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35075
84a68786
L
35076 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35077
48baa5f1
L
35078 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35079 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35080
180be88b
L
35081 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35082 __syscall_slong_t.
35083
5e90c8ad
L
35084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35085 include <bits/wordsize.h>. Check __x86_64__ instead of
35086 __WORDSIZE.
35087
23dfb58b
L
35088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35089 "unsigned long long int" if __x86_64__ is defined.
35090 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35091
ce5d54b0
L
35092 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35093 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35094 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35095
13dc9eac
L
35096 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35097 <stdint.h>.
35098 (GET_PC): Cast to uintptr_t first.
35099 (GET_FRAME): Likewise.
35100 (GET_STACK): Likewise.
35101
a7895d15
L
35102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35103 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35107 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35109 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35110 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35114 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35115 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35116 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35118 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35119 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35120 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35121 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35122 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35124 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35125 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35126 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35127 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35128 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35130 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35131
656416c9
AS
351322012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35133
5bd66283
AS
35134 * Makerules (+depfiles): Also collect depfiles from .oS in
35135 $(extra-objs).
35136 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35137 .oS, $(libnldbl-routines)).
35138
656416c9
AS
35139 * Makerules (native-compile-mkdep-flags): Define.
35140 * sunrpc/Makefile (extra-objs): Add $(addprefix
35141 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35142 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35143 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35144 calling $(make-target-directory).
35145
a46f2169
L
351462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35147
35148 * bits/types.h (__snseconds_t): Removed.
35149 * time/time.h (struct timespec): Replace __snseconds_t with
35150 __syscall_slong_t.
35151 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35152 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35153 Likewise.
35154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35155 (__SNSECONDS_T_TYPE): Likewise.
35156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35157 (__SNSECONDS_T_TYPE): Likewise.
35158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35159 (__SNSECONDS_T_TYPE): Likewise.
35160
6af6528b
L
351612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35162
35163 * sysdeps/mach/hurd/bits/typesizes.h
35164 (__SYSCALL_SLONG_TYPE): New macro.
35165 (__SYSCALL_ULONG_TYPE): Likewise.
35166
de986b56
L
351672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35168
35169 * bits/types.h (__syscall_slong_t): New type.
35170 (__syscall_ulong_t): Likewise.
35171
35172 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35173 (__SYSCALL_ULONG_TYPE): Likewise.
35174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35175 (__SYSCALL_SLONG_TYPE): Likewise.
35176 (__SYSCALL_ULONG_TYPE): Likewise.
35177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35178 (__SYSCALL_SLONG_TYPE): Likewise.
35179 (__SYSCALL_ULONG_TYPE): Likewise.
35180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35181 (__SYSCALL_SLONG_TYPE): Likewise.
35182 (__SYSCALL_ULONG_TYPE): Likewise.
35183
85736dc7
L
351842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35185
35186 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35187 Add sigaltstack-offsets.sym.
35188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35189 <sigaltstack-offsets.h>.
35190 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35191 longjmp_msg pointer.
35192 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35193 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35194 signal stack.
35195 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35196
cc03b296
JM
351972012-05-15 Joseph Myers <joseph@codesourcery.com>
35198
a9538892
JM
35199 * elf/stackguard-macros.h: Remove file.
35200 * sysdeps/generic/stackguard-macros.h: New file.
35201 * sysdeps/i386/stackguard-macros.h: Likewise.
35202 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35203 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35204 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35205 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35206 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35207 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35208 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35209 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35210 <elf/stackguard-macros.h>.
35211
cc03b296
JM
35212 [BZ #14109]
35213 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35214 __aligned__ in attribute.
35215 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35216 (gregset_t): Likewise.
35217
93171016
L
352182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35219
35220 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35221 * sysdeps/x86_64/64/Implies-after: Here. New file.
35222 * sysdeps/x86_64/x32/Implies-after: New file.
35223
d86813a0
L
352242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35225
35226 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35227 and access return value for _dl_profile_fixup. Use R10_LP to
35228 load frame size.
35229
2953ec75
L
352302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35231
35232 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35233
3b550e9e
L
352342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35235
35236 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35237 * sysdeps/x86_64/x32/sysdep.h: New file.
35238
eda41706
L
352392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35240
35241 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35242 * sysdeps/x86_64/setjmp.S: Likewise.
35243
9ea01d93
AZ
352442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35245
35246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35248 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35250 remove unused global constant.
35251
02a91938
CM
352522012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35253
35254 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35255 include of <not-cancel.h>.
35256
6540185f
RM
352572012-05-15 Roland McGrath <roland@hack.frob.com>
35258
35259 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35260
509072a0
AJ
352612012-05-15 Jeff Law <law@redhat.com>
35262 Andreas Jaeger <aj@suse.de>
35263
35264 [BZ #13594]
35265 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35266 out from...
35267 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35268 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35269 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35270 code changing __hst_map_handle.map.
35271
ba75122d
RM
352722012-05-15 Roland McGrath <roland@hack.frob.com>
35273
35274 * configure.in (sysnames): Look for Implies-before and Implies-after
35275 files.
35276 * configure: Regenerated.
35277
890d8bd8
L
352782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35279
35280 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35281 8-byte data alignment with LP_SIZE alignment.
35282
f6ee6623
L
352832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35286 into R10_LP.
35287
ea2626f6
L
352882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35289
35290 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35291
085f715e
L
352922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35293
35294 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35296 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35297 Likewise.
35298 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35299
be8498fc
L
353002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35301
35302 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35303 (stackinfo_sub_sp): Likewise.
35304
70bc83b9
L
353052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35308 RAX_LP.
35309
9bc0b730
L
353102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35311
35312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35313 into R*_LP.
35314
6d2850e7
L
353152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35316
35317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35318 sizes into R*_LP.
35319
3cb84561
L
353202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35321
35322 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35323
54e2ed81
L
353242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35325
35326 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35327 into R11_LP and load __x86_64_shared_cache_size_half into
35328 R8_LP.
35329
8a17f349
L
353302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35331
35332 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35333 R8_LP.
35334
777b1eea
AZ
353352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35336
35337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35338 logb for POWER7.
35339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35340 logbf for POWER7.
35341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35342 logbl for POWER7.
35343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35344 powerpc32/power7/fpu/s_logb.c via #include.
35345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35346 powerpc32/power7/fpu/s_logbf.c via #include.
35347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35348 powerpc32/power7/fpu/s_logbl.c via #include.
35349
d20d4ac2
JM
353502012-05-15 Joseph Myers <joseph@codesourcery.com>
35351
35352 * README.libm: Remove file.
35353
6cdef1ab
L
353542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35355
35356 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35357 count for x32. Use R*_LP and omit operand-size suffix.
35358
0b254d8f
L
353592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35360
35361 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35362 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35363 * sysdeps/x86_64/x32/shlib-versions: New file.
35364
ceb809dc
RM
353652012-05-14 Roland McGrath <roland@hack.frob.com>
35366
35367 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35368 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35369 Use _dl_fatal_printf instead.
35370
37f1abd4
JM
353712012-05-14 Joseph Myers <joseph@codesourcery.com>
35372
35373 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35374 set if not set by the user. Do not allow for being unset.
35375 * sysdeps/unix/sysv/linux/configure: Regenerated.
35376
11de3a33
L
353772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35378
35379 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35380 the `q' suffix from lea and replace .quad with ASM_ADDR.
35381
e02f153a
L
353822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35383
35384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35385 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35386 instead of $17.
35387 (PTR_DEMANGLE): Likewise.
35388
520ae0fd
L
353892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35390
35391 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35392 (LP_OP): Likewise.
35393 (ASM_ADDR): Likewise.
35394 (RAX_LP): Likewise.
35395 (RBP_LP): Likewise.
35396 (RBX_LP): Likewise.
35397 (RCX_LP): Likewise.
35398 (RDI_LP): Likewise.
35399 (RSI_LP): Likewise.
35400 (RSP_LP): Likewise.
35401 (R8_LP): Likewise.
35402 (R9_LP): Likewise.
35403 (R10_LP): Likewise.
35404 (R10_LP): Likewise.
35405 (R11_LP): Likewise.
35406 (R12_LP): Likewise.
35407 (R13_LP): Likewise.
35408 (R14_LP): Likewise.
35409 (R15_LP): Likewise.
35410
b985be81
L
354112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35412
35413 * sysdeps/x86_64/x32/dl-machine.h: New file.
35414
6a4888ff
AJ
354152012-05-14 Andreas Jaeger <aj@suse.de>
35416
35417 * manual/Makefile (subdir): Remove export of subdir.
35418 (all): Remove target.
35419 (.PHONY): Remove all from list.
35420 (mkinstalldirs): Remove.
35421 (.PHONY): Remove installdirs from list.
35422 ($(inst_infodir)/libc.info): Use make-target-directory.
35423 (installdirs): Remove.
35424 (subdir_%): Remove.
35425 (glibc-targets): Remove.
35426 (lib): Remove.
35427 (stubs): Remove.
35428 ($(objpfx)stubs ../po/manual.pot): Remove.
35429 ($(objpfx)stamp%): Remove.
35430 (make-target-directory): Remove.
35431 (subdir_install): Remove.
35432 (routines): Remove.
35433 (aux): Remove.
35434 (sources): Remove.
35435 (objects): Remove.
35436 (headers): Remove.
35437
35438 [BZ #13750]
35439 * manual/.gitignore: Remove, it's not needed anymore.
35440 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35441 all files in it.
35442 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35443 directory.
35444 (texis): Renamed to $(objpfx)texis.
35445 (texis-path): New, contains path to generated files.
35446 (chapters.%): Use texis-path for complete path, add extra argument
35447 libc-texinfo.sh.
35448 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35449 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35450 (summary,texi, stamp-summary): Use complete path of
35451 files. Generate files in build dir.
35452 (dir-add.texi): Build in build dir.
35453 (libm-err.texi,stamp-libm-err): Likewise.
35454 (version.texi, stamp-version): Likewise.
35455 (.%c.texi): Likewise.
35456 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35457 (mostlyclean): Remove target.
35458 (realclean): Remove target.
35459 (generated): Add new variable with contents from mostlyclean and
35460 realclean, remove entries duplicated in common-mostlyclean, add
35461 stamp-libm-err and stamp-version.
35462 (generated-dirs): Add libc directory.
35463 ($(inst_infodir)/libc.info): Install files from build dir.
35464
35465 * manual/install.texi (Configuring and compiling): Adjust since
35466 the info files are not part of the tar ball anymore.
35467
7ac77294
AJ
354682012-05-14 Andreas Jaeger <aj@suse.de>
35469
35470 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35471 variable.
35472
ffb7875d
JM
354732012-05-14 Joseph Myers <joseph@codesourcery.com>
35474
35475 [BZ #13717]
35476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35477 to 2.2.0 where earlier.
35478 * sysdeps/unix/sysv/linux/configure: Regenerated.
35479 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35480 Remove conditional code.
35481 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35482 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35483 Remove conditional code.
35484 [!__NR_lchown]: Likewise.
35485 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35486 [__NR_lchown]: Likewise.
35487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35488 comment referencing __ASSUME_LCHOWN_SYSCALL.
35489 * sysdeps/unix/sysv/linux/i386/sigaction.c
35490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35492 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35493 Remove conditional code.
35494 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35495 (__protocol_available): Remove #if 0 code.
35496 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35497 conditional code.
35498 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35499 * sysdeps/unix/sysv/linux/kernel-features.h
35500 (__ASSUME_GETCWD_SYSCALL): Don't define.
35501 (__ASSUME_REALTIME_SIGNALS): Likewise.
35502 (__ASSUME_PREAD_SYSCALL): Likewise.
35503 (__ASSUME_PWRITE_SYSCALL): Likewise.
35504 (__ASSUME_POLL_SYSCALL): Likewise.
35505 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35506 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35507 non-SPARC.
35508 (__ASSUME_SIOCGIFNAME): Don't define.
35509 (__ASSUME_MSG_NOSIGNAL): Likewise.
35510 (__ASSUME_SENDFILE): Define unconditionally.
35511 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35512 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35513 conditional code.
35514 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35515 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35516 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35517 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35518 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35519 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35520 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35522 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35525 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35528 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35531 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35534 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35540 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35545 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35546 Remove conditional code.
35547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35548 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35549 Remove conditional code.
35550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35551 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35552 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35553 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35554 Remove conditional code.
35555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35556 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35557 Remove conditional code.
35558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35559 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35560 Remove conditional code.
35561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35562 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35563 Remove conditional code.
35564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35565 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35566 Remove conditional code.
35567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35568 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35571 * sysdeps/unix/sysv/linux/sigaction.c
35572 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35573 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35574 * sysdeps/unix/sysv/linux/sigpending.c
35575 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35576 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35577 * sysdeps/unix/sysv/linux/sigprocmask.c
35578 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35579 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35580 * sysdeps/unix/sysv/linux/sigsuspend.c
35581 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35582 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35583 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35584 (__libc_missing_rt_sigs): Remove.
35585 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35586 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35587 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35588 Remove conditional code.
35589 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35590 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35591 return 1.
35592 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35593 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35594 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35595 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35596
1bfb7291
AJ
355972012-05-14 Andreas Jaeger <aj@suse.de>
35598
caae5a81
AJ
35599 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35600 it's not used in glibc.
35601 (__coshm1): Likewise.
35602 (__acosh1p): Likewise.
35603 (__sgn): Likewise.
35604
1bfb7291
AJ
35605 * manual/string.texi (Copying and Concatenation): Add missing
35606 variable in concat example.
35607 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35608
c044d724
L
356092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35610
144c5467 35611 [BZ #14103]
c044d724
L
35612 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35613 __builtin_clzl with __builtin_clzll.
35614
2523c62b
L
356152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35616
35617 [BZ #14104]
35618 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35619 libc_freeres_ptr.
35620
d7bb4c42
LD
356212012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35622
35623 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35624 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35625 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35626 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35627
9dc4e1fb
MF
356282012-05-14 Mike Frysinger <vapier@gentoo.org>
35629
35630 * NEWS: Update ia64 info.
35631
c7df0112
AS
356322012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35633
35634 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35635 used as bcopy.
35636
dc70356c
TS
356372012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35638
35639 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35640 * sysdeps/unix/syscalls.list (dup3): Likewise.
35641 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35642 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35643
9fb1a21f
L
356442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35645
35646 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35647 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35648
4822a2a5
L
356492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35650
35651 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35652 thread pointer.
35653 (TLS_IE): Use mov/add instead of movq/addq to load thread
35654 pointer.
35655 (TLS_GD_PREFIX): New.
35656 (TLS_GD): Use it.
35657
842b81d6
DM
356582012-05-11 David S. Miller <davem@davemloft.net>
35659
35660 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35661 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35662 (_FPU_SETCW): Likewise.
35663
1cf463cd
L
356642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35665
35666 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35667 is 32-byte aligned.
35668
60cc4a18
AS
356692012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35670
35671 [BZ #11837]
35672 * iconvdata/gb18030.c: Update tables.
35673 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35674 characters specially.
35675 (BODY for TO_LOOP): Add encoding of missing ranges.
35676
febb44a4
TS
356772012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35678
35679 [BZ #13673]
35680 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35681 * sysdeps/mach/hurd/dup3.c: Likewise.
35682 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35683 * sysdeps/powerpc/memmove.c:: Likewise.
35684
0a10fb9e
L
356852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35686
35687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35688 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35689
df8a552f
L
356902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35691
35692 * elf/elf.h (R_X86_64_RELATIVE64): New.
35693 (R_X86_64_NUM): Updated.
35694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35695 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35696 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35697 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35698 tst-quad1pie tst-quad2pie
35699 (modules-names): Add tst-quadmod1 tst-quadmod2.
35700 ($(objpfx)tst-quad1): New dependency.
35701 ($(objpfx)tst-quad2): Likewise.
35702 ($(objpfx)tst-quad1pie): Likewise.
35703 ($(objpfx)tst-quad2pie): Likewise.
35704 * sysdeps/x86_64/tst-quad1.c: New file.
35705 * sysdeps/x86_64/tst-quad1pie.c: New file.
35706 * sysdeps/x86_64/tst-quad2.c: Likewise.
35707 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35708 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35709 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35710 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35711 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35712
f34d6f84
ST
357132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35714
f42d41d1
ST
35715 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35716 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35717 * streams/stropts.h (t_scalar_t): Define type.
35718
3c3571fc
ST
35719 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35720 (_PATH_PRESERVE): Set to "/var/lib".
35721 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35722
61f06bd3
ST
35723 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35724 instead of int.
35725
918d4d71
ST
35726 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35727 if __dir_mkfile succeeded.
35728
f34d6f84
ST
35729 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35730 checking for _hurd_dtablesize. Unlock it right after having
35731 finished _hurd_dtable allocation.
35732
10589b4a
TS
357332012-05-10 Thomas Schwinge <thomas@schwinge.name>
35734
674cdbc7
TS
35735 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35736 * sysdeps/mach/hurd/configure: Regenerated.
35737 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35738 special-casing to...
35739 * sysdeps/gnu/configure.in: ... this new file.
35740 * sysdeps/unix/sysv/linux/configure: Regenerated.
35741 * sysdeps/gnu/configure: New generated file.
35742
8e41b99f
TS
35743 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35744 for Linux: use nsec instead of usec, as well as:
35745 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35746 members of type struct timespec.
35747 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35748 New macros.
35749 (struct stat64): Likewise.
35750 (_STATBUF_ST_NSEC): New macro.
35751 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35752
10589b4a
TS
35753 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35754 __strtoul_internal rather than strtoul.
35755
63643c85
PT
357562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35757
35758 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35759 and reject them.
35760
3faebe6a
ST
357612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35762
35763 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35764 which preserves existing values.
35765 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35766
c6474b07
PT
357672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35768
35769 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35770 TIMEOUT values. Return EINVAL for NFDS values either negative or
35771 greater than FD_SETSIZE.
35772
1043890b
ST
357732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35774
35775 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35776 allocated, call __vm_protect to finish enabling the existing space, and
35777 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35778 allocate the remainder.
35779
37ed8b9b
PT
357802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35781
35782 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35783 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35784
db653660
ST
357852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35786
37ed8b9b
PT
35787 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35788 sysdeps/mach/hurd/readlink.c.
b29d4053 35789
db653660
ST
35790 * posix/tst-sysconf.c (posix_options): Only use
35791 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35792 _POSIX_SYNCHRONIZED_IO when they are defined
35793 * sysdeps/mach/hurd/bits/posix_opt.h:
35794 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35795 (_XOPEN_REALTIME): Undefine macro.
35796 (_XOPEN_REALTIME_THREADS): Undefine macro.
35797 (_XOPEN_SHM): Undefine macro.
35798 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35799 macro to -1.
35800 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35801 macro to -1.
35802 (_POSIX_ASYNC_IO): Undefine macro.
35803 (_POSIX_PRIORITIZED_IO): Undefine macro.
35804 (_POSIX_SPIN_LOCKS): Define macro to -1.
35805
ee16e894
ST
35806 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35807 SA_NODEFER, SA_RESETHAND.
35808 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35809 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35810 F_DUPFD_CLOEXEC.
35811
6103ae3b
TS
358122012-05-10 Thomas Schwinge <thomas@schwinge.name>
35813
35814 * elf/Makefile (pldd-modules): Define unconditionally.
35815
80b4e5f3
TS
358162012-05-10 Thomas Schwinge <thomas@schwinge.name>
35817
35818 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35819
edadcbd6
ST
358202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35821
35822 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35823 Return ENOENT when name is empty.
35824 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35825
80694780
TS
358262012-05-10 Thomas Schwinge <thomas@schwinge.name>
35827
1792c087
TS
35828 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35829
80694780
TS
35830 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35831
6b645f0d
ST
358322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35833
80694780
TS
35834 Fix mlock in all cases except non-readable pages.
35835 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35836 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35837
6b645f0d
ST
35838 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35839 (__mkdir): When path is `/', just fail with EEXIST.
35840 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35841
e468f8a3
TS
358422012-05-10 Thomas Schwinge <thomas@schwinge.name>
35843
35844 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35845 <sys/uio.h> (for writev).
35846 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35847 and <sys/param.h> (for MIN).
35848
a4186cff
PT
358492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35850
35851 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35852 REQUESTED_TIME. Properly set the remaining time and return EINTR
35853 if interrupted.
35854
510bbf14
TS
358552012-05-10 Thomas Schwinge <thomas@schwinge.name>
35856
35857 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35858 Depend on against $(link-rpcuserlibs).
35859
5d5722e8
ST
358602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35861
a4186cff
PT
35862 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35863 (__libc_stack_end): Do not use attribute_relro.
35864 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35865 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35866 to libthread-provided value.
a4186cff
PT
35867 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35868 attribute_relro.
5d5722e8 35869
37233df9
TS
358702012-05-10 Thomas Schwinge <thomas@schwinge.name>
35871
be971a2b
TS
35872 [BZ #3748]
35873 * bits/libc-lock.h (__libc_once_get): New macro.
35874 * sysdeps/mach/bits/libc-lock.h: Likewise.
35875 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35877 instead of using implementation details.
35878
37233df9
TS
35879 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35880 * libio/freopen.c: Likewise.
35881 * libio/freopen64.c: Likewise.
35882 * misc/syslog.c: Likewise.
35883 * nscd/connections.c: Likewise.
35884 * nscd/netgroupcache.c: Likewise.
35885 * sysdeps/posix/getcwd.c: Likewise.
35886
38de94a5
RM
358872012-05-10 Roland McGrath <roland@hack.frob.com>
35888
35889 * math/w_ilogbf.c: Add #include <limits.h>.
35890
67530489
ST
358912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35892
a4186cff 35893 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35894 path instead of returning without unlocking.
35895
67530489
ST
35896 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35897 immediate-write ioctls.
35898 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35899
5aa3a74a
TS
359002012-05-10 Thomas Schwinge <thomas@schwinge.name>
35901
18bad2ae
TS
35902 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35903 __builtin_frame_address instead of making assumptions about the
35904 location of the return address relative to DATA. Force early load of
35905 the return address.
35906 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35907 __builtin_frame_address.
35908
5aa3a74a
TS
35909 dup3 for GNU Hurd.
35910 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35911 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35912 implement dup3 and do some further code clean-ups.
35913 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35914 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35915
ecd0de9a
ST
359162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35917
cd9fa985
ST
35918 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35919
a4186cff
PT
35920 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35921 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35922 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35923 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35924 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35925 d->port.lock.
802ca5a5 35926
a4186cff
PT
35927 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35928 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35929 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35930
bcf55240
TS
359312012-05-10 Thomas Schwinge <thomas@schwinge.name>
35932
6960eb42
TS
35933 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35934 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35935 definitions.
35936
eb43375f
TS
35937 accept4 for GNU Hurd.
35938 * include/sys/socket.h (__libc_accept4): New prototype.
35939 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35940 to implement __libc_accept4.
35941 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35942 __libc_accept4.
35943 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35944
bcf55240
TS
35945 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35946 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35947 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35948 signal-defines.sym.
35949
6178c55b
ST
359502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35951
a4186cff 35952 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35953
6f080c2f
TS
359542012-05-10 Thomas Schwinge <thomas@schwinge.name>
35955
35956 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35957 assertion on O_CLOEXEC flag.
35958 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35959 * hurd/intern-fd.c: Likewise.
35960 * hurd/port2fd.c: Likewise.
35961
bcfe3a54
ST
359622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35963
35964 [BZ #3906]
35965 * bits/in.h (IPV6_PKTINFO): Define new macro.
35966 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35967
89c9aa49
AZ
359682012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35969
35970 [BZ #13954]
35971 [BZ #13955]
35972 [BZ #13956]
35973 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35975 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35976 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35978 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35979 * math/libm-test.inc (logb_test) : Additional logb tests.
35980
021db4be
AJ
359812012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35982 Andreas Jaeger <aj@suse.de>
35983
35984 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35985 * configure: Regenerated.
35986 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35987 * config.make.in (link-obsolete-rpc): New substituted variable.
35988 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35989 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35990 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35991 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35992 so that libc.a contains the symbols.
35993 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35994 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35995 * sunrpc/auth_none.c: Likewise.
35996 * sunrpc/auth_unix.c: Likewise.
35997 * sunrpc/authdes_prot.c: Likewise.
35998 * sunrpc/authuxprot.c: Likewise.
35999 * sunrpc/clnt_gen.c: Likewise.
36000 * sunrpc/clnt_perr.c: Likewise.
36001 * sunrpc/clnt_raw.c: Likewise.
36002 * sunrpc/clnt_simp.c: Likewise.
36003 * sunrpc/clnt_tcp.c: Likewise.
36004 * sunrpc/clnt_udp.c: Likewise.
36005 * sunrpc/clnt_unix.c: Likewise.
36006 * sunrpc/des_crypt.c: Likewise.
36007 * sunrpc/des_soft.c: Likewise.
36008 * sunrpc/get_myaddr.c: Likewise.
36009 * sunrpc/key_call.c: Likewise.
36010 * sunrpc/key_prot.c: Likewise.
36011 * sunrpc/netname.c: Likewise.
36012 * sunrpc/pm_getmaps.c: Likewise.
36013 * sunrpc/pm_getport.c: Likewise.
36014 * sunrpc/pmap_clnt.c: Likewise.
36015 * sunrpc/pmap_prot.c: Likewise.
36016 * sunrpc/pmap_prot2.c: Likewise.
36017 * sunrpc/pmap_rmt.c: Likewise.
36018 * sunrpc/publickey.c: Likewise.
36019 * sunrpc/rpc_cmsg.c: Likewise.
36020 * sunrpc/rpc_common.c: Likewise.
36021 * sunrpc/rpc_dtable.c: Likewise.
36022 * sunrpc/rpc_prot.c: Likewise.
36023 * sunrpc/rpc_thread.c: Likewise.
36024 * sunrpc/rtime.c: Likewise.
36025 * sunrpc/svc.c: Likewise.
36026 * sunrpc/svc_auth.c: Likewise.
36027 * sunrpc/svc_raw.c: Likewise.
36028 * sunrpc/svc_run.c: Likewise.
36029 * sunrpc/svc_tcp.c: Likewise.
36030 * sunrpc/svc_udp.c: Likewise.
36031 * sunrpc/svc_unix.c: Likewise.
36032 * sunrpc/svcauth_des.c: Likewise.
36033 * sunrpc/xcrypt.c: Likewise.
36034 * sunrpc/xdr.c: Likewise.
36035 * sunrpc/xdr_array.c: Likewise.
36036 * sunrpc/xdr_float.c: Likewise.
36037 * sunrpc/xdr_intXX_t.c: Likewise.
36038 * sunrpc/xdr_mem.c: Likewise.
36039 * sunrpc/xdr_rec.c: Likewise.
36040 * sunrpc/xdr_ref.c: Likewise.
36041 * sunrpc/xdr_sizeof.c: Likewise.
36042 * sunrpc/xdr_stdio.c: Likewise.
36043
b5c086a2
RM
360442012-05-10 Roland McGrath <roland@hack.frob.com>
36045
36046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36047 change. Update copyright years.
36048
6d74dd09
JM
360492012-05-10 Joseph Myers <joseph@codesourcery.com>
36050
36051 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36052
28e72501
MK
360532012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36054 Joseph Myers <joseph@codesourcery.com>
36055 Paul Pluzhnikov <ppluzhnikov@google.com>
36056
36057 [BZ #14012]
36058 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36059 requiring rpcgen.
36060 [cross-compiling] (extra-libs): Likewise.
36061 [cross-compiling] (extra-libs-others): Likewise.
36062 [cross-compiling] (librpcsvc-routines): Likewise.
36063 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36064 [cross-compiling] (omit-deps): Likewise.
36065 (sunrpc-CPPFLAGS): New variable.
36066 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36067 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36068 (cross-rpcgen-objs): New variable.
36069 (extra-objs): Append $(cross-rpcgen-objs).
36070 ($(cross-rpcgen-objs)): New rule.
36071 ($(objpfx)cross-rpcgen): Likewise.
36072 (rpcgen-cmd): Define to use $(built-program-file). Expand
36073 comment.
36074 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36075 ($(objpfx)x%.stmp): Likewise.
36076 * sunrpc/proto.h [IS_IN_build] (_): Define.
36077 [IS_IN_build] (_libc_intl_domainname): Likewise.
36078
c8c59454
L
360792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36080
36081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36082 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36083 and R_X86_64_TPOFF64.
36084
6f27cd16
JM
360852012-05-10 Joseph Myers <joseph@codesourcery.com>
36086
36087 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36088 sysdeps/unix/sysv/syscalls.list.
36089 (stime): Likewise.
36090 (utime): Likewise.
36091 * sysdeps/unix/sysv/syscalls.list: Remove file.
36092
02467e1c
PE
360932012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36094
36095 [BZ #3440]
36096 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36097 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36098 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36099 (__LC_IDENTIFICATION): Make these macros useful in #if
36100 expressions, as required by C99.
36101
da392631
AS
361022012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36103
36104 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36105 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36106 after this.
36107
8115f29b
L
361082012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36109
36110 * stdlib/longlong.h: Updated from GCC.
36111
bdd74070
AJ
361122012-05-09 Andreas Jaeger <aj@suse.de>
36113
edfe0dbe
AJ
36114 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36115 default is first entry.
36116 (run_mode): Set type.
36117 (main): Remove informal message about syslog.
36118 (options): Fix typo.
36119
bcfe3a54
ST
36120 [BZ #14053]
36121 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36122 to asm.
bcfe3a54
ST
36123 (lrint): Likewise.
36124 (llrintf): Likewise.
36125 (llrint): Likewise.
36126 (rint): Likewise.
36127 (rintf): Likewise.
36128 (nearbyint): Likewise.
36129 (nearbyintf): Likewise.
bdd74070 36130
91d8d69e
AJ
361312012-05-09 Andreas Jaeger <aj@suse.de>
36132 Pedro Alves <palves@redhat.com>
36133
36134 * nscd/nscd.c (run_mode): Use enum.
36135 (main): Cleanup coding style issue.
36136
bb90b80b
AJ
361372012-05-09 Alexandre Oliva <aoliva@redhat.com>
36138 Andreas Jaeger <aj@suse.de>
36139
bcfe3a54
ST
36140 * nscd/nscd.c (go_background): Replaced with...
36141 (run_mode): ... this.
bb90b80b 36142 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36143 (options): Add -F --foreground.
36144 (main): Implement it.
36145 (parse_opt): Parse it.
bb90b80b 36146
1a4b75a1
AJ
361472012-05-09 Andreas Jaeger <aj@suse.de>
36148
36149 [BZ #14083]
36150 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36151 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36152 -Wconversion warning.
36153 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36154 Likewise.
36155
b1cc2472
JM
361562012-05-09 Joseph Myers <joseph@codesourcery.com>
36157
36158 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36159 == 0.
36160 (LC_ALL): Use macro-int-constant.
36161 (LC_COLLATE): Likewise.
36162 (LC_CTYPE): Likewise.
36163 (LC_MESSAGES): Likewise.
36164 (LC_MONETARY): Likewise.
36165 (LC_NUMERIC): Likewise.
36166 (LC_TIME): Likewise.
36167 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36168 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36170 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36171 Specify type.
36172 [C99-based standards] (float_t): Expect type.
36173 [C99-based standards] (double_t): Expect type.
36174 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36175 type.
36176 [C99-based standards] (HUGE_VALL): Likewise.
36177 [C99-based standards] (INFINITY): Likewise.
36178 [C99-based standards] (NAN): Likewise.
36179 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36180 [C99-based standards] (FP_NAN): Likewise.
36181 [C99-based standards] (FP_NORMAL): Likewise.
36182 [C99-based standards] (FP_SUBNORMAL): Likewise.
36183 [C99-based standards] (FP_ZERO): Likewise.
36184 [C99-based standards] (FP_FAST_FMA): Use
36185 optional-macro-int-constant. Specify type. Require == 1.
36186 [C99-based standards] (FP_FAST_FMAF): Likewise.
36187 [C99-based standards] (FP_FAST_FMAL): Likewise.
36188 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36189 [C99-based standards] (FP_ILOGBNAN): Likewise.
36190 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36191 Specify type.
36192 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36193 [C99-based standards] (math_errhandling): Specify type.
36194 [ISO99 || ISO11] (signgam): Do not allow.
36195 [non-C99-based standards] (copysignf): Do not allow.
36196 [non-C99-based standards] (exp2f): Likewise.
36197 [non-C99-based standards] (log2f): Likewise.
36198 [non-C99-based standards] (modff): Allow.
36199 [non-C99-based standards] (erff): Do not allow.
36200 [non-C99-based standards] (erfcf): Likewise.
36201 [non-C99-based standards] (gammaf): Likewise.
36202 [non-C99-based standards] (hypotf): Likewise.
36203 [non-C99-based standards] (j0f): Likewise.
36204 [non-C99-based standards] (j1f): Likewise.
36205 [non-C99-based standards] (jnf): Likewise.
36206 [non-C99-based standards] (lgammaf): Likewise.
36207 [non-C99-based standards] (tgammaf): Likewise.
36208 [non-C99-based standards] (y0f): Likewise.
36209 [non-C99-based standards] (y1f): Likewise.
36210 [non-C99-based standards] (ynf): Likewise.
36211 [non-C99-based standards] (isnanf): Likewise.
36212 [non-C99-based standards] (acoshf): Likewise.
36213 [non-C99-based standards] (asinhf): Likewise.
36214 [non-C99-based standards] (atanhf): Likewise.
36215 [non-C99-based standards] (cbrtf): Likewise.
36216 [non-C99-based standards] (expm1f): Likewise.
36217 [non-C99-based standards] (ilogbf): Likewise.
36218 [non-C99-based standards] (log1pf): Likewise.
36219 [non-C99-based standards] (logbf): Likewise.
36220 [non-C99-based standards] (nextafterf): Likewise.
36221 [non-C99-based standards] (remainderf): Likewise.
36222 [non-C99-based standards] (rintf): Likewise.
36223 [non-C99-based standards] (scalbf): Likewise.
36224 [non-C99-based standards] (copysignl): Likewise.
36225 [non-C99-based standards] (exp2l): Likewise.
36226 [non-C99-based standards] (log2l): Likewise.
36227 [non-C99-based standards] (modfl): Allow.
36228 [non-C99-based standards] (erfl): Do not allow.
36229 [non-C99-based standards] (erfcl): Likewise.
36230 [non-C99-based standards] (gammal): Likewise.
36231 [non-C99-based standards] (hypotl): Likewise.
36232 [non-C99-based standards] (j0l): Likewise.
36233 [non-C99-based standards] (j1l): Likewise.
36234 [non-C99-based standards] (jnl): Likewise.
36235 [non-C99-based standards] (lgammal): Likewise.
36236 [non-C99-based standards] (tgammal): Likewise.
36237 [non-C99-based standards] (y0l): Likewise.
36238 [non-C99-based standards] (y1l): Likewise.
36239 [non-C99-based standards] (ynl): Likewise.
36240 [non-C99-based standards] (isnanl): Likewise.
36241 [non-C99-based standards] (acoshl): Likewise.
36242 [non-C99-based standards] (asinhl): Likewise.
36243 [non-C99-based standards] (atanhl): Likewise.
36244 [non-C99-based standards] (cbrtl): Likewise.
36245 [non-C99-based standards] (expm1l): Likewise.
36246 [non-C99-based standards] (ilogbl): Likewise.
36247 [non-C99-based standards] (log1pl): Likewise.
36248 [non-C99-based standards] (logbl): Likewise.
36249 [non-C99-based standards] (nextafterl): Likewise.
36250 [non-C99-based standards] (remainderl): Likewise.
36251 [non-C99-based standards] (rintl): Likewise.
36252 [non-C99-based standards] (scalbl): Likewise.
36253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36254 [non-C99-based standards] (FP_*): Do not allow.
36255 [C99-based standards] (FP_*): Change to
36256 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36257 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36258 allow.
36259 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36260 (SIG_ERR): Likewise.
36261 [X/Open-based standards] (SIG_HOLD): Likewise.
36262 (SIG_IGN): Likewise.
36263 (SIGABRT): Use macro-int-constant. Specify type. Require
36264 positive value.
36265 (SIGFPE): Likewise.
36266 (SIGILL): Likewise.
36267 (SIGINT): Likewise.
36268 (SIGSEGV): Likewise.
36269 (SIGTER): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36288 [X/Open-based standards] (SIGTRAP): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36293 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36294 allow.
36295
b9f1922d
IW
362962012-05-08 Ian Wienand <ianw@vmware.com>
36297
36298 [BZ #14080]
36299 * time/tzset.c (__tzset_parse_tz): Update default rules for
36300 daylight time changes in the Energy Policy Act of 2005.
36301
1db86e88
AJ
363022012-05-09 Andreas Jaeger <aj@suse.de>
36303
36304 [BZ #13983]
36305 * elf/ldconfig.c (parse_conf): Change string to make clear that
36306 ldconfig only issued a warning if ld.so.conf does not exist.
36307
dee4a4e3
DM
363082012-05-08 David S. Miller <davem@davemloft.net>
36309
ee0db190
DM
36310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36311 movxtod instead of popping the value on the stack.
36312
dee4a4e3
DM
36313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36314
6a43ec98
CD
363152012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36316
36317 * config.h.in: Add HAVE_ARM_PCS_VFP.
36318
05c2c961
RMG
363192012-05-08 Roland Mc Grath <roland@hack.frob.com>
36320
bcfe3a54
ST
36321 [BZ #13979]
36322 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36323 checking but the checks are disabled for any reason.
05c2c961 36324
4b30f61a
L
363252012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36326
36327 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36328 and ELF64_R_TYPE with ELFW(R_TYPE).
36329
eee2bc67
JM
363302012-05-08 Joseph Myers <joseph@codesourcery.com>
36331
7ea5391a
JM
36332 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36333 (ulimit): Likewise.
36334
eee2bc67
JM
36335 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36336 (settimeofday): Likewise.
36337
abb66a67
MF
363382012-05-08 Mike Frysinger <vapier@gentoo.org>
36339
36340 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36341 a struct th_u2 inside the union, and move tu_block/tu_code into
36342 a new th_u3 union of tu_block/tu_code inside of that. Move
36343 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36344 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36345 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36346 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36347 (th_stuff): Change to th_u1.tu_stuff.
36348 (th_data): Define.
36349 (th_msg): Change to th_u1.th_u2.tu_data.
36350
7f18b530
DM
363512012-05-07 David S. Miller <davem@davemloft.net>
36352
05760585
DM
36353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36354
7f18b530
DM
36355 [BZ #14074]
36356 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36357 (SETUP_PIC_REG): Use it.
36358 (SETUP_PIC_REG_LEAF): Use it.
36359
495fd99f
JM
363602012-05-07 Joseph Myers <joseph@codesourcery.com>
36361
36362 [BZ #13885]
36363 [BZ #13923]
36364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36365 USE_AS_EXPM1L.
36366 (EXPL_FINITE): Likewise.
36367 (FLDLOG): Likewise.
36368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36369 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36370 e_expl.S.
36371 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36372 USE_AS_EXPM1L.
36373 (EXPL_FINITE): Likewise.
36374 (FLDLOG): Likewise.
36375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36376 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36377 e_expl.S.
36378 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36379 test of -max_value argument for long double.
36380 * sysdeps/i386/fpu/libm-test-ulps: Update.
36381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36382
6693d694
DM
363832012-05-06 David S. Miller <davem@davemloft.net>
36384
36385 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36386 quad soft-float symbols whose references which are compiler
36387 generated.
36388 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36389
6c23e11c
JM
363902012-05-06 Joseph Myers <joseph@codesourcery.com>
36391
d8b82cad
JM
36392 [BZ #13884]
36393 [BZ #13914]
36394 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36395 USE_AS_EXP10L.
36396 (EXPL_FINITE): Likewise.
36397 (FLDLOG): Likewise.
36398 (c0): Likewise.
36399 (c1): Likewise.
36400 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36401 Adjust comments for base varying.
36402 (__expl_finite): Change alias to EXPL_FINITE.
36403 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36404 e_expl.S.
36405 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36406 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36407 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36408 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36409 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36410 USE_AS_EXP10L.
36411 (EXPL_FINITE): Likewise.
36412 (FLDLOG): Likewise.
36413 (c0): Likewise.
36414 (c1): Likewise.
36415 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36416 Adjust comments for base varying.
36417 (__expl_finite): Change alias to EXPL_FINITE.
36418 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36419 tests for bugs.
36420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36421
6c23e11c
JM
36422 [BZ #14064]
36423 * math/libm-test.inc (check_float_internal): Correct ulp
36424 calculation for subnormal expected results.
36425
29ba805c
AJ
364262012-05-06 Andreas Jaeger <aj@suse.de>
36427
36428 * Makeconfig (+math-flags): New, set to -frounding-math.
36429 (+cflags): Add +math-flags so that all of glibc gets compiled with
36430 it.
36431
36432 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36433
7b17aeda
JM
364342012-05-05 Joseph Myers <joseph@codesourcery.com>
36435
5779f134
JM
36436 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36437 Disable one test.
36438
41498f4d
JM
36439 [BZ #13787]
36440 [BZ #13922]
36441 [BZ #14036]
36442 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36443 (__ieee754_expl): Allow for and saturate large arguments.
36444 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36445 (u_threshold): Likewise.
36446 (__exp): Call __ieee754_exp before checking for overflow and
36447 underflow.
36448 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36449 (u_threshold): Likewise.
36450 (__expf): Call __ieee754_expf before checking for overflow and
36451 underflow.
36452 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36453 (u_threshold): Likewise.
36454 (__expl): Call __ieee754_expl before checking for overflow and
36455 underflow.
36456 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36457 (__ieee754_expl): Allow for and saturate large arguments.
36458 * math/libm-test.inc (exp_test): Add another test. Do not allow
36459 missing overflow exception on overflow.
36460 (expm1_test): Do not allow missing overflow exception on overflow.
36461
6698b8bf
JM
36462 * sysdeps/i386/fpu/e_expl.c: Move to ...
36463 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36464 rather than using inline asm.
36465 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36466 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36467 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36468
7b17aeda
JM
36469 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36470 (nice): Likewise.
36471 (poll): Likewise.
36472 (signal): Likewise.
36473 (time): Likewise.
36474 (times): Likewise.
36475
f7c85819
JM
364762012-05-04 Joseph Myers <joseph@codesourcery.com>
36477
36478 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36479 sysdeps/unix/common/syscalls.list.
36480 (fchmod): Likewise.
36481 (fchown): Likewise.
36482 (ftruncate): Likewise.
36483 (getrusage): Likewise.
36484 (gettimeofday): Likewise.
36485 (setpgid): Likewise.
36486 (setregid): Likewise.
36487 (setreuid): Likewise.
36488 (sigaction): Likewise.
36489 (truncate): Likewise.
36490 (vhangup): Likewise.
36491 * sysdeps/unix/common/syscalls.list: Remove file.
36492 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36493 * sysdeps/unix/sysv/linux/Implies: Likewise.
36494
336270d0
L
364952012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36496
36497 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36499 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36500 Moved to ...
36501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36502 Here.
36503 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36504 to ...
36505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36506 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36507 to ...
36508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36509 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36510 to ...
36511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36512 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36513 to ...
36514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36515 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36516 to ...
36517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36518 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36519 to ...
36520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36521 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36522 to ...
36523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36524 Here.
36525 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36526 to ...
36527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36528 Here.
36529 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36530 to ...
36531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36532 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36533 Moved to ...
36534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36535 Here.
36536 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36537 to ...
36538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36539
d128e450
JM
365402012-05-04 Joseph Myers <joseph@codesourcery.com>
36541
fa8ee516
JM
36542 * sysdeps/unix/common/bits/dirent.h: Remove file.
36543 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36544
d128e450
JM
36545 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36546 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36547 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36548 * sysdeps/unix/bsd/isatty.c: Likewise.
36549 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36550 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36551 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36552
ff8faaf0 365532012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36554
62881be4 36555 [BZ #13563]
31dc8730
AZ
36556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36557 long double comparison inaccuracies.
36558 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36560
6fef930c
AS
365612012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36562
36563 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36565
8f203e6c
JM
365662012-05-04 Joseph Myers <joseph@codesourcery.com>
36567
36568 [BZ #14049]
36569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36570 nonzero digits before rounding a hex value.
36571 * stdlib/tst-strtod.c (tests): Add another test.
36572
5197d9c2
AK
365732012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36574
36575 * sysdeps/s390/fpu/libm-test-ulps: Update.
36576
f0c1dedf
AJ
365772012-05-03 Andreas Jaeger <aj@suse.de>
36578
36579 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36580 does not get optimized out.
36581 (malloc_opt_barrier): New.
36582
a65ef2ae 365832012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36584 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36585
2b942cb7 36586 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36587 intermediate file deletion.
2b942cb7 36588 (generated): Add .symlist files.
a65ef2ae 36589
54b71e02
JM
365902012-05-03 Joseph Myers <joseph@codesourcery.com>
36591
36592 [BZ #13775]
36593 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36594 Redirect under this condition.
36595 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36596 [__USE_GNU] (__dprintf_chk): Not under this condition.
36597 [__USE_GNU] (__vdprintf_chk): Likewise.
36598 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36599 under this condition.
36600 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36601 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36602 [__USE_XOPEN2K8] (vdprintf): Likewise.
36603 [__USE_GNU] (__dprintf_chk): Not under this condition.
36604 [__USE_GNU] (__vdprintf_chk): Likewise.
36605 [__USE_GNU] (dprintf): Likewise.
36606 [__USE_GNU] (vdprintf): Likewise.
36607
d3dfcc41
RM
366082012-05-03 Roland McGrath <roland@hack.frob.com>
36609
36610 * elf/Makefile (common-generated): Set this instead of generated for
36611 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36612 $(all-built-dso)-derived lists.
36613
7ac30cc5
AJ
366142012-05-03 Andreas Jaeger <aj@suse.de>
36615
0c51e550
AJ
36616 * sysdeps/i386/fpu/libm-test-ulps: Update.
36617
7ac30cc5
AJ
36618 * FAQ: Removed.
36619 * FAQ.in: Likewise.
36620 * scripts/gen-FAQ.pl: Likewise.
36621 * manual/install.texi (Installation): Point to online location of
36622 FAQ.
36623 * Makefile (files-for-dist): Remove FAQ.
36624 (FAQ): Remove.
36625
d4c2917f
AM
366262012-05-02 Allan McRae <allan@archlinux.org>
36627
36628 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36629 (LDFLAGS-reldepmod5.so): Likewise.
36630 (LDFLAGS-reldep6mod1.so): Likewise.
36631 (LDFLAGS-reldep6mod4.so): Likewise.
36632 (LDFLAGS-reldep8mod3.so): Likewise.
36633 (LDFLAGS-unload4mod1.so): Likewise.
36634 (LDFLAGS-unload4mod2.so): Likewise.
36635 (LDFLAGS-tst-initorder): Likewise.
36636 (LDFLAGS-tst-initordera2.so): Likewise.
36637 (LDFLAGS-tst-initordera3.so): Likewise.
36638 (LDFLAGS-tst-initordera4.so): Likewise.
36639 (LDFLAGS-tst-initorderb2.so): Likewise.
36640 (LDFLAGS-noload): Likewise.
36641 (LDFLAGS-next): Likewise.
36642 (LDFLAGS-order2mod1.so): Likewise.
36643 (LDFLAGS-order2mod2.so): Likewise.
36644 (LDFLAGS-tst-initorder2): Likewise.
36645 (LDFLAGS-tst-initorder2a.so): Likewise.
36646 (LDFLAGS-tst-initorder2b.so): Likewise.
36647 (LDFLAGS-tst-initorder2c.so): Likewise.
36648 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36649
d77f993f
DM
366502012-05-02 David S. Miller <davem@davemloft.net>
36651
36652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36653
171a70b4
PP
366542012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36655
36656 [BZ #14055]
36657 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36658
0be196ad
AJ
366592012-05-02 Andreas Jaeger <aj@suse.de>
36660
36661 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36662 since we manipulate rounding mode.
36663 (CPPFLAGS-test-idouble.c): Likewise.
36664 (CPPFLAGS-test-ifloat.c): Likewise.
36665 (CFLAGS-test-ldouble.c): Likewise.
36666 (CFLAGS-test-double.c): Likewise.
36667 (CFLAGS-test-float.c): Likewise.
36668 (CFLAGS-test-misc.c): Likewise.
36669 (CFLAGS-test-test-fenv.c): Likewise.
36670
4f9d04aa
AZ
366712012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36672
2b942cb7
RM
36673 [BZ #2550]
36674 [BZ #2570]
36675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36676 comparisons to determine direction to adjust input.
4f9d04aa 36677
82a79e7d
RM
366782012-05-01 Roland McGrath <roland@hack.frob.com>
36679
f5a01ca9
RM
36680 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36681 output to the target.
36682
90fe4186
RM
36683 * scripts/localplt.awk: New file.
36684 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36685 (check-localplt-CFLAGS): Variable removed.
36686 ($(all-built-dso:=.jmprel)): New static pattern rule.
36687 (generated): Add those targets.
36688 (localplt-built-dso): New variable.
36689 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36690
36691 * elf/check-localplt.c: File removed.
36692
82397ed6
RM
36693 * scripts/check-execstack.awk: New file.
36694 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36695 (check-execstack-CFLAGS): Variable removed.
36696 ($(objpfx)check-execstack.h): Target removed.
36697 ($(objpfx)execstack-default): New target.
36698 (generated): Add that instead of check-execstack.h.
36699 ($(all-built-dso:=.phdr)): New static pattern rule.
36700 (generated): Add those targets.
36701 * elf/check-execstack.c: File removed.
36702
82a79e7d
RM
36703 * scripts/check-textrel.awk: New file.
36704 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36705 (check-textrel-CFLAGS): Variable removed.
36706 (all-built-dso): Use := to define.o
36707 ($(all-built-dso:=.dyn)): New static pattern rule.
36708 (generated): Add those targets.
36709 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36710 * config.make.in (READELF): New substituted variable.
36711 * elf/check-textrel.c: File removed.
36712
62fde54f 367132012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36714
615605c9
JM
36715 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36716 allow.
36717 * conform/data/ctype.h-data [C99-based standards] (isblank):
36718 Expect function.
36719 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36720 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36722 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36723 Specify type. Require positive value.
36724 (EILSEQ): Likewise.
36725 (ERANGE): Likewise.
36726 [ISO || POSIX] (EILSEQ): Do not expect.
36727 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36728 Specify type. Require positive value.
36729 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36730 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36731 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36732 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36733 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36734 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36735 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36736 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36737 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36738 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36739 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36740 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36741 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36742 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36780 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36781 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36782 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36783 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36784 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36785 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36786 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36787 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36788 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36789 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36790 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36791 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36792 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36793 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36794 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36795 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36796 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36797 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36798 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36799 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36800 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36801 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36802 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36803 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36804 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36805 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36806 Require >= 2.
36807 (FLT_ROUNDS): Expect as macro, not constant.
36808 (FLT_MANT_DIG): Use macro-int-constant.
36809 (DBL_MANT_DIG): Likewise.
36810 (LDBL_MANT_DIG): Likewise.
36811 (FLT_DIG): Likewise.
36812 (DBL_DIG): Likewise.
36813 (LDBL_DIG): Likewise.
36814 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36815 (DBL_MIN_EXP): Likewise.
36816 (LDBL_MIN_EXP): Likewise.
36817 (FLT_MAX_EXP): Use macro-int-constant.
36818 (DBL_MAX_EXP): Likewise.
36819 (LDBL_MAX_EXP): Likewise.
36820 (FLT_MAX_10_EXP): Likewise.
36821 (DBL_MAX_10_EXP): Likewise.
36822 (LDBL_MAX_10_EXP): Likewise.
36823 (FLT_MAX): Use macro-constant.
36824 (DBL_MAX): Likewise.
36825 (LDBL_MAX): Likewise.
36826 (FLT_EPSILON): Use macro-constant. Give upper bound.
36827 (DBL_EPSILON): Likewise.
36828 (LDBL_EPSILON): Likewise.
36829 (FLT_MIN): Likewise.
36830 (DBL_MIN): Likewise.
36831 (LDBL_MIN): Likewise.
36832 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36833 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36834 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36835 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36836 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36837 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36838 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36839 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36840 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36841 [ISO11] (FLT_TRUE_MIN): Likewise.
36842 [ISO11] (LDBL_TRUE_MIN): Likewise.
36843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36844 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36845 (SCHAR_MIN): Use macro-int-constant. Specify type.
36846 (SCHAR_MAX): Likewise.
36847 (UCHAR_MAX): Likewise.
36848 (CHAR_MIN): Likewise.
36849 (CHAR_MAX): Likewise.
36850 (MB_LEN_MAX): Use macro-int-constant.
36851 (SHRT_MIN): Use macro-int-constant. Specify type.
36852 (SHRT_MAX): Likewise.
36853 (USHRT_MAX): Likewise.
36854 (INT_MAX): Likewise.
36855 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36856 bound negative.
36857 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36858 bound with "U".
36859 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36860 bound with "L".
36861 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36862 bound negative. Suffix upper bound with "L".
36863 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36864 bound with "UL".
36865 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36866 Specify type.
36867 [C99-based standards] (LLONG_MAX): Likewise.
36868 [C99-based standards] (ULLONG_MAX): Likewise.
36869 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36870 == 0.
36871 [ISO11] (max_align_t): Require type.
36872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36873
c9140a62
JM
36874 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36875 from $CFLAGS, without defining away __attribute__ calls.
36876 (checknamespace): Use $CFLAGS_namespace.
36877
9af0bf29
JM
36878 * conform/conformtest.pl (@keywords): Only include C99 keywords
36879 for standards based on C99 or C11.
36880
343222a2
JM
36881 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36882 Disable tests.
36883 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36884 UNIX98]: Likewise.
36885
661f8cf0
JM
36886 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36887 usability of symbols in #if.
36888
ee74b9cb
JM
36889 * conform/conformtest.pl: If macro or constant types start
36890 "promoted:", expect the symbol to be of the following type
36891 promoted by the integer promotions.
62fde54f 36892
aafc49b3
JM
36893 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36894 in one place. Also handle "macro-constant".
36895
fefdf574
JM
36896 * conform/conformtest.pl: Only accept expected macro values with
36897 "==". Parse all "macro" lines in one place.
36898 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36899
f2d922fe
JM
36900 * conform/conformtest.pl: Handle braced types on "constant" lines
36901 instead of handling "typed-constant".
36902 * conform/data/signal.h-data: Use "constant" instead of
36903 "typed-constant".
36904
d22956c9
JM
36905 * conform/conformtest.pl: Handle "optional-" at start of lines in
36906 one place rather than duplicating several cases. Handle each
36907 format of "macro" line with initial "optional-".
36908
028e2e38
JM
36909 * conform/conformtest.pl: Only accept expected constant or
36910 optional-constant values with "==". Parse all "constant" lines in
36911 one place. Parse all "optional-constant" lines in one place.
36912 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36913 * conform/data/fmtmsg.h-data: Likewise.
36914 * conform/data/netinet/in.h-data: Likewise.
36915 * conform/data/tar.h-data: Likewise.
36916 * conform/data/limits.h-data: Use "==" form on "constant" and
36917 "optional-constant" lines.
36918
1b8f2850
JM
36919 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36920 Use -std=c99 for XOPEN2K.
36921 (@knownproblems): Remove.
36922 (newtoken): Don't check %isknown.
36923
a05a144b
JM
36924 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36925 Do not expect macro.
36926 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36938 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36939 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36944 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36945 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36946 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36947 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36948 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36951 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36952 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36953 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36954 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36955 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36956 [XPG3] (acosh): Likewise.
36957 [XPG3] (asinh): Likewise.
36958 [XPG3] (atanh): Likewise.
36959 [XPG3] (cbrt): Likewise.
36960 [XPG3] (expm1): Likewise.
36961 [XPG3] (ilogb): Likewise.
36962 [XPG3] (log1p): Likewise.
36963 [XPG3] (logb): Likewise.
36964 [XPG3] (nextafter): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36967 [XPG3] (remainder): Likewise.
36968 [XPG3] (rint): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36973 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36974 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36976 [UNIX98 || XOPEN2K] (scalb): Expect.
36977 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36978 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36991 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37114
73c5ebe3
JM
37115 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37116 _XOPEN_SOURCE_EXTENDED for XPG4.
37117
39c33b6c
JM
37118 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37119
62fde54f
JM
37120 * Makeconfig (localtime): Remove variable.
37121 (inst_localtime-file): Likewise.
37122
0741d64c
AS
371232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37124
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37126 Update.
37127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37128 Update.
37129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37130 Update.
37131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37132 Update.
37133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37134 Update.
37135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37136 Update.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37138 Update.
37139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37140 Update.
37141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37142 Update.
37143
7cb029ee
JM
371442012-05-01 Joseph Myers <joseph@codesourcery.com>
37145
37146 [BZ #2550]
37147 [BZ #2570]
37148 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37149 comparisons to determine direction to adjust input.
37150 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37151 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37152 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37153 Likewise.
37154 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37155 Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37157 Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37160 Likewise.
37161 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37162 Likewise.
37163 * math/libm-test.inc (nexttoward_test): Add more tests.
37164
412bd966
AS
371652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37166
37167 [BZ #14040]
37168 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37169 in version GLIBC_2.1, not GLIBC_2.0.
37170 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37171 Likewise.
37172
9568c0c2
JM
371732012-04-30 Joseph Myers <joseph@codesourcery.com>
37174
adfbc8ac
JM
37175 [BZ #13942]
37176 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37177 (1 - x) * (1 + x).
37178 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37179 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37180 * math/libm-test.inc (acos_test): Add more tests.
37181 (asin_test): Likewise.
37182 * sysdeps/i386/fpu/libm-test-ulps: Update.
37183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37184
5ba3cc69
JM
37185 [BZ #14034]
37186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37187 of square root.
37188 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37189 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37190 * math/libm-test.inc (acos_test_tonearest): New function.
37191 (acos_test_towardzero): Likewise.
37192 (acos_test_downward): Likewise.
37193 (acos_test_upward): Likewise.
37194 (asin_test_tonearest): Likewise.
37195 (asin_test_towardzero): Likewise.
37196 (asin_test_downward): Likewise.
37197 (asin_test_upward): Likewise.
37198 (main): Call the new functions.
37199 * sysdeps/i386/fpu/libm-test-ulps: Update.
37200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37201
9568c0c2
JM
37202 [BZ #13884]
37203 [BZ #13924]
37204 * math/e_exp10.c: Include <float.h>.
37205 (__ieee754_exp10): Handle underflow here rather than multiplying
37206 large negative argument by M_LN10.
37207 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37208 of __ieee754_expf.
37209 * math/e_exp10l.c: Include <float.h>.
37210 (__ieee754_exp10l): Handle underflow here rather than multiplying
37211 large negative argument by M_LN10l.
37212 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37213 spurious overflow exception on underflow.
37214
5ac3ea17
MP
372152012-04-29 Marek Polacek <polacek@redhat.com>
37216
37217 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37218 (__fortify_function): New macro.
37219 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37220 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37221 __extern_always_inline.
37222 * libio/bits/stdio2.h: Likewise.
37223 * libio/bits/stdio.h: Likewise.
37224 * string/string.h: Likewise.
37225 * string/bits/string3.h: Likewise.
37226 * include/stdio.h: Likewise.
37227 * stdlib/bits/stdlib.h: Likewise.
37228 * stdlib/stdlib.h: Likewise.
37229 * rt/bits/mqueue2.h: Likewise.
37230 * rt/mqueue.h: Likewise.
37231 * posix/bits/unistd.h: Likewise.
37232 * posix/unistd.h: Likewise.
37233 * io/bits/poll2.h: Likewise.
37234 * io/bits/fcntl2.h: Likewise.
37235 * io/fcntl.h: Likewise.
37236 * io/sys/poll.h: Likewise.
37237 * misc/bits/syslog.h: Likewise.
37238 * misc/bits/syslog-ldbl.h: Likewise.
37239 * misc/sys/syslog.h: Likewise.
37240 * socket/bits/socket2.h: Likewise.
37241 * socket/sys/socket.h: Likewise.
37242 * debug/tst-chk1.c: Likewise.
37243 * wcsmbs/bits/wchar2.h: Likewise.
37244 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37245 * wcsmbs/wchar.h: Likewise.
37246
ecf0ebfb
AJ
372472012-04-29 Andreas Jaeger <aj@suse.de>
37248
37249 * Makerules (tests): Remove enable-check-abi protection.
37250 (check-abi-warn): Remove.
37251 (check-abi-%): Remove check-abi-warn usage.
37252
37253 * configure.in: Remove check-abi configure option.
37254 * configure: Regenerated.
37255 * config.make.in (enable-check-abi): Remove.
37256
6d5c57fa
AS
372572012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37258
24c5d07e 37259 [BZ #14033]
ded5180a
AS
37260 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37261 double functions to double *_finite functions.
37262
7e0d315d
AS
37263 [BZ #13941]
37264 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37265 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37266 LDBL_MIN_EXP.
37267 * stdio-common/Makefile (tests): Add tst-sprintf3.
37268 * stdio-common/tst-sprintf3.c: New file.
37269
6d5c57fa
AS
37270 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37271 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37272
0749ff8b
JM
372732012-04-28 Joseph Myers <joseph@codesourcery.com>
37274
37275 * conform/conformtest.pl: Remove duplicate typed-constant
37276 handling.
37277
8dbd5d7b
DM
372782012-04-28 David S. Miller <davem@davemloft.net>
37279
37280 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37281 (check-abi-%): Remove AWK script prerequisite and explicit
37282 abilist directory.
37283 (check-abi): Rewrite to just diff the symlist with the abilist.
37284 (config-tls, config-abi-config): Delete, no longer used.
37285 (update-abi-%): Remove AWK script and explicit abilist directory.
37286 (update-abi): Rewrite to simply compare and conditionally copy the
37287 symlist and the sysdep abilist file. Remove update-abi-config
37288 checks.
37289 * abilist/ld.abilist: Remove.
37290 * abilist/libBrokenLocale.abilist: Remove.
37291 * abilist/libanl.abilist: Remove.
37292 * abilist/libcrypt.abilist: Remove.
37293 * abilist/libdl.abilist: Remove.
37294 * abilist/librt.abilist: Remove.
37295 * abilist/libthread_db.abilist: Remove.
37296 * abilist/libutil.abilist: Remove.
37297 * scripts/extract-abilist.awk: Remove.
37298 * scripts/merge-abilist.awk: Remove.
37299 * sysdeps/generic/libcidn.abilist: New file.
37300 * sysdeps/generic/libnss_compat.abilist: New file.
37301 * sysdeps/generic/libnss_db.abilist: New file.
37302 * sysdeps/generic/libnss_dns.abilist: New file.
37303 * sysdeps/generic/libnss_files.abilist: New file.
37304 * sysdeps/generic/libnss_hesiod.abilist: New file.
37305 * sysdeps/generic/libnss_nis.abilist: New file.
37306 * sysdeps/generic/libnss_nisplus.abilist: New file.
37307 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37308 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37309 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37310 file.
37311 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37312 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37313 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37314 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37315 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37316 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37317 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37318 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37319 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37320 file.
37321 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37322 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37323 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37324 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37325 file.
37326 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37327 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37328 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37329 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37330 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37331 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37332 file.
37333 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37334 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37335 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37336 file.
37337 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37339 New file.
37340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37341 New file.
37342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37343 New file.
37344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37345 New file.
37346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37347 New file.
37348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37349 New file.
37350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37351 New file.
37352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37353 New file.
37354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37355 New file.
37356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37357 New file.
37358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37359 New file.
37360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37361 New file.
37362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37363 New file.
37364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37365 file.
37366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37367 New file.
37368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37369 New file.
37370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37371 file.
37372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37373 New file.
37374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37375 New file.
37376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37377 file.
37378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37379 New file.
37380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37381 New file.
37382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37383 New file.
37384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37385 New file.
37386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37387 New file.
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37389 New file.
37390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37392 file.
37393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37394 New file.
37395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37396 file.
37397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37398 file.
37399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37400 file.
37401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37402 file.
37403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37404 file.
37405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37406 New file.
37407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37408 file.
37409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37410 file.
37411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37412 New file.
37413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37414 file.
37415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37417 file.
37418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37419 New file.
37420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37421 file.
37422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37423 file.
37424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37425 file.
37426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37427 file.
37428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37429 file.
37430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37431 New file.
37432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37433 file.
37434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37435 file.
37436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37437 New file.
37438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37439 file.
37440 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37441 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37442 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37443 file.
37444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37445 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37446 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37447 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37448 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37449 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37450 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37451 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37452 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37453 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37456 file.
37457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37458 New file.
37459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37460 file.
37461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37462 file.
37463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37464 file.
37465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37466 file.
37467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37468 file.
37469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37470 New file.
37471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37472 New file.
37473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37474 file.
37475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37476 New file.
37477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37478 file.
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37481 file.
37482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37483 New file.
37484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37485 file.
37486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37487 file.
37488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37489 file.
37490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37491 file.
37492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37493 file.
37494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37495 New file.
37496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37497 New file.
37498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37499 file.
37500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37501 New file.
37502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37503 file.
37504
41d73a1b
JM
375052012-04-28 Joseph Myers <joseph@codesourcery.com>
37506
37507 * conform/conformtest.pl: Fix typo in handling typed-constant from
37508 allow-header.
37509
28aeeda4
JM
375102012-04-27 Joseph Myers <joseph@codesourcery.com>
37511
adae8f5e
JM
37512 * README: Cut down references to pre-2.6 Linux kernels and
37513 Linuxthreads. Update lists of configurations in libc and ports
37514 and sort alphabetically. Say "or newer" with Linux kernel version
37515 requirements.
37516
28aeeda4
JM
37517 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37518
a462cb63
RA
375192012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37520
37521 [BZ #887]
37522 * math/libm-test.inc (logb_test_downward): New test to expose
37523 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37524 rounding mode.
37525
6ad3493e
JM
375262012-04-27 Joseph Myers <joseph@codesourcery.com>
37527
37528 [BZ #14027]
37529 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37530 to be done.
37531 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37532 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37533
2ce4f015
JM
375342012-04-26 Joseph Myers <joseph@codesourcery.com>
37535
5aeb141a
JM
37536 * sysdeps/unix/i386/brk.S: Remove file.
37537 * sysdeps/unix/i386/dl-brk.S: Likewise.
37538 * sysdeps/unix/i386/pipe.S: Likewise.
37539 * sysdeps/unix/i386/sigreturn.S: Likewise.
37540 * sysdeps/unix/i386/syscall.S: Likewise.
37541 * sysdeps/unix/i386/vfork.S: Likewise.
37542 * sysdeps/unix/i386/wait.S: Likewise.
37543
7143acae
JM
37544 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37545 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37546
2ce4f015
JM
37547 * configure.in (arm*-none*): Do not allow without
37548 --enable-hacker-mode.
37549 (netbsd*): Remove case setting base_os.
37550 (386bsd*): Likewise.
37551 (freebsd*): Likewise.
37552 (bsdi*): Likewise.
37553 (osf*): Likewise.
37554 (sunos*): Likewise.
37555 (ultrix*): Likewise.
37556 (newsos*): Likewise.
37557 (dynix*): Likewise.
37558 (*bsd*): Likewise.
37559 (sysv*): Likewise.
37560 (isc*): Likewise.
37561 (esix*): Likewise.
37562 (sco*): Likewise.
37563 (minix*): Likewise.
37564 (irix4*): Likewise.
37565 (irix6*): Likewise.
37566 (solaris[2-9]*): Likewise.
37567 (none): Likewise.
37568 * configure: Regenerated.
37569
0ac229c8
AZ
375702012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37571
37572 [BZ #11521]
37573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37574 overflow or cancellation in calculating denominator.
37575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37577 down expression to avoid unexpected rounding in newer GCCs.
37578 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37579
33f244f4
DM
375802012-04-26 David S. Miller <davem@davemloft.net>
37581
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37583 long-double compat symbols.
37584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37597
cfa1f3e8
DM
375982012-04-25 David S. Miller <davem@davemloft.net>
37599
37600 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37601 HWCAP_* values only after the memory barriers have been defined.
37602 (atomic_full_barrier): Define.
37603 (atomic_read_barrier): Define.
37604 (atomic_write_barrier): Define.
37605
6e236b92
SP
376062012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37607
37608 * shlib-versions: Add libgcc_s version information.
37609 * sysdeps/generic/libgcc_s.h: Remove.
37610 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37611 libgcc_s.h.
37612 * sysdeps/gnu/unwind-resume.c: Likewise.
37613 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37614
aab39a09
DM
376152012-04-25 David S. Miller <davem@davemloft.net>
37616
37617 * sysdeps/unix/sparc/brk.S: Delete.
37618 * sysdeps/unix/sparc/dl-brk.S: Delete.
37619 * sysdeps/unix/sparc/pipe.S: Delete.
37620 * sysdeps/unix/sparc/sysdep.S: Delete.
37621 * sysdeps/unix/sparc/sysdep.h: Delete.
37622 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37623 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37624 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37625 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37626 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37627 (JUMPTARGET): Remove.
37628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37629 sysdeps/unix/sparc/sysdep.h
37630 (ENTRY, END): Remove.
37631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37632
a3cc4f48
JM
376332012-04-25 Joseph Myers <joseph@codesourcery.com>
37634
2ed8cda2
JM
37635 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37636 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37637 -DIS_IN_build.
37638
35d76d59
JM
37639 * timezone/README: Update upstream location and email address for
37640 tzcode and tzdata.
37641 * timezone/zdump.c: Update from tzcode 2012b.
37642 * timezone/zic.c: Likewise.
37643
a3cc4f48
JM
37644 * configure.in (libc_cv_as_needed): Remove test.
37645 * configure: Regenerated.
37646 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37647 conditional definition.
37648 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37649 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37650 * config.make.in (have-as-needed): Remove variable.
37651
ceab42c3
SP
376522012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37653 Paul Pluzhnikov <ppluzhnikov@google.com>
37654
37655 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37656 strings correctly.
37657
3ce2865f
CLT
376582012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37659
37660 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37661 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37662 * sysdeps/sh/strlen.S: Likewise.
37663
f37e0d68
JM
376642012-04-24 Joseph Myers <joseph@codesourcery.com>
37665
ae186e9a
JM
37666 * sysdeps/unix/fork.S: Remove file.
37667 * sysdeps/unix/i386/fork.S: Likewise.
37668 * sysdeps/unix/sparc/fork.S: Likewise.
37669
b96914af
JM
37670 * sysdeps/unix/system.c: Remove file.
37671 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37672
f37e0d68
JM
37673 * sysdeps/unix/getegid.S: Remove file.
37674 * sysdeps/unix/geteuid.S: Likewise.
37675
87ef29ca
RM
376762012-04-24 Roland McGrath <roland@hack.frob.com>
37677
83bcd236
RM
37678 * scripts/check-localplt.awk: New file.
37679 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37680 of diff.
37681 * scripts/data/localplt-generic.data: Add a comment.
37682
87ef29ca
RM
37683 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37684 NODE when __dir_mkfile failed.
37685 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37686 Reported by Ludovic Courtès <ludo@gnu.org>.
37687
e5a6e567
AJ
376882012-04-24 Andreas Jaeger <aj@suse.de>
37689
37690 * Makerules (common-clean): Also remove gen-as-const-headers
37691 files.
37692
c1820385
JM
376932012-04-24 Joseph Myers <joseph@codesourcery.com>
37694
37695 * Makerules (native-compile): Do not change working directory for
37696 build. Use $(OUTPUT_OPTION) in command.
37697 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37698
94e02fc4
AZ
376992012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37700
37701 [BZ #13886]
37702 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37703 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37704 * math/libm-test.inc (floor_test): Add more tests.
37705 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37706
3a533ca3
JM
377072012-04-24 Joseph Myers <joseph@codesourcery.com>
37708
940ab4b3
JM
37709 * sysdeps/unix/getdents.c: Remove file.
37710 * sysdeps/unix/sysv/getdents.c: Likewise.
37711 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37712
90e037bd
JM
37713 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37714 sysdeps/unix/mman/syscalls.list.
37715 (mmap): Likewise.
37716 (mprotect): Likewise.
37717 (msync): Likewise.
37718 (munmap): Likewise.
37719 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37720 * sysdeps/unix/mman/syscalls.list: Remove.
37721 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37722
3a533ca3
JM
37723 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37724 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37725 * configure: Regenerated.
37726 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37727 $(libgcc_s_suffix).
37728 * config.make.in (libgcc_s_suffix): Remove variable.
37729
1ad743de
JM
377302012-04-23 Joseph Myers <joseph@codesourcery.com>
37731
4ad451e2
JM
37732 * sysdeps/unix/sysv/gethostname.c: Move to ...
37733 * sysdeps/posix/gethostname.c: ... here.
37734
5e37ce39
JM
37735 * sysdeps/unix/execve.S: Remove file.
37736
1ad743de
JM
37737 * sysdeps/unix/_exit.S: Remove file.
37738
4e681b5b
AJ
377392012-04-23 Andreas Jaeger <aj@suse.de>
37740
37741 [BZ #13739]
37742 * manual/Makefile: Remove make dist support, there's no
37743 need for a stand-alone documentation tar ball.
37744 (TEXI2DVI): Define always, it's not in Makeconfig.
37745 (dist): Removed.
37746 (tar-it): Removed.
37747 (edition): Removed.
37748 (glibc-doc-$(edition).tar): Removed
37749 (%.Z): Removed.
37750 (%.gz): Removed.
37751 (%.uu): Removed.
37752 (ETAGS): Remove, it's in Makeconfig.
37753 (move-if-change): Remove, it's in Makeconfig.
37754
38686a03 377552012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37756
37757 [BZ #13970]
37758 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37759 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37760 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37761 (strtod_l, strtof_l, strtold_l): Remove __wur.
37762 It is not necessarily an error to ignore strtol's return value.
37763 One can reliably look at the stored endptr to decide whether
37764 the number had valid syntax.
37765
7c0616fa
AJ
377662012-04-21 Andreas Jaeger <aj@suse.de>
37767
803cb6b7 37768 [BZ #13739]
7c0616fa
AJ
37769 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37770
b0fe253f
JM
377712012-04-21 Joseph Myers <joseph@codesourcery.com>
37772
37773 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37774 * sysdeps/unix/sysv/Versions: Remove file.
37775
8280f22d
MT
377762012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37777
37778 [BZ #13927]
37779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37780
75ce411f 377812012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37782
37783 [BZ #7064]
37784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37785 version from __vm86.
37786
097d59fa
JM
377872012-04-20 Joseph Myers <joseph@codesourcery.com>
37788
a90f3bcb
JM
37789 * sysdeps/unix/common/lxstat.c: Remove file.
37790 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37791
edc7ea78
JM
37792 * sysdeps/unix/sysv/Makefile: Remove file.
37793
cb78c221
JM
37794 * sysdeps/unix/sysv/direct.h: Remove file.
37795
efa6a45f
JM
37796 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37797 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37798 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37799 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37800 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37801 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37802 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37803
9c9f2d0c
JM
37804 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37805
4541c83b
JM
37806 * sysdeps/unix/xmknod.c: Remove file.
37807 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37808
f5d153a0
JM
37809 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37810
aa746595
JM
37811 * sysdeps/unix/sysv/i386/time.S: Remove file.
37812
cce5905e
JM
37813 * sysdeps/unix/fxstat.c: Remove file.
37814 * sysdeps/unix/xstat.c: Likewise.
37815 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37816
37fa3841
JM
37817 * sysdeps/unix/sysv/sigaction.c: Remove file.
37818
ff1962a3
JM
37819 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37820 (sysdep_headers): Remove variable.
37821 [termio.h not in sysdep_headers] (generated): Likewise.
37822 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37823 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37824 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37825 * sysdeps/unix/sysv/tcflow.c: Likewise.
37826 * sysdeps/unix/sysv/tcflush.c: Likewise.
37827 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37828 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37829 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37830 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37831 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37832
e7740d31
JM
37833 * sysdeps/unix/siglist.c: Remove file.
37834
ee06f18b
JM
37835 * sysdeps/unix/getppid.S: Remove file.
37836
097d59fa
JM
37837 * sysdeps/unix/mkdir.c: Remove file.
37838 * sysdeps/unix/rmdir.c: Likewise.
37839
ff3d51ec
AS
378402012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37841
37842 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37843 ERR_MAX value.
37844 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37845 errlist-compat value.
37846
50f81fd7
DM
378472012-04-18 David S. Miller <davem@davemloft.net>
37848
37849 * sysdeps/generic/memcopy.h (reg_char): Delete.
37850 * debug/strcat_chk.c: Use char, not reg_char.
37851 * debug/strcpy_chk.c: Likewise.
37852 * debug/strncat_chk.c: Likewise.
37853 * debug/strncpy_chk.c: Likewise.
37854 * string/memchr.c: Likewise.
37855 * string/memrchr.c: Likewise.
37856 * string/rawmemchr.c: Likewise.
37857 * string/strcat.c: Likewise.
37858 * string/strchr.c: Likewise.
37859 * string/strchrnul.c: Likewise.
37860 * string/strcmp.c: Likewise.
37861 * string/strcpy.c: Likewise.
37862 * string/strncat.c: Likewise.
37863 * string/strncmp.c: Likewise.
37864 * string/strncpy.c: Likewise.
37865
8ff41c46
WS
378662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37867
37868 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37869 __builtin_memcopy is called when src and dest ranges are known to not
37870 overlap.
37871
6b652f46
WS
378722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37873
37874 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37875 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37876 fwd_align_merge macro call.
37877 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37878 bwd_align_merge macro call.
37879 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37880
b282631e
WS
378812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37882
37883 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37884 bwd_align_merge macros.
37885 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37886 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37888
95aa737c
DM
378892012-04-18 David S. Miller <davem@davemloft.net>
37890
37891 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37892
7a99a614
AJ
378932012-04-18 Andreas Jaeger <aj@suse.de>
37894
37895 [BZ# 6794]
37896 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37897 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37898 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37899
37900 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37901 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37902 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37903
37904 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37905 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37906 Adjust for changed ldbl-128 files.
37907
37908 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37909 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37910 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37911
e5270c23
DM
379122012-04-17 David S. Miller <davem@davemloft.net>
37913
37914 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37915
fb5e92c9
AS
379162012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37917
37918 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37919 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37920 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37921 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37922 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37923 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37924
76da7265
AZ
379252012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37926
37927 [BZ #6794]
37928 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37929 * math/libm-test.inc: Add ilogb errno and exception tests.
37930 * math/w_ilogb.c: New file: ilogb wrapper.
37931 * math/w_ilogbf.c: New file: ilogbf wrapper.
37932 * math/w_ilogbl.c: New file: ilogbl wrapper.
37933 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37934 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37935 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37936 exception being thrown with 0.0 as argument.
37937 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37938 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37939 exception being thrown with 0.0 as argument.
37940 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37941 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37942 exception being thrown with 0.0 as argument.
37943 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37944 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37945 exception being thrown with 0.0 as argument.
37946 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37947 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37948 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37949 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37950 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37951 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37952 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37953 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37954 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37955
0396e69d
PB
379562012-04-17 Petr Baudis <pasky@ucw.cz>
37957
37958 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37959 with altivec.
37960
750b5926
MP
379612012-04-16 Marek Polacek <polacek@redhat.com>
37962
37963 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37964
751728a1
MP
379652012-04-16 Marek Polacek <polacek@redhat.com>
37966
37967 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37968 operands of fdivp instruction.
37969
34a27407
L
379702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37971
37972 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37973 * elf/tst-auditmod3b.c: Likewise.
37974 * elf/tst-auditmod4b.c: Likewise.
37975 * elf/tst-auditmod5b.c: Likewise.
37976 * elf/tst-auditmod6b.c: Likewise.
37977 * elf/tst-auditmod6c.c: Likewise.
37978 * elf/tst-auditmod7b.c: Likewise.
37979 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37980 * sysdeps/x86_64/preconfigure.in: Likewise.
37981 * sysdeps/x86_64/preconfigure: Regenerated.
37982
7e73e17d
L
379832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37986 __ILP32__.
37987
c7a6ab72
AB
379882012-04-13 Antoine Balestrat <merkil33@gmail.com>
37989
37990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37991 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37992
a9e8e0e0
CL
379932012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37994
37995 [BZ #13973]
37996 * locale/iso-639.def: Fix gl language name. Spotted by
37997 Yaron Shahrabani.
37998
ec98af7d
RM
379992012-04-12 Roland McGrath <roland@hack.frob.com>
38000
38001 [BZ #2074]
38002 * libio/libio.h (__io_write_fn): Update comment.
38003
247c3ede
PB
380042012-04-12 Petr Baudis <pasky@ucw.cz>
38005
38006 [BZ #2074]
38007 * stdio.texi (Hook Functions): The user provided writer function
38008 is not allowed to return -1.
38009
55939d6d
DM
380102012-04-11 David S. Miller <davem@davemloft.net>
38011
38012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38013
90020f5a
MF
380142012-04-11 Mike Frysinger <vapier@gentoo.org>
38015
38016 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38017 Add a leading slash to rtkaio.
38018
288f9098
JM
380192012-04-11 Jim Meyering <meyering@redhat.com>
38020
90020f5a
MF
38021 [BZ #11959]
38022 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38023 It is not necessarily an error to ignore fwrite's return
38024 value. One can reliably use ferror to test for errors after
38025 the fact.
288f9098 38026
4be2b570
L
380272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38028
38029 * bits/types.h (__snseconds_t): New type.
38030 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38031
38032 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38034 (__SNSECONDS_T_TYPE): Likewise.
38035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38036 (__SNSECONDS_T_TYPE): Likewise.
38037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38038 (__SNSECONDS_T_TYPE): Likewise.
38039
288f9098 380402012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38041
38042 [BZ #2636]
38043 * manual/time.texi (Processor Time): Return type of times is
38044 elapsed real time since an arbitrary point in the past.
38045 (CPU Time): Move CLK_TCK from here...
38046 (Processor Time): ...to here. Correct description.
38047 * manual/conf.texi (Constants for Sysconf): Correct description of
38048 _SC_CLK_TCK.
38049
d7dd4413
DM
380502012-04-10 David S. Miller <davem@davemloft.net>
38051
38052 [BZ #13967]
38053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38054 where the is a gap between DT_REL(A) and DT_JMPREL.
38055
b46068fc
L
380562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38057
38058 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38061
73d65cc3
SP
380622012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38063
38064 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38065 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38066 (dl_main): Handle --inhibit-cache.
38067 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38068 _dl_inhibit_cache.
38069 * elf/dl-load.c (_dl_map_object): Use it.
38070 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38071
bcc8d661
JM
380722012-04-09 Joseph Myers <joseph@codesourcery.com>
38073
8f9a2fae
JM
38074 [BZ #13872]
38075 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38076 (__ieee754_powl): Saturate large exponents rather than testing for
38077 overflow of y*log2(x).
38078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38079 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38080 exceptions.
38081
bcc8d661
JM
38082 [BZ #11521]
38083 * math/s_ctan.c: Include <float.h>.
38084 (__ctan): Avoid internal overflow or cancellation in calculating
38085 denominator.
38086 * math/s_ctanf.c: Likewise.
38087 * math/s_ctanl.c: Likewise.
38088 * math/s_ctanh.c: Likewise.
38089 * math/s_ctanhf.c: Likewise.
38090 * math/s_ctanhl.c: Likewise.
38091 * math/libm-test.inc (ctan_test): Add more tests.
38092 (ctanh_test): Likewise.
38093 * sysdeps/i386/fpu/libm-test-ulps: Update.
38094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38095
823fbbb4
AJ
380962012-04-09 Andreas Jaeger <aj@suse.de>
38097
03879793
AJ
38098 [BZ #6894]
38099 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38100 is an optional BSD extension.
38101
823fbbb4
AJ
38102 [BZ #10254]
38103 * manual/stdio.texi (Opening Streams): Document additional fopen
38104 parameters.
38105
8de131cb
RM
381062012-04-09 Roland McGrath <roland@hack.frob.com>
38107
38108 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38109 %eax without telling the compiler.
38110
c0ed9d7d
CD
381112012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38112
38113 [BZ # 13963]
38114 * manual/install.texi: Use sourceware.org.
38115
c483f6b4
JM
381162012-04-09 Joseph Myers <joseph@codesourcery.com>
38117
d7dd9453
JM
38118 [BZ #13873]
38119 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38120 (__ieee754_pow): Generate overflow and underflow using huge*huge
38121 and tiny*tiny rather than just returning constant infinity or zero
38122 for large exponents.
38123 * math/libm-test.inc (pow_test): Require overflow exceptions for
38124 applicable cases of large exponents.
38125
c483f6b4
JM
38126 [BZ #706]
38127 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38128 (__ieee754_pow): Use iterative multiplication algorithm only for
38129 integer exponents with absolute value below 1024. Check for odd
38130 integer exponents when using algorithm for real exponents.
38131 * math/libm-test.inc (pow_test): Add more tests.
38132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38133
d2de7579
JM
381342012-04-08 Joseph Myers <joseph@codesourcery.com>
38135
38136 [BZ #13705]
38137 * math/libm-test.inc (exp_test): Do not allow overflow exception
38138 on underflow test.
38139
f77f1232
AJ
381402012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38141
38142 [BZ #13705]
38143 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38144 instead of __kernel_standard_f.
38145
3884932b
MF
381462012-04-08 Mike Frysinger <vapier@gentoo.org>
38147
38148 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38149 * sysdeps/x86_64/memset_chk.S: Likewise.
38150
54472e9c
AJ
381512012-04-08 Andreas Jaeger <aj@suse.de>
38152
6ab0fbfc
AJ
38153 [BZ #10153]
38154 * manual/startup.texi (Environment Access): Describe return value
38155 for putenv and setenv.
38156
61efba8c
AJ
38157 [BZ #6895]
38158 * manual/filesys.texi (Directory Entries): Add description for
38159 DT_LNK.
38160
95c3f29a
AJ
38161 [BZ #6890]
38162 * manual/filesys.texi (Directory Entries): Clarify that it's file
38163 system not operating system in the description of DT_UNKNOWN.
38164
54472e9c
AJ
38165 [BZ #6578]
38166 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38167
624254b1
SC
381682012-04-08 Stephen Compall <s11@member.fsf.org>
38169
38170 [BZ #6649]
38171 * manual/llio.texi (Opening and Closing Files): Add cross
38172 reference to explain mode argument.
38173
1e4920e0
MF
381742012-04-07 Mike Frysinger <vapier@gentoo.org>
38175
38176 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38177 * sysdeps/x86_64/memset_chk.S: Likewise.
38178
5ed848f3
DM
381792012-04-07 David S. Miller <davem@davemloft.net>
38180
38181 * elf/elf.h (R_SPARC_WDISP10): Define.
38182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38183 R_SPARC_SIZE32.
38184 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38185 R_SPARC_SIZE64 and R_SPARC_H34.
38186
96154cd8
CD
381872012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38188
38189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38190 conditions and remove no longer applicable assertion.
38191
9904dc47
L
381922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38193
38194 * bits/byteswap.h: Include <features.h>.
38195 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38196 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38197
f8887d0a
L
381982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38199
38200 * bits/byteswap.h (__bswap_16): Removed.
38201 Include <bits/byteswap-16.h> to get __bswap_16.
38202 * sysdeps/i386/bits/byteswap.h: Likewise.
38203 * sysdeps/s390/bits/byteswap.h: Likewise.
38204 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38205 * bits/byteswap-16.h: New file.
38206 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38207 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38208 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38209 * string/Makefile (headers): Add bits/byteswap-16.h.
38210
62470f60
PP
382112012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38212
38213 [BZ #13895]
38214 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38215 extra indirection.
38216 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38217 * nss/tst-nss-static.c: New.
38218
4dad7bab
RM
382192012-04-06 Robert Millan <rmh@gnu.org>
38220
38221 [BZ #6486]
38222 * manual/llio.texi (File Position Primitive): lseek
38223 refers to WHENCE when it really means OFFSET.
38224
e9142a17
AJ
382252012-04-06 Andreas Jaeger <aj@suse.de>
38226
2c040eff
AJ
38227 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38228 strncmp declarations.
38229
e9142a17
AJ
38230 * abilist/libc.abilist: Add __poll and __ppoll.
38231
ff9f1c5f
DM
382322012-04-05 David S. Miller <davem@davemloft.net>
38233
dcd2ae90
DM
38234 * scripts/check-local-headers.sh: Accept a host triplet in the
38235 path matched by the exclude regexp.
38236
993eb054
DM
38237 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38238 definition.
38239 * sysdeps/powerpc/powerpc32/dl-machine.h
38240 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38241 * sysdeps/s390/s390-32/dl-machine.h
38242 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38243 * sysdeps/sparc/sparc32/dl-machine.h
38244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38245 * sysdeps/sparc/sparc64/dl-machine.h
38246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38247
ff9f1c5f
DM
38248 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38249 lazy binding.
48e2e132 38250 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38251 undefined symbol errors.
38252
48e2e132 38253 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38254 DT_NEEDED entries.
38255
e80d6f94
MM
382562012-04-05 Michael Matz <matz@suse.de>
38257
38258 [BZ #13592]
38259 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38260
349fa79f
AJ
382612012-04-05 Andreas Jaeger <aj@suse.de>
38262
38263 [BZ #13908]
38264 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38265 comment.
38266
f402708f
KK
382672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38268
38269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38270 which ROUND is no valid rounding mode.
38271
2ecccfc9
KK
382722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38273
38274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38275 read again.
38276 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38277
8a53f50f
KK
382782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38279
38280 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38281 an exception using FPU order intentionally.
38282
382832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38284
38285 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38286 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38287 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38288 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38289
d653abb7
SJ
382902012-04-05 Simon Josefsson <simon@josefsson.org>
38291
38292 [BZ #12340]
38293 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38294 EINVAL when BUFLEN is too smal.
38295
c3b1bf7d
TS
382962012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38297
38298 [BZ #13553]
38299 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38300 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38301
b1aa60f3
AJ
383022012-04-03 Andreas Jaeger <aj@suse.de>
38303
c3b1bf7d 38304 [BZ #13938]
67f60a26
AJ
38305 * manual/setjmp.texi (System V contexts): Fix sentence.
38306
b1aa60f3
AJ
38307 [BZ #13926]
38308 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38309 New macro for this case.
38310 [!__GNUC__] (__bswap_64): New inline function for this case.
38311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38312 * bits/byteswap.h: Likewise.
38313 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38314 ull, guard with __GLIBC_HAVE_LONG_LONG.
38315
38316 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38317 __GLIBC_HAVE_LONG_LONG.
38318
38319 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38320 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38321
39c59c35
TMQMF
383222012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38323
38324 [BZ #13691]
38325 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38326 inptr and inend, rather than using last_ch.
38327
135ffda8
DM
383282012-04-02 David S. Miller <davem@davemloft.net>
38329
38330 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38331 * stdio-common/printf-parse.h (read_int): Change return type to
38332 'int', return -1 on INT_MAX overflow.
38333 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38334 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38335 overflows INT_MAX. Check for overflow of in-format-string precision
38336 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38337 SIZE_MAX not INT_MAX for integer overflow test.
38338 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38339 skip the construct in the format string but do not record anything.
38340 * stdio-common/bug22.c: Adjust to test both width/prevision
38341 INT_MAX overflow as well as total length INT_MAX overflow. Check
38342 explicitly for proper errno values.
38343
228c019e
TS
383442012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38345
302cadd3
TS
38346 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38347 CHAR_MAX.
38348 * string/test-strcmp.c [! WIDE]: Likewise.
38349 * time/tst-mktime2.c: Likewise for INT_MAX.
38350 * string/test-string.h: #include <sys/param.h> for MIN.
38351
228c019e
TS
38352 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38353 * sysdeps/i386/init-first.c (init): Likewise.
38354 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38355 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38356 * sysdeps/sh/init-first.c (init): Likewise.
38357
cfa633f5
UD
383582012-04-01 Ulrich Drepper <drepper@gmail.com>
38359
38360 * po/ru.po: Update from translation team.
d1635ef8 38361 * po/vi.po: Likewise.
cfa633f5 38362
6cd0a5ea
SP
383632012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38364
38365 * resolv/nss_dns/dns-host.c: Merge copyright years.
38366
4b43400f
LD
383672012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38368
38369 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38370 Optimize memcpy with prefetch if
38371 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38372 src, dst pointers have unequal 16 byte alignments.
38373
48c41d04
SP
383742012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38375
38376 [BZ #13928]
38377 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38378 from a CNAME entry and return the minimum ttl for the query.
38379 (gaih_getanswer_slice): Likewise.
38380
b8dc394d
JL
383812012-03-30 Jeff Law <law@redhat.com>
38382
38383 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38384 due to long keys.
38385 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38386 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38387
2f5a5ed0
JL
38388 * resolv/nss_dns/dns-host.c: Update copyright year.
38389
1d39e359
UD
383902012-03-30 Ulrich Drepper <drepper@gmail.com>
38391
c030f70c 38392 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38393 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38394
1d39e359
UD
38395 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38396 comments for sendmmsg.
38397
383982012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38399
38400 [BZ #13691]
38401 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38402 with only 1 character between 0x0041 and 0x01b0.
38403 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38404 * wcsmbs/tst-mbsnrtowcs.c: New file.
38405
20fde227
DM
384062012-03-29 David S. Miller <davem@davemloft.net>
38407
38408 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38409 small copies by hand.
38410
984a4237
JL
384112012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38412
38413 [BZ #13761]
57f41c40
AS
38414 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38415 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38416 group memberships.
984a4237 38417
18c9d62b
DM
384182012-03-28 David S. Miller <davem@davemloft.net>
38419
88d85d4f
DM
38420 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38421 that branches into memcpy.
38422 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38425 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38427 bits.
38428 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38429 implementation too.
38430 * sysdeps/sparc/mempcpy.S: New file.
38431
e5aa83e1
DM
38432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38433 the IFUNC routine in the libc case.
38434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38435
88570753
DM
38436 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38437 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38438 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38439 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38440 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38441 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38442 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38443 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38444
249d7567
DM
38445 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38446 loop to 256 bytes instead of 64 bytes and fix test signedness.
38447
18c9d62b
DM
38448 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38449 * sysdeps/sparc/sparc32/Makefile: rather than here...
38450 * sysdeps/sparc/sparc64/Makefile: and here.
38451
05f3d1f6
UD
384522012-03-28 Ulrich Drepper <drepper@gmail.com>
38453
38454 * malloc/mallocbug.c: Avoid warnings about unused variables.
38455
86ae07a8
JL
384562012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38457
38458 [BZ #13760]
38459 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38460 in the right place. Discard and retry query if response is
38461 larger than input buffer size.
38462
41bf21a1
JM
384632012-03-28 Joseph Myers <joseph@codesourcery.com>
38464
d6270972
JM
38465 [BZ #369]
38466 [BZ #2678]
38467 [BZ #3866]
38468 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38469 x for large integer exponent.
38470 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38471 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38472 sign of result as needed afterwards.
38473 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38474 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38475 result for underflowing pow the same as for overflow.
38476 (__kernel_standard_l): Handle powl overflow and underflow here
38477 rather than calling __kernel_standard.
38478 * math/libm-test.inc (pow_test): Add more tests.
38479
414fca03 38480 [BZ #3868]
41bf21a1
JM
38481 [BZ #13879]
38482 [BZ #13910]
38483 [BZ #13911]
38484 [BZ #13912]
38485 [BZ #13913]
38486 [BZ #13915]
38487 [BZ #13916]
38488 [BZ #13917]
38489 [BZ #13918]
38490 [BZ #13919]
38491 [BZ #13920]
38492 [BZ #13921]
38493 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38494 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38495 (__kernel_standard_l): New function.
38496 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38497 __kernel_standard.
38498 * math/w_acosl.c (__acosl): Likewise.
38499 * math/w_asinl.c (__asinl): Likewise.
38500 * math/w_atan2l.c (__atan2l): Likewise.
38501 * math/w_atanhl.c (__atanhl): Likewise.
38502 * math/w_coshl.c (__coshl): Likewise.
38503 * math/w_exp10l.c (__exp10l): Likewise.
38504 * math/w_exp2l.c (__exp2l): Likewise.
38505 * math/w_fmodl.c (__fmodl): Likewise.
38506 * math/w_hypotl.c (__hypotl): Likewise.
38507 * math/w_j0l.c (__j0l, __y0l): Likewise.
38508 * math/w_j1l.c (__j1l, __y1l): Likewise.
38509 * math/w_jnl.c (__jnl, __ynl): Likewise.
38510 * math/w_lgammal.c (__lgammal): Likewise.
38511 * math/w_log10l.c (__log10l): Likewise.
38512 * math/w_log2l.c (__log2l): Likewise.
38513 * math/w_logl.c (__logl): Likewise.
38514 * math/w_powl.c (__powl): Likewise.
38515 * math/w_remainderl.c (__remainderl): Likewise.
38516 * math/w_scalbl.c (sysv_scalbl): Likewise.
38517 * math/w_sinhl.c (__sinhl): Likewise.
38518 * math/w_sqrtl.c (__sqrtl): Likewise.
38519 * math/w_tgammal.c (__tgammal): Likewise.
38520 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38521 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38522 * math/libm-test.inc (acos_test): Add more tests.
38523 (acosh_test): Likewise.
38524 (asin_test): Likewise.
38525 (atanh_test): Likewise.
38526 (exp_test): Likewise.
38527 (exp10_test): Likewise.
38528 (exp2_test): Likewise.
38529 (expm1_test): Likewise.
38530 (lgamma_test): Likewise.
38531 (log_test): Likewise.
38532 (log10_test): Likewise.
38533 (log1p_test): Likewise.
38534 (log2_test): Likewise.
38535 (pow_test): Do not allow some spurious overflow exceptions.
38536 (sqrt_test): Add more tests.
38537 (tgamma_test): Likewise.
38538 (y0_test): Likewise.
38539 (y1_test): Likewise.
38540 (yn_test): Likewise.
38541
dd62fda6
AB
385422012-03-27 Anton Blanchard <anton@samba.org>
38543
38544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38545 MAP_HUGETLB.
38546 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38547 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38549
1e3cdfda
AJ
385502012-03-27 David S. Miller <davem@davemloft.net>
38551
b855ab85
DM
38552 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38553
1e3cdfda
AJ
38554 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38555 have-as-vis3 check.
38556
385572012-03-27 Andreas Jaeger <aj@suse.de>
38558
38559 * sysdeps/x86_64/elf/configure.in: Moved to ...
38560 * sysdeps/x86_64/configure.in: ... here.
38561 * sysdeps/x86_64/elf/start.S: Moved to ...
38562 * sysdeps/x86_64/start.S: ... here.
38563 * sysdeps/x86_64/elf/configure: Delete.
38564
38565 * sysdeps/x86_64/configure.in: Merge contents from
38566 sysdeps/i386/configure.in (without i686 check).
38567
38568 * sysdeps/i386/elf/Versions: Merge into ...
38569 * sysdeps/i386/Versions: ... this.
38570 * sysdeps/i386/elf/Versions: Delete file.
38571 * sysdeps/i386/elf/start.S: Moved to ...
38572 * sysdeps/i386/start.S: ...here.
38573 * sysdeps/i386/elf/configure.in: Merge into...
38574 * sysdeps/i386/configure.in: ...here.
38575 * sysdeps/i386/elf/configure.in: Delete file.
38576 * sysdeps/i386/elf/configure: Delete file.
38577
38578 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38579 * debug/backtracesyms.c: ... here.
38580 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38581 * debug/backtracesymsfd.c: ... here.
38582 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38583 * sysdeps/generic/ifunc-sel.h: ... here.
38584
38585 * sysdeps/unix/i386/start.c: Delete file.
38586 * sysdeps/unix/sparc/start.c: Delete file.
38587 * sysdeps/unix/start.c: Delete file.
38588
38589 * sysdeps/sh/elf/configure.in: Moved to ...
38590 * sysdeps/sh/configure.in: ... here.
38591 * sysdeps/sh/elf/start.S: Moved to ...
38592 * sysdeps/sh/start.S: ... here.
38593 * sysdeps/sh/elf/configure: Delete file.
38594
38595 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38596 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38597 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38598 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38599 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38600 * sysdeps/powerpc/powerpc64/start.S: here.
38601 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38602 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38603 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38604 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38605 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38606
38607 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38608 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38609 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38610 * sysdeps/powerpc/powerpc32/start.S: ... here.
38611 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38612 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38613 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38614
38615 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38616 * sysdeps/powerpc/ifunc-sel.h: ... here.
38617 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38618 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38619
38620 * sysdeps/sparc/elf/configure.in: Moved to ...
38621 * sysdeps/sparc/configure.in: ... here.
38622 * sysdeps/sparc/elf/configure: Delete file.
38623 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38624 * sysdeps/sparc/sparc32/start.S: ... here.
38625 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38626 * sysdeps/sparc/sparc64/start.S: ... here.
38627 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38628 * sysdeps/sparc/sparc32/Makefile: ... this.
38629 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38630 * sysdeps/sparc/sparc64/Makefile: ... this.
38631
38632 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38633 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38634 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38635 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38636 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38637 * sysdeps/s390/s390-32/setjmp.S: ... here.
38638 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38639 * sysdeps/s390/s390-32/configure.in: ... here.
38640 * sysdeps/s390/s390-32/elf/configure: Delete file.
38641 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38642 * sysdeps/s390/s390-32/start.S: ... here.
38643
38644 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38645 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38646 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38647 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38648 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38649 * sysdeps/s390/s390-64/setjmp.S: ... here.
38650 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38651 * sysdeps/s390/s390-64/configure.in: ... here
38652 * sysdeps/s390/s390-64/elf/configure: Delete file.
38653 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38654 * sysdeps/s390/s390-64/start.S: ... here.
38655 * sysdeps/s390/s390-64/elf/configure: Delete.
38656
38657 * configure.in: Remove support for elf directories in sysdeps.
38658
38659 * configure: Regenerated.
38660 * sysdeps/i386/configure: Regenerated.
38661 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38662 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38663 * sysdeps/s390/s390-32/configure: Regenerated.
38664 * sysdeps/s390/s390-64/configure: Regenerated.
38665 * sysdeps/sh/configure: Regenerated.
38666 * sysdeps/sparc/configure: Regenerated.
38667 * sysdeps/x86_64/configure: Regenerated.
38668
a3f61311
AS
386692012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38670
c876e002
AS
38671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38672
a3f61311
AS
38673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38674 denormal result into account.
38675
ac4c54f0
RM
386762012-03-25 Roland McGrath <roland@hack.frob.com>
38677
38678 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38679 Reported by Allan McRae <allan@archlinux.org>.
38680
6a9b9c02
JL
386812012-03-23 Jeff Law <law@redhat.com>
38682
38683 * nss/getnssent.c (__nss_getent): Fix typo.
38684
4c42a0c1
DM
386852012-03-23 David S. Miller <davem@davemloft.net>
38686
38687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38688
1532c7ac
L
386892012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38690
38691 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38692 to pad to uint64_t for each field.
38693 (dl_tls_index): Replace unsigned long with uint64_t.
38694
3ff42526
PP
386952012-03-23 Daniel Jacobowitz <dmj@google.com>
38696 Paul Pluzhnikov <ppluzhnikov@google.com>
38697
38698 [BZ #6528]
38699 * grp/Makefile (otherlibs): Don't set it.
38700 * inet/Makefile (otherlibs): Likewise.
38701 * login/Makefile (otherlibs): Likewise.
38702 * nscd/Makefile (otherlibs): Likewise.
38703 * posix/Makefile (otherlibs): Likewise.
38704 * pwd/Makefile (otherlibs): Likewise.
38705 * rt/Makefile (otherlibs): Likewise.
38706 * sunrpc/Makefile (otherlibs): Likewise.
38707 * nss/Makefile (otherlibs): Likewise.
38708 Add libnss_files to routines and static-only-routines.
38709 ($(objpfx)getent): Remove rule.
38710 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38711 static-only-routines.
38712
7c69cd14
JM
387132012-03-22 Joseph Myers <joseph@codesourcery.com>
38714
38715 [BZ #13892]
38716 * math/s_cexp.c: Include <float.h>.
38717 (__cexp): Handle exp result overflowing not necessarily
38718 overflowing both real and imaginary parts of result.
38719 * math/s_cexpf.c: Likewise.
38720 * math/s_cexpl.c: Likewise.
38721 * math/libm-test.inc (cexp_test): Add more tests.
38722 * sysdeps/i386/fpu/libm-test-ulps: Update.
38723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38724
81b035fe
L
387252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38726
38727 * include/link.h (ELFW): New macro.
38728 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38729 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38730
1da7940c
L
387312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38732
38733 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38734 with uint64_t.
38735
b749dbb9
L
387362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38737
38738 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38739 declaration.
38740 (struct La_x32_retval): Likewise.
38741
2ff87f3f
L
387422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38743
38744 * sysdeps/x86_64/preconfigure.in: New file.
38745 * sysdeps/x86_64/preconfigure: New generated file.
38746
c0df8e69
JM
387472012-03-22 Joseph Myers <joseph@codesourcery.com>
38748
48e44791
JM
38749 [BZ #13824]
38750 * math/e_exp2l.c: Include <float.h>.
38751 (__ieee754_exp2l): Handle overflow and underflow cases
38752 separately. Only pass fractional part of argument to
38753 __ieee754_expl.
38754 * math/libm-test.inc (exp2_test): Add more tests.
38755
c0df8e69
JM
38756 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38757 negating x to take absolute value.
38758 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38759 Likewise.
38760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38762 Likewise.
38763 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38764 computing low part if x was negated.
38765 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38766
c8e43ba7
L
387672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38768
38769 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38770 la_x32_gnu_pltexit.
38771 (pltexit): Cast int_retval to ptrdiff_t.
38772 * elf/tst-auditmod3b.c: Likewise.
38773 * elf/tst-auditmod4b.c: Likewise.
38774 * elf/tst-auditmod5b.c: Likewise.
38775 * elf/tst-auditmod6b.c: Likewise.
38776 * elf/tst-auditmod6c.c: Likewise.
38777 * elf/tst-auditmod7b.c: Likewise.
38778
38779 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38780 and x32_gnu_pltexit.
38781
38782 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38783 __ELF_NATIVE_CLASS.
38784 (La_x32_regs): New macro.
38785 (La_x32_retval): Likewise.
38786 (la_x32_gnu_pltenter): New function prototype.
38787 (la_x32_gnu_pltexit): Likewise.
38788
7998fa78
AS
387892012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38790
dcb33988
AS
38791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38792 exponent.
38793
233fc563
AS
38794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38795
7998fa78
AS
38796 * configure.in (libc_cv_cc_nofma): Check for option to disable
38797 generation of FMA instructions.
38798 * configure: Regenerate.
38799 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38800 * sysdeps/ieee754/dbl-64/Makefile: New file.
38801 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38802 Remove brandred-fma4.
38803 (CFLAGS-brandred-fma4.c): Remove.
38804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38805 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38806 define.
38807 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38808 define.
38809
8e95c99a
L
388102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38811
38812 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38813 LLONG_MAX != LONG_MAX.
38814 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38815 (_fitoa_word): Likewise.
38816 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38817 LLONG_MAX != LONG_MAX.
38818 * stdio-common/_itowa.h: Include <_itoa.h>.
38819 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38820 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38821 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38822 only if not defined.
38823 (_ITOA_WORD_TYPE): Likewise.
38824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38825 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38826
6f4db457
DM
388272012-03-21 David S. Miller <davem@davemloft.net>
38828
38829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38830
7785fe5a
L
388312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38832
38833 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38834 of x86_64 when setting libc_cv_slibdir, libdir and
38835 libc_cv_localedir.
38836 * sysdeps/unix/sysv/linux/configure: Regenerated.
38837
4535cd55
JM
388382012-03-21 Joseph Myers <joseph@codesourcery.com>
38839
38840 * manual/lang.texi (Old Varargs): Remove section.
38841 (How Variadic): Update menu.
38842 (va_start): Do not mention varargs.h.
38843
17228132
TS
388442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38845 Joseph Myers <joseph@codesourcery.com>
38846
38847 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38848 link test.
38849 * configure: Regenerated.
38850
8149f976
TS
388512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38852
05f3d1f6
UD
38853 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38854 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38855 conformtest.pl
8149f976 38856
1a4ac776
JM
388572012-03-21 Joseph Myers <joseph@codesourcery.com>
38858
be22ce65
JM
38859 * NOTES: Remove.
38860 * Makefile (files-for-dist): Remove NOTES.
38861 (NOTES): Remove rule.
38862 * README: Don't refer to NOTES.
38863 * manual/creature.texi: Don't include macros.texi.
38864 * manual/intro.texi (creature.texi): Remove comment referring to
38865 NOTES.
38866
40b601fb
JM
38867 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38868 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38869 * configure: Regenerated.
38870 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38871 LIBC_TRY_CC_OPTION.
38872 (libc_cv_as_i686): Likewise.
38873 (libc_cv_cc_avx): Likewise.
38874 (libc_cv_cc_sse2avx): Likewise.
38875 (libc_cv_cc_fma4): Likewise.
38876 (libc_cv_cc_novzeroupper): Likewise.
38877 * sysdeps/i386/configure: Regenerated.
38878
1a4ac776
JM
38879 [BZ #13883]
38880 * sysdeps/i386/fpu/s_cexp.S: Remove.
38881 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38882 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38883 * math/libm-test.inc (cexp_test): Add more tests.
38884 * sysdeps/i386/fpu/libm-test-ulps: Update.
38885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886
a458e7fe
AM
388872012-03-21 Allan McRae <allan@archlinux.org>
38888
38889 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38890
0cb7efc5
JM
388912012-03-21 Joseph Myers <joseph@codesourcery.com>
38892
38893 [BZ #13871]
38894 * math/w_exp2.c: Do not include <float.h>.
38895 (o_threshold, u_threshold): Remove.
38896 (__exp2): Calculate result before checking finiteness and calling
38897 __kernel_standard.
38898 * math/w_exp2f.c: Likewise.
38899 * math/w_exp2l.c: Likewise.
38900 * math/libm-test.inc (exp2_test): Require overflow exception for
38901 1e6 input.
2460d3aa
JM
38902
38903 [BZ #3866]
38904 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38905 range of signed 64-bit integers before using fistpll. Remove
38906 checks for whether integers fit in mantissa bits.
38907 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38908 the range of signed 32-bit integers before using fistpl. Remove
38909 checks for whether integers fit in mantissa bits.
38910 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38911 (__ieee754_powl): Test for y outside the range of signed 64-bit
38912 integers before using fistpll. Reduce 64-bit values to 63-bit
38913 ones as needed.
38914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38915 divide-by-zero is raised for zero to large negative powers.
38916 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38917 (__ieee754_powl): Test for y outside the range of signed 64-bit
38918 integers before using fistpll. Reduce 64-bit values to 63-bit
38919 ones as needed.
38920 * math/libm-test.inc (pow_test): Add more tests.
38921
eb96ffb0
L
389222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38923
38924 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38925 <stdio-common/_itoa.h>.
38926 * debug/segfault.c: Likewise.
38927 * elf/dl-cache.c: Likewise.
38928 * elf/dl-minimal.c: Likewise.
38929 * elf/dl-misc.c: Likewise.
38930 * elf/dl-sysdep.c: Likewise.
38931 * elf/dl-version.c: Likewise.
38932 * elf/rtld.c: Likewise.
38933 * hurd/hurdsock.c: Likewise.
38934 * hurd/lookup-retry.c: Likewise.
38935 * malloc/malloc.c: Likewise.
38936 * malloc/mtrace.c: Likewise.
38937 * nscd/nscd_getgr_r.c: Likewise.
38938 * nscd/nscd_getpw_r.c: Likewise.
38939 * nscd/nscd_getserv_r.c: Likewise.
38940 * posix/getopt_init.c: Likewise.
38941 * posix/wordexp.c: Likewise.
38942 * stdio-common/_itoa.c: Likewise.
38943 * stdio-common/printf_fphex.c: Likewise.
38944 * stdio-common/vfprintf.c: Likewise.
38945 * string/_strerror.c: Likewise.
38946 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38947 * sysdeps/i386/i686/hp-timing.h: Likewise.
38948 * sysdeps/mach/_strerror.c: Likewise.
38949 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38950 * sysdeps/mach/hurd/sethostid.c: Likewise.
38951 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38952 * sysdeps/mach/xpg-strerror.c: Likewise.
38953 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38954 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38955 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38956 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38958 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38959 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38960 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38961 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38962 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38963 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38964 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38965 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38966 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38967 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38968 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38969 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38970 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38971 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38972 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38973 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38974
38975 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38976
38977 * stdio-common/_itoa.h: Moved to ...
38978 * sysdeps/generic/_itoa.h: Here.
38979
38980 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38981
38982 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38983 instead of "_itoa.h" and "_itowa.h".
38984 * stdio-common/vfprintf.: Likewise.
38985
d1af992d
L
389862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38987
38988 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38989 <bits/wordsize.h>.
38990 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38991 (__signbit): Likwise.
38992 (llrintf): Likwise.
38993 (llrint): Likwise.
38994
114883e0
L
389952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38996
38997 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38998 __WORDSIZE != 64.
38999
c135cc1b
JM
390002012-03-20 Joseph Myers <joseph@codesourcery.com>
39001
39002 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39003 OVERFLOW_EXCEPTION_OK.
39004 * math/libm-test.inc ("Philosophy"): Update comment about
39005 exception testing.
39006 (OVERFLOW_EXCEPTION): Define.
39007 (OVERFLOW_EXCEPTION_OK): Likewise.
39008 (INVALID_EXCEPTION_OK): Renumber.
39009 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39010 (IGNORE_ZERO_INF_SIGN): Likewise.
39011 (test_exceptions): Handle FE_OVERFLOW.
39012 (exp10_test): Expect overflow exceptions.
39013 (exp2_test): Likewise.
39014 (expm1_test): Likewise.
39015 (nextafter_test): Likewise.
39016 (pow_test): Likewise.
39017 (scalbn_test): Likewise.
39018 (scalbln_test): Likewise.
39019
95443d88
L
390202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39021
39022 * sysdeps/x86_64/bits/atomic.h
39023 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39024 64bit integer.
39025 (atomic_exchange_acq): Likewise.
39026 (__arch_exchange_and_add_body): Likewise.
39027 (__arch_add_body): Likewise.
39028 (atomic_add_negative): Likewise.
39029 (atomic_add_zero): Likewise.
39030
490df6c4
L
390312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39032
c2722551 39033 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39034 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39035
5e52b189
L
390362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39039 Check __x86_64__ instead of __WORDSIZE.
39040
a9879d4c
L
390412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39042
39043 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39044
5df98260
DM
390452012-03-19 David S. Miller <davem@davemloft.net>
39046
e1497744
DM
39047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39048
5df98260
DM
39049 * sysdeps/sparc/fpu/fenv_private.h: New file.
39050 * sysdeps/sparc/fpu/math_private.h: Use it.
39051 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39052 Remove.
57f41c40 39053 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39054 (libc_feholdexcept_setroundl): Remove.
39055 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39056 Remove.
39057 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39058 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39059
b4c35121
L
390602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39061
39062 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39063 int64_t instead of long int.
39064 (INSERT_WORDS64): Likwise.
39065
56965fd7
L
390662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39067
39068 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39069 _Unwind_GetCFA return to _Unwind_Ptr first.
39070
83d1aec8
JM
390712012-03-19 Joseph Myers <joseph@codesourcery.com>
39072
1897ad44
JM
39073 [BZ #13629]
39074 * math/s_clog.c: Include <float.h>.
39075 (__clog): Scale large or subnormal inputs.
39076 * math/s_clogf.c: Likewise.
39077 * math/s_clogl.c: Likewise.
39078 * math/s_clog10.c: Include <float.h>.
39079 (M_LOG10_2): Define.
39080 (__clog10): Scale large or subnormal inputs.
39081 * math/s_clog10f.c: Likewise.
39082 * math/s_clog10l.c: Likewise.
39083 * math/libm-test.inc (clog_test): Add more tests.
39084 (clog10_test): Likewise.
39085 * sysdeps/i386/fpu/libm-test-ulps: Update.
39086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39087
7726d6a9
JM
39088 [BZ #11451]
39089 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39090 x and y.
39091 * math/libm-test.inc (atan2_test): Add another test.
39092
83d1aec8
JM
39093 * Makerules (common-objdir-compile): Remove.
39094 * sysdeps/unix/Makefile (config-generated): Do not add
39095 $(unix-generated) to variable.
39096 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39097 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39098 Remove rule.
39099 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39100 Likewise.
39101 [generic bits/local_lim.h] (before-compile): Do not append to
39102 variable.
39103 [generic bits/local_lim.h] (common-generated): Likewise.
39104 [generic sys/param.h] (before-compile): Do not append to variable.
39105 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39106 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39107 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39108 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39109 include.
39110 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39111 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39112 [generic sys/param.h] ($(addprefix
39113 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39114 [generic sys/param.h] (common-generated): Do not append to
39115 variable.
39116 [generic sys/param.h] (sysdep_headers): Likewise.
39117 [generic bits/errno.h] (before-compile): Do not append to
39118 variable.
39119 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39120 rule.
39121 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39122 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39123 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39124 [generic bits/errno.h] (common-generated): Do not append to
39125 variable.
39126 [generic bits/ioctls.h] (before-compile): Do not append to
39127 variable.
39128 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39129 rule.
39130 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39131 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39132 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39133 rule.
39134 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39135 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39136 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39137 [generic bits/ioctls.h] (common-generated): Do not append to
39138 variable.
39139 [generic sys/syscall.h] (syscall.h): Remove variable.
39140 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39141 rule.
39142 [generic sys/syscall.h] (before-compile): Do not append to
39143 variable.
39144 [generic sys/syscall.h] (common-generated): Likewise.
39145 * sysdeps/unix/errnos-tmpl.c: Remove file.
39146 * sysdeps/unix/errnos.awk: Likewise.
39147 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39148 * sysdeps/unix/ioctls.awk: Likewise.
39149 * sysdeps/unix/mk-local_lim.c: Likewise.
39150 * sysdeps/unix/snarf-ioctls: Likewise.
39151
4851a949
RH
391522012-03-19 Richard Henderson <rth@twiddle.net>
39153
bd37f2ee
RH
39154 * sysdeps/i386/fpu/fenv_private.h: New file.
39155 * sysdeps/i386/fpu/math_private.h: Use it.
39156 (math_opt_barrier, math_force_eval): Remove.
39157 (libc_feholdexcept_setround_53bit): Remove.
39158 (libc_feupdateenv_53bit): Remove.
39159 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39160 (math_opt_barrier, math_force_eval): Remove.
39161 (libc_feholdexcept): Remove.
39162 (libc_feholdexcept_setround): Remove.
39163 (libc_fetestexcept, libc_fesetenv): Remove.
39164 (libc_feupdateenv_test): Remove.
39165 (libc_feupdateenv, libc_feholdsetround): Remove.
39166 (libc_feresetround): Remove.
39167
d0adc922
RH
39168 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39169 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39170
0fe0f1f8
RH
39171 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39172 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39173 (libc_feupdateenv_testl): New.
39174 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39175 (libc_feupdateenv_testf): New.
39176 (libc_feupdateenv): Use libc_feupdateenv_test.
39177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39179
eb92c487
RH
39180 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39181 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39182 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39183 (libc_feresetround_noex): New.
39184 (libc_feresetround_noexf): New.
39185 (libc_feresetround_noexl): New.
39186 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39187 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39188 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39189 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39190 SET_RESTORE_ROUND.
39191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39193 (__cos): Likewise.
39194 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39195 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39196 SET_RESTORE_ROUND_NOEX.
39197 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39198 SET_RESTORE_ROUND_NOEXF.
39199 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39200 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39201 (libc_feholdsetroundf): New.
39202 (libc_feresetround, libc_feresetroundf): New.
39203
7d2e8012
RH
39204 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39205 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39206 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39207
b4dabbb4
RH
39208 * sysdeps/generic/math_private.h: Include <fenv.h>.
39209 (default_libc_feholdexcept): New.
39210 (default_libc_feholdexcept_setround): New.
39211 (default_libc_fesetenv, default_libc_feupdateenv): New.
39212 (libc_feholdexcept): Only define if undefined.
39213 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39214 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39215 (libc_feholdexcept_setroundl): Likewise.
39216 (libc_feholdexcept_setround_53bit): Likewise.
39217 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39218 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39219 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39220 (libc_feupdateenv_53bit): Likewise.
39221 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39222 (libc_feholdexcept): Convert from macro to inline function.
39223 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39224 (libc_fesetenv, libc_feupdateenv): Likewise.
39225
4851a949
RH
39226 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39227 not previously defined.
39228 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39229 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39230 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39231 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39232 * sysdeps/ieee754/flt-32/math_private.h: New file.
39233 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39234 math_private.h below SET_FLOAT_WORD.
39235 (__isnan, __isinf_ns, __finite): Remove.
39236 (__isnanf, __isinf_nsf, __finitef): Remove.
39237
e79d442e
AS
392382012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39239
39240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39241
90b80344
DM
392422012-03-17 David S. Miller <davem@davemloft.net>
39243
39244 [BZ #6471]
39245 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39246 for 2.16.
39247
edc21804
DM
392482012-03-16 David S. Miller <davem@davemloft.net>
39249
77e927af
DM
39250 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39251 warnings.
39252
374976dd
DM
39253 [BZ #6471]
39254 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39255 properly.
39256 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39257 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39258 sysdep_routines when subdir is sysvipc.
39259 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39260 __getshmlba helper.
39261
edc21804
DM
39262 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39263
473c3ef3
L
392642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39265
39266 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39267 [__LP64__].
39268
eb0f39b6
L
392692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39270
39271 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39272 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39273 (__lround): Renamed to ...
39274 (__llround): This. Replace long int with long long int.
39275 Define lround functions as aliases of llround functions.
39276 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39277
6b6cd74b
L
392782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39279
39280 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39281 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39282 adresses to uintptr_t. Replace "long int" and "unsigned long
39283 int" with "greg_t" on va_arg.
39284
f1a77b01
L
392852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39286
39287 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39288 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39289
39290 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39291 Move e_machine check before EI_CLASS check. Handle x32
39292 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39293 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39294 SKIP_EM_IA_64 and include
39295 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39296
39297 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39298 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39299 (add_system_dir): New macro.
39300
39301 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39302 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39303
11b90b9f
JM
393042012-03-16 Joseph Myers <joseph@codesourcery.com>
39305
c36e1d23
JM
39306 [BZ #2551]
39307 [BZ #2552]
39308 [BZ #2553]
39309 [BZ #2554]
39310 [BZ #2562]
39311 [BZ #2563]
39312 [BZ #2565]
39313 [BZ #2566]
39314 [BZ #2576]
39315 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39316 (y0): Likewise.
39317 * math/w_j0f.c (j0f): Likewise.
39318 (y0f): Likewise.
39319 * math/w_j0l.c (__j0l): Likewise.
39320 (__y0l): Likewise.
39321 * math/w_j1.c (j1): Likewise.
39322 (y1): Likewise.
39323 * math/w_j1f.c (j1f): Likewise.
39324 (y1f): Likewise.
39325 * math/w_j1l.c (__j1l): Likewise.
39326 (__y1l): Likewise.
39327 * math/w_jn.c (jn): Likewise.
39328 (yn): Likewise.
39329 * math/w_jnf.c (jnf): Likewise.
39330 (ynf): Likewise.
39331 * math/w_jnl.c (__jnl): Likewise.
39332 (__ynl): Likewise.
39333 * math/libm-test.inc (j0_test): Add more tests.
39334 (j1_test): Likewise.
39335 (jn_test): Likewise. Add trailing semicolon to existing test.
39336 (y0_test): Likewise.
39337 (y1_test): Likewise.
39338 * sysdeps/i386/fpu/libm-test-ulps: Update.
39339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39340
11b90b9f
JM
39341 [BZ #13851]
39342 [BZ #13854]
39343 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39344 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39345 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39346 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39347 (__tanl): Set errno for infinite argument.
39348 * sysdeps/i386/fpu/mptan.c: Remove.
39349 * sysdeps/i386/fpu/s_tan.S: Likewise.
39350 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39351 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39352 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39353 * math/libm-test.inc (tan_test): Add more tests and enable more
39354 tests for double and long double.
39355 * sysdeps/i386/fpu/libm-test-ulps: Update.
39356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39357
6a1bd2a1
JK
393582012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39359
39360 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39361 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39362
10a803e0
RM
393632012-03-16 Roland McGrath <roland@hack.frob.com>
39364
39365 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39366 * configure.in: Use it for both main tree and add-ons.
39367 * configure: Regenerated.
39368
f196c7f7
L
393692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39370
39371 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39372
8848d99d
JM
393732012-03-16 Joseph Myers <joseph@codesourcery.com>
39374
96cbe7f4
JM
39375 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39376 in comment.
39377
8848d99d
JM
39378 [BZ #13851]
39379 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39380 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39381 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39382 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39383 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39384 infinite argument.
39385 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39387 != 0 for prec == 2.
39388 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39389 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39390 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39391 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39392 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39393 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39394 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39395 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39396 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39397 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39398 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39399 * math/libm-test.inc (cos_test): Add more tests and enable more
39400 tests for long double.
39401 (sin_test): Likewise.
39402 (sincos_test): Likewise.
39403 * sysdeps/i386/fpu/libm-test-ulps: Update.
39404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39405
dd7f4703
DM
394062012-03-16 David S. Miller <davem@davemloft.net>
39407
39408 * sysdeps/sparc/fpu/math_private.h: New file.
39409
006f1daa
DM
394102012-03-15 David S. Miller <davem@davemloft.net>
39411
c0c83bc8
DM
39412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39413 file.
e6a62e18 39414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39416 file.
e6a62e18
DM
39417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39423 sysdep routines.
39424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39425
88cb87d9
DM
39426 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39427 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39428
006f1daa 39429 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39431 sparc-ifunc.h
006f1daa 39432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39434 Likewise.
39435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39436 Likewise.
006f1daa
DM
39437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39441 Likewise.
006f1daa
DM
39442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39447 Likewise.
39448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39449 Likewise.
006f1daa
DM
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39474
11e0098e
AS
394752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39476
39477 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39478 scaling.
39479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39480
e85b09d0
AJ
394812012-03-15 Andreas Jaeger <aj@suse.de>
39482
39483 [BZ #13852]
39484 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39485 ieee754/flt-32 implementation for sin, cos and sincos.
39486 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39487 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39488 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39489 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39490 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39491 ieee754/flt-32 implementation for tan.
39492
39493 * math/libm-test.inc (cos_test): Enable some large input tests for
39494 float as well
39495 (sin_test): Likewise.
39496 (sincos_test): Likewise.
39497 (tan_test): Add tests for large input.
39498
39499 * sysdeps/i386/fpu/libm-test-ulps: Update.
39500
81c64153
AJ
395012012-03-15 Andreas Jaeger <aj@suse.de>
39502
39503 [BZ #13658]
39504 * math/libm-test.inc (cos_test): Add more test cases.
39505 (sin_test): Likewise.
39506 (sincos_test): Likewise.
39507
7bbfa5c6
AJ
395082012-03-15 Andreas Jaeger <aj@suse.de>
39509
39510 [BZ #13837]
39511 * math/libm-test.inc (cos_test): Add a test case for large input
39512 value.
39513 (sin_test): Likewise.
39514 (sincos_test): Likewise.
39515
57f41c40
AS
395162012-03-15 Andreas Jaeger <aj@suse.de>
39517 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39518
39519 [BZ #13658]
0671f479 39520 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39521 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39522 * sysdeps/i386/fpu/branred.c: Likewise.
39523 * sysdeps/i386/fpu/dosincos.c: Likewise.
39524 * sysdeps/i386/fpu/mpa.c: Likewise.
39525 * sysdeps/i386/fpu/s_cos.S: Likewise.
39526 * sysdeps/i386/fpu/s_sin.S: Likewise.
39527 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39528 * sysdeps/i386/fpu/sincos32.c: Likewise.
39529
39530 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39531 Define.
39532 (libc_feupdateenv_53bit): Define.
39533 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39534 Define.
39535 (libc_feupdateenv_53bit): Define.
39536
39537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39538 53 bit (without extend i386 double precision).
39539
39540 * math/libm-test.inc (sincos_test): Add tests for large input.
39541 (sin): Likewise.
39542 (cos): Likewise.
39543
39544 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39545
9cad04ea
AS
395462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39547
39548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39549
f7062b9a
DM
395502012-03-15 David S. Miller <davem@davemloft.net>
39551
39552 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39553 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39554 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39555 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39568 file.
f7062b9a 39569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39571 file.
f7062b9a 39572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39574 file.
f7062b9a 39575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39577 file.
f7062b9a
DM
39578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39580 fmin/fmax sysdep routines.
39581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39582
7bd951ff
DM
395832012-03-14 David S. Miller <davem@davemloft.net>
39584
559398ab
DM
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39609 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39614 routines.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39616 file.
559398ab 39617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39619 file.
559398ab 39620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39622 file.
559398ab 39623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39625 file.
559398ab 39626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39628 file.
559398ab 39629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39631 file.
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39633 file.
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39635 file.
39636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39637 file.
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39639 New file.
39640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39641 file.
39642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39643 file.
559398ab 39644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39646 file.
559398ab 39647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39649 file.
559398ab 39650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39652 file.
559398ab 39653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39655 VIS3 routines.
559398ab
DM
39656
39657 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39658 New file.
39659
5a1c1e32
DM
39660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39661
eae47a36
DM
39662 * sysdeps/sparc/configure.in: New file.
39663 * sysdeps/sparc/configure: Generate.
39664 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39665 * configure: Regenerate.
39666 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39667 * config.make.in (have-as-vis3): New.
39668 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39669 available use -Av9d instead of -Av9a.
39670 * sysdeps/sparc/sparc64/Makefile: Likewise.
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39673 New file.
39674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39675 file.
39676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39677 New file.
39678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39679 file.
eae47a36
DM
39680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39685
c0c83bc8
DM
39686 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39687 fzeros/fnegs to load 0x80000000 into a float register instead of
39688 using the stack.
7bd951ff
DM
39689 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39690
bd951ccb
JM
396912012-03-14 Joseph Myers <joseph@codesourcery.com>
39692
39693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39694 bits/syscall.h.
39695 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39696 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39697 ($(inst_includedir)/bits/syscall.h): Remove rule.
39698 ($(objpfx)bits/syscall.d): Include instead of
39699 $(objpfx)syscall-list.d.
39700 (generated): Change syscall-list.h and syscall-list.d to
39701 bits/syscall.h and bits/syscall.d.
39702
bb4e6db2
RM
397032012-03-14 Roland McGrath <roland@hack.frob.com>
39704
39705 [BZ #13846]
39706 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39707
aa4a2ae1
JM
397082012-03-14 Joseph Myers <joseph@codesourcery.com>
39709
e456826d
JM
39710 [BZ #13841]
39711 * math/s_csqrt.c: Include <float.h>.
39712 (__csqrt): Scale large or subnormal inputs.
39713 * math/s_csqrtf.c: Likewise.
39714 * math/s_csqrtl.c: Likewise.
39715 * math/libm-test.inc (csqrt_test): Add more tests.
39716 * sysdeps/i386/fpu/libm-test-ulps: Update.
39717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39718
aa4a2ae1
JM
39719 [BZ #13840]
39720 * math/libm-test.inc (hypot_test): Add more tests.
39721
7c10fd35
DM
397222012-03-13 David S. Miller <davem@davemloft.net>
39723
39724 [BZ #13840]
39725 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39726 double-precision for the calculation instead of scaling.
39727
f453b98b
JM
397282012-03-13 Joseph Myers <joseph@codesourcery.com>
39729
39730 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39731 manipulate bits before adding and subtracting TWO52[sx].
39732 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39733 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39734 Likewise.
39735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39736
09a3453f
DM
397372012-03-13 David S. Miller <davem@davemloft.net>
39738
8e59da90
DM
39739 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39740 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39742 rtld-global-offsets.h
39743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39744
2a8ab7f2
DM
39745 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39746 large parameters.
39747
10f62770
DM
39748 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39749
5f0bdb18
DM
39750 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39751 'err' in the ifdef scope in which it is actually used.
39752
09a3453f
DM
39753 * nss/nss_db/db-init.c: Include string.h
39754
b4b2eb5e
DM
397552012-03-12 David S. Miller <davem@davemloft.net>
39756
98bb2f1c
DM
39757 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39758 masking out of the most significant byte of random value used.
39759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39760 Fix coding style in previous change.
39761
b4b2eb5e
DM
39762 * sysdeps/unix/sysv/linux/kernel-features.h
39763 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39764 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39765 expression.
39766 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39767 later.
39768
6e226b09
DM
397692012-03-11 David S. Miller <davem@davemloft.net>
39770
a1bcbd40
DM
39771 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39772 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39773 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39774 for 'resultvar' otherwise things get truncated on 64-bit.
39775
cb9d6174
DM
39776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39777 Fix masking out of the most significant byte of random value used.
39778
6e226b09
DM
39779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39780
058c132d
AS
397812012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39782
39783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39784
2d2cd515
DM
397852012-03-09 David S. Miller <davem@davemloft.net>
39786
39787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39788 variables with appropriate CPP guards.
57f41c40
AS
39789 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39790 from the frame pointer, not the stack pointer. Correct layout
39791 comments. Fix test on resulting framesize and the management of
39792 the outregs buffer for pltexit. Preserve floating point return
39793 values across _dl_call_pltexit call.
2d2cd515
DM
39794 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39795 framesize and the management of the outregs buffer for pltexit.
39796 Preserve floating point return values across _dl_call_pltexit
39797 call.
57f41c40
AS
39798 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39799 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39800 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39801 (print_exit): Fix format string for return register value.
39802
9a07f9d0
JM
398032012-03-10 Joseph Myers <joseph@codesourcery.com>
39804
39805 * sunrpc/Makefile (others): Add rpcgen.
39806 ($(objpfx)rpcgen): Remove special build rule and dependency on
39807 libc.
39808 * sunrpc/rpcgen.c: New file.
39809
547b5e30
PE
398102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39811
c524201a
PE
39812 [BZ #13673]
39813 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39814 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39815 * sysdeps/i386/crti.S: Likewise.
39816 * sysdeps/i386/crtn.S: Likewise.
39817 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39818 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39819 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39820 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39821 * sysdeps/sh/crti.S: Likewise.
39822 * sysdeps/sh/crtn.S: Likewise.
39823 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39824
7b6235f2
PE
39825 [BZ #13673]
39826 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39827 with URL.
39828 * locale/programs/locfile-kw.gperf: Likewise.
39829 * locale/programs/charmap-kw.h: Regenerated.
39830 * locale/programs/locfile-kw.h: Likewise.
39831
547b5e30
PE
39832 [BZ #13673]
39833 * intl/plural.y: Replace FSF snail mail address with URL.
39834 * intl/plural.c: Regenerated.
39835
5f0a5dae
RH
398362012-03-09 Richard Henderson <rth@twiddle.net>
39837
39838 * include/math_private.h: Remove file.
39839 * math/math_private.h: Move file ...
39840 * sysdeps/generic/math_private.h: ... here.
39841
b8c03620
RH
39842 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39843 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39844 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39845
4e234f5d 39846 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39847 and <math_private.h>.
39848 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39849 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39850 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39851 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39852 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39935 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39941 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39962 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39967 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39968 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39969 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39971 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39975 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39977 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39978 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39979 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39980 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39981 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39982 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39986 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39987 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39990 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39991 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39992 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39993 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39994 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39995 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39996 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39997 * sysdeps/ieee754/k_standard.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39999 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40001 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40010 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40158 * sysdeps/ieee754/s_lib_version.c: Likewise.
40159 * sysdeps/ieee754/s_matherr.c: Likewise.
40160 * sysdeps/ieee754/s_signgam.c: Likewise.
40161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40164 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40166 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40167 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40168 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40169 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40170 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40171 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40172 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40173 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40174 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40175 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40176 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40177 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40178 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40179 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40182
1991fa03
JM
401832012-03-09 Joseph Myers <joseph@codesourcery.com>
40184
40185 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40186 * sunrpc/rpc_main.c: Likewise.
40187 * sunrpc/rpc_svcout.c: Likewise.
40188
60d6f5a6
DM
401892012-03-09 David S. Miller <davem@davemloft.net>
40190
40191 * include/math_private.h: New file.
40192
4962050e
JM
401932012-03-09 Joseph Myers <joseph@codesourcery.com>
40194
02a6f887
JM
40195 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40196 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40197 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40198 from <bits/socket_type.h>.
40199 (enum __socket_type): Don't define here.
40200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40202 bits/socket_type.h.
40203
c6e013c1
JM
40204 [BZ #13566]
40205 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40206 checking __USE_GNU.
40207
4962050e
JM
40208 * Makerules ($(inst_includedir)/%.h): New rule.
40209 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40210 (install-others): Remove variable setting.
40211 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40212
38842f45
RH
402132012-03-08 Richard Henderson <rth@twiddle.net>
40214
67bb6da6
RH
40215 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40216 from macro to inline function; merge with the
40217 !__LIBC_INTERNAL_MATH_INLINES version.
40218 (__ieee754_sqrtf): Likewise.
40219
15194b4b
RH
40220 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40221 to inline function.
40222 (__rintf, __floor, __floorf): Likewise.
40223
64e21ede
RH
40224 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40225 macro to inline function.
40226 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40227
38842f45
RH
40228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40229 not <math/math_private.h>.
40230
c64bf5fe
DM
402312012-03-08 David S. Miller <davem@davemloft.net>
40232
40233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40234 copyright year.
40235 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40236
82d86f28
TS
402372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40238
40239 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40240 normalization.
40241 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40242 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40243
aea5d727
UD
402442012-03-08 Ulrich Drepper <drepper@gmail.com>
40245
40246 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40247 be defined individually, they must be defined as a block. Define
40248 S for printing a string instead of hidint the different by using a
40249 macro for adding the 'l'.
40250 * stdio-common/tst-fphex-wide.c: Adjust.
40251
70bca0a3
MP
402522012-03-07 Marek Polacek <polacek@redhat.com>
40253
40254 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40255
65b81130
MP
402562012-03-08 Marek Polacek <polacek@redhat.com>
40257
40258 [BZ #13806]
40259 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40260 * stdio-common/tst-fphex.c: Define a few macros to make the
40261 test reusable. Use them.
40262 * stdio-common/tst-fphex-wide.c: New file.
40263
07037eeb
JM
402642012-03-08 Joseph Myers <joseph@codesourcery.com>
40265
a7a93d50
JM
40266 [BZ #6911]
40267 * manual/macros.texi (gnusystems): New macro.
40268 (nongnusystems): Likewise.
40269 (gnulinuxhurdsystems): Likewise.
40270 (gnuhurdsystems): Likewise..
40271 (gnulinuxsystems): Likewise.
40272 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40273 variants of the GNU system, not "GNU system".
40274 * manual/conf.texi: Likewise.
40275 * manual/errno.texi: Likewise. Update example of errno macro
40276 expansion.
40277 * manual/filesys.texi: Likewise.
40278 (getumask): Document as specific to GNU/Hurd.
40279 * manual/install.texi: Likewise. Reword some references to
40280 GNU/Linux.
40281 * manual/intro.texi: Likewise.
40282 * manual/io.texi: Likewise.
40283 (File Name Portability): Detail which constraints are inapplicable
40284 to all GNU systems and which are only inapplicable to GNU/Hurd.
40285 * manual/job.texi: Likewise.
40286 * manual/llio.texi: Likewise.
40287 (O_NOCTTY): Document as present on GNU/Linux.
40288 * manual/maint.texi: Likewise.
40289 * manual/memory.texi: Likewise.
40290 * manual/pattern.texi: Likewise.
40291 * manual/pipe.texi: Likewise.
40292 * manual/process.texi: Likewise.
40293 * manual/resource.texi: Likewise.
40294 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40295 child on GNU/Hurd.
40296 * manual/setjmp.texi: Likewise.
40297 * manual/signal.texi: Likewise.
40298 * manual/startup.texi: Likewise.
40299 * manual/stdio.texi: Likewise.
40300 * manual/terminal.texi: Likewise.
40301 (ONLCR): Document as POSIX.
40302 (OXTABS): Document availability on GNU/Linux as XTABS.
40303 (ONOEOT): Document availability separately from other bits.
40304 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40305 * manual/time.texi: Likewise.
40306 * manual/users.texi: Likewise.
40307 * INSTALL: Regenerated.
40308 * sysdeps/gnu/errlist.c: Regenerated.
40309
07037eeb
JM
40310 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40311 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40312 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40313 puts.
40314 * configure: Regenerated.
40315
d1d3431a
JM
403162012-03-07 Joseph Myers <joseph@codesourcery.com>
40317
af6a1e37
JM
40318 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40319 default includes instead of AC_HEADER_CHECK.
40320 * sysdeps/i386/configure: Regenerated.
40321
d1d3431a
JM
40322 [BZ #10716]
40323 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40324 * math/s_cacoshf.c (__cacoshf): Likewise.
40325 * math/s_cacoshl.c (__cacoshl): Likewise.
40326 * math/s_casinh.c (__casinh): Set signs of result from argument.
40327 * math/s_casinhf.c (__casinhf): Likewise.
40328 * math/s_casinhl.c (__casinhl): Likewise.
40329 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40330 (casinh_test): Add more tests.
40331 * sysdeps/i386/fpu/libm-test-ulps: Update.
40332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333
482ff4da
UD
403342012-03-07 Ulrich Drepper <drepper@gmail.com>
40335
872fda05
UD
40336 * po/zh_TW.po: Update from translation team.
40337
a4300c7a
UD
40338 * login/Makefile (distribute): Remove variable.
40339 * catgets/Makefile: Likewise.
40340 * mach/Makefile: Likewise.
40341 * malloc/Makefile: Likewise.
40342 * misc/Makefile: Likewise.
40343 * iconv/Makefile: Likewise.
40344 * nscd/Makefile: Likewise.
40345 * hurd/Makefile: Likewise.
40346 * manual/Makefile: Likewise.
40347 * locale/Makefile: Likewise.
40348 * intl/Makefile: Likewise.
40349 * conform/Makefile: Likewise.
40350 * nss/Makefile: Likewise.
40351 * time/Makefile: Likewise.
40352 * soft-fp/Makefile: Likewise.
40353 * dirent/Makefile: Likewise.
40354 * gmon/Makefile: Likewise.
40355 * po/Makefile: Likewise.
40356 * rt/Makefile: Likewise.
40357 * socket/Makefile: Likewise.
40358 * math/Makefile: Likewise.
40359 * signal/Makefile: Likewise.
40360 * debug/Makefile: Likewise.
40361 * elf/Makefile: Likewise.
40362 * timezone/Makefile: Likewise.
40363 * stdlib/Makefile: Likewise.
40364 * iconvdata/Makefile: Likewise.
40365 * sunrpc/Makefile: Likewise.
40366 * io/Makefile: Likewise.
40367 * argp/Makefile: Likewise.
40368 * inet/Makefile: Likewise.
40369 * hesiod/Makefile: Likewise.
40370 * grp/Makefile: Likewise.
40371 * csu/Makefile: Likewise.
40372 * wctype/Makefile: Likewise.
40373 * crypt/Makefile: Likewise.
40374 * libio/Makefile: Likewise.
40375 * string/Makefile: Likewise.
40376 * nis/Makefile: Likewise.
40377 * resolv/Makefile: Likewise.
40378 * stdio-common/Makefile: Likewise.
40379 * wcsmbs/Makefile: Likewise.
40380 * dlfcn/Makefile: Likewise.
40381 * posix/Makefile: Likewise.
40382
3b7c4e74 40383 [BZ #6959]
482ff4da
UD
40384 * timezone/Makefile: Don't install timezone files, just the programs
40385 and scripts.
40386
f72ed77d
UD
403872012-03-06 Ulrich Drepper <drepper@gmail.com>
40388
a000466f
UD
40389 * nss/databases.def: Add missing gshadow entry.
40390
f72ed77d
UD
40391 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40392
a53b7a4e
MP
403932012-03-06 Marek Polacek <polacek@redhat.com>
40394
40395 [BZ #13726]
40396 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40397 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40398 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40399 * stdio-common/tst-long-dbl-fphex.c: New file.
40400
e9258400
DM
404012012-03-06 David S. Miller <davem@davemloft.net>
40402
40403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40404 (set_obp_int): New function.
40405 (get_obp_int): New function.
40406 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40408 Avoid unused variable warnings on 'val' and use builtin_expect.
40409 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40410 __builtin_expect.
e9258400
DM
40411 (INLINE_CLONE_SYSCALL): Likewise.
40412
3bd2c723
DM
404132012-03-05 David S. Miller <davem@davemloft.net>
40414
40415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40416
bbb78d03
AS
404172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40418
884c5db4
AS
40419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40420
bbb78d03
AS
40421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40422 only for |x| >= 40.
40423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40424
1c9f702a 404252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40426
40427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40428 Replace gettimeofday with __vdso_gettimeofday.
40429
7be16f82
RM
40430 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40431 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40432 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40433
40434 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40435 time with __vdso_time.
40436
ed58a00f
JM
404372012-03-05 Joseph Myers <joseph@codesourcery.com>
40438
40439 * manual/lang.texi (size_t): Note types to which size_t may be
40440 equivalent with the GNU C Library, but do not describe when
40441 differences between them are significant.
40442
30ee4ced
AJ
404432012-03-05 Andreas Jaeger <aj@suse.de>
40444
40445 * sysdeps/i386/fpu/libm-test-ulps: Update.
40446
b7cd39e8
JM
404472012-03-05 Joseph Myers <joseph@codesourcery.com>
40448
40449 [BZ #3976]
40450 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40451 (__ieee754_pow): Save and restore rounding mode and use
40452 round-to-nearest for main computations.
40453 * math/libm-test.inc (pow_test_tonearest): New function.
40454 (pow_test_towardzero): Likewise.
40455 (pow_test_downward): Likewise.
40456 (pow_test_upward): Likewise.
40457 (main): Call the new functions.
40458 * sysdeps/i386/fpu/libm-test-ulps: Update.
40459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40460
40461 [BZ #3976]
40462 * math/libm-test.inc (cosh_test_tonearest): New function.
40463 (cosh_test_towardzero): Likewise.
40464 (cosh_test_downward): Likewise.
40465 (cosh_test_upward): Likewise.
40466 (sinh_test_tonearest): Likewise.
40467 (sinh_test_towardzero): Likewise.
40468 (sinh_test_downward): Likewise.
40469 (sinh_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.
40473
6c6a98c9
TV
404742012-03-05 Tom de Vries <tom@codesourcery.com>
40475
40476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40477 default stack guard is set in last bytes.
40478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40479
21bb2d2e 404802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40481
21bb2d2e 40482 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40483
21bb2d2e
AJ
40484 [BZ #13656]
40485 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40486 possibly allocate from heap instead of stack.
40487 * stdio-common/bug-vfprintf-nargs.c: New file.
40488 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40489
c6922934
AS
404902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40491
40492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40493
bc957d53
MP
404942012-03-03 Marek Polacek <polacek@redhat.com>
40495
40496 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40497 * math/math_private.h: Likewise.
40498 * stdlib/tst-strtod.c: Likewise.
40499 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40500 * sysdeps/x86_64/bits/atomic.h: Likewise.
40501
6358490d
DM
405022012-03-02 David S. Miller <davem@davemloft.net>
40503
40504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40508 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40509 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40511 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40512
01ae168d
RM
405132012-03-02 Roland McGrath <roland@hack.frob.com>
40514
d9a17c07
RM
40515 [BZ #13792]
40516 * manual/examples/README: New file, says the example source files
40517 can be used under GPL>=2.
40518 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40519 line containing just "*/".
40520 * manual/examples/add.c: Add copyright header (GPL>=2).
40521 * manual/examples/argp-ex1.c: Likewise.
40522 * manual/examples/argp-ex2.c: Likewise.
40523 * manual/examples/argp-ex3.c: Likewise.
40524 * manual/examples/argp-ex4.c: Likewise.
40525 * manual/examples/atexit.c: Likewise.
40526 * manual/examples/db.c: Likewise.
40527 * manual/examples/dir.c: Likewise.
40528 * manual/examples/dir2.c: Likewise.
40529 * manual/examples/execinfo.c: Likewise.
40530 * manual/examples/filecli.c: Likewise.
40531 * manual/examples/filesrv.c: Likewise.
40532 * manual/examples/fmtmsgexpl.c: Likewise.
40533 * manual/examples/genpass.c: Likewise.
40534 * manual/examples/inetcli.c: Likewise.
40535 * manual/examples/inetsrv.c: Likewise.
40536 * manual/examples/isockad.c: Likewise.
40537 * manual/examples/longopt.c: Likewise.
40538 * manual/examples/memopen.c: Likewise.
40539 * manual/examples/memstrm.c: Likewise.
40540 * manual/examples/mkfsock.c: Likewise.
40541 * manual/examples/mkisock.c: Likewise.
40542 * manual/examples/mygetpass.c: Likewise.
40543 * manual/examples/pipe.c: Likewise.
40544 * manual/examples/popen.c: Likewise.
40545 * manual/examples/rprintf.c: Likewise.
40546 * manual/examples/search.c: Likewise.
40547 * manual/examples/select.c: Likewise.
40548 * manual/examples/setjmp.c: Likewise.
40549 * manual/examples/sigh1.c: Likewise.
40550 * manual/examples/sigusr.c: Likewise.
40551 * manual/examples/stpcpy.c: Likewise.
40552 * manual/examples/strdupa.c: Likewise.
40553 * manual/examples/strftim.c: Likewise.
40554 * manual/examples/strncat.c: Likewise.
40555 * manual/examples/subopt.c: Likewise.
40556 * manual/examples/swapcontext.c: Likewise.
40557 * manual/examples/termios.c: Likewise.
40558 * manual/examples/testopt.c: Likewise.
40559 * manual/examples/testpass.c: Likewise.
40560 * manual/examples/timeval_subtract.c: Likewise.
40561
01ae168d
RM
40562 [BZ #13792]
40563 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40564 function to ...
40565 * manual/timeval_subtract.c.texi: ... here, new file.
40566
49efa33d
DM
405672012-03-02 David S. Miller <davem@davemloft.net>
40568
40569 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40570
28afd92d
JM
405712012-03-02 Joseph Myers <joseph@codesourcery.com>
40572
804360ed
JM
40573 [BZ #3976]
40574 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40575 (__sin): Save and restore rounding mode and use round-to-nearest
40576 for all computations.
40577 (__cos): Save and restore rounding mode and use round-to-nearest
40578 for all computations.
40579 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40580 <fenv.h>.
40581 (tan): Save and restore rounding mode and use round-to-nearest for
40582 all computations.
40583 * math/libm-test.inc (cos_test_tonearest): New function.
40584 (cos_test_towardzero): Likewise.
40585 (cos_test_downward): Likewise.
40586 (cos_test_upward): Likewise.
40587 (sin_test_tonearest): Likewise.
40588 (sin_test_towardzero): Likewise.
40589 (sin_test_downward): Likewise.
40590 (sin_test_upward): Likewise.
40591 (tan_test_tonearest): Likewise.
40592 (tan_test_towardzero): Likewise.
40593 (tan_test_downward): Likewise.
40594 (tan_test_upward): Likewise.
40595 (main): Call the new functions.
40596 * sysdeps/i386/fpu/libm-test-ulps: Update.
40597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40598
a6d06d7b
JM
40599 [BZ #10135]
40600 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40601 small n, then large n, before computing and testing k+n.
40602 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40604 Likewise.
40605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40606 Likewise.
40607 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40608 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40614 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40615 * math/libm-test.inc (scalbn_test): Add more tests.
40616 (scalbln_test): Likewise.
40617
07e12bb3
JM
40618 * manual/filesys.texi (mode_t): Describe constraints on size and
40619 signedness, not exact equivalence to a particular type.
40620 (ino_t): Likewise.
40621 (ino64_t): Likewise.
40622 (dev_t): Likewise.
40623 (nlink_t): Likewise.
40624 (blkcnt_t): Likewise.
40625 (blkcnt64_t): Likewise.
40626 * manual/llio.texi (off_t): Likewise.
40627
28afd92d
JM
40628 [BZ #3976]
40629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40630 (__ieee754_exp): Save and restore rounding mode and use
40631 round-to-nearest for all computations.
40632 * math/libm-test.inc (exp_test_tonearest): New function.
40633 (exp_test_towardzero): Likewise.
40634 (exp_test_downward): Likewise.
40635 (exp_test_upward): Likewise.
40636 (main): Call the new functions.
40637 * sysdeps/i386/fpu/libm-test-ulps: Update.
40638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40639
b1eeb65d
CD
406402012-03-01 Chris Demetriou <cgd@google.com>
40641
40642 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40643 have predictable order.
40644
53362a4b
DM
406452012-03-01 David S. Miller <davem@davemloft.net>
40646
3c969083
DM
40647 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40648
759707de
DM
40649 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40650 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40651 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40652 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40653
dfdb8ff2
DM
40654 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40655 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40656 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40658 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40659 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40660 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40661 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40662 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40663
ead89f96
DM
40664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40665
7f66bd07
DM
40666 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40667 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40669
53362a4b
DM
40670 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40671 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40673 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40674 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40677 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40678 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40679 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40680 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40683 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40684 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40686 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40687 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40688 * sysdeps/sparc/elf/configure: Regenerated.
40689
7b1902cb
JM
406902012-03-01 Joseph Myers <joseph@codesourcery.com>
40691
bec039bc
JM
40692 * configure.in (AS, LD): Require binutils 2.20 or later.
40693 * configure: Regenerated.
40694 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40695 as required minimum version.
40696 * INSTALL: Regenerated.
40697
7b1902cb
JM
40698 [BZ #2541]
40699 [BZ #4108]
40700 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40701 before squaring exponent.
40702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40703 bottom long double and 27 bits of top long double before squaring
40704 exponent.
40705 * math/libm-test.inc (erfc_test): Add more tests.
40706 * sysdeps/i386/fpu/libm-test-ulps: Update.
40707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40709
f775c276
KT
407102012-03-01 Kai Tietz <ktietz@redhat.com>
40711
40712 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40713 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40714 containing bit-fields.
40715 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40716 * soft-fp/single.h (_FP_UNION_S): Likewise.
40717 * soft-fp/double.h (_FP_UNION_D): Likewise.
40718
5b8a4d4a
JM
407192012-02-29 Joseph Myers <joseph@codesourcery.com>
40720
0bab47b6
JM
40721 [BZ #13786]
40722 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40723 not include ../strcmp.S.
40724 [USE_AS_STRNCASECMP_L]: Likewise.
40725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40726 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40727 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40728 (__strncasecmp_l_ia32): Define as alias to
40729 __strncasecmp_l_nonascii.
40730
0fcad3e2
JM
40731 [BZ #5794]
40732 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40733 * sysdeps/i386/fpu/libm-test-ulps: Update.
40734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40735
5b8a4d4a
JM
40736 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40738
8fdceb2e
JL
407392012-02-29 Jeff Law <law@redhat.com>
40740
40741 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40742 out of bounds read.
40743
1f393a11
MP
407442012-02-29 Marek Polacek <polacek@redhat.com>
40745
40746 [BZ #13706]
40747 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40748 * elf/Makefile: Add rules to run tst-unused-dep.out.
40749
8847f037
DM
407502012-02-28 David S. Miller <davem@davemloft.net>
40751
40752 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40753 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40756 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40757 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40758
169d7f11
JM
407592012-02-29 Joseph Myers <joseph@codesourcery.com>
40760
40761 * math/libm-test.inc (llround_test): Move one test from
40762 lround_test. Use TEST_f_L in moved test.
40763 (lround_test): Move misplaced test to llround_test. Add testcase
40764 from bug 2561.
40765
39adf059
UD
407662012-02-28 Ulrich Drepper <drepper@gmail.com>
40767
40768 * sysdeps/x86_64/fpu/e_expf.S: New file.
40769 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40770
71b5d1c5
SB
407712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40772
40773 [BZ #13637]
40774 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40775 of remain_len that may cause incomplete multi-byte character and
40776 false match.
40777 * posix/bug-regex33.c: New file.
40778 * posix/Makefile (tests): Add bug-regex33.
40779
1f77f049
JM
407802012-02-28 Joseph Myers <joseph@codesourcery.com>
40781
40782 * manual/macros.texi: New file.
40783 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40784 * manual/libc.texinfo: Include macros.texi.
40785 * manual/creatute.texi: Likewise.
40786 * manual/install.texi: Likewise.
40787 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40788 @glibcadj{} in references to the GNU C Library.
40789 * manual/charset.texi: Likewise.
40790 * manual/conf.texi: Likewise.
40791 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40792 when not using those macros.
40793 * manual/creature.texi: Likewise.
40794 * manual/crypt.texi: Likewise.
40795 * manual/errno.texi: Likewise.
40796 * manual/filesys.texi: Likewise.
40797 * manual/header.texi: Likewise.
40798 * manual/install.texi: Likewise.
40799 * manual/intro.texi: Likewise.
40800 * manual/io.texi: Likewise.
40801 * manual/job.texi: Likewise.
40802 * manual/lang.texi: Likewise.
40803 * manual/libc.texiinfo: Likewise.
40804 * manual/llio.texi: Likewise.
40805 * manual/locale.texi: Likewise.
40806 * manual/maint.texi: Likewise.
40807 * manual/math.texi: Likewise.
40808 * manual/memory.texi: Likewise.
40809 * manual/message.texi: Likewise.
40810 * manual/nss.texi: Likewise.
40811 * manual/pattern.texi: Likewise.
40812 * manual/process.texi: Likewise.
40813 * manual/resource.texi: Likewise.
40814 * manual/search.texi: Likewise.
40815 * manual/setjmp.texi: Likewise.
40816 * manual/signal.texi: Likewise.
40817 * manual/socket.texi: Likewise.
40818 * manual/startup.texi: Likewise.
40819 * manual/stdio.texi: Likewise.
40820 * manual/string.texi: Likewise.
40821 * manual/sysinfo.texi: Likewise.
40822 * manual/syslog.texi: Likewise.
40823 * manual/terminal.texi: Likewise.
40824 * manual/time.texi: Likewise.
40825 * manual/users.texi: Likewise.
40826 * INSTALL: Regenerated.
40827 * NOTES: Regenerated.
d40c5d54 40828 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40829
450bf206
AS
408302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40831
40832 * include/dirent.h: Include <dirstream.h> before
40833 <dirent/dirent.h>.
40834
741a235b
DM
408352012-02-28 David S. Miller <davem@davemloft.net>
40836
40837 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40838 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40839 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40841
d6b5aa58
DM
408422012-02-27 David S. Miller <davem@davemloft.net>
40843
1aff59a3
DM
40844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40846 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40847 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40848
d6b5aa58
DM
40849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40850 frame pointer instead of stack pointer relative arg slot.
40851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40852 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40853 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40854
433f48bf
CD
408552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40856
40857 [BZ #3992]
40858 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40859
d674b76d
DM
408602012-02-27 David S. Miller <davem@davemloft.net>
40861
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40868 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40870
0e7727f7
JM
408712012-02-27 Joseph Myers <joseph@codesourcery.com>
40872
40873 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40874 later. Allow versions 5-9.
43be4ca2 40875 * configure: Regenerated.
0e7727f7
JM
40876 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40877 required minimum version and 4.6 as recommended version. Do not
40878 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40879 * INSTALL: Regenerated.
0e7727f7 40880
a78bc654
DM
408812012-02-27 David S. Miller <davem@davemloft.net>
40882
428d5830
DM
40883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40887 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40888 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40889 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40890 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40891
a78bc654
DM
40892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40893 manipulate bits before adding and subtracting TWO112[sx].
40894 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40895
4579f81c
RM
408962012-02-27 Roland McGrath <roland@hack.frob.com>
40897
36c8acb4
RM
40898 [BZ #13775]
40899 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40900 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40901 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40902 being in POSIX, because they are in 1003.1-2008.
40903
84ad622b
RM
40904 * rt/tst-aio.c: Include <fcntl.h>.
40905 * rt/tst-aio7.c: Likewise.
40906 * rt/tst-aio64.c: Likewise.
40907
4579f81c
RM
40908 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40909
abd923db
JM
409102012-02-27 Joseph Myers <joseph@codesourcery.com>
40911
40912 * manual/install.texi (--with-headers): Describe headers as
40913 interface headers, not private headers.
40914 (Specific advice for GNU/Linux systems): Describe use of headers
40915 from "make headers_install", not private headers from older
40916 kernels.
43be4ca2 40917 * INSTALL: Regenerated.
abd923db
JM
40918 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40919 Change to 2.6.19.
40920 * sysdeps/unix/sysv/linux/configure: Regenerated.
40921
6664049b
JM
40922 * manual/llio.texi (fclean): Remove documentation.
40923
bb8b6697
JM
40924 * manual/Makefile (libc-texi-generated): New variable. Include
40925 version.texi.
40926 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40927 $(libc-texi-generated), not duplicated list of files.
40928 (version.texi, stamp-version): New rules.
40929 (realclean): Remove $(libc-texi-generated), not individual files
40930 from that list. Do not remove dir-add.texinfo.
40931 * manual/libc.texinfo: Comment out uses of edition numbers and
40932 references to printed manual. Remove last-updated dates.
40933 (EDITION): Comment out.
40934 (ISBN): Likewise.
40935 (VERSION, UPDATED): Remove.
40936 (version.texi): Include.
40937
12e5c3b9
AS
409382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40939
40940 * sysdeps/posix/spawni.c: Include <signal.h>.
40941 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40942 * sysdeps/pthread/aio_fsync.c: Likewise.
40943
4efeffc1 409442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40945
ba63ba08
UD
40946 * conform/Makefile (tests): Run only when not cross-compiling and
40947 when fast-check is not defined.
40948
d94a4670
UD
40949 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40950 * conform/data/limits.h-data: Fixes for POSIX2008.
40951 * conform/run-conformtest.sh: Run all tests.
40952 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40953 headers.
40954 * include/bits/dlfcn.h: Likewise.
40955 * include/langinfo.h: Likewise.
40956 * include/monetary.h: Likewise.
40957 * include/sys/poll.h: Likewise.
40958
40959 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40960 for __USE_GNU.
40961 * posix/spawn.h: Define __need_sigset_t.
40962 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40963 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40964 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40965 to get sigevent_t only.
40966 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40967 only for __USE_GNU.
40968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40969 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40970 process_vm_writev only for __USE_GNU.
40971 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40972
40973 * conform/Makefile: For now ignore errors from run-conformtest.
40974 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40975 POSIX to avoid namespace pollution. Don't prepend headers.
40976 * conform/data/aio.h-data: Fixes for POSIX testing.
40977 * conform/data/fcntl.h-data: Likewise.
40978 * conform/data/glob.h-data: Likewise.
40979 * conform/data/grp.h-data: Likewise.
40980 * conform/data/pthread.h-data: Likewise.
40981 * conform/data/pwd.h-data: Likewise.
40982 * conform/data/signal.h-data: Likewise.
40983 * conform/data/spawn.h-data: Likewise.
40984 * conform/data/stdio.h-data: Likewise.
40985 * conform/data/stdlib.h-data: Likewise.
40986 * conform/data/stropts.h-data: Likewise.
40987 * conform/data/sys/mman.h-data: Likewise.
40988 * conform/data/sys/stat.h-data: Likewise.
40989 * conform/data/sys/types.h-data: Likewise.
40990 * conform/data/sys/wait.h-data: Likewise.
40991 * conform/data/time.h-data: Likewise.
40992 * conform/data/unistd.h-data: Likewise.
40993 * conform/data/utime.h-data: Likewise.
40994
40995 * io/sys/stat.h: fchmod was always in POSIX.
40996 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40997 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40998 * rt/aio.h: Define __need_timespec before including <time.h>.
40999 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41000 struct. Add forward declaration of pthread_attr_t and use it in
41001 sigevent.
41002 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41004 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41005 always remove CLK_TCK definition.
41006
c20105c3
AS
410072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41008
41009 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41010
7a270350
UD
410112012-02-25 Ulrich Drepper <drepper@gmail.com>
41012
31341567
UD
41013 * conform/run-conformtest.sh: New file.
41014 * conform/Makefile: Run run-conformtest for tests.
41015 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41016 support.
41017
41018 * conform/data/uchar.h-data: New file.
41019 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41020 * conform/data/arpa/inet.h-data: Likewise.
41021 * conform/data/assert.h-data: Likewise.
41022 * conform/data/complex.h-data: Likewise.
41023 * conform/data/cpio.h-data: Likewise.
41024 * conform/data/ctype.h-data: Likewise.
41025 * conform/data/dirent.h-data: Likewise.
41026 * conform/data/dlfcn.h-data: Likewise.
41027 * conform/data/errno.h-data: Likewise.
41028 * conform/data/fcntl.h-data: Likewise.
41029 * conform/data/float.h-data: Likewise.
41030 * conform/data/fmtmsg.h-data: Likewise.
41031 * conform/data/fnmatch.h-data: Likewise.
41032 * conform/data/ftw.h-data: Likewise.
41033 * conform/data/glob.h-data: Likewise.
41034 * conform/data/grp.h-data: Likewise.
41035 * conform/data/iconv.h-data: Likewise.
41036 * conform/data/inttypes.h-data: Likewise.
41037 * conform/data/langinfo.h-data: Likewise.
41038 * conform/data/libgen.h-data: Likewise.
41039 * conform/data/limits.h-data: Likewise.
41040 * conform/data/locale.h-data: Likewise.
41041 * conform/data/math.h-data: Likewise.
41042 * conform/data/monetary.h-data: Likewise.
41043 * conform/data/mqueue.h-data: Likewise.
41044 * conform/data/ndbm.h-data: Likewise.
41045 * conform/data/net/if.h-data: Likewise.
41046 * conform/data/netdb.h-data: Likewise.
41047 * conform/data/netinet/in.h-data: Likewise.
41048 * conform/data/nl_types.h-data: Likewise.
41049 * conform/data/poll.h-data: Likewise.
41050 * conform/data/pthread.h-data: Likewise.
41051 * conform/data/pwd.h-data: Likewise.
41052 * conform/data/regex.h-data: Likewise.
41053 * conform/data/sched.h-data: Likewise.
41054 * conform/data/search.h-data: Likewise.
41055 * conform/data/semaphore.h-data: Likewise.
41056 * conform/data/setjmp.h-data: Likewise.
41057 * conform/data/signal.h-data: Likewise.
41058 * conform/data/spawn.h-data: Likewise.
41059 * conform/data/stdarg.h-data: Likewise.
41060 * conform/data/stdio.h-data: Likewise.
41061 * conform/data/stdlib.h-data: Likewise.
41062 * conform/data/string.h-data: Likewise.
41063 * conform/data/strings.h-data: Likewise.
41064 * conform/data/stropts.h-data: Likewise.
41065 * conform/data/sys/ipc.h-data: Likewise.
41066 * conform/data/sys/mman.h-data: Likewise.
41067 * conform/data/sys/msg.h-data: Likewise.
41068 * conform/data/sys/resource.h-data: Likewise.
41069 * conform/data/sys/select.h-data: Likewise.
41070 * conform/data/sys/sem.h-data: Likewise.
41071 * conform/data/sys/shm.h-data: Likewise.
41072 * conform/data/sys/socket.h-data: Likewise.
41073 * conform/data/sys/stat.h-data: Likewise.
41074 * conform/data/sys/statvfs.h-data: Likewise.
41075 * conform/data/sys/time.h-data: Likewise.
41076 * conform/data/sys/timeb.h-data: Likewise.
41077 * conform/data/sys/times.h-data: Likewise.
41078 * conform/data/sys/types.h-data: Likewise.
41079 * conform/data/sys/uio.h-data: Likewise.
41080 * conform/data/sys/un.h-data: Likewise.
41081 * conform/data/sys/utsname.h-data: Likewise.
41082 * conform/data/sys/wait.h-data: Likewise.
41083 * conform/data/syslog.h-data: Likewise.
41084 * conform/data/tar.h-data: Likewise.
41085 * conform/data/termios.h-data: Likewise.
41086 * conform/data/utime.h-data: Likewise.
41087 * conform/data/utmpx.h-data: Likewise.
41088 * conform/data/varargs.h-data: Likewise.
41089 * conform/data/wchar.h-data: Likewise.
41090 * conform/data/wctype.h-data: Likewise.
41091 * conform/data/wordexp.h-data: Likewise.
41092
41093 * include/stropts.h: New file.
41094 * include/uchar.h: New file.
41095 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41096 * include/assert.h: Likewise.
41097 * include/ctype.h: Likewise.
41098 * include/dirent.h: Likewise.
41099 * include/dlfcn.h: Likewise.
41100 * include/fcntl.h: Likewise.
41101 * include/fnmatch.h: Likewise.
41102 * include/glob.h: Likewise.
41103 * include/grp.h: Likewise.
41104 * include/libio.h: Likewise.
41105 * include/locale.h: Likewise.
41106 * include/math.h: Likewise.
41107 * include/net/if.h: Likewise.
41108 * include/netdb.h: Likewise.
41109 * include/netinet/in.h: Likewise.
41110 * include/pthread.h: Likewise.
41111 * include/pwd.h: Likewise.
41112 * include/regex.h: Likewise.
41113 * include/sched.h: Likewise.
41114 * include/search.h: Likewise.
41115 * include/setjmp.h: Likewise.
41116 * include/signal.h: Likewise.
41117 * include/stdio.h: Likewise.
41118 * include/stdlib.h: Likewise.
41119 * include/string.h: Likewise.
41120 * include/sys/cdefs.h: Likewise.
41121 * include/sys/mman.h: Likewise.
41122 * include/sys/msg.h: Likewise.
41123 * include/sys/resource.h: Likewise.
41124 * include/sys/select.h: Likewise.
41125 * include/sys/socket.h: Likewise.
41126 * include/sys/stat.h: Likewise.
41127 * include/sys/statvfs.h: Likewise.
41128 * include/sys/time.h: Likewise.
41129 * include/sys/times.h: Likewise.
41130 * include/sys/uio.h: Likewise.
41131 * include/sys/utsname.h: Likewise.
41132 * include/sys/wait.h: Likewise.
41133 * include/termios.h: Likewise.
41134 * include/time.h: Likewise.
41135 * include/ulimit.h: Likewise.
41136 * include/unistd.h: Likewise.
41137 * include/utime.h: Likewise.
41138 * include/wchar.h: Likewise.
41139 * include/wctype.h: Likewise.
41140 * include/wordexp.h: Likewise.
41141
41142 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41143
7a270350
UD
41144 * time/time.h: TIME_UTC must be a macro.
41145 Make timespec_get available for ISO C11 only as well.
41146
7724defc
UD
411472012-02-24 Ulrich Drepper <drepper@gmail.com>
41148
41149 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41150 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41151
6b1d1d46
JM
411522012-02-24 Joseph Myers <joseph@codesourcery.com>
41153
41154 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41155
0f8bbd69
JM
411562012-02-24 Joseph Myers <joseph@codesourcery.com>
41157
41158 * manual/texinfo.tex: Update to version 2012-01-19.16.
41159
66ab80bc
JM
411602012-02-24 Joseph Myers <joseph@codesourcery.com>
41161
41162 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41163
74981cc5
RM
411642012-02-24 Roland McGrath <roland@hack.frob.com>
41165
ee968201
RM
41166 [BZ #13738]
41167 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41168 * manual/fdl-1.3.texi: New file.
41169 * manual/fdl-1.1.texi: File removed.
41170
74981cc5
RM
41171 [BZ #13738]
41172 * manual/libc.texinfo (FDL_VERSION): New @set.
41173 Use it for mention of FDL in cover text.
41174 (Documentation License): Use it in @include file name.
41175
7bb764bc
JM
411762012-02-22 Joseph Myers <joseph@codesourcery.com>
41177 Roland McGrath <roland@hack.frob.com>
41178
41179 [BZ #5461]
57f41c40
AS
41180 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41181 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41182 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41183 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41184 name.
41185 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41186
6cbeae47
JM
411872012-02-22 Joseph Myers <joseph@codesourcery.com>
41188
41189 [BZ #2547]
41190 [BZ #11365]
41191 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41192 manipulate bits before adding and subtracting TWO23[sx].
41193 * math/libm-test.inc (nearbyint_test): Add more tests.
41194
fe45ce09
JM
411952012-02-22 Joseph Myers <joseph@codesourcery.com>
41196
41197 [BZ #2548]
41198 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41199 bits before adding and subtracting TWO23[sx].
41200 * math/libm-test.inc (rint_test): Add more tests.
41201 (rint_test_tonearest): Likewise.
41202 (rint_test_towardzero): Likewise.
41203 (rint_test_downward): Likewise.
41204 (rint_test_upward: Likewise.
41205
ff3b3d82
JM
412062012-02-22 Joseph Myers <joseph@codesourcery.com>
41207
41208 [BZ #10110]
41209 * include/stdc-predef.h: New file. Extracted from features.h.
41210 * include/features.h: Include stdc-predef.h.
41211 * Makefile (headers): Add stdc-predef.h.
41212 * CONFORMANCE (Compiler limitations): Update.
41213
ef0aab35
JM
412142012-02-22 Joseph Myers <joseph@codesourcery.com>
41215
41216 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41217
58639409
DM
412182012-02-21 David S. Miller <davem@davemloft.net>
41219
41220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41222
c0e70b25
DM
412232012-02-20 David S. Miller <davem@davemloft.net>
41224
41225 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41226 using a normal save/restore sequence, rather than allocating a
41227 dummy stack frame just to store a frame pointer and restore.
41228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41229
fb06851d
JM
412302012-02-21 Joseph Myers <joseph@codesourcery.com>
41231
41232 * manual/install.texi: Fix stray word in line-wrapped comment.
41233
7a8b71c3
DM
412342012-02-20 David S. Miller <davem@davemloft.net>
41235
d510c123
DM
41236 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41237 both binutils and gcc support GOTDATA.
41238
0722d7c2
DM
41239 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41240 "rd %pc" in the PIC register setup sequences.
41241
3d2b3019
DM
41242 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41243 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41244 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41245 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41251 (SYSCALL_ERROR_HANDLER): Likewise.
41252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41255 (SYSCALL_ERROR_HANDLER): Likewise.
41256
c80098a9
DM
41257 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41258 (HAVE_GCC_GOTDATA): New.
41259 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41260 relocation support in both binutils and gcc.
41261 * sysdeps/sparc/elf/configure: Regenerate.
41262
3a2545a0
DM
41263 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41264 * sysdeps/sparc/sparc32/elf/configure: Delete.
41265 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41266 * sysdeps/sparc/sparc64/elf/configure: Delete.
41267 * sysdeps/sparc/elf/configure.in: New file.
41268 * sysdeps/sparc/elf/configure: Generate.
41269
7a8b71c3
DM
41270 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41271 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41272 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41273 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41274 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41275
f1e86fca
JM
412762012-02-21 Joseph Myers <joseph@codesourcery.com>
41277
41278 * manual/install.texi: Do not mention specific glibc version
41279 numbers.
41280 * manual/libc.texinfo (VERSION, UPDATED): Update.
41281 (@copying): Use @copyright{} and range of years.
41282
0e7dfaef
JM
412832012-02-21 Joseph Myers <joseph@codesourcery.com>
41284
41285 [BZ #13695]
41286 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41287 [crti.S not in sysdirs] (generated): Do not append.
41288 [crti.S not in sysdirs] (omit-deps): Likewise.
41289 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41290 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41291 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41292 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41293 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41294 Likewise.
41295 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41296 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41297 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41298 * csu/defs.awk: Remove file.
41299 * sysdeps/generic/initfini.c: Likewise.
41300 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41301 variable.
41302 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41303 Likewise.
41304
599af3ca
JM
413052012-02-20 Joseph Myers <joseph@codesourcery.com>
41306
41307 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41308 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41309 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41310 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41312 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41313 <bits/epoll.h>.
41314 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41315 (__EPOLL_PACKED): Define to empty if not defined by
41316 <bits/epoll.h>.
41317 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41319 bits/epoll.h.
41320
0e499750
JM
413212012-02-20 Joseph Myers <joseph@codesourcery.com>
41322
41323 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41324 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41325 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41326 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41327 <bits/timerfd.h>.
41328 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41330 bits/timerfd.h.
41331
5ad91f6e
JM
413322012-02-20 Joseph Myers <joseph@codesourcery.com>
41333
41334 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41335 in C locale.
41336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41340
06b99b02
AJ
413412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41342
41343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41345
7638c0fd
AS
413462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41347
41348 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41349 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41350 defined.
41351 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41352 Likewise.
41353 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41354 entry for 2.16.
41355
92221550
AJ
413562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41357
41358 * math/w_acos.c: Use non-signaling floating-point comparisons.
41359 * math/w_acosf.c: Likewise.
41360 * math/w_acosh.c: Likewise.
41361 * math/w_acoshf.c: Likewise.
41362 * math/w_acoshl.c: Likewise.
41363 * math/w_acosl.c: Likewise.
41364 * math/w_asin.c: Likewise.
41365 * math/w_asinf.c: Likewise.
41366 * math/w_asinl.c: Likewise.
41367 * math/w_atanh.c: Likewise.
41368 * math/w_atanhf.c: Likewise.
41369 * math/w_atanhl.c: Likewise.
41370 * math/w_exp2.c: Likewise.
41371 * math/w_exp2f.c: Likewise.
41372 * math/w_exp2l.c: Likewise.
41373 * math/w_j0.c: Likewise.
41374 * math/w_j0f.c: Likewise.
41375 * math/w_j0l.c: Likewise.
41376 * math/w_j1.c: Likewise.
41377 * math/w_j1f.c: Likewise.
41378 * math/w_j1l.c: Likewise.
41379 * math/w_jn.c: Likewise.
41380 * math/w_jnf.c: Likewise.
41381 * math/w_log.c: Likewise.
41382 * math/w_log10.c: Likewise.
41383 * math/w_log10f.c: Likewise.
41384 * math/w_log10l.c: Likewise.
41385 * math/w_log2.c: Likewise.
41386 * math/w_log2f.c: Likewise.
41387 * math/w_log2l.c: Likewise.
41388 * math/w_logf.c: Likewise.
41389 * math/w_logl.c: Likewise.
41390 * math/w_sqrt.c: Likewise.
41391 * math/w_sqrtf.c: Likewise.
41392 * math/w_sqrtl.c: Likewise.
41393 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41395 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41398
ebaf36eb
JM
413992012-02-19 Joseph Myers <joseph@codesourcery.com>
41400
41401 [BZ #9739]
41402 * manual/string.texi (strnlen): Use correct parameter name in
41403 equivalent expression.
41404
71c254a6
JM
414052012-02-19 Joseph Myers <joseph@codesourcery.com>
41406
41407 [BZ #11174]
41408 * manual/users.texi (seteuid): Consistently use neweuid for
41409 argument name.
41410
16d2c631
JM
414112012-02-19 Joseph Myers <joseph@codesourcery.com>
41412
41413 [BZ #13704]
41414 * manual/nss.texi (Services in the NSS configuration): Correct
41415 list of services in example configuration file.
41416
cd837b09
NB
414172012-02-19 Nick Bowler <nbowler@draconx.ca>
41418
41419 [BZ #11322]
41420 * manual/arith.texi: Remove statements about negative zero
41421 behaving identically to zero.
41422
02c4bbad
JM
414232012-02-18 Joseph Myers <joseph@codesourcery.com>
41424
41425 [BZ #5993]
41426 * manual/install.texi: Do not document upgrading from libc5.
41427
366842e7
JM
414282012-02-18 Joseph Myers <joseph@codesourcery.com>
41429
41430 [BZ #4596]
41431 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41432
dd54084d
DM
414332012-02-18 David S. Miller <davem@davemloft.net>
41434
41435 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41436 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41437 %o7 across the call.
41438 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41439 instead.
41440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41441 SETUP_PIC_REG_LEAF.
41442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41443 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41444 * sysdeps/sparc/crtn.S: Likewise.
41445
2bcc53a3
UD
414462012-02-17 Ulrich Drepper <drepper@gmail.com>
41447
41448 * aout/Makefile: Remove.
41449
09c093b5
RK
414502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41451
41452 [BZ #13058]
41453 * manual/examples/argp-ex1.c (main): Format definition in GNU
41454 style.
41455 * manual/examples/argp-ex2.c (main): Likewise.
41456 * manual/examples/argp-ex3.c (main): Likewise.
41457 * manual/examples/argp-ex4.c (main): Likewise.
41458 * manual/examples/longopt.c (main): Use new-style prototype
41459 definition.
41460 * manual/examples/strncat.c (main): Specify return type and use
41461 (void) for arguments.
41462 * manual/examples/subopt.c (main): Use char **argv argument.
41463
2ee633a2
JM
414642012-02-17 Joseph Myers <joseph@codesourcery.com>
41465
41466 [BZ #5077]
41467 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41468 rounding modes.
41469
0520adde
FB
414702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41471
41472 [BZ #6907]
41473 * manual/string.texi (strchr): Change when strchrnul is
41474 recommended.
41475
3f4081cd
DGM
414762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41477
41478 [BZ #174]
41479 * manual/locale.texi (setlocale): Document LOCPATH.
41480
d1b10e78
JM
414812012-02-17 Joseph Myers <joseph@codesourcery.com>
41482
41483 [BZ #10210]
41484 * manual/process.texi (execle): Move @dots{} before last argument.
41485
79c6869c
PB
414862012-02-17 Paul Bolle <pebolle@tiscali.nl>
41487
41488 [BZ #12047]
41489 * manual/charset.texi (Generic Charset Conversion): Fix typo
41490 (LC_TYPE -> LC_CTYPE).
41491
cc6e48bc
NB
414922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41493
41494 [BZ #5805]
41495 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41496 (scalbnf): Likewise.
41497 (scalbnl): Likewise.
41498 (scalbln): Likewise.
41499 (scalblnf): Likewise.
41500 (scalblnl): Likewise.
41501 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41502 (vwarnx): Likewise.
41503 (verr): Likewise.
41504 (verrx): Likewise.
41505 * manual/filesys.texi (telldir): Use braces around return type.
41506 * manual/llio.texi (mmap): Add space after comma.
41507 (mmap64): Likewise.
41508 * manual/math.texi (jn): Use @var{} on parameter names.
41509 (jnf): Likewise.
41510 (jnl): Likewise.
41511 (yn): Likewise.
41512 (ynf): Likewise.
41513 (ynl): Likewise.
41514 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41515 line.
41516 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41517 "...".
41518 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41519 (sched_get_priority_max): Likewise.
41520 * manual/signal.texi (sigvec): Add space after comma.
41521 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41522 names.
41523 (if_indextoname): Likewise.
41524 (if_freenameindex): Likewise.
41525 (sendto): Use ',' instead of '.' in prototype.
41526 * manual/startup.texi (syscall): Use @dots{} instead of literal
41527 "...".
41528 * manual/stdio.texi (__fpending): Separate initial words of
41529 paragraph from @deftypefun line.
41530 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41531 "...".
41532 (vsyslog): Use @var{} on parameter names.
41533 * manual/terminal.texi (stty): Use @var{} on parameter names.
41534 * manual/users.texi (getutmp): Use @var{} on parameter names.
41535 (getutmpx): Likewise.
41536
5b23062f
JM
415372012-02-17 Joseph Myers <joseph@codesourcery.com>
41538
41539 [BZ #6884]
41540 * manual/stdio.texi (fopen): Fix typos in description of
41541 ",ccs=STRING".
41542
8dee4833
AJ
415432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41544
41545 [BZ #4026]
41546 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41547 get clock_id definition.
41548
9078ce93
TS
415492012-02-17 Thomas Schwinge <thomas@schwinge.name>
41550
41551 [BZ #4822]
41552 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41553 (madvise): Cast every argument to void on its own.
41554
3835c55f
JM
415552012-02-17 Joseph Myers <joseph@codesourcery.com>
41556
41557 [BZ #9902]
41558 * manual/startup.texi (Exit Status): Fix typo.
41559
35c47e37
JM
415602012-02-17 Joseph Myers <joseph@codesourcery.com>
41561
41562 [BZ #10140]
41563 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41564 * manual/examples/argp-ex2.c: Likewise.
41565 * manual/examples/argp-ex3.c: Likewise.
41566
e3b69ca7
RH
415672012-02-16 Richard Henderson <rth@redhat.com>
41568
41569 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41570 * sysdeps/s390/s390-32/initfini.c: Remove.
41571 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41572 * sysdeps/s390/s390-64/initfini.c: Remove.
41573
df83af67
KK
415742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41575
41576 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41577 compiler output for sysdeps/generic/initfini.c.
41578 * sysdeps/sh/elf/initfini.c: Remove file.
41579
f63f3380
DM
415802012-02-16 David S. Miller <davem@davemloft.net>
41581
fb59b3a4
DM
41582 [BZ #11494]
41583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41584
f63f3380
DM
41585 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41586 * sysdeps/sparc/crti.S: New file.
41587 * sysdeps/sparc/crtn.S: New file.
41588 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41589 * sysdeps/sparc/sparc64/Makefile: Likewise.
41590
df6a4a4a
MF
415912012-02-15 Mike Frysinger <vapier@gentoo.org>
41592
6dd8f3dc 41593 [BZ #3335]
df6a4a4a
MF
41594 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41595
1cac7236
RM
415962012-02-15 Roland McGrath <roland@hack.frob.com>
41597
d2c736f8
RM
41598 [BZ #4822]
41599 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41600
1cac7236
RM
41601 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41602 (write, read, close): Likewise.
41603 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41604
8e475601
JM
416052012-02-15 Joseph Myers <joseph@codesourcery.com>
41606
41607 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41608 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41610 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41611 <bits/signalfd.h>.
41612 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41614 bits/signalfd.h.
41615
ed656b40
MP
416162012-02-14 Marek Polacek <polacek@redhat.com>
41617
41618 * sysdeps/x86_64/crti.S: New file.
41619 * sysdeps/x86_64/crtn.S: New file.
41620 * sysdeps/x86_64/elf/initfini.c: Remove file.
41621
2a979d3a
JM
416222012-02-13 Joseph Myers <joseph@codesourcery.com>
41623
41624 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41625 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41626 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41627 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41628 <bits/inotify.h>.
41629 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41631 bits/inotify.h.
41632
2a418ac3
JM
416332012-02-13 Joseph Myers <joseph@codesourcery.com>
41634
41635 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41636 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41637 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41638 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41639 <bits/eventfd.h>.
41640 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41642 bits/eventfd.h.
41643
fb779be7
TS
416442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41645
e19e83c5
RM
41646 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41647 __feraiseexcept instead of feraiseexcept.
7c35ffed 41648
fb779be7
TS
41649 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41650 nanosleep invocations.
41651 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41652 strings, and add error checking for a nanosleep invocations.
41653
59ba27a6
PE
416542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41655
41656 Replace FSF snail mail address with URLs, as per GNU coding standards.
41657 Most of the snail mail addresses were wrong anyway, and omitting
41658 them makes the source code easier to maintain. Almost all of the
41659 changes are to license notices and to locale LC_IDENTIFICATION
41660 addresses, except for this one:
41661 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41662 not its snail mail address.
41663
57b957eb
RH
416642012-02-09 Richard Henderson <rth@twiddle.net>
41665
af850b1c
RH
41666 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41667 of kernel-features.h.
41668
57b957eb
RH
41669 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41670
6b73181a
MP
416712012-02-08 Marek Polacek <polacek@redhat.com>
41672
41673 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41674 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41675 * sysdeps/gnu/_G_config.h: Likewise.
41676 * sysdeps/generic/_G_config.h: Likewise.
41677
26ecc33a
AS
416782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41679
6c6dbc63
AS
41680 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41681 tests.
41682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41683
e216c012
AS
41684 * sysdeps/powerpc/powerpc32/crti.S: New file.
41685 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41686 * sysdeps/powerpc/powerpc64/crti.S: New file.
41687 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41688
26ecc33a
AS
41689 * Makeconfig (have-initfini): Don't set.
41690 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41691 * configure.in (nopic_initfini): Don't substitute.
41692 * config.h.in (HAVE_INITFINI): Don't #undef.
41693 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41694 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41695
3add8e13
JM
416962012-02-08 Joseph Myers <joseph@codesourcery.com>
41697
41698 Support crti.S and crtn.S provided directly by architectures.
41699 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41700 [crti.S in sysdirs] (omit-deps): Likewise.
41701 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41702 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41703 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41704 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41705 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41706 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41707 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41708 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41709 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41710 compiler output for sysdeps/generic/initfini.c.
41711 * sysdeps/i386/elf/Makefile: Remove file.
41712 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41713
a22f12b4
MP
417142012-02-07 Marek Polacek <polacek@redhat.com>
41715
41716 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41717 * sysdeps/gnu/_G_config.h: Likewise.
41718 * sysdeps/mach/hurd/_G_config.h: Likewise.
41719
148cf100
MP
417202012-02-07 Marek Polacek <polacek@redhat.com>
41721
41722 * math/Makefile (tests): Add tst-CMPLX2.
41723 * math/tst-CMPLX2.c: New file.
41724
cfdc0dd7
AS
417252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41726
84ba42c4
AS
41727 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41728
cfdc0dd7
AS
41729 * math/libm-test.inc (jn_test): Add missing L suffix.
41730
622c86f4
MP
417312012-02-06 Marek Polacek <polacek@redhat.com>
41732
41733 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41734 * sysdeps/i386/fpu/e_powf.S: Likewise.
41735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41736 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41737 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41738 * sysdeps/i386/fpu/e_pow.S: Likewise.
41739 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41740 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41741 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41742 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41743 * sysdeps/i386/fpu/e_log2.S: Likewise.
41744 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41745 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41746 * sysdeps/i386/fpu/e_powl.S: Likewise.
41747 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41749 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41750 * sysdeps/i386/fpu/e_logl.S: Likewise.
41751 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41752 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41753 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41754 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41755 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41756 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41757 * sysdeps/i386/fpu/e_log.S: Likewise.
41758 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41760 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41761 * sysdeps/i386/fpu/e_logf.S: Likewise.
41762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41763 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41764 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41765 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41766 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41767 * sysdeps/i386/fpu/e_log10.S: Likewise.
41768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41773 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41774 * sysdeps/i386/asm-syntax.h: Likewise.
41775 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41777 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41778 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41779 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41781 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41782 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41784 * sysdeps/powerpc/sysdep.h: Likewise.
41785 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41786 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41787
d4a54ac6
JM
417882012-02-06 Joseph Myers <joseph@codesourcery.com>
41789
41790 [BZ #411]
41791 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41792
314054ea
JM
417932012-02-06 Joseph Myers <joseph@codesourcery.com>
41794
41795 * sysdeps/i386/sysdep.h: Include <features.h>.
41796 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41797 version.
41798
d8e0ca50
JM
417992012-02-05 Joseph Myers <joseph@codesourcery.com>
41800
41801 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41802 Define.
41803 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41804 LOAD_PIC_REG_STR.
41805
b1da7dd9
JM
418062012-02-03 Joseph Myers <joseph@codesourcery.com>
41807
41808 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41809 (SETUP_PIC_REG): Use GET_PC_THUNK.
41810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41811 macro.
41812
9a1d9254
JM
418132012-02-03 Joseph Myers <joseph@codesourcery.com>
41814
41815 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41816 for non-PIC compilation.
41817 (SETUP_PIC_REG): Add .p2align directive.
41818 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41819 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41823 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41824 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41826 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41827 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41828 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41829 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41830 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41831 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41832 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41833 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41834 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41839 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41840 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41841 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41844 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41845 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41846 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41847 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41848 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41850 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41851 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41852 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41859
65dc3b75
JM
418602012-02-03 Joseph Myers <joseph@codesourcery.com>
41861
41862 * math/tst-CMPLX.c: Include <stdio.h>.
41863
d55bf177
JM
418642012-01-31 Joseph Myers <joseph@codesourcery.com>
41865
41866 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41867 float.
41868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41869 * sysdeps/sparc/bits/mathdef.h: Likewise.
41870
69db4f8f
MP
418712012-01-31 Marek Polacek <polacek@redhat.com>
41872
41873 * libio/libio.h: Don't define _PARAMS.
41874 * locale/programs/config.h: Don't define PARAMS.
41875 * stdlib/strtol_l.c: Likewise.
41876 (__strtol_l): Remove PARAMS from the prototype.
41877
41b81892
UD
418782012-01-31 Ulrich Drepper <drepper@gmail.com>
41879
3b49edc0
UD
41880 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41881 names. Just use the correct names. Remove unnecessary wrapper
41882 functions.
41883 * malloc/arena.c: Likewise.
41884 * malloc/hooks.c: Likewise.
41885
41b81892
UD
41886 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41887 ARENA_TEST says not to. Simplify test for creation of a new arena.
41888 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41889
27a25b6e
UD
418902012-01-30 Ulrich Drepper <drepper@gmail.com>
41891
41892 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41893 into tail calls.
41894 (update_get_addr): New function.
41895 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41896 GET_ADDR_MODULE parameter.
41897
c8a89e7d
JM
418982012-01-30 Joseph Myers <joseph@codesourcery.com>
41899
41900 * crypt/cert.c: Remove __STDC__ conditionals.
41901 * crypt/crypt-entry.c: Likewise.
41902 * crypt/crypt_util.c: Likewise.
41903 * libio/filedoalloc.c: Likewise.
41904 * libio/fileops.c: Likewise.
41905 * libio/genops.c: Likewise.
41906 * libio/iofclose.c: Likewise.
41907 * libio/iofdopen.c: Likewise.
41908 * libio/iofopen.c: Likewise.
41909 * libio/iofopen64.c: Likewise.
41910 * libio/iogetdelim.c: Likewise.
41911 * libio/iopopen.c: Likewise.
41912 * libio/obprintf.c: Likewise.
41913 * libio/oldfileops.c: Likewise.
41914 * libio/oldiofclose.c: Likewise.
41915 * libio/oldiofdopen.c: Likewise.
41916 * libio/oldiofopen.c: Likewise.
41917 * libio/oldiopopen.c: Likewise.
41918 * libio/wfiledoalloc.c: Likewise.
41919 * libio/wgenops.c: Likewise.
41920 * locale/programs/xmalloc.c: Likewise.
41921 * misc/syslog.c: Likewise.
41922 * stdio-common/xbug.c: Likewise.
41923 * string/memchr.c: Likewise.
41924 * string/memcmp.c: Likewise.
41925 * string/memrchr.c: Likewise.
41926 * string/rawmemchr.c: Likewise.
41927 * sysdeps/posix/getcwd.c: Likewise.
41928 * time/strftime_l.c: Likewise.
41929
3b100462
JM
419302012-01-30 Joseph Myers <joseph@codesourcery.com>
41931
41932 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41933 * config.make.in (config-cflags-sse2avx): Define.
41934 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41935 Fix typo.
41936
607998af
CM
419372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41938
41939 * scripts/config.guess: Update from upstream config git repository.
41940 * scripts/config.sub: Likewise.
41941
3601428f
CM
419422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41943
3ac8b282
CM
41944 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41945 (EM_NUM): Update.
41946 (R_TILEPRO_*, R_TILEGX_*): New macros.
41947
e034841e
CM
41948 * scripts/firstversions.awk: Fix bug in version range handling.
41949
540d7568
CM
41950 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41951
3601428f
CM
41952 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41953
463de862
CM
41954 * include/sys/epoll.h: New file.
41955 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41956 libc_hidden_def.
41957
73139a76
UD
419582012-01-28 Ulrich Drepper <drepper@gmail.com>
41959
96bc5b45
UD
41960 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41961 Avoid unnecessary __WORDSIZE == 64 test.
41962 (fmaxf): Use VEX format if possible.
41963 (fmax): Likewise.
41964 (fminf): Likewise.
41965 (fmin): Likewise.
41966
56f6f6a2
UD
41967 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41968 * math/math_private.h: Remove libc_fegetround* and
41969 libc_fesetround*.
41970 * sysdeps/i386/configure.in: Check for -msse2avx.
41971 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41972 also if SSE2AVX is defined.
41973 Remove libc_fegetround* and libc_fesetround*.
41974 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41975 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41977 of HAS_YMM_USABLE.
41978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41983
73139a76
UD
41984 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41985
d73f93a4
AZ
419862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41987
41988 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41989 size is not set.
41990 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41991
6ee65ed6
UD
419922012-01-27 Ulrich Drepper <drepper@gmail.com>
41993
41994 [BZ #13618]
41995 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41996 relocation.
41997 * Makeconfig (libm): Define.
41998 * elf/Makefile: Add rules to build and run tst-relsort1.
41999 * elf/tst-relsort1.c: New file.
42000 * elf/tst-relsort1mod1.c: New file.
42001 * elf/tst-relsort1mod2.c: New file.
42002
8db21882
JM
420032012-01-27 Joseph Myers <joseph@codesourcery.com>
42004
42005 * math/s_ldexp.c: Remove __STDC__ conditionals.
42006 * math/s_ldexpf.c: Likewise.
42007 * math/s_ldexpl.c: Likewise.
42008 * math/s_nextafter.c: Likewise.
42009 * math/s_nexttowardf.c: Likewise.
42010 * math/s_significand.c: Likewise.
42011 * math/s_significandf.c: Likewise.
42012 * math/s_significandl.c: Likewise.
42013 * math/w_jnl.c: Likewise.
42014 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42015 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42016 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42017 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42018 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42020 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42024 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42026 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42027 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42029 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42030 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42042 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42043 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42044 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42045 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42048 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42050 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42051 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42052 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42054 * sysdeps/ieee754/k_standard.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42134 * sysdeps/ieee754/s_matherr.c: Likewise.
42135 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42136 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42139
965a54a4
JM
421402012-01-26 Joseph Myers <joseph@codesourcery.com>
42141
42142 * crypt/md5.h: Remove __STDC__ conditionals.
42143 * libio/libioP.h: Likewise.
42144 * locale/programs/config.h: Likewise.
42145 * sysdeps/generic/sysdep.h: Likewise.
42146 * sysdeps/i386/asm-syntax.h: Likewise.
42147 * sysdeps/s390/asm-syntax.h: Likewise.
42148 * sysdeps/unix/sysdep.h: Likewise.
42149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42151
7071ad79
JM
421522012-01-26 Joseph Myers <joseph@codesourcery.com>
42153
42154 * libio/libio.h: Remove __STDC__ conditionals.
42155 * malloc/obstack.h: Likewise.
42156 * math/complex.h: Likewise.
42157 * math/math.h: Likewise.
42158 * sysdeps/generic/_G_config.h: Likewise.
42159 * sysdeps/gnu/_G_config.h: Likewise.
42160 * sysdeps/mach/hurd/_G_config.h: Likewise.
42161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42162 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42163 * sysdeps/sparc/bits/mathdef.h: Likewise.
42164
afc5ed09
UD
421652012-01-26 Ulrich Drepper <drepper@gmail.com>
42166
42167 [BZ #13583]
42168 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42169 Clean up HAS_* macros.
afc5ed09 42170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42171 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42172 possible.
42173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42174 HAS_AVX.
42175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42180
bdb6de1d
JM
421812012-01-25 Joseph Myers <joseph@codesourcery.com>
42182
42183 * elf/tst-unique3.cc (gets): Remove declaration.
42184 * elf/tst-unique3lib.cc (gets): Likewise.
42185 * elf/tst-unique3lib2.cc (gets): Likewise.
42186 * elf/tst-unique4.cc (gets): Likewise.
42187
b15549e6
UD
421882012-01-24 Ulrich Drepper <drepper@gmail.com>
42189
42190 * include/stdio.h: Add C++ protection. Add gets declarations and
42191 definitions.
42192 * debug/tst-chk1.c: Don't declare gets here.
42193 * stdio-common/tst-gets.c: Likewise.
42194
a037381f
JM
421952012-01-24 Joseph Myers <joseph@codesourcery.com>
42196
42197 * posix/glob: Remove directory.
42198
f1d4aa75
JM
421992012-01-24 Joseph Myers <joseph@codesourcery.com>
42200
42201 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42202
81c0c964
PT
422032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42204
42205 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42206 of the non-standard EPFNOSUPPORT.
42207
0ea698ae
ST
422082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42209
42210 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42211 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42212 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42213
d220b117
UD
422142012-01-21 Ulrich Drepper <drepper@gmail.com>
42215
42216 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42217
3e1aa84e
UD
422182012-01-20 Ulrich Drepper <drepper@gmail.com>
42219
42220 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42221 transient errors.
42222 * nscd/grpcache.c (cache_addgr): Likewise.
42223 * nscd/hstcache.c (cache_addhst): Likewise.
42224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42225 * nscd/pwdcache.c (cache_addpw): Likewise.
42226 * nscd/servicescache.c (cache_addserv): Likewise.
42227
400aa020
UD
422282012-01-16 Ulrich Drepper <drepper@gmail.com>
42229
d77e7869
UD
42230 * malloc/malloc.c: Various cleanups.
42231 * malloc/hooks.c: Likewise.
42232
400aa020
UD
42233 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42234 * stdlib/bug-fmtmsg1.c: New file.
42235
42236 * stdlib/fmtmsg.c (init): Add missing unlock.
42237 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42238
e0a309cf
MP
422392012-01-12 Marek Polacek <polacek@redhat.com>
42240
42241 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42242 and _GNU_SOURCE.
42243
929d11c7
WS
422442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42245
42246 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42247 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42248 macro to ensure uniqueness of label name.
42249 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42250 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42251
41d0e869
UD
422522012-01-11 Ulrich Drepper <drepper@gmail.com>
42253
0cc5ed3b
UD
42254 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42255
41d0e869
UD
42256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42260
a47a831a
UD
422612012-01-10 Ulrich Drepper <drepper@gmail.com>
42262
daa891c0
UD
42263 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42264
42265 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42266 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42267 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42268
e58ef0f2
UD
42269 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42270
a47a831a 42271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42272 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42275
42276 * math/bits/math-finite.h: Add ldexp support.
42277
a0bfc9c7
MP
422782012-01-10 Marek Polacek <polacek@redhat.com>
42279
42280 * locale/programs/localedef.h (show_archive_content): Add noreturn
42281 attribute.
42282
d6e97a1d
UD
422832012-01-09 Ulrich Drepper <drepper@gmail.com>
42284
42285 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42286
d5835c26
UD
422872012-01-08 Ulrich Drepper <drepper@gmail.com>
42288
e5f484c6
UD
42289 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42290
d5835c26
UD
42291 * io/Makefile (headers): Add bits/poll2.h.
42292
d1f741e9
WS
422932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42294
42295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42296 typo #include statement.
42297
ec09c1c4
UD
422982012-01-08 Ulrich Drepper <drepper@gmail.com>
42299
42300 * include/sys/cdefs.h: Define __attribute_alloc_size.
42301 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42302 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42303 * elf/pldd.c: Likewise.
42304 * iconv/iconv_charmap.c: Likewise.
42305 * iconv/iconvconfig.c: Likewise.
42306 * iconv/strtab.c: Likewise.
42307 * locale/programs/locale.c: Likewise.
42308 * locale/programs/localedef.h: Likewise.
42309 * locale/programs/simple-hash.c: Likewise.
42310 * nscd/nscd.h: Likewise.
42311 * nss/makedb.c: Likewise.
42312 * sysdeps/generic/ldconfig.h: Likewise.
42313 * locale/programs/localedef.c: Remove xmalloc prototype.
42314 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42315
20b38e03
PP
423162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42317
42318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42319 appropriate.
42320
a0da5fe1
UD
423212012-01-08 Ulrich Drepper <drepper@gmail.com>
42322
1d5a644a 42323 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42324 * math/tst-CMPLX.c: New file.
1d5a644a 42325
8784a6db
UD
42326 * math/complex.h (CMPLXL): Fix typo.
42327
d9a216c0
UD
42328 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42329 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42330 GLIBC_2.16.
42331 * debug/tst-chk1.c: Add poll and ppoll tests.
42332 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42333 * include/sys/poll.h: Add hidden proto for ppoll.
42334 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42335 * sysdeps/mach/hurd/ppoll.c: Likewise.
42336 * io/ppoll.c: Likewise.
42337 * debug/poll_chk.c: New file.
42338 * debug/ppoll_chk.c: New file.
42339 * include/bits/poll2.h: New file.
42340 * io/bits/poll2.h: New file.
42341
ac097f5c
UD
42342 [BZ #1350]
42343 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42344
2119dcfa
UD
42345 * configure.in: static is always set to yes. Remove.
42346 * config.make.in: Don't set build-static.
42347 * Makeconfig: Remove use of build-static.
42348 * dlfcn/Makefile: Likewise.
42349 * elf/Makefile: Likewise.
42350 * math/Makefile: Likewise.
42351 * misc/Makefile: Likewise.
42352 * nptl/Makefile: Likewise.
42353 * sysdeps/mach/hurd/Makefile: Likewise.
42354
121766a9
UD
42355 * configure.in: PWD_P is not used anymore.
42356 * config.make.in: Remove PWD_P entry.
42357
51a1d39c 42358 * configure.in: Remove last remnants of RANLIB.
8720d066 42359 No need to check for signed size_t anymore.
215f4bdc
UD
42360 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42361 and IA-64.
3857022a 42362 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42363 * aclocal.m4: Likewise.
42364
d3ed7225
UD
42365 * wcsmbs/mbrtoc16.c: Implement using towc function.
42366 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42367 * wcsmbs/wcsmbsload.c: Likewise.
42368 * iconv/gconv_simple.c: Likewise.
42369 * iconv/gconv_int.h: Likewise.
42370 * iconv/gconv_builtin.h: Likewise.
42371 * iconv/iconv_prog.c: Remove CHAR16 handling.
42372
42373 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42374
42375 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42376
a0da5fe1
UD
42377 * configure.in: Remove --with-elf and --enable-bounded options.
42378 Dont set base_machine for ia64. More non-ELF conditions removed.
42379 Remove testing and setting of leading underscore information.
42380 * config.make.in (build-bounded): Set to no.
42381 * config.h.in: Remove NO_UNDERSCORES entry.
42382 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42383 them.
42384 * csu/start.c: Remove !NO_UNDERSCORE code.
42385 * locale/localeinfo.h: Likewise.
42386 * sysdeps/generic/machine-gmon.h: Likewise.
42387 * sysdeps/generic/sysdep.h: Likewise.
42388 * sysdeps/i386/sysdep.h: Likewise.
42389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42390 * sysdeps/mach/sysdep.h: Likewise.
42391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42393 * sysdeps/sh/sysdep.h: Likewise.
42394 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42395 * sysdeps/unix/i386/sysdep.S: Likewise.
42396 * sysdeps/unix/sparc/start.c: Likewise.
42397 * sysdeps/unix/sparc/sysdep.S: Likewise.
42398 * sysdeps/unix/sparc/sysdep.h: Likewise.
42399 * sysdeps/unix/start.c: Likewise.
42400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42401 * sysdeps/x86_64/sysdep.h: Likewise.
42402
df78418a
UD
424032012-01-07 Ulrich Drepper <drepper@gmail.com>
42404
a784e502
UD
42405 [BZ #13553]
42406 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42407 for non-gcc.
42408 * argp/argp-fmtstream.h: Use const instead __const.
42409 * argp/argp.h: Likewise.
42410 * assert/assert.h: Likewise.
42411 * bits/fenv.h: Likewise.
42412 * bits/sched.h: Likewise.
42413 * bits/sigset.h: Likewise.
42414 * bits/sigthread.h: Likewise.
42415 * catgets/nl_types.h: Likewise.
42416 * conform/data/pthread.h-data: Likewise.
42417 * crypt/crypt-private.h: Likewise.
42418 * crypt/crypt.h: Likewise.
42419 * crypt/crypt_util.c: Likewise.
42420 * ctype/ctype.h: Likewise.
42421 * debug/execinfo.h: Likewise.
42422 * debug/mbsnrtowcs_chk.c: Likewise.
42423 * debug/mbsrtowcs_chk.c: Likewise.
42424 * debug/wcsnrtombs_chk.c: Likewise.
42425 * debug/wcsrtombs_chk.c: Likewise.
42426 * debug/wcstombs_chk.c: Likewise.
42427 * dirent/dirent.h: Likewise.
42428 * dlfcn/dlfcn.h: Likewise.
42429 * elf/neededtest4.c: Likewise.
42430 * grp/grp.h: Likewise.
42431 * gshadow/gshadow.h: Likewise.
42432 * iconv/gconv.h: Likewise.
42433 * iconv/gconv_int.h: Likewise.
42434 * iconv/gconv_simple.c: Likewise.
42435 * iconv/iconv.h: Likewise.
42436 * iconv/loop.c: Likewise.
42437 * iconv/skeleton.c: Likewise.
42438 * include/aio.h: Likewise.
42439 * include/aliases.h: Likewise.
42440 * include/argz.h: Likewise.
42441 * include/arpa/inet.h: Likewise.
42442 * include/assert.h: Likewise.
42443 * include/dirent.h: Likewise.
42444 * include/dlfcn.h: Likewise.
42445 * include/execinfo.h: Likewise.
42446 * include/fcntl.h: Likewise.
42447 * include/fenv.h: Likewise.
42448 * include/glob.h: Likewise.
42449 * include/grp.h: Likewise.
42450 * include/libintl.h: Likewise.
42451 * include/mntent.h: Likewise.
42452 * include/netdb.h: Likewise.
42453 * include/pwd.h: Likewise.
42454 * include/rpc/netdb.h: Likewise.
42455 * include/sched.h: Likewise.
42456 * include/search.h: Likewise.
42457 * include/shadow.h: Likewise.
42458 * include/signal.h: Likewise.
42459 * include/stdio.h: Likewise.
42460 * include/stdlib.h: Likewise.
42461 * include/string.h: Likewise.
42462 * include/sys/socket.h: Likewise.
42463 * include/sys/stat.h: Likewise.
42464 * include/sys/statfs.h: Likewise.
42465 * include/sys/statvfs.h: Likewise.
42466 * include/sys/syslog.h: Likewise.
42467 * include/sys/time.h: Likewise.
42468 * include/sys/uio.h: Likewise.
42469 * include/time.h: Likewise.
42470 * include/unistd.h: Likewise.
42471 * include/utmp.h: Likewise.
42472 * include/wchar.h: Likewise.
42473 * include/wctype.h: Likewise.
42474 * inet/aliases.h: Likewise.
42475 * inet/arpa/inet.h: Likewise.
42476 * inet/netinet/ether.h: Likewise.
42477 * inet/netinet/in.h: Likewise.
42478 * intl/libintl.h: Likewise.
42479 * io/bits/fcntl2.h: Likewise.
42480 * io/fcntl.h: Likewise.
42481 * io/ftw.h: Likewise.
42482 * io/sys/poll.h: Likewise.
42483 * io/sys/stat.h: Likewise.
42484 * io/sys/statfs.h: Likewise.
42485 * io/sys/statvfs.h: Likewise.
42486 * io/utime.h: Likewise.
42487 * libio/bits/stdio.h: Likewise.
42488 * libio/bits/stdio2.h: Likewise.
42489 * libio/libio.h: Likewise.
42490 * libio/libioP.h: Likewise.
42491 * libio/stdio.h: Likewise.
42492 * locale/lc-ctype.c: Likewise.
42493 * locale/locale.h: Likewise.
42494 * login/utmp.h: Likewise.
42495 * malloc/arena.c: Likewise.
42496 * malloc/malloc.c: Likewise.
42497 * malloc/malloc.h: Likewise.
42498 * malloc/mcheck.c: Likewise.
42499 * malloc/mtrace.c: Likewise.
42500 * math/bits/mathcalls.h: Likewise.
42501 * math/fenv.h: Likewise.
42502 * math/math_private.h: Likewise.
42503 * misc/bits/error.h: Likewise.
42504 * misc/bits/syslog.h: Likewise.
42505 * misc/err.h: Likewise.
42506 * misc/error.h: Likewise.
42507 * misc/fstab.h: Likewise.
42508 * misc/mntent.h: Likewise.
42509 * misc/regexp.h: Likewise.
42510 * misc/search.h: Likewise.
42511 * misc/sgtty.h: Likewise.
42512 * misc/sys/mman.h: Likewise.
42513 * misc/sys/syslog.h: Likewise.
42514 * misc/sys/uio.h: Likewise.
42515 * misc/sys/xattr.h: Likewise.
42516 * misc/ttyent.h: Likewise.
42517 * nis/rpcsvc/ypclnt.h: Likewise.
42518 * nss/nss.h: Likewise.
42519 * posix/bits/unistd.h: Likewise.
42520 * posix/fnmatch.h: Likewise.
42521 * posix/glob.h: Likewise.
42522 * posix/sched.h: Likewise.
42523 * posix/spawn.h: Likewise.
42524 * posix/sys/wait.h: Likewise.
42525 * posix/unistd.h: Likewise.
42526 * posix/wordexp.h: Likewise.
42527 * pwd/pwd.h: Likewise.
42528 * resolv/netdb.h: Likewise.
42529 * resource/sys/resource.h: Likewise.
42530 * rt/aio.h: Likewise.
42531 * rt/bits/mqueue2.h: Likewise.
42532 * rt/mqueue.h: Likewise.
42533 * shadow/shadow.h: Likewise.
42534 * signal/signal.h: Likewise.
42535 * socket/send.c: Likewise.
42536 * socket/sendto.c: Likewise.
42537 * socket/sys/socket.h: Likewise.
42538 * stdio-common/printf.h: Likewise.
42539 * stdlib/bits/stdlib.h: Likewise.
42540 * stdlib/fmtmsg.h: Likewise.
42541 * stdlib/monetary.h: Likewise.
42542 * stdlib/stdlib.h: Likewise.
42543 * stdlib/ucontext.h: Likewise.
42544 * streams/stropts.h: Likewise.
42545 * string/argz.h: Likewise.
42546 * string/bits/string2.h: Likewise.
42547 * string/string.h: Likewise.
42548 * string/strings.h: Likewise.
42549 * sunrpc/rpc/auth.h: Likewise.
42550 * sunrpc/rpc/auth_des.h: Likewise.
42551 * sunrpc/rpc/clnt.h: Likewise.
42552 * sunrpc/rpc/netdb.h: Likewise.
42553 * sunrpc/rpc/pmap_clnt.h: Likewise.
42554 * sunrpc/rpc/xdr.h: Likewise.
42555 * sysdeps/generic/inttypes.h: Likewise.
42556 * sysdeps/generic/net/if.h: Likewise.
42557 * sysdeps/generic/sys/swap.h: Likewise.
42558 * sysdeps/gnu/net/if.h: Likewise.
42559 * sysdeps/gnu/utmpx.h: Likewise.
42560 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42561 * sysdeps/i386/i486/bits/string.h: Likewise.
42562 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42563 * sysdeps/s390/bits/string.h: Likewise.
42564 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42565 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42566 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42567 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42568 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42569 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42570 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42572 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42573 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42574 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42575 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42576 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42577 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42578 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42579 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42580 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42585 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42586 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42587 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42588 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42589 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42590 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42592 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42593 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42594 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42595 * sysvipc/sys/ipc.h: Likewise.
42596 * sysvipc/sys/msg.h: Likewise.
42597 * sysvipc/sys/sem.h: Likewise.
42598 * sysvipc/sys/shm.h: Likewise.
42599 * termios/termios.h: Likewise.
42600 * time/sys/time.h: Likewise.
42601 * time/time.h: Likewise.
42602 * wcsmbs/bits/wchar2.h: Likewise.
42603 * wcsmbs/uchar.h: Likewise.
42604 * wcsmbs/wchar.h: Likewise.
42605 * wctype/wctype.h: Likewise.
42606
0269750c
UD
42607 [BZ #13551]
42608 * Makeconfig: Remove all but ELF support including AIX support.
42609 * Makerules: Likewise.
42610 * config.h.in: Likewise.
42611 * config.make.in: Likewise.
42612 * configure: Likewise.
42613 * configure.in: Likewise.
42614 * csu/Makefile: Likewise.
42615 * csu/version.c: Likewise.
42616 * debug/Makefile: Likewise.
42617 * dlfcn/Makefile: Likewise.
42618 * elf/Makefile: Likewise.
42619 * extra-lib.mk: Likewise.
42620 * iconv/Makefile: Likewise.
42621 * include/libc-symbols.h: Likewise.
42622 * include/shlib-compat.h: Likewise.
42623 * resolv/Makefile: Likewise.
42624 * resolv/res_libc.c: Likewise.
42625 * rt/Makefile: Likewise.
42626 * sysdeps/i386/asm-syntax.h: Likewise.
42627 * sysdeps/i386/sysdep.h: Likewise.
42628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42629 * sysdeps/mach/sysdep.h: Likewise.
42630 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42631 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42632 * sysdeps/s390/asm-syntax.h: Likewise.
42633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42635 * sysdeps/sh/sysdep.h: Likewise.
42636 * sysdeps/unix/sparc/sysdep.h: Likewise.
42637 * sysdeps/wordsize-32/divdi3.c: Likewise.
42638 * sysdeps/x86_64/sysdep.h: Likewise.
42639
00bbd29b
UD
42640 * argp/Versions: Remove _argp_unlock_xxx.
42641
42642 [BZ #13559]
42643 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42644 * abilist/libBrokenLocale.abilist: Likewise.
42645 * abilist/libanl.abilist: Likewise.
42646 * abilist/libc.abilist: Likewise.
42647 * abilist/libcrypt.abilist: Likewise.
42648 * abilist/libdl.abilist: Likewise.
42649 * abilist/libm.abilist: Likewise.
42650 * abilist/libnsl.abilist: Likewise.
42651 * abilist/libpthread.abilist: Likewise.
42652 * abilist/libresolv.abilist: Likewise.
42653 * abilist/librt.abilist: Likewise.
42654 * abilist/libthread_db.abilist: Likewise.
42655 * abilist/libutil.abilist: Likewise.
42656 * abilist/libnss_db.abilist: New file.
42657
42658 * scripts/abilist.awk: Add support for indirect functions.
42659
a2693a0e
UD
42660 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42661
3f05895f
UD
42662 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42663
ecb6fb48
UD
42664 * shlib-versions: Remove entries for ports architectures.
42665
664f8cb9
UD
42666 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42667 files in ports.
42668 * elf/stackguard-macros.h: Remove support for IA-64.
42669 * elf/tst-auditmod1.c: Likewise.
42670 * sysdeps/generic/ldsodefs.h: Likewise.
42671
7ae81d88
UD
42672 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42673 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42674 configure files.
42675
bdeba135
UD
42676 [BZ #13552]
42677 * configure.in: Remove --enable-omitfp support.
42678 * FAQ.in: Adjust.
42679 * config.make.in: Likewise.
42680 * Makeconfig: Likewise.
42681 * manual/install.texi: Likewise.
42682
d75a0a62
UD
42683 In case anyone cares, the IA-64 architecture could move to ports.
42684 * sysdeps/ia64/*: Removed.
42685 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42686 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42687
dcc9756b
UD
42688 [BZ #13555]
42689 * configure.in: Remove entries for unsupported architectures.
42690
d3761ebc 42691 [BZ #13533]
9954432e
UD
42692 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42693 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42694 routines.
42695 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42696 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42697 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42698 fall back to using wcrtomb.
42699 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42700 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42701 renaming.
42702 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42703 * wcsmbs/tst-c16c32-1.c: New file.
42704
42705 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42706 local variable.
42707
c3a87236
UD
42708 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42709
28926a1b
UD
42710 * elf/tst-unique3.cc: Add explicit declaration of gets.
42711 * elf/tst-unique3lib.cc: Likewise.
42712 * elf/tst-unique3lib2.cc: Likewise.
42713 * elf/tst-unique4.cc: Likewise.
42714
df78418a
UD
42715 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42716
8ecd6b2a
JM
427172012-01-06 Joseph Myers <joseph@codesourcery.com>
42718
42719 [BZ #13566]
42720 * assert/assert.h (static_assert): Don't define for C++.
42721 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42722 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42723
9f115170
UD
427242012-01-03 Ulrich Drepper <drepper@gmail.com>
42725
5e0d0300
UD
42726 * iconv/loop.c (single loop): Fix assertion in storing of
42727 remaining bytes.
42728
9f115170
UD
42729 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42730
81fb02b0
UD
427312012-01-01 Ulrich Drepper <drepper@gmail.com>
42732
42733 * posix/getconf.c: Update copyright year.
42734 * nss/getent.c: Likewise.
a316c1f6 42735 * nss/makedb.c: Likewise.
81fb02b0
UD
42736 * iconv/iconvconfig.c: Likewise.
42737 * iconv/iconv_prog.c: Likewise.
42738 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42739 * elf/pldd.c: Likewise.
42740 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42741 * catgets/gencat.c: Likewise.
42742 * csu/version.c: Likewise.
42743 * elf/ldd.bash.in: Likewise.
42744 * elf/sprof.c (print_version): Likewise.
42745 * locale/programs/locale.c: Likewise.
42746 * locale/programs/localedef.c: Likewise.
a316c1f6 42747 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42748 * nscd/nscd.c (print_version): Likewise.
42749 * debug/xtrace.sh: Likewise.
42750 * malloc/memusage.sh: Likewise.
42751 * malloc/mtrace.pl: Likewise.
42752 * debug/catchsegv.sh: Likewise.
42753
2ba92745
JJ
427542011-12-30 Jakub Jelinek <jakub@redhat.com>
42755
42756 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42757 pure attribute.
42758
dadebdae
UD
427592011-12-24 Ulrich Drepper <drepper@gmail.com>
42760
d3761ebc 42761 [BZ #13533]
db6af3eb
UD
42762 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42763 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42764 transformations.
42765 * iconv/gconv_int.h: Likewise.
42766 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42767 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42768 from libc for GLIBC_2.16.
42769 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42770 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42771 * wcsmbs/uchar.h: Really define mbstate_t.
42772 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42773 * wcsmbs/c16rtomb.c: New file.
42774 * wcsmbs/mbrtoc16.c: New file.
42775 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42776 for C/POSIX locale.
42777 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42778 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42779
dadebdae
UD
42780 * wcsmbs/wchar.h: Add missing __restrict.
42781
67371b56
UD
427822011-12-23 Ulrich Drepper <drepper@gmail.com>
42783
74033a25
UD
42784 [BZ #13532]
42785 * time/Makefile (routines): Add timespec_get.
42786 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42787 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42788 timespec for ISO C11.
42789 * time/timespec_get.c: New file.
42790 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42791 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42792
380d7e87
UD
42793 [BZ #13531]
42794 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42795 * stdlib/stdlib.h: Declare aligned_alloc.
42796 * Versions.def: Add GLIBC_2.16 for libc.
42797 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42798
4e9e7a35
UD
42799 [BZ 13527]
42800 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42801 ISO C11.
42802
380d7e87 42803 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42804 code.
42805
03a71829
UD
42806 [BZ #13528]
42807 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42808
839e283e
UD
42809 [BZ #13529]
42810 * assert/assert.h (static_assert): Define.
42811
ce5294e2 42812 * version.h: Update for 2.16 development version.
90fa7312 42813
8d44e150 42814 [BZ #13526]
d7809905
UD
42815 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42816 _ISOC11_SOURCE.
42817
c0da14cd
UD
42818 * version.h (RELEASE): Bump for 2.15 release.
42819 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42820
530a3249
MP
42821 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42822 Patch by Marek Polacek <mpolacek@redhat.com>.
42823
67371b56
UD
42824 * bits/byteswap.h: Protect long long constants with __extension__.
42825 * sysdeps/i386/bits/byteswap.h: Likewise.
42826 * sysdeps/ia64/bits/byteswap.h: Likewise.
42827 * sysdeps/s390/bits/byteswap.h: Likewise.
42828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42829
15db4de1
LD
428302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42831
42832 [BZ #13540]
bbe315ea
LD
42833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42834 destination buffer.
15db4de1
LD
42835 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42836
2b2596b1
MP
428372011-12-23 Marek Polacek <polacek@redhat.com>
42838
42839 * elf/dl-addr.c (determine_info): Add inline keyword.
42840 * elf/tst-auditmod4b.c (check_avx): Likewise.
42841 * elf/tst-auditmod6b.c (check_avx): Likewise.
42842 * elf/tst-auditmod6c.c (check_avx): Likewise.
42843 * elf/tst-auditmod7b.c (check_avx): Likewise.
42844
70c6c246
UD
428452011-12-23 Ulrich Drepper <drepper@gmail.com>
42846
42847 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42848 !__SSE_MATH__.
42849
c044cf14
LD
428502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42851
15db4de1 42852 [BZ #13540]
c044cf14
LD
42853 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42854 processing for last bytes.
42855
6b13d9d9
BH
428562011-08-06 Bruno Haible <bruno@clisp.org>
42857
d455f537
BH
42858 [BZ #13061]
42859 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42860 U+0385, not to U+1FEE.
42861
6b13d9d9
BH
42862 [BZ #13062]
42863 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42864 entry for U+00A5 U+0301.
42865
db910efd
UD
428662011-12-22 Ulrich Drepper <drepper@gmail.com>
42867
27deeafc
UD
42868 [BZ #13166]
42869 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42870 buffer for the output is too small.
42871
aed9d171
UD
42872 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42873 optimization.
42874
db910efd
UD
42875 [BZ #13185]
42876 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42877 SSE flags if possible.
42878
2bd779ae
LD
428792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42880
e7f9dac3 42881 [BZ #13540]
2bd779ae
LD
42882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42883 processing for last bytes.
42884
154bfc16
JM
428852011-12-22 Joseph Myers <joseph@codesourcery.com>
42886
42887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42888 (syscall-list-default-options, syscall-list-default-condition)
42889 (syscall-list-includes): Define.
42890 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42891 list of ABIs and options and #if conditions for each ABI. Do not
42892 handle common syscalls between ABIs specially.
42893 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42894 Remove.
42895 (syscall-list-variants, syscall-list-32bit-options)
42896 (syscall-list-32bit-condition, syscall-list-64bit-options)
42897 (syscall-list-64bit-condition): Define.
42898 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42899 (syscall-list-variants, syscall-list-32bit-options)
42900 (syscall-list-32bit-condition, syscall-list-64bit-options)
42901 (syscall-list-64bit-condition): Define.
42902 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42903 Remove.
42904 (syscall-list-variants, syscall-list-32bit-options)
42905 (syscall-list-32bit-condition, syscall-list-64bit-options)
42906 (syscall-list-64bit-condition): Define.
42907 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42908 Remove.
42909 (syscall-list-variants, syscall-list-32bit-options)
42910 (syscall-list-32bit-condition, syscall-list-64bit-options)
42911 (syscall-list-64bit-condition): Define.
42912
21eaf3a5
UD
429132011-12-22 Ulrich Drepper <drepper@gmail.com>
42914
16c6f992
UD
42915 * locale/iso-639.def: Add brx entry.
42916
41043168
UD
42917 [BZ #13328]
42918 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42919 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42920
21eaf3a5
UD
42921 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42922 __feraiseexcept_renamed.
42923
e3a851a2
UD
429242011-12-21 Ulrich Drepper <drepper@gmail.com>
42925
4920765e
UD
42926 [BZ #13538]
42927 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42928 EPOLLET with unsigned values.
42929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42931
e3a851a2
UD
42932 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42933 to large cancellation.
42934 * math/s_cacoshf.c: Likewise.
42935 * math/s_cacoshl.c: Likewise.
42936
b27e24b8
RK
429372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42938
42939 [BZ #13305]
aebefeee 42940 [BZ #12786]
b27e24b8
RK
42941 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42942 * math/s_cacoshf.c: Likewise.
42943 * math/s_cacoshl.c: Likewise.
42944
ee190f67
UD
429452011-12-21 Ulrich Drepper <drepper@gmail.com>
42946
42947 [BZ #13439]
42948 * iconv/gconv.h: Define __GCONV_SWAP.
42949 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42950 * iconvdata/utf-16.c: Likewise.
42951 * iconvdata/utf-32.c: Likewise.
42952
707f25df
AS
429532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42954
42955 [BZ #13524]
42956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42957 numerator after shifting it by one limb.
42958
d2daaa1e
RÁE
429592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42960
42961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42962 under [__USE_EXTERN_INLINES].
42963
a4647e72
UD
429642011-12-17 Ulrich Drepper <drepper@gmail.com>
42965
42966 [BZ #13446]
42967 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42968
f0b264f1
AZ
429692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42970
42971 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42972 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42973 optimized code.
42974 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42975 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42976 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42977 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42978 for strncasecmp/strncasecmp_l compilation.
42979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42980 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42981
8ef4f244
MP
429822011-12-08 Marek Polacek <mpolacek@redhat.com>
42983
42984 [BZ #13484]
42985 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42986 of __asm__.
42987
97ac2654
UD
429882011-12-17 Ulrich Drepper <drepper@gmail.com>
42989
42990 [BZ #13506]
42991 * time/tzfile.c (__tzfile_read): Check values from file header.
42992
91d2a845
WS
429932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42994
42995 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42996 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42997 * powerpc/powerpc32/dl-start.S: Likewise.
42998 * powerpc/powerpc32/elf/start.S: Likewise.
42999 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43000 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43001 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43002 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43003 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43004 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43005 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43006 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43007 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43008 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43009 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43010 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43011 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43012 * powerpc/powerpc32/memset.S: Likewise.
43013 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43014 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43015 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43016 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43017 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43018 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43019 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43020 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43021 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43022 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43023 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43024 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43025 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43026
a1267ba1
AZ
430272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43028
43029 * math/libm-test.inc: Added more nearbyint tests.
43030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43034
ad8ac1bd
RL
430352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43036
43037 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43038 FD_CLOEXEC.
43039
1d3e4b61
UD
430402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43041
43042 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43043 Add wcscpy-ssse3 wcscpy-c.
43044 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43045 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43046 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43047 * sysdeps/x86_64/wcschr.S: New file.
43048 * sysdeps/x86_64/wcsrchr.S: New file.
43049 * string/test-strcmp.c: Remove checking of wcscmp function for
43050 wrong alignments.
43051 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43052 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43053 wcsrchr-sse2 wcsrchr-c.
43054 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43055 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43056 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43057 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43058 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43059 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43060 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43061 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43062 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43063 * wcsmbc/wcschr.c (WCSCHR): New macro.
43064
5b330a2d
UD
430652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43066
43067 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43068 * wcsmbs/test-wcsrchr.c: New file.
43069 * string/test-strrchr.c: Add wcsrchr support.
43070 (WIDE): New macro.
43071 * wcsmbs/test-wcscpy.c: New file.
43072 * string/test-strcpy.c: Add wcscpy support.
43073 (WIDE): New macro.
26428b7c 43074
f039c043
UD
430752011-12-10 Ulrich Drepper <drepper@gmail.com>
43076
43077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43078 the inner loop.
43079
850fb039
AS
430802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43081
43082 [BZ #13472]
43083 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43084
4efbd5cb
UD
430852011-12-04 Ulrich Drepper <drepper@gmail.com>
43086
52ff5dd0 43087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43088 Minor optimizations.
52ff5dd0 43089
4efbd5cb
UD
43090 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43091 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43092 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43093
8a426e12
UD
430942011-12-03 Ulrich Drepper <drepper@gmail.com>
43095
aff2453d
UD
43096 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43097 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43098 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43099 for gcc to avoid warnings.
43100 * inet/Makefile (tests): Add tst-checks.
43101 * inet/tst-checks.c: New file.
43102
43103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43104 warning.
43105
43106 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43107 __wmemcmp_sse2.
43108
43109 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43110 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43111
8a426e12
UD
43112 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43113
9bea3473
UD
431142011-12-02 Ulrich Drepper <drepper@gmail.com>
43115
3a965496
UD
43116 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43117 problem.
43118
9bea3473
UD
43119 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43120
f101631b
UD
431212011-11-29 Joseph Myers <joseph@codesourcery.com>
43122
43123 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43124 conditional on GCC version.
43125 (__arch_compare_and_exchange_val_8_acq)
43126 (__arch_compare_and_exchange_val_16_acq)
43127 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43128 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43129 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43130
a98275aa
UD
431312011-12-02 Joseph Myers <joseph@codesourcery.com>
43132
43133 * sysdeps/sh/backtrace.c: New file.
43134
d4cc29a2
AS
431352011-12-02 Andreas Schwab <schwab@redhat.com>
43136
43137 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43138 parenthesis.
43139
6257af2d
AS
431402011-12-01 Andreas Schwab <schwab@redhat.com>
43141
43142 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43143 falling back to utime.
43144
b5f44c1a
AS
431452011-11-30 Andreas Schwab <schwab@redhat.com>
43146
43147 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43148 expectations for float.
43149
f3a6cc0a
AS
431502011-11-29 Andreas Schwab <schwab@redhat.com>
43151
43152 * locale/weight.h (findidx): Add parameter len.
43153 * locale/weightwc.h (findidx): Likewise.
43154 * posix/fnmatch_loop.c (FCT): Adjust caller.
43155 * posix/regcomp.c (build_equiv_class): Likewise.
43156 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43157 * posix/regexec.c (check_node_accept_bytes): Likewise.
43158 * string/strcoll_l.c (STRCOLL): Likewise.
43159 * string/strxfrm_l.c (STRXFRM): Likewise.
43160
9d65ea3a
UD
431612011-11-17 Ulrich Drepper <drepper@gmail.com>
43162
43163 * Makefile.in: Remove CVSOPT handling.
43164 * configure.in: Remove use of AC_REVISION.
43165 * iconvdata/Makefile (distribute): No need to filter out CVS.
43166 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43167 handling.
43168
5583a086
AS
431692011-11-16 Andreas Schwab <schwab@redhat.com>
43170
43171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43172 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43173 [USE_AS_STRNCASECMP_L]: Likewise.
43174 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43175 NO_TLS_DIRECT_SEG_REFS.
43176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43177 Fix argument offsets for non-PIC.
43178 [USE_AS_STRNCASECMP_L]: Likewise.
43179 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43180 NO_TLS_DIRECT_SEG_REFS.
43181
d62a8200
UD
431822011-11-15 Ulrich Drepper <drepper@gmail.com>
43183
9d65ea3a 43184 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43185 O_CLOEXEC.
43186 * locale/loadlocale.c (_nl_load_locale): Likewise.
43187
09f93bd3
AS
431882011-11-15 Andreas Schwab <schwab@redhat.com>
43189
446514f9
AS
43190 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43191 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43193 (SYSCALL_GETTIME): Set errno on error.
43194
09f93bd3
AS
43195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43196 count references to noai6ai_cached.
43197
312be3f9
UD
431982011-11-15 Ulrich Drepper <drepper@gmail.com>
43199
43200 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43201
43202 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43203 FD_CLOEXEC for /proc/self/maps.
43204
43205 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43206 FD_CLOEXEC for /proc/meminfo.
43207
43208 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43209 gai.conf.
43210
43211 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43212 FD_CLOEXEC for given file.
43213
43214 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43215
43216 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43217 FD_CLOEXEC for /etc/hosts.
43218 (_gethtent): Likewise.
43219
43220 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43221
43222 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43223 cancellation and set FD_CLOEXEC for /etc/netgroup.
43224
43225 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43226 reading /etc/publickey.
43227
43228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43229 allow cancellation when reading /etc/group.
43230
43231 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43232 cancellation.
43233 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43234
43235 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43236 when using data file.
43237
43238 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43239
43240 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43241 (write_nis_obj): Use "c" and "e" in fopen.
43242
43243 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43244
43245 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43246
43247 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43248
43249 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43250
43251 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43252 locale.alias.
43253
43254 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43255
43256 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43257
43258 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43259
43260 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43261 file parsing and set FD_CLOEXEC.
43262
82af0fa8
UD
432632011-11-14 Ulrich Drepper <drepper@gmail.com>
43264
43265 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43266
a5fb313c
AS
432672011-11-14 Andreas Schwab <schwab@redhat.com>
43268
43269 * malloc/arena.c (arena_get2): Don't call reused_arena when
43270 _int_new_arena failed.
43271
6abf3465
UD
432722011-11-14 Ulrich Drepper <drepper@gmail.com>
43273
43274 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43275 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43279 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43280 to compile strcasecmp and strncasecmp.
43281 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43282 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43283
43284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43285
76e3966e
UD
432862011-11-13 Ulrich Drepper <drepper@gmail.com>
43287
43288 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43289 locale-defines.sym to gen-as-const-headers.
43290 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43291 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43293 to compile strcasecmp and strncasecmp.
43294 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43295 strcasecmp_l and strncasecmp_l.
43296 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43297 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43298 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43299 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43300 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43301 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43302 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43303 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43304 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43305 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43306 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43307
ab26144e
UD
433082011-11-12 Ulrich Drepper <drepper@gmail.com>
43309
7edb22ef
UD
43310 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43311 result of SYSDEP_GETTIME_CPU to retval.
43312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43313 parameter list to macro. Remove trailing semicolon. Adjust users.
43314
9694fc44
UD
43315 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43316 variable.
43317
8ad89ef8
UD
43318 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43319 mantissa words.
43320 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43321
0c822ef9
UD
43322 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43323 from unused variable.
43324
874e0564
UD
43325 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43326 DWARF definitions.
43327 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43328 for assembling.
43329
3a2edc79
UD
43330 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43331 over namespaces.
43332
f3c2577f
UD
43333 * sunrpc/rpc_prot.c (rejected): Fix case value.
43334
294ce126
UD
43335 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43336 unsigned long long int to avoid warnings in shift.
43337
5e2b63c6
UD
43338 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43339 of use of trans.
43340 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43341 variable tmp.
43342
e7f4b08e
UD
43343 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43344 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43345 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43346
ab26144e
UD
43347 * nis/nis_table.c (nis_list): Use variable of correct type for
43348 result of __follow_path call.
43349
8a6d5255
AZ
433502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43351
43352 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43353 of math functions ceil, trunc, floor, round, and sqrt, when
43354 avaliable on the platform.
43355 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43356 name clash.
43357 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43358 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43359 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43360
aaddc98c
MP
433612011-10-30 Marek Polacek <mpolacek@redhat.com>
43362
43363 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43364 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43365
95b7042b
RM
433662011-11-11 Roland McGrath <roland@hack.frob.com>
43367
43368 * include/unistd.h: Fix __readlink return type.
43369 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43370
57769839
UD
433712011-11-11 Ulrich Drepper <drepper@gmail.com>
43372
43373 * stdlib/ucontext.h: Undo last change for makecontext.
43374
edc5984d
AS
433752011-11-11 Andreas Schwab <schwab@redhat.com>
43376
98591e58
AS
43377 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43378
edc5984d
AS
43379 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43380 * setjmp/setjmp.h: Mark functions as non-leaf.
43381 * setjmp/bits/setjmp2.h: Likewise.
43382 * stdlib/ucontext.h: Likewise.
43383
77cdc054
AS
433842011-11-10 Andreas Schwab <schwab@redhat.com>
43385
43386 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43387 (reused_arena): Don't check arena limit.
43388 (arena_get2): Atomically check arena limit.
43389
fe72eebd
UD
433902011-11-08 Ulrich Drepper <drepper@gmail.com>
43391
5f078c32
UD
43392 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43393 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43394
fe72eebd
UD
43395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43396 instructions.
43397
ae1bc2fa
AS
433982011-11-07 Andreas Schwab <schwab@redhat.com>
43399
7583a88d
AS
43400 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43401 handler when locking.
43402
ae1bc2fa
AS
43403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43404 Fix size of allocated buffer.
43405
10fb0bfa
AS
434062011-11-04 Andreas Schwab <schwab@redhat.com>
43407
998832a4
AS
43408 [BZ #10103]
43409 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43410 declarations for long double functions.
43411 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43412
10fb0bfa
AS
43413 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43414
3d7ba52b
AS
434152011-11-03 Andreas Schwab <schwab@redhat.com>
43416
a9ae54a1
AS
43417 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43418 installed.
43419
3d7ba52b
AS
43420 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43421 is disabled.
43422
bc8db248
ST
434232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43424
43425 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43426
45b96dd6
AS
434272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43428
647776f6
AS
43429 * include/alloca.h (stackinfo_alloca_round): Define.
43430 (extend_alloca): Use it.
43431 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43432 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43433 here.
43434
d91a8b93
AS
43435 * scripts/check-local-headers.sh: Ignore libaudit.h.
43436
45b96dd6
AS
43437 * nscd/Makefile (extra-objs): Make recursively expanded.
43438
432d41ce
UD
434392011-11-01 Ulrich Drepper <drepper@gmail.com>
43440
34372fc6
UD
43441 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43443
fadb59f8
UD
43444 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43445 * posix/tst-rfc3484-2.c: Likewise.
43446 * posix/tst-rfc3484-3.c: Likewise.
43447
78239589
UD
43448 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43449 process_vm_writev.
43450 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43451 process_vm_writev.
43452 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43453 process_vm_writev from libc using GLIBC_2.15 version.
43454
432d41ce
UD
43455 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43456
02f9c6cf
PP
434572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43458
43459 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43460 stack usage.
43461
3a2c0242
UD
434622011-10-31 Ulrich Drepper <drepper@gmail.com>
43463
f4ec4833
UD
43464 [BZ #13367]
43465 * nss/getent.c (initgroups_keys): Show error message in case no group
43466 names are given.
43467
3a2c0242
UD
43468 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43469 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43470 __bump_nl_timestamp.
43471 * nscd/connections (nscd_init): When host database is served open
43472 netlink socket and request notification about configuration changes.
43473 (main_loop_poll): Track netlink file descriptor and bump timestamp
43474 in case data becomes available.
43475 (main_loop_epoll): Likewise.
43476 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43477 (database_pers_head): Add extra_data fileds.
43478 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43479 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43480 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43481 Adjust caller.
43482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43483 in6ai data, call __free_in6ai.
43484 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43485 Add -DHAVE_NETLINK.
43486 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43487 interface information. Reuse previous data if netlink timestamp
43488 is not changed.
43489 (__bump_nl_timestamp): New function.
43490 (__free_in6ai): New function.
43491
636064eb
UD
434922011-10-30 Ulrich Drepper <drepper@gmail.com>
43493
43494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43495 close_not_cancel_no_status here.
43496 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43497
9beb2334
UD
434982011-10-29 Ulrich Drepper <drepper@gmail.com>
43499
6ef76f3b
UD
43500 [BZ #13276]
43501 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43502 return value.
43503
0ffc4f3e 43504 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43505 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43506 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43507
cb95113e
UD
435082011-07-03 Andreas Jaeger <aj@suse.de>
43509
43510 [BZ #10709]
43511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43512 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43513 * math/libm-test.inc (sin_test): Add test case.
43514
a1b560ff
UD
435152011-10-29 Ulrich Drepper <drepper@gmail.com>
43516
c9aaface
UD
43517 [BZ #13337]
43518 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43519 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43520
d272e7f1
UD
43521 * elf/chroot_canon.c (chroot_canon): Cleanups.
43522
1bc33071
UD
43523 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43524
1760874d
TJ
43525 [BZ #13335]
43526 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43528
51d91b18
UD
43529 * string/test-strchr.c: Make usable for strchrnul testing.
43530 * string/test-strchrnul.c: New file.
43531 * string/Makefile (strop-tests): Add strchrnul.
43532
a1b560ff 43533 * po/it.po: Update from translation team.
b611fb81 43534 * po/es.po: Likewise.
a1b560ff 43535
a5b81e1f
UD
435362011-10-28 Ulrich Drepper <drepper@gmail.com>
43537
fd52bc6d
UD
43538 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43539 the three constants needed as parameters. Drop the others.
43540 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43541 __m128i_strloadu_tolower.
52e4b9eb
UD
43542 Create and initialize variable zero and use it in all the places
43543 where _mm_setzero_si128 was used.
fd52bc6d 43544
a5b81e1f
UD
43545 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43546 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43547 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43548 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43549 anymore.
43550 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43551 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43552 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43553 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43554 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43555 __mpranred, __mptan.
43556 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43557 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43558 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43559 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43560 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43561 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43563 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43564 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43565
b4343346
AS
435662011-10-28 Andreas Schwab <schwab@redhat.com>
43567
0c92d8a8
AS
43568 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43569 redefine if SHARED.
43570 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43571
b4343346
AS
43572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43573 wide char related routines to wcsmbs subdir.
43574
3871f58f
AS
435752011-10-27 Andreas Schwab <schwab@redhat.com>
43576
43577 [BZ #13344]
43578 * misc/sys/cdefs.h (__THROWNL): Define.
43579 * posix/unistd.h: Use __THREADNL instead of __THREAD
43580 for memory synchronization functions.
43581
94d44d9f
RM
435822011-10-26 Roland McGrath <roland@hack.frob.com>
43583
21b64b15 43584 [BZ #13349]
94d44d9f
RM
43585 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43586 doesn't exist.
43587 * manual/stdio.texi (Obstack Streams): Node removed.
43588
f6ce9294
AS
435892011-10-26 Andreas Schwab <schwab@redhat.com>
43590
80479147
AS
43591 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43594
f6ce9294
AS
43595 * math/math_private.h (math_force_eval): Allow non-addressable
43596 arguments.
43597 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43598
618280a1
UD
435992011-10-25 Ulrich Drepper <drepper@gmail.com>
43600
e0016b11
UD
43601 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43602 file is not needed.
43603
43604 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43605 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43607 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43611 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43612 Add AVX variants.
43613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43617 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43619 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43620 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43621 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43622 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43623 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43624 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43626 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43627 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43628 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43629 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43630 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43631 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43632
43633 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43634 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43635
618280a1
UD
43636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43637 place. Use VEX encoding when compiling for AVX.
43638
37822576
AS
436392011-10-25 Andreas Schwab <schwab@redhat.com>
43640
1f1e1947
AS
43641 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43642 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43643
37822576
AS
43644 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43645
31ea014d
UD
436462011-10-25 Ulrich Drepper <drepper@gmail.com>
43647
d7826aa1 43648 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43649 useless if() expression.
d7826aa1
UD
43650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43658 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43665 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43668 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43669
31ea014d
UD
43670 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43671
16437fec
AS
436722011-10-25 Andreas Schwab <schwab@redhat.com>
43673
43674 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43675 condition.
43676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43677
31d3cc00
UD
436782011-10-25 Ulrich Drepper <drepper@gmail.com>
43679
43680 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43681 .text section. Avoid duplicate constants.
43682 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43684 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43692 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43694 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43695 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43696 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43698 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43705 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43706 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43707 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43708 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43709 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43710 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43711 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43713 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43715 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43716 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43717 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43718 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43720 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43721 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43722 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43727
58985aa9
UD
437282011-10-24 Ulrich Drepper <drepper@gmail.com>
43729
202c9deb
UD
43730 * sysdeps/x86_64/dla.h: Move to ...
43731 * sysdeps/x86_64/fpu/dla.h: ...here.
43732 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43733 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43734
af968f62
UD
43735 * config.make.in: Add have-mfma4 entry.
43736 * configure.in: Substitute libc_cv_cc_fma4.
43737 * math/Makefile (dbl-only-routines): Add sincostab.
43738 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43739 Use __sincostab not sincos.
43740 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43741 name is a macro.
43742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43746 using __copysign.
43747 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43748 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43749 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43750 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43751 and __inv.
43752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43753 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43754 __copysign.
43755 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43756 define aliases when function name is a macro.
43757 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43758 sysdeps/ieee754/dbl-64/sincos.tbl.
43759 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43760 fma4-enabled routines.
43761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43762 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43763 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43764 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43768 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43770 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43771 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43772 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43773 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43774 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43776 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43777 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43778 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43782 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43788 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43789 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43790 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43791
58985aa9
UD
43792 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43793 rename.
43794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43802
a201fbcf
AS
438032011-10-24 Andreas Schwab <schwab@redhat.com>
43804
43805 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43806
fc2ee42a
LD
438072011-10-23 Ulrich Drepper <drepper@gmail.com>
43808
bb3129bd
UD
43809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43810
0275fff8
UD
43811 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43812 prediction.
43813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43814
2fa2ae85
UD
43815 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43816 Remove unused variable magic_bits.
43817 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43818
fc2ee42a
LD
43819 * string/strnlen.c: Define and use STRNLEN macro.
43820 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43821 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43823 * wcsmbs/wcslen.c: Define and use WCSLEN.
43824 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43825 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43826 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43827 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43828 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43829 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43830 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43831
ce7dd29f
LD
438322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43833
43834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43835 strnlen-sse2-no-bsf.
43836 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43838 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43839 Add strnlen support.
43840 (USE_AS_STRNLEN): New macro.
43841 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43843 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43844 * sysdeps/x86_64/wcslen.S: New file.
43845
979c70a3
MZ
438462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43847
43848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43849 XMM-moves are used for copying on small sizes.
43850
2d09f82f
LD
438512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43852
43853 * wcsmbs/Makefile (strop-tests): Add wcschr.
43854 * wcsmbs/test-wcschr.c: New file.
43855 * string/test-strchr.c: Update.
43856 Add wcschr support.
43857 (WIDE): New macro.
43858
619fccca
LD
438592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43860
2d09f82f 43861 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43862 * wcsmbs/test-wcslen.c: New file.
43863 * string/test-strlen.c: Update.
43864 Add wcslen support.
43865 (WIDE): New macro.
43866
09f699ea
UD
438672011-10-23 Ulrich Drepper <drepper@gmail.com>
43868
43869 * po/it.po: Update from translation team.
43870
95584d3b
LD
438712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43872
43873 * sysdeps/x86_64/wcscmp.S: Update.
43874 Fix wrong comparison semantics.
43875 wcscmp shall use signed comparison not unsigned.
43876 Don't use substraction to avoid overflow bug.
43877 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43878 * wcsmbc/wcscmp.c: Likewise.
43879 * string/test-strcmp.c: Likewise.
43880 Add new tests to check cases with negative values.
43881
c8b3296b
UD
438822011-10-23 Ulrich Drepper <drepper@gmail.com>
43883
43884 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43885 * sysdeps/x86_64/dla.h: ...here. New file.
43886 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43895
246ad57a
AS
438962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43897
43898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43899 __ynl_finite aliases.
43900
a1a87169
UD
439012011-10-22 Ulrich Drepper <drepper@gmail.com>
43902
0d355eb7
UD
43903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43904
a1a87169
UD
43905 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43906 define DLA_FMA.
43907 [DLA_FMA] (EMULV): Use DLA_FMA.
43908 [DLA_FMA] (MUL12): Use EMULV.
43909 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43910 that are not needed.
43911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43918
ee2aafe0
AS
439192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43920
43921 * math/s_nan.c: Undef __nan.
43922 * math/s_nanf.c: Undef __nanf.
43923 * math/s_nanl.c: Undef __nanl.
43924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43925 "math_private.h".
43926
bc62c2fb
UD
439272011-10-22 Ulrich Drepper <drepper@gmail.com>
43928
77425c63
UD
43929 * math/s_catan.c: Add branch predictions.
43930 * math/s_catanf.c: Likewise.
43931 * math/s_catanh.c: Likewise.
43932 * math/s_catanhf.c: Likewise.
43933 * math/s_catanhl.c: Likewise.
43934 * math/s_catanl.c: Likewise.
43935 * math/s_cexp.c: Likewise.
43936 * math/s_cexpf.c: Likewise.
43937 * math/s_cexpl.c: Likewise.
43938 * math/s_clog.c: Likewise.
43939 * math/s_clog10.c: Likewise.
43940 * math/s_clog10f.c: Likewise.
43941 * math/s_clog10l.c: Likewise.
43942 * math/s_clogf.c: Likewise.
43943 * math/s_clogl.c: Likewise.
43944 * math/s_csqrt.c: Likewise.
43945 * math/s_csqrtf.c: Likewise.
43946 * math/s_csqrtl.c: Likewise.
43947 * math/s_ctanf.c: Likewise.
43948 * math/s_ctanh.c: Likewise.
43949 * math/s_ctanhf.c: Likewise.
43950 * math/s_ctanhl.c: Likewise.
43951 * math/s_ctanl.c: Likewise.
43952
bc62c2fb
UD
43953 * math/math_private.h: Define __nan, __nanf, __nanl.
43954 * math/s_cacosh.c: Include <math_private.h>.
43955 * math/s_cacoshl.c: Likewise.
43956 * math/s_casinh.c: Likewise.
43957 * math/s_casinhf.c: Likewise.
43958 * math/s_casinhl.c: Likewise.
43959 * math/s_ccos.c: Rely entire on ccosh.
43960 * math/s_ccosf.c: Rely entire on ccoshf.
43961 * math/s_ccosl.c: Rely entirely on ccoshl.
43962 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43963 Remove tests for FE_INVALID.
43964 * math/s_ccoshf.c: Likewise.
43965 * math/s_ccoshl.c: Likewise.
43966 * math/s_csin.c: Likewise.
43967 * math/s_csinf.c: Likewise.
43968 * math/s_csinh.c Likewise.
43969 * math/s_csinhf.c: Likewise.
43970 * math/s_csinhl.c: Likewise.
43971 * math/s_csinl.c: Likewise.
43972 * math/s_ctan.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43974 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43975 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43976
8ec250a4
UD
439772011-10-21 Ulrich Drepper <drepper@gmail.com>
43978
c196fed8
UD
43979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43980 compilation problems.
43981
8ec250a4
UD
43982 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43983 __builtin_expect.
43984
8d4f46c6
UD
439852011-10-20 Ulrich Drepper <drepper@gmail.com>
43986
ed72b654
UD
43987 * sysdeps/i386/configure.in: Test for -mfma4 option.
43988 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43989 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43990 COMMON_CPUID_INDEX_80000001.
43991 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43992 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43993 use it if FMA3 is not supported.
43994 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43995
8d4f46c6
UD
43996 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43997 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43998
d45c60c2
AS
439992011-10-20 Andreas Schwab <schwab@redhat.com>
44000
44001 [BZ #12892]
44002 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44003 it would create a cycle with a link time dependency.
44004
d9a4d2ab
UD
440052011-10-19 Ulrich Drepper <drepper@gmail.com>
44006
855d1560
UD
44007 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44008 instruction.
44009 * string/Makefile (strop-tests): Add rawmemchr.
44010 * string/test-rawmemchr.c: New file.
44011
d9a4d2ab
UD
44012 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44014 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44015 when compiling str{,n}casecmp and when AVX is available. Hook up
44016 new optimized code in initializers.
44017
8f3b1ffe
AS
440182011-10-19 Andreas Schwab <schwab@redhat.com>
44019
44020 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44021 __feraiseexcept instead of feraiseexcept.
44022
d38f1dba
UD
440232011-10-18 Ulrich Drepper <drepper@gmail.com>
44024
d9a8d0ab
UD
44025 * math/math_private.h: Define defaults for libc_fetestexcept and
44026 libc_feupdateenv.
44027 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44028 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44029 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44030 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44031 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44032 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44033 libc_fetestexcept and libc_feupdateenv.
44034
4855e3dd
UD
44035 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44036 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44037 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44038 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44039 libc_feholdexcept_setround.
44040
581d30e3
UD
44041 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44042 Add s_nearbyint-c and s_nearbyintf-c.
44043 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44044 nearbyintf inlines.
44045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44046 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44048 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44049
d38f1dba
UD
44050 * math/math_private.h: Define defaults for libc_fegetround,
44051 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44052 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44053 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44054 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44055 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44056 standard functions.
44057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44058 Remove comments and hacks for old compiler versions.
44059 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44060 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44061 libc_feholdexceptl.
44062
caa6c9d8
AS
440632011-10-18 Andreas Schwab <schwab@redhat.com>
44064
44065 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44066 (__feraiseexcept_renamed): Add __NTH.
44067 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44068 namespace violations.
44069
97c066e6
UD
440702011-10-17 Ulrich Drepper <drepper@gmail.com>
44071
99ce7b04
UD
44072 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44073
1004d182
UD
44074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44075
228a984d
UD
44076 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44077 recently added interfaces.
44078 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44079
c8553a6a
UD
44080 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44081 about macro parameter expansion.
44082
ed22dcf6
UD
44083 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44084 __NO_MATH_INLINES is defined. Cleanups.
44085
44086 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44087 and __floorf is target has SSE4.1.
44088 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44089 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44090 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44092
b171c137
UD
44093 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44094 name.
44095 (floorf): Likewise.
44096
97c066e6
UD
44097 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44098
629f62ef
AS
440992011-10-17 Andreas Schwab <schwab@redhat.com>
44100
49a43d80
AS
44101 * misc/sys/cdefs.h: Fix last change.
44102
629f62ef
AS
44103 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44104 database lookup.
44105
e453f6cd
UD
441062011-10-16 Ulrich Drepper <drepper@gmail.com>
44107
aa78043a
UD
44108 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44109
ad0f5cad
UD
44110 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44115 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44119 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44120 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44121 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44122 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44123 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44124 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44125 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44127 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44128 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44129 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44130 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44131 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44132
44133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44134 ceil, ceilf, floor, floorf.
44135
44136 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44137 Perform IRELATIVE relocations last.
44138
e453f6cd
UD
44139 * elf/do-rel.h: Add another parameter nrelative, replacing the
44140 local variable with the same name. Change name of the function
44141 to end in Rel or Rela (uppercase).
44142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44143 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44144 elf_dynamic_do_##reloc function.
44145
fd5bdc09
UD
441462011-10-15 Ulrich Drepper <drepper@gmail.com>
44147
79b195b5
UD
44148 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44149 is sufficient, at least on modern CPUs.
44150
d4a28569
UD
44151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44152
b61099b5
UD
44153 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44155
bcf01e6d
UD
44156 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44157 __expl_finite.
44158 * math/bits/math-finite.h: Add entries for exp.
44159 * math/e_expl.c: Add __*_finite alias.
44160 * sysdeps/i386/fpu/e_exp.S: Likewise.
44161 * sysdeps/i386/fpu/e_expf.S: Likewise.
44162 * sysdeps/i386/fpu/e_expl.c: Likewise.
44163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44164 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44167 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44168 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44169 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44170
ba1a0d59
UD
44171 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44172 is sufficient, at least on modern CPUs.
44173
fd5bdc09
UD
44174 * ctype/ctype-info.c (__ctype_init): Define.
44175 * include/ctype.h (__ctype_init): Declare.
44176 (__ctype_b_loc): The variable is always initialized.
44177 (__ctype_toupper_loc): Likewise.
44178 (__ctype_tolower_loc): Likewise.
44179 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44180 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44181
7872cfb0
AS
441822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44183
b468825a
AS
44184 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44185
7872cfb0
AS
44186 * configure.in: Also look in $cxxmachine/include for C++ system
44187 headers.
44188
be13f7bf
LD
441892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44190
44191 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44192 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44193 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44194 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44196 (USE_AS_WMEMCMP): New macro.
44197 Fixing indents.
44198 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44199 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44200 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44201 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44203 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44204 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44206 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44207 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44208 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44209 (USE_AS_WMEMCMP): New macro.
44210 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44211 * sysdeps/string/test-memcmp.c: Update.
44212 Fix simple_wmemcmp.
44213 Add new tests.
44214 * wcsmbs/wmemcmp.c: Update.
44215 (WMEMCMP): New macro.
44216 Fix overflow bug.
44217
556a2007
AJ
442182011-10-12 Andreas Jaeger <aj@suse.de>
44219
44220 [BZ #13268]
44221 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44222
538faaa7
UD
442232011-10-15 Ulrich Drepper <drepper@gmail.com>
44224
ab6737ff
UD
44225 * libio/iofwide.c (do_length): Avoid warning.
44226
538faaa7
UD
44227 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44228
396a21b1
UD
442292011-10-14 Ulrich Drepper <drepper@gmail.com>
44230
cdf2901f
UD
44231 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44232
38ad40ce
UD
44233 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44234 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44235 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44236 * sysdeps/i386/i686/fpu/e_log.S: New file.
44237 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44238 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44239
396a21b1
UD
44240 * ctype/ctype.h: Add support for inlined isXXX functions when
44241 compiling C++ code.
44242
6b1f68c9
AS
442432011-10-14 Andreas Schwab <schwab@redhat.com>
44244
349290c0
AS
44245 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44246
6b1f68c9
AS
44247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44248
f2282d42
RM
442492011-10-13 Roland McGrath <roland@hack.frob.com>
44250
44251 [BZ #13291]
44252 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44253
5298ffa8
AS
442542011-10-13 Andreas Schwab <schwab@redhat.com>
44255
714fad23
AS
44256 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44257 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44258 feraiseexcept.
44259
81dcc7fb
AS
44260 * sysdeps/x86_64/memrchr.S: Check for zero size.
44261
5298ffa8
AS
44262 * string/stratcliff.c: Add memrchr tests.
44263
951fbcec
LD
442642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44265
44266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44267 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44268 rawmemchr-sse2 rawmemchr-sse2-bsf.
44269 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44270 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44271 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44272 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44273 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44274 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44275 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44276 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44278 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44279 * string/memrchr.c (MEMRCHR): New macro.
44280
0ac5ae23
UD
442812011-10-12 Ulrich Drepper <drepper@gmail.com>
44282
44283 Add integration with gcc's -ffinite-math-only and optimize wrapper
44284 functions in libm.
44285 * Versions.def: Define GLIBC_2.15 version for libm.
44286 * math/Makefile (headers): Add bits/math-finite.h.
44287 * math/bits/math-finite.h: New file.
44288 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44289 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44290 * math/e_acoshl.c: Add __*_finite alias.
44291 * math/e_acosl.c: Likewise.
44292 * math/e_asinl.c: Likewise.
44293 * math/e_atan2l.c: Likewise.
44294 * math/e_atanhl.c: Likewise.
44295 * math/e_coshl.c: Likewise.
44296 * math/e_exp10.c: Likewise.
44297 * math/e_exp10f.c: Likewise.
44298 * math/e_exp10l.c: Likewise.
44299 * math/e_exp2l.c: Likewise.
44300 * math/e_fmodl.c: Likewise.
44301 * math/e_gammal_r.c: Likewise.
44302 * math/e_hypotl.c: Likewise.
44303 * math/e_j0l.c: Likewise.
44304 * math/e_j1l.c: Likewise.
44305 * math/e_jnl.c: Likewise.
44306 * math/e_lgammal_r.c: Likewise.
44307 * math/e_log10l.c: Likewise.
44308 * math/e_log2l.c: Likewise.
44309 * math/e_logl.c: Likewise.
44310 * math/e_powl.c: Likewise.
44311 * math/e_sinhl.c: Likewise.
44312 * math/e_sqrtl.c: Likewise.
44313 * math/e_scalb.c: Completely rewritten and optimized.
44314 * math/e_scalbf.c: Likewise.
44315 * math/e_scalbl.c: Likewise.
44316 * math/w_acos.c: Likewise.
44317 * math/w_acosf.c: Likewise.
44318 * math/w_acosl.c: Likewise.
44319 * math/w_acosh.c: Likewise.
44320 * math/w_acoshf.c: Likewise.
44321 * math/w_acoshl.c: Likewise.
44322 * math/w_asin.c: Likewise.
44323 * math/w_asinf.c: Likewise.
44324 * math/w_asinl.c: Likewise.
44325 * math/w_atan2.c: Likewise.
44326 * math/w_atan2f.c: Likewise.
44327 * math/w_atan2l.c: Likewise.
44328 * math/w_atanh.c: Likewise.
44329 * math/w_atanhf.c: Likewise.
44330 * math/w_atanhl.c: Likewise.
44331 * math/w_exp10.c: Likewise.
44332 * math/w_exp10f.c: Likewise.
44333 * math/w_exp10l.c: Likewise.
44334 * math/w_fmod.c: Likewise.
44335 * math/w_fmodf.c: Likewise.
44336 * math/w_fmodl.c: Likewise.
44337 * math/w_j0.c: Likewise.
44338 * math/w_j0f.c: Likewise.
44339 * math/w_j0l.c: Likewise.
44340 * math/w_j1.c: Likewise.
44341 * math/w_j1f.c: Likewise.
44342 * math/w_j1l.c: Likewise.
44343 * math/w_jn.c: Likewise.
44344 * math/w_jnf.c: Likewise.
44345 * math/w_log.c: Likewise.
44346 * math/w_logf.c: Likewise.
44347 * math/w_logl.c: Likewise.
44348 * math/w_log10.c: Likewise.
44349 * math/w_log10f.c: Likewise.
44350 * math/w_log10l.c: Likewise.
44351 * math/w_log2.c: Likewise.
44352 * math/w_log2f.c: Likewise.
44353 * math/w_log2l.c: Likewise.
44354 * math/w_pow.c: Likewise.
44355 * math/w_powf.c: Likewise.
44356 * math/w_powl.c: Likewise.
44357 * math/w_remainder.c: Likewise.
44358 * math/w_remainderf.c: Likewise.
44359 * math/w_remainderl.c: Likewise.
44360 * math/w_scalb.c: Likewise.
44361 * math/w_scalbf.c: Likewise.
44362 * math/w_scalbl.c: Likewise.
44363 * math/w_sqrt.c: Likewise.
44364 * math/w_sqrtf.c: Likewise.
44365 * math/w_sqrtl.c: Likewise.
44366 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44367 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44368 used.
44369 * math/math_private.h: Declare __kernel_standard_f.
44370 * math/w_cosh.c: Remove cruft and optimize a bit.
44371 * math/w_coshf.c: Likewise.
44372 * math/w_coshl.c: Likewise.
44373 * math/w_exp2.c: Likewise.
44374 * math/w_exp2f.c: Likewise.
44375 * math/w_exp2l.c: Likewise.
44376 * math/w_hypot.c: Likewise.
44377 * math/w_hypotf.c: Likewise.
44378 * math/w_hypotl.c: Likewise.
44379 * math/w_lgamma.c: Likewise.
44380 * math/w_lgamma_r.c: Likewise.
44381 * math/w_lgammaf.c: Likewise.
44382 * math/w_lgammaf_r.c: Likewise.
44383 * math/w_lgammal.c: Likewise.
44384 * math/w_lgammal_r.c: Likewise.
44385 * math/w_sinh.c: Likewise.
44386 * math/w_sinhf.c: Likewise.
44387 * math/w_sinhl.c: Likewise.
44388 * math/w_tgamma.c: Likewise.
44389 * math/w_tgammaf.c: Likewise.
44390 * math/w_tgammal.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44393 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44394 Minor optimizations. Pretty printing. Remove cruft.
44395 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44399 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44400 * sysdeps/i386/fpu/e_asin.S: Likewise.
44401 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44402 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44403 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44404 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44405 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44406 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44408 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44409 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44410 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44411 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44412 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44413 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44414 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44415 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44416 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44417 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44418 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44419 * sysdeps/i386/fpu/e_log.S: Likewise.
44420 * sysdeps/i386/fpu/e_log10.S: Likewise.
44421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44423 * sysdeps/i386/fpu/e_log2.S: Likewise.
44424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44426 * sysdeps/i386/fpu/e_logf.S: Likewise.
44427 * sysdeps/i386/fpu/e_logl.S: Likewise.
44428 * sysdeps/i386/fpu/e_pow.S: Likewise.
44429 * sysdeps/i386/fpu/e_powf.S: Likewise.
44430 * sysdeps/i386/fpu/e_powl.S: Likewise.
44431 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44432 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44433 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44437 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44438 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44439 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44461 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44462 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44465 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44466 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44467 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44469 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44471 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44472 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44474 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44475 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44476 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44478 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44480 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44481 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44523 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44526 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44528 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44531 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44532 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44533 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44537 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44538 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44539 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44540 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44541 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44542 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44543 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44544 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44548 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44550 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44551 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44552 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44553 (__isnanf): Likewise.
44554 (__isinf_ns): Likewise.
44555 (__isinf_nsf): Likewise.
44556 (__finite): Likewise.
44557 (__finitef): Likewise.
44558 (__ieee754_sqrt): Define as macro.
44559 (__ieee754_sqrtf): Define as macro.
44560 (__ieee754_sqrtl): Define as macro.
44561 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44562 inlined copy.
44563 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44564 __FINITE_MATH_ONLY__ consistent.
44565 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44566
12cc2fcd
AS
445672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44568
a843a204
AS
44569 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44570 of rawmemchr.
44571
12cc2fcd
AS
44572 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44573
c853acd5
UD
445742011-10-09 Ulrich Drepper <drepper@gmail.com>
44575
44576 * po/ja.po: Update from translation team.
44577
c658d255
RM
445782011-10-08 Roland McGrath <roland@hack.frob.com>
44579
110946e4
RM
44580 * locale/programs/locarchive.c (prepare_address_space): New function.
44581 (create_archive, enlarge_archive, open_archive): Use it.
44582
50604220
RM
44583 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44584 inside [SHARED], where it is used.
44585
c658d255
RM
44586 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44587
44588 * nss/getent.c (netgroup_keys): Remove unused variable.
44589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44590
6a621eb7
UD
445912011-10-08 Ulrich Drepper <drepper@gmail.com>
44592
7edb55ce
UD
44593 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44594 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44597 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44598 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44599 * math/Makefile (libm-calls): Add s_isinf_ns.
44600 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44601 * math/multc3.c: Likewise.
44602 * math/s_casin.c: Likewise.
44603 * math/s_casinf.c: Likewise.
44604 * math/s_casinl.c: Likewise.
44605 * math/s_ccos.c: Likewise.
44606 * math/s_ccosf.c: Likewise.
44607 * math/s_ccosl.c: Likewise.
44608 * math/s_ctan.c: Likewise.
44609 * math/s_ctanf.c: Likewise.
44610 * math/s_ctanh.c: Likewise.
44611 * math/s_ctanhf.c: Likewise.
44612 * math/s_ctanhl.c: Likewise.
44613 * math/s_ctanl.c: Likewise.
44614 * math/w_fmod.c: Likewise.
44615 * math/w_fmodf.c: Likewise.
44616 * math/w_fmodl.c: Likewise.
44617 * math/w_remainder.c: Likewise.
44618 * math/w_remainderf.c: Likewise.
44619 * math/w_remainderl.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44621 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44624 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44625 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44626 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44627 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44628
187da0ae
UD
44629 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44630 of the number.
44631 * stdio-common/printf_fphex.c: Likewise.
44632 * stdio-common/printf_size.c: Likewise.
44633
9277c064
UD
44634 * math/e_exp10.c: Include math_private.h using <...> not "...".
44635 * math/e_exp10f.c: Likewise.
44636 * math/e_exp10l.c: Likewise.
44637 * math/e_exp2l.c: Likewise.
44638 * math/e_j0l.c: Likewise.
44639 * math/e_j1l.c: Likewise.
44640 * math/e_jnl.c: Likewise.
44641 * math/e_lgammal_r.c: Likewise.
44642 * math/e_rem_pio2l.c: Likewise.
44643 * math/e_scalb.c: Likewise.
44644 * math/e_scalbf.c: Likewise.
44645 * math/e_scalbl.c: Likewise.
44646 * math/k_cosl.c: Likewise.
44647 * math/k_sinl.c: Likewise.
44648 * math/k_tanl.c: Likewise.
44649 * math/s_cacoshf.c: Likewise.
44650 * math/s_catan.c: Likewise.
44651 * math/s_catanf.c: Likewise.
44652 * math/s_catanh.c: Likewise.
44653 * math/s_catanhf.c: Likewise.
44654 * math/s_catanhl.c: Likewise.
44655 * math/s_catanl.c: Likewise.
44656 * math/s_ccosh.c: Likewise.
44657 * math/s_ccoshf.c: Likewise.
44658 * math/s_ccoshl.c: Likewise.
44659 * math/s_cexp.c: Likewise.
44660 * math/s_cexpf.c: Likewise.
44661 * math/s_cexpl.c: Likewise.
44662 * math/s_clog.c: Likewise.
44663 * math/s_clog10.c: Likewise.
44664 * math/s_clog10f.c: Likewise.
44665 * math/s_clog10l.c: Likewise.
44666 * math/s_clogf.c: Likewise.
44667 * math/s_clogl.c: Likewise.
44668 * math/s_csin.c: Likewise.
44669 * math/s_csinf.c: Likewise.
44670 * math/s_csinh.c: Likewise.
44671 * math/s_csinhf.c: Likewise.
44672 * math/s_csinhl.c: Likewise.
44673 * math/s_csinl.c: Likewise.
44674 * math/s_csqrt.c: Likewise.
44675 * math/s_csqrtf.c: Likewise.
44676 * math/s_csqrtl.c: Likewise.
44677 * math/s_ctan.c: Likewise.
44678 * math/s_ctanf.c: Likewise.
44679 * math/s_ctanh.c: Likewise.
44680 * math/s_ctanhf.c: Likewise.
44681 * math/s_ctanhl.c: Likewise.
44682 * math/s_ctanl.c: Likewise.
44683 * math/s_ldexp.c: Likewise.
44684 * math/s_ldexpf.c: Likewise.
44685 * math/s_ldexpl.c: Likewise.
44686 * math/s_significand.c: Likewise.
44687 * math/s_significandf.c: Likewise.
44688 * math/s_significandl.c: Likewise.
44689 * math/w_acos.c: Likewise.
44690 * math/w_acosf.c: Likewise.
44691 * math/w_acosh.c: Likewise.
44692 * math/w_acoshf.c: Likewise.
44693 * math/w_acoshl.c: Likewise.
44694 * math/w_acosl.c: Likewise.
44695 * math/w_asin.c: Likewise.
44696 * math/w_asinf.c: Likewise.
44697 * math/w_asinl.c: Likewise.
44698 * math/w_atan2.c: Likewise.
44699 * math/w_atan2f.c: Likewise.
44700 * math/w_atan2l.c: Likewise.
44701 * math/w_atanh.c: Likewise.
44702 * math/w_atanhf.c: Likewise.
44703 * math/w_atanhl.c: Likewise.
44704 * math/w_cosh.c: Likewise.
44705 * math/w_coshf.c: Likewise.
44706 * math/w_coshl.c: Likewise.
44707 * math/w_dremf.c: Likewise.
44708 * math/w_exp10.c: Likewise.
44709 * math/w_exp10f.c: Likewise.
44710 * math/w_exp10l.c: Likewise.
44711 * math/w_exp2.c: Likewise.
44712 * math/w_exp2f.c: Likewise.
44713 * math/w_fmod.c: Likewise.
44714 * math/w_fmodf.c: Likewise.
44715 * math/w_fmodl.c: Likewise.
44716 * math/w_hypot.c: Likewise.
44717 * math/w_hypotf.c: Likewise.
44718 * math/w_hypotl.c: Likewise.
44719 * math/w_j0.c: Likewise.
44720 * math/w_j0f.c: Likewise.
44721 * math/w_j0l.c: Likewise.
44722 * math/w_j1.c: Likewise.
44723 * math/w_j1f.c: Likewise.
44724 * math/w_j1l.c: Likewise.
44725 * math/w_jn.c: Likewise.
44726 * math/w_jnf.c: Likewise.
44727 * math/w_jnl.c: Likewise.
44728 * math/w_lgamma.c: Likewise.
44729 * math/w_lgamma_r.c: Likewise.
44730 * math/w_lgammaf.c: Likewise.
44731 * math/w_lgammaf_r.c: Likewise.
44732 * math/w_lgammal.c: Likewise.
44733 * math/w_lgammal_r.c: Likewise.
44734 * math/w_log.c: Likewise.
44735 * math/w_log10.c: Likewise.
44736 * math/w_log10f.c: Likewise.
44737 * math/w_log10l.c: Likewise.
44738 * math/w_log2.c: Likewise.
44739 * math/w_log2f.c: Likewise.
44740 * math/w_log2l.c: Likewise.
44741 * math/w_logf.c: Likewise.
44742 * math/w_logl.c: Likewise.
44743 * math/w_pow.c: Likewise.
44744 * math/w_powf.c: Likewise.
44745 * math/w_powl.c: Likewise.
44746 * math/w_remainder.c: Likewise.
44747 * math/w_remainderf.c: Likewise.
44748 * math/w_remainderl.c: Likewise.
44749 * math/w_scalb.c: Likewise.
44750 * math/w_scalbf.c: Likewise.
44751 * math/w_scalbl.c: Likewise.
44752 * math/w_sinh.c: Likewise.
44753 * math/w_sinhf.c: Likewise.
44754 * math/w_sinhl.c: Likewise.
44755 * math/w_sqrt.c: Likewise.
44756 * math/w_sqrtf.c: Likewise.
44757 * math/w_sqrtl.c: Likewise.
44758 * math/w_tgamma.c: Likewise.
44759 * math/w_tgammaf.c: Likewise.
44760 * math/w_tgammal.c: Likewise.
44761
6a621eb7
UD
44762 * po/ja.po: Update from translation team.
44763
bf582445
AJ
447642011-09-29 Andreas Jaeger <aj@suse.de>
44765
f9efbf3a
AJ
44766 [BZ #13179]
44767 * sunrpc/netname.c (netname2host): Fix logic.
44768
bf582445
AJ
44769 [BZ #6779]
44770 [BZ #6783]
44771 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44772 correctly.
44773 * math/w_remainder.c (__remainder): Likewise.
44774 * math/w_remainderf.c (__remainderf): Likewise.
44775 * math/libm-test.inc (remainder_test): Add test cases.
44776
48693bea
AK
447772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44778
44779 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44780 sdiv_qrnnd.
44781
42622229
LD
447822011-10-07 Ulrich Drepper <drepper@gmail.com>
44783
44784 * string/test-memcmp.c: Avoid unncessary #defines.
44785 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44786
093ecf92
LD
447872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44788
44789 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44790 Use new sse2 version for core i3 - i7 as it's faster
44791 than sse42 version.
44792 (bit_Prefer_PMINUB_for_stringop): New.
44793 * sysdeps/x86_64/rawmemchr.S: Update.
44794 Replace with faster SSE2 version.
44795 * sysdeps/x86_64/memrchr.S: New file.
44796 * sysdeps/x86_64/memchr.S: Update.
44797 Replace with faster SSE2 version.
44798
fde56e5c
MP
447992011-09-12 Marek Polacek <mpolacek@redhat.com>
44800
44801 * elf/dl-load.c (lose): Add cast to avoid warning.
44802
21fd49a9
UD
448032011-10-07 Ulrich Drepper <drepper@gmail.com>
44804
5a06e643
UD
44805 * po/ca.po: Update from translation team.
44806
684ae515
UD
44807 * inet/getnetgrent_r.c: Hook up nscd.
44808 * nscd/Makefile (routines): Add nscd_netgroup.
44809 (nscd-modules): Add netgroupcache.
44810 (CFLAGS-netgroupcache.c): Define.
44811 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44812 (cache_search): Add const to second parameter.
44813 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44814 INNETGR.
44815 (dbs): Add netgrdb entry.
44816 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44817 (verify_persistent_db): Handle netgrdb.
44818 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44819 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44820 GETFDNETGR.
44821 (netgroup_response_header): Define.
44822 (innetgroup_response_header): Define.
44823 (datahead): Add netgroup_response_header and innetgroup_response_header
44824 elements.
44825 * nscd/nscd.conf: Add entries for netgroup cache.
44826 * nscd/nscd.h (dbtype): Add netgrdb.
44827 (_PATH_NSCD_NETGROUP_DB): Define.
44828 (netgroup_iov_disabled): Declare.
44829 (xmalloc, xcalloc, xrealloc): Move declarations here.
44830 (cache_search): Adjust prototype.
44831 Add netgroup-related prototypes.
44832 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44833 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44834 (__nscd_innetgr): Declare.
44835 * nscd/selinux.c (perms): Use access_vector_t as element type and
44836 add netgroup-related initializers.
44837 * nscd/netgroupcache.c: New file.
44838 * nscd/nscd_netgroup.c: New file.
44839 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44840 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44841 For four parameters use innetgr.
44842 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44843 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44844 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44845 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44846
21fd49a9
UD
44847 * nscd/connections.c (register_traced_file): Don't register file
44848 for disabled databases.
44849
054c0457
UD
448502011-10-06 Ulrich Drepper <drepper@gmail.com>
44851
32b63198
UD
44852 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44853
054c0457
UD
44854 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44855 from tree and freeing node.
44856
64031225
JO
448572011-09-25 Jiri Olsa <jolsa@redhat.com>
44858
44859 * nss/nsswitch.c (__nss_database_lookup): Handle
44860 nss_parse_service_list out of memory case.
44861
0490345c
JO
448622011-09-15 Jiri Olsa <jolsa@redhat.com>
44863
44864 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44865 out of memory case.
44866
3a62d00d
AS
448672011-10-04 Andreas Schwab <schwab@redhat.com>
44868
44869 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44870 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44871 pass it down.
44872 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44873 elf_machine_rela, elf_machine_lazy_rel.
44874 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44875 (ELF_DYNAMIC_DO_REL): Likewise.
44876 (ELF_DYNAMIC_DO_RELA): Likewise.
44877 (ELF_DYNAMIC_RELOCATE): Likewise.
44878 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44879 to ELF_DYNAMIC_DO_REL.
44880 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44881 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44882 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44883 elf_machine_rela.
44884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44885 skip_ifunc, don't call ifunc function if non-zero.
44886 (elf_machine_rela): Likewise.
44887 (elf_machine_lazy_rel): Likewise.
44888 (elf_machine_lazy_rela): Likewise.
44889 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44890 (elf_machine_lazy_rel): Likewise.
44891 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44892 Likewise.
44893 (elf_machine_lazy_rel): Likewise.
44894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44895 Likewise.
44896 (elf_machine_lazy_rel): Likewise.
44897 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44898 (elf_machine_lazy_rel): Likewise.
44899 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44900 (elf_machine_lazy_rel): Likewise.
44901 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44902 (elf_machine_lazy_rel): Likewise.
44903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44904 (elf_machine_lazy_rel): Likewise.
44905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44906 (elf_machine_lazy_rel): Likewise.
44907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44908 (elf_machine_lazy_rel): Likewise.
44909
68577918
UD
449102011-09-28 Ulrich Drepper <drepper@gmail.com>
44911
44912 * nss/nss_files/files-init.c (_nss_files_init): Use static
44913 initialization for all the *_traced_file variables.
44914
68822d74
AS
449152011-09-28 Andreas Schwab <schwab@redhat.com>
44916
44917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44918
2056100b
RM
449192011-09-27 Roland McGrath <roland@hack.frob.com>
44920
44921 [BZ #13226]
44922 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44923
32c76b63
AS
449242011-09-27 Andreas Schwab <schwab@redhat.com>
44925
44926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44927 Reread the line before reparsing it.
44928
bf972c9d
AS
449292011-09-26 Andreas Schwab <schwab@redhat.com>
44930
44931 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44932
e057a1b5
JM
449332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44934 Maxim Kuvyrkov <maxim@codesourcery.com>
44935 Joseph Myers <joseph@codesourcery.com>
44936
44937 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44938 if needed for __stack_chk_guard.
44939
bc7e1c36
RM
449402011-09-19 Roland McGrath <roland@hack.frob.com>
44941
ecb1482f
RM
44942 * sysdeps/posix/spawni.c (script_execute): Always define it.
44943 It will be optimized away if unused.
44944 (maybe_script_execute): New function.
44945 (__spawni): Call it.
44946
bc7e1c36
RM
44947 * Makerules: Don't include tls.make.
44948 (config-tls): Always set to thread.
44949 * tls.make.c: File removed.
44950
1c3b002b
MF
449512011-09-19 Mike Frysinger <vapier@gentoo.org>
44952
44953 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44954 * config.make.in (CPPFLAGS-config): New substituted variable.
44955
2840865d
UD
449562011-09-15 Ulrich Drepper <drepper@gmail.com>
44957
88738eb6
UD
44958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44959
cbf645a6 44960 [BZ #13192]
2840865d
UD
44961 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44962 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44963
b402e91a
RM
449642011-09-15 Roland McGrath <roland@hack.frob.com>
44965
44966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44967 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44968 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44969 (CALL_FAIL): Likewise.
44970 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44971 (CALL_FAIL): Macro removed.
44972 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44973
4c1a1f71
UD
449742011-09-15 Ulrich Drepper <drepper@gmail.com>
44975
44976 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44977 for __FINITE_MATH_ONLY__ == 1.
44978
edc121be
AS
449792011-09-15 Andreas Schwab <schwab@redhat.com>
44980
44981 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44982 __ieee754_sqrt instead of sqrt.
44983 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44984 __ieee754_sqrtf instead of sqrtf.
44985 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44986 __floorf instead of floorf.
44987 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44988 __floorf, __truncf instead of floorf, truncf.
44989
cd205654
UD
449902011-09-14 Ulrich Drepper <drepper@gmail.com>
44991
ee4d0315
UD
44992 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44993
cd205654
UD
44994 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44995 __extern_always_inline.
44996 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44997 32-bit.
44998
48b67d71
AS
449992011-09-14 Andreas Schwab <schwab@redhat.com>
45000
45001 * elf/rtld.c (dl_main): Also relocate in dependency order when
45002 doing symbol dependency testing.
45003
1ae12c75
AS
450042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45005
45006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45007 Always define `refsym'.
45008
995a80df
AS
450092011-09-13 Andreas Schwab <schwab@redhat.com>
45010
e529793b
AS
45011 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45012 (__FD_ELT): Renamed from __FDELT.
45013 * misc/bits/select2.h (__FD_ELT): Likewise.
45014 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45015 __FD_MASK instead of __FDELT, __FDMASK.
45016 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45017 Likewise.
45018 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45019 Likewise.
45020
52d4fef8
AS
45021 * elf/Makefile (gen-ldd): Fix pattern.
45022
995a80df
AS
45023 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45024 (init_tls): Likewise.
45025
8682f8b0
UD
450262011-09-12 Ulrich Drepper <drepper@gmail.com>
45027
45028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45029
de82006d
AS
450302011-09-12 Andreas Schwab <schwab@redhat.com>
45031
a7c8e6a1
AS
45032 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45033 `struct cmsghdr *' instead of `void *'.
45034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45035 Likewise.
45036
0f31fe77
AS
450372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45038
45039 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45040 if non-absolute.
45041 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45042 ldd_rewrite_script.
0f31fe77 45043
32b4c839
UD
450442011-09-11 Ulrich Drepper <drepper@gmail.com>
45045
83cd1420
UD
45046 * configure.in: Remove --with-tls option.
45047 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45048 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45049 out in case it is missing.
45050 * sysdeps/ia64/elf/configure.in: Likewise.
45051 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45052 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45053 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45054 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45055 * sysdeps/sh/elf/configure.in: Likewise.
45056 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45057 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45058 * sysdeps/x86_64/elf/configure.in: Likewise.
45059 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45060 * sysdeps/mach/hurd/tls.h: Likewise.
45061
633f745d
UD
45062 [BZ #13067]
45063 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45064
f318beb8
UD
45065 [BZ #13090]
45066 * configure.in: Fix use of AC_INIT.
45067
32b4c839
UD
45068 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45069
3ce1f295
UD
450702011-09-10 Ulrich Drepper <drepper@gmail.com>
45071
bb016596
UD
45072 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45073 __set_errno.
8e58439c
UD
45074 * malloc/hooks.c: Likewise.
45075
aebae053 45076 [BZ #11929]
02d46fc4
UD
45077 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45078 variables statically.
45079 (narenas): Initialize.
45080 (list_lock): Initialize.
bb016596
UD
45081 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45082 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45083 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45084 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45085 Add initializers to main_arena and mp_.
45086 (malloc_state): Remove pagesize member. Change all users to use
45087 GLRO(dl_pagesize).
45088
45089 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45090 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45091 is always initialized.
45092
22a89187
UD
45093 * malloc/malloc.c: Removed unused configurations and dead code.
45094 * malloc/arena.c: Likewise.
45095 * malloc/hooks.c: Likewise.
02d46fc4 45096 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45097
d063d164
UD
45098 * include/tls.h: Removed. USE___THREAD must always be defined.
45099 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45100 * elf/dl-libc.c: Likewise.
45101 * elf/dl-tsd.c: Likewise.
45102 * include/errno.h: Likewise.
45103 * include/netdb.h: Likewise.
45104 * include/resolv.h: Likewise.
45105 * inet/herrno-loc.c: Likewise.
45106 * inet/herrno.c: Likewise.
45107 * malloc/arena.c: Likewise.
45108 * malloc/hooks.c: Likewise.
45109 * malloc/malloc.c: Likewise.
45110 * resolv/res-state.c: Likewise.
45111 * resolv/res_libc.c: Likewise.
45112 * sysdeps/i386/dl-machine.h: Likewise.
45113 * sysdeps/ia64/dl-machine.h: Likewise.
45114 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45115 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45116 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45117 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45118 * sysdeps/sh/dl-machine.h: Likewise.
45119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45120 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45121 * sysdeps/unix/i386/sysdep.S: Likewise.
45122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45123 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45128 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45133 * sysdeps/x86_64/dl-machine.h: Likewise.
45134 * tls.make.c: Likewise.
45135
3ce1f295
UD
45136 * configure.in: Remove --with-__thread option. Make tests for
45137 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45138 tls_model attribute fail if no support is available. Remove
45139 USE_IN_LIBIO.
45140 * Makeconfig: Adjust for dropped configure option. All features are
45141 now mandatory.
45142 * Makerules: Likewise.
45143 * Versions.def: Likewise.
45144 * argp/argp-fmtstream.c: Likewise.
45145 * argp/argp-fmtstream.h: Likewise.
45146 * argp/argp-help.c: Likewise.
45147 * assert/assert.c: Likewise.
45148 * config.h.in: Likewise.
45149 * config.make.in: Likewise.
45150 * configure: Likewise.
45151 * configure.in: Likewise.
45152 * csu/Versions: Likewise.
45153 * csu/init.c: Likewise.
45154 * elf/tst-audit2.c: Likewise.
45155 * elf/tst-tls10.c: Likewise.
45156 * elf/tst-tls10.h: Likewise.
45157 * elf/tst-tls11.c: Likewise.
45158 * elf/tst-tls12.c: Likewise.
45159 * elf/tst-tls14.c: Likewise.
45160 * elf/tst-tlsmod11.c: Likewise.
45161 * elf/tst-tlsmod12.c: Likewise.
45162 * elf/tst-tlsmod13.c: Likewise.
45163 * elf/tst-tlsmod13a.c: Likewise.
45164 * elf/tst-tlsmod14a.c: Likewise.
45165 * elf/tst-tlsmod15b.c: Likewise.
45166 * elf/tst-tlsmod16a.c: Likewise.
45167 * elf/tst-tlsmod16b.c: Likewise.
45168 * elf/tst-tlsmod7.c: Likewise.
45169 * elf/tst-tlsmod8.c: Likewise.
45170 * elf/tst-tlsmod9.c: Likewise.
45171 * gmon/gmon.c: Likewise.
45172 * grp/fgetgrent_r.c: Likewise.
45173 * grp/putgrent.c: Likewise.
45174 * hurd/fopenport.c: Likewise.
45175 * include/libc-symbols.h: Likewise.
45176 * include/tls.h: Likewise.
45177 * intl/gettextP.h: Likewise.
45178 * intl/loadinfo.h: Likewise.
45179 * locale/global-locale.c: Likewise.
45180 * locale/localeinfo.h: Likewise.
45181 * mach/devstream.c: Likewise.
45182 * malloc/arena.c: Likewise.
45183 * malloc/set-freeres.c: Likewise.
45184 * misc/err.c: Likewise.
45185 * misc/getttyent.c: Likewise.
45186 * misc/mntent_r.c: Likewise.
45187 * posix/getopt.c: Likewise.
45188 * posix/wordexp.c: Likewise.
45189 * pwd/fgetpwent_r.c: Likewise.
45190 * resolv/Versions: Likewise.
45191 * resolv/res_hconf.c: Likewise.
45192 * shadow/fgetspent_r.c: Likewise.
45193 * shadow/putspent.c: Likewise.
45194 * stdio-common/printf_fphex.c: Likewise.
45195 * stdio-common/tmpfile.c: Likewise.
45196 * stdlib/abort.c: Likewise.
45197 * stdlib/fmtmsg.c: Likewise.
45198 * sunrpc/auth_unix.c: Likewise.
45199 * sunrpc/clnt_perr.c: Likewise.
45200 * sunrpc/clnt_tcp.c: Likewise.
45201 * sunrpc/clnt_udp.c: Likewise.
45202 * sunrpc/clnt_unix.c: Likewise.
45203 * sunrpc/openchild.c: Likewise.
45204 * sunrpc/svc_simple.c: Likewise.
45205 * sunrpc/svc_tcp.c: Likewise.
45206 * sunrpc/svc_udp.c: Likewise.
45207 * sunrpc/svc_unix.c: Likewise.
45208 * sunrpc/xdr.c: Likewise.
45209 * sunrpc/xdr_array.c: Likewise.
45210 * sunrpc/xdr_rec.c: Likewise.
45211 * sunrpc/xdr_ref.c: Likewise.
45212 * sunrpc/xdr_stdio.c: Likewise.
45213
1248c1c4
PB
452142011-09-09 Ulrich Drepper <drepper@gmail.com>
45215
45216 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45217
452182011-07-03 Andreas Jaeger <aj@suse.de>
45219
45220 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45221 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45222 regenerate with gen-libm-tests.pl.
45223
452242010-05-12 Petr Baudis <pasky@suse.cz>
45225
45226 [BZ #11589]
45227 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45228 around j0() zero points by switching to j1().
45229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45233
f22e1074
UD
452342011-09-09 Ulrich Drepper <drepper@gmail.com>
45235
f19009c1
UD
45236 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45237 instead of 0.
45238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45239 instead of 0.
f19009c1
UD
45240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45241 Patch in part by Pavel Roskin <proski@gnu.org>.
45242
3f8cc204
UD
45243 [BZ #13138]
45244 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45245 realloc.
45246 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45247 Free memory block if necessary.
45248
f22e1074
UD
45249 [BZ #12847]
45250 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45251 be NULL. Don't lock in this case.
45252
0a2349f9
RM
452532011-09-09 Roland McGrath <roland@hack.frob.com>
45254
45255 * elf/elf.h (ELFOSABI_GNU): New macro.
45256 (ELFOSABI_LINUX): Define to that.
45257
f3cdd467
DZ
452582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45259
45260 * string/strncat.c (strncat): Undef the symbol in case it has been
45261 defined in bits/string.h.
45262
74718d13
UD
452632011-09-09 Ulrich Drepper <drepper@gmail.com>
45264
633e9e0f
UD
45265 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45266
0a2349f9 45267 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45268 link map.
45269
f9924780
AJ
452702011-08-17 Andreas Jaeger <aj@suse.de>
45271
45272 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45273
7f5517aa
PP
452742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45275 Ian Lance Taylor <iant@google.com>
45276
45277 * math/libm-test.inc (lround_test): New testcase.
45278 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45279
762011fe
UD
452802011-09-08 Ulrich Drepper <drepper@gmail.com>
45281
92963737
UD
45282 * Makefile: Remove support for automatic cvs check-ins.
45283 * Makerules: Likewise.
45284 * config.make.in: Likewise.
45285 * configure.in: Likewise.
45286 * intl/Makefile: Likewise.
45287 * locale/Makefile: Likewise.
45288 * po/Makefile: Likewise.
45289 * posix/Makefile: Likewise.
45290 * sysdeps/gnu/Makefile: Likewise.
45291 * sysdeps/mach/hurd/Makefile: Likewise.
45292 * sysdeps/sparc/sparc32/Makefile: Likewise.
45293
b0727fd8
JS
45294 [BZ #13118]
45295 * posix/Makefile (bug-regex32-ENV): Define.
45296 Patch by John Stanley <jpsinthemix@verizon.net>.
45297
a0f33f99
UD
45298 * misc/Makefile (headers): Add bits/select2.h.
45299 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45300 * misc/bits/select2.h: New file.
45301 * include/bits/select2.h: New file.
45302 * debug/Makefile (routines): Add fdelt_chk.
45303 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45304 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45305 FD_ISSET.
45306 * debug/fdelt_chk.c: New file.
45307
762011fe
UD
45308 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45309 * wcsmbs/test-wmemcmp.c: Likewise.
45310 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45311 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45312
453132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45314
45315 * string/Makefile (strop-tests): Add memcmp.
45316 * string/test-wmemcmp.c: New file.
45317 * string/test-memcmp.c: Add wmemcmp support.
45318
7f513ec8
RM
453192011-09-08 Roland McGrath <roland@hack.frob.com>
45320
0442afb4
RM
45321 [BZ #13153]
45322 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45323 2011-07-19 change.
45324
7f513ec8
RM
45325 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45326 garbage value in a __mach_port_mod_refs call in the cases of the
45327 task-self and thread-self ports.
45328
a12b2239
ST
453292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45330
45331 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45332
610f9ab4
AS
453332011-09-08 Andreas Schwab <schwab@redhat.com>
45334
7f513ec8 45335 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45336
48882a1a
LD
453372011-09-07 Ulrich Drepper <drepper@gmail.com>
45338
b49865be
UD
45339 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45340
fdc86bc9
UD
45341 * elf/dl-libc.c (dlerror_run): Pass back error code from
45342 dl_catch_error.
45343
c966526a
UD
45344 [BZ #13123]
45345 * elf/dl-load.c (lose): Free l_origin if it is valid.
45346
48882a1a
LD
45347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45348 names.
45349 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45350 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45352 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45353 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45354 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45355
77a2a8b4
AZ
453562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45357
45358 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45359 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45360 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45361 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45362 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45363 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45364 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45365 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45366 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45367 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45368
24f579d8
AM
453692011-08-15 Alan Modra <amodra@gmail.com>
45370
45371 [BZ #13092]
45372 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45373 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45374 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45375 ppc_mcount to static-only-routines.
45376 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45377 __mcount_internal.
45378 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45379 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45380
3d4837df
UD
453812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45382
45383 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45384 for finite and infinity parameters.
45385
22700377
WS
453862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45387
45388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45389 and add nop instructions for throughput optimization.
45390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45391
5025581e
WS
453922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45393
45394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45395 aligned copy for power7 with vector-scalar instructions.
45396 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45397
08a300c9
L
453982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45399
45400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45401 AVX check.
45402
59178ef9
AS
454032011-09-07 Andreas Schwab <schwab@redhat.com>
45404
45405 [BZ #13144]
45406 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45407 last change.
45408
e38ba7ab
UD
454092011-09-07 Ulrich Drepper <drepper@gmail.com>
45410
45411 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45412 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45413 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45414 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45415 clock_gettime.
45416
d53a73ac
UD
454172011-09-06 Ulrich Drepper <drepper@gmail.com>
45418
fc8bffcc
UD
45419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45420 Forgot to demangle the pointer.
45421
ceaa0c5d
UD
45422 * sysdeps/i386/sysdep.h: Define atom_text_section.
45423 * sysdeps/x86_64/sysdep.h: Likewise.
45424 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45425 section with atom_text_section.
45426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45427 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45428 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45430 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45431
a77d3c17
UD
45432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45433 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45434 already be defined. Change to take two parameters and don't assign
45435 result to variable. Adjust all users.
45436 Define INTERNAL_GETTIME if not already defined.
45437 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45438 call.
45439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45440 HAVE_CLOCK_GETTIME_VSYSCALL.
45441 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45442
d53a73ac
UD
45443 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45444 gettimeofday vsyscall, just use time.
45445
a8f84144
AS
454462011-09-06 Andreas Schwab <schwab@redhat.com>
45447
45448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45449 <errno.h>.
45450
ef606249
UD
454512011-09-06 Ulrich Drepper <drepper@gmail.com>
45452
45453 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45454 syscall on x86-64.
45455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45456 syscall.
45457 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45459 syscall if possible.
45460
6585cb60
UD
454612011-09-05 Ulrich Drepper <drepper@gmail.com>
45462
45463 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45464 e_ident. Don't pass to find_mapsXX.
45465 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45466
a5f524e4
LD
454672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45468
45469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45470 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45471 * sysdeps/x86_64/multiarch/strchr.S: Update.
45472 Check bit_slow_BSF bit.
45473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45474 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45475 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45476
554881ef
UD
454772011-09-05 Ulrich Drepper <drepper@gmail.com>
45478
d96de963
UD
45479 [BZ #13134]
45480 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45481 before glibc 2.15.
45482 (tryshell): Define.
45483 (__spawni): Change last parameter to be flag. Test
45484 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45485 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45486 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45487 * posix/spawni.c: Likewise.
45488 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45489 * posix/spawnp.c: Likewise. Change normal version to use
45490 SPAWN_XFLAGS_USE_PATH.
45491 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45492 SPAWN_XFLAGS_TRY_SHELL.
45493
d48e5868
UD
45494 [BZ #13150]
45495 * posix/glob.h: Remove gcc 1.x support.
45496
554881ef
UD
45497 [BZ #13068]
45498 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45499
693fb948
LD
455002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45501
45502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45503 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45504 strrchr-sse2-bsf
45505 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45506 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45507 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45509 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45511
1b48c537
UD
455122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45513
49d42c37
UD
45514 * sysdeps/x86_64/wcscmp.S: New file.
45515
1b48c537
UD
45516 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45517 wcscmp-c wcscmp-sse2
45518 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45519 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45520 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45521 * wcsmbs/wcscmp.c: Allow renaming.
45522
15c95c5d
DM
455232011-09-05 David S. Miller <davem@davemloft.net>
45524
45525 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45526 stack slot, rather than the struct return pointer slot.
45527 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45528 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45530 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45531
2f0ad8f3
UD
455322011-09-05 Ulrich Drepper <drepper@gmail.com>
45533
d88ae418
UD
45534 * po/ja.po: Update from translation team.
45535
2f0ad8f3
UD
45536 [BZ #13144]
45537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45538 kernel in 64-bit binaries.
45539
5f4318d1
DM
455402011-09-01 David S. Miller <davem@davemloft.net>
45541
45542 * elf/elf.h (HWCAP_SPARC_*): Move to..
45543 * sysdeps/sparc/sysdep.h: this new file and add new values.
45544 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45545 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45546 _DL_HWCAP_COUNT to 24.
45547 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45548 entries.
45549 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45550 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45551 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45553 instead of magic constants.
45554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45555
3ba57516
DM
455562011-08-31 David S. Miller <davem@davemloft.net>
45557
45558 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45560 Reimplement to do errno handling inline.
45561 (SYSCALL_ERROR_HANDLER): New macro.
45562 (__SYSCALL_STRING): Do not do errno handling in asm.
45563 (__CLONE_SYSCALL_STRING): Delete.
45564 (__INTERNAL_SYSCALL_STRING): Delete.
45565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45566 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45567 (PSEUDO): Reimplement to do errno handling inline.
45568 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45569 (SYSCALL_ERROR_HANDLER): New macro.
45570 (__SYSCALL_STRING): Do not do errno handling in asm.
45571 (__CLONE_SYSCALL_STRING): Delete.
45572 (__INTERNAL_SYSCALL_STRING): Delete.
45573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45574 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45575 i386.
45576 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45577 (inline_syscall*): Add 'err' argument.
45578 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45579 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45580 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45581 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45582
45583 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45584 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45585
2bc17433
AS
455862011-08-30 Andreas Schwab <schwab@redhat.com>
45587
45588 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45589
fbeb5f4d
JO
455902011-08-29 Jiri Olsa <jolsa@redhat.com>
45591
45592 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45593 directive.
45594
ad69cc26
DM
455952011-08-24 David S. Miller <davem@davemloft.net>
45596
45597 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45598
39dd69df
AS
455992011-08-24 Andreas Schwab <schwab@redhat.com>
45600
45601 * elf/Makefile: Add rules to build and run unload8 test.
45602 * elf/unload8.c: New file.
45603 * elf/unload8mod1.c: New file.
45604 * elf/unload8mod1x.c: New file.
45605 * elf/unload8mod2.c: New file.
45606 * elf/unload8mod3.c: New file.
45607
45608 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45609 it wasn't used.
45610
2c0b250a
DM
456112011-08-23 David S. Miller <davem@davemloft.net>
45612
45613 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45614 subtract stack bias.
45615 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45616 %sp not %fp in calculations.
45617 (_JMPBUF_UNWINDS_ADJ): Likewise.
45618
22044b48
DM
45619 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45620 (aio_suspend): Call it to force an exception region around the
45621 AIO_MISC_WAIT() invocation.
45622
2cae4995
AS
456232011-08-23 Andreas Schwab <schwab@redhat.com>
45624
45625 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45626 backslash.
45627
873a772e
AJ
456282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45629
45630 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45631 protection macro.
45632 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45633 and <dl-machine.h>.
45634 (Elf64_FuncDesc): Remove.
45635
25ad0df1
DM
456362011-08-22 David S. Miller <davem@davemloft.net>
45637
45638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45639 sigaltstack check, add missing cfi directives.
45640 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45641 missing cfi directives, and sigaltstack handling.
45642
e888bcbe
AS
456432011-08-16 Andreas Schwab <schwab@redhat.com>
45644
45645 [BZ #11724]
45646 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45647 object is seen twice.
45648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45649
45650 * elf/Makefile (distribute): Add tst-initorder2.c.
45651 (tests): Add tst-initorder2.
45652 (modules-names): Add tst-initorder2a tst-initorder2b
45653 tst-initorder2c tst-initorder2d. Add rules to build them.
45654 ($(objpfx)tst-initorder2.out): New rule.
45655 * elf/tst-initorder2.c: New file.
45656 * elf/tst-initorder2.exp: New file.
45657
87162f46
AS
456582011-08-22 Andreas Schwab <schwab@redhat.com>
45659
70538b7f
AS
45660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45661
f55ffe58
AS
45662 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45663 dependencies back to end of function.
45664
87162f46
AS
45665 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45666 $(elfobjdir)/ld.so.
45667
91b392a4
UD
456682011-08-21 Ulrich Drepper <drepper@gmail.com>
45669
45670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45671 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45673 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45674 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45675 of __vdso_gettimeofday.
45676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45677 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45678 attribute_hidden.
45679 (_libc_vdso_platform_setup): Remove initialization of
45680 __vdso_gettimeofday and __vdso_time.
45681
5c43483f
UD
456822011-08-20 Ulrich Drepper <drepper@gmail.com>
45683
775a77e7
UD
45684 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45685 and fgetc_unlocked.
45686 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45687 getc_unlocked.
89f447ed 45688
49c74ba9
UD
45689 * elf/dl-open.c (add_to_global): Report additions to the global scope
45690 for LD_DEBUG=scopes.
45691 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45692 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45693
5c43483f
UD
45694 [BZ #13114]
45695 * stdio-common/Makefile (tests): Add bug24.
45696 * stdio-common/bug24.c: New file.
45697
a101b025
AJ
456982011-08-19 Andreas Jaeger <aj@suse.de>
45699
45700 [BZ #13114]
45701 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45702 non-existant file when using close-on-exec mode.
45703
c88f1766
UD
457042011-08-20 Ulrich Drepper <drepper@gmail.com>
45705
0276a718
UD
45706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45707 the very first instruction.
45708
c88f1766
UD
45709 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45710 the CFI state in the end.
45711 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45712 inclusion of dl-trampoline.h.
45713 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45714
51ccffa0
AS
457152011-08-19 Andreas Schwab <schwab@redhat.com>
45716
94d7165f
AS
45717 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45718 expectations for long double.
45719
51ccffa0
AS
45720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45721 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45722
fd708658 457232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45724
45725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45726 artificual limit depends upon the system page size.
45727
44f0a71e
UD
457282011-08-17 Ulrich Drepper <drepper@gmail.com>
45729
45730 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45731 * resolv/Makefile: Define CFLAGS-libresolv.
45732
8de79a24
AS
457332011-08-17 Andreas Schwab <schwab@redhat.com>
45734
45735 * nss/makedb.c (compute_tables): Make variables used in nested
45736 function static.
45737
27724598
UD
457382011-08-17 Ulrich Drepper <drepper@gmail.com>
45739
c5305d88
UD
45740 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45741 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45742 if buffer was too small.
45743
27724598
UD
45744 * elf/pldd.c (main): Attach to all threads in the process.
45745 Rewrite /proc handling to use *at functions.
45746
076fe015
UD
457472011-08-16 Ulrich Drepper <drepper@gmail.com>
45748
174baab3
UD
45749 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45750 specifies first scope to show.
45751 (dl_open_worker): Update callers. Move printing scope of new
45752 object to before the relocation.
44f0a71e 45753 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45754 * sysdeps/generic/ldsodefs.h: Update declaration.
45755
076fe015
UD
45756 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45757 string for the scope number.
45758
a60df2c3
UD
457592011-08-14 Ulrich Drepper <drepper@gmail.com>
45760
45761 * nscd/servicescache.c (cache_addserv): Make sure written is always
45762 initialized.
45763
5e4287d1
RM
457642011-08-14 Roland McGrath <roland@hack.frob.com>
45765
85ae0589
RM
45766 * sysdeps/i386/i486/bits/atomic.h
45767 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45768 statement expression, so as to suppress "set but not used" warning.
45769 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45770
69f63097
RM
45771 * string/strncat.c (STRNCAT): Use prototype definition.
45772
675456ef
RM
45773 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45774 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45775 -Iprograms here.
45776 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45777 (localedef-modules): Add localedef.
45778 (locale-modules): Add locale.
45779
5e4287d1
RM
45780 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45781 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45782 to avoid a warning.
45783
9c96ff23
DM
457842011-08-14 David S. Miller <davem@davemloft.net>
45785
45786 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45787 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45788
f9ddf089
UD
457892011-08-13 Ulrich Drepper <drepper@gmail.com>
45790
44f0a71e 45791 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45792 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45793 * elf/rtld.c (dl_main): Set l_name of vDSO.
45794 Call _dl_show_scope when DL_DEBUG_SCOPES.
45795 (process_dl_debug): Recognize scopes flag and also set it for all.
45796 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45797 Declare _dl_show_scope.
45798
1dc27704
UD
45799 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45800 (do_dlopen): Pass caller_dlopen to dl_open.
45801 (__libc_dlopen_mode): Initialize caller_dlopen.
45802
f9ddf089
UD
45803 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45804 of libc. Make tolower call locale-independent. Optimize a bit by
45805 using isdigit instead of isalnum.
45806 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45807
9ac533d3
UD
458082011-08-12 Ulrich Drepper <drepper@gmail.com>
45809
45810 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45811 was a dependency or dynamically loaded.
45812
89edf2e9
UD
458132011-08-11 Ulrich Drepper <drepper@gmail.com>
45814
8e999d29
UD
45815 * intl/l10nflist.c: Allow architecture-specific pop function.
45816 * sysdeps/x86_64/l10nflist.c: New file.
45817
89edf2e9
UD
45818 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45819 classification.
45820
14d96785
AS
458212011-08-10 Andreas Schwab <schwab@redhat.com>
45822
45823 * include/dirent.h: Add libc_hidden_proto for scandirat and
45824 scandirat64. Don't declare __scandirat64.
45825 * dirent/scandirat.c: Add libc_hidden_def.
45826 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45827 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45828
6761ac04
DM
458292011-08-10 David S. Miller <davem@davemloft.net>
45830
45831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45832 enum.
45833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45836
c55fbd1e
UD
458372011-08-09 Ulrich Drepper <drepper@gmail.com>
45838
45839 * Versions.def [libc]: Add GLIBC_2.15.
45840 * dirent/Makefile (routines): Add scandirat and scandirat64.
45841 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45842 GLIBC_2.15.
45843 * dirent/dirent.h: Declare scandirat and scandirat64.
45844 * dirent/scandirat.c: New file.
45845 * dirent/scandirat64.c: New file.
45846 * sysdeps/wordsize-64/scandirat.c: New file.
45847 * sysdeps/wordsize-64/scandirat64.c: New file.
45848 * dirent/opendir.c: Define opendirat.
45849 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45850 using scandirat.
45851 * dirent/scandir64.c: Adjust for scandir.c change.
45852 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45853 __scandirat64, and __scandir_cancel_handler.
45854 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45855 additional parameter and use openat instead of open (outside of ld.so).
45856 Add new __opendir as wrapper around __opendirat.
45857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45858 here without requiring old scandirat implementation.
45859
879165f2
UD
458602011-08-08 Ulrich Drepper <drepper@gmail.com>
45861
45862 * dirent/scandir.c (cancel_handler): Renamed to
45863 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45864 defined. Adjust users.
45865 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45867
cb7e923b
UD
458682011-08-04 Ulrich Drepper <drepper@gmail.com>
45869
16292edd
UD
45870 * string/test-string.h (IMPL): Use __STRING to expand name and then
45871 stringify it.
45872
cb7e923b
UD
45873 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45874 of cleanups.
45875
cff82933
LD
458762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45877
45878 * string/Makefile: Update.
45879 (strop-tests): Append strncat.
45880 * string/test-wcscmp.c: New file.
45881 New comprehensive test for wcscmp.
45882 * string/test-strcmp.c: Update.
45883 (WIDE): New define.
45884
9be9bfcc
AS
458852011-07-22 Andreas Schwab <schwab@redhat.com>
45886
45887 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45888 line.
45889
2e96f1c7
AS
458902011-07-26 Andreas Schwab <schwab@redhat.com>
45891
45892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45893 encoding to ACE if AI_IDN.
45894
85188888
JJ
458952011-08-01 Jakub Jelinek <jakub@redhat.com>
45896
45897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45898 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45899
5fa16e9b
LD
459002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45901
45902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45903 Fix overflow bug in strncat.
45904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45905
45906 * string/test-strncat.c: Update.
45907 Add new tests for checking overflow bugs.
45908
459092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45910
45911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45912 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45913 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45914 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45916 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45917 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45918 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45919 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45920
45921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45922 (USE_AS_STRCAT): Define.
45923 Add strcat and strncat support.
45924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45925
8c1a459f
AS
459262011-07-25 Andreas Schwab <schwab@redhat.com>
45927
45928 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45929 __n bigger than INT_MAX+1.
45930 (__strncmp_g): Likewise.
45931
bba33c28
UD
459322011-07-23 Ulrich Drepper <drepper@gmail.com>
45933
798be72d
UD
45934 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45935 * libio/stido.h: Likewise.
45936
8accd4dc
UD
45937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45938 (AF_NFC): Define.
45939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45940 (AF_NFC): Define.
45941
cbff0d96
UD
45942 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45945 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45947
9191c04a
UD
45948 [BZ #13021]
45949 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45950 installed.
45951
bba33c28
UD
45952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45953 typo.
45954 (_dl_x86_64_save_sse): Likewise.
45955
90f139dd
UD
459562011-07-22 Ulrich Drepper <drepper@gmail.com>
45957
1aae088a
UD
45958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45959 OSXSAVE.
45960 (_dl_x86_64_save_sse): Likewise.
45961
8e2045f5
UD
45962 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45963
90f139dd
UD
45964 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45965
1d002f25
AS
459662011-07-21 Andreas Schwab <schwab@redhat.com>
45967
45968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45969 change.
45970 (_dl_x86_64_save_sse): Use correct AVX check.
45971
21137f89
UD
459722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45973
45974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45975 bug in strncpy/strncat.
45976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45977
a65c0b7a
UD
459782011-07-21 Ulrich Drepper <drepper@gmail.com>
45979
45980 * string/tester.c (test_strcat): Add tests for different alignments
45981 of source and destination.
45982 (test_strncat): Likewise.
45983
6986b98a
UD
459842011-07-20 Ulrich Drepper <drepper@gmail.com>
45985
90bb2039
UD
45986 [BZ #12852]
45987 * posix/glob.c (glob): Check passed in values before using them in
45988 expressions to avoid some overflows.
45989 (glob_in_dir): Likewise.
45990
5644ef54
UD
45991 [BZ #13007]
45992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45993 check for AVX enablement so that we don't crash with old kernels and
45994 new hardware.
45995 * elf/tst-audit4.c: Add same checks here.
45996 * elf/tst-audit6.c: Likewise.
45997
45998 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45999
bfc9dc9b
AS
460002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46001
46002 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46003
702e64bb
UD
460042011-07-20 Ulrich Drepper <drepper@gmail.com>
46005
46006 * po/cs.po: Update from translation team.
46007 * po/bg.po: Likewise.
46008
295e904f
MP
460092011-07-12 Marek Polacek <mpolacek@redhat.com>
46010
46011 * misc/sys/cdefs.h: Add support for const attribute.
46012 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46013 to gnu_dev_{major,minor,makedev} functions.
46014
3ff94596
MP
460152011-07-20 Marek Polacek <mpolacek@redhat.com>
46016
46017 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46018
28b59fca
AS
460192011-07-20 Andreas Schwab <schwab@redhat.com>
46020
46021 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46022 strlen results.
46023
19df733e
AK
460242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46025
46026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46027 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46028 register in order to avoid conflicts with the soft frame pointer
46029 being held in r11 when necessary.
46030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46031 (INTERNAL_VSYSCALL_NCS): Likewise.
46032
c8835729
MP
460332011-07-14 Marek Polacek <mpolacek@redhat.com>
46034
46035 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46036 * elf/dl-fini.c (_dl_fini): Adjust caller.
46037 * elf/dl-close.c (_dl_close_worker): Likewise.
46038 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46039
b902330c
MP
460402011-07-15 Marek Polacek <mpolacek@redhat.com>
46041
8991e135
MP
46042 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46043 "aux_cache->nlibs < 0".
46044
b902330c
MP
46045 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46046 in the reload-count case.
46047
99710781
LD
460482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46049
46050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46051 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46052 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46053 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46054 * sysdeps/x86_64/multiarch/strcat.S: New file.
46055 * sysdeps/x86_64/multiarch/strncat.S: New file.
46056 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46057 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46058 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46059 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46061 (USE_AS_STRCAT): Define.
46062 Add strcat and strncat support.
46063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46065 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46066 * string/strncat.c: Update.
46067 (USE_AS_STRNCAT): Define.
46068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46069 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46070 and i7.
46071 * sysdeps/x86_64/multiarch/init-arch.h
46072 (bit_Prefer_PMINUB_for_stringop): New.
46073 (index_Prefer_PMINUB_for_stringop): Likewise.
46074 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46075 bit_Prefer_PMINUB_for_stringop.
46076
7dc6bd90
UD
460772011-07-19 Ulrich Drepper <drepper@gmail.com>
46078
46079 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46080 buffer64.
46081 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46082 of casting of buffer.
46083 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46084 buffer32 and buffer64.
46085 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46086 writes instead of casting of buffer.
46087 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46088 buffer32.
46089 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46090 casting of buffer.
46091
e0e72284
AS
460922011-07-19 Andreas Schwab <schwab@redhat.com>
46093
46094 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46095
feb1eb0b
UD
460962011-07-19 Ulrich Drepper <drepper@gmail.com>
46097
46098 * nscd/nscd.c (termination_handler): Don't do anything for a database
46099 if it has not yet been initialized.
46100
298711ff
UD
461012011-07-18 Ulrich Drepper <drepper@gmail.com>
46102
46103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46104
461052011-07-15 Marek Polacek <mpolacek@redhat.com>
46106
46107 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46108
f9d68389
UD
461092011-07-18 Ulrich Drepper <drepper@gmail.com>
46110
46111 * po/nl.po: Update from translation team.
46112 * po/sv.po: Likewise.
46113
db290cf5
RM
461142011-07-16 Roland McGrath <roland@hack.frob.com>
46115
46116 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46117 now disallowed by GCC.
5c550700 46118
fd5e21c7
RM
46119 * configure.in (use-default-link): Default to yes if a test -shared
46120 link meets our qualifications.
46121 * configure: Regenerated.
46122
5c550700
RM
46123 * config.make.in (output-format): New variable.
46124 * configure.in: Check for ld --print-output-format support.
46125 * configure: Regenerated.
46126 * Makerules ($(common-objpfx)format.lds)
46127 [$(output-format) != unknown]: Just use $(output-format),
46128 instead of the linker-script munging.
46129
9fa2c032
RM
461302011-07-14 Roland McGrath <roland@hack.frob.com>
46131
a6928d51
RM
46132 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46133 of $(common-objpfx)shlib.lds.
46134 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46135
661607b3
RM
46136 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46137 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46138
9fa2c032
RM
46139 * configure.in (-z relro check): Adjust test code to add a large
46140 writable data section after it.
46141 * configure: Regenerated.
46142
defe9061
RM
461432011-07-11 Roland McGrath <roland@hack.frob.com>
46144
46145 * configure.in (-z relro check): Fix test code to make the variable
46146 truly const.
46147 * configure: Regenerated.
46148
319b9ad4
UD
461492011-07-11 Ulrich Drepper <drepper@gmail.com>
46150
46151 * nscd/nscd.h (struct traced_file): Define.
46152 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46153 elements. Add traced_files.
46154 (inotify_fd): Declare.
46155 (register_traced_file): Declare.
46156 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46157 (inotify_fd): Export.
46158 (resolv_conf_descr): Remove.
46159 (nscd_init): Move inotify descriptor creation to main.
46160 Don't register files for notification here.
46161 (register_traced_file): New function.
46162 (invalidate_cache): Don't use reset_res to determine whether to call
46163 res_init, go through the list of registered files.
46164 (main_loop_poll): The inotify descriptors are now stored in the
46165 structures for the traced files.
46166 (main_loop_epoll): Likewise
46167 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46168 to __nss_disable_nscd.
46169 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46170 for a database anymore. Check the records for all the registered
46171 files instead.
46172 * nss/Makefile (libnss_files-routines): Add files-init.
46173 (libnss_db-routines): Add db-init.
46174 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46175 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46176 * nss/nss_db/db-init.c: New file.
46177 * nss/nss_files/files-init.c: New file.
46178 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46179 __nss_lookup_function.
46180 (__nss_lookup_function): Call nss_load_library.
46181 (nss_load_all_libraries): New function.
46182 (__nss_disable_nscd): Take parameter with callback function for files
46183 to register. Set is_nscd. Load all the DSOs for the NSS modules
46184 used for the cached services.
46185 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46186 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46187 options for features to all the files in nscd.
46188
46189 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46190
23bee3e8
RM
461912011-07-10 Roland McGrath <roland@hack.frob.com>
46192
46193 * csu/elf-init.c (__libc_csu_init): Comment typo.
46194
46a5b7f0
UD
461952011-07-09 Ulrich Drepper <drepper@gmail.com>
46196
46197 * po/pl.po: Update from translation team.
46198 * po/ja.po: Likewise.
46199 * po/ru.po: Likewise.
46200 * po/ko.po: Likewise.
46201 * po/fr.po: Likewise.
46202
d30cf5bb
RM
462032011-07-09 Roland McGrath <roland@hack.frob.com>
46204
113ddea4
RM
46205 * configure.in (.ctors/.dtors header and trailer check):
46206 Use an empirical test on a built program.
46207 * configure: Regenerated.
46208
574920b4
RM
46209 * configure.in (-z relro check): Use an empirical test on a built DSO.
46210 Detect, but do not require, on ia64.
46211 * configure: Regenerated.
46212
d30cf5bb
RM
46213 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46214 Update tests that use readelf to use $READELF instead.
46215 * configure: Regenerated.
46216
8538fdb3
UD
462172011-07-08 Ulrich Drepper <drepper@gmail.com>
46218
46219 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46220 if the result is not used.
46221
04d08991
AJ
462222011-07-05 Andreas Jaeger <aj@suse.de>
46223
46224 [BZ#9696]
46225 * stdlib/tst-strtod.c: Add testcase.
46226
de283087
AD
462272011-07-07 Ulrich Drepper <drepper@gmail.com>
46228
4e5f31c8 46229 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46230 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46231 The latter has a higher limit. Take additional parameter to pass to
46232 the new function.
46233 (__pathconf): Pass file to __statfs_link_max.
46234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46235 __statfs_link_max.
46236 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46237 __statfs_link_max.
46238
de283087
AD
46239 [BZ #12868]
46240 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46241 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46242 Handle Lustre.
46243 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46244 (__statfs_filesize_max): Likewise.
46245 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46246
c75fa153
AJ
462472011-07-05 Andreas Jaeger <aj@suse.de>
46248
46249 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46250
1a544854
UD
462512011-07-06 Marek Polacek <mpolacek@redhat.com>
46252
46253 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46254 `status' variable.
46255 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46256 Likewise.
46257
6f0eec67
UD
462582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46259
46260 * Makefile (strop-tests): Add strncat.
46261 * string/test-strncat.c: New file.
46262
aae30307
UD
462632011-06-30 Marek Polacek <mpolacek@redhat.com>
46264
46265 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46266
c0cfb5eb
UD
462672011-06-21 Andreas Jaeger <aj@suse.de>
46268
46269 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46270 Copy rule from iconvdata/Makefile.
46271
01636b21
UD
462722011-07-06 Ulrich Drepper <drepper@gmail.com>
46273
46274 [BZ #12922]
46275 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46276 but no long options are defined, just return 'W'.
46277
9895c8bc
UD
462782011-06-22 Marek Polacek <mpolacek@redhat.com>
46279
46280 [BZ #9696]
46281 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46282
5d4cf042
UD
462832011-07-06 Ulrich Drepper <drepper@gmail.com>
46284
46285 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46286 netgroups to read.
960e5535 46287 (innetgr): Likewise.
5d4cf042 46288
751eb97e
RM
462892011-07-05 Roland McGrath <roland@hack.frob.com>
46290
46291 * config.make.in (install_root): Default to $(DESTDIR).
46292
f15f1e45
UD
462932011-07-05 Ulrich Drepper <drepper@gmail.com>
46294
46295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46296
4e34ac6a
RM
462972011-07-02 Roland McGrath <roland@hack.frob.com>
46298
5e9b6af4
RM
46299 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46300
84f9ea0f
RM
46301 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46302 containing directory rather than embedding absolute directory names.
46303
ea5ee9f7
RM
46304 * scripts/check-local-headers.sh: Rewritten using awk.
46305 Match by word, not by line. Print error messages for matches.
46306 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46307
1b74661a
RM
46308 * Makerules [shlib-lds-flags empty]:
46309 ($(common-objpfx)libc_pic.opts): New target.
46310 ($(common-objpfx)libc_pic.os.clean): New target.
46311 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46312
46313 * config.make.in (OBJCOPY): New variable.
46314 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46315 * configure: Regenerated.
46316
f781ef40
RM
46317 * config.make.in (use-default-link): New variable.
46318 * configure.in (use_default_link): Grok --with-default-link to set it.
46319 * configure: Regenerated.
46320 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46321 (shlib-lds, shlib-lds-flags): Define to empty.
46322
2d4fa81e
RM
46323 * Makerules (shlib-lds): New variable.
46324 (shlib-lds-flags): New variable.
46325 (build-shlib, build-moduile, build-module-asneeded): Use it.
46326 ($(common-objpfx)libc.so): Use $(shlib-lds).
46327 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46328 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46329
31fffa6b
RM
46330 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46331 DT_FLAGS/DT_FLAGS_1 with zero flags.
46332
4e34ac6a
RM
46333 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46334 linker script munging.
46335
fcfc776b
UD
463362011-07-02 Ulrich Drepper <drepper@gmail.com>
46337
46338 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46339 as 128-bit value.
46340 * crypt/sha512.c (sha512_process_block): Perform total addition using
46341 128-bit if possible.
46342 (__sha512_finish_ctx): Likewise.
46343 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46344 as 64-bit value.
46345 * crypt/sha256.c (SWAP64): Define.
46346 (sha256_process_block): Perform total addition using 64-bit if
46347 possible.
46348 (__sha256_finish_ctx): Likewise.
46349
99231d9a
UD
463502011-07-01 Ulrich Drepper <drepper@gmail.com>
46351
46352 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46354 * nscd/hstcache.c (cache_addhst): Likewise.
46355 * nscd/grpcache.c (cache_addgr): Likewise.
46356 * nscd/aicache.c (addhstaiX): Likewise
46357 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46358
445b4a53
TK
463592011-07-01 Thorsten Kukuk <kukuk@suse.de>
46360
46361 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46363 * nscd/hstcache.c (cache_addhst): Likewise.
46364 * nscd/grpcache.c (cache_addgr): Likewise.
46365 * nscd/aicache.c (addhstaiX): Likewise
46366
6d4d8e8e
AS
463672011-07-01 Andreas Schwab <schwab@redhat.com>
46368
46369 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46370 domain only when needed.
46371
89f654c5
AS
463722011-06-30 Andreas Schwab <schwab@redhat.com>
46373
46374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46375 is always restored.
46376
cf3b23ff
UD
463772011-06-29 Ulrich Drepper <drepper@gmail.com>
46378
46379 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46380 are re-adding the entry.
46381 * nscd/servicescache.c (cache_addserv): Likewise.
46382
751626f9
AJ
463832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46384
46385 * sysdeps/generic/dl-irel.h: fix protection against multiple
46386 inclusions.
46387 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46388
9113ea1f
UD
463892011-06-28 Ulrich Drepper <drepper@gmail.com>
46390
5c0b8d90
UD
46391 [BZ #12935]
46392 * malloc/memusage.sh: Fix quoting in message.
46393 * debug/xtrace.sh: Likewise.
46394
9113ea1f
UD
46395 * configure.in: Remove support for --experimental-malloc option, make
46396 it the default.
46397 * config.make.in: Likewise.
46398 * malloc/Makefile: Likewise.
46399
a4172181
AS
464002011-06-27 Andreas Schwab <schwab@redhat.com>
46401
46402 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46403 two-byte characters.
46404
78a7eee7
RM
464052011-06-27 Roland McGrath <roland@hack.frob.com>
46406
62bede13
RM
46407 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46408 AC_CACHE_CHECK invocation.
46409 * configure: Regenerated.
46410
78a7eee7
RM
46411 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46412
5ce33a62
UD
464132011-06-27 Ulrich Drepper <drepper@gmail.com>
46414
034807a9
UD
46415 [BZ #12350]
46416 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46417 bit from old_res_options.
46418
4902da17
UD
46419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46420
5ce33a62
UD
46421 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46422 value type for setfct.
46423
c2344f56
L
464242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46425
46426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46427 __gettimeofday instead of gettimeofday.
46428
68468076
UD
464292011-06-26 Ulrich Drepper <drepper@gmail.com>
46430
46431 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46432
acb0d739
L
464332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46434
46435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46436
46437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46438 info.
46439
8912479f
L
464402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46441
46442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46443 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46444 strcpy-sse2-unaligned strncpy-sse2-unaligned
46445 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46446 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46447 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46448 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46449 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46450 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46452 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46453 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46454 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46455 (STRCPY): Support SSE2 and SSSE3 versions.
46456
d5495a11
UD
464572011-06-24 Ulrich Drepper <drepper@gmail.com>
46458
46459 [BZ #12874]
46460 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46461 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46462 kernels which artificially limit size of requests.
46463
0b1cbaae
L
464642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46465
46466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46467 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46468 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46469 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46470 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46471 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46472 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46473 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46476 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46477 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46478 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46479 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46480 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46482 Enable unaligned load optimization for Intel Core i3, i5 and i7
46483 processors.
46484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46485 Define.
46486 (index_Fast_Unaligned_Load): Define.
46487 (HAS_FAST_UNALIGNED_LOAD): Define.
46488
07f494a0
MP
464892011-06-23 Marek Polacek <mpolacek@redhat.com>
46490
46491 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46492
fa3fc0fe
UD
464932011-06-22 Ulrich Drepper <drepper@gmail.com>
46494
46495 [BZ #12907]
46496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46497 until it is clear that the information is realy needed.
46498 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46499
e12df166
AS
465002011-06-22 Andreas Schwab <schwab@redhat.com>
46501
46502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46503
852eb34d
UD
465042011-06-22 Ulrich Drepper <drepper@gmail.com>
46505
84e2a551
UD
46506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46507 /sys/devices/system/cpu/online if it is usable.
46508
852eb34d
UD
46509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46510 reading the information from the /proc filesystem to once a second.
46511
6e502e19
UD
465122011-06-21 Andreas Jaeger <aj@suse.de>
46513
46514 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46515 NULL after inclusion of kernel headers.
46516
75d39ff2
UD
465172011-06-21 Ulrich Drepper <drepper@gmail.com>
46518
51f9aa6a
UD
46519 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46520 calls to internal_setent.
46521
c0244a9d
UD
46522 [BZ #12885]
46523 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46524 addresses using gethostbyname4_r ignore IPv4 addresses.
46525
c5e3c2ae
UD
46526 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46527 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46528
75d39ff2
UD
46529 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46530
42675c6f
DM
465312011-06-20 David S. Miller <davem@davemloft.net>
46532
46533 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46534 inclusions.
46535 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46536
46537 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46538 (elf_irel): Use it.
46539 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46540 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46541 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46542 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46543 * sysdeps/x86_64/dl-irel.h: Likewise.
46544
46545 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46546 * elf/dl-sym.c: Likewise.
46547
57912a71
UD
465482011-06-15 Ulrich Drepper <drepper@gmail.com>
46549
46550 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46551 need to dereference resplen2.
46552
ee22793d
AS
465532011-06-14 Andreas Schwab <schwab@redhat.com>
46554
46555 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46556
a9e836b0
UD
465572011-06-15 Ulrich Drepper <drepper@gmail.com>
46558
77fb9117
UD
46559 * Makeconfig: Define vardbdir and inst_vardbdir.
46560 * nss/Makefile: Add rules to install db-Makefile.
46561
40c1b22c
UD
46562 * nss/nss_db/db-XXX.c: Cleanup.
46563
9f2da732
UD
46564 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46565 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46566 GLIBC_PRIVATE.
46567 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46568 * nss/makedb.c: Implement -g option to specify that value strings
46569 are generated and should not be added to table iterated over for
46570 get*ent calls.
46571 * nss/nss_db/db-initgroups.c: New file.
46572
82e9a1f7
UD
46573 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46574 interface.
46575
c41af17e
UD
46576 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46577 (internal_getgrouplist): Adjust to name change.
46578 Update use_initgroups_entry if this is not the first call.
46579 * nss/databases.def: Add initgroups entry.
46580
a9e836b0
UD
46581 * nss/makedb.c (compute_tables): Check result of multiple hash table
46582 sizes to minimize maximum chain length.
46583
2666d441
UD
465842011-06-14 Ulrich Drepper <drepper@gmail.com>
46585
46586 * Versions.def: Add entry for libnss_db.
46587 * shlib-versions: Likewise.
46588 * nss/Makefile: Add rules to build libnss_db.
46589 * nss/Versions: Add libnss_db information. Organize libnss_files
46590 entries better.
46591 * nss/db-Makefile: Add gshadow support. Change rules for the new
46592 makedb progra. Some minor improvements to generate smaller files.
46593 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46594 here from...
46595 * nss/makedb.c: ...here.
46596 Improve database format to be smaller and require less memory at
46597 runtime.
46598 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46599 db anymore.
46600 * nss/nss_db/db-netgrp.c: Likewise.
46601 * nss/nss_db/db-open.c: Likewise.
46602 * nss/nss_files/flies-XXX.x: Adjust comments.
46603 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46604 * nss/nss_files/files-grp.c: Likewise.
46605 * nss/nss_files/files-hosts.c: Likewise.
46606 * nss/nss_files/files-network.c: Likewise.
46607 * nss/nss_files/files-proto.c: Likewise.
46608 * nss/nss_files/files-pwd.c: Likewise.
46609 * nss/nss_files/files-rpc.c: Likewise.
46610 * nss/nss_files/files-service.c: Likewise.
46611 * nss/nss_files/files-sgrp.c: Likewise.
46612 * nss/nss_files/files-spwd.c: Likewise.
46613 * nss/nss_db/db-alias.c: Removed.
46614 * nss/nss_db/dummy-db.h: Removed.
46615
9ee76b5a
UD
466162011-06-02 Ulrich Drepper <drepper@gmail.com>
46617
46618 * nss/makedb.c: Rewritten to not use database library.
46619 * nss/Makefile: Update to build new makedb program.
46620
c71ca1f8
AJ
466212011-06-14 Andreas Jaeger <aj@suse.de>
46622
46623 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46624 memset declaration.
46625
3154bfb8
UD
466262011-06-10 Andreas Schwab <schwab@redhat.com>
46627
46628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46629 tmpbuf.
46630
b350afab
RM
466312011-06-10 Roland McGrath <roland@hack.frob.com>
46632
decd4e50
RM
46633 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46634 * elf/Makefile ($(objpfx)ld.so): Likewise.
46635
5615eaf2
RM
46636 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46637 Don't list ld.so twice in dependencies.
46638
46639 * posix/bug-regex31.c: Include <stdlib.h>.
46640
46641 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46642
46643 * nis/nss_compat/compat-spwd.c
46644 (getspent_next_nss_netgr): Remove unused variable.
46645 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46646
46647 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46648 nonmembers" output to use the right array.
46649
46650 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46651
46652 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46653
46654 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46655 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46656 * catgets/gencat.c (read_input_file): Likewise.
46657 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46658
46659 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46660 variable definition inside #if's controlling its use.
46661
46662 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46663
46664 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46665
46666 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46667
46668 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46669 unreachable code.
46670
46671 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46672
b68e08db
RM
46673 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46674 * configure: Regenerated.
46675
b350afab
RM
46676 * Makerules: Revert last change.
46677 * elf/Makefile: Likewise.
46678
28368601
RM
466792011-06-09 Roland McGrath <roland@hack.frob.com>
46680
46681 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46682 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46683 (reloc-link): Likewise.
46684
11988f8f
UD
466852011-06-09 Ulrich Drepper <drepper@gmail.com>
46686
46687 * elf/Makefile: Add rules to build pldd.
46688 * elf/pldd.c: New file.
46689 * elf/pldd-xx.c: New file.
46690
e80fab37
UD
466912011-06-07 Ulrich Drepper <drepper@gmail.com>
46692
46693 * version.h: Update for 2.15 development version.
46694
9b849836
DM
466952011-06-07 David S. Miller <davem@davemloft.net>
46696
46697 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46698 ifuncs.
46699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46700 elf_machine_lazy_rel): Likewise.
46701 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46703 elf_machine_lazy_rel): Likewise.
46704 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46705 dl_hwcap via passed in argument.
46706 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46707 Likewise.
46708
5a31b283
AK
467092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46710
46711 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46712
069e52f8
RM
467132011-06-06 Roland McGrath <roland@hack.frob.com>
46714
46715 [BZ #12849]
46716 * manual/fdl-1.1.texi: New file, verbatim from:
46717 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46718 * manual/lgpl-2.1.texi: New file, verbatim from:
46719 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46720 * manual/Makefile (licenses): New variable, list those new file names.
46721 (texis): Use it.
46722 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46723
46724 * manual/fdl.texi: File removed.
46725 * manual/lesser.texi: File removed.
46726 * manual/libc.texinfo (Copying, Documentation License):
46727 Use new @include file names, put @appendix directive before @include.
46728
f16846a5
JJ
467292011-06-04 Jakub Jelinek <jakub@redhat.com>
46730
46731 [BZ #12841]
46732 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46733 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46734 (mq_open): Add __NTH.
46735
3d29045b
L
467362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46737
46738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46739 Assume Intel Core i3/i5/i7 processor if AVX is available.
46740
8c297311
UD
467412011-05-31 Ulrich Drepper <drepper@gmail.com>
46742
46743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46744 typo.
46745
c8fc0c91
UD
467462011-05-31 Andreas Schwab <schwab@redhat.com>
46747
46748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46749 memory. Use alloca_account. Fix memory leak when retrying.
46750
5b27a807
UD
467512011-05-31 Ulrich Drepper <drepper@gmail.com>
46752
356f8bc6
UD
46753 * version.h (RELEASE): Bump for 2.14 release.
46754 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46755
5b27a807
UD
46756 * config.make.in (RANLIB): Remove entry.
46757
01f16ab0
UD
467582011-05-30 Ulrich Drepper <drepper@gmail.com>
46759
41fce8bd
UD
46760 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46761 (libc.pot): Work around missing support for .ksh extension in xgettext.
46762
4769ae77
UD
46763 [BZ #12684]
46764 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46765 if both request failed.
46766 (send_dg): In case of server errors clear resplen or *resplen2.
46767
6b1e7d19
UD
46768 [BZ #12454]
46769 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46770 when there are multiple maps.
46771 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46772 (_dl_fini): Remove test here.
46773
01f16ab0
UD
46774 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46775
b1ebd700
UD
467762011-05-29 Ulrich Drepper <drepper@gmail.com>
46777
7ae22829
UD
46778 [BZ #12350]
46779 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46780 bit from old_res_options.
46781 (gaih_inet): Likewise.
46782
553149f6 46783 [BZ #11099]
18a84741 46784 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46785 as signed.
46786
652ffab1
UD
46787 * resolv/res_init.c (res_setoptions): Make the code more compact.
46788
16985fd0
UD
46789 [BZ #11558]
46790 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46791 set RES_USEVC.
46792
0464f746
UD
46793 [BZ #11634]
46794 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46795
7d17596c
UD
46796 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46797
cf6bbbd7
UD
46798 [BZ #11781]
46799 * malloc/malloc.h: Declare malloc hook variables as volatile.
46800
13f1ab36
UD
46801 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46802 in last patch.
46803
b1ebd700
UD
46804 [BZ #11799]
46805 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46806 raise in the comment.
80e2212d
UD
46807 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46810
ce67228d
UD
468112011-05-28 Ulrich Drepper <drepper@gmail.com>
46812
8887a920
UD
46813 [BZ #12811]
46814 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46815 grow the buffers more if it already has to be sufficient.
46816 (build_wcs_upper_buffer): Likewise.
46817 * posix/regexec.c (check_matching): Likewise.
46818 (clean_state_log_if_needed): Likewise.
46819 (extend_buffers): Don't enlarge buffers beyond size of the input
46820 buffer.
46821 Patches mostly by Emil Wojak <emil@wojak.eu>.
46822 * posix/bug-regex32.c: New file.
46823 * posix/Makefile (tests): Add bug-regex32.
46824
4f031072
UD
46825 * locale/findlocale.c (_nl_find_locale): Return right away if
46826 _nl_explode_name failed.
46827 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46828
d0478f0c
UD
46829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46830
de81b246
UD
46831 * debug/xtrace.sh: Unify messages.
46832 * malloc/memusage.sh: Likewise.
46833
c738465a
UD
46834 [BZ #12813]
46835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46836 time symbol from vDSO. Substitute with vsyscall if not available.
46837 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46838 __vdso_time.
46839
f1f929d7
UD
46840 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46841 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46842 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46843 Add sendmmsg and internal_sendmmsg.
46844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46845 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46847
ce67228d
UD
46848 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46849 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46851
e57420c6
UD
468522011-05-27 Ulrich Drepper <drepper@gmail.com>
46853
a8509ca5
UD
46854 [BZ #12813]
46855 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46856 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46857 available.
46858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46859 __vdso_getcpu.
46860
e57420c6
UD
46861 [BZ #12814]
46862 * iconvdata/Makefile (tests): Add bug-iconv9.
46863 * iconvdata/bug-iconv9.c: New file.
46864
4d07db15
AS
468652011-05-27 Andreas Schwab <schwab@redhat.com>
46866
46867 [BZ #12814]
46868 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46869
ea486f69
JJ
468702011-05-25 Jakub Jelinek <jakub@redhat.com>
46871
46872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46873 (struct user_regs_struct): Change intcs field back to cs.
46874
6f038433
UD
468752011-05-25 Ulrich Drepper <drepper@gmail.com>
46876
46877 * po/ja.po: Update from translation team.
46878
67f86a25
UD
468792011-05-23 Ulrich Drepper <drepper@gmail.com>
46880
46881 [BZ #12795]
46882 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46883 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46884
def7fbd6
AS
468852011-05-20 Andreas Schwab <schwab@redhat.com>
46886
46887 * stdlib/longlong.h: Update from GCC.
46888
f50ef8f1
AS
468892011-05-23 Andreas Schwab <schwab@redhat.com>
46890
46891 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46892 parameter name.
46893 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46894 Add parameter name.
46895 (__sysconf): Pass it down.
46896
de7ce8f1
UD
468972011-05-22 Ulrich Drepper <drepper@gmail.com>
46898
f2962a71
UD
46899 [BZ #12671]
46900 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46901 some situations.
46902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46903 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46904 add in in __libc_use_alloca calls. Adjust callers.
46905 (glob): Use malloc in some situations.
46906
de7ce8f1
UD
46907 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46908 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46909 pltexit.
46910
aec84f53
UD
469112011-05-21 Ulrich Drepper <drepper@gmail.com>
46912
05bb4a68
UD
46913 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46914 and CLOCK_BOOTTIME_ALARM.
46915
7ea72f99
UD
46916 [BZ #12782]
46917 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46918 is returned.
46919
7e4afad5
UD
46920 * string/_strerror.c (__strerror_r): Print negative errors as signed
46921 numbers.
46922
8e211fec
UD
46923 [BZ #12777]
46924 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46925 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46926 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46927
f7d82dc9
UD
46928 * configure.in: Fix typo in redirection and correct removal of test
46929 files in two cases.
46930
cc9e536d
UD
46931 [BZ #12788]
46932 * locale/setlocale.c (new_composite_name): Fix test to check for
46933 identical name of all categories.
46934
aec84f53
UD
46935 [BZ #12792]
46936 * libio/filedoalloc.c (local_isatty): New function.
46937 (_IO_file_doallocate): Use local_isatty.
46938 * stdio-common/perror.c (perror): In case a new stream is used
46939 forward the stream error.
46940 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46941 error flag.
46942
78e64fdc
RT
469432011-05-20 Ulrich Drepper <drepper@gmail.com>
46944
34a9094f
UD
46945 [BZ #11869]
46946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46947 alloca.
46948 * include/alloca.h (extend_alloca_account): Define.
46949
78e64fdc
RT
46950 [BZ #11857]
46951 * posix/regex.h: Fix comments with documentation of user-accessible
46952 fields after compilation and describe correct free'ing of pattern
46953 after re_compile_pattern.
46954 Patch by Reuben Thomas <rrt@sc3d.org>.
46955
457bddfc
RA
469562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46957
46958 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46959 and -mno-altivec to prevent the compiler from using Altivec and/or
46960 VSX instructions when the corresponding registers are not available.
46961
a4527b51
AS
469622011-05-19 Andreas Schwab <schwab@redhat.com>
46963
46964 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46965
ed690b2f
UD
469662011-05-19 Ulrich Drepper <drepper@gmail.com>
46967
46968 * libio/freopen.c (freopen): Use __dup2, not dup2.
46969 * libio/freopen64.c (freopen64): Likewise.
46970
8db73634
L
469712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46972
46973 [BZ #12775]
46974 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46975 * math/Makefile (tests): Add test-powl.
46976 (CFLAGS-test-powl.c): Define.
46977 * math/test-powl.c: New file.
46978
0a197a9d
L
469792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46980
46981 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46982
ee30c380
UD
469832011-05-17 Ulrich Drepper <drepper@gmail.com>
46984
46985 [BZ #11837]
46986 * iconvdata/gb18030.c: Update to GB18020-2005.
46987
6ce75379
UD
469882011-05-16 Ulrich Drepper <drepper@gmail.com>
46989
a4b89fd8
AR
46990 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46991 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46992 Patch by Aharon Robbins <arnold@skeeve.com>.
46993
ea389b12
UD
46994 [BZ #11892]
46995 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46996 on the stack.
46997
68a3f91f
UD
46998 [BZ #11895]
46999 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47000 through underflows.
47001
15cc7dd1
UD
47002 [BZ #12766]
47003 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47004 point to strings before performing equality test for error_one_per_line
47005 mode.
47006
f3799213
UD
47007 [BZ #11697]
47008 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47009
d79a9c94
UD
47010 [BZ #11820]
47011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47012 (struct user_fpregs_struct): Avoid __uint*_t types.
47013
56e5eb46
UD
47014 [BZ #6420]
47015 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47016 symbol info. Use it instead of calling _dl_addr locally.
47017 (lock_and_info): New function.
47018 (tr_freehook): Call lock_and_info and pass symbol info as additional
47019 parameter to tr_where.
47020 (tr_mallochook): Likewise.
47021 (tr_reallochook): Likewise.
47022 (tr_memalignhook): Likewise.
47023
6ce75379
UD
47024 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47025 used and couldn't be at all thread-safe.
47026
f8a3b5bf
UD
470272011-05-15 Ulrich Drepper <drepper@gmail.com>
47028
94b7cc37
UD
47029 * libio/freopen.c (freopen): Don't close old file descriptor
47030 before the new one is opened. Instead dup the new file descriptor
47031 to the old one after the new stream is created.
47032 * libio/freopen64.c (freopen64): Likewise.
47033 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47034 * libio/fileops.c (_IO_new_file_close_it): Handle new
47035 _IO_FLAGS2_NOCLOSE flag.
47036 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47037 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47038 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47039 _IO_FLAGS2_NOCLOSE flag.
47040 * include/unistd.h: Add hidden_proto for dup3.
47041 Define __have_dup3.
47042 * io/dup3.c: Define hidden symbol.
47043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47044
bd25564e
UD
47045 [BZ #7101]
47046 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47047 when an incomplete long option is used.
47048 * posix/tst-getopt_long1.c: New file.
47049 * posix/Makefile (tests): Add tst-getopt_long1.
47050
c84cfef4
UD
47051 [BZ #10138]
47052 * scripts/config.guess: Update from autoconf-2.68.
47053 * scripts/config.sub: Likewise.
47054
3b85df27
UD
47055 [BZ #10157]
47056 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47057 tests into ...
47058 (has_cpuclock): ...this. New function.
47059 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47060 macro here based on has_cpuclock code.
47061
15a856b1
UD
47062 [BZ #10149]
47063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47064 First byte (not low byte) is now always NUL.
47065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47066
05f399e6
UD
47067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47068 Use non-cancelable interfaces.
47069
10a52685 47070 [BZ #9809]
94ecc67d
UD
47071 * locale/iso-639.def: Add entry for Sorani.
47072
f8a3b5bf
UD
47073 [BZ #11901]
47074 * include/stdlib.h: Move include protection to the right place.
47075 Define abort_msg_s. Declare __abort_msg with it.
47076 * stdlib/abort.c (__abort_msg): Adjust type.
47077 * assert/assert.c (__assert_fail_base): New function. Majority
47078 of code from __assert_fail. Allocate memory for __abort_msg with
47079 mmap.
47080 (__assert_fail): Now call __assert_fail_base.
47081 * assert/assert-perr.c: Remove bulk of implementation. Use
47082 __assert_fail_base.
47083 * include/assert.hL Declare __assert_fail_base.
47084 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47085 mmap.
47086 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47087
1af4e298
UD
470882011-05-14 Ulrich Drepper <drepper@gmail.com>
47089
f8a3b5bf 47090 [BZ #11952]
d26dfc60
MG
47091 [BZ #12453]
47092 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47093 until all modules are registered in the DTV.
47094 * elf/Makefile: Add rules to build and run tst-tls19.
47095 * elf/tst-tls19.c: New file.
47096 * elf/tst-tls19mod1.c: New file.
47097 * elf/tst-tls19mod2.c: New file.
47098 * elf/tst-tls19mod3.c: New file.
47099 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47100
2fc54d6f
UD
47101 [BZ #12083]
47102 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47103 correctly.
47104
98d76b46
UD
47105 [BZ #12601]
47106 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47107 two-byte sequence errors.
47108 * iconvdata/Makefile (tests): Add bug-iconv8.
47109 * iconvdata/bug-iconv8.c: New file.
47110
da3c19ef
UD
47111 [BZ #12626]
47112 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47113 buf2 definition.
47114
ca408c15
UD
47115 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47116
d6f67f7d
UD
47117 [BZ #12432]
47118 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47119 (dummy_getcfa): New function.
47120 (init): Get _Unwind_GetCFA address, use dummy if not found.
47121 (backtrace_helper): In recursion check, also check whether CFA changes.
47122 (__backtrace): Completely initialize arg.
47123
1af4e298 47124 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47125 storing incomplete byte sequence in state object. Avoid testing for
47126 guaranteed too small input if we know there is enough data available.
1af4e298 47127
da62f81b
AS
471282011-05-11 Andreas Schwab <schwab@redhat.com>
47129
47130 * Makeconfig (+link-pie): Indent.
47131 * Rules (binaries-pie): Define if $(have-fpie) and
47132 $(build-shared).
47133 (binaries-shared): Also filter out $(binaries-pie).
47134 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47135 * nscd/Makefile (others-pie): Add nscd.
47136 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47137 ($(objpfx)nscd): Remove command override.
47138 * login/Makefile (others-pie): Add pt_chown.
47139 ($(objpfx)pt_chown): Remove command override.
47140 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47141 remove command overrides.
47142
fcabc0f8
UD
471432011-05-13 Ulrich Drepper <drepper@gmail.com>
47144
20030ae6
UD
47145 * libio/tst_putwc.c: Fix error messages.
47146
fcabc0f8
UD
47147 [BZ #12724]
47148 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47149 currently writing and seek to current position when not.
47150 * libio/Makefile (tests): Add bug-fclose1.
47151 * libio/bug-fclose1.c: New file.
47152
320a5dc0
PB
471532011-05-12 Ulrich Drepper <drepper@gmail.com>
47154
47155 [BZ #12511]
47156 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47157 don't set DF_1_NODELETE here.
47158 (do_lookup_x): When entering new entry test for copy relocation
47159 and if necessary set DF_1_NODELETE flag.
47160 * elf/tst-unique4.cc: New file.
47161 * elf/tst-unique4.h: New file.
47162 * elf/tst-unique4lib.cc: New file.
47163 * elf/Makefile: Add rules to build and run tst-unique4.
47164 Patch by Piotr Bury <pbury@goahead.com>.
47165
22836f52
UD
471662011-05-11 Ulrich Drepper <drepper@gmail.com>
47167
f574184a
UD
47168 [BZ #12052]
47169 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47170
e1fb097f
UD
47171 [BZ #12625]
47172 * misc/mntent_r.c (addmntent): Flush the stream after the output
47173
22836f52
UD
47174 [BZ #12393]
47175 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47176 (is_trusted_path_normalize): Skip initial colon. Append slash
47177 to empty buffer. Duplicate is_trusted_path code but allow
47178 constructed patch to be prefix.
47179 (is_dst): Allow $ORIGIN followed by /.
47180 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47181 Correct testing of result of is_trusted_path_normalize
47182 (decompose_rpath): Fix warning.
47183
7b3b0b2a
UD
471842011-05-10 Ulrich Drepper <drepper@gmail.com>
47185
47186 [BZ #11257]
47187 * grp/initgroups.c (internal_getgrouplist): When we found the service
47188 list through the initgroups entry in nsswitch.conf do not always
47189 continue on a successful lookup. Don't always use the
eac80ce2 47190 __nss_group_database value if it is set.
7b3b0b2a
UD
47191 * nss/nsswitch.conf (initgroups): Change action for successful db
47192 lookup to continue for compatibility.
47193
2a81eaa5
UD
471942011-05-09 Ulrich Drepper <drepper@gmail.com>
47195
be97a69e
UD
47196 [BZ #11532]
47197 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47198 and CP774 modules.
47199 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47200 and CP774 modules.
47201 * iconvdata/tst-tables.sh: Likewise.
47202 * iconvdata/cp770.c: New file.
47203 * iconvdata/cp771.c: New file.
47204 * iconvdata/cp772.c: New file.
47205 * iconvdata/cp773.c: New file.
47206 * iconvdata/cp774.c: New file.
47207 * iconvdata/testdata/CP770: New file.
47208 * iconvdata/testdata/CP770..UTF8: New file.
47209 * iconvdata/testdata/CP771: New file.
47210 * iconvdata/testdata/CP771..UTF8: New file.
47211 * iconvdata/testdata/CP772: New file.
47212 * iconvdata/testdata/CP772..UTF8: New file.
47213 * iconvdata/testdata/CP773: New file.
47214 * iconvdata/testdata/CP773..UTF8: New file.
47215 * iconvdata/testdata/CP774: New file.
47216 * iconvdata/testdata/CP774..UTF8: New file.
47217
47218 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47219 END CHARMAP line.
47220 * iconvdata/gen-8bit-gap.sh: Likewise.
47221 * iconvdata/gen-8bit.sh: Likewise.
47222
c1e9e399
UD
47223 * locale/iso-639.def: Add ary entry.
47224
24c55fb3 47225 [BZ #11258]
96b4b1b0
UD
47226 * locale/C-translit.h.in: Add U20A1 transliteration.
47227
bdc2f971
KB
47228 [BZ #12178]
47229 * locale/iso-639.def: Add wae entry.
47230 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47231
2952b117
UD
47232 [BZ #12545]
47233 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47234 for n.
47235
2a81eaa5
UD
47236 [BZ #12711]
47237 * locale/C-translit.h.in: Add entry for U20B9.
47238 Patch by pravin.d.s@gmail.com.
47239
28377d1b
UD
472402011-05-08 Ulrich Drepper <drepper@gmail.com>
47241
7fb90fb8
UD
47242 [BZ #12713]
47243 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47244 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47245 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47246 in rtld. Use *stat64.
7fb90fb8 47247 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47248 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47249 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47250 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47251 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47252 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47253 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47254 __fstatat64 macros.
7fb90fb8
UD
47255 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47256 * dirent/rewinddir.c: Add libc_hidden_def.
47257 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47258 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47259
28377d1b
UD
47260 * include/dirent.h (__alloc_dir): Add flags parameter.
47261 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47262 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47263 __alloc_dir.
47264 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47265 from fdopendir if O_CLOEXEC is already set.
47266
66bdbaa4
AM
472672011-03-15 Alan Modra <amodra@gmail.com>
47268
47269 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47270 l_tls_firstbyte_offset non-zero. Save padding offset in
47271 l_tls_firstbyte_offset for later use.
47272 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47273 freeing static tls block.
47274
95721191
JN
472752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47276
47277 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47278 where #ifdef was intended. The intent is to prevent ARG_MAX from
47279 being defined by the kernel headers.
47280
f87dfb1f
UD
472812011-05-07 Ulrich Drepper <drepper@gmail.com>
47282
47283 [BZ #12734]
47284 * resolv/resolv.h: Define RES_NOTLDQUERY.
47285 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47286 no-tld-query and set RES_NOTLDQUERY.
47287 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47288 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47289 modern BIND to search name as TLD unless forbidden.
47290
47c3cd7a
UD
472912011-05-07 Petr Baudis <pasky@suse.cz>
47292 Ulrich Drepper <drepper@gmail.com>
47293
47294 [BZ #12393]
47295 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47296 (is_trusted_path): ...to here.
c1e9ea35 47297 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47298 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47299 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47300
8a35c912
PP
473012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47302
47303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47304 __BEGIN/__END_DECLS.
47305
acd41f47
UD
473062011-05-06 Ulrich Drepper <drepper@gmail.com>
47307
47308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47309 NSS_STATUS_NOTFOUND if no record was found.
47310
597df647
AS
473112011-05-05 Andreas Schwab <schwab@redhat.com>
47312
47313 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47314 (headers-not-in-tirpc): Remove rpc/netdb.h
47315 * resolv/netdb.h: Revert last change.
47316
b9af1301
PP
473172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47318
47319 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47320 circular dependency between libgcc.a and libc.a.
47321
4e34d5f5
AS
473222011-05-05 Andreas Schwab <schwab@redhat.com>
47323
47324 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47325 * nis/Makefile: Don't install rpcsvc/*.
47326 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47327 instead of <rpc/types.h>.
47328 (MAXHOSTNAMELEN): Define.
47329
00ee369c
AS
473302011-05-03 Andreas Schwab <schwab@redhat.com>
47331
47332 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47333
0b592a30
MB
473342011-04-28 Maciej Babinski <mbabinski@google.com>
47335
47336 [BZ #12714]
47337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47338 gethostbyname4_r when IPv6 results are possible.
47339
6e04cbbe
UD
473402011-05-02 Ulrich Drepper <drepper@gmail.com>
47341
47342 [BZ #12723]
47343 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47344 _PC_PIPE_BUF handling.
47345
e4ecafe0
BH
473462011-04-30 Bruno Haible <bruno@clisp.org>
47347
47348 [BZ #12717]
47349 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47350 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47351 to 'int'.
47352 * inet/getnameinfo.c (getnameinfo): Likewise.
47353
125ee683
UD
473542011-04-29 Ulrich Drepper <drepper@gmail.com>
47355
47356 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47357 to groups setting in database lookup.
47358 * nss/nsswitch.conf: Add initgroups entry.
47359
b722481a
EB
473602011-04-22 Ulrich Drepper <drepper@gmail.com>
47361
47362 [BZ #12685]
47363 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47364 mode string.
47365 Patch by Eric Blake <eblake@redhat.com>.
47366
4df46dbd
L
473672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47368
47369 * sunrpc/Makefile (need-export-routines): Add svc_run.
47370 (routines): Remove svc_run.
47371 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47372 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47373 * sunrpc/svc_run.c (svc_run): Likewise.
47374 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47375
e84142d2
UD
473762011-04-21 Ulrich Drepper <drepper@gmail.com>
47377
47378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47379 problem in reallocation in last patch.
47380
877175d8
UD
473812011-04-20 Ulrich Drepper <drepper@gmail.com>
47382
47383 * sunrpc/Makefile: Move inclusion of Rules.
47384
ab8eed78
UD
473852011-04-19 Ulrich Drepper <drepper@gmail.com>
47386
47387 * nss/nss_files/files-initgroups.c: New file.
47388 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47389 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47390 _nss_files_initgroups_dyn.
47391
e3d8f584
RS
473922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47393
47394 * elf/elf.h (R_ARM_IRELATIVE): Define.
47395
af190f45
UD
473962011-04-19 Ulrich Drepper <drepper@gmail.com>
47397
47398 * po/ru.po: Update from translation team.
47399
53cf59ef
UD
474002011-04-17 Ulrich Drepper <drepper@gmail.com>
47401
47402 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47403 dependencies.
47404
4c559bcd
MF
474052011-02-06 Mike Frysinger <vapier@gentoo.org>
47406
47407 [BZ #12653]
47408 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47409 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47413
4420675c
AS
474142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47415
47416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47417 differing bytes.
47418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47421
75ea32ab
UD
474222011-04-17 Ulrich Drepper <drepper@gmail.com>
47423
47424 [BZ #12420]
47425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47426 storing it.
47427 * stdlib/bug-getcontext.c: New file.
47428 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47429
27390476
AK
474302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47431
47432 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47433 instructions into .machine "z9-109".
47434 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47435 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47436
10442705
AK
474372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47438
47439 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47440 between environment variables and auxiliary vector.
47441
7b57bfe5
UD
474422011-04-16 Ulrich Drepper <drepper@gmail.com>
47443
47444 * Makefile: Add rules to build linkobj/libc.so.
47445 * include/libc-symbols.h: Define libc_hidden_nolink.
47446 * include/rpc/auth.h: Mark functions which are to be hidden.
47447 * include/rpc/auth_des.h: Likewise.
47448 * include/rpc/auth_unix.h: Likewise.
47449 * include/rpc/clnt.h: Likewise.
47450 * include/rpc/des_crypt.h: Likewise.
47451 * include/rpc/key_prot.h: Likewise.
47452 * include/rpc/pmap_clnt.h: Likewise.
47453 * include/rpc/pmap_prot.h: Likewise.
47454 * include/rpc/pmap_rmt.h: Likewise.
47455 * include/rpc/rpc_msg.h: Likewise.
47456 * include/rpc/svc.h: Likewise.
47457 * include/rpc/svc_auth.h: Likewise.
47458 * include/rpc/xdr.h: Likewise.
47459 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47460 * nss/Makefile: Likewise.
47461 * sunrpc/Makefile: Don't install headers. Build library with normal
47462 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47463 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47464 for the compat linking library. Remove use of INTDEF/INTUSE.
47465 * sunrpc/auth_none.c: Likewise.
47466 * sunrpc/auth_unix.c: Likewise.
47467 * sunrpc/authdes_prot.c: Likewise.
47468 * sunrpc/authuxprot.c: Likewise.
47469 * sunrpc/clnt_gen.c: Likewise.
47470 * sunrpc/clnt_perr.c: Likewise.
47471 * sunrpc/clnt_raw.c: Likewise.
47472 * sunrpc/clnt_simp.c: Likewise.
47473 * sunrpc/clnt_tcp.c: Likewise.
47474 * sunrpc/clnt_udp.c: Likewise.
47475 * sunrpc/clnt_unix.c: Likewise.
47476 * sunrpc/des_crypt.c: Likewise.
47477 * sunrpc/des_soft.c: Likewise.
47478 * sunrpc/get_myaddr.c: Likewise.
47479 * sunrpc/key_call.c: Likewise.
47480 * sunrpc/key_prot.c: Likewise.
47481 * sunrpc/netname.c: Likewise.
47482 * sunrpc/pm_getmaps.c: Likewise.
47483 * sunrpc/pm_getport.c: Likewise.
47484 * sunrpc/pmap_clnt.c: Likewise.
47485 * sunrpc/pmap_prot.c: Likewise.
47486 * sunrpc/pmap_prot2.c: Likewise.
47487 * sunrpc/pmap_rmt.c: Likewise.
47488 * sunrpc/publickey.c: Likewise.
47489 * sunrpc/rpc_cmsg.c: Likewise.
47490 * sunrpc/rpc_common.c: Likewise.
47491 * sunrpc/rpc_dtable.c: Likewise.
47492 * sunrpc/rpc_prot.c: Likewise.
47493 * sunrpc/rpc_thread.c: Likewise.
47494 * sunrpc/rtime.c: Likewise.
47495 * sunrpc/svc.c: Likewise.
47496 * sunrpc/svc_auth.c: Likewise.
47497 * sunrpc/svc_authux.c: Likewise.
47498 * sunrpc/svc_raw.c: Likewise.
47499 * sunrpc/svc_run.c: Likewise.
47500 * sunrpc/svc_simple.c: Likewise.
47501 * sunrpc/svc_tcp.c: Likewise.
47502 * sunrpc/svc_udp.c: Likewise.
47503 * sunrpc/svc_unix.c: Likewise.
47504 * sunrpc/svcauth_des.c: Likewise.
47505 * sunrpc/xcrypt.c: Likewise.
47506 * sunrpc/xdr.c: Likewise.
47507 * sunrpc/xdr_array.c: Likewise.
47508 * sunrpc/xdr_float.c: Likewise.
47509 * sunrpc/xdr_intXX_t.c: Likewise.
47510 * sunrpc/xdr_mem.c: Likewise.
47511 * sunrpc/xdr_rec.c: Likewise.
47512 * sunrpc/xdr_ref.c: Likewise.
47513 * sunrpc/xdr_sizeof.c: Likewise.
47514 * sunrpc/xdr_stdio.c: Likewise.
47515
e6c61494
UD
475162011-04-10 Ulrich Drepper <drepper@gmail.com>
47517
47518 [BZ #12650]
47519 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47520 * sysdeps/ia64/dl-tls.h: Likewise.
47521 * sysdeps/powerpc/dl-tls.h: Likewise.
47522 * sysdeps/s390/dl-tls.h: Likewise.
47523 * sysdeps/sh/dl-tls.h: Likewise.
47524 * sysdeps/sparc/dl-tls.h: Likewise.
47525 * sysdeps/x86_64/dl-tls.h: Likewise.
47526 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47527
34fe483e
AS
475282011-03-14 Andreas Schwab <schwab@redhat.com>
47529
47530 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47531 rpath element also skip the following colon.
47532 (expand_dynamic_string_token): Add is_path parameter and pass
47533 down to DL_DST_REQUIRED and _dl_dst_substitute.
47534 (decompose_rpath): Call expand_dynamic_string_token with
47535 non-zero is_path. Ignore empty rpaths.
47536 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47537 with zero is_path.
47538
f12a32e6
AS
475392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47540
47541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47542 Make cancelable.
47543
38a7d692
UD
475442011-04-09 Ulrich Drepper <drepper@gmail.com>
47545
47546 [BZ #12655]
47547 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47548 Patch by Filipe David Manana <fdmanana@apache.org>.
47549
e451d22b
AS
475502011-04-07 Andreas Schwab <schwab@redhat.com>
47551
47552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47553 Maintain aligned stack.
47554 (CHECK_RSP): Remove unused macro.
47555
dedc7c7b
UD
475562011-04-03 Ulrich Drepper <drepper@gmail.com>
47557
47558 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47560
94521213
UD
475612011-04-02 Ulrich Drepper <drepper@gmail.com>
47562
47563 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47564
8cb700c0 47565 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47566
0354e355
L
475672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47568
47569 [BZ #12518]
47570 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47571 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47572 * sysdeps/x86_64/memmove.c: New file.
47573 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47574 (memcpy): Renamed to ...
47575 (__new_memcpy): This.
47576 (memcpy): Provide GLIBC_2_14 memcpy.
47577 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47578 (memcpy): Provide GLIBC_2_2_5 memcpy.
47579
8593482f
UD
475802011-04-01 Ulrich Drepper <drepper@gmail.com>
47581
47582 [BZ #12631]
47583 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47584
81a5726b
AS
475852011-03-30 Andreas Schwab <schwab@redhat.com>
47586
47587 * misc/syncfs.c: New file.
47588 * misc/Makefile (routines): Add syncfs.
47589 * posix/unistd.h: Declare syncfs.
47590 * sysdeps/unix/syscalls.list: Add syncfs.
47591
00e5419f
AS
475922011-04-01 Andreas Schwab <schwab@redhat.com>
47593
47594 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47595 open_by_handle_at.
47596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47601 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47603
748876bf
UD
476042011-04-01 Ulrich Drepper <drepper@gmail.com>
47605
658e451d
UD
47606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47608 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47613
748876bf
UD
47614 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47615 sync_file_range.c with -fexceptions.
47616 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47617 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47618 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47619 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47620 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47621 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47623 sync_file_range as cancellation point
47624 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47625 now a wrapper around __call_sync_file_range with cancellation handling.
47626 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47627 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47628 function name to __call_sync_file_range.
47629 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47630 Add call_sync_file_range.
748876bf 47631
6e63d5e1
AS
476322011-04-01 Andreas Schwab <schwab@redhat.com>
47633
47634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47635 bits/timex.h.
6e63d5e1 47636
46998f74
UD
476372011-04-01 Ulrich Drepper <drepper@gmail.com>
47638
4c1423ed
UD
47639 * iconv/iconv.h: Fix typo in comment.
47640 * io/fcntl.h: Likewise.
47641 * libio/stdio.h: Likewise.
47642 * posix/spawn.h: Likewise.
47643 * posix/unistd.h: Likewise.
47644 * stdlib/stdlib.h: Likewise.
47645 * time/time.h: Likewise.
47646 * wcsmbs/wchar.h: Likewise.
47647
158648c0
UD
47648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47649 open_by_handle): Add.
47650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47651 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47652 Augment a few comments.
47653 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47658 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47659 open_by_handle.
47660
46998f74
UD
47661 * io/fcntl.h (AT_EMPTY_PATH): Define.
47662
83fe108b
UD
476632011-03-30 Ulrich Drepper <drepper@gmail.com>
47664
47665 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47666 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47667 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47668 to...
47669 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47670 * Versions.def: Add GLIBC_2.14.
47671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47672 Export.
83fe108b 47673
bb242059
UD
476742011-03-22 Ulrich Drepper <drepper@gmail.com>
47675
47676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47677 round counter.
47678 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47679
c97a1282
L
476802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47681
47682 [BZ #12597]
47683 * string/test-strncmp.c (do_page_test): New function.
47684 (check2): Likewise.
47685 (test_main): Call check2.
47686 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47687
2a115601
UD
476882011-03-20 Ulrich Drepper <drepper@gmail.com>
47689
47690 [BZ #12587]
47691 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47692 Handle cache information in CPU leaf 4.
47693 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47694
8126d904
UD
476952011-03-18 Ulrich Drepper <drepper@gmail.com>
47696
042c49c6 47697 [BZ #12583]
8126d904
UD
47698 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47699 character representation.
47700 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47701
ccfe366e
RA
477022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47703
47704 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47705 END(__isnan) to END(__isnanf) to match function entry point/label
47706 EALIGN(__isnanf,...).
47707
c6e13027
JJ
477082011-03-10 Jakub Jelinek <jakub@redhat.com>
47709
47710 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47711
33f85a3f
UD
477122011-03-10 Ulrich Drepper <drepper@gmail.com>
47713
028478fa
UD
47714 [BZ #12510]
47715 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47716 copy from the symbol referenced in the relocation to initialize the
47717 used variable.
47718 Patch by Piotr Bury <pbury@goahead.com>.
47719 * elf/Makefile: Add rules to build and tst-unique3.
47720 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47721 * elf/tst-unique3.cc: New file.
47722 * elf/tst-unique3.h: New file.
47723 * elf/tst-unique3lib.cc: New file.
47724 * elf/tst-unique3lib2.cc: New file.
47725
33f85a3f
UD
47726 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47727
03592fc7
MF
477282011-03-10 Mike Frysinger <vapier@gentoo.org>
47729
47730 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47731 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47732 to _start.
03592fc7 47733
6a5ee102
UD
477342011-03-06 Ulrich Drepper <drepper@gmail.com>
47735
47736 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47737 to-be-loaded object along a path to loader is ld.so.
47738
7e4ba49c
HJ
477392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47740 Ulrich Drepper <drepper@gmail.com>
47741
47742 * sysdeps/x86_64/memset.S: After aligning destination, code
47743 branches to different locations depending on the value of
47744 misalignment, when multiarch is enabled. Fix this.
47745
477462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47747
47748 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47749 Set _x86_64_preferred_memory_instruction for AMD processsors.
47750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47751 Set bit_Prefer_SSE_for_memop for AMD processors.
47752
13a804de
UD
477532011-03-04 Ulrich Drepper <drepper@gmail.com>
47754
47755 * libio/fmemopen.c (fmemopen): Optimize a bit.
47756
9d25c392
AS
477572011-03-03 Andreas Schwab <schwab@redhat.com>
47758
47759 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47760
a5543c6a
RM
477612011-03-03 Roland McGrath <roland@redhat.com>
47762
47763 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47764
012d35f7
DM
477652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47766
7e4ba49c 47767 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47768 __bzero_ultra1 instead of __memset_ultra1.
47769
4bff6e01
AS
477702011-02-23 Andreas Schwab <schwab@redhat.com>
47771 Ulrich Drepper <drepper@gmail.com>
47772
47773 [BZ #12509]
47774 * include/link.h (struct link_map): Add l_orig_initfini.
47775 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47776 returning unsuccessfully.
47777 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47778 close of a file loaded at startup, restore the original l_initfini
47779 list.
47780 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47781 list, store the pointer.
47782 * elf/Makefile ($(objpfx)noload-mem): New rule.
47783 (noload-ENV): Define.
47784 (tests): Add $(objpfx)noload-mem.
47785 * elf/noload.c: Include <memcheck.h>.
47786 (main): Call mtrace. Close all opened handles.
47787
f2092faf
AS
477882011-02-17 Andreas Schwab <schwab@redhat.com>
47789
47790 [BZ #12454]
47791 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47792 dependencies are missing.
47793
6c8a2e88
ST
477942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47795
f2092faf 47796 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47797 Hurd needs munmap.
47798 * sysdeps/mach/hurd/ifreq.h: New file.
47799
84a42118
PB
478002011-01-27 Petr Baudis <pasky@suse.cz>
47801 Ulrich Drepper <drepper@gmail.com>
47802
071f805e 47803 [BZ 12445]#
84a42118
PB
47804 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47805 to extend_alloca().
47806 * stdio-common/bug23.c: New file.
47807 * stdio-common/Makefile (tests): Add bug23.
47808
e23fe25b
AS
478092010-09-28 Andreas Schwab <schwab@redhat.com>
47810 Ulrich Drepper <drepper@gmail.com>
47811
47812 [BZ #12489]
47813 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47814 before performing relro protection. At old place add assertion
47815 to make sure nothing changed.
47816
d3f02e10
NS
478172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47818 Glauber de Oliveira Costa <glommer@gmail.com>
47819
47820 * elf/elf.h: Add new ARM TLS relocs.
47821
d55fd7a5
RA
478222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47823
47824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47825 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47826 cast from r3.
47827 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47828 'tests' variable.
47829 * sysdeps/wordsize-64/tst-writev.c: New file.
47830
2206397e
RA
478312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47832
47833 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47834 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47835 insns in _dl_start to prevent a TOC reference before relocs are
47836 resolved.
47837
e9433893
UD
478382011-02-15 Ulrich Drepper <drepper@gmail.com>
47839
47840 [BZ #12469]
47841 * Makeconfig: Remove RANLIB definition.
47842 * Makerules: Don't use RANLIB.
47843 * aclocal.m4: Remove ranlib test.
47844 * configure.in: No need to check for ranlib.
47845 * elf/rtld-Rules: Don't use RANLIB.
47846
f75286c6
ST
478472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47848
8e31c82d
ST
47849 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47850 protection macro.
47851 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47852 inclusion protection macro.
47853
f75286c6
ST
47854 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47855 SIGRTMIN and SIGRTMAX and print information in that case only when
47856 SIGRTMIN is defined.
47857
c1d0e639
JJ
478582011-02-11 Jakub Jelinek <jakub@redhat.com>
47859
47860 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47861 arginfo fn returning -1.
47862
47863 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47864 and thousands string is zero terminated.
47865
edf9294e
AS
478662011-02-03 Andreas Schwab <schwab@redhat.com>
47867
47868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47869 sysdeps/unix/sysv/linux/bits/socket.h.
47870
2b7e92df
ST
478712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47872
edf9294e
AS
47873 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47874 (__CPU_COUNT): Remove old macros.
47875 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47876 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47877 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47878 (__sched_cpualloc, __sched_cpufree): Add declarations.
47879
a4c7ea7b
UD
478802011-02-05 Ulrich Drepper <drepper@gmail.com>
47881
47882 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47883 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47884 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47885 (readdhstai): Return value of addhstaiX call.
47886 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47887 (addgrbyX): Return value returned by cache_addgr.
47888 (readdgrbyname): Return value returned by addgrbyX.
47889 (readdgrbygid): Likewise.
47890 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47891 (addpwbyX): Return value returned by cache_addpw.
47892 (readdpwbyname): Return value returned by addhstbyX.
47893 (readdpwbyuid): Likewise.
47894 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47895 (addservbyX): Return value returned by cache_addserv.
47896 (readdservbyname): Return value returned by addservbyX:
47897 (readdservbyport): Likewise.
47898 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47899 (addhstbyX): Return value returned by cache_addhst.
47900 (readdhstbyname): Return value returned by addhstbyX.
47901 (readdhstbyaddr): Likewise.
47902 (readdhstbynamev6): Likewise.
47903 (readdhstbyaddrv6): Likewise.
47904 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47905 (readdinitgroups): Return value returned by addinitgroupsX.
47906 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47907 (prune_cache): Keep track of timeout value of re-added entries.
47908 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47909 * nscd/nscd.h: Adjust prototypes of readd* functions.
47910
a0bf67cc
RM
479112011-02-04 Roland McGrath <roland@redhat.com>
47912
47913 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47914 (nis_stats): Likewise.
47915 * nis/nis_modify.c (nis_modify): Likewise.
47916 * nis/nis_remove.c (nis_remove): Likewise.
47917 * nis/nis_add.c (nis_add): Likewise.
47918
47919 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47920
47921 * posix/fnmatch_loop.c: Add some consts.
47922
47923 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47924
435b95eb
L
479252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47926
47927 [BZ #12460]
47928 * config.make.in (config-cflags-novzeroupper): Define.
47929 * configure.in: Substitute libc_cv_cc_novzeroupper.
47930 * elf/Makefile (AVX-CFLAGS): Define.
47931 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47932 (CFLAGS-tst-auditmod4a.c): Likewise.
47933 (CFLAGS-tst-auditmod4b.c): Likewise.
47934 (CFLAGS-tst-auditmod6b.c): Likewise.
47935 (CFLAGS-tst-auditmod6c.c): Likewise.
47936 (CFLAGS-tst-auditmod7b.c): Likewise.
47937 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47938
8517b15e
UD
479392011-02-02 Ulrich Drepper <drepper@gmail.com>
47940
47941 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47942 function to the callback.
47943 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47944
10a656fe
AS
479452011-02-02 Andreas Schwab <schwab@redhat.com>
47946
47947 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47948 of errno.
47949
968dad0a
UD
479502011-01-19 Ulrich Drepper <drepper@gmail.com>
47951
9f94d2ea 47952 [BZ #11724]
968dad0a
UD
47953 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47954 of constructors.
47955 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47956 of destructors.
47957 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47958
47959 [BZ #11724]
47960 * elf/Makefile: Add rules to build and run new test.
47961 * elf/tst-initorder.c: New file.
47962 * elf/tst-initorder.exp: New file.
47963 * elf/tst-initordera1.c: New file.
47964 * elf/tst-initordera2.c: New file.
47965 * elf/tst-initordera3.c: New file.
47966 * elf/tst-initordera4.c: New file.
47967 * elf/tst-initorderb1.c: New file.
47968 * elf/tst-initorderb2.c: New file.
47969 * elf/tst-order-a1.c: New file.
47970 * elf/tst-order-a2.c: New file.
47971 * elf/tst-order-a3.c: New file.
47972 * elf/tst-order-a4.c: New file.
47973 * elf/tst-order-b1.c: New file.
47974 * elf/tst-order-b2.c: New file.
47975 * elf/tst-order-main.c: New file.
47976 New test case by George Gensure <werkt0@gmail.com>.
47977
86e92359
UD
479782010-10-01 Andreas Schwab <schwab@redhat.com>
47979
47980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47981 decoding ACE if AI_CANONIDN.
47982
5d5732b0
UD
479832011-01-18 Ulrich Drepper <drepper@gmail.com>
47984
47985 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47986
a77e8cbc
UD
479872011-01-17 Ulrich Drepper <drepper@gmail.com>
47988
6392473f
UD
47989 * version.h (RELEASE): Bump for 2.13 release.
47990 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47991
620a0529
UD
47992 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47993
18ba70a5
UD
47994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47995 MADV_NOHUGEPAGE.
32465c3e
UD
47996 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47997 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47998 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48002
c0dafcf1
UD
48003 * posix/getconf.c: Update copyright year.
48004 * catgets/gencat.c: Likewise.
48005 * csu/version.c: Likewise.
48006 * debug/catchsegv.sh: Likewise.
48007 * debug/xtrace.sh: Likewise.
48008 * elf/ldconfig.c: Likewise.
48009 * elf/ldd.bash.in: Likewise.
48010 * elf/sprof.c (print_version): Likewise.
48011 * iconv/iconv_prog.c: Likewise.
48012 * iconv/iconvconfig.c: Likewise.
48013 * locale/programs/locale.c: Likewise.
48014 * locale/programs/localedef.c: Likewise.
48015 * malloc/memusage.sh: Likewise.
48016 * malloc/mtrace.pl: Likewise.
48017 * nscd/nscd.c (print_version): Likewise.
48018 * nss/getent.c: Likewise.
48019
a77e8cbc
UD
48020 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48021 PF_CAIF, and PF_ALG.
48022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48023
77e8bddf
AS
480242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48025
1f20b93a
AS
48026 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48027 (modules-names): Use them.
48028 (ifunc-test-modules, ifunc-pie-tests): Define.
48029 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48030 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48031 (test-extras): Likewise.
48032 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48033 $(compile-command.c).
48034 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48035 (all-built-dso): Define.
48036 (check-textrel.out, check-execstack.out): Depend on it.
48037
77e8bddf
AS
48038 * configure.in: Don't override --enable-multi-arch.
48039
bc425b33
UD
480402011-01-15 Ulrich Drepper <drepper@gmail.com>
48041
48042 [BZ #6812]
48043 * nscd/hstcache.c (tryagain): Define.
48044 (cache_addhst): Return tryagain not notfound for temporary errors.
48045 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48046 failed.
48047
794c3ad3
UD
480482011-01-14 Ulrich Drepper <drepper@gmail.com>
48049
70181fdd
UD
48050 [BZ #10563]
48051 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48052 to make the syscall.
48053 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48054
794c3ad3
UD
48055 [BZ #12378]
48056 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48057 and fall back to matching as normal character if the string ends before
48058 the matching ']' is found. This is what POSIX requires.
48059 * posix/testfnm.c: Adjust test result.
48060 * posix/globtest.sh: Adjust test result. Add new test.
48061 * posix/tst-fnmatch.input: Likewise.
48062 * posix/tst-fnmatch2.c: Add new test.
48063
68dc9497
AS
480642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48065
48066 * elf/Makefile (check-execstack): Revert last change. Depend on
48067 check-execstack.h.
48068 (check-execstack.h): New target.
48069 (generated): Add check-execstack.h.
48070 * elf/check-execstack.c: Include "check-execstack.h".
48071 (main): Revert last change.
48072 (handle_file): Return zero if GNU_STACK is absent and
48073 DEFAULT_STACK_PERMS doesn't include PF_X.
48074
451f001b
UD
480752011-01-13 Ulrich Drepper <drepper@gmail.com>
48076
cfa28e56
UD
48077 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48078 in child fails because the descriptor is already closed.
8cf8ce17
UD
48079 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48080 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48082
1086d70d
UD
48083 [BZ #12397]
48084 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48085 syscall.
48086
451f001b
UD
48087 [BZ #10484]
48088 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48089 temporary buffer used to handle multi lookups locally.
a85b5cb4 48090 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48091
08769175
UD
480922011-01-12 Ulrich Drepper <drepper@gmail.com>
48093
48094 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48095 loader is ld.so.
48096
5e49c52e
UD
480972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48098
48099 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48100 alignment for SSE2.
48101
60522a5f
UD
481022011-01-12 Ulrich Drepper <drepper@gmail.com>
48103
48104 [BZ #12394]
48105 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48106 characters. When rounding increased number of integer digits recompute
48107 number of groups.
48108 * stdio-common/tst-grouping.c: New file.
48109 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48110
f257bbd7
UD
481112011-01-09 Ulrich Drepper <drepper@gmail.com>
48112
48113 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48114 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48115
48116 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48117 void.
48118 * bits/select.h: Likewise.
48119
fa9c15cb
UD
481202011-01-08 Ulrich Drepper <drepper@gmail.com>
48121
48122 * po/ja.po: Update from translation team.
48123
16c2895f
DM
481242011-01-04 David S. Miller <davem@sunset.davemloft.net>
48125
48126 [BZ #11155]
48127 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48128 implementation just like for lxstat, fxstatat, et al.
48129
2543fef2
JM
481302010-12-27 Jim Meyering <meyering@redhat.com>
48131
48132 [BZ #12348]
48133 * posix/regexec.c (build_trtable): Return failure indication upon
48134 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48135
98727dbe
UD
481362010-12-25 Ulrich Drepper <drepper@gmail.com>
48137
5bd6dc5c
UD
48138 [BZ #12201]
48139 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48140 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48141 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48143
97983464
UD
48144 [BZ #12207]
48145 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48146
98727dbe
UD
48147 [BZ #12204]
48148 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48149 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48150
4a531bb0
L
481512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48152
48153 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48154 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48155 script has SORT_BY_INIT_PRIORITY.
48156 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48157 NO_CTORS_DTORS_SECTIONS is defined.
48158 * elf/soinit.c: Likewise.
48159 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48160 NO_CTORS_DTORS_SECTIONS is defined.
48161 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48162 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48163 * sysdeps/sh/init-first.c: Likewise.
48164 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48165
07eb4b71
UD
481662010-12-24 Ulrich Drepper <drepper@gmail.com>
48167
48168 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48169 always use the slow path.
48170
30950a5f
RA
481712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48172
48173 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48174 similar rule which adds the sysdep directories to the header search in
48175 order to pick up the correct platform stackinfo.h.
48176 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48177 perform test if it is, otherwise return successfully without testing.
48178 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48179 DEFAULT_STACK_PERMS define in stackinfo.h.
48180 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48181 defined in stackinfo.h.
48182 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48183 DEFAULT_STACK_PERMS defined in stackinfo.h.
48184 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48185 * sysdeps/ia64/stackinfo.h: Likewise.
48186 * sysdeps/s390/stackinfo.h: Likewise.
48187 * sysdeps/sh/stackinfo.h: Likewise.
48188 * sysdeps/sparc/stackinfo.h: Likewise.
48189 * sysdeps/x86_64/stackinfo.h: Likewise.
48190 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48191 PF_X for powerpc64. Retain PF_X for powerpc32.
48192
db753e2c
UD
481932010-12-19 Ulrich Drepper <drepper@gmail.com>
48194
14b697f7
UD
48195 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48196 accurately.
db753e2c
UD
48197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48198 GETDENTS_64BIT_ALIGNED.
48199
28300719
UD
482002010-12-14 Ulrich Drepper <dreper@gmail.com>
48201
14b697f7 48202 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48203
4f197237
AS
482042010-12-10 Andreas Schwab <schwab@redhat.com>
48205
dbb0472f
AS
48206 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48207 _GNU_SOURCE.
48208
4f197237
AS
48209 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48210 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48211 Remove __restrict.
48212 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48213 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48214
fb88ac72
UD
482152010-12-09 Ulrich Drepper <drepper@gmail.com>
48216
48217 [BZ #11655]
48218 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48219 are initialized.
48220
42acbb92
JJ
482212010-12-09 Jakub Jelinek <jakub@redhat.com>
48222
48223 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48224
c038d98d
UD
482252010-12-03 Ulrich Drepper <drepper@gmail.com>
48226
48227 * po/it.po: Update from translation team.
48228
3a4a2499
L
482292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48230
48231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48232 unused codes.
48233
1e24cf6e
UD
482342010-11-30 Ulrich Drepper <drepper@gmail.com>
48235
48236 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48237
a7690819
AS
482382010-11-24 Andreas Schwab <schwab@redhat.com>
48239
48240 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48241 specially.
48242 (gaih_getanswer_slice): Likewise.
48243
3bf8d1b1
JJ
482442010-10-20 Jakub Jelinek <jakub@redhat.com>
48245
48246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48247
6db52fbb
PB
482482010-05-31 Petr Baudis <pasky@suse.cz>
48249
48250 [BZ #11149]
48251 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48252 silently even in the chroot mode.
48253
eaca7569
UD
482542010-11-22 Ulrich Drepper <drepper@gmail.com>
48255
48256 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48257 last patch a bit. Pretty printing
48258
3056dcdb
UD
482592010-05-31 Petr Baudis <pasky@suse.cz>
48260
48261 [BZ #10085]
48262 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48263 initialization of skip_initgroups_dyn.
48264
cf7c9078
UD
482652010-11-19 Ulrich Drepper <drepper@gmail.com>
48266
48267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48269
a1fb5e3e
UD
482702010-11-16 Ulrich Drepper <drepper@gmail.com>
48271
48272 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48273
3540d66b
AS
482742010-11-11 Andreas Schwab <schwab@redhat.com>
48275
48276 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48277 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48278 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48279 ($(objpfx)tst-fnmatch-mem): New rule.
48280 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48281 * posix/tst-fnmatch.c (main): Call mtrace.
48282
13b69574
L
482832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48284
48285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48286 Support Intel processor model 6 and model 0x2c.
48287
da93d214
LM
482882010-11-10 Luis Machado <luisgpm@br.ibm.com>
48289
48290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48291 signed comparison.
48292
8ca52c6e
L
482932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48294
48295 [BZ #12205]
48296 * string/test-strncasecmp.c (check_result): New function.
48297 (do_one_test): Use it.
48298 (check1): New function.
48299 (test_main): Use it.
48300 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48301 Support strcasecmp and strncasecmp.
48302
69da074d
UD
483032010-11-08 Ulrich Drepper <drepper@gmail.com>
48304
48305 [BZ #12194]
48306 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48308
ff02d528
L
483092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48310
48311 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48312 IFUNC support.
48313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48314 memset-x86-64.
48315 * sysdeps/x86_64/multiarch/bzero.S: New file.
48316 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48317 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48318 * sysdeps/x86_64/multiarch/memset.S: New file.
48319 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48321 Set bit_Prefer_SSE_for_memop for Intel processors.
48322 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48323 Define.
48324 (index_Prefer_SSE_for_memop): Define.
48325 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48326
344d0b54
LM
483272010-11-04 Luis Machado <luisgpm@br.ibm.com>
48328
48329 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48330 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48331
c0dde15b
UD
483322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48333
48334 [BZ #12191]
48335 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48336 (__x86_64_raw_data_cache_size_half): Likewise.
48337 (__x86_64_raw_shared_cache_size): Likewise.
48338 (__x86_64_raw_shared_cache_size_half): Likewise.
48339
48340 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48341 (__x86_64_raw_data_cache_size_half): Likewise.
48342 (__x86_64_raw_shared_cache_size): Likewise.
48343 (__x86_64_raw_shared_cache_size_half): Likewise.
48344 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48345 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48346 and __x86_64_raw_shared_cache_size_half. Round
48347 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48348 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48349 to multiple of 256 bytes.
48350
0e516e0e
MS
483512010-11-03 Ulrich Drepper <drepper@gmail.com>
48352
48353 [BZ #12167]
48354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48355 of inacessible symlinks. Verify result of symlink before returning it.
48356 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48357 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48358
0e012e87
ER
483592010-10-28 Erich Ritz <erichritz@gmail.com>
48360
48361 * math/math.h (isinf): Fix typo in comment.
48362
de0ff7bc
UD
483632010-11-01 Ulrich Drepper <drepper@gmail.com>
48364
48365 * po/da.po: Update from translation team.
48366
fa41c84d
UD
483672010-10-26 Ulrich Drepper <drepper@gmail.com>
48368
48369 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48370 is added to the list.
48371
f0967738
AK
483722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48373 Ulrich Drepper <drepper@gmail.com>
48374
48375 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48376 the global list here. Move code to...
48377 (_dl_add_to_namespace_list): ...here. New function.
48378 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48379 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48380 * elf/dl-load.c (lose): Don't remove the element from the list.
48381 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48382 (_dl_map_object): Likewise.
48383
483842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48385
48386 [BZ #12159]
48387 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48388 into all bytes of SSE register.
48389 Patch by Richard Li <richardpku@gmail.com>.
48390
f0967738 483912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48392
48393 [BZ #12140]
48394 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48395 perturbing.
48396
d0b9e94f
MB
483972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48398
48399 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48400 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48401 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48404 submachine.
48405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48406
8e9f92e9
AS
484072010-10-22 Andreas Schwab <schwab@redhat.com>
48408
48409 * include/dlfcn.h (__RTLD_SECURE): Define.
48410 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48411 mode & __RTLD_SECURE instead.
48412 (open_path): Rename preloaded parameter to secure.
48413 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48414 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48415 * elf/dl-deps.c (openaux): Likewise.
48416 * elf/rtld.c (struct map_args): Remove is_preloaded.
48417 (map_doit): Don't use it.
48418 (dl_main): Likewise.
48419 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48420 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48421
bc96fbda
AS
484222010-09-09 Andreas Schwab <schwab@redhat.com>
48423
48424 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48425 (sysd-rules-targets): Remove duplicates.
48426 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48427 rtld-%.$o dependency.
48428
22cd1c9b
AS
484292010-10-18 Andreas Schwab <schwab@redhat.com>
48430
48431 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48432 _dl_map_object do it.
48433
18edac48
UD
484342010-10-19 Ulrich Drepper <drepper@gmail.com>
48435
48436 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48437 fast fma builtins, define the macros in the C99 standard.
48438 (FP_FAST_FMAF): Likewise.
48439 (FP_FAST_FMAL): Likewise.
48440 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48441
48442 * bits/mathdef.h: Update copyright year.
48443 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48444
d2050124
MM
484452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48446
48447 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48448 builtins, define the macros in the C99 standard.
48449 (FP_FAST_FMAF): Likewise.
48450 (FP_FAST_FMAL): Likewise.
48451 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48452 multiply/add.
48453 (FP_FAST_FMAF): Likewise.
48454
475facd1
JJ
484552010-10-15 Jakub Jelinek <jakub@redhat.com>
48456
48457 [BZ #3268]
48458 * math/libm-test.inc (fma_test): Some new testcases.
48459 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48461 y and infinite z. Do multiplication by C already in long double.
48462 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48464 y and infinite z. Do bitwise or of inexact bit into u.d.
48465 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48466 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48467 * sysdeps/i386/fpu/s_fma.S: Removed.
48468 * sysdeps/i386/fpu/s_fmal.S: Removed.
48469
7c08a05c
JJ
484702010-10-16 Jakub Jelinek <jakub@redhat.com>
48471
48472 [BZ #3268]
48473 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48475 computation is not scheduled after fetestexcept. Fix value
48476 of minimum denormal long double.
48477
f3f7372d
JJ
484782010-10-14 Jakub Jelinek <jakub@redhat.com>
48479
48480 [BZ #3268]
48481 * math/libm-test.inc (fma_test): Add some more tests.
48482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48483 correctly.
48484
14d43591
AS
484852010-10-15 Andreas Schwab <schwab@redhat.com>
48486
48487 * scripts/data/localplt-s390-linux-gnu.data: New file.
48488 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48489
5e908464
JJ
484902010-10-13 Jakub Jelinek <jakub@redhat.com>
48491
48492 [BZ #3268]
48493 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48494 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48495 instead of dbl-64.
48496 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48497 inlines.
48498 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48500 if one of x and y is very large and the other is subnormal.
48501 * sysdeps/s390/fpu/s_fmaf.c: New file.
48502 * sysdeps/s390/fpu/s_fma.c: New file.
48503 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48504 * sysdeps/powerpc/fpu/s_fma.S: New file.
48505 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48506 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48507 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48508
485092010-10-12 Jakub Jelinek <jakub@redhat.com>
48510
48511 [BZ #3268]
48512 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48513 fma tests.
48514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48515 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48516 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48517 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48518 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48519 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48521
b833d51f
UD
485222010-10-12 Ulrich Drepper <drepper@redhat.com>
48523
48524 [BZ #12078]
48525 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48526 * posix/bug-regex31.input: Add test case.
48527
1751705d
UD
485282010-10-11 Ulrich Drepper <drepper@gmail.com>
48529
e9b9cbf5
UD
48530 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48531 * posix/bug-regex31.input: New file.
48532
48533 [BZ #12078]
48534 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48535 (parse_sub_exp): Fix last change, use postorder.
48536
ef06edbe
UD
48537 * posix/bug-regex31.c: New file.
48538 * posix/Makefile: Add rules to build and run bug-regex31.
48539
a129c80d
UD
48540 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48541
48542 [BZ #12078]
48543 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48544
b76b818e
UD
48545 [BZ #12108]
48546 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48547 to have entries in sys_siglist.
48548
1751705d
UD
48549 [BZ #12093]
48550 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48551 be NULL.
48552
9ff8d36f
JJ
485532010-10-07 Jakub Jelinek <jakub@redhat.com>
48554
48555 [BZ #3268]
48556 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48557 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48558 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48559 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48560 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48561 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48562 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48563 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48564 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48565 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48566 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48567 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48568 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48569 * math/ftestexcept.c (fetestexcept): Likewise.
48570 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48571 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48572 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48573 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48574 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48575 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48576 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48577
af325969
UD
485782010-10-11 Ulrich Drepper <drepper@gmail.com>
48579
c579b202 48580 [BZ #12107]
af325969
UD
48581 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48582 newline.
48583
67a67b95
UD
485842010-10-06 Ulrich Drepper <drepper@gmail.com>
48585
48586 * string/bug-strstr1.c: New file.
48587 * string/Makefile: Add rules to build and run bug-strstr1.
48588
5fb308bc
EB
485892010-10-05 Eric Blake <eblake@redhat.com>
48590
48591 [BZ #12092]
48592 * string/str-two-way.h (two_way_long_needle): Always clear memory
48593 when skipping input due to the shift table.
48594
45db99c7
UD
485952010-10-03 Ulrich Drepper <drepper@gmail.com>
48596
3b111893
UD
48597 [BZ #12005]
48598 * malloc/mcheck.c: Handle large requests.
48599
45db99c7
UD
48600 [BZ #12077]
48601 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48602 for strncmp and strncasecmp.
48603 * string/stratcliff.c: Add tests for strcmp and strncmp.
48604 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48605
cf7a1eb8
NI
486062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48607
48608 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48609 __set_fpscr.
48610
6484ba5e
AJ
486112010-09-30 Andreas Jaeger <aj@suse.de>
48612
48613 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48614 (CGROUP_SUPER_MAGIC): Define.
48615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48616 Handle btrfs and cgroup file systems.
48617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48618 Likewise.
48619
91c42559
LM
486202010-09-27 Luis Machado <luisgpm@br.ibm.com>
48621
48622 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48623 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48624
87a97932
AK
486252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48626
48627 [BZ #12067]
48628 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48629 trying to locate the ELF header.
48630
c21cc9bc
AS
486312010-09-27 Andreas Schwab <schwab@redhat.com>
48632
48633 [BZ #11611]
48634 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48635 Mask out sign-bit copies when constructing f_fsid.
48636
315970f6
PB
486372010-09-24 Petr Baudis <pasky@suse.cz>
48638
48639 * debug/stack_chk_fail_local.c: Add missing licence exception.
48640 * debug/warning-nop.c: Likewise.
48641
1ac7a2c7
JM
486422010-09-15 Joseph Myers <joseph@codesourcery.com>
48643
48644 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48645 implementing getdents64 using getdents syscall, set d_type if
48646 __ASSUME_GETDENTS32_D_TYPE.
48647
56801c50
AS
486482010-09-16 Andreas Schwab <schwab@redhat.com>
48649
48650 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48651 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48652
dda51327
UD
486532010-09-21 Ulrich Drepper <drepper@redhat.com>
48654
48655 [BZ #12037]
48656 * posix/unistd.h: Undo change of feature selection for ftruncate from
48657 2010-01-11.
48658
8ffcee4a
UD
486592010-09-20 Ulrich Drepper <drepper@redhat.com>
48660
a545ecd9 48661 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48662 detection.
48663
e24f0a8b
AS
486642010-09-20 Andreas Schwab <schwab@redhat.com>
48665
48666 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48667 fanotify_mark.
48668 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48669
7291c56f
AS
486702010-09-14 Andreas Schwab <schwab@redhat.com>
48671
48672 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48673 variables after CHECK_SP call.
48674 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48675
bc5fb037
AS
486762010-09-13 Andreas Schwab <schwab@redhat.com>
48677 Ulrich Drepper <drepper@redhat.com>
48678
48679 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48680 re-relocationg ld.so.
48681 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48682 _dl_init_paths call.
48683 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48684 here anymore.
48685
e66e7419
UD
486862010-09-14 Ulrich Drepper <drepper@redhat.com>
48687
48688 * resolv/res_init.c (__res_vinit): Count the default server we added.
48689
c044aa75
CLT
486902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48691 Ulrich Drepper <drepper@redhat.com>
48692
48693 [BZ #11968]
48694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48695 (____longjmp_chk): Use %ebx for saving value across system call.
48696 Add unwind info.
48697
32cf4069
AS
486982010-09-06 Andreas Schwab <schwab@redhat.com>
48699
48700 * manual/Makefile: Don't mix pattern rules with normal rules.
48701
817328ee
AS
487022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48703
48704 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48705 operation.
48706 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48707 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48708 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48709 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48711 Likewise.
48712
29fddf61
UD
487132010-09-04 Ulrich Drepper <drepper@redhat.com>
48714
48715 [BZ #11979]
48716 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48717 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48718
0959ffc9
UD
487192010-09-02 Ulrich Drepper <drepper@redhat.com>
48720
48721 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48722 * sysdeps/x86_64/addmul_1.S: Likewise.
48723 * sysdeps/x86_64/lshift.S: Likewise.
48724 * sysdeps/x86_64/mul_1.S: Likewise.
48725 * sysdeps/x86_64/rshift.S: Likewise.
48726 * sysdeps/x86_64/sub_n.S: Likewise.
48727 * sysdeps/x86_64/submul_1.S: Likewise.
48728
ece29840
ST
487292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48730
0959ffc9
UD
48731 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48732 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48733 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48734 * bits/sched.h [__need_schedparam]
ece29840 48735 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48736 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48737 (__defined_schedparam): Define to 1.
ece29840
ST
48738 (__sched_param): New structure, identical to sched_param.
48739 (__need_schedparam): Undefine.
48740
e53a31fe
MF
487412010-08-31 Mike Frysinger <vapier@gentoo.org>
48742
fdc0c10d
MF
48743 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48744 (epoll_create1): Declare.
48745
e53a31fe
MF
48746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48747
a726d796
AS
487482010-08-31 Andreas Schwab <schwab@redhat.com>
48749
48750 [BZ #7066]
48751 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48752 shifting retval into place.
48753
2f3e3dc7
UD
487542010-09-01 Ulrich Drepper <drepper@redhat.com>
48755
f2933da9
UD
48756 * nis/rpcsvc/nis.h: Update copyright notice.
48757 * nis/rpcsvc/nis.x: Likewise.
48758 * nis/rpcsvc/nis_callback.h: Likewise.
48759 * nis/rpcsvc/nis_callback.x: Likewise.
48760 * nis/rpcsvc/nis_object.x: Likewise.
48761 * nis/rpcsvc/nis_tags.h: Likewise.
48762 * nis/rpcsvc/yp.h: Likewise.
48763 * nis/rpcsvc/yp.x: Likewise.
48764 * nis/rpcsvc/ypupd.h: Likewise.
48765 * nis/yp_xdr.c: Likewise.
48766 * nis/ypupdate_xdr.c: Likewise.
48767
2f3e3dc7
UD
48768 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48769 mainly the body of pmap_getport. Add parameters to specify timeouts.
48770 (pmap_getport): Use __libc_rpc_getport.
48771 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48772 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48773 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48774
f3dcc2f9
AS
487752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48776
48777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48778 fanotify_mark.
48779
6d34eb5b
RM
487802010-08-27 Roland McGrath <roland@redhat.com>
48781
48782 * sysdeps/i386/i686/multiarch/Makefile
48783 (CFLAGS-varshift.c): New variable.
48784
9ea3de11
UD
487852010-08-27 Ulrich Drepper <drepper@redhat.com>
48786
c96d23fc
UD
48787 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48788 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48789
9ea3de11
UD
48790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48791
48792 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48793
623aac7f
L
487942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48795
48796 * sysdeps/x86_64/strlen.S: Unroll the loop.
48797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48798 strlen-sse2 strlen-sse2-bsf.
48799 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48800 __strlen_no_bsf if bit_Slow_BSF is set.
48801 (__strlen_sse42): Removed.
48802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48803 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48804
8b2b7715
RM
488052010-08-25 Roland McGrath <roland@redhat.com>
48806
48807 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48808 * sysdeps/x86_64/multiarch/varshift.c: New file.
48809 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48810 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48811 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48812 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48813
e73015f2
L
488142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48815
48816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48817 strlen-sse2 strlen-sse2-bsf.
48818 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48819 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48820 (__strlen_sse2): Removed.
48821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48824 bit_Slow_BSF for Atom.
48825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48826 (index_Slow_BSF): Define.
48827 (HAS_SLOW_BSF): Define.
48828
df24a73e
UD
488292010-08-25 Ulrich Drepper <drepper@redhat.com>
48830
48831 [BZ #10851]
48832 * resolv/res_init.c (__res_vinit): When no server address at all
48833 is given default to loopback.
48834
f2ac4868
RM
488352010-08-24 Roland McGrath <roland@redhat.com>
48836
09055553
RM
48837 * configure.in: Remove config-name.h generation.
48838 * configure: Regenerated.
48839 * config-name.in: File removed.
48840 * scripts/config-uname.sh: New file.
48841 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48842 ($(objdir)config-name.h): New target.
48843
f2ac4868
RM
48844 * sunrpc/rpc_parse.h: Avoid nested comment.
48845
73f27d5e
RH
488462010-08-24 Richard Henderson <rth@redhat.com>
48847 Ulrich Drepper <drepper@redhat.com>
48848 H.J. Lu <hongjiu.lu@intel.com>
48849
48850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48852 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48853 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48854 _mm_alignr_epi8 with _mm_loadu_si128.
48855 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48856 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48857 (__m128i_shift_right): Removed.
48858 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48859 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48860 * sysdeps/x86_64/multiarch/varshift.h: New file.
48861 * sysdeps/x86_64/multiarch/varshift.S: New file.
48862
84b9230c
MF
488632010-08-21 Mike Frysinger <vapier@gentoo.org>
48864
48865 * configure.in: Move assembler checks to before sysdep dir checking.
48866
9bbd0ddc
PB
488672010-08-20 Petr Baudis <pasky@suse.cz>
48868
48869 * LICENSES: Sync the sunrpc license.
48870
9da4bb31
UD
488712010-08-19 Ulrich Drepper <drepper@redhat.com>
48872
a7ab6ec8
UD
48873 * sunrpc/auth_des.c: Update copyright notice once again.
48874 * sunrpc/auth_none.c: Likewise.
48875 * sunrpc/auth_unix.c: Likewise.
48876 * sunrpc/authdes_prot.c: Likewise.
48877 * sunrpc/authuxprot.c: Likewise.
48878 * sunrpc/bindrsvprt.c: Likewise.
48879 * sunrpc/clnt_gen.c: Likewise.
48880 * sunrpc/clnt_perr.c: Likewise.
48881 * sunrpc/clnt_raw.c: Likewise.
48882 * sunrpc/clnt_simp.c: Likewise.
48883 * sunrpc/clnt_tcp.c: Likewise.
48884 * sunrpc/clnt_udp.c: Likewise.
48885 * sunrpc/clnt_unix.c: Likewise.
48886 * sunrpc/des_crypt.c: Likewise.
48887 * sunrpc/des_soft.c: Likewise.
48888 * sunrpc/get_myaddr.c: Likewise.
48889 * sunrpc/getrpcport.c: Likewise.
48890 * sunrpc/key_call.c: Likewise.
48891 * sunrpc/key_prot.c: Likewise.
48892 * sunrpc/openchild.c: Likewise.
48893 * sunrpc/pm_getmaps.c: Likewise.
48894 * sunrpc/pm_getport.c: Likewise.
48895 * sunrpc/pmap_clnt.c: Likewise.
48896 * sunrpc/pmap_prot.c: Likewise.
48897 * sunrpc/pmap_prot2.c: Likewise.
48898 * sunrpc/pmap_rmt.c: Likewise.
48899 * sunrpc/rpc/auth.h: Likewise.
48900 * sunrpc/rpc/auth_unix.h: Likewise.
48901 * sunrpc/rpc/clnt.h: Likewise.
48902 * sunrpc/rpc/des_crypt.h: Likewise.
48903 * sunrpc/rpc/key_prot.h: Likewise.
48904 * sunrpc/rpc/netdb.h: Likewise.
48905 * sunrpc/rpc/pmap_clnt.h: Likewise.
48906 * sunrpc/rpc/pmap_prot.h: Likewise.
48907 * sunrpc/rpc/pmap_rmt.h: Likewise.
48908 * sunrpc/rpc/rpc.h: Likewise.
48909 * sunrpc/rpc/rpc_des.h: Likewise.
48910 * sunrpc/rpc/rpc_msg.h: Likewise.
48911 * sunrpc/rpc/svc.h: Likewise.
48912 * sunrpc/rpc/svc_auth.h: Likewise.
48913 * sunrpc/rpc/types.h: Likewise.
48914 * sunrpc/rpc/xdr.h: Likewise.
48915 * sunrpc/rpc_clntout.c: Likewise.
48916 * sunrpc/rpc_cmsg.c: Likewise.
48917 * sunrpc/rpc_common.c: Likewise.
48918 * sunrpc/rpc_cout.c: Likewise.
48919 * sunrpc/rpc_dtable.c: Likewise.
48920 * sunrpc/rpc_hout.c: Likewise.
48921 * sunrpc/rpc_main.c: Likewise.
48922 * sunrpc/rpc_parse.c: Likewise.
48923 * sunrpc/rpc_parse.h: Likewise.
48924 * sunrpc/rpc_prot.c: Likewise.
48925 * sunrpc/rpc_sample.c: Likewise.
48926 * sunrpc/rpc_scan.c: Likewise.
48927 * sunrpc/rpc_scan.h: Likewise.
48928 * sunrpc/rpc_svcout.c: Likewise.
48929 * sunrpc/rpc_tblout.c: Likewise.
48930 * sunrpc/rpc_util.c: Likewise.
48931 * sunrpc/rpc_util.h: Likewise.
48932 * sunrpc/rpcinfo.c: Likewise.
48933 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48934 * sunrpc/rpcsvc/key_prot.x: Likewise.
48935 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48936 * sunrpc/rpcsvc/mount.x: Likewise.
48937 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48938 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48939 * sunrpc/rpcsvc/rex.x: Likewise.
48940 * sunrpc/rpcsvc/rstat.x: Likewise.
48941 * sunrpc/rpcsvc/rusers.x: Likewise.
48942 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48943 * sunrpc/rpcsvc/spray.x: Likewise.
48944 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48945 * sunrpc/rtime.c: Likewise.
48946 * sunrpc/svc.c: Likewise.
48947 * sunrpc/svc_auth.c: Likewise.
48948 * sunrpc/svc_authux.c: Likewise.
48949 * sunrpc/svc_raw.c: Likewise.
48950 * sunrpc/svc_run.c: Likewise.
48951 * sunrpc/svc_simple.c: Likewise.
48952 * sunrpc/svc_tcp.c: Likewise.
48953 * sunrpc/svc_udp.c: Likewise.
48954 * sunrpc/svc_unix.c: Likewise.
48955 * sunrpc/svcauth_des.c: Likewise.
48956 * sunrpc/xcrypt.c: Likewise.
48957 * sunrpc/xdr.c: Likewise.
48958 * sunrpc/xdr_array.c: Likewise.
48959 * sunrpc/xdr_float.c: Likewise.
48960 * sunrpc/xdr_mem.c: Likewise.
48961 * sunrpc/xdr_rec.c: Likewise.
48962 * sunrpc/xdr_ref.c: Likewise.
48963 * sunrpc/xdr_sizeof.c: Likewise.
48964 * sunrpc/xdr_stdio.c: Likewise.
48965
9da4bb31
UD
48966 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48967 handling.
48968
bdaa77bc
AS
489692010-08-19 Andreas Schwab <schwab@redhat.com>
48970
48971 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48972
fe2f79db
LM
489732010-08-19 Luis Machado <luisgpm@br.ibm.com>
48974
48975 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48977 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48978 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48979 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48980 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48981 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48982 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48984 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48985 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48987 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48988 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48989
b9b42ee0
AB
489902010-07-26 Anton Blanchard <anton@samba.org>
48991
48992 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48993 * malloc/arena.c (heap_trim): Likewise.
48994
1c06ba31
UD
489952010-08-16 Ulrich Drepper <drepper@redhat.com>
48996
48997 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48998 here. Not...
48999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49000 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49001
f8392f40
L
490022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49003
49004 * sysdeps/i386/elf/Makefile: New file.
49005
3162f12e
AS
490062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49007
49008 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49009 from fanotify_init.
49010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49012
28c90b2c
UD
490132010-08-15 Ulrich Drepper <drepper@redhat.com>
49014
49015 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49016 of strncasecmp_l.
1feccb6c 49017 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49018
ca6bb004
UD
490192010-08-14 Ulrich Drepper <drepper@redhat.com>
49020
e9f82e0d
UD
49021 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49022 strncase_l-nonascii.
49023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49024 Add strncase_l-ssse3.
49025 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49026 * sysdeps/x86_64/strcmp.S: Likewise.
49027 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49028 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49029 * sysdeps/x86_64/strncase.S: New file.
49030 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49031 * sysdeps/x86_64/strncase_l.S: New file.
49032 * string/Makefile (strop-tests): Add strncasecmp.
49033 * string/test-strncasecmp.c: New file.
49034
49035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49036 warning.
49037
ca6bb004
UD
49038 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49039 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49040
052fa7b3
AS
490412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49042
49043 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49044
962dba78
UD
490452010-08-12 Ulrich Drepper <drepper@redhat.com>
49046
49047 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49050
bebff237
AM
490512010-05-01 Alan Modra <amodra@gmail.com>
49052
49053 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49054 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49055 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49056 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49057 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49058 tidying. Don't tail-call __sigjmp_save for static lib.
49059 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49060 save location.
49061 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49062 (CALL_MCOUNT): Add eh info, and nop after bl.
49063 (TAIL_CALL_SYSCALL_ERROR): New macro.
49064 (PSEUDO_RET): Use it.
49065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49066 Correct save location of integer regs and cr.
49067 (_dl_profile_resolve): Correct cr save location. Delete nops
49068 after bl when SHARED. Reduce cfi size a little by better
49069 placement of cfi directives.
49070 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49071 make a stack frame. Instead use parm save area as a temp.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49073 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49075 Don't make a stack frame for parent, use parm save area.
49076 Increase child stack frame to 112 bytes. Don't save unused reg,
49077 and adjust reg usage. Set up cfi on error recovery and
49078 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49080 (__makecontext): Add dummy nop after jump to exit.
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49082 Use correct parm save area and cr save, reduce stack frame.
49083 Correct cfi for possible PSEUDO_RET frame setup.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49085 Branch to local label emitted by PSEUDO_RET rather than
49086 __syscall_error.
49087
02637374
AS
490882010-08-12 Andreas Schwab <schwab@redhat.com>
49089
49090 [BZ #11904]
49091 * locale/programs/locale.c (print_assignment): New function.
49092 (show_locale_vars): Use it.
49093
c3e2f19b
UD
490942010-08-11 Ulrich Drepper <drepper@redhat.com>
49095
3cdaa6ad
UD
49096 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49097 field.
49098 (struct statfs64): Likewise.
49099 (_STATFS_F_FLAGS): Define.
49100 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49102 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49103 (ST_VALID): Define locally.
49104 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49105 __statvfs_getflags, use the provided value.
49106 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49107 __ASSUME_STATFS_F_FLAGS.
49108
754f7da3
UD
49109 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49110
10b3bedc
UD
49111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49112 Add sys/fanotify.h.
49113 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49114 fanotify_mask for GLIBC_2.13.
49115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49116 fanotify_init and fanotify_mark.
49117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49118 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49119
c08fb0d7
UD
49120 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49121 Add prlimit.
49122 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49123 prlimit64 for GLIBC_2.13.
49124 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49125 prlimit64.
49126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49127 syscall.
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49129 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49130 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49133 add prlimit alias.
49134 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49135
15bac72b
UD
49136 [BZ #11903]
49137 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49138 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49139
c3e2f19b
UD
49140 * nss/Makefile: Add rules to build and run tst-nss-test1.
49141 * shlib-versions: Add entry for libnss_test1.
49142 * nss/nss_test1.c: New file.
49143 * nss/tst-nss-test1.c: New file.
49144
49145 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49146 (__nss_configure_lookup): Set appropriate entry in
49147 __nss_configure_lookup to true.
49148 * nss/nsswitch.h: Define enum with indeces of databases in
49149 databases and __nss_database_custom arrays. Declare
49150 __nss_database_custom.
49151 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49152 to avoid using nscd when custom rules are installed.
49153 * nss/getXXbyYY_r.c: Likewise.
49154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49155
49156 * nss/nss_files/files-parse.c: Whitespace fixes.
49157
f15ce4d8
UD
491582010-08-09 Ulrich Drepper <drepper@redhat.com>
49159
49160 [BZ #11883]
49161 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49162 * posix/fnmatch_loop.c: Likewise.
49163
d22e4cc9
AK
491642010-07-17 Andi Kleen <ak@linux.intel.com>
49165
49166 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49167 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49168 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49169 * Versions.def [GLIBC_2.13]: Add.
49170
805bc17d
UD
491712010-08-06 Ulrich Drepper <drepper@redhat.com>
49172
49173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49174 Also fail if tpwd after pwuid call is NULL.
49175
5a42321d
ST
491762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49177
49178 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49179 when converting to ms.
49180
fd3ebeda
ST
491812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49182
49183 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49184 EOPNOTSUPP errors with ENOTTY.
49185 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49186 EOPNOTSUPP errors with ENOTTY.
49187
73507d3a
UD
491882010-07-31 Ulrich Drepper <drepper@redhat.com>
49189
49190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49191 Add strcasecmp_l-ssse3.
49192 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49193 strcasecmp.
49194 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49195 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49197
fe36dd02
UD
491982010-07-30 Ulrich Drepper <drepper@redhat.com>
49199
66f6765a
UD
49200 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49201
42e08a54
UD
49202 * string/Makefile (strop-tests): Add strcasecmp.
49203 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49204 strcasecmp_l-nonascii.
49205 (gen-as-const-headers): Add locale-defines.sym.
49206 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49207 * sysdeps/x86_64/strcasecmp.S: New file.
49208 * sysdeps/x86_64/strcasecmp_l.S: New file.
49209 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49210 * sysdeps/x86_64/locale-defines.sym: New file.
49211 * string/test-strcasecmp.c: New file.
49212
fe36dd02
UD
49213 * string/test-strcasestr.c: Test both ends of the range of characters.
49214 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49215
48cbc0d6
RM
492162010-07-29 Roland McGrath <roland@redhat.com>
49217
76e6d6bc 49218 [BZ #11856]
48cbc0d6
RM
49219 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49220
880113d9
UD
492212010-07-27 Ulrich Drepper <drepper@redhat.com>
49222
49223 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49224 for ld.so.
49225
deb9cabb
AS
492262010-07-27 Andreas Schwab <schwab@redhat.com>
49227
49228 * manual/memory.texi (Malloc Tunable Parameters): Document
49229 M_PERTURB.
49230
1c7570ff
RM
492312010-07-26 Roland McGrath <roland@redhat.com>
49232
49233 [BZ #11840]
49234 * configure.in (-fgnu89-inline check): Set and substitute
49235 gnu89_inline, not libc_cv_gnu89_inline.
49236 * configure: Regenerated.
49237 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49238
24fb0f88
UD
492392010-07-26 Ulrich Drepper <drepper@redhat.com>
49240
49241 * string/test-strnlen.c: New file.
49242 * string/Makefile (strop-tests): Add strnlen.
49243 * string/tester.c (test_strnlen): Add a few more test cases.
49244 * string/tst-strlen.c: Better error reporting.
49245
49246 * sysdeps/x86_64/strnlen.S: New file.
49247
8e96b93a
UD
492482010-07-24 Ulrich Drepper <drepper@redhat.com>
49249
49250 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49251 lower-latency instructions.
49252
dbc676d4
UD
492532010-07-23 Ulrich Drepper <drepper@redhat.com>
49254
49255 * string/test-strcasestr.c: New file.
49256 * string/test-strstr.c: New file.
49257 * string/Makefile (strop-tests): Add strstr and strcasestr.
49258 * string/str-two-way.h: Don't undefine MAX.
49259 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49260
f6a31e0e
AS
492612010-07-21 Andreas Schwab <schwab@redhat.com>
49262
49263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49264 strcasestr-nonascii.
49265 (CFLAGS-strcasestr-nonascii.c): Define.
49266 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49268 Remove unused attribute.
49269
5dbc3b6c
RM
492702010-07-20 Roland McGrath <roland@redhat.com>
49271
49272 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49273 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49274 ld.so.cache was broken. With it, there is no way to disable dsocaps
49275 like LD_HWCAP_MASK can disable hwcaps.
49276
23d101d8
EPM
492772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49278
49279 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49280
cc9f2e47
UD
492812010-07-16 Ulrich Drepper <drepper@redhat.com>
49282
49283 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49284 call in strcasestr.
49285 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49286 __strcasestr_sse42_nonascii.
49287 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49288 strcasestr-nonascii.c.
49289 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49290
77c1b069
LM
492912010-06-15 Luis Machado <luisgpm@br.ibm.com>
49292
49293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49294 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49296 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49297
440566c3
UD
492982010-07-09 Ulrich Drepper <drepper@redhat.com>
49299
49300 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49301 fcntl.
49302
5be9d05d
AS
493032010-07-06 Andreas Schwab <schwab@redhat.com>
49304
c30b7ee2 49305 [BZ #11577]
5be9d05d
AS
49306 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49307 dl_signal_cerror.
49308
8a492a67
UD
493092010-07-06 Ulrich Drepper <drepper@redhat.com>
49310
49311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49312 _PC_PIPE_BUF using F_GETPIPE_SZ.
49313
713df3d5
RM
493142010-07-05 Roland McGrath <roland@redhat.com>
49315
49316 * manual/arith.texi (Rounding Functions): Fix rint description
49317 implicit in round description.
49318
702e8f14
UD
493192010-07-02 Ulrich Drepper <drepper@redhat.com>
49320
49321 * elf/Makefile: Fix linking for a few tests to make recent linker
49322 happy.
49323
52ed8be9
AS
493242010-06-30 Andreas Schwab <schwab@redhat.com>
49325
49326 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49327 $(common-objpfx)libc_nonshared.a.
49328
f47c9a11
LM
493292010-06-21 Luis Machado <luisgpm@br.ibm.com>
49330
49331 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49332 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49333 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49334 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49335 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49336 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49337 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49338 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49353 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49354 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49355 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49356 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49357 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49358 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49359 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49360 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49361 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49362 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49363 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49364 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49379
6fb8cbcb
L
493802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49381
49382 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49383 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49384 * string/memmove.c (memmove): Renamed to ...
49385 (MEMMOVE): ...this. Default to memmove.
49386 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49387 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49388 (END_CHK): Define.
49389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49390 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49391 mempcpy-ssse3-back memmove-ssse3-back.
49392 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49395 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49396 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49397 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49398 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49399 * sysdeps/x86_64/multiarch/memmove.c: New file.
49400 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49401 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49402 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49403 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49406 Define.
49407 (index_Fast_Copy_Backward): Define.
49408 (HAS_ARCH_FEATURE): Define.
49409 (HAS_FAST_REP_STRING): Define.
49410 (HAS_FAST_COPY_BACKWARD): Define.
49411
4e733bac 494122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49413
49414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49415 Restore proper fallback handling.
49416
63c4ed22
UD
494172010-06-19 Ulrich Drepper <drepper@redhat.com>
49418
ac2b484c
UD
49419 [BZ #11701]
49420 * posix/group_member.c (__group_member): Correct checking loop.
49421
63c4ed22
UD
49422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49423 OOM in getpwuid_r correctly. Return error number when the caller
49424 should return, otherwise -1.
49425 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49426 call returning > 0 value.
49427 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49428
765ade4b
AS
494292010-06-07 Andreas Schwab <schwab@redhat.com>
49430
49431 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49432 libc_nonshared.a from targets in modules-names.
49433
80da2e09
KS
494342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49435
49436 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49437 requires it.
49438
158db122
LM
494392010-06-10 Luis Machado <luisgpm@br.ibm.com>
49440
49441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49442 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49445
caa78cf8
AS
494462010-06-02 Andreas Schwab <schwab@redhat.com>
49447
49448 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49449
b2ef2c01
UD
494502010-06-14 Ulrich Drepper <drepper@redhat.com>
49451
49452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49453 and F_GETPIPE_SZ.
49454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49460
fbd643b6
RM
494612010-06-14 Roland McGrath <roland@redhat.com>
49462
49463 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49464
f32f2869
JJ
494652010-06-07 Jakub Jelinek <jakub@redhat.com>
49466
49467 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49468 __REDIRECT followed by __THROW.
49469 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49470 * posix/getopt.h (getopt): Likewise.
49471
2a50c078
EPM
494722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49473
49474 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49475 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49476 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49477 in AT_FLAGS.
49478 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49479 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49480
eb5ad2eb
LM
494812010-05-28 Luis Machado <luisgpm@br.ibm.com>
49482
49483 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49484
3c88fe1e
L
494852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49486
49487 [BZ #11640]
49488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49489 Properly check family and model.
49490
d2f73151
TY
494912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49492
49493 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49494
ebd2e13d
LM
494952010-05-24 Luis Machado <luisgpm@br.ibm.com>
49496
49497 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49498
b32b8b45
UD
494992010-05-21 Ulrich Drepper <drepper@redhat.com>
49500
49501 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49502 symbol reference.
49503
9acbe24d
AS
495042010-05-19 Andreas Schwab <schwab@redhat.com>
49505
49506 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49507 symbol reference.
49508
f0ccf6ea
AS
495092010-05-21 Andreas Schwab <schwab@redhat.com>
49510
3d04ff3a
AS
49511 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49512 and internal_recvmmsg.
49513 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49514 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49515 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49516 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49517
f0ccf6ea
AS
49518 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49521
5b08ac57
AS
495222010-05-20 Andreas Schwab <schwab@redhat.com>
49523
49524 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49525
4828935d
LM
495262010-05-17 Luis Machado <luisgpm@br.ibm.com>
49527
49528 POWER7 optimizations.
49529 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49530 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49531
373d545e
UD
495322010-05-19 Ulrich Drepper <drepper@redhat.com>
49533
49534 * version.h: Update for 2.13 development version.
49535
21a2b1ae
AS
495362010-05-12 Andrew Stubbs <ams@codesourcery.com>
49537
49538 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49539 exceptions. Return 0.
49540
3f7dcb2b
RM
495412010-05-07 Roland McGrath <roland@redhat.com>
49542
49543 * elf/ldconfig.c (main): Add a const.
49544
5f24d53a 495452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49546
a160f8d8
UD
49547 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49548 (args_options): Add no-idn option.
49549 (ahosts_keys_int): Add idn_flags to ai_flags.
49550 (parse_option): Handle 'i' option to clear idn_flags.
49551
5f24d53a
UD
49552 * malloc/malloc.c (_int_free): Possible race in the most recently
49553 added check. Only act on the data if no current modification
49554 happened.
265bb1ce
UD
49555
49556See ChangeLog.17 for earlier changes.