1 2014-05-13 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11 current working directory
13 2014-05-13 Roland McGrath <roland@hack.frob.com>
15 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
23 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
53 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
54 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
55 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
56 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
58 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
59 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
61 * sysdeps/unix/sysv/linux/arm/Makefile
62 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
63 Add rt-aeabi_unwind_cpp_pr1.
64 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
65 Add nptl-aeabi_unwind_cpp_pr1.
66 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
67 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
68 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
69 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
70 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
71 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
73 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
74 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
75 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
76 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
78 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
79 Deconditionalize the code that was previously under [RESET_PID].
80 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
82 * sysdeps/generic/exit-thread.h: New file.
83 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
84 * include/unistd.h (__exit_thread): Remove declaration.
85 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
86 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
87 * csu/libc-start.c: Include <exit-thread.h>.
88 (LIBC_START_MAIN): Pass no argument to __exit_thread.
89 * nptl/pthread_create.c: Include <exit-thread.h>.
90 (start_thread): Call __exit_thread in place of __exit_thread_inline.
91 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
92 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
93 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
94 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
95 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
96 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
97 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
98 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
99 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
100 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
101 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
102 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
103 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
104 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
105 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
106 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
108 2014-05-13 Andreas Schwab <schwab@suse.de>
110 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
112 2014-05-12 Joseph Myers <joseph@codesourcery.com>
114 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
115 (__ASSUME_UTIMES): Do not condition on kernel version.
116 (__ASSUME_PSELECT): Define unconditionally.
117 (__ASSUME_PPOLL): Likewise.
118 (__ASSUME_ATFCTS): Likewise.
119 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
120 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
121 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
122 (__ASSUME_UTIMENSAT): Define unconditionally.
123 (__ASSUME_PRIVATE_FUTEX): Likewise.
124 (__ASSUME_FALLOCATE): Likewise.
125 (__ASSUME_O_CLOEXEC): Likewise.
126 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
127 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
128 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
129 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
130 (__ASSUME_IN_NONBLOCK): Likewise.
131 (__ASSUME_PIPE2): Likewise.
132 (__ASSUME_EVENTFD2): Likewise.
133 (__ASSUME_SIGNALFD4): Likewise.
134 (__ASSUME_DUP3): Likewise.
135 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
136 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
137 (__ASSUME_AT_RANDOM): Likewise.
138 (__ASSUME_PREADV): Likewise.
139 (__ASSUME_PWRITEV): Likewise.
140 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
141 (__ASSUME_F_GETOWN_EX): Define unconditionally.
142 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
143 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
144 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
146 (__ASSUME_O_CLOEXEC): Define unconditionally.
147 (__ASSUME_PSELECT): Do not undefine conditionally.
148 (__ASSUME_PPOLL): Likewise.
149 (__ASSUME_ATFCTS): Likewise.
150 (__ASSUME_SET_ROBUST_LIST): Likewise.
151 (__ASSUME_UTIMENSAT): Likewise.
152 (__ASSUME_FDATASYNC): Define unconditionally.
153 * sysdeps/unix/sysv/linux/arm/kernel-features.h
154 (__ASSUME_SIGFRAME_V2): Likewise.
155 )__ASSUME_EVENTFD2): Likewise.
156 (__ASSUME_SIGNALFD4): Likewise.
157 (__ASSUME_PSELECT): Do not undefine conditionally.
158 (__ASSUME_PPOLL): Likewise.
159 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
160 (__ASSUME_PSELECT): Define unconditionally.
161 (__ASSUME_PPOLL): Likewise.
162 (__ASSUME_O_CLOEXEC): Likewise.
163 (__ASSUME_SOCK_CLOEXEC): Likewise.
164 (__ASSUME_IN_NONBLOCK): Likewise.
165 (__ASSUME_PIPE2): Likewise.
166 (__ASSUME_EVENTFD2): Likewise.
167 (__ASSUME_SIGNALFD4): Likewise.
168 (__ASSUME_DUP3): Likewise.
169 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
170 (__ASSUME_O_CLOEXEC): Likewise.
171 (__ASSUME_SOCK_CLOEXEC): Likewise.
172 (__ASSUME_IN_NONBLOCK): Likewise.
173 (__ASSUME_PIPE2): Likewise.
174 (__ASSUME_EVENTFD2): Likewise.
175 (__ASSUME_SIGNALFD4): Likewise.
176 (__ASSUME_DUP3): Likewise.
177 * sysdeps/unix/sysv/linux/mips/kernel-features.h
178 (__ASSUME_EVENTFD2): Likewise.
179 (__ASSUME_SIGNALFD4): Likewise.
180 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
182 2014-05-12 Andreas Schwab <schwab@suse.de>
185 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
186 (_nss_nis_gethostbyname4_r): Return error if item length is larger
187 than maximum RPC packet size.
188 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
189 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
190 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
191 (_nss_nis_getservbyport_r): Likewise.
193 2014-05-12 Will Newton <will.newton@linaro.org>
195 * malloc/Makefile (tests): Add tst-mallopt.
196 * malloc/tst-mallopt.c: New file.
198 2014-05-09 Roland McGrath <roland@hack.frob.com>
200 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
201 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
203 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
206 (tst-tlsmod6.so): Likewise.
208 2014-05-09 Roland McGrath <roland@hack.frob.com>
210 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
212 2014-05-09 Joseph Myers <joseph@codesourcery.com>
215 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
217 (__fegetenv): Save SSE state in envp->__eip if supported.
218 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
219 envp->__eip if supported.
220 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
222 (__fesetenv): Always set __eip, __cs_selector, __opcode,
223 __data_offset and __data_selector in environment to 0. Set SSE
225 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
227 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
229 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
231 2014-05-09 Will Newton <will.newton@linaro.org>
233 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
234 and libc_relro_required for ARM.
235 * sysdeps/arm/preconfigure: Regenerate.
237 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
238 Stefan Liebler <stli@linux.vnet.ibm.com>
240 * config.make.in (enable-lock-elision): New Makefile variable.
241 * configure.ac: Likewise.
242 * configure: Regenerate.
243 * sysdeps/s390/configure.ac:
244 Add check for gcc transactions support.
245 * sysdeps/s390/configure: Regenerate.
246 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
247 Build elision files if enabled.
248 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
249 Add lock elision support for s390.
250 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
251 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
252 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
253 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
254 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
255 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
256 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
258 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
260 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
262 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
264 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
265 (__lll_timedlock_elision, __lll_lock_elision)
266 (__lll_unlock_elision, __lll_trylock_elision)
267 (lll_timedlock_elision, lll_lock_elision)
268 (lll_unlock_elision, lll_trylock_elision): Add.
269 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
270 (pthread_mutex_t): Add lock elision support for s390.
272 2014-05-09 Will Newton <will.newton@linaro.org>
274 * sysdeps/arm/armv7/strcmp.S: New file.
275 * NEWS: Mention addition of ARMv7 optimized strcmp.
277 2014-05-08 Roland McGrath <roland@hack.frob.com>
279 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
280 look for %.ac rather than %.in.
282 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
283 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
284 * sysdeps/mach/hurd/configure: Regenerated.
285 * sysdeps/unix/sysv/linux/configure: Regenerated.
287 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
289 2014-05-07 Steve Ellcey <sellcey@mips.com>
292 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
296 2014-05-07 Andreas Schwab <schwab@suse.de>
298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
299 when skipping over non-matching result from nscd.
301 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
304 * nptl/sockperf.c (client): Check socket return value.
307 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
310 2014-05-06 Roland McGrath <roland@hack.frob.com>
312 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
313 * sysdeps/arm/unwind.h: ... here.
315 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
318 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
321 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
323 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
324 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
325 multiarch strncpy for PPC64.
326 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
327 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
329 multiarch optimizations.
330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
331 (__libc_ifunc_impl_list): Likewise.
332 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
334 multiarch stpncpy for PPC64.
335 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
336 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
338 2014-05-06 Andreas Schwab <schwab@suse.de>
341 * gmon/mcount.c (_MCOUNT_DECL): Use
342 atomic_compare_and_exchange_bool_acq instead of
343 catomic_compare_and_exchange_bool_acq.
345 2014-05-05 Roland McGrath <roland@hack.frob.com>
347 * elf/Makefile (others, install-bin): Remove pldd.
348 (pldd-modules): Variable removed.
349 ($(objpfx)pldd): Target removed.
350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
351 (others, install-bin): Append pldd here.
352 ($(objpfx)pldd): New target.
354 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
355 to 0, so the first #if test emitted later doesn't see it undefined.
356 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
357 * sysdeps/gnu/errlist.c: Regenerated.
359 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
362 [libc_hidden_builtin_def]: Define to empty value.
363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
364 [libc_hidden_builtin_def]: Likewise.
365 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
366 [libc_hidden_builtin_def]: Likewise.
367 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
368 [libc_hidden_builtin_def]: Likewise.
369 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
370 __redirect_memcpy and define ifunc as default hidden symbol.
371 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
372 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
374 2014-05-04 Adam Conrad <adconrad@0c3.net>
376 * locale/iso-4217.def: Reintroduce XDR currency.
378 2014-05-04 Allan McRae <allan@archlinux.org>
380 * po/eo.po: Update Esperanto translation from translation project.
382 2014-05-02 Carlos O'Donell <carlos@redhat.com>
384 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
385 and FEATURE_INDEX_MAX to 1.
386 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
388 2014-05-01 Steve Ellcey <sellcey@mips.com>
390 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
391 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
392 * iconvdata/big5.c (ONE_DIRECTION): Define.
393 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
394 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
395 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
396 * iconvdata/cp932.c (ONE_DIRECTION): Define.
397 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
398 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
399 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
400 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
401 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
402 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
403 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
404 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
405 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
406 * iconvdata/gbk.c (ONE_DIRECTION): Define.
407 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
408 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
409 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
410 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
411 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
412 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
413 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
414 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
415 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
416 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
417 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
418 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
419 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
420 * iconvdata/iso646.c (ONE_DIRECTION): Define.
421 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
422 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
423 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
424 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
425 * iconvdata/johab.c (ONE_DIRECTION): Define.
426 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
427 * iconvdata/sjis.c (ONE_DIRECTION): Define.
428 * iconvdata/t.61.c (ONE_DIRECTION): Define.
429 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
430 * iconvdata/tscii.c (ONE_DIRECTION): Define.
431 * iconvdata/uhc.c (ONE_DIRECTION): Define.
432 * iconvdata/unicode.c (ONE_DIRECTION): Define.
433 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
434 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
435 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
437 2014-05-01 Roland McGrath <roland@hack.frob.com>
439 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
440 (_IO_JUMPS_OFFSET): Define to 0.
442 * nptl/sysdeps/pthread/bits/libc-lock.h
443 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
444 (__libc_lock_define_initialized_recursive): Always define using
445 initializer. Modern compilers treat uninitialized (implicit zero) and
446 explicit zero initializers the same (i.e. put the datum in bss).
448 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
450 * nscd/nscd-client.h: Include <string.h>.
452 2014-05-01 David S. Miller <davem@davemloft.net>
455 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
456 multiple zero bytes exist at the end of a string.
457 Reported by Aurelien Jarno <aurelien@aurel32.net>
459 * string/test-strcmp.c (check): Add explicit test for situations where
460 there are multiple zero bytes after the first.
462 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
465 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
466 when compiling wprintf.
467 * stdio-common/tstdiomisc.c (t3): New function.
470 2014-05-01 Steve Ellcey <sellcey@mips.com>
472 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
473 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
474 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
475 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
477 2014-05-01 Steve Ellcey <sellcey@mips.com>
479 * stdlib/longlong.h: Updated from GCC.
481 2014-05-01 Will Newton <will.newton@linaro.org>
482 Bernard Ogden <bernie.ogden@linaro.org>
484 * NEWS: Update fixed bug list.
487 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
489 2014-04-30 David S. Miller <davem@davemloft.net>
491 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
492 (libc_feholdexcept_setround_sparc_ctx): New function.
493 (libc_fesetenv_sparc_ctx): Likewise.
494 (libc_feupdateenv_sparc_ctx): Likewise.
495 (libc_feholdsetround_sparc_ctx): Likewise.
496 (libc_feholdexcept_setround_ctx): Define.
497 (libc_feholdexcept_setroundf_ctx): Likewise.
498 (libc_feholdexcept_setroundl_ctx): Likewise.
499 (libc_fesetenv_ctx): Likewise.
500 (libc_fesetenvf_ctx): Likewise.
501 (libc_fesetenvl_ctx): Likewise.
502 (libc_feupdateenv_ctx): Likewise.
503 (libc_feupdateenvf_ctx): Likewise.
504 (libc_feupdateenvl_ctx): Likewise.
505 (libc_feresetround_ctx): Likewise.
506 (libc_feresetroundf_ctx): Likewise.
507 (libc_feresetroundl_ctx): Likewise.
508 (libc_feholdsetround_ctx): Likewise.
509 (libc_feholdsetroundf_ctx): Likewise.
510 (libc_feholdsetroundl_ctx): Likewise.
512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
513 with __USE_GNU instead of XOPEN cpp guards.
515 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
519 with XOPEN cpp guards.
521 2014-04-30 Julian Brown <julian@codesourcery.com>
524 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
527 2014-04-30 Joseph Myers <joseph@codesourcery.com>
530 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
532 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
533 * sysdeps/unix/sysv/linux/configure: Regenerated.
534 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
535 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
536 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
537 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
538 * README: Update reference to required Linux kernel version.
539 * manual/install.texi (Linux): Update reference to required Linux
540 kernel headers version.
541 * INSTALL: Regenerated.
543 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
545 [POSIX] (limits.h): Likewise.
546 [POSIX] (math.h): Likewise.
547 [POSIX] (sys/wait.h): Likewise.
548 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
550 [POSIX] (stddef.h): Do not allow header inclusion.
552 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
556 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
558 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
559 Return immediately after lll_futex_wake.
561 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
564 * nscd/nscd-client.h (datahead_init_common): Initialize entire
566 (datahead_init_pos): Call datahead_init_common early.
567 (datahead_init_neg): Likewise.
569 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
570 datahead_init_neg): New functions.
571 * nscd/aicache.c (addhstaiX): Use them.
572 * nscd/grpcache.c (cache_addgr): Likewise.
573 * nscd/hstcache.c (cache_addhst): Likewise.
574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
575 * nscd/netgroupcache.c (do_notfound): Likewise.
576 (addgetnetgrentX): Likewise.
577 (addinnetgrX): Likewise.
578 * nscd/pwdcache.c (cache_addpw): Likewise.
579 * nscd/servicescache.c (cache_addserv): Likewise.
581 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
582 Atsushi Onoe <atsushi@onoe.org>
587 * resolv/res_query.c (__libc_res_nsearch): Return if at least
588 one response is valid.
589 * resolv/res_send.c (send_dg): Check for validity of other
590 response if the current response is a referral.
592 2014-04-29 Steve Ellcey <sellcey@mips.com>
594 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
596 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
599 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
600 Always divide by positive zero when computing -Inf result.
601 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
602 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
604 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
607 FPSCR if value do not change.
608 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
610 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
612 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
613 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
616 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
618 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
619 * sysdeps/unix/sysv/linux/hppa: Move directory from
620 ports/systeps/unix/sysv/linux/hppa.
621 * README: Update listing for hppa-*-linux-gnu.
623 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
626 * manual/stdio.texi (Hook functions): Fix types of stream hook
629 * socket/sys/socket.h: Fix typo in comment.
631 2014-04-28 Wilco <wdijkstr@arm.com>
633 * sysdeps/arm/fenv_private.h: New file.
634 * sysdeps/arm/math_private.h: New file.
635 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
637 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
639 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
641 (La_x86_64_retval): Likewise.
643 2014-04-24 Ian Bolton <ian.bolton@arm.com>
645 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
646 fpsr if value didn't change.
647 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
648 to fpcr if value didn't change.
649 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
650 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
651 fpsr or fpcr if value didn't change.
652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
653 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
654 fpcr if value didn't change.
655 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
656 to fpsr if value didn't change.
658 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
660 * nptl/tst-sem3.c: Use test-skeleton.c
661 (main): Rename to do_test. Use return instead of
663 * nptl/tst-sem4.c: Use test-skeleton.c
664 (main): Rename to do_test.
666 2014-04-22 David S. Miller <davem@davemloft.net>
668 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
669 (struct sigaction): New struct member __glibc_reserved0, change
670 type of sa_flags to int.
672 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
674 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
675 (COUNT_LEADING_ZEROS_0): Define for AArch64.
677 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
679 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
680 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
682 2014-04-22 Will Newton <will.newton@linaro.org>
683 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
685 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
686 (__longjmp): Add longjmp and longjmp_target SystemTap
688 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
689 (__sigsetjmp): Add setjmp SystemTap probe.
691 2014-04-17 Carlos O'Donell <carlos@redhat.com>
693 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
696 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
698 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
700 * sysdeps/powerpc/fpu/fenv_private.h
701 (libc_feholdexcept_setroundl_ctx): Define to
702 libc_feholdexcept_setround_ppc_ctx.
703 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
704 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
705 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
706 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
708 2014-04-17 Ian Bolton <ian.bolton@arm.com>
710 * sysdeps/aarch64/math-tests.h: New file.
712 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
714 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
717 Check and set bit_AVX2_Usable.
718 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
720 (bit_AVX2): Likewise.
721 (index_AVX2_Usable): Likewise.
722 (CPUID_AVX2): Likewise.
723 (HAS_AVX2): Likewise.
725 2014-04-17 Will Newton <will.newton@linaro.org>
727 * manual/setjmp.texi (System V contexts): Add note that
728 calling setcontext on a context created by a call to a
729 signal handler is undefined. Update text to note that
730 setcontext from a signal handler is possible but not
734 * stdlib/tst-setcontext.c: Include signal.h.
735 (main): Check that the signal stack before and
736 after swapcontext is the same.
738 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
739 Re-implement to restore registers in user code and avoid
740 rt_sigreturn system call.
742 2014-04-17 Wilco <wdijkstr@arm.com>
744 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
745 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
746 * math/test-fenv.c: Skip exception trap tests on targets which only
747 support non-stop mode.
749 2014-04-17 Ian Bolton <ian.bolton@arm.com>
750 Wilco Dijkstra <wilco.dijkstra@arm.com>
752 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
753 (libc_feholdsetround_aarch64_ctx)
754 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
755 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
756 (libc_feresetround_ctx, libc_feresetroundf_ctx)
757 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
758 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
759 (libc_feresetround_noexl_ctx): Define.
761 2014-04-16 Richard Henderson <rth@redhat.com>
763 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
765 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
768 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
769 const from the non-libc, non-ldso copy.
771 * sysdeps/alpha/libm-test-ulps: Regenerate.
773 2014-04-16 Ian Bolton <ian.bolton@arm.com>
774 Wilco Dijkstra <wilco.dijkstra@arm.com>
776 * sysdeps/aarch64/fpu/math_private.h: New file.
778 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
780 * sysdeps/aarch64/libm-test-ulps: Regenerate.
782 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
784 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
785 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
787 Intel MPX bound registers before _dl_profile_fixup.
788 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
789 registers after _dl_profile_fixup. Save and restore bound
790 registers bnd0/bnd1 when calling _dl_call_pltexit.
791 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
792 (LR_BND_OFFSET): Likewise.
793 (LRV_BND0_OFFSET): Likewise.
794 (LRV_BND1_OFFSET): Likewise.
796 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
798 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
800 * sysdeps/mach/hurd/i386/tls.h: ... here.
801 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
802 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
805 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
807 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
809 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
811 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
813 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
816 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
817 * sysdeps/s390/configure: Regenerate.
820 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
821 Set round-to-nearest internally to reduce error accumulation.
823 2014-04-16 Alan Modra <amodra@gmail.com>
827 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
828 * math/libm-test.inc (frexp_test_data): Add tests.
829 * NEWS: Update fixed bug list.
831 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
833 * benchtests/Makefile: Depend on libraries in build directory.
834 (bench-math): Separate out math tests.
835 (bench-pthread): Separate out pthread tests.
836 (bench): Include math and pthread tests.
838 2014-04-14 Carlos O'Donell <carlos@redhat.com>
841 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
842 _dl_debug_initialize.
844 * configure.ac: Remove SELinux header check.
845 * configure: Regenerate.
846 * nscd/selinux.c (perms): Array of const char* to permission names.
847 (nscd_request_avc_has_perm): Call security_deny_unknown to find
848 default policy. Call string_to_security_class and string_to_av_perm to
849 translate strings. Enforce default policy and call avs_has_perm with
850 results of translated strings.
852 2014-04-13 David S. Miller <davem@davemloft.net>
854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
856 2014-04-12 Allan McRae <allan@archlinux.org>
859 * manual/string.texi (Collation Functions): Fix qsort argument
861 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
863 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
865 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
866 Make the test a no-op if there are no exceptions defined.
868 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
870 * elf/Makefile (tests): make tst-dlopen-aout conditional on
871 enable-hardcoded-path-in-tests
873 2014-04-11 Will Newton <will.newton@linaro.org>
875 * benchtests/Makefile (extra-objs): Add json-lib.o.
876 (bench-func): Tidy up JSON output.
877 * benchtests/bench-skeleton.c: Include json-lib.h.
878 (main): Use JSON library functions to do output of
880 * benchtests/bench-timing-type.c (main): Output the
881 timing type simply, leaving formatting to the user.
882 * benchtests/json-lib.c: New file.
883 * benchtests/json-lib.h: Likewise.
885 2014-04-11 Torvald Riegel <triegel@redhat.com>
888 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
889 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
890 memory barriers. Add comments.
891 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
892 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
893 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
894 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
895 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
896 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
898 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
900 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
901 * sysdeps/s390/s390-64/configure.ac: ... this ...
902 * sysdeps/s390/configure.ac: ... to here.
903 * sysdeps/s390/s390-32/configure: Delete file.
904 * sysdeps/s390/s390-64/configure: Delete file.
905 * sysdeps/s390/configure: Regenerate.
907 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
909 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
911 2014-04-11 Will Newton <will.newton@linaro.org>
913 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
914 to zero if it is not defined elsewhere. (mtrim): Test
915 the value of MALLOC_DEBUG with #if rather than #ifdef.
917 2014-04-10 Torvald Riegel <triegel@redhat.com>
919 * benchtests/pthread_once-inputs: New file.
920 * benchtests/pthread_once-source.c: New file.
921 * benchtests/README: Update documentation.
923 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
924 H.J. Lu <hongjiu.lu@intel.com>
926 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
927 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
928 * sysdeps/x86_64/configure: Regenerated.
929 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
931 (REGISTER_SAVE_RAX): Likewise.
932 (REGISTER_SAVE_RCX): Likewise.
933 (REGISTER_SAVE_RDX): Likewise.
934 (REGISTER_SAVE_RSI): Likewise.
935 (REGISTER_SAVE_RDI): Likewise.
936 (REGISTER_SAVE_R8): Likewise.
937 (REGISTER_SAVE_R9): Likewise.
938 (REGISTER_SAVE_BND0): Likewise.
939 (REGISTER_SAVE_BND1): Likewise.
940 (REGISTER_SAVE_BND2): Likewise.
941 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
942 bound registers when calling _dl_fixup.
944 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
947 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
949 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
950 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
951 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
952 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
953 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
954 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
955 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
957 2014-04-09 Peter Brett <peter@peter-b.co.uk>
960 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
961 pathconf(_PC_NAME_MAX).
963 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
967 (__PTHREAD_SPINS): Move definition to ...
968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
969 (__PTHREAD_SPINS): ... here.
970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
971 (__PTHREAD_SPIN): Likewise.
972 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
973 (__PTHREAD_SPIN): Likewise.
974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
975 (__PTHREAD_SPIN): Likewise.
976 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
977 (__PTHREAD_SPIN): Likewise.
978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
979 (__PTHREAD_SPIN): Likewise.
980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
981 (__PTHREAD_SPIN): Likewise.
982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
983 (__PTHREAD_SPIN): Likewise.
984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
985 (__PTHREAD_SPIN): Likewise.
986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
987 (__PTHREAD_SPIN): Likewise.
988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
989 (__PTHREAD_SPIN): Likewise.
990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
991 (__PTHREAD_SPIN): Likewise.
992 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
993 (__PTHREAD_SPIN): Likewise.
995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
997 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1002 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1005 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1006 strlen symbol for non multi-arch builds.
1007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1008 missing hidden_def and weak_alias.
1010 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1012 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1014 2014-04-07 Will Newton <will.newton@linaro.org>
1016 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1017 and contents. [!_LIBC] Remove #ifndef and contents.
1018 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1019 * string/memccpy.c (__memccpy): Use ANSI prototype.
1020 * string/memfrob.c (memfrob): Likewise.
1021 * string/strcoll.c (STRCOLL): Likewise.
1022 * string/strlen.c (strlen): Likewise.
1023 * string/strtok.c (STRTOK): Likewise.
1024 * string/strcat.c: Remove unused #include of memcopy.h.
1025 (strcat): Use ANSI prototype.
1026 * string/strchr.c: Remove unused #include of memcopy.h.
1027 (strchr): Use ANSI prototype.
1028 * string/strcmp.c: Remove unused #include of memcopy.h.
1029 (strcmp): Use ANSI prototype.
1030 * string/strcpy.c: Remove unused #include of memcopy.h.
1031 (strcpy): Use ANSI prototype.
1033 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1036 * config.make.in (config-extra-cppflags): Set it from
1037 libc_extra_cppflags.
1038 * configure.ac (libc_extra_cflags): Make it accumulate over
1039 configure fragments.
1040 (libc_extra_cppflags): New flag.
1041 * configure. Regenerate.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1043 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1044 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1049 result for FE_DOWNWARD rounding mode.
1050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1054 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1056 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1057 in function argument name.
1059 2014-04-03 David Svoboda <svoboda@cert.org>
1062 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1065 2014-04-03 Roland McGrath <roland@hack.frob.com>
1067 * elf/dl-unmap-segments.h: New file.
1068 * sysdeps/generic/ldsodefs.h
1069 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1070 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1071 * elf/dl-fptr.c: Likewise.
1072 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1073 * sysdeps/aarch64/tlsdesc.c: Likewise.
1074 * sysdeps/arm/tlsdesc.c: Likewise.
1075 * sysdeps/i386/tlsdesc.c: Likewise.
1076 * sysdeps/tile/dl-runtime.c: Likewise.
1077 * sysdeps/x86_64/tlsdesc.c: Likewise.
1078 * elf/dl-load.h: New file.
1079 * elf/dl-load.c: Include it.
1080 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1081 Macros moved to dl-load.h.
1082 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1083 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1084 Use _dl_unmap_segments in place of __munmap.
1085 Break out segment-mapping loop into ...
1086 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1088 2014-04-03 Will Newton <will.newton@linaro.org>
1090 * elf/dl-lookup.c (do_lookup_x): Remove comment
1091 referring to nested function and move variable
1092 declarations down to before first use.
1094 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1098 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1100 * math/s_catanf.c (__catanf): Likewise.
1101 * math/s_catanh.c (__catanh): Likewise.
1102 * math/s_catanhf.c (__catanhf): Likewise.
1103 * math/s_catanhl.c (__catanhl): Likewise.
1104 * math/s_catanl.c (__catanl): Likewise.
1105 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1106 by positive zero when computing -Inf result.
1107 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1108 (catanh_test): Likewise.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1113 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1114 instead of using underflowing value in computing result.
1115 * math/s_clog10.c (__clog10): Likewise.
1116 * math/s_clog10f.c (__clog10f): Likewise.
1117 * math/s_clog10l.c (__clog10l): Likewise.
1118 * math/s_clogf.c (__clogf): Likewise.
1119 * math/s_clogl.c (__clogl): Likewise.
1120 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1121 (clog10_test): Likewise.
1122 * sysdeps/i386/fpu/libm-test-ulps: Update.
1123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125 2014-04-02 Alan Modra <amodra@gmail.com>
1128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1129 output when value is near a power of two. Use int64_t for lx and
1130 remove casts. Use decimal rather than hex exponent constants.
1131 Don't use long double multiplication when double will suffice.
1132 * math/libm-test.inc (nextafter_test_data): Add tests.
1133 * NEWS: Add 16739 and 16786 to bug list.
1135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1137 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1139 2014-04-01 Will Newton <will.newton@linaro.org>
1141 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1142 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1144 2014-04-01 Florian Weimer <fweimer@redhat.com>
1147 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1148 * nptl/tst-setuid2.c: New file.
1149 * nptl/Makefile (xtests): Add tst-setuid2.
1151 2014-04-01 Alan Modra <amodra@gmail.com>
1154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1156 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1160 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1161 set errno as appropriate.
1162 * math/w_scalbf.c (__scalbf): Likewise.
1163 * math/w_scalbl.c (__scalbl): Likewise.
1164 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1165 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1166 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1170 * math/w_atan2.c: Include <errno.h>.
1171 (__atan2): Set errno for result underflowing to zero.
1172 * math/w_atan2f.c: Include <errno.h>.
1173 (__atan2f): Set errno for result underflowing to zero.
1174 * math/w_atan2l.c: Include <errno.h>.
1175 (__atan2l): Set errno for result underflowing to zero.
1176 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1178 * math/auto-libm-test-out: Regenerated.
1180 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1183 Encode instruction correctly in little endian.
1184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1193 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1196 * sysdeps/unix/sysv/linux/kernel-features.h
1197 [__sparc__ && !__arch64__ && !__sparc_v9__]
1198 (__ASSUME_SET_ROBUST_LIST): Do not define.
1199 [__sparc__ && !__arch64__ && !__sparc_v9__]
1200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1201 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1204 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1205 (__ASSUME_REQUEUE_PI): Likewise.
1206 (__ASSUME_SET_ROBUST_LIST): Likewise.
1207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1208 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1221 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1227 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1229 2014-03-31 Will Newton <will.newton@linaro.org>
1231 * benchtests/Makefile (bench): Add ffs and ffsll to list
1233 * benchtests/ffs-inputs: New file.
1234 * benchtests/ffsll-inputs: Likewise.
1236 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1239 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1240 too large before casting to int.
1241 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1242 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1243 * math/libm-test.inc (scalb_test_data): Add more tests.
1245 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1247 * benchtests/Makefile (DETAILED_OPT): New make option.
1248 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1250 * benchtests/bench-skeleton.c: Include stdbool.h.
1251 (main): Store and print timings per input.
1252 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1253 member to each argument value.
1254 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1255 (_print_arg_data): Initialize per-input timing to 0.
1257 * benchtests/Makefile (timing-type): New binary.
1258 (bench-clean): Also remove bench-timing-type.
1259 (bench): New target for timing-type.
1260 (bench-func): Print output in JSON format.
1261 * benchtests/bench-skeleton.c (main): Print output in JSON
1263 * benchtests/bench-timing-type.c: New file.
1264 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1265 (TIMING_PRINT_STATS): Remove.
1266 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1269 * benchtests/bench-modf.c: Remove.
1270 * benchtests/modf-inputs: New inputs file.
1272 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1275 * math/s_clog10.c (M_PI_LOG10E): New macro.
1276 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1277 imaginary parts are 0.
1278 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1279 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1280 imaginary parts are 0.
1281 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1282 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1283 imaginary parts are 0.
1284 * math/libm-test.inc (clog10_test_data): Update expected results
1285 for when real and imaginary parts are 0.
1287 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1289 * elf/dl-load.c: Finish conversion of __builtin_expect into
1292 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1296 1+x for argument with exponent below -67.
1297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1299 * math/auto-libm-test-in: Add more tests of exp.
1300 * math/auto-libm-test-out: Regenerated.
1302 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1305 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1306 (nscd_getnetgrent): Use it.
1309 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1312 2014-03-27 Andi Kleen <ak@linux.intel.com>
1314 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1317 (lll_robust_unlock): Remove out of line section. Use cfi
1319 (LLL_STUB_UNWIND_INFO*): Remove.
1320 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1321 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1322 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1323 (lll_robust_unlock): Remove out of line section. Use cfi
1325 (LLL_STUB_UNWIND_INFO*): Remove.
1327 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1330 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1333 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1335 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1337 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1340 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1342 * math/test-fenv-preserve.c: New file.
1343 * math/Makefile (tests): Add test-fenv-preserve.
1345 2014-03-26 Will Newton <will.newton@linaro.org>
1347 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1349 2014-03-25 Roland McGrath <roland@hack.frob.com>
1351 * scripts/versionlist.awk: Partition the version sets and emit all
1352 GLIBC_* (sorted) before all others (sorted).
1354 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1356 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1357 GLIBC_2.2.5 version.
1359 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1369 2014-03-25 Andreas Schwab <schwab@suse.de>
1371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1372 label to be used after in6ailist is initialized.
1374 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1377 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1379 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1383 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1385 (fp_formats): Update initializers.
1386 (init_fp_formats): Initialize new field.
1387 (output_for_one_input_case): Allow underflow for results up to
1389 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1390 * math/auto-libm-test-in: Don't mark some underflows from asin and
1392 * math/auto-libm-test-out: Regenerated.
1393 * sysdeps/i386/fpu/libm-test-ulps: Update.
1394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396 2014-03-25 Andreas Schwab <schwab@suse.de>
1398 * libio/Makefile (tst-ftell-partial-wide-ENV)
1399 (tst-ftell-active-handler-ENV): Define.
1401 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1403 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1405 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1407 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1409 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1412 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1413 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1415 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1418 * elf/dl-load.c (open_verify): Add mode parameter.
1419 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1420 (open_path): Change from boolean 'secure' to complete flag 'mode'
1421 (_dl_map_object): Adjust.
1422 * elf/Makefile (tests): Add tst-dlopen-aout.
1423 * elf/tst-dlopen-aout.c: New test.
1425 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1428 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1429 (struct stat): Rename member pad0 to __glibc_reserved0.
1432 * sysdeps/s390/s390-32/bits/wordsize.h
1433 (__WORDSIZE32_SIZE_ULONG): New define.
1434 * sysdeps/s390/s390-64/bits/wordsize.h
1435 (__WORDSIZE32_SIZE_ULONG): Likewise.
1436 * sysdeps/generic/stdint.h (SIZE_MAX):
1437 Define as UL if __WORDSIZE32_SIZE_ULONG.
1440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1441 (__glibc_reserved0): New variable.
1442 (sa_flags): Change type to int.
1444 * posix/Makefile (before-compile): Use += before-compile instead
1447 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1448 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1450 2014-03-20 Andreas Schwab <schwab@suse.de>
1453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1454 non-matching result from nscd.
1456 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1458 * scripts/bench.py: Moved to ...
1459 * benchtests/scripts/bench.py: ... here.
1460 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1462 2014-03-24 Andreas Schwab <schwab@suse.de>
1465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1466 alloca_account and account alloca use for struct in6ailist.
1468 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1471 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1472 rounding mode to recompute results that overflow to infinity or
1474 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1476 * math/auto-libm-test-out: Regenerated.
1477 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1478 (ccosh_test): Likewise.
1479 (csin_test_data): Use plus_oflow.
1480 (csin_test): Use ALL_RM_TEST.
1481 (csinh_test_data): Use plus_oflow.
1482 (csinh_test): Use ALL_RM_TEST.
1483 * sysdeps/i386/fpu/libm-test-ulps: Update.
1484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1486 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1488 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1489 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1490 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1493 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1495 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1496 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1497 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1498 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1501 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1503 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1504 * sysdeps/i386/fpu/libm-test-ulps: Update.
1505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1509 * scripts/bench.pl: Remove file.
1510 * scripts/bench.py: New benchmark script.
1511 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1512 * benchtests/README: Mention python dependency.
1513 * scripts/pylintrc: New file.
1514 * scripts/pylint: New file.
1516 * bits/mathdef.h: Use #ifdef instead of #if.
1517 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1519 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1521 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1524 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1527 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1529 and strpbrk-ppc64 objects.
1530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1531 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1533 multiarch strpbrk for POWER7.
1534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1535 multiarch strpbrk for PPC64.
1536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1538 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1541 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1543 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1544 (atan_test): Likewise.
1545 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1546 (atanh_test): Use ALL_RM_TEST.
1547 (atan2_test_data): Likewise.
1548 (cabs_test): Likewise.
1549 (cacosh_test): Likewise.
1550 (carg_test): Likewise.
1551 (casin_test): Likewise.
1552 (casinh_test): Likewise.
1553 (cbrt_test): Likewise.
1554 (csqrt_test): Likewise.
1555 (erf_test): Likewise.
1556 (erfc_test): Likewise.
1557 (pow10_test): Likewise.
1558 (exp2_test): Likewise.
1559 (hypot_test): Likewise.
1560 (j0_test): Likewise.
1561 (j1_test): Likewise.
1562 (lgamma_test): Likewise.
1563 (gamma_test): Likewise.
1564 (sincos_test): Likewise.
1565 (tanh_test): Likewise.
1566 (y0_test): Likewise.
1567 (y1_test): Likewise.
1568 * sysdeps/i386/fpu/libm-test-ulps: Update.
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1575 and strcspn-ppc64 objects.
1576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1577 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1579 multiarch strcspn for POWER7.
1580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1581 multiarch strcspn for PPC64.
1582 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1584 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1587 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1589 * math/gen-libm-test.pl (generate_testfile): Expect only function
1590 name as argument to AUTO_TESTS_* and pass results for all rounding
1591 modes to parse_args.
1592 (parse_auto_input): Separate inputs of automatic tests from
1593 outputs before storing in %auto_tests.
1594 * math/libm-test.inc (acos_test_data): Update call to
1596 (acos_test): Use ALL_RM_TEST.
1597 (acos_tonearest_test_data): Remove.
1598 (acos_test_tonearest): Likewise.
1599 (acos_towardzero_test_data): Likewise.
1600 (acos_test_towardzero): Likewise.
1601 (acos_downward_test_data): Likewise.
1602 (acos_test_downward): Likewise.
1603 (acos_upward_test_data): Likewise.
1604 (acos_test_upward): Likewise.
1605 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1606 (asin_test_data): Likewise.
1607 (asin_test): Use ALL_RM_TEST.
1608 (asin_tonearest_test_data): Remove.
1609 (asin_test_tonearest): Likewise.
1610 (asin_towardzero_test_data): Likewise.
1611 (asin_test_towardzero): Likewise.
1612 (asin_downward_test_data): Likewise.
1613 (asin_test_downward): Likewise.
1614 (asin_upward_test_data): Likewise.
1615 (asin_test_upward): Likewise.
1616 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1617 (atan_test_data): Likewise.
1618 (atanh_test_data): Likewise.
1619 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1620 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1621 (carg_test_data): Likewise.
1622 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1623 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1624 (ccosh_test_data): Likewise.
1625 (cexp_test_data): Likewise.
1626 (clog_test_data): Likewise.
1627 (clog10_test_data): Likewise.
1628 (cos_test_data): Update call to AUTO_TESTS_f_f.
1629 (cos_test): Use ALL_RM_TEST.
1630 (cos_tonearest_test_data): Remove.
1631 (cos_test_tonearest): Likewise.
1632 (cos_towardzero_test_data): Likewise.
1633 (cos_test_towardzero): Likewise.
1634 (cos_downward_test_data): Likewise.
1635 (cos_test_downward): Likewise.
1636 (cos_upward_test_data): Likewise.
1637 (cos_test_upward): Likewise.
1638 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1639 (cosh_test): Use ALL_RM_TEST.
1640 (cosh_tonearest_test_data): Remove.
1641 (cosh_test_tonearest): Likewise.
1642 (cosh_towardzero_test_data): Likewise.
1643 (cosh_test_towardzero): Likewise.
1644 (cosh_downward_test_data): Likewise.
1645 (cosh_test_downward): Likewise.
1646 (cosh_upward_test_data): Likewise.
1647 (cosh_test_upward): Likewise.
1648 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1649 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1650 (ctan_test_data): Likewise.
1651 (ctan_test): Use ALL_RM_TEST.
1652 (ctan_tonearest_test_data): Remove.
1653 (ctan_test_tonearest): Likewise.
1654 (ctan_towardzero_test_data): Likewise.
1655 (ctan_test_towardzero): Likewise.
1656 (ctan_downward_test_data): Likewise.
1657 (ctan_test_downward): Likewise.
1658 (ctan_upward_test_data): Likewise.
1659 (ctan_test_upward): Likewise.
1660 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1661 (ctanh_test): Use ALL_RM_TEST.
1662 (ctanh_tonearest_test_data): Remove.
1663 (ctanh_test_tonearest): Likewise.
1664 (ctanh_towardzero_test_data): Likewise.
1665 (ctanh_test_towardzero): Likewise.
1666 (ctanh_downward_test_data): Likewise.
1667 (ctanh_test_downward): Likewise.
1668 (ctanh_upward_test_data): Likewise.
1669 (ctanh_test_upward): Likewise.
1670 (erf_test_data): Update call to AUTO_TESTS_f_f.
1671 (erfc_test_data): Likewise.
1672 (exp_test_data): Likewise.
1673 (exp_test): Use ALL_RM_TEST.
1674 (exp_tonearest_test_data): Remove.
1675 (exp_test_tonearest): Likewise.
1676 (exp_towardzero_test_data): Likewise.
1677 (exp_test_towardzero): Likewise.
1678 (exp_downward_test_data): Likewise.
1679 (exp_test_downward): Likewise.
1680 (exp_upward_test_data): Likewise.
1681 (exp_test_upward): Likewise.
1682 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1683 (exp10_test): Use ALL_RM_TEST.
1684 (exp10_tonearest_test_data): Remove.
1685 (exp10_test_tonearest): Likewise.
1686 (exp10_towardzero_test_data): Likewise.
1687 (exp10_test_towardzero): Likewise.
1688 (exp10_downward_test_data): Likewise.
1689 (exp10_test_downward): Likewise.
1690 (exp10_upward_test_data): Likewise.
1691 (exp10_test_upward): Likewise.
1692 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1693 (expm1_test_data): Likewise.
1694 (expm1_test): Use ALL_RM_TEST.
1695 (expm1_tonearest_test_data): Remove.
1696 (expm1_test_tonearest): Likewise.
1697 (expm1_towardzero_test_data): Likewise.
1698 (expm1_test_towardzero): Likewise.
1699 (expm1_downward_test_data): Likewise.
1700 (expm1_test_downward): Likewise.
1701 (expm1_upward_test_data): Likewise.
1702 (expm1_test_upward): Likewise.
1703 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1704 (fma_test): Use ALL_RM_TEST.
1705 (fma_towardzero_test_data): Remove.
1706 (fma_test_towardzero): Likewise.
1707 (fma_downward_test_data): Likewise.
1708 (fma_test_downward): Likewise.
1709 (fma_upward_test_data): Likewise.
1710 (fma_test_upward): Likewise.
1711 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1712 (j0_test_data): Update call to AUTO_TESTS_f_f.
1713 (j1_test_data): Likewise.
1714 (jn_test_data): Update call to AUTO_TESTS_if_f.
1715 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1716 (log_test_data): Update call to AUTO_TESTS_f_f.
1717 (log10_test_data): Likewise.
1718 (log1p_test_data): Likewise.
1719 (log2_test_data): Likewise.
1720 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1721 (pow_tonearest_test_data): Likewise.
1722 (sin_test_data): Update call to AUTO_TESTS_f_f.
1723 (sin_test): Use ALL_RM_TEST.
1724 (sin_tonearest_test_data): Remove.
1725 (sin_test_tonearest): Likewise.
1726 (sin_towardzero_test_data): Likewise.
1727 (sin_test_towardzero): Likewise.
1728 (sin_downward_test_data): Likewise.
1729 (sin_test_downward): Likewise.
1730 (sin_upward_test_data): Likewise.
1731 (sin_test_upward): Likewise.
1732 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1733 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1734 (sinh_test): Use ALL_RM_TEST.
1735 (sinh_tonearest_test_data): Remove.
1736 (sinh_test_tonearest): Likewise.
1737 (sinh_towardzero_test_data): Likewise.
1738 (sinh_test_towardzero): Likewise.
1739 (sinh_downward_test_data): Likewise.
1740 (sinh_test_downward): Likewise.
1741 (sinh_upward_test_data): Likewise.
1742 (sinh_test_upward): Likewise.
1743 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1744 (sqrt_test): Use ALL_RM_TEST.
1745 (sqrt_tonearest_test_data): Remove.
1746 (sqrt_test_tonearest): Likewise.
1747 (sqrt_towardzero_test_data): Likewise.
1748 (sqrt_test_towardzero): Likewise.
1749 (sqrt_downward_test_data): Likewise.
1750 (sqrt_test_downward): Likewise.
1751 (sqrt_upward_test_data): Likewise.
1752 (sqrt_test_upward): Likewise.
1753 (tan_test_data): Update call to AUTO_TESTS_f_f.
1754 (tan_test): Use ALL_RM_TEST.
1755 (tan_tonearest_test_data): Remove.
1756 (tan_test_tonearest): Likewise.
1757 (tan_towardzero_test_data): Likewise.
1758 (tan_test_towardzero): Likewise.
1759 (tan_downward_test_data): Likewise.
1760 (tan_test_downward): Likewise.
1761 (tan_upward_test_data): Likewise.
1762 (tan_test_upward): Likewise.
1763 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1764 (tgamma_test_data): Likewise.
1765 (y0_test_data): Likewise.
1766 (y1_test_data): Likewise.
1767 (yn_test_data): Update call to AUTO_TESTS_if_f.
1768 (main): Do not call removed functions.
1770 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1772 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1773 (ldexp_test_data): Remove.
1774 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1776 (scalb_test): Use ALL_RM_TEST.
1778 2014-03-19 Andreas Schwab <schwab@suse.de>
1780 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1782 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1789 (__ASSUME_PREADV): Undefine.
1790 (__ASSUME_PWRITEV): Likewise.
1792 2014-03-18 Roland McGrath <roland@hack.frob.com>
1794 * bits/mman-linux.h: Add comment about non-Linux use.
1795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1796 bits/mman-linux.h resting place.
1798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1799 * bits/mman-linux.h: ... here.
1801 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803 * conform/conformtest.pl: Add standard definition when calling C
1804 preprocessor on data files.
1805 (checknamespace): Remove unused variable.
1807 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1809 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1810 minus_oflow, plus_uflow and minus_uflow in expected results.
1811 * math/libm-test.inc (scalbn_test_data): Add more tests of
1812 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1814 (scalbn_test): Use ALL_RM_TEST.
1815 (scalbln_test_data): Add more tests of negative arguments. Use
1816 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1817 (scalbln_test): Use ALL_RM_TEST.
1819 2014-03-18 Roland McGrath <roland@hack.frob.com>
1821 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1823 2014-03-18 Will Newton <will.newton@linaro.org>
1825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1828 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1830 * Makerules [!subdir] (check-abi): Exit with error status if a
1833 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1835 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1836 for rint. Include results for all rounding modes.
1837 (nearbyint_test): Use ALL_RM_TEST.
1838 (rint_test_data): Include all tests used for nearbyint.
1840 2014-03-17 Will Newton <will.newton@linaro.org>
1842 * nptl/sysdeps/pthread/pthread.h: Revert previous
1845 * sysdeps/generic/ldsodefs.h: Revert previous
1848 * libio/genops.c: Revert previous change.
1849 * libio/libioP.h: Likewise.
1850 * stdio-common/vfprintf.c: Likewise.
1852 * sysdeps/generic/math_private.h: Revert previous
1855 * sysdeps/generic/math_private.h: Check whether
1856 HAVE_RM_CTX is defined with #ifdef rather
1859 * argp/argp-fmtstream.h: Check whether
1860 __STRICT_ANSI__ is defined with #ifdef rather
1862 * argp/argp.h: Likewise.
1864 * libio/genops.c: Check whether
1865 _IO_JUMPS_OFFSET is defined with #ifdef rather
1867 * libio/libioP.h: Likewise.
1868 * stdio-common/vfprintf.c: Likewise.
1870 * sysdeps/generic/ldsodefs.h: Check whether
1871 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1874 * nptl/sysdeps/pthread/pthread.h: Check
1875 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1878 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1882 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1886 * libio/fileops.c (_IO_file_open): Seek to end of file but
1887 don't cache the offset.
1888 (get_file_offset): Remove function.
1889 (do_ftell): Use cached offset when available.
1890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1891 don't cache the offset.
1892 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1894 (do_one_test): Call it.
1895 (do_ftell_test): Fix up expected old offset for a+ mode.
1896 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1899 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1900 up test status with function return status.
1901 (do_write_test): Likewise.
1902 (do_append_test): Likewise.
1904 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1905 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1908 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1910 * math/gen-libm-test.pl (parse_args): Handle results specified for
1911 each rounding mode separately.
1912 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1913 tests and results from lrint_tonearest_test_data,
1914 lrint_towardzero_test_data, lrint_downward_test_data and
1915 lrint_upward_test_data.
1916 (lrint_test): Use ALL_RM_TEST.
1917 (lrint_tonearest_test_data): Remove.
1918 (lrint_test_tonearest): Likewise.
1919 (lrint_towardzero_test_data): Likewise.
1920 (lrint_test_towardzero): Likewise.
1921 (lrint_downward_test_data): Likewise.
1922 (lrint_test_downward): Likewise.
1923 (lrint_upward_test_data): Likewise.
1924 (lrint_test_upward): Likewise.
1925 (llrint_test_data): Merge in per-rounding-mode tests and results
1926 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1927 llrint_downward_test_data and llrint_upward_test_data.
1928 (llrint_test): Use ALL_RM_TEST.
1929 (llrint_tonearest_test_data): Remove.
1930 (llrint_test_tonearest): Likewise.
1931 (llrint_towardzero_test_data): Likewise.
1932 (llrint_test_towardzero): Likewise.
1933 (llrint_downward_test_data): Likewise.
1934 (llrint_test_downward): Likewise.
1935 (llrint_upward_test_data): Likewise.
1936 (llrint_test_upward): Likewise.
1937 (rint_test_data): Merge in per-rounding-mode tests and results
1938 from rint_tonearest_test_data, rint_towardzero_test_data,
1939 rint_downward_test_data and rint_upward_test_data. Add
1940 per-rounding-mode results for tests not in those arrays.
1941 (rint_test): Use ALL_RM_TEST.
1942 (rint_tonearest_test_data): Remove.
1943 (rint_test_tonearest): Likewise.
1944 (rint_towardzero_test_data): Likewise.
1945 (rint_test_towardzero): Likewise.
1946 (rint_downward_test_data): Likewise.
1947 (rint_test_downward): Likewise.
1948 (rint_upward_test_data): Likewise.
1949 (rint_test_upward): Likewise.
1950 (main): Don't call removed functions.
1952 2014-03-14 Roland McGrath <roland@hack.frob.com>
1954 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1955 "Compiled on ..." crapola. It is anti-useful.
1957 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1959 * scripts/evaluate-test.sh: Handle fourth argument to determine
1960 whether test run should stop on failure.
1961 * Makeconfig (stop-on-test-failure): New variable.
1962 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1963 $(stop-on-test-failure).
1964 * Makefile (tests): Give a summary of results from testing and
1965 exit with failure status if they include an ERROR or FAIL.
1967 * manual/install.texi (Configuring and compiling): Mention
1968 stop-on-test-failure=y.
1969 * INSTALL: Regenerated.
1971 2014-03-14 Roland McGrath <roland@hack.frob.com>
1973 * scripts/versionlist.awk: New file.
1974 * Makerules [$(build-shared) = yes]
1975 (postclean-generated): Add Versions.def, not Versions.def.v and
1977 ($(common-objpfx)Versions.def.v.i): Target removed.
1978 ($(common-objpfx)Versions.def): New target.
1979 ($(common-objpfx)Versions.all): Depend on that rather that
1980 $(common-objpfx)Versions.def.v.
1981 * Versions.def: File removed.
1983 * Makeconfig (+gccwarn): Add -Wundef.
1984 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1985 a dl-sysdep.h breaking its contract.
1986 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1987 * include/stackinfo.h: New file.
1988 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1989 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1990 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1991 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1992 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1993 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1994 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1995 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1996 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1997 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1998 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1999 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2000 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2001 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2002 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2004 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2009 * math/libm-test.inc (round_test_data): Add more tests.
2012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2014 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2019 * math/libm-test.inc (ceil_test_data): Add more tests.
2021 * math/libm-test.inc (trunc_test_data): Add more tests related to
2024 2014-03-14 Roland McGrath <roland@hack.frob.com>
2026 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2027 with #if rather than #ifdef.
2028 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2030 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2032 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2033 first. Disable AVX-512 GCC support if assembler doesn't support
2035 * sysdeps/x86_64/configure: Regenerated.
2037 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2039 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2040 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2041 (__old_pthread_attr_setstack): Likewise.
2042 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2043 [!_STACK_GROWS_DOWN]: Likewise.
2045 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2047 * config.make.in (have-bash2): Delete.
2048 * configure.ac (libc_cv_have_bash2): Delete.
2049 * configure: Regenerate.
2050 * elf/Makefile (common-ldd-rewrite): Rename to ...
2051 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2052 (sh-ldd-rewrite): Delete.
2053 (bash-ldd-rewrite): Delete.
2054 (have-bash2): Delete checks.
2055 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2058 * config.make.in (have-ksh): Delete.
2060 * configure.ac (libc_cv_have_ksh): Delete.
2061 * configure: Regenerate.
2063 * elf/Makefile: Delete $(have-ksh) check.
2064 ($(objpfx)sotruss): Change KSH to BASH.
2065 * elf/sotruss.ksh: Rename to ...
2066 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2067 function style to match POSIX. Drop ksh vim mode setting.
2069 * manual/time.texi (Specifying the Time Zone with TZ): Change
2070 Tuesday to Thursday.
2072 * debug/tst-longjmp_chk2.c: Update header comment.
2073 (stackoverflow_handler): Add comment. Call assert on pass value.
2075 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2077 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2078 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2079 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2080 (La_x86_64_vector): Add zmm.
2081 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2082 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2083 ($(objpfx)tst-audit10): New target.
2084 ($(objpfx)tst-audit10.out): Likewise.
2085 (tst-audit10-ENV): New.
2086 (AVX512-CFLAGS): Likewise.
2087 (CFLAGS-tst-audit10.c): Likewise.
2088 (CFLAGS-tst-auditmod10a.c): Likewise.
2089 (CFLAGS-tst-auditmod10b.c): Likewise.
2090 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2091 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2092 * sysdeps/x86_64/configure: Regenerated.
2093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2094 AVX-512 zmm register support.
2095 (_dl_x86_64_save_sse): Likewise.
2096 (_dl_x86_64_restore_sse): Likewise.
2097 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2098 size vector registers.
2099 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2100 (ZMM_SIZE): Likewise.
2101 * sysdeps/x86_64/tst-audit10.c: New file.
2102 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2103 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2105 2014-03-13 Roland McGrath <roland@hack.frob.com>
2107 * configure.ac (HAVE_EHDR_START): New check.
2108 * configure: Regenerated.
2109 * config.h.in (HAVE_EHDR_START): New #undef.
2110 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2111 assuming the lowest-addressed segment maps the start of the file.
2113 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2115 * INSTALL: Regenerated.
2117 2014-03-13 Will Newton <will.newton@linaro.org>
2119 * manual/setjmp.texi (System V contexts): Improve
2120 clarity and grammar of documentation.
2122 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2125 * elf/Makefile (tests): Add tst-pie2.
2126 (tests-pie): Add tst-pie2.
2127 * elf/tst-pie2.c: New file.
2128 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2130 * elf/rtld.c (map_doit): Load executable as lt_executable.
2131 (dl_main): Likewise.
2133 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2137 (__ASSUME_PSELECT): Undefine.
2139 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2143 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2145 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2146 selector for static builds.
2148 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2154 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2157 IFUNC selector for static builds.
2159 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2161 * sysdeps/mips/math_private.h [__mips_hard_float]
2162 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2163 libc_feresetround_mips_ctx.
2164 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2165 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2166 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2169 * math/s_nextafter.c (__nextafter): Do not return value from
2170 overflowing computation.
2171 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2172 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2177 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2178 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2180 2014-03-11 Roland McGrath <roland@hack.frob.com>
2182 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2183 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2184 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2185 the new mov targetting sp.
2187 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2191 Define it for static builds as well.
2192 (NO_BZERO_IMPL): Likewise.
2194 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2196 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2197 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2198 multiarch strspn for PPC64.
2199 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2200 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2202 (__libc_ifunc_impl_list): Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2204 multiarch optimizations
2205 * string/strspn.c (strspn): Using macro to redefine symbol name.
2207 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2208 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2211 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2212 multiarch strncat for PPC64.
2213 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2214 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2216 (__libc_ifunc_impl_list): Likewise.
2217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2218 multiarch optimizations
2220 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2223 * nscd/nscd.service: Make service type forking.
2225 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2228 sign in non default rounding modes.
2229 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2231 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2233 * math/libm-test.inc (ALL_RM_TEST): New macro.
2234 (ceil_test): Use ALL_RM_TEST.
2235 (cimag_test): Likewise.
2236 (conj_test): Likewise.
2237 (copysign_test): Likewise.
2238 (cproj_test): Likewise.
2239 (creal_test): Likewise.
2240 (fabs_test): Likewise.
2241 (floor_test): Likewise.
2242 (fmax_test): Likewise.
2243 (fmin_test): Likewise.
2244 (fmod_test): Likewise.
2245 (fpclassify_test): Likewise.
2246 (frexp_test): Likewise.
2247 (ilogb_test): Likewise.
2248 (isfinite_test): Likewise.
2249 (finite_test): Likewise.
2250 (isgreater_test): Likewise.
2251 (isgreaterequal_test): Likewise.
2252 (isinf_test): Likewise.
2253 (isless_test): Likewise.
2254 (islessequal_test): Likewise.
2255 (islessgreater_test): Likewise.
2256 (isnan_test): Likewise.
2257 (isnormal_test): Likewise.
2258 (issignaling_test): Likewise.
2259 (isunordered_test): Likewise.
2260 (logb_test): Likewise.
2261 (logb_downward_test_data): Remove.
2262 (logb_test_downward): Likewise.
2263 (lround_test): Use ALL_RM_TEST.
2264 (llround_test): Likewise.
2265 (modf_test): Likewise.
2266 (nexttoward_test): Likewise.
2267 (remainder_test): Likewise.
2268 (drem_test): Likewise.
2269 (remainder_tonearest_test_data): Likewise.
2270 (remainder_test_tonearest): Likewise.
2271 (drem_test_tonearest): Likewise.
2272 (remainder_towardzero_test_data): Likewise.
2273 (remainder_test_towardzero): Likewise.
2274 (drem_test_towardzero): Likewise.
2275 (remainder_downward_test_data): Likewise.
2276 (remainder_test_downward): Likewise.
2277 (drem_test_downward): Likewise.
2278 (remainder_upward_test_data): Likewise.
2279 (remainder_test_upward): Likewise.
2280 (drem_test_upward): Likewise.
2281 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2282 (round_test): Use ALL_RM_TEST.
2283 (signbit_test): Likewise.
2284 (trunc_test): Likewise.
2285 (significand_test): Likewise.
2286 (main): Don't call removed functions.
2288 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2291 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2293 (ILL_ILLOPN): Likewise.
2294 (ILL_ILLADR): Likewise.
2295 (ILL_ILLTRP): Likewise.
2296 (ILL_PRVOPC): Likewise.
2297 (ILL_PRVREG): Likewise.
2298 (ILL_COPROC): Likewise.
2299 (ILL_BADSTK): Likewise.
2300 (FPE_INTDIV): Likewise.
2301 (FPE_INTOVF): Likewise.
2302 (FPE_FLTDIV): Likewise.
2303 (FPE_FLTOVF): Likewise.
2304 (FPE_FLTUND): Likewise.
2305 (FPE_FLTRES): Likewise.
2306 (FPE_FLTINV): Likewise.
2307 (FPE_FLTSUB): Likewise.
2308 (SEGV_MAPERR): Likewise.
2309 (SEGV_ACCERR): Likewise.
2310 (BUS_ADRALN): Likewise.
2311 (BUS_ADRERR): Likewise.
2312 (BUS_OBJERR): Likewise.
2313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2314 (TRAP_TRACE): Likewise.
2315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2317 (CLD_KILLED): Likewise.
2318 (CLD_DUMPED): Likewise.
2319 (CLD_TRAPPED): Likewise.
2320 (CLD_STOPPED): Likewise.
2321 (CLD_CONTINUED): Likewise.
2322 (POLL_IN): Likewise.
2323 (POLL_OUT): Likewise.
2324 (POLL_MSG): Likewise.
2325 (POLL_ERR): Likewise.
2326 (POLL_PRI): Likewise.
2327 (POLL_HUP): Likewise.
2328 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2330 (ILL_ILLOPN): Likewise.
2331 (ILL_ILLADR): Likewise.
2332 (ILL_ILLTRP): Likewise.
2333 (ILL_PRVOPC): Likewise.
2334 (ILL_PRVREG): Likewise.
2335 (ILL_COPROC): Likewise.
2336 (ILL_BADSTK): Likewise.
2337 (FPE_INTDIV): Likewise.
2338 (FPE_INTOVF): Likewise.
2339 (FPE_FLTDIV): Likewise.
2340 (FPE_FLTOVF): Likewise.
2341 (FPE_FLTUND): Likewise.
2342 (FPE_FLTRES): Likewise.
2343 (FPE_FLTINV): Likewise.
2344 (FPE_FLTSUB): Likewise.
2345 (SEGV_MAPERR): Likewise.
2346 (SEGV_ACCERR): Likewise.
2347 (BUS_ADRALN): Likewise.
2348 (BUS_ADRERR): Likewise.
2349 (BUS_OBJERR): Likewise.
2350 (BUS_MCEERR_AR): Likewise.
2351 (BUS_MCEERR_AO): Likewise.
2352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2353 (TRAP_TRACE): Likewise.
2354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2356 (CLD_KILLED): Likewise.
2357 (CLD_DUMPED): Likewise.
2358 (CLD_TRAPPED): Likewise.
2359 (CLD_STOPPED): Likewise.
2360 (CLD_CONTINUED): Likewise.
2361 (POLL_IN): Likewise.
2362 (POLL_OUT): Likewise.
2363 (POLL_MSG): Likewise.
2364 (POLL_ERR): Likewise.
2365 (POLL_PRI): Likewise.
2366 (POLL_HUP): Likewise.
2367 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2368 (ILL_ILLOPN): Likewise.
2369 (ILL_ILLADR): Likewise.
2370 (ILL_ILLTRP): Likewise.
2371 (ILL_PRVOPC): Likewise.
2372 (ILL_PRVREG): Likewise.
2373 (ILL_COPROC): Likewise.
2374 (ILL_BADSTK): Likewise.
2375 (FPE_INTDIV): Likewise.
2376 (FPE_INTOVF): Likewise.
2377 (FPE_FLTDIV): Likewise.
2378 (FPE_FLTOVF): Likewise.
2379 (FPE_FLTUND): Likewise.
2380 (FPE_FLTRES): Likewise.
2381 (FPE_FLTINV): Likewise.
2382 (FPE_FLTSUB): Likewise.
2383 (SEGV_MAPERR): Likewise.
2384 (SEGV_ACCERR): Likewise.
2385 (BUS_ADRALN): Likewise.
2386 (BUS_ADRERR): Likewise.
2387 (BUS_OBJERR): Likewise.
2388 (BUS_MCEERR_AR): Likewise.
2389 (BUS_MCEERR_AO): Likewise.
2390 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2391 (TRAP_TRACE): Likewise.
2392 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2394 (CLD_KILLED): Likewise.
2395 (CLD_DUMPED): Likewise.
2396 (CLD_TRAPPED): Likewise.
2397 (CLD_STOPPED): Likewise.
2398 (CLD_CONTINUED): Likewise.
2399 (POLL_IN): Likewise.
2400 (POLL_OUT): Likewise.
2401 (POLL_MSG): Likewise.
2402 (POLL_ERR): Likewise.
2403 (POLL_PRI): Likewise.
2404 (POLL_HUP): Likewise.
2405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2407 (ILL_ILLOPN): Likewise.
2408 (ILL_ILLADR): Likewise.
2409 (ILL_ILLTRP): Likewise.
2410 (ILL_PRVOPC): Likewise.
2411 (ILL_PRVREG): Likewise.
2412 (ILL_COPROC): Likewise.
2413 (ILL_BADSTK): Likewise.
2414 (ILL_BADIADDR): Likewise.
2415 (ILL_BREAK): Likewise.
2416 (FPE_INTDIV): Likewise.
2417 (FPE_INTOVF): Likewise.
2418 (FPE_FLTDIV): Likewise.
2419 (FPE_FLTOVF): Likewise.
2420 (FPE_FLTUND): Likewise.
2421 (FPE_FLTRES): Likewise.
2422 (FPE_FLTINV): Likewise.
2423 (FPE_FLTSUB): Likewise.
2424 (FPE_DECOVF): Likewise.
2425 (FPE_DECDIV): Likewise.
2426 (FPE_DECERR): Likewise.
2427 (FPE_INVASC): Likewise.
2428 (FPE_INVDEC): Likewise.
2429 (SEGV_MAPERR): Likewise.
2430 (SEGV_ACCERR): Likewise.
2431 (SEGV_PSTKOVF): Likewise.
2432 (BUS_ADRALN): Likewise.
2433 (BUS_ADRERR): Likewise.
2434 (BUS_OBJERR): Likewise.
2435 (BUS_MCEERR_AR): Likewise.
2436 (BUS_MCEERR_AO): Likewise.
2437 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2438 (TRAP_TRACE): Likewise.
2439 (TRAP_BRANCH): Likewise.
2440 (TRAP_HWBKPT): Likewise.
2441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2443 (CLD_KILLED): Likewise.
2444 (CLD_DUMPED): Likewise.
2445 (CLD_TRAPPED): Likewise.
2446 (CLD_STOPPED): Likewise.
2447 (CLD_CONTINUED): Likewise.
2448 (POLL_IN): Likewise.
2449 (POLL_OUT): Likewise.
2450 (POLL_MSG): Likewise.
2451 (POLL_ERR): Likewise.
2452 (POLL_PRI): Likewise.
2453 (POLL_HUP): Likewise.
2454 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2455 (ILL_ILLOPN): Likewise.
2456 (ILL_ILLADR): Likewise.
2457 (ILL_ILLTRP): Likewise.
2458 (ILL_PRVOPC): Likewise.
2459 (ILL_PRVREG): Likewise.
2460 (ILL_COPROC): Likewise.
2461 (ILL_BADSTK): Likewise.
2462 (FPE_INTDIV): Likewise.
2463 (FPE_INTOVF): Likewise.
2464 (FPE_FLTDIV): Likewise.
2465 (FPE_FLTOVF): Likewise.
2466 (FPE_FLTUND): Likewise.
2467 (FPE_FLTRES): Likewise.
2468 (FPE_FLTINV): Likewise.
2469 (FPE_FLTSUB): Likewise.
2470 (SEGV_MAPERR): Likewise.
2471 (SEGV_ACCERR): Likewise.
2472 (BUS_ADRALN): Likewise.
2473 (BUS_ADRERR): Likewise.
2474 (BUS_OBJERR): Likewise.
2475 (BUS_MCEERR_AR): Likewise.
2476 (BUS_MCEERR_AO): Likewise.
2477 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2478 (TRAP_TRACE): Likewise.
2479 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2481 (CLD_KILLED): Likewise.
2482 (CLD_DUMPED): Likewise.
2483 (CLD_TRAPPED): Likewise.
2484 (CLD_STOPPED): Likewise.
2485 (CLD_CONTINUED): Likewise.
2486 (POLL_IN): Likewise.
2487 (POLL_OUT): Likewise.
2488 (POLL_MSG): Likewise.
2489 (POLL_ERR): Likewise.
2490 (POLL_PRI): Likewise.
2491 (POLL_HUP): Likewise.
2492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2493 (ILL_ILLOPN): Likewise.
2494 (ILL_ILLADR): Likewise.
2495 (ILL_ILLTRP): Likewise.
2496 (ILL_PRVOPC): Likewise.
2497 (ILL_PRVREG): Likewise.
2498 (ILL_COPROC): Likewise.
2499 (ILL_BADSTK): Likewise.
2500 (FPE_INTDIV): Likewise.
2501 (FPE_INTOVF): Likewise.
2502 (FPE_FLTDIV): Likewise.
2503 (FPE_FLTOVF): Likewise.
2504 (FPE_FLTUND): Likewise.
2505 (FPE_FLTRES): Likewise.
2506 (FPE_FLTINV): Likewise.
2507 (FPE_FLTSUB): Likewise.
2508 (SEGV_MAPERR): Likewise.
2509 (SEGV_ACCERR): Likewise.
2510 (BUS_ADRALN): Likewise.
2511 (BUS_ADRERR): Likewise.
2512 (BUS_OBJERR): Likewise.
2513 (BUS_MCEERR_AR): Likewise.
2514 (BUS_MCEERR_AO): Likewise.
2515 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2516 (TRAP_TRACE): Likewise.
2517 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2519 (CLD_KILLED): Likewise.
2520 (CLD_DUMPED): Likewise.
2521 (CLD_TRAPPED): Likewise.
2522 (CLD_STOPPED): Likewise.
2523 (CLD_CONTINUED): Likewise.
2524 (POLL_IN): Likewise.
2525 (POLL_OUT): Likewise.
2526 (POLL_MSG): Likewise.
2527 (POLL_ERR): Likewise.
2528 (POLL_PRI): Likewise.
2529 (POLL_HUP): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2531 (ILL_ILLOPN): Likewise.
2532 (ILL_ILLADR): Likewise.
2533 (ILL_ILLTRP): Likewise.
2534 (ILL_PRVOPC): Likewise.
2535 (ILL_PRVREG): Likewise.
2536 (ILL_COPROC): Likewise.
2537 (ILL_BADSTK): Likewise.
2538 (FPE_INTDIV): Likewise.
2539 (FPE_INTOVF): Likewise.
2540 (FPE_FLTDIV): Likewise.
2541 (FPE_FLTOVF): Likewise.
2542 (FPE_FLTUND): Likewise.
2543 (FPE_FLTRES): Likewise.
2544 (FPE_FLTINV): Likewise.
2545 (FPE_FLTSUB): Likewise.
2546 (SEGV_MAPERR): Likewise.
2547 (SEGV_ACCERR): Likewise.
2548 (BUS_ADRALN): Likewise.
2549 (BUS_ADRERR): Likewise.
2550 (BUS_OBJERR): Likewise.
2551 (BUS_MCEERR_AR): Likewise.
2552 (BUS_MCEERR_AO): Likewise.
2553 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2554 (TRAP_TRACE): Likewise.
2555 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2557 (CLD_KILLED): Likewise.
2558 (CLD_DUMPED): Likewise.
2559 (CLD_TRAPPED): Likewise.
2560 (CLD_STOPPED): Likewise.
2561 (CLD_CONTINUED): Likewise.
2562 (POLL_IN): Likewise.
2563 (POLL_OUT): Likewise.
2564 (POLL_MSG): Likewise.
2565 (POLL_ERR): Likewise.
2566 (POLL_PRI): Likewise.
2567 (POLL_HUP): Likewise.
2568 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2569 (ILL_ILLOPN): Likewise.
2570 (ILL_ILLADR): Likewise.
2571 (ILL_ILLTRP): Likewise.
2572 (ILL_PRVOPC): Likewise.
2573 (ILL_PRVREG): Likewise.
2574 (ILL_COPROC): Likewise.
2575 (ILL_BADSTK): Likewise.
2576 (ILL_DBLFLT): Likewise.
2577 (ILL_HARDWALL): Likewise.
2578 (FPE_INTDIV): Likewise.
2579 (FPE_INTOVF): Likewise.
2580 (FPE_FLTDIV): Likewise.
2581 (FPE_FLTOVF): Likewise.
2582 (FPE_FLTUND): Likewise.
2583 (FPE_FLTRES): Likewise.
2584 (FPE_FLTINV): Likewise.
2585 (FPE_FLTSUB): Likewise.
2586 (SEGV_MAPERR): Likewise.
2587 (SEGV_ACCERR): Likewise.
2588 (BUS_ADRALN): Likewise.
2589 (BUS_ADRERR): Likewise.
2590 (BUS_OBJERR): Likewise.
2591 (BUS_MCEERR_AR): Likewise.
2592 (BUS_MCEERR_AO): Likewise.
2593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2594 (TRAP_TRACE): Likewise.
2595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2597 (CLD_KILLED): Likewise.
2598 (CLD_DUMPED): Likewise.
2599 (CLD_TRAPPED): Likewise.
2600 (CLD_STOPPED): Likewise.
2601 (CLD_CONTINUED): Likewise.
2602 (POLL_IN): Likewise.
2603 (POLL_OUT): Likewise.
2604 (POLL_MSG): Likewise.
2605 (POLL_ERR): Likewise.
2606 (POLL_PRI): Likewise.
2607 (POLL_HUP): Likewise.
2608 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2609 (ILL_ILLOPN): Likewise.
2610 (ILL_ILLADR): Likewise.
2611 (ILL_ILLTRP): Likewise.
2612 (ILL_PRVOPC): Likewise.
2613 (ILL_PRVREG): Likewise.
2614 (ILL_COPROC): Likewise.
2615 (ILL_BADSTK): Likewise.
2616 (FPE_INTDIV): Likewise.
2617 (FPE_INTOVF): Likewise.
2618 (FPE_FLTDIV): Likewise.
2619 (FPE_FLTOVF): Likewise.
2620 (FPE_FLTUND): Likewise.
2621 (FPE_FLTRES): Likewise.
2622 (FPE_FLTINV): Likewise.
2623 (FPE_FLTSUB): Likewise.
2624 (SEGV_MAPERR): Likewise.
2625 (SEGV_ACCERR): Likewise.
2626 (BUS_ADRALN): Likewise.
2627 (BUS_ADRERR): Likewise.
2628 (BUS_OBJERR): Likewise.
2629 (BUS_MCEERR_AR): Likewise.
2630 (BUS_MCEERR_AO): Likewise.
2631 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2632 (TRAP_TRACE): Likewise.
2633 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2635 (CLD_KILLED): Likewise.
2636 (CLD_DUMPED): Likewise.
2637 (CLD_TRAPPED): Likewise.
2638 (CLD_STOPPED): Likewise.
2639 (CLD_CONTINUED): Likewise.
2640 (POLL_IN): Likewise.
2641 (POLL_OUT): Likewise.
2642 (POLL_MSG): Likewise.
2643 (POLL_ERR): Likewise.
2644 (POLL_PRI): Likewise.
2645 (POLL_HUP): Likewise.
2646 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2647 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2650 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2651 before #include of <time.h>.
2652 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2653 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2654 (test-xfail-UNIX98/sched.h/conform): Likewise.
2656 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2658 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2659 error absence of trapping exception support.
2660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2662 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2664 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2665 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2666 * timezone/Makefile (testdata): Move definition above include of
2668 (test-zones): New variable.
2669 (tests-special): Add zone files.
2670 (build-testdata): Use $(evaluate-test).
2672 * elf/Makefile (tests-special): Rename tests to end with .out.
2673 ($(objpfx)noload-mem): Likewise.
2674 ($(objpfx)tst-leaks1-mem): Likewise.
2675 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2676 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2677 $(objpfx)test-iconvconfig.out.
2678 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2679 set -e inside subshell and redirect output to file.
2680 * iconvdata/Makefile (generated): Rename tests to end with .out.
2682 (tests-special): Rename tests to end with .out.
2683 ($(objpfx)mtrace-tst-loading): Likewise.
2684 * intl/Makefile (generated): Likewise.
2685 (tests-special): Likewise.
2686 ($(objpfx)mtrace-tst-gettext): Likewise.
2687 * misc/Makefile (generated): Likewise.
2688 (tests-special): Likewise.
2689 ($(objpfx)tst-error1-mem): Likewise.
2690 * nptl/Makefile (tests-special): Likewise.
2691 ($(objpfx)tst-stack3-mem): Likewise.
2692 (generated): Likewise.
2693 * posix/Makefile (generated): Likewise.
2694 (tests-special): Likewise.
2695 (xtests-special): Likewise.
2696 ($(objpfx)tst-fnmatch-mem): Likewise.
2697 ($(objpfx)bug-regex2-mem): Likewise.
2698 ($(objpfx)bug-regex14-mem): Likewise.
2699 ($(objpfx)bug-regex21-mem): Likewise.
2700 ($(objpfx)bug-regex31-mem): Likewise.
2701 ($(objpfx)tst-vfork3-mem): Likewise.
2702 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2703 ($(objpfx)tst-pcre-mem): Likewise.
2704 ($(objpfx)tst-boost-mem): Likewise.
2705 ($(objpfx)bug-ga2-mem): Likewise.
2706 ($(objpfx)bug-glob2-mem): Likewise.
2707 * resolv/Makefile (generate): Likewise.
2708 (tests-special): Likewise.
2709 (xtests-special): Likewise.
2710 (generated): Likewise.
2711 ($(objpfx)mtrace-tst-leaks): Likewise.
2712 ($(objpfx)mtrace-tst-leaks2): Likewise.
2714 * scripts/merge-test-results.sh: New file.
2715 * Makefile (tests-special-notdir): New variable.
2716 (tests): Run merge-test-results.sh.
2718 * Rules (tests-special-notdir): New variable.
2719 (xtests-special-notdir): Likewise.
2720 (tests): Run merge-test-results.sh
2723 * Makeconfig (test-xfail-name): New variable.
2724 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2725 compute variable name for expected failures.
2726 * conform/Makefile (conformtest-headers-data): New variable.
2727 (conformtest-standards): Likewise.
2728 (conformtest-headers-ISO): Likewise.
2729 (conformtest-headers-ISO99): Likewise.
2730 (conformtest-headers-ISO11): Likewise.
2731 (conformtest-headers-POSIX): Likewise.
2732 (conformtest-headers-XPG3): Likewise.
2733 (conformtest-headers-XPG4): Likewise.
2734 (conformtest-headers-UNIX98): Likewise.
2735 (conformtest-headers-XOPEN2K): Likewise.
2736 (conformtest-headers-POSIX2008): Likewise.
2737 (conformtest-headers-XOPEN2K8): Likewise.
2738 (conformtest-header-list-base): Likewise.
2739 (conformtest-header-list-tests): Likewise.
2740 (conformtest-header-base): Likewise.
2741 (conformtest-header-tests): Likewise.
2742 (tests-special): Add $(conformtest-header-list-tests). If
2743 [$(fast-check) && !$(cross-compiling)], add
2744 $(conformtest-header-tests) instead of
2745 $(objpfx)run-conformtest.out.
2746 (generated): Add $(conformtest-header-list-base). If
2747 [$(fast-check) && !$(cross-compiling)], add
2748 $(conformtest-header-base). Remove previous setting.
2749 ($(conformtest-header-list-tests)): New target.
2750 (test-xfail-run-conformtest): Remove variable.
2751 ($(objpfx)run-conformtest.out): Remove target.
2752 (test-xfail-ISO11/complex.h/conform): New variable.
2753 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2754 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2755 (test-xfail-XPG3/varargs.h/conform): Likewise.
2756 (test-xfail-XPG4/varargs.h/conform): Likewise.
2757 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2758 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2759 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2760 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2761 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2762 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2763 (test-xfail-XPG3/ftw.h/conform): Likewise.
2764 (test-xfail-XPG3/grp.h/conform): Likewise.
2765 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2766 (test-xfail-XPG3/limits.h/conform): Likewise.
2767 (test-xfail-XPG3/pwd.h/conform): Likewise.
2768 (test-xfail-XPG3/search.h/conform): Likewise.
2769 (test-xfail-XPG3/signal.h/conform): Likewise.
2770 (test-xfail-XPG3/stdio.h/conform): Likewise.
2771 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2772 (test-xfail-XPG3/string.h/conform): Likewise.
2773 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2774 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2775 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2776 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2777 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2778 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2779 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2780 (test-xfail-XPG3/termios.h/conform): Likewise.
2781 (test-xfail-XPG3/time.h/conform): Likewise.
2782 (test-xfail-XPG3/unistd.h/conform): Likewise.
2783 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2784 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2785 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2786 (test-xfail-XPG4/netdb.h/conform): Likewise.
2787 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2788 (test-xfail-XPG4/signal.h/conform): Likewise.
2789 (test-xfail-XPG4/stdio.h/conform): Likewise.
2790 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2791 (test-xfail-XPG4/stropts.h/conform): Likewise.
2792 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2793 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2794 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2795 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2796 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2797 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2798 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2799 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2800 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2801 (test-xfail-XPG4/termios.h/conform): Likewise.
2802 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2803 (test-xfail-XPG4/unistd.h/conform): Likewise.
2804 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2805 (test-xfail-POSIX/sched.h/conform): Likewise.
2806 (test-xfail-POSIX/signal.h/conform): Likewise.
2807 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2808 (test-xfail-POSIX/tar.h/conform): Likewise.
2809 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2810 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2811 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2812 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2813 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2814 (test-xfail-UNIX98/sched.h/conform): Likewise.
2815 (test-xfail-UNIX98/signal.h/conform): Likewise.
2816 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2817 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2818 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2819 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2820 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2821 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2822 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2823 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2824 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2825 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2826 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2827 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2828 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2829 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2830 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2831 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2832 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2833 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2834 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2835 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2836 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2837 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2838 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2839 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2840 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2841 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2842 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2843 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2844 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2845 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2846 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2847 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2848 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2849 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2850 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2851 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2852 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2853 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2854 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2855 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2856 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2857 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2858 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2859 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2860 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2861 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2862 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2863 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2864 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2865 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2866 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2867 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2868 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2869 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2870 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2871 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2872 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2873 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2874 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2875 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2876 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2877 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2878 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2879 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2880 (conformtest-cc-flags): Likewise.
2881 ($(conformtest-header-tests): New target.
2882 * conform/check-header-lists.sh: New file.
2883 * conform/run-conformtest.sh: Remove.
2885 * conform/conformtest.pl: Allow ' and \ in values given for
2887 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2889 [POSIX] (sys/types.h): Likewise.
2890 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2892 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2894 * conform/data/signal.h-data (SIGIO): Remove expectation.
2895 [XPG3] (SIGBUS): Do not expect.
2896 [POSIX || XPG3] (SIGPOLL): Likewise.
2897 [POSIX || XPG3] (SIGPROF): Likewise.
2898 [POSIX || XPG3] (SIGSYS): Likewise.
2899 [XPG3] (SIGTRAP): Likewise.
2900 [POSIX || XPG3] (SIGURG): Likewise.
2901 [POSIX || XPG3] (SIGVTALRM): Likewise.
2902 [POSIX || XPG3] (SIGXCPU): Likewise.
2903 [POSIX || XPG3] (SIGXFSZ): Likewise.
2904 [POSIX] (SA_SIGINFO): Expect.
2905 [XPG3] (siginfo_t): Do not expect type or contents.
2906 [POSIX] (si_pid): Do not expect element.
2907 [POSIX] (si_uid): Likewise.
2908 [POSIX] (si_addr): Likewise.
2909 [POSIX] (si_status): Likewise.
2910 [POSIX] (si_band): Likewise.
2911 [XPG4] (si_value): Likewise.
2912 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2913 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2914 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2915 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2916 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2917 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2918 [POSIX || XPG3] (ILL_COPROC): Likewise.
2919 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2920 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2921 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2922 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2923 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2924 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2925 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2926 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2927 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2928 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2929 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2930 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2931 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2932 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2933 [POSIX || XPG3] (CLD_EXITED): Likewise.
2934 [POSIX || XPG3] (CLD_KILLED): Likewise.
2935 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2936 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2937 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2938 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2939 [POSIX || XPG3] (POLL_IN): Likewise.
2940 [POSIX || XPG3] (POLL_OUT): Likewise.
2941 [POSIX || XPG3] (POLL_MSG): Likewise.
2942 [POSIX || XPG3] (POLL_ERR): Likewise.
2943 [POSIX || XPG3] (POLL_PRI): Likewise.
2944 [POSIX || XPG3] (POLL_HUP): Likewise.
2945 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2946 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2947 (SIG*): Do not allow.
2948 [XPG3] (si_*): Likewise.
2949 [XPG3] (SI_*): Likewise.
2950 [XPG3 || XPG4] (sigev_*): Likewise.
2951 [XPG3 || XPG4] (SIGEV_*): Likewise.
2952 [XPG3 || XPG4] (sival_*): Likewise.
2953 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2954 [POSIX || XPG3] (BUS_*): Likewise.
2955 [POSIX || XPG3] (CLD_*): Likewise.
2956 [POSIX || XPG3] (FPE_*): Likewise.
2957 [POSIX || XPG3] (ILL_*): Likewise.
2958 [POSIX || XPG3] (POLL_*): Likewise.
2959 [POSIX || XPG3] (SEGV_*): Likewise.
2960 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2961 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2962 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2963 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2964 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2965 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2966 Specify type and value.
2967 (TVERSLEN): Likewise.
2968 (REGTYPE): Likewise.
2969 (AREGTYPE): Likewise.
2970 (LNKTYPE): Likewise.
2971 (SYMTYPE): Likewise.
2972 (CHRTYPE): Likewise.
2973 (BLKTYPE): Likewise.
2974 (DIRTYPE): Likewise.
2975 (FIFOTYPE): Likewise.
2976 (CONTTYPE): Likewise.
2981 (TUWRITE): Likewise.
2984 (TGWRITE): Likewise.
2987 (TOWRITE): Likewise.
2989 [POSIX] (TSVTX): Expect constant.
2991 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2993 * Makefile (tests): Change dependencies to ....
2994 (tests-special): ... additions to this variable.
2995 (tests): Depend on $(tests-special).
2996 * Makerules (check-abi-list): New variable.
2997 (check-abi): Depend on $(check-abi-list).
2998 [$(subdir) = elf] (tests-special): Add
2999 $(objpfx)check-abi-libc.out.
3000 [$(build-shared) = yes && subdir] (tests-special): Add
3002 [$(build-shared) = yes && subdir] (tests): Do not depend on
3004 * Rules (tests): Depend on $(tests-special).
3005 (xtests): Depend on $(xtests-special).
3006 * catgets/Makefile (tests): Change dependencies to ....
3007 (tests-special): ... additions to this variable.
3008 * conform/Makefile (tests): Change dependencies to ....
3009 (tests-special): ... additions to this variable.
3010 * elf/Makefile (tests): Change dependencies to ....
3011 (tests-special): ... additions to this variable.
3012 * grp/Makefile (tests): Change dependencies to ....
3013 (tests-special): ... additions to this variable.
3014 * iconv/Makefile (xtests): Change dependencies to ....
3015 (xtests-special): ... additions to this variable.
3016 * iconvdata/Makefile (tests): Change dependencies to ....
3017 (tests-special): ... additions to this variable.
3018 * intl/Makefile (tests): Change dependencies to ....
3019 (tests-special): ... additions to this variable. Also add
3020 $(objpfx)tst-gettext.out.
3021 * io/Makefile (tests): Change dependencies to ....
3022 (tests-special): ... additions to this variable.
3023 * libio/Makefile (tests): Change dependencies to ....
3024 (tests-special): ... additions to this variable.
3025 * malloc/Makefile (tests): Change dependencies to ....
3026 (tests-special): ... additions to this variable.
3027 * misc/Makefile (tests): Change dependencies to ....
3028 (tests-special): ... additions to this variable.
3029 * nptl/Makefile (tests): Change dependencies to ....
3030 (tests-special): ... additions to this variable.
3031 * nptl_db/Makefile (tests): Change dependencies to ....
3032 (tests-special): ... additions to this variable.
3033 * posix/Makefile (tests): Change dependencies to ....
3034 (tests-special): ... additions to this variable.
3035 (xtests): Change dependencies to ....
3036 (xtests-special): ... additions to this variable.
3037 * resolv/Makefile (tests): Change dependencies to ....
3038 (tests-special): ... additions to this variable.
3039 (xtests): Change dependencies to ....
3040 (xtests-special): ... additions to this variable.
3041 * stdio-common/Makefile (tests): Change dependencies to ....
3042 (tests-special): ... additions to this variable.
3043 (do-tst-unbputc): Remove target.
3044 (do-tst-printf): Likewise.
3045 * stdlib/Makefile (tests): Change dependencies to ....
3046 (tests-special): ... additions to this variable.
3047 * string/Makefile (tests): Change dependencies to ....
3048 (tests-special): ... additions to this variable.
3049 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3050 (tests-special): ... additions to this variable.
3052 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3054 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3056 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3057 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3059 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3060 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3061 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3062 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3063 * conform/data/libgen.h-data [XPG3]: Likewise.
3064 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3065 * conform/data/ndbm.h-data [XPG3]: Likewise.
3066 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3067 * conform/data/netdb.h-data [XPG3]: Likewise.
3068 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3069 * conform/data/poll.h-data [XPG3]: Likewise.
3070 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3071 * conform/data/strings.h-data [XPG3]: Likewise.
3072 * conform/data/stropts.h-data [XPG3]: Likewise.
3073 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3074 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3075 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3077 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3078 * conform/data/sys/time.h-data [XPG3]: Likewise.
3079 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3080 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3081 * conform/data/sys/un.h-data [XPG3]: Likewise.
3082 * conform/data/syslog.h-data [XPG3]: Likewise.
3083 * conform/data/ucontext.h-data [XPG3]: Likewise.
3084 * conform/data/utmpx.h-data [XPG3]: Likewise.
3085 * conform/data/varargs.h-data [UNIX98]: Enable file.
3087 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3089 * math/libm-test.inc (struct test_f_f_data): Move expected results
3090 into structure for each rounding mode.
3091 (struct test_ff_f_data): Likewise.
3092 (struct test_ff_f_data_nexttoward): Likewise.
3093 (struct test_fi_f_data): Likewise.
3094 (struct test_fl_f_data): Likewise.
3095 (struct test_if_f_data): Likewise.
3096 (struct test_fff_f_data): Likewise.
3097 (struct test_c_f_data): Likewise.
3098 (struct test_f_f1_data): Likewise.
3099 (struct test_fF_f1_data): Likewise.
3100 (struct test_ffI_f1_data): Likewise.
3101 (struct test_c_c_data): Likewise.
3102 (struct test_cc_c_data): Likewise.
3103 (struct test_f_i_data): Likewise.
3104 (struct test_ff_i_data): Likewise.
3105 (struct test_f_l_data): Likewise.
3106 (struct test_f_L_data): Likewise.
3107 (struct test_fFF_11_data): Likewise.
3109 (RM_FE_DOWNWARD): Likewise.
3110 (RM_FE_TONEAREST): Likewise.
3111 (RM_FE_TOWARDZERO): Likewise.
3112 (RM_FE_UPWARD): Likewise.
3113 (RUN_TEST_LOOP_f_f): Update references to expected results.
3114 (RUN_TEST_LOOP_2_f): Likewise.
3115 (RUN_TEST_LOOP_fff_f): Likewise.
3116 (RUN_TEST_LOOP_c_f): Likewise.
3117 (RUN_TEST_LOOP_f_f1): Likewise.
3118 (RUN_TEST_LOOP_fF_f1): Likewise.
3119 (RUN_TEST_LOOP_fI_f1): Likewise.
3120 (RUN_TEST_LOOP_ffI_f1): Likewise.
3121 (RUN_TEST_LOOP_c_c): Likewise.
3122 (RUN_TEST_LOOP_cc_c): Likewise.
3123 (RUN_TEST_LOOP_f_i): Likewise.
3124 (RUN_TEST_LOOP_f_i_tg): Likewise.
3125 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3126 (RUN_TEST_LOOP_f_b): Likewise.
3127 (RUN_TEST_LOOP_f_b_tg): Likewise.
3128 (RUN_TEST_LOOP_f_l): Likewise.
3129 (RUN_TEST_LOOP_f_L): Likewise.
3130 (RUN_TEST_LOOP_fFF_11): Likewise.
3131 * math/gen-libm-test.pl (parse_args): Output four copies of
3132 expected results for each test.
3134 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3135 (__ASSUME_UTIMES): Remove.
3136 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3137 (__ASSUME_UTIMES): Likewise.
3139 * math/gen-auto-libm-tests.c: Update comment on output format.
3140 (output_for_one_input_case): Generate before-rounding and
3141 after-rounding information as conditions on output flags not
3142 floating-point format.
3143 * math/auto-libm-test-out: Regenerated.
3144 * math/gen-libm-test.pl (cond_value): New function.
3145 (or_cond_value): Use cond_value.
3146 (generate_testfile): Handle conditional exceptions.
3148 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3150 * math/libm-test.inc (max_valid_error): New variable.
3151 (init_max_error): Take new argument specifying whether function
3152 results are exactly determined. Set max_valid_error and bound
3153 other variables for errors based on this argument.
3154 (set_max_error): Do not record results above max_valid_error.
3155 (check_float_internal): Only accept errors of up to 0.5ulps if
3156 also at most max_valid_error.
3157 (START): Take new argument EXACT and pass it to init_max_error.
3158 (acos_test): Update call to START.
3159 (acos_test_tonearest): Likewise.
3160 (acos_test_towardzero): Likewise.
3161 (acos_test_downward): Likewise.
3162 (acos_test_upward): Likewise.
3163 (acosh_test): Likewise.
3164 (asin_test): Likewise.
3165 (asin_test_tonearest): Likewise.
3166 (asin_test_towardzero): Likewise.
3167 (asin_test_downward): Likewise.
3168 (asin_test_upward): Likewise.
3169 (asinh_test): Likewise.
3170 (atan_test): Likewise.
3171 (atanh_test): Likewise.
3172 (atan2_test): Likewise.
3173 (cabs_test): Likewise.
3174 (cacos_test): Likewise.
3175 (cacosh_test): Likewise.
3176 (carg_test): Likewise.
3177 (casin_test): Likewise.
3178 (casinh_test): Likewise.
3179 (catan_test): Likewise.
3180 (catanh_test): Likewise.
3181 (cbrt_test): Likewise.
3182 (ccos_test): Likewise.
3183 (ccosh_test): Likewise.
3184 (ceil_test): Likewise.
3185 (cexp_test): Likewise.
3186 (cimag_test): Likewise.
3187 (clog_test): Likewise.
3188 (clog10_test): Likewise.
3189 (conj_test): Likewise.
3190 (copysign_test): Likewise.
3191 (cos_test): Likewise.
3192 (cos_test_tonearest): Likewise.
3193 (cos_test_towardzero): Likewise.
3194 (cos_test_downward): Likewise.
3195 (cos_test_upward): Likewise.
3196 (cosh_test): Likewise.
3197 (cosh_test_tonearest): Likewise.
3198 (cosh_test_towardzero): Likewise.
3199 (cosh_test_downward): Likewise.
3200 (cosh_test_upward): Likewise.
3201 (cpow_test): Likewise.
3202 (cproj_test): Likewise.
3203 (creal_test): Likewise.
3204 (csin_test): Likewise.
3205 (csinh_test): Likewise.
3206 (csqrt_test): Likewise.
3207 (ctan_test): Likewise.
3208 (ctan_test_tonearest): Likewise.
3209 (ctan_test_towardzero): Likewise.
3210 (ctan_test_downward): Likewise.
3211 (ctan_test_upward): Likewise.
3212 (ctanh_test): Likewise.
3213 (ctanh_test_tonearest): Likewise.
3214 (ctanh_test_towardzero): Likewise.
3215 (ctanh_test_downward): Likewise.
3216 (ctanh_test_upward): Likewise.
3217 (erf_test): Likewise.
3218 (erfc_test): Likewise.
3219 (exp_test): Likewise.
3220 (exp_test_tonearest): Likewise.
3221 (exp_test_towardzero): Likewise.
3222 (exp_test_downward): Likewise.
3223 (exp_test_upward): Likewise.
3224 (exp10_test): Likewise.
3225 (exp10_test_tonearest): Likewise.
3226 (exp10_test_towardzero): Likewise.
3227 (exp10_test_downward): Likewise.
3228 (exp10_test_upward): Likewise.
3229 (pow10_test): Likewise.
3230 (exp2_test): Likewise.
3231 (expm1_test): Likewise.
3232 (expm1_test_tonearest): Likewise.
3233 (expm1_test_towardzero): Likewise.
3234 (expm1_test_downward): Likewise.
3235 (expm1_test_upward): Likewise.
3236 (fabs_test): Likewise.
3237 (fdim_test): Likewise.
3238 (floor_test): Likewise.
3239 (fma_test): Likewise.
3240 (fma_test_towardzero): Likewise.
3241 (fma_test_downward): Likewise.
3242 (fma_test_upward): Likewise.
3243 (fmax_test): Likewise.
3244 (fmin_test): Likewise.
3245 (fmod_test): Likewise.
3246 (fpclassify_test): Likewise.
3247 (frexp_test): Likewise.
3248 (hypot_test): Likewise.
3249 (ilogb_test): Likewise.
3250 (isfinite_test): Likewise.
3251 (finite_test): Likewise.
3252 (isgreater_test): Likewise.
3253 (isgreaterequal_test): Likewise.
3254 (isinf_test): Likewise.
3255 (isless_test): Likewise.
3256 (islessequal_test): Likewise.
3257 (islessgreater_test): Likewise.
3258 (isnan_test): Likewise.
3259 (isnormal_test): Likewise.
3260 (issignaling_test): Likewise.
3261 (isunordered_test): Likewise.
3262 (j0_test): Likewise.
3263 (j1_test): Likewise.
3264 (jn_test): Likewise.
3265 (ldexp_test): Likewise.
3266 (lgamma_test): Likewise.
3267 (gamma_test): Likewise.
3268 (lrint_test): Likewise.
3269 (lrint_test_tonearest): Likewise.
3270 (lrint_test_towardzero): Likewise.
3271 (lrint_test_downward): Likewise.
3272 (lrint_test_upward): Likewise.
3273 (llrint_test): Likewise.
3274 (llrint_test_tonearest): Likewise.
3275 (llrint_test_towardzero): Likewise.
3276 (llrint_test_downward): Likewise.
3277 (llrint_test_upward): Likewise.
3278 (log_test): Likewise.
3279 (log10_test): Likewise.
3280 (log1p_test): Likewise.
3281 (log2_test): Likewise.
3282 (logb_test): Likewise.
3283 (logb_test_downward): Likewise.
3284 (lround_test): Likewise.
3285 (llround_test): Likewise.
3286 (modf_test): Likewise.
3287 (nearbyint_test): Likewise.
3288 (nextafter_test): Likewise.
3289 (nexttoward_test): Likewise.
3290 (pow_test): Likewise.
3291 (pow_test_tonearest): Likewise.
3292 (pow_test_towardzero): Likewise.
3293 (pow_test_downward): Likewise.
3294 (pow_test_upward): Likewise.
3295 (remainder_test): Likewise.
3296 (drem_test): Likewise.
3297 (remainder_test_tonearest): Likewise.
3298 (drem_test_tonearest): Likewise.
3299 (remainder_test_towardzero): Likewise.
3300 (drem_test_towardzero): Likewise.
3301 (remainder_test_downward): Likewise.
3302 (drem_test_downward): Likewise.
3303 (remainder_test_upward): Likewise.
3304 (drem_test_upward): Likewise.
3305 (remquo_test): Likewise.
3306 (rint_test): Likewise.
3307 (rint_test_tonearest): Likewise.
3308 (rint_test_towardzero): Likewise.
3309 (rint_test_downward): Likewise.
3310 (rint_test_upward): Likewise.
3311 (round_test): Likewise.
3312 (scalb_test): Likewise.
3313 (scalbn_test): Likewise.
3314 (scalbln_test): Likewise.
3315 (signbit_test): Likewise.
3316 (sin_test): Likewise.
3317 (sin_test_tonearest): Likewise.
3318 (sin_test_towardzero): Likewise.
3319 (sin_test_downward): Likewise.
3320 (sin_test_upward): Likewise.
3321 (sincos_test): Likewise.
3322 (sinh_test): Likewise.
3323 (sinh_test_tonearest): Likewise.
3324 (sinh_test_towardzero): Likewise.
3325 (sinh_test_downward): Likewise.
3326 (sinh_test_upward): Likewise.
3327 (sqrt_test): Likewise.
3328 (sqrt_test_tonearest): Likewise.
3329 (sqrt_test_towardzero): Likewise.
3330 (sqrt_test_downward): Likewise.
3331 (sqrt_test_upward): Likewise.
3332 (tan_test): Likewise.
3333 (tan_test_tonearest): Likewise.
3334 (tan_test_towardzero): Likewise.
3335 (tan_test_downward): Likewise.
3336 (tan_test_upward): Likewise.
3337 (tanh_test): Likewise.
3338 (tgamma_test): Likewise.
3339 (trunc_test): Likewise.
3340 (y0_test): Likewise.
3341 (y1_test): Likewise.
3342 (yn_test): Likewise.
3343 (significand_test): Likewise.
3345 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3346 individual tests in comment.
3347 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3348 (prev_max_error): New variable.
3349 (prev_real_max_error): Likewise.
3350 (prev_imag_max_error): Likewise.
3351 (compare_ulp_data): Don't refer to test names in comment.
3352 (find_test_ulps): Remove function.
3353 (find_function_ulps): Likewise.
3354 (find_complex_function_ulps): Likewise.
3355 (init_max_error): Take function name as argument. Look up ulps
3357 (print_ulps): Remove function.
3358 (print_max_error): Use prev_max_error instead of calling
3360 (print_complex_max_error): Use prev_real_max_error and
3361 prev_imag_max_error instead of calling find_complex_function_ulps.
3362 (check_float_internal): Take max_ulp parameter instead of calling
3363 find_test_ulps. Don't call print_ulps.
3364 (check_float): Update call to check_float_internal.
3365 (check_complex): Update calls to check_float_internal.
3366 (START): Pass argument to init_max_error.
3367 * math/gen-libm-test.pl (%results): Don't include "kind"
3369 (parse_ulps): Don't handle ulps of individual tests.
3370 (print_ulps_file): Likewise.
3371 (output_ulps): Likewise.
3372 * math/README.libm-test: Update.
3373 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3375 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3376 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3377 * sysdeps/arm/libm-test-ulps: Likewise.
3378 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3379 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3380 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3381 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3382 * sysdeps/microblaze/libm-test-ulps: Likewise.
3383 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3384 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3386 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3388 * sysdeps/sh/libm-test-ulps: Likewise.
3389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3390 * sysdeps/tile/libm-test-ulps: Likewise.
3391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3393 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3395 * math/libm-test.inc (print_complex_max_error): Check separately
3396 whether real and imaginary errors are within allowed range and
3397 pass 0 to print_complex_function_ulps instead of value within
3400 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3402 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3404 (get_handles_fopen): Likewise.
3405 (do_write_test): Likewise.
3407 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3409 * libio/fileops.c (do_ftell): Use cached offset when
3411 * libio/iofwide.c (do_ftell_wide): Likewise.
3412 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3414 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3417 * libio/libioP.h (get_file_offset): New function.
3418 * libio/fileops.c (get_file_offset): Likewise.
3419 (do_ftell): Likewise.
3420 (_IO_new_file_seekoff): Split out ftell logic.
3421 * libio/wfileops.c (do_ftell_wide): Likewise.
3422 (_IO_wfile_seekoff): Split out ftell logic.
3423 * libio/tst-ftell-active-handler.c: New test case.
3424 * libio/Makefile (tests): Add it.
3426 2014-03-03 Roland McGrath <roland@hack.frob.com>
3428 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3429 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3431 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3434 * nscd/connections.c (nscd_init): Call do_exit.
3435 (start_threads): Call do_exit and notify_parent.
3436 (begin_drop_privileges): Call do_exit.
3437 (finish_drop_privileges): Likewise.
3438 * nscd/selinux.c (preserve_capabilities): Likewise.
3439 (install_real_capabilities): Likewise.
3440 (nscd_selinux_enabled): Likewise.
3441 (avc_create_thread): Likewise.
3442 (avc_alloc_lock): Likewise.
3443 (nscd_avc_init): Likewise.
3444 * nscd/nscd.c (parent_fd): New static variable.
3445 (main): Create a pipe between parent and child processes.
3446 Skip closing parent_fd.
3447 (monitor_child): New function.
3448 (do_exit): Likewise.
3449 (notify_parent): Likewise.
3450 * nscd/nscd.h (notify_parent): Likewise.
3451 (do_exit): Likewise.
3453 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3455 * malloc/malloc.c (__libc_calloc): Revert last change.
3457 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3461 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3463 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3467 (__libc_ifunc_impl_list): Likewise.
3468 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3469 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3471 * string/strrchr.c: Define STRRCHR.
3473 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3475 * benchtest/bench-strtok.c (simple_strtok): Delete.
3476 (strtok_string): Use as benchmark.
3477 * string/strtok (STRTOK): New macro.
3479 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3481 * manual/threads.texi: Add header and standard comments to all
3484 * elf/dl-lookup.c (check_match): New function.
3485 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3486 (do_lookup_x): Remove nested function check_match. Use non-nested
3487 function check_match.
3489 2014-02-28 Roland McGrath <roland@hack.frob.com>
3491 * csu/Makefile (generated, before-compile): Use += rather than =.
3492 * catgets/Makefile (generated, generated-dirs): Likewise.
3493 * debug/Makefile (generated): Likewise.
3494 * dlfcn/Makefile (generated): Likewise.
3495 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3496 * iconvdata/Makefile (before-compile, generated): Likewise.
3497 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3498 * libio/Makefile (generated): Likewise.
3499 * malloc/Makefile (generated): Likewise.
3500 * manual/Makefile (generated, generated-dirs): Likewise.
3501 * misc/Makefile (generated): Likewise.
3502 * posix/Makefile (generated): Likewise.
3503 * resolv/Makefile (generated): Likewise.
3504 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3505 * timezone/Makefile (generated, generated-dirs): Likewise.
3507 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3509 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3512 power8 implementation.
3513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3514 file: POWER8 llround ifunc implementation.
3515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3516 (__lllround): Add POWER8 implementation.
3517 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3518 POWER8 llround implementation.
3520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3521 power8 implementation.
3522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3523 file: POWER8 llrint ifunc implementation.
3524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3525 Add POWER8 implementation.
3526 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3527 POWER8 llrint implementation.
3529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3530 power8 implementation.
3531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3532 file: POWER8 finite ifunc implementation.
3533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3534 Add POWER8 implementation.
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3537 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3538 POWER8 finite implementation.
3539 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3542 power8 implementation.
3543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3544 file: POWER8 isinf ifunc implementation.
3545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3546 POWER8 implementation.
3547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3549 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3550 isinf implementation.
3551 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3554 (INIT_ARCH): Add hwcap2 initialization.
3555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3556 power8 implementation.
3557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3558 file: POWER8 isnan ifunc implementation.
3559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3560 POWER8 implementation.
3561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3564 isnan implementation.
3565 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3567 2014-02-27 Joey Ye <joey.ye@arm.com>
3569 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3570 (_FP_NANFRAC_Q): Set to zero.
3572 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3575 * math/auto-libm-test-in: New test inputs.
3576 * math/auto-libm-test-out: Regenerate.
3577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3580 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3582 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3584 * scripts/evaluate-test.sh: Take new argument indicating whether
3585 failure is expected.
3586 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3587 indicating whether failure is expected.
3588 * conform/Makefile (test-xfail-run-conformtest): New variable.
3589 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3591 * posix/Makefile (test-xfail-annexc): New variable.
3592 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3594 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3596 * argp/Makefile: Include Makeconfig immediately after defining
3598 * assert/Makefile: Likewise.
3599 * benchtests/Makefile: Likewise.
3600 * catgets/Makefile: Likewise.
3601 * conform/Makefile: Likewise.
3602 * crypt/Makefile: Likewise.
3603 * csu/Makefile: Likewise.
3604 (all): Remove target.
3605 * ctype/Makefile: Include Makeconfig immediately after defining
3607 * debug/Makefile: Likewise.
3608 * dirent/Makefile: Likewise.
3609 * dlfcn/Makefile: Likewise.
3610 * gmon/Makefile: Likewise.
3611 * gnulib/Makefile: Likewise.
3612 * grp/Makefile: Likewise.
3613 * gshadow/Makefile: Likewise.
3614 * hesiod/Makefile: Likewise.
3615 * hurd/Makefile: Likewise.
3616 (all): Remove target.
3617 * iconvdata/Makefile: Include Makeconfig immediately after
3619 * inet/Makefile: Likewise.
3620 * intl/Makefile: Likewise.
3621 * io/Makefile: Likewise.
3622 * libio/Makefile: Likewise.
3623 (all): Remove target.
3624 * locale/Makefile: Include Makeconfig immediately after defining
3626 * login/Makefile: Likewise.
3627 * mach/Makefile: Likewise.
3628 (all): Remove target.
3629 * malloc/Makefile: Include Makeconfig immediately after defining
3631 (all): Remove target.
3632 * manual/Makefile: Include Makeconfig immediately after defining
3634 * math/Makefile: Likewise.
3635 * misc/Makefile: Likewise.
3636 * nis/Makefile: Likewise.
3637 * nss/Makefile: Likewise.
3638 * po/Makefile: Likewise.
3639 (all): Remove target.
3640 * posix/Makefile: Include Makeconfig immediately after defining
3642 * pwd/Makefile: Likewise.
3643 * resolv/Makefile: Likewise.
3644 * resource/Makefile: Likewise.
3645 * rt/Makefile: Likewise.
3646 * setjmp/Makefile: Likewise.
3647 * shadow/Makefile: Likewise.
3648 * signal/Makefile: Likewise.
3649 * socket/Makefile: Likewise.
3650 * soft-fp/Makefile: Likewise.
3651 * stdio-common/Makefile: Likewise.
3652 * stdlib/Makefile: Likewise.
3653 * streams/Makefile: Likewise.
3654 * string/Makefile: Likewise.
3655 * sunrpc/Makefile: Likewise.
3656 (all): Remove target.
3657 * sysvipc/Makefile: Include Makeconfig immediately after defining
3659 * termios/Makefile: Likewise.
3660 * time/Makefile: Likewise.
3661 * timezone/Makefile: Likewise.
3662 (all): Remove target.
3663 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3665 * wctype/Makefile: Likewise.
3667 2014-02-26 Steve Ellcey <sellcey@mips.com>
3669 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3670 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3671 (libc_feholdexcept_setround_mips): Ditto.
3672 (libc_feholdsetround): New.
3673 (libc_feholdsetroundf): New.
3674 (libc_feholdsetroundl): New.
3675 (libc_feupdateenv_test_mips): New.
3676 (libc_feupdateenv_test): New.
3677 (libc_feupdateenv_testf): New.
3678 (libc_feupdateenv_testl): New.
3679 (libc_feresetround): New.
3680 (libc_feresetroundf): New.
3681 (libc_feresetroundl): New.
3682 (libc_fetestexcept_mips): New.
3683 (libc_fetestexcept): New.
3684 (libc_fetestexceptf): New.
3685 (libc_fetestexceptl): New.
3687 (libc_feholdexcept_setround_mips_ctx): New.
3688 (libc_feholdexcept_setround_ctx): New.
3689 (libc_feholdexcept_setroundf_ctx): New.
3690 (libc_feholdexcept_setroundl_ctx): New.
3691 (libc_fesetenv_mips_ctx): New.
3692 (libc_fesetenv_ctx): New.
3693 (libc_fesetenv_ctxf): New.
3694 (libc_fesetenv_ctxl): New.
3695 (libc_feupdateenv_mips_ctx): New.
3696 (libc_feupdateenv_ctx): New.
3697 (libc_feupdateenvf_ctx): New.
3698 (libc_feupdateenvl_ctx): New.
3699 (libc_feholdsetround_mips_ctx): New.
3700 (libc_feholdsetround_ctx): New.
3701 (libc_feholdsetroundf_ctx): New.
3702 (libc_feholdsetroundl_ctx): New.
3703 (libc_feresetround_mips_ctx): New.
3704 (libc_feresetround_ctx): New.
3705 (libc_feresetroundf_ctx): New.
3706 (libc_feresetroundl_ctx): New.
3708 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3710 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3712 * manual/ipc.texi: New file.
3713 * manual/Makefile (chapters): Add ipc.
3714 * manual/job.texi: Add "Inter-Process Communication" to next.
3715 * manual/process.texi: Add "Inter-Process Communication" to prev.
3717 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3721 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3723 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3725 * manual/arith.texi: Fix spaces after sentences.
3726 * manual/charset.texi: Likewise.
3727 * manual/errno.texi: Likewise.
3728 * manual/install.texi: Likewise.
3729 * manual/llio.texi: Likewise.
3730 * manual/locale.texi: Likewise.
3731 * manual/maint.texi: Likewise.
3732 * manual/math.texi: Likewise.
3733 * manual/memory.texi: Likewise.
3734 * manual/message.texi: Likewise.
3735 * manual/probes.texi: Likewise.
3736 * manual/resource.texi: Likewise.
3737 * manual/signal.texi: Likewise.
3738 * manual/socket.texi: Likewise.
3739 * manual/stdio.texi: Likewise.
3740 * manual/string.texi: Likewise.
3741 * manual/time.texi: Likewise.
3742 * manual/users.texi: Likewise.
3744 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3747 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3748 _DEFAULT_SOURCE is defined.
3750 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3751 Carlos O'Donell <carlos@redhat.com>
3754 * elf/dl-tls.c (_dl_count_modids): New function.
3755 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3756 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3757 audit library and increment generation counter.
3758 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3759 * elf/tst-audit9.c: New file.
3760 * elf/tst-auditmod9a.c: New file.
3761 * elf/tst-auditmod9b.c: New file.
3762 * elf/Makefile: Add rules to build and run tst-audit9.
3764 2014-02-25 Florian Weimer <fweimer@redhat.com>
3767 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3769 2014-02-25 Will Newton <will.newton@linaro.org>
3771 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3772 (__longjmp): Restore sp and lr before restoring callee
3773 saved registers. Add longjmp and longjmp_target
3774 SystemTap probe point.
3775 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3776 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3777 Define to zero to match jmpbuf layout.
3778 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3779 (__sigsetjmp): Save sp and lr before saving callee
3780 saved registers. Add setjmp SystemTap probe point.
3782 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3784 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3786 2014-02-24 Andreas Schwab <schwab@suse.de>
3789 * elf/pldd.c (wait_for_ptrace_stop): New function.
3790 (main): Call it after attaching.
3792 2014-02-22 Roland McGrath <roland@hack.frob.com>
3794 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3795 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3796 Versions files is now verboten.
3797 * hurd/Versions (libc: GLIBC_2.0):
3798 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3799 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3800 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3801 * mach/Versions: Likewise.
3803 * csu/Versions: Remove unused %include.
3804 * resolv/Versions: Likewise.
3806 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3808 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3809 ($(objpfx)check-local-headers.out): Likewise.
3810 ($(objpfx)begin-end-check.out): Likewise.
3811 * Makerules (check-abi-%.out): Likewise.
3812 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3813 ($(objpfx)test2.cat): Likewise.
3814 ($(objpfx)de/libc.cat): Likewise.
3815 ($(objpfx)test-gencat.out): Likewise.
3816 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3817 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3818 ($(objpfx)noload-mem): Likewise.
3819 ($(objpfx)tst-pathopt.out): Likewise.
3820 ($(objpfx)tst-rtld-load-self.out): Likewise.
3821 ($(objpfx)tst-array1-cmp.out): Likewise.
3822 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3823 ($(objpfx)tst-array2-cmp.out): Likewise.
3824 ($(objpfx)tst-array3-cmp.out): Likewise.
3825 ($(objpfx)tst-array4-cmp.out): Likewise.
3826 ($(objpfx)tst-array5-cmp.out): Likewise.
3827 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3828 ($(objpfx)check-textrel.out): Likewise.
3829 ($(objpfx)check-execstack.out): Likewise.
3830 ($(objpfx)check-localplt.out): Likewise.
3831 ($(objpfx)order2-cmp.out): Likewise.
3832 ($(objpfx)tst-leaks1-mem): Likewise.
3833 ($(objpfx)tst-leaks1-static-mem): Likewise.
3834 ($(objpfx)tst-initorder-cmp.out): Likewise.
3835 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3836 ($(objpfx)tst-unused-dep.out): Likewise.
3837 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3838 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3839 * iconv/Makefile (test-iconvconfig): Likewise.
3840 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3841 ($(objpfx)iconv-test.out): Likewise.
3842 ($(objpfx)tst-tables.out): Likewise.
3843 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3844 ($(objpfx)tst-gettext.out): Likewise.
3845 ($(objpfx)tst-translit.out): Likewise.
3846 ($(objpfx)tst-gettext2.out): Likewise.
3847 ($(objpfx)tst-gettext4.out): Likewise.
3848 ($(objpfx)tst-gettext6.out): Likewise.
3849 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3850 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3851 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3852 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3854 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3855 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3856 ($(objpfx)wordexp-tst.out): Likewise.
3857 ($(objpfx)annexc.out): Likewise.
3858 ($(objpfx)tst-fnmatch-mem): Likewise.
3859 ($(objpfx)bug-regex2-mem): Likewise.
3860 ($(objpfx)bug-regex14-mem): Likewise.
3861 ($(objpfx)bug-regex21-mem): Likewise.
3862 ($(objpfx)bug-regex31-mem): Likewise.
3863 ($(objpfx)tst-vfork3-mem): Likewise.
3864 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3865 ($(objpfx)tst-pcre-mem): Likewise.
3866 ($(objpfx)tst-boost-mem): Likewise.
3867 ($(objpfx)tst-getconf.out): Likewise.
3868 ($(objpfx)bug-ga2-mem): Likewise.
3869 ($(objpfx)bug-glob2-mem): Likewise.
3870 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3871 ($(objpfx)mtrace-tst-leaks2): Likewise.
3872 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3873 ($(objpfx)tst-printf.out): Likewise.
3874 ($(objpfx)tst-setvbuf1.out): Likewise.
3875 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3876 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3877 ($(objpfx)tst-fmtmsg.out): Likewise.
3878 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3879 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3881 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3882 * bits/sigaction.h [__USE_MISC]: Likewise.
3883 * bits/waitstatus.h: Update #endif comments.
3884 * ctype/ctype.h: Likewise.
3885 * dirent/dirent.h: Likewise.
3886 [__USE_MISC]: Remove redundant conditionals.
3887 * grp/grp.h: Update #endif comments.
3888 [__USE_GNU]: Remove redundant conditionals.
3889 [__USE_MISC]: Likewise.
3890 * inet/netinet/in.h [__USE_GNU]: Likewise.
3891 * io/sys/stat.h [__USE_MISC]: Likewise.
3892 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3893 * libio/bits/stdio.h: Update #endif comments.
3894 [__USE_MISC]: Remove redundant conditionals.
3895 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3896 * libio/stdio.h: Update #endif comments.
3897 [__USE_MISC]: Remove redundant conditionals.
3898 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3899 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3900 * math/math.h: Update #else and #endif comments.
3901 [__USE_MISC]: Remove redundant conditionals.
3902 * misc/sys/uio.h: Update #endif comments.
3903 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3904 * posix/glob.h [__USE_MISC]: Likewise.
3905 * posix/sys/types.h: Update #endif comments.
3906 [__USE_MISC]: Remove redundant conditionals.
3907 * posix/sys/wait.h: Update #endif comments.
3908 [__USE_MISC]: Remove redundant conditionals.
3909 * posix/unistd.h: Update #endif comments.
3910 [__USE_MISC]: Remove redundant conditionals.
3911 * pwd/pwd.h [__USE_GNU]: Likewise.
3912 [__USE_MISC]: Likewise.
3913 * resolv/netdb.h [__USE_GNU]: Likewise.
3914 * signal/signal.h: Update #endif comments.
3915 [__USE_MISC]: Remove redundant conditionals.
3916 * stdlib/stdlib.h: Update #else and #endif comments.
3917 [__USE_MISC]: Remove redundant conditionals.
3918 [__USE_GNU]: Likewise.
3919 * string/bits/string2.h [__USE_MISC]: Likewise.
3920 * string/string.h: Update #endif comments.
3921 [__USE_MISC]: Remove redundant conditionals.
3922 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3924 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3925 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3926 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3928 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3932 [__USE_MISC]: Remove redundant conditionals.
3933 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3934 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3935 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3936 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3937 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3939 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3940 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3942 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3945 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3947 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3948 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3950 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3952 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3953 * sysdeps/x86/bits/string.h: Update #endif comments.
3954 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3956 * time/sys/time.h: Update #endif comments.
3957 * time/time.h: Likewise.
3958 [__USE_MISC]: Remove redundant conditionals.
3960 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3963 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3965 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3967 * Versions.def (librt): Add GLIBC_2.17.
3969 2014-02-21 Adam Conrad <adconrad@0c3.net>
3971 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3972 synonym for _SYS_AUXV_H to allow direct inclusion.
3973 * sysdeps/sparc/bits/hwcap.h: Likewise.
3974 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3975 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3976 * sysdeps/sparc/sysdep.h: Likewise.
3978 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3980 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3982 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3984 * benchtests/bench-strrchr.c: Print length instead of position.
3986 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3989 * sysdeps/unix/sysv/linux/kernel-features.h
3990 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3991 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3992 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3993 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3995 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3996 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3997 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3998 (__ASSUME_SENDMMSG): Define instead of using previous
3999 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4001 (__ASSUME_SENDMMSG_SYSCALL): Define.
4002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4003 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4006 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4008 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4009 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4011 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4012 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4013 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4014 [__ASSUME_SENDMMSG]: Change conditionals to
4015 [__ASSUME_SENDMMSG_SOCKETCALL].
4016 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4017 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4019 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4020 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4022 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4023 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4024 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4025 [!__ASSUME_SENDMMSG]: Change conditional to
4026 [!__ASSUME_SENDMMSG_SOCKETCALL].
4027 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4028 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4032 * sysdeps/unix/sysv/linux/kernel-features.h
4033 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4034 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4035 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4036 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4037 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4038 [__i386__ || __sparc__]
4039 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4040 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4041 (__ASSUME_RECVMMSG): Define instead of using previous
4042 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4043 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4044 (__ASSUME_RECVMMSG_SYSCALL): Define.
4045 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4048 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4049 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4051 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4052 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4054 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4055 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4056 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4057 [__ASSUME_RECVMMSG]: Change condition to
4058 [__ASSUME_RECVMMSG_SOCKETCALL].
4059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4062 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4063 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4064 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4066 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4067 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4068 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4069 [!__ASSUME_RECVMMSG]: Change condition to
4070 [!__ASSUME_RECVMMSG_SOCKETCALL].
4071 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4072 (__ASSUME_RECVMMSG_SYSCALL): Define.
4075 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4076 __powerpc__ || __s390__ || __sh__ || __sparc__]
4077 (__ASSUME_SOCKETCALL): Define.
4078 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4079 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4080 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4081 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4082 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4083 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4084 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4085 (__ASSUME_ACCEPT4): Define instead of using previous
4086 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4087 __powerpc__ || __sparc__ || __s390__)] condition.
4088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4090 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4091 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4092 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4093 [!__ASSUME_ACCEPT4]: Change condition to
4094 [!__ASSUME_ACCEPT4_SOCKETCALL].
4095 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4096 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4097 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4098 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4099 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4100 __ASSUME_ACCEPT4_SYSCALL.
4101 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4102 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4103 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4104 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4105 __ASSUME_ACCEPT4_SYSCALL.
4106 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4107 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4108 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4109 [__ASSUME_ACCEPT4]: Change condition to
4110 [__ASSUME_ACCEPT4_SOCKETCALL].
4111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4112 (__ASSUME_SOCKETCALL): Define.
4113 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4114 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4115 (__ASSUME_SOCKETCALL): Define.
4116 (__ASSUME_ACCEPT4): Remove.
4117 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4119 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4120 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4122 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4123 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4125 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4127 (HWCAP_ARM_LPAE): Likewise.
4128 (HWCAP_ARM_EVTSTRM): Likewise.
4129 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4130 Add vpfd32, lpae and evtstrm.
4131 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4134 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4136 * math/auto-libm-test-in: Add tests of clog10.
4137 * math/auto-libm-test-out: Regenerated.
4138 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4139 * sysdeps/i386/fpu/libm-test-ulps: Update.
4140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142 2014-02-18 Andreas Schwab <schwab@suse.de>
4145 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4146 Store non-zero if the second buffer was newly allocated.
4147 (send_dg): Likewise.
4148 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4149 to send_vc and send_dg.
4150 (res_nsend): Pass NULL for ansp2_malloced.
4151 * resolv/res_query.c (__libc_res_nquery): Add parameter
4152 answerp2_malloced and pass it down to __libc_res_nsend.
4153 (res_nquery): Pass additional NULL to __libc_res_nquery.
4154 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4155 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4156 second answer buffer if answerp2_malloced was set.
4157 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4158 (__libc_res_nquerydomain): Add parameter
4159 answerp2_malloced and pass it down to __libc_res_nquery.
4160 (res_nquerydomain): Pass additional NULL to
4161 __libc_res_nquerydomain.
4162 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4163 additional NULL to __libc_res_nsend and __libc_res_nquery.
4164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4165 additional NULL to __libc_res_nsearch.
4166 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4167 parameter of __libc_res_nsearch to check for separately allocated
4169 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4171 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4172 additional NULL to __libc_res_nquery.
4173 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4175 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4176 * include/resolv.h: Update prototypes of __libc_res_nquery,
4177 __libc_res_nsearch, __libc_res_nsend.
4179 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4181 * math/auto-libm-test-in: Add tests of fma.
4182 * math/auto-libm-test-out: Regenerated.
4183 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4184 (fma_towardzero_test_data): Likewise.
4185 (fma_downward_test_data): Likewise.
4186 (fma_upward_test_data): Likewise.
4187 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4189 (rounding_modes): Add values for new field.
4190 (func_calc_method): Add value mpfr_fff_f.
4191 (func_calc_desc): Add mpfr_fff_f union field.
4192 (test_function): Add field exact_args.
4193 (FUNC): Add macro argument EXACT_ARGS.
4194 (FUNC_mpfr_f_f): Update call to FUNC.
4195 (FUNC_mpfr_f_f): Likewise.
4196 (FUNC_mpfr_ff_f): Likewise.
4197 (FUNC_mpfr_if_f): Likewise.
4198 (FUNC_mpc_c_f): Likewise.
4199 (FUNC_mpc_c_c): Likewise.
4200 (test_functions): Add fma. Update calls to FUNC.
4201 (handle_input_arg): Add argument exact_args.
4202 (add_test): Update call to handle_input_arg.
4203 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4204 (output_for_one_input_case): Update call to calc_generic_results.
4205 Recalculate exact zero results in each rounding mode.
4207 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4208 non-negative before setting low bit.
4209 * math/auto-libm-test-in: Mark one asin test possibly having
4211 * math/auto-libm-test-out: Regenerated.
4212 * sysdeps/i386/fpu/libm-test-ulps: Update.
4213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4215 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4217 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4218 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4219 ports/sysdeps/unix/sysv/linux/microblaze.
4220 * README: Add missing listing for microblaze*-*-linux-gnu.
4222 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4224 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4225 * sysdeps/unix/sysv/linux/ia64: Move directory from
4226 ports/sysdeps/unix/sysv/linux/ia64.
4227 * README: Update listing for ia64-*-linux-gnu.
4229 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4230 Joseph Myers <joseph@codesourcery.com>
4232 * Makeconfig (test-name): New variable.
4233 (evaluate-test): Likewise.
4234 * Makerules (do-test-clean): Remove .test-result files.
4235 (common-mostlyclean): Likewise.
4236 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4237 * scripts/evaluate-test.sh: New file.
4239 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4241 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4242 separate $(objpfx)tst-fopenloc-cmp.out and
4243 $(objpfx)tst-fopenloc-mem.out targets.
4244 (tests): Update dependencies.
4245 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4246 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4247 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4248 (tst-rxspencer-no-utf8-ARGS): New variable.
4249 (tst-rxspencer-no-utf8-ENV): Likewise.
4250 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4251 instead of $(objpfx)tst-rxspencer-mem.
4252 ($(objpfx)tst-rxspencer-mem): Change target to
4253 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4254 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4255 * posix/tst-rxspencer-no-utf8.c: New file.
4257 * elf/Makefile ($(objpfx)order.out): Remove rule.
4258 [$(run-built-tests) = yes] (tests): Depend on
4259 $(objpfx)order-cmp.out.
4260 ($(objpfx)order-cmp.out): New rule.
4261 [$(run-built-tests) = yes] (tests): Depend on
4262 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4263 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4264 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4265 $(objpfx)tst-array5-static-cmp.out.
4266 ($(objpfx)tst-array1.out): Remove rule.
4267 ($(objpfx)tst-array1-cmp.out): New rule.
4268 ($(objpfx)tst-array1-static.out): Remove rule.
4269 ($(objpfx)tst-array1-static-cmp.out): New rule.
4270 ($(objpfx)tst-array2.out): Remove rule.
4271 ($(objpfx)tst-array2-cmp.out): New rule.
4272 ($(objpfx)tst-array3.out): Remove rule.
4273 ($(objpfx)tst-array3-cmp.out): New rule.
4274 ($(objpfx)tst-array4.out): Remove rule.
4275 ($(objpfx)tst-array4-cmp.out): New rule.
4276 ($(objpfx)tst-array5.out): Remove rule.
4277 ($(objpfx)tst-array5-cmp.out): New rule.
4278 ($(objpfx)tst-array5-static.out): Remove rule.
4279 ($(objpfx)tst-array5-static-cmp.out): New rule.
4280 [$(run-built-tests) = yes] (tests): Depend on
4281 $(objpfx)order2-cmp.out.
4282 ($(objpfx)order2.out): Remove rule.
4283 ($(objpfx)order2-cmp.out): New rule.
4284 ($(objpfx)tst-initorder.out): Remove rule.
4285 [$(run-built-tests) = yes] (tests): Depend on
4286 $(objpfx)tst-initorder-cmp.out.
4287 ($(objpfx)tst-initorder-cmp.out): New rule.
4288 ($(objpfx)tst-initorder2.out): Remove rule.
4289 [$(run-built-tests) = yes] (tests): Depend on
4290 $(objpfx)tst-initorder2-cmp.out.
4291 ($(objpfx)tst-initorder2-cmp.out): New rule.
4292 [$(run-built-tests) = yes] (tests): Depend on
4293 $(objpfx)tst-unused-dep-cmp.out.
4294 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4295 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4296 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4297 on $(objpfx)tst-setvbuf1-cmp.out.
4298 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4299 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4300 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4301 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4302 ($(objpfx)tst-svc.out): Remove rule.
4303 ($(objpfx)tst-svc-cmp.out): New rule.
4305 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4307 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4308 * ctype/ctype.h [__USE_MISC]: Likewise.
4309 * dirent/dirent.h [__USE_MISC]: Likewise.
4310 * grp/grp.h [__USE_MISC]: Likewise.
4311 * io/fcntl.h [__USE_MISC]: Likewise.
4312 * io/sys/stat.h [__USE_MISC]: Likewise.
4313 * libio/stdio.h [__USE_MISC]: Likewise.
4314 * posix/unistd.h [__USE_MISC]: Likewise.
4315 * pwd/pwd.h [__USE_MISC]: Likewise.
4316 * stdlib.h [__USE_MISC]: Likewise.
4317 * string/bits/string2.h [__USE_MISC]: Likewise.
4318 * string/string.h [__USE_MISC]: Likewise.
4319 * time/time.h [__USE_MISC]: Likewise.
4321 2014-02-13 Andreas Schwab <schwab@suse.de>
4324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4325 second answer buffer if it was separately allocated.
4327 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4329 * sysdeps/mips/math-tests.h: Include <features.h>.
4330 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4331 (ROUNDING_TESTS_long_double): Do not define.
4332 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4333 (EXCEPTION_TESTS_long_double): Likewise.
4334 * sysdeps/mips/mips64/libm-test-ulps: Update.
4336 * include/features.h (__USE_BSD): Remove macro definitions.
4337 (__USE_SVID): Likewise.
4338 (_BSD_SOURCE): Likewise.
4339 (_SVID_SOURCE): Likewise.
4340 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4341 from definition of _DEFAULT_SOURCE.
4342 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4344 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4345 * bits/mman.h [__USE_BSD]: Likewise.
4346 * bits/termios.h [__USE_BSD]: Likewise.
4347 * bits/waitstatus.h [__USE_BSD]: Likewise.
4348 * ctype/ctype.h [__USE_SVID]: Likewise.
4349 * dirent/dirent.h [__USE_BSD]: Likewise.
4350 * grp/grp.h [__USE_SVID]: Likewise.
4351 [__USE_BSD]: Likewise.
4352 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4353 * io/fcntl.h [__USE_BSD]: Likewise.
4354 * io/ftw.h [__USE_BSD]: Likewise.
4355 * io/sys/stat.h [__USE_BSD]: Likewise.
4356 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4357 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4358 * libio/stdio.h [__USE_SVID]: Likewise.
4359 [__USE_BSD]: Likewise.
4360 * math/math.h [__USE_SVID]: Likewise.
4361 [__USE_BSD]: Likewise.
4362 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4363 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4364 * misc/search.h [__USE_SVID]: Likewise.
4365 * misc/sys/mman.h [__USE_BSD]: Likewise.
4366 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4367 * misc/sys/uio.h [__USE_BSD]: Likewise.
4368 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4369 * posix/glob.h [__USE_BSD]: Likewise.
4370 * posix/regex.h [__USE_BSD]: Likewise.
4371 * posix/sys/types.h [__USE_BSD]: Likewise.
4372 [__USE_SVID]: Likewise.
4373 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4374 * posix/sys/wait.h [__USE_BSD]: Likewise.
4375 [__USE_SVID]: Likewise.
4376 * posix/unistd.h [__USE_BSD]: Likewise.
4377 [__USE_SVID]: Likewise.
4378 * pwd/pwd.h [__USE_SVID]: Likewise.
4379 * resolv/netdb.h [__USE_BSD]: Likewise.
4380 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4381 * signal/signal.h [__USE_BSD]: Likewise.
4382 [__USE_SVID]: Likewise.
4383 * socket/sys/socket.h [__USE_BSD]: Likewise.
4384 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4385 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4386 [__USE_SVID]: Likewise.
4387 * string/bits/string2.h [__USE_BSD]: Likewise.
4388 [__USE_SVID]: Likewise.
4389 * string/bits/string3.h [__USE_BSD]: Likewise.
4390 * string/endian.h [__USE_BSD]: Likewise.
4391 * string/string.h [__USE_SVID]: Likewise.
4392 [__USE_BSD]: Likewise.
4393 * string/strings.h [__USE_BSD]: Likewise.
4394 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4395 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4397 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4398 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4399 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4403 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4406 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4407 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4409 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4411 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4412 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4413 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4415 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4417 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4418 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4419 * termios/termios.h [__USE_BSD]: Likewise.
4420 * time/sys/time.h [__USE_BSD]: Likewise.
4421 * time/time.h [__USE_BSD]: Likewise.
4422 [__USE_SVID]: Likewise.
4424 * Makefile (subdir_targets): Remove subdir_lint.out.
4426 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4427 (do-tst-printf): Likewise.
4428 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4429 $(objpfx)tst-printf.out.
4431 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4433 * Makerules (check-abi-%): Change target to
4434 $(objpfx)check-abi-%.out.
4435 (check-abi target): Update dependencies.
4436 (check-abi-pattern variable): Redirect output of diff to $@.
4437 (check-abi variable): Likewise.
4438 * elf/Makefile (check-abi): Update dependencies.
4440 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4442 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4443 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4445 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4446 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4447 value has largest subnormal exponent.
4448 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4449 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4450 * sysdeps/aarch64/soft-fp/sfp-machine.h
4451 (_FP_TININESS_AFTER_ROUNDING): New macro.
4452 * sysdeps/alpha/soft-fp/sfp-machine.h
4453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4454 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4456 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4458 * sysdeps/mips/soft-fp/sfp-machine.h
4459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4460 * sysdeps/powerpc/soft-fp/sfp-machine.h
4461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4462 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4468 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4471 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4474 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4477 2014-02-12 Richard Henderson <rth@redhat.com>
4479 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4480 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4481 * sysdeps/unix/sysv/linux/alpha: Move directory from
4482 ports/sysdeps/unix/sysv/linux/alpha.
4483 * README: Update listing for alpha-*-linux-gnu.
4485 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4487 * include/features.h: Update comment documenting feature test
4489 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4491 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4492 (_SVID_SOURCE): Likewise.
4493 (_DEFAULT_SOURCE): Update description of default features.
4494 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4496 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4497 (S_ISVTX): Likewise.
4498 * manual/math.texi (Mathematical Constants): Likewise.
4499 * manual/signal.texi (Interrupted Primitives): Likewise.
4500 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4501 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4502 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4503 Don't refer to _SVID_SOURCE in warning text.
4505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4507 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4509 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4510 * sysdeps/mips/dl-lookup.c: Remove.
4511 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4513 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4516 * math/auto-libm-test-in: Add testcase for expl.
4517 * math/auto-libm-test-out: Regenerate.
4518 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4519 calculation of unsafe.
4520 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4522 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4524 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4525 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4526 ports/sysdeps/unix/sysv/linux/aarch64.
4527 * README: Update listing for aarch64*-*-linux-gnu.
4529 2014-02-11 Will Newton <will.newton@linaro.org>
4531 * manual/probes.texi (Mathematical Function Probes): Use
4532 "triggered" instead of "hit".
4534 * manual/probes.texi (Internal Probes): Add documentation
4535 of setjmp, longjmp and longjmp_target probes.
4537 * include/stap-probe.h: Add comment about probe argument
4540 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4541 definition. (tr_where, tr_freehook, tr_mallochook,
4542 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4544 2014-02-11 David S. Miller <davem@davemloft.net>
4546 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4547 processing int_tests.
4549 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4551 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4552 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4553 * sysdeps/unix/sysv/linux/mips: Move directory from
4554 ports/sysdeps/unix/sysv/linux/mips.
4555 * README: Update listing for mips-*-linux-gnu and
4558 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4560 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4561 * sysdeps/unix/sysv/linux/m68k: Move directory from
4562 ports/sysdeps/unix/sysv/linux/m68k.
4563 * README: Update listing for m68k-*-linux-gnu.
4565 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4567 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4568 * sysdeps/unix/sysv/linux/generic: Move directory from
4569 ports/sysdeps/unix/sysv/linux/generic.
4570 * sysdeps/unix/sysv/linux/tile: Move directory from
4571 ports/sysdeps/unix/sysv/linux/tile.
4572 * README: Update listing for tile*-*-linux-gnu.
4574 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4576 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4578 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4579 * catgets/open_catalog.c (__open_catalog): Likewise.
4580 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4581 * debug/confstr_chk.c: Likewise.
4582 * debug/fread_chk.c (__fread_chk): Likewise.
4583 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4584 * debug/getgroups_chk.c: Likewise.
4585 * debug/mbsnrtowcs_chk.c: Likewise.
4586 * debug/mbsrtowcs_chk.c: Likewise.
4587 * debug/mbstowcs_chk.c: Likewise.
4588 * debug/memcpy_chk.c: Likewise.
4589 * debug/memmove_chk.c: Likewise.
4590 * debug/mempcpy_chk.c: Likewise.
4591 * debug/memset_chk.c: Likewise.
4592 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4593 * debug/strcat_chk.c (__strcat_chk): Likewise.
4594 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4595 * debug/strncat_chk.c (__strncat_chk): Likewise.
4596 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4597 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4598 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4599 * debug/wcpncpy_chk.c: Likewise.
4600 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4601 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4602 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4603 * debug/wcsncpy_chk.c: Likewise.
4604 * debug/wcsnrtombs_chk.c: Likewise.
4605 * debug/wcsrtombs_chk.c: Likewise.
4606 * debug/wcstombs_chk.c: Likewise.
4607 * debug/wmemcpy_chk.c: Likewise.
4608 * debug/wmemmove_chk.c: Likewise.
4609 * debug/wmempcpy_chk.c: Likewise.
4610 * debug/wmemset_chk.c: Likewise.
4611 * dirent/scandirat.c (SCANDIRAT): Likewise.
4612 * dlfcn/dladdr1.c (dladdr1): Likewise.
4613 * dlfcn/dladdr.c (dladdr): Likewise.
4614 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4615 * dlfcn/dlerror.c (__dlerror): Likewise.
4616 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4617 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4618 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4619 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4620 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4621 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4622 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4623 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4625 * elf/dl-conflict.c: Likewise.
4626 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4627 * elf/dl-dst.h: Likewise.
4628 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4629 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4631 * elf/dl-init.c (call_init, _dl_init): Likewise.
4632 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4633 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4634 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4636 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4638 * elf/dl-minimal.c (__libc_memalign): Likewise.
4639 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4640 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4641 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4642 * elf/dl-sym.c (do_sym): Likewise.
4643 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4644 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4645 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4646 * elf/dl-writev.h (_dl_writev): Likewise.
4647 * elf/ldconfig.c (search_dir): Likewise.
4648 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4649 (dl_main): Likewise.
4650 * elf/setup-vdso.h (setup_vdso): Likewise.
4651 * grp/compat-initgroups.c (compat_call): Likewise.
4652 * grp/fgetgrent.c (fgetgrent): Likewise.
4653 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4654 * grp/putgrent.c (putgrent): Likewise.
4655 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4657 * hurd/hurdinit.c: Likewise.
4658 * iconvdata/8bit-gap.c (struct): Likewise.
4659 * iconvdata/ansi_x3.110.c : Likewise.
4660 * iconvdata/big5.c : Likewise.
4661 * iconvdata/big5hkscs.c : Likewise.
4662 * iconvdata/cp1255.c: Likewise.
4663 * iconvdata/cp1258.c : Likewise.
4664 * iconvdata/cp932.c : Likewise.
4665 * iconvdata/euc-cn.c: Likewise.
4666 * iconvdata/euc-jisx0213.c : Likewise.
4667 * iconvdata/euc-jp.c: Likewise.
4668 * iconvdata/euc-jp-ms.c : Likewise.
4669 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4670 * iconvdata/gb18030.c : Likewise.
4671 * iconvdata/gbbig5.c (const): Likewise.
4672 * iconvdata/gbgbk.c: Likewise.
4673 * iconvdata/gbk.c : Likewise.
4674 * iconvdata/ibm1364.c : Likewise.
4675 * iconvdata/ibm930.c : Likewise.
4676 * iconvdata/ibm932.c: Likewise.
4677 * iconvdata/ibm933.c : Likewise.
4678 * iconvdata/ibm935.c : Likewise.
4679 * iconvdata/ibm937.c : Likewise.
4680 * iconvdata/ibm939.c : Likewise.
4681 * iconvdata/ibm943.c: Likewise.
4682 * iconvdata/iso_11548-1.c: Likewise.
4683 * iconvdata/iso-2022-cn.c : Likewise.
4684 * iconvdata/iso-2022-cn-ext.c : Likewise.
4685 * iconvdata/iso-2022-jp-3.c: Likewise.
4686 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4687 * iconvdata/iso-2022-kr.c : Likewise.
4688 * iconvdata/iso646.c (gconv_end): Likewise.
4689 * iconvdata/iso_6937-2.c : Likewise.
4690 * iconvdata/iso_6937.c : Likewise.
4691 * iconvdata/iso8859-1.c: Likewise.
4692 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4693 * iconvdata/shift_jisx0213.c : Likewise.
4694 * iconvdata/sjis.c : Likewise.
4695 * iconvdata/t.61.c : Likewise.
4696 * iconvdata/tcvn5712-1.c : Likewise.
4697 * iconvdata/tscii.c: Likewise.
4698 * iconvdata/uhc.c : Likewise.
4699 * iconvdata/unicode.c (gconv_end): Likewise.
4700 * iconvdata/utf-16.c (gconv_end): Likewise.
4701 * iconvdata/utf-32.c (gconv_end): Likewise.
4702 * iconvdata/utf-7.c (base64): Likewise.
4703 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4704 * iconv/gconv_close.c (__gconv_close): Likewise.
4705 * iconv/gconv_open.c (__gconv_open): Likewise.
4706 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4707 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4708 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4709 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4710 (ucs4le_internal_loop_single): Likewise.
4711 * iconv/iconv.c (iconv): Likewise.
4712 * iconv/iconv_close.c: Likewise.
4713 * iconv/loop.c (SINGLE): Likewise.
4714 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4715 * include/atomic.h: Likewise.
4716 * inet/inet6_option.c (option_alloc): Likewise.
4717 * intl/bindtextdom.c (set_binding_values): Likewise.
4718 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4719 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4720 * intl/localealias.c (read_alias_file): Likewise.
4721 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4722 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4723 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4724 * libio/fmemopen.c (fmemopen): Likewise.
4725 * libio/iofgets.c (_IO_fgets): Likewise.
4726 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4727 * libio/iofgetws.c (fgetws): Likewise.
4728 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4729 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4730 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4731 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4732 * locale/findlocale.c (_nl_find_locale): Likewise.
4733 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4734 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4736 * locale/setlocale.c (setlocale): Likewise.
4737 * login/programs/pt_chown.c (main): Likewise.
4738 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4739 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4740 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4741 (mmap, mmap64, mremap, munmap): Likewise.
4742 * math/e_exp2l.c: Likewise.
4743 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4744 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4745 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4746 * math/s_catan.c (__catan): Likewise.
4747 * math/s_catanf.c (__catanf): Likewise.
4748 * math/s_catanh.c (__catanh): Likewise.
4749 * math/s_catanhf.c (__catanhf): Likewise.
4750 * math/s_catanhl.c (__catanhl): Likewise.
4751 * math/s_catanl.c (__catanl): Likewise.
4752 * math/s_ccosh.c (__ccosh): Likewise.
4753 * math/s_ccoshf.c (__ccoshf): Likewise.
4754 * math/s_ccoshl.c (__ccoshl): Likewise.
4755 * math/s_cexp.c (__cexp): Likewise.
4756 * math/s_cexpf.c (__cexpf): Likewise.
4757 * math/s_cexpl.c (__cexpl): Likewise.
4758 * math/s_clog10.c (__clog10): Likewise.
4759 * math/s_clog10f.c (__clog10f): Likewise.
4760 * math/s_clog10l.c (__clog10l): Likewise.
4761 * math/s_clog.c (__clog): Likewise.
4762 * math/s_clogf.c (__clogf): Likewise.
4763 * math/s_clogl.c (__clogl): Likewise.
4764 * math/s_csin.c (__csin): Likewise.
4765 * math/s_csinf.c (__csinf): Likewise.
4766 * math/s_csinh.c (__csinh): Likewise.
4767 * math/s_csinhf.c (__csinhf): Likewise.
4768 * math/s_csinhl.c (__csinhl): Likewise.
4769 * math/s_csinl.c (__csinl): Likewise.
4770 * math/s_csqrt.c (__csqrt): Likewise.
4771 * math/s_csqrtf.c (__csqrtf): Likewise.
4772 * math/s_csqrtl.c (__csqrtl): Likewise.
4773 * math/s_ctan.c (__ctan): Likewise.
4774 * math/s_ctanf.c (__ctanf): Likewise.
4775 * math/s_ctanh.c (__ctanh): Likewise.
4776 * math/s_ctanhf.c (__ctanhf): Likewise.
4777 * math/s_ctanhl.c (__ctanhl): Likewise.
4778 * math/s_ctanl.c (__ctanl): Likewise.
4779 * math/w_pow.c: Likewise.
4780 * math/w_powf.c: Likewise.
4781 * math/w_powl.c: Likewise.
4782 * math/w_scalb.c (sysv_scalb): Likewise.
4783 * math/w_scalbf.c (sysv_scalbf): Likewise.
4784 * math/w_scalbl.c (sysv_scalbl): Likewise.
4785 * misc/error.c (error_tail): Likewise.
4786 * misc/pselect.c (__pselect): Likewise.
4787 * nis/nis_callback.c (__nis_create_callback): Likewise.
4788 * nis/nis_call.c (__nisfind_server): Likewise.
4789 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4790 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4791 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4792 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4793 * nis/nis_lookup.c (nis_lookup): Likewise.
4794 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4795 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4796 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4797 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4798 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4799 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4800 * nis/nss_compat/compat-initgroups.c (add_group)
4801 (internal_getgrent_r): Likewise.
4802 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4803 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4804 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4805 (internal_getspnam_r): Likewise.
4806 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4807 (_nss_nis_getaliasbyname_r): Likewise.
4808 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4809 (_nss_nis_getntohost_r): Likewise.
4810 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4811 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4812 (_nss_nis_getgrgid_r): Likewise.
4813 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4814 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4815 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4816 (_nss_nis_gethostbyname4_r): Likewise.
4817 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4818 (initgroups_netid): Likewise.
4819 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4820 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4821 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4822 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4823 (_nss_nis_getprotobynumber_r): Likewise.
4824 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4825 (_nss_nis_getsecretkey): Likewise.
4826 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4827 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4828 (_nss_nis_getpwuid_r): Likewise.
4829 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4830 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4831 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4832 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4833 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4834 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4835 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4837 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4838 (_nss_nisplus_getntohost_r): Likewise.
4839 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4840 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4841 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4842 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4844 * nis/nss_nisplus/nisplus-initgroups.c
4845 (_nss_nisplus_initgroups_dyn): Likewise.
4846 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4847 (_nss_nisplus_getnetbyaddr_r): Likewise.
4848 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4849 (_nss_nisplus_getprotobynumber_r): Likewise.
4850 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4851 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4852 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4854 * nis/nss_nisplus/nisplus-service.c
4855 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4856 (_nss_nisplus_getservbyport_r): Likewise.
4857 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4858 (_nss_nisplus_getspnam_r): Likewise.
4859 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4861 * nscd/aicache.c (addhstaiX): Likewise.
4862 * nscd/cache.c (cache_search, prune_cache): Likewise.
4863 * nscd/connections.c (register_traced_file, send_ro_fd)
4864 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4865 (main_loop_epoll): Likewise.
4866 * nscd/grpcache.c (addgrbyX): Likewise.
4867 * nscd/hstcache.c (addhstbyX): Likewise.
4868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4869 * nscd/mem.c (gc, mempool_alloc): Likewise.
4870 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4871 (addinnetgrX): Likewise.
4872 * nscd/nscd-client.h (__nscd_acquire_maplock)
4873 (__nscd_drop_map_ref): Likewise.
4874 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4875 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4878 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4880 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4881 (__nscd_get_map_ref): Likewise.
4882 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4883 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4885 * nscd/pwdcache.c (addpwbyX): Likewise.
4886 * nscd/selinux.c (preserve_capabilities): Likewise.
4887 * nscd/servicescache.c (addservbyX): Likewise.
4888 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4889 * posix/fnmatch.c (fnmatch): Likewise.
4890 * posix/getopt.c (_getopt_internal_r): Likewise.
4891 * posix/glob.c (glob, glob_in_dir): Likewise.
4892 * posix/wordexp.c (exec_comm_child): Likewise.
4893 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4894 (getanswer_r, gaih_getanswer_slice): Likewise.
4895 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4896 * resolv/res_init.c: Likewise.
4897 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4898 * resolv/res_query.c (__libc_res_nquery): Likewise.
4899 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4901 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4902 * stdio-common/perror.c (perror): Likewise.
4903 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4904 * stdio-common/tmpnam.c (tmpnam): Likewise.
4905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4906 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4907 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4909 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4910 * stdlib/putenv.c (putenv): Likewise.
4911 * stdlib/setenv.c (__add_to_environ): Likewise.
4912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4913 * stdlib/strtol_l.c (INTERNAL): Likewise.
4914 * string/memmem.c (memmem): Likewise.
4915 * string/strerror.c (strerror): Likewise.
4916 * string/strnlen.c (__strnlen): Likewise.
4917 * string/test-memmem.c (simple_memmem): Likewise.
4918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4919 * sunrpc/pm_getport.c (__get_socket): Likewise.
4920 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4921 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4922 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4923 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4925 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4927 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4928 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4929 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4930 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4934 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4935 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4937 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4938 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4942 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4943 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4944 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4954 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4955 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4957 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4968 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4970 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4976 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4978 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4979 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4980 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4981 * sysdeps/posix/sleep.c: Likewise.
4982 * sysdeps/posix/tempname.c: Likewise.
4983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4986 * sysdeps/powerpc/powerpc32/dl-machine.h
4987 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4990 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4993 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4995 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4997 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4998 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4999 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5000 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5001 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5002 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5004 (elf_machine_lazy_rel): Likewise.
5005 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5007 (elf_machine_lazy_rel): Likewise.
5008 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5009 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5010 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5011 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5012 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5013 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5017 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5018 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5019 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5020 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5021 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5023 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5024 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5027 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5029 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5030 (__posix_fallocate64_l64): Likewise.
5031 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5032 (posix_fallocate): Likewise.
5033 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5036 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5037 (getifaddrs_internal): Likewise.
5038 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5039 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5040 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5041 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5042 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5043 (__posix_fallocate64_l64): Likewise.
5044 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5046 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5048 (__get_clockfreq): Likewise.
5049 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5050 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5051 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5054 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5055 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5056 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5058 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5059 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5060 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5063 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5064 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5067 (posix_fallocate): Likewise.
5068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5069 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5070 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5071 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5072 (elf_machine_rela, elf_machine_rela_relative)
5073 (elf_machine_lazy_rel): Likewise.
5074 * time/asctime.c (asctime_internal): Likewise.
5075 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5076 * time/tzset.c (__tzset_parse_tz): Likewise.
5077 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5078 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5079 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5080 * wcsmbs/wcsmbsload.h: Likewise.
5083 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5085 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5086 (arena_get2): Remove THREAD_STATS conditionals.
5087 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5088 (__malloc_stats, int): Likewise.
5090 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5092 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5093 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5095 * manual/setjmp.texi: Fix typos/grammar errors.
5097 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5098 Only return early when n is <= 0. Delete unused return statement.
5100 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5101 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5102 * debug/tst-longjmp_chk3.c: New file.
5104 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5105 (test_main): Replace code with set_fortify_handler call.
5106 * debug/test-strcpy_chk.c: Likewise.
5107 * debug/tst-chk1.c: Likewise.
5108 * debug/tst-longjmp_chk.c: Likewise.
5109 * test-skeleton.c: Include fcntl.h & paths.h
5110 (set_fortify_handler): Define.
5112 * debug/tst-longjmp_chk.c: Add header comment and include
5114 (do_test): Mark static.
5115 (TEST_FUNCTION): Define.
5117 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5118 (IP_PMTUDISC_INTERFACE): Likewise.
5119 (IP_MULTICAST_IF): Likewise.
5120 (IP_MULTICAST_TTL): Likewise.
5121 (IP_MULTICAST_LOOP): Likewise.
5122 (IP_ADD_MEMBERSHIP): Likewise.
5123 (IP_DROP_MEMBERSHIP): Likewise.
5124 (IP_UNBLOCK_SOURCE): Likewise.
5125 (IP_BLOCK_SOURCE): Likewise.
5126 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5127 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5128 (IP_MSFILTER): Likewise.
5129 (MCAST_JOIN_GROUP): Likewise.
5130 (MCAST_BLOCK_SOURCE): Likewise.
5131 (MCAST_UNBLOCK_SOURCE): Likewise.
5132 (MCAST_LEAVE_GROUP): Likewise.
5133 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5134 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5135 (MCAST_MSFILTER): Likewise.
5136 (IP_MULTICAST_ALL): Likewise.
5137 (IP_UNICAST_IF): Likewise.
5139 * timezone/Makefile: Delete $(have-ksh) check.
5140 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5141 * timezone/tzselect.ksh: Add +x mode bits.
5143 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5144 (ANON_INODE_FS_MAGIC): Likewise.
5145 (BDEVFS_MAGIC): Likewise.
5146 (BINFMTFS_MAGIC): Likewise.
5147 (BTRFS_TEST_MAGIC): Likewise.
5148 (CRAMFS_MAGIC_WEND): Likewise.
5149 (DEBUGFS_MAGIC): Likewise.
5150 (ECRYPTFS_SUPER_MAGIC): Likewise.
5151 (EXT3_SUPER_MAGIC): Likewise.
5152 (EXT4_SUPER_MAGIC): Likewise.
5153 (FUTEXFS_SUPER_MAGIC): Likewise.
5154 (HOSTFS_SUPER_MAGIC): Likewise.
5155 (HUGETLBFS_MAGIC): Likewise.
5156 (MINIX3_SUPER_MAGIC): Likewise.
5157 (MTD_INODE_FS_MAGIC): Likewise.
5158 (NILFS_SUPER_MAGIC): Likewise.
5159 (OPENPROM_SUPER_MAGIC): Likewise.
5160 (PIPEFS_MAGIC): Likewise.
5161 (PSTOREFS_MAGIC): Likewise.
5162 (QNX6_SUPER_MAGIC): Likewise.
5163 (RAMFS_MAGIC): Likewise.
5164 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5165 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5166 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5167 (SECURITYFS_MAGIC): Likewise.
5168 (SELINUX_MAGIC): Likewise.
5169 (SMACK_MAGIC): Likewise.
5170 (SOCKFS_MAGIC): Likewise.
5171 (SQUASHFS_MAGIC): Likewise.
5172 (STACK_END_MAGIC): Likewise.
5173 (TMPFS_MAGIC): Likewise.
5174 (USBDEVICE_SUPER_MAGIC): Likewise.
5175 (V9FS_MAGIC): Likewise.
5176 (XENFS_SUPER_MAGIC): Likewise.
5177 (CRAMFS_MAGIC): Fix typo in comment.
5178 (EXT2_SUPER_MAGIC): Update comment.
5179 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5181 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5184 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5185 * sysdeps/unix/sysv/linux/arm: Move directory from
5186 ports/sysdeps/unix/sysv/linux/arm.
5187 * README: Update listing for arm-*-linux-gnueabi.
5189 * README: Remove mention of am33.
5191 2014-02-07 Roland McGrath <roland@hack.frob.com>
5193 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5194 than the comma operator, to avoid "rhs of comma has no effect"
5196 (__sigfillset, __sigandset, __sigorset): Likewise.
5197 * include/signal.h (__sigemptyset): Likewise.
5198 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5200 2014-02-07 Allan McRae <allan@archlinux.org>
5202 * version.h (RELEASE): Set to "development".
5203 (VERSION): Set to "2.19.90"
5204 * NEWS: Add 2.20 section.
5206 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5209 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5211 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5213 * manual/contrib.texi: Update entry for Carlos O'Donell,
5214 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5216 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5218 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5220 * sysdeps/unix/sysv/linux/kernel-features.h
5221 [__LINUX_KERNEL_VERSION >= 0x020621]
5222 (__ASSUME_PROC_PID_TASK_COMM): Define.
5224 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5227 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5228 conversion when destination buffer does not have enough space.
5229 * libio/tst-ftell-partial-wide.c: New test case.
5230 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5232 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5233 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5234 Leonard and Allan McRae.
5236 2014-02-04 David S. Miller <davem@davemloft.net>
5238 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5241 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5270 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5273 * shlib-versions: Likewise.
5275 2014-02-04 Roland McGrath <roland@hack.frob.com>
5276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5279 (abilist-pattern): New variable, set to %-le.abilist.
5281 * Makerules (abilist-pattern): New variable.
5282 (vpath): Use $(abilist-pattern) in place of %.abilist.
5283 (check-abi-% pattern rule): Likewise.
5284 (check-abi, update-abi): Likewise.
5286 2014-02-04 Eric Wong <normalperson@yhbt.net>
5288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5290 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5292 * manual/startup.texi: Add next, previous, and top entries for
5293 the `Program Arguments' and `Environment Variables' nodes.
5295 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5297 * manual/macros.texi: Add comments before MTASC-safety macros.
5299 * manual/users.texi: Document MTASC-safety properties.
5301 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5302 (pthread_getspecific, pthread_setspecific): Format with
5303 @deftypefun, and add @safety note.
5304 * manual/signal.texi: Move comments that analyze the above
5305 functions to their home place.
5307 2014-02-03 Allan McRae <allan@archlinux.org>
5309 * po/sl.po: Update Slovenian translation from translation project.
5311 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5313 * manual/time.texi (timegm): Add missing blank after @c.
5314 Reported by Joseph Myers <joseph@codesourcery.com>.
5316 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5318 * manual/check-safety.sh: New.
5319 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5321 * manual/terminal.texi: Document MTASC-safety properties.
5323 * manual/filesys.texi: Document MTASC-safety properties.
5325 * manual/errno.texi: Document MTASC-safety properties.
5327 * manual/intro.texi: Document safety identifiers and
5330 * manual/string.texi (wcstok): Fix prototype.
5331 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5333 * manual/time.texi: Document MTASC-safety properties.
5335 * manual/string.texi: Document MTASC-safety properties.
5337 * manual/threads.texi: Document MTASC-safety properties.
5339 * manual/stdio.texi: Document MTASC-safety properties.
5341 * manual/syslog.texi: Document MTASC-safety properties.
5343 * manual/sysinfo.texi: Document MTASC-safety properties.
5345 * manual/startup.texi: Document MTASC-safety properties.
5347 * manual/socket.texi: Document MTASC-safety properties.
5349 * manual/signal.texi: Document MTASC-safety properties.
5351 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5353 * manual/setjmp.texi: Document MTASC-safety properties.
5355 * manual/search.texi: Document MTASC-safety properties.
5357 * manual/resource.texi: Document MTASC-safety properties.
5359 * manual/process.texi: Document MTASC-safety properties.
5361 * manual/platform.texi: Document MTASC-safety properties.
5363 * manual/pipe.texi: Document MTASC-safety properties.
5365 * manual/pattern.texi: Document MTASC-safety properties.
5367 * manual/message.texi: Document MTASC-safety properties.
5370 * manual/memory.texi: Document MTASC-safety properties.
5372 * manual/math.texi: Document MTASC-safety properties.
5374 * manual/locale.texi: Document MTASC-safety properties.
5376 * manual/llio.texi: Document MTASC-safety properties.
5378 * manual/libdl.texi: New.
5380 * manual/lang.texi: Document MTASC-safety properties.
5382 * manual/job.texi: Document MTASC-safety properties.
5384 * manual/getopt.texi: Document MTASC-safety properties.
5386 * manual/ctype.texi: Document MTASC-safety properties.
5388 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5391 * csu/libc-tls.c (static_map): Remove variable.
5392 (__libc_setup_tls): Use main executable's link map for TLS data.
5393 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5394 casing for LM_ID_BASE and GL(dl_nns).
5395 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5396 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5397 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5398 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5399 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5401 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5404 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5406 * manual/debug.texi: Document MTASC-safety properties.
5408 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5411 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5412 of __x86_64__ when disabling x87 inline functions.
5414 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5416 * manual/charset.texi: Document MTASC-safety properties.
5418 * manual/crypt.texi: Document MTASC-safety properties.
5420 * manual/conf.texi: Document MTASC-safety properties.
5422 * manual/arith.texi: Document MTASC-safety properties.
5424 * manual/argp.texi: Document MTASC-safety properties.
5426 * manual/macros.texi: Introduce macros to document multi
5427 thread, asynchronous signal and asynchronous cancellation
5429 * manual/intro.texi: Introduce the properties themselves.
5431 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5433 * sysdeps/sh/sh4/Makefile: New file.
5435 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5437 * math/gen-libm-test.pl ($srcdir): New variable.
5438 ($auto_input): Use it.
5440 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5444 access beyond array bounds when parsing netgroups file.
5446 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5447 the old buffer before realloc.
5449 2014-01-27 Allan McRae <allan@archlinux.org>
5451 * po/fr.po: Update French translation from translation project.
5453 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5455 * sysdeps/sh/libm-test-ulps: Regenerate.
5457 2014-01-24 David S. Miller <davem@davemloft.net>
5459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5461 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5464 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5466 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5469 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5470 string pointers after reallocation.
5472 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5474 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5475 __SH4A__ instead of __SH_FPU_ANY__.
5477 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5479 * sysdeps/sh/fpu_control.h: New file.
5480 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5481 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5482 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5483 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5484 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5485 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5486 * sysdeps/sh/sys/ucontext.h: Remove.
5487 * sysdeps/sh/sys: Remove directory.
5489 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5491 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5492 s390/sys/ucontext.h.
5493 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5496 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5501 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5505 Adjust the vDSO correctly for internal calls.
5506 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5508 2014-01-20 Allan McRae <allan@archlinux.org>
5510 * po/ca.po: Update Catalan translation from translation project.
5512 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5514 * sysdeps/s390/sotruss-lib.c: New file.
5516 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5520 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5521 local calls issues by not having a PLT stub required for IFUNC calls.
5522 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5524 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5526 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5527 * math/test-fpucw-static.c: Likewise.
5529 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5532 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5534 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5537 implementation for powerpc.
5539 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5542 * sysdeps/posix/system.c (__libc_system): Do not enable
5543 asynchronous cancellation.
5545 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5549 handling only for numbers special also in the IEEE case.
5551 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5555 2014-01-11 Allan McRae <allan@archlinux.org>
5557 * po/bg.po: Update Bulgarian translation from translation project.
5559 * po/de.po: Update German translation from translation project.
5561 2014-01-10 Roland McGrath <roland@hack.frob.com>
5563 * sysdeps/generic/gcc-compat.h: New file.
5565 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5567 * benchtests/asin-inputs: Correct slow inputs.
5568 * benchtests/acos-inputs: Likewise.
5570 2014-01-10 Allan McRae <allan@archlinux.org>
5572 * po:sv.po: Update Swedish translation from translation project.
5574 * po/vi.po: Update Vietnamese translation from translation project.
5576 * po/eo.po: Update Esperanto translation from translation project.
5578 * po/cs.po: Update Czech translation from translation project.
5580 * po/nl.po: Update Dutch translation from translation project.
5582 * po/pl.po: Update Polish translation from translation project.
5584 * po/ru.po: Update Russian translation from translation project.
5586 * po/uk.po: Update Ukrainian translation from translation project.
5588 2014-01-08 Brooks Moses <bmoses@google.com>
5590 * elf/dl-load.c: Fix comment typo.
5592 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5594 * po/header.pot: Rename to...
5595 * po/pot.header: ... this.
5596 * po/Makefile: Use pot.header.
5598 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5599 Maxim Kuvyrkov <maxim@kugelworks.com>
5602 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5603 SRC and DEST against LEN.
5605 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5610 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5612 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5616 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5620 for large positive arguments.
5622 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5626 * math/auto-libm-test-in: Mark various tests with
5627 xfail-rounding:ldbl-128ibm.
5628 * math/auto-libm-test-out: Regenerated.
5631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5632 Increase overflow threshold.
5634 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5637 * stdio-common/vfprintf.c: Check for integer overflow.
5639 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5641 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5642 the first argument and return value of __tls_get_addr_internal.
5644 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5646 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5647 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5649 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5651 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5652 * sysdeps/s390/rtld-global-offsets.sym: New file.
5653 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5655 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5666 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5667 halfs of GPRs for high_gprs contexts.
5668 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5669 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5673 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5675 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5676 for high GPRs (uc_high_gprs) and for future extensions
5678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5679 for future extensions (__reserved).
5680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5682 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5683 SC_HIGHGPRS offset definition.
5684 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5685 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5687 * Versions.def: Add GLIBC_2.19 for libpthread.
5688 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5689 siglongjmp for libpthread with GLIBC_2.19 symver.
5690 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5691 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5692 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5693 * sysdeps/s390/__longjmp.c: New file.
5694 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5695 * sysdeps/s390/longjmp.c: New file.
5696 * sysdeps/s390/setjmp.S: New file.
5697 * sysdeps/s390/sigjmp.S: New file.
5698 * sysdeps/s390/v1-longjmp.c: New file.
5699 * sysdeps/s390/v1-setjmp.h: New file.
5700 * sysdeps/s390/v1-sigjmp.c: New file.
5701 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5702 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5704 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5705 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5706 versioned symbols for ____longjmp_chk.
5707 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5718 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5719 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5720 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5721 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5722 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5723 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5724 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5725 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5726 * sysdeps/s390/rtld-__longjmp.c: New file.
5727 * sysdeps/s390/rtld-setjmp.S: New file.
5729 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5733 Return -__logl (x) for small positive arguments without evaluating
5736 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5738 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5740 (__ptrace_peeksiginfo_args): ... this.
5741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5745 2014-01-06 Allan McRae <allan@archlinux.org>
5747 * inet/netinet/in.h: Fix typo in comment.
5749 2014-01-05 Andreas Jaeger <aj@suse.de>
5751 * sysdeps/i386/fpu/libm-test-ulps: Update.
5753 2014-01-05 Allan McRae <allan@archlinux.org>
5755 * po/libc.pot: Regenerated.
5757 * malloc/memusagestat.c: Fix gettext call formatting.
5759 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5761 * nscd/nscd.c: Improve usage() output.
5763 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5765 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5766 * sysdeps/unix/sysv/linux/configure: Regenerated.
5767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5768 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5770 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5773 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5774 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5776 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5779 extra tokens at end of #undef directive.
5780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5781 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5784 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5788 * math/auto-libm-test-in: Mark various tests with
5789 xfail-rounding:ldbl-128ibm.
5790 * math/auto-libm-test-out: Regenerated.
5792 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5796 numbers with subnormal high part when calculating exponent.
5799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5805 (__ieee754_acoshl): Use __log1pl not __log1p.
5807 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5809 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5810 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5811 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5812 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5813 (reused_arena, arena_get2): Convert to GNU style.
5814 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5815 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5816 (memalign_check, __malloc_set_state): Likewise.
5817 * malloc/mallocbug.c (main): Likewise.
5818 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5819 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5820 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5821 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5822 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5823 (__posix_memalign, malloc_info): Likewise.
5824 * malloc/malloc.h: Likewise.
5825 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5826 (mallochook, memalignhook, reallochook, mabort): Likewise.
5827 * malloc/mcheck.h: Likewise.
5828 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5829 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5830 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5831 * malloc/morecore.c (__default_morecore): Likewise.
5832 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5833 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5834 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5835 (print_and_abort): Likewise.
5836 * malloc/obstack.h: Likewise.
5837 * malloc/set-freeres.c (__libc_freeres): Likewise.
5838 * malloc/tst-mallocstate.c (main): Likewise.
5839 * malloc/tst-mtrace.c (main): Likewise.
5840 * malloc/tst-realloc.c (do_test): Likewise.
5842 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 * nscd/netgroupcache.c (do_notfound): New function.
5846 (addgetnetgrentX): Use it.
5849 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5850 NSS_STATUS_NOTFOUND.
5852 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5857 2014-01-01 Allan McRae <allan@archlinux.org>
5859 * scripts/update-copyrights: Update configure input file suffix.
5861 * NEWS: Update copyright year.
5862 * catgets/gencat.c: Likewise.
5863 * csu/version.c: Likewise.
5864 * debug/catchsegv.sh: Likewise.
5865 * debug/pcprofiledump.c: Likewise.
5866 * debug/xtrace.sh: Likewise.
5867 * elf/ldconfig.c: Likewise.
5868 * elf/ldd.bash.in: Likewise.
5869 * elf/pldd.c: Likewise.
5870 * elf/sotruss.ksh: Likewise.
5871 * elf/sprof.c: Likewise.
5872 * iconv/iconv_prog.c: Likewise.
5873 * iconv/iconvconfig.c: Likewise.
5874 * locale/programs/locale.c: Likewise.
5875 * locale/programs/localedef.c: Likewise.
5876 * login/programs/pt_chown.c: Likewise.
5877 * malloc/memusage.sh: Likewise.
5878 * malloc/memusagestat.c: Likewise.
5879 * malloc/mtrace.pl: Likewise.
5880 * manual/libc.texinfo: Likewise.
5881 * nscd/nscd.c: Likewise.
5882 * nss/getent.c: Likewise.
5883 * nss/makedb.c: Likewise.
5884 * posix/getconf.c: Likewise.
5885 * scripts/test-installation.pl: Likewise.
5887 * All files with FSF copyright notices: Update copyright dates
5888 using scripts/update-copyrights.
5889 * intl/plural.c: Regenerated.
5890 * locale/programs/charmap-kw.h: Likewise.
5891 * locale/programs/locfile-kw.h: Likewise.
5893 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5895 * sysdeps/unix/sysv/linux/configure: Regenerated.
5896 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5897 the linux/fanotify.h header.
5898 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5899 HAVE_LINUX_FANOTIFY_H is defined.
5901 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5903 * benchtests/cos-inputs: New inputs.
5904 * benchtests/sin-inputs: Likewise.
5906 * benchtests/atan-inputs: New inputs. Fix name of multiple
5907 precision fallback inputs.
5909 * benchtests/atanh-inputs: New inputs.
5910 * benchtests/tanh-inputs: Likewise.
5912 * benchtests/acosh-inputs: New inputs.
5913 * benchtests/asinh-inputs: Likewise.
5915 * benchtests/cosh-inputs: New inputs.
5916 * benchtests/sinh-inputs: Likewise.
5918 * benchtests/acos-inputs: Add more inputs.
5919 * benchtests/asin-inputs: Likewise.
5921 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5924 * manual/arith.texi: Fix spelling.
5925 * manual/charset.texi: Likewise.
5926 * manual/errno.texi: Likewise.
5927 * manual/filesys.texi: Likewise.
5928 * manual/lang.texi: Likewise.
5929 * manual/llio.texi: Likewise.
5930 * manual/locale.texi: Likewise.
5931 * manual/message.texi: Likewise.
5932 * manual/resource.texi: Likewise.
5933 * manual/search.texi: Likewise.
5934 * manual/setjmp.texi: Likewise.
5935 * manual/stdio.texi: Likewise.
5936 * manual/string.texi: Likewise.
5937 * manual/sysinfo.texi: Likewise.
5938 * manual/time.texi: Likewise.
5940 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5942 * po/sl.po: New file.
5944 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5946 * .gitignore: Add core/.gdbinit/.gdb_history.
5948 2013-12-27 Allan McRae <allan@archlinux.org>
5951 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5952 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5954 2013-12-24 Brooks Moses <bmoses@google.com>
5956 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5957 all compilers that claim C++98 compliance, not just GCC.
5958 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5961 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5963 * NEWS: Restore accidentally deleted bug-fix entries.
5965 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5966 Ondřej Bílka <neleai@seznam.cz>
5969 * malloc/malloc.c (_int_free): Perform sanity check only if we
5972 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5975 * manual/stdio.texi (String Input Conversions): Clarify that character
5976 classes are not supported.
5978 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5982 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5986 Calculate results for small negative arguments directly rather
5987 than using reflection formula with special underflow handling.
5989 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5990 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5991 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5992 (fchflags): Likewise.
5994 (setlogin): Likewise.
5995 (sigaltstack): Likewise.
5998 (sigsetmask): Likewise.
6000 (waitpid): Likewise.
6001 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6002 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6004 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6005 * sysdeps/unix/bsd/Makefile: ... here.
6006 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6007 * sysdeps/unix/bsd/Versions: ... here.
6008 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6009 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6010 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6011 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6012 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6013 * sysdeps/unix/bsd/sigblock.c: ... here.
6014 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6015 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6016 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6017 * sysdeps/unix/bsd/sigvec.c: ... here.
6018 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6019 * sysdeps/unix/bsd/tcdrain.c: ... here.
6020 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6021 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6022 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6023 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6024 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6025 * sysdeps/unix/bsd/wait.c: ... here.
6026 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6027 * sysdeps/unix/bsd/wait3.c: ... here.
6028 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6029 * sysdeps/unix/bsd/waitpid.c: ... here.
6031 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6035 round-to-nearest for [!USE_AS_EXPM1L].
6036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6037 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6038 more tests of exp and exp10. Expect some exp10 tests to miss
6039 exceptions or fail in directed rounding modes.
6040 * math/auto-libm-test-out: Regenerated.
6041 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6042 (exp10_test_tonearest): New function.
6043 (exp10_towardzero_test_data): New array.
6044 (exp10_test_towardzero): New function.
6045 (exp10_downward_test_data): New array.
6046 (exp10_test_downward): New function.
6047 (exp10_upward_test_data): New array.
6048 (exp10_test_upward): New function.
6049 (main): Call the new functions.
6050 * sysdeps/i386/fpu/libm-test-ulps: Update.
6051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6053 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6055 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6056 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6057 * math/auto-libm-test-out: Regenerated.
6058 * math/libm-test.inc (acosh_test_data): Add more tests.
6059 (atanh_test_data): Likewise.
6060 (ceil_test_data): Likewise.
6061 (copysign_test_data): Likewise.
6062 * sysdeps/i386/fpu/libm-test-ulps: Update.
6063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065 * timezone/checktab.awk: Update from tzcode 2013i.
6066 * timezone/private.h: Likewise.
6067 * timezone/scheck.c: Likewise.
6068 * timezone/tzfile.h: Likewise.
6069 * timezone/tzselect.ksh: Likewise.
6070 * timezone/zdump.c: Likewise.
6071 * timezone/zic.c: Likewise.
6073 * math/auto-libm-test-in: Add tests of cpow.
6074 * math/auto-libm-test-out: Regenerated.
6075 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6076 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6078 (func_calc_desc): Add mpc_cc_c union field.
6079 (test_functions): Add cpow.
6080 (special_fill_2pi): New function.
6081 (special_real_inputs): Add 2pi.
6082 (calc_generic_results): Handle mpc_cc_c.
6083 * sysdeps/i386/fpu/libm-test-ulps: Update.
6084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6087 csqrt, ctan and ctanh.
6088 * math/auto-libm-test-out: Regenerated.
6089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6090 (TEST_COND_x86): Likewise.
6091 (ccos_test_data): Use AUTO_TESTS_c_c.
6092 (ccosh_test_data): Likewise.
6093 (cexp_test_data): Likewise.
6094 (clog_test_data): Likewise.
6095 (csqrt_test_data): Likewise.
6096 (ctan_test_data): Likewise.
6097 (ctan_tonearest_test_data): Likewise.
6098 (ctan_towardzero_test_data): Likewise.
6099 (ctan_downward_test_data): Likewise.
6100 (ctan_upward_test_data): Likewise.
6101 (ctanh_test_data): Likewise.
6102 (ctanh_tonearest_test_data): Likewise.
6103 (ctanh_towardzero_test_data): Likewise.
6104 (ctanh_downward_test_data): Likewise.
6105 (ctanh_upward_test_data): Likewise.
6106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6108 (func_calc_desc): Add mpc_c_c union field.
6109 (FUNC_mpc_c_c): New macro.
6110 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6111 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6113 (special_fill_min_subnorm_p120): New function.
6114 (special_real_inputs): Add min_subnorm_p120.
6115 (calc_generic_results): Handle mpc_c_c.
6116 * sysdeps/i386/fpu/libm-test-ulps: Update.
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6121 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6122 (do_sin_slow): New functions.
6123 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6124 (cslow2, csloww1, csloww2): Use the new functions.
6126 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6127 Use M to change sign of result instead of X. Assume X is
6129 (csloww1): Likewise.
6133 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6140 (sloww1): Don't adjust sign of DX.
6141 (csloww1): Likewise.
6142 (sloww2): Use X directly and don't adjust sign of DX.
6143 (csloww2): Likewise.
6145 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6147 * math/auto-libm-test-in: Add tests of cabs and carg.
6148 * math/auto-libm-test-out: Regenerated.
6149 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6150 (carg_test_data): Likewise.
6151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6153 (func_calc_desc): Add mpc_c_f union field.
6154 (test_functions): Add cabs and carg.
6155 (calc_generic_results): Handle mpc_c_f.
6157 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6158 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6159 as a macro and a compat symbol.
6160 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6161 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6162 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6163 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6164 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6177 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6178 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6181 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6185 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6187 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6188 trailing whitespace removed.
6189 * scripts/config.guess: Update to version 2013-11-29.
6190 * scripts/config.sub: Update to version 2013-10-01.
6192 * math/auto-libm-test-in: Add tests of sincos.
6193 * math/auto-libm-test-out: Regenerated.
6194 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6195 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6197 (func_calc_desc): Add mpfr_f_11 union field.
6198 (test_functions): Add sincos.
6199 (calc_generic_results): Handle mpfr_f_11.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203 2013-12-19 Andreas Schwab <schwab@suse.de>
6205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6208 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6209 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6211 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6213 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6214 * sysdeps/i386/fpu/libm-test-ulps: Update.
6215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6219 round-to-nearest mode when using frndint.
6220 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6224 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6226 * math/auto-libm-test-out: Regenerated.
6227 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6228 (TEST_COND_x86): Likewise.
6229 (expm1_tonearest_test_data): New array.
6230 (expm1_test_tonearest): New function.
6231 (expm1_towardzero_test_data): New array.
6232 (expm1_test_towardzero): New function.
6233 (expm1_downward_test_data): New array.
6234 (expm1_test_downward): New function.
6235 (expm1_upward_test_data): New array.
6236 (expm1_test_upward): New function.
6237 (main): Run the new test functions.
6238 * sysdeps/i386/fpu/libm-test-ulps: Update.
6239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6241 * include/features.h: Update comment documenting feature test
6242 macros. Mention _DEFAULT_SOURCE in comment.
6243 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6244 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6245 _BSD_SOURCE and _SVID_SOURCE.
6246 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6247 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6248 !_SVID_SOURCE]: Likewise.
6249 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6250 (__USE_POSIX_IMPLICITLY): Define.
6251 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6252 (_POSIX_SOURCE): Undefine and redefine.
6253 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6254 (_POSIX_C_SOURCE): Likewise.
6255 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6256 (Feature Test Macros): Update documentation of default features.
6258 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6260 * benchtests/Makefile: Add bench-strtok.
6261 * benchtests/bench-strtok.c: New file: strtok benchtest.
6263 2013-12-19 Allan McRae <allan@archlinux.org>
6265 * manual/install.texi: Suppress menu for plain text output.
6266 * INSTALL: Regenerated.
6268 2013-12-18 Brooks Moses <bmoses@google.com>
6271 * misc/getauxval.c: Include errno.h.
6272 (__getauxval): Set errno to ENOENT if the requested type is not
6274 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6275 don't declare with __attribute_const__.
6276 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6277 * manual/startup.texi: Document that getauxval sets errno.
6279 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6281 * math/auto-libm-test-in: Add tests of jn and yn.
6282 * math/auto-libm-test-out: Regenerated.
6283 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6284 (yn_test_data): Likewise.
6285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6287 (func_calc_desc): Add mpfr_if_f union field.
6288 (FUNC_mpfr_if_f): New macro.
6289 (test_functions): Add jn and yn.
6290 (calc_generic_results): Assert type of second input for
6291 mpfr_ff_f. Handle mpfr_if_f.
6292 (output_for_one_input_case): Disable all checking for arguments
6293 fitting floating-point types in case of an integer argument.
6294 * sysdeps/i386/fpu/libm-test-ulps: Update.
6295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6298 Don't expect fegetround reference in libm.so.
6300 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6302 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6303 $(config-cflags-nofma).
6305 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6307 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6308 * math/auto-libm-test-out: Regenerated.
6311 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6312 to determine exponent and adjust argument to have exponent of -1.
6313 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6315 * math/auto-libm-test-out: Regenerated.
6316 * sysdeps/i386/fpu/libm-test-ulps: Update.
6317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6321 * manual/probes.texi: Remove cases when per-thread arenas are
6324 2013-12-18 Andreas Schwab <schwab@suse.de>
6326 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6327 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6328 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6329 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6330 * sysdeps/i386/i686/multiarch/Makefile: Update.
6331 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6333 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6335 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6336 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6338 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6341 Support TZ transition times < 00:00:00.
6342 This is needed for version-3 tz-format files; it supports time
6343 stamps past 2037 for America/Godthab (the only entry in the tz
6344 database for which this change is relevant).
6345 * manual/time.texi (TZ Variable): Document transition times
6346 from -167:59:59 through -00:00:01.
6347 * time/tzset.c (tz_rule): Time of day is now signed.
6348 (__tzset_parse_tz): Parse negative time of day.
6350 Document TZ transition times >= 25:00:00.
6351 * manual/time.texi (TZ Variable): Document transition times from
6352 25:00:00 through 167:59:59. These are already supported, and this
6353 support will help with version-3 tz-format files.
6355 * manual/time.texi (TZ Variable): Modernize North America example
6356 to reflect current (i.e., 2007-and-later) daylight saving rules.
6358 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6360 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6362 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6363 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6366 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6367 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6368 * sysdeps/unix/bsd/clock.c: Likewise.
6369 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6370 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6371 * sysdeps/unix/bsd/init-posix.c: Likewise.
6372 * sysdeps/unix/bsd/poll.c: Likewise.
6373 * sysdeps/unix/bsd/ptsname.c: Likewise.
6374 * sysdeps/unix/bsd/seekdir.c: Likewise.
6375 * sysdeps/unix/bsd/setegid.c: Likewise.
6376 * sysdeps/unix/bsd/seteuid.c: Likewise.
6377 * sysdeps/unix/bsd/setgid.c: Likewise.
6378 * sysdeps/unix/bsd/setrgid.c: Likewise.
6379 * sysdeps/unix/bsd/setruid.c: Likewise.
6380 * sysdeps/unix/bsd/setsid.c: Likewise.
6381 * sysdeps/unix/bsd/setuid.c: Likewise.
6382 * sysdeps/unix/bsd/sigaction.c: Likewise.
6383 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6384 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6385 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6386 * sysdeps/unix/bsd/telldir.c: Likewise.
6387 * sysdeps/unix/bsd/times.c: Likewise.
6388 * sysdeps/unix/bsd/usleep.c: Likewise.
6390 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6391 ($(objpfx)libbsd-compat.a): Remove rule.
6393 * include/features.h (__FAVOR_BSD): Do not define.
6394 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6395 features conflicting with POSIX.
6396 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6397 (_BSD_SOURCE): Remove description of not being a subset of other
6398 feature test macros.
6399 * manual/job.texi (getpgrp): Do not document BSD version.
6400 (getpgid): Do not document by reference to BSD getpgrp.
6401 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6402 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6403 * signal/signal.h [__FAVOR_BSD]: Likewise.
6404 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6405 instead of making contents conditional on [__FAVOR_BSD].
6406 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6408 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6412 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6416 values below 2**-450, not 2**-500.
6417 * math/auto-libm-test-in: Don't allow spurious underflow from
6419 * math/auto-libm-test-out: Regenerated.
6423 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6424 values of ha and hb and sort them after adjusting subnormal
6426 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6428 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6429 values of ea and eb and sort them after adjusting subnormal
6431 * math/auto-libm-test-in: Do not expect some hypot tests of
6432 subnormals to fail. Add more hypot tests.
6433 * math/auto-libm-test-out: Regenerated.
6435 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6438 * sysdeps/sh/s_fma.c: New file.
6439 * sysdeps/sh/s_fmaf.c: New file.
6440 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6442 * sysdeps/sh/Implies: Add sh/soft-fp.
6444 2013-12-16 Roland McGrath <roland@hack.frob.com>
6446 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6447 level of indirection to members `objname', `errstring', `malloced'.
6448 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6449 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6450 it as the __longjmp argument (just pass 1 instead).
6451 (_dl_catch_error): Initialize C with argument pointers and address of
6452 volatile local ERRCODE rather than copying values out of C at return.
6454 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6456 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6457 * math/auto-libm-test-out: Regenerated.
6458 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6459 (hypot_test_data): Likewise.
6460 (pow_test_data): Likewise.
6461 (pow_tonearest_test_data): Likewise.
6462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6464 (func_calc_desc): Add mpfr_ff_f union field.
6465 (FUNC_mpfr_ff_f): New macro.
6466 (test_functions): Add atan2, hypot and pow.
6467 (special_fill_min): New function.
6468 (special_fill_minus_min): Likewise.
6469 (special_fill_min_subnorm): Likewise.
6470 (special_fill_minus_min_subnorm): Likewise.
6471 (special_real_inputs): Add min, -min, min_subnorm and
6473 (calc_generic_results): Handle mpfr_ff_f.
6474 * sysdeps/i386/fpu/libm-test-ulps: Update.
6475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477 2013-12-16 Will Newton <will.newton@linaro.org>
6479 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6480 (Aligned Memory Blocks): Add documentation for aligned_alloc
6481 and suggest it as an alternative to posix_memalign.
6482 (Hooks for Malloc): Document __memalign_hook is also called
6483 for aligned_alloc. (Summary of Malloc): Add summary for
6484 aligned alloc. Document __memalign_hook is also called
6487 2013-12-16 Will Newton <will.newton@linaro.org>
6489 * manual/memory.texi (Malloc Examples): Clarify default
6490 alignment documentation. Suggest posix_memalign rather
6491 than memalign or valloc.
6492 (Aligned Memory Blocks): Remove suggestion to use memalign
6493 or valloc. Remove obsolete comment about BSD.
6494 Document memalign errno values and mark the function obsolete.
6495 Document posix_memalign returned error codes. Mark valloc
6496 as obsolete. (Hooks for Malloc): __memalign_hook is also
6497 called for posix_memalign and valloc.
6498 (Summary of Malloc): Add posix_memalign to function summary.
6499 __memalign_hook is also called for posix_memalign and valloc.
6501 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6503 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6507 (sloww): Use mynumber union. Expand ternary operator into
6509 (cslow): use mynumber union.
6511 2013-12-16 Allan McRae <allan@archlinux.org>
6513 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6514 * configure: Regenerated.
6516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6519 * configure.ac: Added --enable-maintainer-mode. Check for
6520 autoconf when enabled.
6521 * configure: Regenerated.
6523 * nscd/nscd.service: New file.
6524 * nscd/nscd.tmpfiles: New file.
6526 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6529 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6530 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6531 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6532 (strstr): Add __strstr_sse2_unaligned ifunc.
6533 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6534 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6535 (strcasestr): Remove __strcasestr_sse42 ifunc.
6536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6540 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6542 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6543 * sysdeps/sh/bits/fenv.h: ... here.
6544 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6546 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6551 hypotf multiarch implementations.
6552 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6555 multiarch hypot for PPC64.
6556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6559 multiarch hypotf for PPC64.
6561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6562 modff multiarch implementations.
6563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6566 multiarch modf for PPC64.
6567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6570 multiarch modff for PPC64.
6572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6573 and logl multiarch implementations.
6574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6577 multiarch logb for PPC64.
6578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6581 multiarch logb for PPC64.
6582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6585 multiarch logb for PPC64.
6587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6588 isinff multiarch implementation.
6589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6593 multiarch isinf for PPC64.
6594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6597 multiarch isinff for PPC64.
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6600 finitef multiarch implementation.
6601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6605 multiarch finite for PPC64.
6606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6609 multiarch finitef for PPC64.
6611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6612 lrint multiarch implementation.
6613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6617 multiarch llrint for PPC64.
6618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6619 multiarch lrint for PPC64.
6621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6622 copysignf multiarch implementation.
6623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6628 multiarch copysign for PPC64.
6629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6630 multiarch copysignf for PPC64.
6632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6633 multiarch implementation.
6634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6642 multiarch llround for PPC64.
6643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6644 multiarch trunc for PPC64.
6645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6646 multiarch truncf for PPC64.
6648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6649 multiarch implementation.
6650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6658 multiarch llround for PPC64.
6659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6660 multiarch round for PPC64.
6661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6662 multiarch roundf for PPC64.
6664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6665 multiarch implementation.
6666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6674 multiarch llround for PPC64.
6675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6676 multiarch floor for PPC64.
6677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6678 multiarch floorf for PPC64.
6680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6681 multiarch implementation.
6682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6690 multiarch llround for PPC64.
6691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6692 multiarch ceil for PPC64.
6693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6694 multiarch ceilf for PPC64.
6696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6697 multiarch implementation.
6698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6705 multiarch llround for PPC64.
6706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6707 multiarch lround for PPC64.
6709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6710 multiarch implementation.
6711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6718 multiarch isnan for PPC64.
6719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6720 multiarch isnanf for PPC64.
6722 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6723 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6724 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6725 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6726 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6729 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6730 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6732 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6735 multiarch implementations.
6736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6737 (__libc_ifunc_impl_list): Likewise.
6738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6739 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6740 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6741 multiarch stpcpy for PPC64.
6743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6744 multiarch implementations.
6745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6746 (__libc_ifunc_impl_list): Likewise.
6747 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6749 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6750 multiarch strcpy for PPC64.
6752 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6753 redefine function name.
6754 (_wordcopy_fwd_dest_aligned): Likewise.
6755 (_wordcopy_bwd_aligned): Likewise.
6756 (_wordcopy_bwd_dest_aligned): Likewise.
6757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6758 multiarch implementations.
6759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6760 (__libc_ifunc_impl_list): Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6763 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6765 multiarch wcscpy for PPC64.
6767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6768 multiarch implementations.
6769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6770 (__libc_ifunc_impl_list): Likewise.
6771 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6773 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6775 multiarch wcscpy for PPC64.
6777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6778 multiarch implementations.
6779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6780 (__libc_ifunc_impl_list): Likewise.
6781 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6782 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6783 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6784 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6785 multiarch wcsrchr for PPC64.
6787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6788 multiarch implementations.
6789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6790 (__libc_ifunc_impl_list): Likewise.
6791 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6792 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6793 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6794 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6795 multiarch wcschr for PPC64.
6797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6798 multiarch implementations.
6799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6800 (__libc_ifunc_impl_list): Likewise.
6801 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6802 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6803 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6804 multiarch strchrnul for PPC64.
6806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6809 (__libc_ifunc_impl_list): Likewise.
6810 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6811 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6812 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6813 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6819 (__libc_ifunc_impl_list): Likewise.
6820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6821 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6822 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6823 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6827 multiarch implementations.
6828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6829 (__libc_ifunc_impl_list): Likewise.
6830 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6831 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6832 strncasecmp for PPC64.
6833 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6834 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6835 multiarch strncasecmp_l for PPC64.
6837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6838 multiarch implementations.
6839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6840 (__libc_ifunc_impl_list): Likewise.
6841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6843 multiarch strcasecmp for PPC64.
6844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6847 multiarch strcasecmp_l for PPC64.
6849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6852 (__libc_ifunc_impl_list): Likewise.
6853 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6854 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6855 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6861 (__libc_ifunc_impl_list): Likewise.
6862 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6863 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6864 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6870 (__libc_ifunc_impl_list): Likewise.
6871 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6872 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6873 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6874 rawmemrchr for PPC64.
6876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6879 (__libc_ifunc_impl_list): Likewise.
6880 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6881 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6882 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6888 (__libc_ifunc_impl_list): Likewise.
6889 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6890 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6891 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6897 (__libc_ifunc_impl_list): Likewise.
6898 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6899 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6900 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6903 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6904 avoid cretion of __bzero symbol.
6905 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6907 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6909 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6912 multiarch implementations.
6913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6914 (__libc_ifunc_impl_list): Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6916 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6917 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6918 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6920 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6921 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6922 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6923 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6924 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6926 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6928 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6932 (__libc_ifunc_impl_list): Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6934 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6935 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6936 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6940 multiarch for POWER/PPC64.
6941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6942 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6949 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6952 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6953 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6954 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6955 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6956 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6957 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6959 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6960 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6961 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6963 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6964 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6965 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6966 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6975 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6979 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6981 * benchtests/Makefile (bench): Add exp2 and log2.
6982 (LDLIBS-bench-exp2): Add -lm.
6983 (LDLIBS-bench-log2): Likewise.
6984 * benchtests/exp2-inputs: New inputs file.
6985 * benchtests/log2-inputs: New inputs file.
6986 * benchtests/log-inputs: Add new inputs.
6987 * benchtests/tan-inputs: Likewise.
6989 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6991 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6993 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6994 (csloww2): ... from here.
6996 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6997 instead of structures.
6998 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6999 (POLYNOMIAL): Likewise.
7000 (TAYLOR_SLOW): Likewise.
7008 (bsloww1): Likewise.
7009 (bsloww2): Likewise.
7012 (csloww1): Likewise.
7013 (csloww2): Likewise.
7015 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7017 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7018 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7019 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7020 * malloc/hooks.c (realloc_check): Likewise.
7022 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7023 * malloc/arena.c: Remove PER_THREAD conditional.
7024 [!PER_THREAD]: Remove code.
7025 (ptmalloc_unlock_all2): Likewise.
7026 (ptmalloc_init): Likewise.
7027 (_int_new_arena): Likewise.
7028 (arena_get2): Likewise.
7029 * malloc/hooks.c (__malloc_get_state): Likewise.
7030 (__malloc_set_state): Likewise.
7031 * malloc/malloc.c: Likewise.
7032 (struct malloc_state): Likewise.
7033 (struct malloc_par): Likewise.
7034 (__libc_realloc): Likewise.
7035 (__libc_mallopt): Likewise.
7037 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7041 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7043 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7044 macro to a function. Check for zero perturb_byte.
7045 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7047 * malloc/malloc.c: (force_reg): Remove.
7048 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7049 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7050 force_reg by atomic_forced_read.
7051 * malloc/arena.c (ptmalloc_init): Likewise.
7052 * malloc/hooks.c (top_check): Likewise.
7054 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7058 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7062 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7064 * math/auto-libm-test-in: Add tests of lgamma.
7065 * math/auto-libm-test-out: Regenerated.
7066 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7067 (M_LOG_2_SQRT_PIl): Likewise.
7068 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7071 (func_calc_desc): Add mpfr_f_f1 union field.
7080 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7081 (test_functions): Add lgamma.
7082 (calc_generic_results): Handle mpfr_f_f1.
7083 * sysdeps/i386/fpu/libm-test-ulps: Update.
7084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7089 __mpn_add_n for PowerPC64/POWER7.
7090 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7091 __mpn_sub_n for PowerPC64/POWER7.
7093 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7094 __mpn_addmul_1 for PowerPC64.
7095 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7096 __mpn_submul_1 for PowerPC64.
7097 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7099 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7102 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7105 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7109 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7111 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7112 add multiarch folders.
7113 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7114 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7115 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7116 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7117 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7118 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7119 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7120 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7121 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7122 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7123 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7132 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7138 multiarch __ieee754_hypot for PowerPC32.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7144 multiarch __ieee754_hypotf for PowerPC32.
7146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7147 long_double_symbol only if __logbl is defined.
7148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7149 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7151 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7153 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7155 path for implementation.
7156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7159 logb, and logbl multiarch implementations for PowerPC32.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7165 multiarch logb for PowerPC32.
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7171 multiarch logbf for PowerPC32.
7172 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7176 multiarch logbl implementation for PowerPC32.
7178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7179 and modff multiarch implementations.
7180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7185 multiarch modf for PowerPC32.
7186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7191 multiarch modff for PowerPC32.
7193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7194 and lrintf multiarch implementations.
7195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7200 multiarch lrint for PowerPC32.
7201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7202 file: multiarch lrintf for PowerPC32.
7204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7205 and lroundf multiarch implementations.
7206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7213 multiarch lround for PowerPC32.
7214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7215 file: multiarch lroundf for PowerPC32.
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7218 copysign and copysignf multiarch implementations.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7224 file: multiarch copysign for PowerPC32.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7226 file: multiarch copysignf for PowerPC32.
7228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7229 and truncf multiarch implementations.
7230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7235 multiarch trunc for PowerPC32.
7236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7241 multiarch truncf for PowerPC32.
7243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7244 and roundf multiarch implementations.
7245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7250 multiarch round for PowerPC32.
7251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7256 multiarch roundf for PowerPC32.
7258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7259 and floorf multiarch implementations.
7260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7265 multiarch floor for PowerPC32.
7266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7271 multiarch floorf for PowerPC32.
7273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7274 and ceilf multiarch implementations.
7275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7280 multiarch ceil for PowerPC32.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7286 multiarch ceilf for PowerPC32.
7288 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7290 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7293 and finitef multiarch implementations.
7294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7299 multiarch finite for PowerPC32.
7300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7303 file: multiarch finitef for PowerPC32.
7305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7306 and isinff multiarch implementations.
7307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7312 multiarch isinf for PowerPC32.
7313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7316 multiarch isinff for PowerPC32.
7318 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7319 alias when __isnan is defined.
7320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7321 and isnanf multiarch implementations.
7322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7331 multiarch isnan for PowerPC32.
7332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7337 multiarch isnanf for PowerPC32.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7340 and sqrtf multiarch implementations.
7341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7346 multiarch sqrt for PowerPC32.
7347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7352 multiarch sqrtf for PowerPC32.
7354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7355 and llroundf multiarch implementations.
7356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7363 file: multiarch llround for PowerPC32.
7364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7365 file: multiarch llroundf for PowerPC32.
7367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7368 multiarch PowerPC32 fpu implementations.
7369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7374 multiarch llrint for PowerPC32.
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7388 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7391 multiarch wordcopy for PPC32.
7392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7395 (__libc_ifunc_impl_list): Likewise.
7396 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7397 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7399 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7401 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7403 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7411 multiarch wcscpy for PPC32.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7415 (__libc_ifunc_impl_list): Likewise.
7416 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7417 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7418 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7419 sysdeps/powerpc/power6/wcscpy.c.
7421 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7429 multiarch wcsrchr for PPC32.
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7433 (__libc_ifunc_impl_list): Likewise.
7434 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7435 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7436 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7437 sysdeps/powerpc/power6/wcsrchr.c.
7439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7445 multiarch wcschr for PPc32.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7449 (__libc_ifunc_impl_list): Likewise.
7450 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7451 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7452 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7453 sysdeps/powerpc/power6/wcschr.c.
7455 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7458 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7459 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7460 file: multiarch strchr for PPC32.
7461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7464 (__libc_ifunc_impl_list): Likewise.
7466 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7468 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7470 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7473 multiarch strchrnul for PPC32.
7474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7477 (__libc_ifunc_impl_list): Likewise.
7479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7482 multiarch strncasecmp for PPC32.
7483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7486 multiarch strncasecmp_l for PPC32.
7487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7488 strncasecmp multiarch objects.
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7490 (__libc_ifunc_impl_list): Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7495 multiarch strncasecmp for PPC32.
7496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7499 multiarch strcasecmp_l for PPC32.
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7503 (__libc_ifunc_impl_list): Likewise.
7505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7510 multiarch strncmp for PPC32.
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7514 (__libc_ifunc_impl_list): Likewise.
7516 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7517 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7519 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7524 (__libc_ifunc_impl_list): Likewise.
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7534 (__libc_ifunc_impl_list): Likewise.
7536 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7538 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7540 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7541 multiarch rawmemchr for PPC32.
7542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7545 (__libc_ifunc_impl_list): Likewise.
7547 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7551 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7552 file: memrchr multiarch for PPC32.
7553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7556 (__libc_ifunc_impl_list): Likewise.
7558 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7563 multiarch memchr for PPC32.
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7567 (__libc_ifunc_impl_list): Likewise.
7569 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7575 file: multiarch mempcpy for PPC32.
7576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7579 (__libc_ifunc_impl_list): Likewise.
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7583 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7585 multiarch bzero for PPC32.
7586 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7588 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7590 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7591 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7592 file: multiarch memset for PPC32.
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7595 memset multiarch objects.
7596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7597 (__libc_ifunc_impl_list): Likewise.
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7608 (__libc_ifunc_impl_list): Likewise.
7610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7619 multiarch memcpy for PPC32.
7620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7623 (__libc_ifunc_impl_list): Likewise.
7625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7626 support multiarch for POWER/PPC32.
7627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7629 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7631 Implies file to make multiarch folder appers before the fpu and
7632 default folder for power4 configuration.
7634 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7636 * scripts/bench.pl: Append volatile keyword to type.
7638 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7640 * sysdeps/sh/sotruss-lib.c: New file.
7641 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7643 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7647 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7650 * math/w_tgamma.c: Include <errno.h>.
7651 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7652 * math/w_tgammaf.c: Include <errno.h>.
7653 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7654 * math/w_tgammal.c: Include <errno.h>.
7655 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7656 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7657 underflow. Add more tgamma tests.
7658 * math/auto-libm-test-out: Regenerated.
7659 * sysdeps/i386/fpu/libm-test-ulps: Update.
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7662 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7663 sin, sinh, tan, tanh, tgamma, y0 and y1.
7664 * math/auto-libm-test-out: Regenerated.
7665 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7666 (TEST_COND_x86): Likewise.
7667 (M_E2l): Remove macro.
7669 (M_2_SQRT_PIl): Likewise.
7670 (M_SQRT_PIl): Likewise.
7671 (M_1_DIV_El): Likewise.
7672 (log_test_data): Use AUTO_TESTS_f_f.
7673 (log10_test_data): Likewise.
7674 (log1p_test_data): Likewise.
7675 (log2_test_data): Likewise.
7676 (sin_test_data): Likewise.
7677 (sin_tonearest_test_data): Likewise.
7678 (sin_towardzero_test_data): Likewise.
7679 (sin_downward_test_data): Likewise.
7680 (sin_upward_test_data): Likewise.
7681 (sinh_test_data): Likewise.
7682 (sinh_tonearest_test_data): Likewise.
7683 (sinh_towardzero_test_data): Likewise.
7684 (sinh_downward_test_data): Likewise.
7685 (sinh_upward_test_data): Likewise.
7686 (tan_test_data): Likewise.
7687 (tan_tonearest_test_data): Likewise.
7688 (tan_towardzero_test_data): Likewise.
7689 (tan_downward_test_data): Likewise.
7690 (tan_upward_test_data): Likewise.
7691 (tanh_test_data): Likewise.
7692 (tgamma_test_data): Likewise.
7693 (y0_test_data): Likewise.
7694 (y1_test_data): Likewise.
7695 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7696 (special_real_inputs): Add pi/4.
7697 * sysdeps/i386/fpu/libm-test-ulps: Update.
7698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7700 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7703 "longjmp_target" static probes.
7704 (__longjmp): Rename to __longjmp_symbol.
7705 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7706 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7707 on which longjmp to generate.
7708 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7709 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7711 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7712 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7713 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7714 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7715 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7716 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7718 __longjmp_symbol based on which __longjmp to generate.
7719 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7721 (setjmp): Rename to setjmp_symbol.
7722 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7723 (_setjmp): Rename to _setjmp_symbol.
7724 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7725 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7726 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7727 which setjmp to generate.
7728 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7729 "longjmp_target" static probes.
7731 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7733 * benchtests/README: Add note about output arguments.
7734 * benchtests/bench-sincos.c: Remove file.
7735 * benchtests/sincos-inputs: New file.
7736 * scripts/bench.pl: Identify output arguments and define
7737 static variables for them.
7739 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7742 * Makefile (INSTALL): Add install-plain.texi as the primary
7744 * manual/install-plain.texi: New file.
7745 * manual/install.texi: Include node directive only for
7746 non-plaintext output.
7748 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7750 * stdlib/longlong.h: Update from GCC.
7754 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7755 * math/w_j0f.c (y0f): Likewise.
7756 * math/w_j0l.c (__y0l): Likewise.
7757 * math/w_j1.c (y1): Likewise.
7758 * math/w_j1f.c (y1f): Likewise.
7759 * math/w_j1l.c (__y1l): Likewise
7760 * math/w_jn.c (yn): Likewise.
7761 * math/w_jnf.c (ynf): Likewise.
7762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7763 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7764 value for Bessel function domain errors outside _SVID_ mode.
7765 Adjust sign of return value for yn (negative integer, 0).
7766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7767 by zero in return for negative x and set sign appropriately for
7769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7771 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7772 expectations in error cases.
7773 (y1_test_data): Likewise.
7774 (yn_test_data): Likewise.
7775 * sysdeps/i386/fpu/libm-test-ulps: Update.
7776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7778 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7780 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7781 "64" to "64-v1". Add "64-v2".
7782 (abi-64-options): Rename to ...
7783 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7784 (abi-64-condition): Rename to ...
7785 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7786 (abi-64-ld-soname): Rename to ...
7787 (abi-64-v1-ld-soname): ... this.
7788 (abi-64-v2-options): Define.
7789 (abi-64-v2-condition): Likewise.
7790 (abi-64-v2-ld-soname): Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7797 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7798 Alan Modra <amodra@gmail.com>
7800 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7801 New versions for use with the ELFv2 ABI.
7802 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7803 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7805 (struct La_ppc64v2_retval): Likewise.
7806 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7807 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7808 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7809 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7810 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7812 Do not save or restore CR.
7813 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7814 (_dl_profile_resolve): Do no save or restore CR. Support extended
7815 return values for ELFv2 ABI. Fix location of FPR return registers.
7816 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7817 updated values for _CALL_ELF == 2.
7818 (La_regs, La_retval, int_retval): Likewise.
7820 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7822 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7823 (FRAME_MIN_SIZE_PARM): Likewise.
7824 (FRAME_BACKCHAIN): Likewise.
7825 (FRAME_CR_SAVE): Likewise.
7826 (FRAME_LR_SAVE): Likewise.
7827 (FRAME_TOC_SAVE): Likewise.
7828 (FRAME_PARM_SAVE): Likewise.
7829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7830 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7831 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7832 (call_mcount_parm_offset): New macro.
7833 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7834 (PROF): Use symbolic stack frame offsets.
7835 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7837 Redefine in terms of FRAME_MIN_SIZE.
7838 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7839 (_dl_profile_resolve): Likewise. Update comment.
7840 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7841 symbols stack frame offsets.
7842 (__sigsetjmp): Likewise.
7843 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7844 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7845 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7846 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7849 (FRAME_BACKCHAIN): Remove.
7850 (FRAME_CR_SAVE): Likewise.
7851 (FRAME_LR_SAVE): Likewise.
7852 (FRAME_COMPILER_DW): Likewise.
7853 (FRAME_LINKER_DW): Likewise.
7854 (FRAME_TOC_SAVE): Likewise.
7855 (FRAME_PARM_SAVE): Likewise.
7856 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7857 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7858 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7860 (CHECK_SP): Use symbolic stack frame offsets.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7862 zone" instead of caller's parameter save area for temp storage.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7864 Likewise. Also, use symbolic stack frame offsets.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7866 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7867 our own stack frame instead of the caller's.
7868 (__socket): Use symbolic stack frame offsets.
7870 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7871 Alan Modra <amodra@gmail.com>
7873 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7875 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7876 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7877 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7879 (elf_machine_fixup_plt): Call it.
7880 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7882 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7883 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7884 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7885 r2 before calling target.
7887 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7888 Alan Modra <amodra@gmail.com>
7890 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7891 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7892 versions of macros to support ELFv2 ABI.
7893 (LOCALENTRY): New macro.
7894 (ENTRY, EALIGN): Use it.
7895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7896 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7897 fall through into ENTRY entry point.
7898 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7899 Only define if _CALL_ELF != 2.
7901 (elf_machine_matches_host): Verify ABI version matches.
7902 (RTLD_START): Use LOCALENTRY.
7903 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7904 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7905 (PLT_ENTRY_WORDS): New macro.
7906 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7907 (elf_machine_runtime_setup): Support ELFv2 ABI.
7908 (elf_machine_fixup_plt): Likewise.
7909 (elf_machine_plt_conflict): Likewise.
7910 (resolve_ifunc): Likewise.
7911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7915 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7917 (makecontext): Support ELFv2 ABI.
7918 * elf/elf.h (EF_PPC64_ABI): Define.
7920 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7922 * sysdeps/powerpc/powerpc64/sysdep.h
7923 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7924 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7925 (ENTRY) [ASSEMBLER]: ... but instead here ...
7926 (EALIGN) [ASSEMBLER]: ... and here.
7927 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7928 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7929 (ENTRY_2) [!ASSEMBLER]: Use it.
7930 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7931 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7932 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7933 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7934 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7936 Use PPC64_LOAD_FUNCPTR.
7938 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7940 2013-12-04 Alan Modra <amodra@gmail.com>
7942 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7943 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7944 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7945 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7948 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7949 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7950 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7951 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7952 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7954 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7957 (__makecontext): Fix incorrect CFI when backtracing out of
7958 context created via makecontext.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7960 (__setcontext): Fix incorrect CFI during switch to new context.
7961 (__novec_setcontext): Likewise.
7963 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7966 * time/strptime_l.c (__strptime_internal): Allow modifiers
7968 * time/tst-strptime.c (day_tests): Add testcase.
7970 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7972 * scripts/bench.pl: Skip over blank lines.
7974 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7977 * manual/time.texi (Calendar Time): Clarify what timezone functions
7980 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7984 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7986 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7988 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7989 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7990 * debug/memset_chk.c (__memset_chk): Likewise.
7991 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7992 * debug/strncpy_chk.c: Likewise.
7994 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7998 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7999 (__ieee754_exp): For possibly underflowing results, check size of
8000 result and force underflow exception if required.
8001 * math/auto-libm-test-in: Add more tests of exp.
8002 * math/auto-libm-test-out: Regenerated.
8003 * sysdeps/i386/fpu/libm-test-ulps: Update.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8007 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8008 * math/w_exp2f.c (__exp2f): Likewise.
8009 * math/w_exp2l.c (__exp2l): Likewise.
8010 * math/auto-libm-test-in: Do not allow missing errno on exp2
8012 * math/auto-libm-test-out: Regenerated.
8014 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8017 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8018 handle filename validation.
8019 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8022 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8025 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8026 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8027 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8029 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8030 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8031 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8033 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8035 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8036 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8037 Add more erfc tests.
8038 * math/auto-libm-test-out: Regenerated.
8039 * sysdeps/i386/fpu/libm-test-ulps: Update.
8040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8042 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8043 exp2, expm1, j0 and j1.
8044 * math/auto-libm-test-out: Regenerated.
8045 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8046 (erfc_test_data): Likewise.
8047 (exp_test_data): Likewise.
8048 (exp_tonearest_test_data): Likewise.
8049 (exp_towardzero_test_data): Likewise.
8050 (exp_downward_test_data): Likewise.
8051 (exp_upward_test_data): Likewise.
8052 (exp10_test_data): Likewise.
8053 (exp2_test_data): Likewise.
8054 (expm1_test_data): Likewise.
8055 (j0_test_data): Likewise.
8056 (j1_test_data): Likewise.
8057 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8058 (input_flag_type): Add flag_xfail_rounding.
8059 (input_flags): Add xfail-rounding.
8060 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8061 (output_for_one_input_case): Handle flag_xfail_rounding.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8068 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8071 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8074 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8075 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8076 (STAP_PROBE0): New macro.
8077 (STAP_PROBE1): Likewise.
8078 (STAP_PROBE2): Likewise.
8079 (STAP_PROBE3): Likewise.
8080 (STAP_PROBE4): Likewise.
8082 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8084 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8086 2013-12-02 Steve Ellcey <sellcey@mips.com>
8088 * benchtests/Makefile (bench): Add sqrt.
8089 (LDLIBS-bench-sqrt): New.
8090 * benchtests/sqrt-input: New.
8092 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8094 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8095 (GAIH_EAI): Likewise.
8096 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8097 (gaih_inet): Likewise.
8098 (getaddrinfo): Don't use GAIH_EAI.
8100 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8101 (struct gaih): Remove definition.
8103 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8105 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8106 Use HERRNOP directly.
8108 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8112 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8114 * math/gen-auto-libm-tests.c (test_functions): Add more
8115 single-argument functions.
8116 (special_fill_pi_2): New function.
8117 (special_fill_minus_pi_2): Likewise.
8118 (special_fill_pi_6): Likewise.
8119 (special_fill_minus_pi_6): Likewise.
8120 (special_fill_pi_3): Likewise.
8121 (special_fill_2pi_3): Likewise.
8122 (special_fill_e): Likewise.
8123 (special_fill_1_e): Likewise.
8124 (special_fill_e_minus_1): Likewise.
8125 (special_real_inputs): Add more special inputs.
8126 (output_for_one_input_case): Do not require ERANGE on underflow to
8127 zero if round-to-nearest result does not underflow to zero, unless
8128 exact results required.
8129 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8130 atan, atanh, cbrt, cos and cosh.
8131 * math/auto-libm-test-out: Regenerated.
8132 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8133 (acos_tonearest_test_data): Likewise.
8134 (acos_towardzero_test_data): Likewise.
8135 (acos_downward_test_data): Likewise.
8136 (acos_upward_test_data): Likewise.
8137 (acosh_test_data): Likewise.
8138 (asin_test_data): Likewise.
8139 (asin_tonearest_test_data): Likewise.
8140 (asin_towardzero_test_data): Likewise.
8141 (asin_upward_test_data): Likewise.
8142 (asinh_test_data): Likewise.
8143 (atan_test_data): Likewise.
8144 (atanh_test_data): Likewise.
8145 (cbrt_test_data): Likewise.
8146 (cos_test_data): Likewise.
8147 (cos_tonearest_test_data): Likewise.
8148 (cos_towardzero_test_data): Likewise.
8149 (cos_downward_test_data): Likewise.
8150 (cos_upward_test_data): Likewise.
8151 (cosh_test_data): Likewise.
8152 (cosh_tonearest_test_data): Likewise.
8153 (cosh_towardzero_test_data): Likewise.
8154 (cosh_downward_test_data): Likewise.
8155 (cosh_upward_test_data): Likewise.
8156 * sysdeps/i386/fpu/libm-test-ulps: Update.
8157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8162 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8163 * math/w_exp10f.c (__exp10f): Likewise.
8164 * math/w_exp10l.c (__exp10l): Likewise.
8165 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8166 errno settings in existing tests.
8169 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8170 precision control set to double precision.
8171 * sysdeps/i386/fpu/w_sqrt.c: New file.
8172 * math/auto-libm-test-in: Add more tests.
8173 * math/auto-libm-test-out: Update.
8175 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8176 (sqrt_test_tonearest): New function.
8177 (sqrt_towardzero_test_data): New variable.
8178 (sqrt_test_towardzero): New function.
8179 (sqrt_downward_test_data): New variable.
8180 (sqrt_test_downward): New function.
8181 (sqrt_upward_test_data): New variable.
8182 (sqrt_test_upward): New function.
8183 (main): Call the new functions.
8185 * math/gen-auto-libm-tests.c: New file.
8186 * math/auto-libm-test-in: Likewise.
8187 * math/auto-libm-test-out: New generated file.
8188 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8190 (%beautify): Add generated representations of zero.
8191 (top level): Set $auto_input and call parse_auto_input.
8192 (beautify): Remove trailing "f" from hex float constants.
8193 (parse_args): Handle XFAIL_TEST.
8194 (convert_condition): New function.
8195 (or_value): Likewise.
8196 (or_cond_value): Likewise.
8197 (generate_testfile): Handle AUTO_TESTS_* lines.
8198 (parse_auto_input): New function.
8199 * math/libm-test.inc (XFAIL_TEST): New macro.
8200 (ERRNO_UNCHANGED): Update value.
8201 (ERRNO_EDOM): Likewise.
8202 (ERRNO_ERANGE): Likewise.
8203 (IGNORE_RESULT): Likewise.
8204 (TEST_COND_flt_32): New macro.
8205 (TEST_COND_dbl_64): Likewise.
8206 (TEST_COND_ldbl_96_intel): Likewise.
8207 (TEST_COND_ldbl_96_m68k): Likewise.
8208 (TEST_COND_ldbl_128): Likewise.
8209 (TEST_COND_ldbl_128ibm): Likewise.
8210 (TEST_COND_long32): Likewise.
8211 (TEST_COND_long64): Likewise.
8212 (TEST_COND_before_rounding): Likewise.
8213 (TEST_COND_after_rounding): Likewise.
8214 (enable_test): Handle XFAIL_TEST flag.
8215 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8216 with finite results.
8217 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8220 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8224 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8225 __tls_get_addr_internal instead of __tls_get_offset in order to
8226 avoid GOT pointer dependency. Make rtld export
8227 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8228 __tls_get_addr since we are a __tls_get_offset platform.
8229 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8230 GOT pointer being set up before.
8231 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8233 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8235 * manual/math.texi (Errors in Math Functions): Document accuracy
8239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8240 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8243 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8245 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8256 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8257 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8258 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8259 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8260 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8262 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8264 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8266 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8268 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8269 atomic-feupdateenv and flt-rounds.
8270 * sysdeps/powerpc/nofpu/Versions (libc): Add
8271 __atomic_feholdexcept, __atomic_feclearexcept,
8272 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8273 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8274 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8275 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8276 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8281 * manual/arith.texi (FP Exceptions): Document that exceptions may
8282 not be raised when matherr is used.
8283 (Math Error Reporting): Document overflow in directed rounding
8284 modes. Document that errno may not be set when finite values are
8285 returned on overflow. Document intent to set errno on underflow
8286 only for underflow to zero.
8289 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8290 round-to-nearest then adjust result for other rounding modes.
8291 * include/fenv.h (fegetround): Use libm_hidden_proto.
8292 * math/fegetround.c (fegetround): Use libm_hidden_def.
8293 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8294 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8295 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8298 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8300 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8301 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8303 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 * nss/Versions (libnss_files): Add
8307 _nss_files_gethostbyname3_r.
8308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8310 (HOST_DB_LOOKUP): Remove macro.
8311 (_nss_files_gethostbyname_r): Implement function without the
8312 HOST_DB_LOOKUP macro.
8313 (_nss_files_gethostbyname2_r): Likewise.
8315 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8317 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8319 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8321 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8322 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8325 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8327 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8328 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8329 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8330 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8332 __fe_nomask_env_priv and attribute_hidden.
8333 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8334 (libc_feupdateenv_test_ppc): Likewise.
8335 (libc_feresetround_ppc): Likewise.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8337 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8338 compat_symbol macro.
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8340 (__fe_nomask_env): Likewise.
8341 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8343 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8345 * string/Makefile: Remove ifunc tests.
8346 * string/test-string.h: Define TEST_IFUNC.
8347 * string/test-bcopy-ifunc.c: Remove.
8348 * string/test-bzero-ifunc.c: Likewise.
8349 * string/test-memccpy-ifunc.c: Likewise.
8350 * string/test-memchr-ifunc.c: Likewise.
8351 * string/test-memcmp-ifunc.c: Likewise.
8352 * string/test-memcpy-ifunc.c: Likewise.
8353 * string/test-memmem-ifunc.c: Likewise.
8354 * string/test-memmove-ifunc.c: Likewise.
8355 * string/test-mempcpy-ifunc.c: Likewise.
8356 * string/test-memrchr-ifunc.c: Likewise.
8357 * string/test-memset-ifunc.c: Likewise.
8358 * string/test-rawmemchr-ifunc.c: Likewise.
8359 * string/test-stpcpy-ifunc.c: Likewise.
8360 * string/test-stpncpy-ifunc.c: Likewise.
8361 * string/test-strcasecmp-ifunc.c: Likewise.
8362 * string/test-strcasestr-ifunc.c: Likewise.
8363 * string/test-strcat-ifunc.c: Likewise.
8364 * string/test-strchr-ifunc.c: Likewise.
8365 * string/test-strchrnul-ifunc.c: Likewise.
8366 * string/test-strcmp-ifunc.c: Likewise.
8367 * string/test-strcpy-ifunc.c: Likewise.
8368 * string/test-strcspn-ifunc.c: Likewise.
8369 * string/test-strlen-ifunc.c: Likewise.
8370 * string/test-strncasecmp-ifunc.c: Likewise.
8371 * string/test-strncat-ifunc.c: Likewise.
8372 * string/test-strncmp-ifunc.c: Likewise.
8373 * string/test-strncpy-ifunc.c: Likewise.
8374 * string/test-strnlen-ifunc.c: Likewise.
8375 * string/test-strpbrk-ifunc.c: Likewise.
8376 * string/test-strrchr-ifunc.c: Likewise.
8377 * string/test-strspn-ifunc.c: Likewise.
8378 * string/test-strstr-ifunc.c: Likewise.
8380 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8382 * benchtests/Makefile: Remove ifunc tests.
8383 * benchtests/bench-string.h: Define TEST_IFUNC.
8384 * benchtests/bench-bcopy-ifunc.c: Remove.
8385 * benchtests/bench-bzero-ifunc.c: Likewise.
8386 * benchtests/bench-memccpy-ifunc.c: Likewise.
8387 * benchtests/bench-memchr-ifunc.c: Likewise.
8388 * benchtests/bench-memcmp-ifunc.c: Likewise.
8389 * benchtests/bench-memcpy-ifunc.c: Likewise.
8390 * benchtests/bench-memmem-ifunc.c: Likewise.
8391 * benchtests/bench-memmove-ifunc.c: Likewise.
8392 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8393 * benchtests/bench-memrchr-ifunc.c: Likewise.
8394 * benchtests/bench-memset-ifunc.c: Likewise.
8395 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8396 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8397 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8398 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8399 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8400 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8401 * benchtests/bench-strcat-ifunc.c: Likewise.
8402 * benchtests/bench-strchr-ifunc.c: Likewise.
8403 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8404 * benchtests/bench-strcmp-ifunc.c: Likewise.
8405 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8406 * benchtests/bench-strcpy-ifunc.c: Likewise.
8407 * benchtests/bench-strcspn-ifunc.c: Likewise.
8408 * benchtests/bench-strlen-ifunc.c: Likewise.
8409 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8410 * benchtests/bench-strncat-ifunc.c: Likewise.
8411 * benchtests/bench-strncmp-ifunc.c: Likewise.
8412 * benchtests/bench-strncpy-ifunc.c: Likewise.
8413 * benchtests/bench-strnlen-ifunc.c: Likewise.
8414 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8415 * benchtests/bench-strrchr-ifunc.c: Likewise.
8416 * benchtests/bench-strsep-ifunc.c: Likewise.
8417 * benchtests/bench-strspn-ifunc.c: Likewise.
8418 * benchtests/bench-strstr-ifunc.c: Likewise.
8420 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8422 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8424 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8426 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8427 * rt/aio.h: Likewise.
8428 * sysdeps/gnu/bits/utmp.h: Likewise.
8429 * sysdeps/gnu/bits/utmpx.h: Likewise.
8430 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8431 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8432 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8433 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8434 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8435 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8436 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8437 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8439 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8440 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8441 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8442 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8444 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8445 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8446 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8447 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8448 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8449 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8450 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8451 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8452 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8454 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8456 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8458 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8460 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8461 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8464 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8465 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8467 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8470 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8471 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8473 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8476 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8477 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8479 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8481 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8485 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8488 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8489 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8490 (__fesetround): Remove define.
8491 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8492 rounding and exceptions handling.
8493 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8494 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8495 (__fe_nomask_env): Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8497 __fegetround instead of fegetround.
8498 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8501 2013-11-21 Roland McGrath <roland@hack.frob.com>
8503 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8506 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8508 2013-11-21 Meador Inge <meadori@codesourcery.com>
8511 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8512 (encrypt_r): Likewise.
8513 * malloc/obstack.h (obstack_free): Likewise.
8514 * posix/unistd.h (encrypt): Likewise.
8516 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8518 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8519 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8520 DL_CALL_DT_FINI() that call the functions directly.
8521 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8522 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8523 * elf/dl-fini.c: Likewise.
8525 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8527 * malloc/hooks.c (memalign_check): Add alignment rounding.
8528 * malloc/malloc.c (_mid_memalign): New function.
8529 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8530 Implement by calling _mid_memalign.
8531 * manual/probes.texi (Memory Allocation Probes): Remove
8532 memory_valloc_retry and memory_pvalloc_retry.
8534 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8536 * locale/programs/locarchive.c (open_archive): Add const
8537 qualifier to ARCHIVEFNAME and copy default fname to
8541 * libio/tst-widetext.input: Rename Oriya to Odia.
8542 * locale/iso-639.def: Likewise.
8544 * manual/probes.texi (Mathematical Function Probes): Add
8545 documentation for sin, cos, asin and acos probes.
8546 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8547 (__sin32): Add slowasin probe.
8548 (__cos32): Add slowacos probe.
8549 (__mpsin): Add slowsin probe.
8550 (__mpcos): Add slowcos probe.
8552 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8555 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8556 thread-local __sim_exceptions_thread and global
8557 __sim_exceptions_global.
8558 (__sim_disabled_exceptions): Change to thread-local
8559 __sim_disabled_exceptions_thread and global
8560 __sim_disabled_exceptions_global.
8561 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8562 and global __sim_round_mode_global.
8563 (__simulate_exceptions): Use thread-local floating-point state and
8564 set global state from it as needed.
8565 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8566 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8567 __sim_round_mode_thread.
8568 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8569 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8570 and global __sim_exceptions_global.
8571 (__sim_disabled_exceptions): Change to thread-local
8572 __sim_disabled_exceptions_thread and global
8573 __sim_disabled_exceptions_global.
8574 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8575 and global __sim_round_mode_global.
8576 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8577 (SIM_SET_GLOBAL): Likewise.
8578 * sysdeps/powerpc/soft-fp/sfp-machine.h
8579 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8580 __sim_round_mode_thread.
8581 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8582 __sim_disabled_exceptions_thread.
8583 (__sim_exceptions): Change to __sim_exceptions_thread.
8584 (__sim_disabled_exceptions): Change to
8585 __sim_disabled_exceptions_thread.
8586 (__sim_round_mode): Change to __sim_round_mode_thread.
8587 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8588 thread-local floating-point state and set global state from it as
8590 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8591 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8592 (__sim_disabled_exceptions): Remove extern declaration.
8593 (feenableexcept): Use thread-local floating-point state and set
8594 global state from it as needed.
8595 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8597 (__sim_disabled_exceptions): Likewise.
8598 (__sim_round_mode): Likewise.
8599 (__fegetenv): Use thread-local floating-point state.
8600 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8601 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8602 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8603 floating-point state and set global state from it as needed.
8604 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8605 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8606 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8608 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8609 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8611 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8612 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8613 Use __sim_round_mode_thread.
8614 * math/test-fenv-tls.c: New file.
8615 * math/Makefile (tests): Add test-fenv-tls.
8616 ($(objpfx)test-fenv-tls): Depend on
8617 $(common-objpfx)nptl/libpthread.so.
8619 2013-11-19 Andreas Schwab <schwab@suse.de>
8621 * locale/programs/locale.c (show_info): Decode wordarray elements.
8622 * locale/categories.def (LC_MONETARY): Add element for
8623 _NL_MONETARY_CRNCYSTR.
8624 * locale/C-monetary.c (conversion_rate): New variable.
8625 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8628 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8630 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8631 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8633 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8635 * elf/Makefile (tst-auxv): New test.
8636 * elf/tst-auxv.c: New
8637 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8639 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8641 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8642 (hidden_proto): Caller changed.
8643 (hidden_tls_proto): New macro.
8644 (libc_hidden_tls_proto): Likewise.
8645 (rtld_hidden_tls_proto): Likewise.
8646 (libm_hidden_tls_proto): Likewise.
8647 (libresolv_hidden_tls_proto): Likewise.
8648 (librt_hidden_tls_proto): Likewise.
8649 (libdl_hidden_tls_proto): Likewise.
8650 (libnss_files_hidden_tls_proto): Likewise.
8651 (libnsl_hidden_tls_proto): Likewise.
8652 (libnss_nisplus_hidden_tls_proto): Likewise.
8653 (libutil_hidden_tls_proto): Likewise.
8655 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8658 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8659 (decompose_rpath): Defer expansion to fillin_rpath.
8660 (_dl_init_paths): Pass linkmap to fillin_rpath.
8662 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8664 * benchtests/Makefile: Add strsep.
8665 * benchtests/bench-strsep.c: New file: strsep benchtest.
8666 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8668 2013-11-18 Andreas Schwab <schwab@suse.de>
8670 * locale/programs/locale.c (show_info) [case byte]: Check for
8671 '\377' instead of '\177'.
8672 * locale/C-monetary.c (not_available): Always use "\377".
8673 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8674 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8675 detect unavailable sign_posn locale elements.
8676 * locale/localeconv.c (__localeconv): For grouping and
8677 mon_grouping handle "\177" and "\377" like no grouping.
8678 (INT_ELEM): New macro. Use it to set all numeric members.
8679 * locale/programs/ld-monetary.c (monetary_read)
8680 <tok_mon_grouping>: Normalize single -1 to the empty string.
8681 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8684 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8688 when we match (nil).
8689 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8691 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8693 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8694 (NO_TEST_INLINE): Update value.
8695 (ERRNO_UNCHANGED): Likewise.
8696 (ERRNO_EDOM): Likewise.
8697 (ERRNO_ERANGE): Likewise.
8698 (IGNORE_RESULT): Likewise.
8699 (check_float_internal): Check signs of NaN results if
8701 (check_complex): Pass TEST_NAN_SIGN flag through to second
8702 check_float_internal call.
8703 (copysign_test_data): Add tests with quiet NaNs as second
8704 argument. Use TEST_NAN_SIGN.
8705 (fabs_test_data): Add test of negative quiet NaN argument. Use
8707 (signbit_test_data): Add tests of quiet NaN argument.
8708 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8710 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8712 (parse_args): Handle function results specified as IGNORE.
8713 * math/libm-test.inc (IGNORE_RESULT): New macro.
8714 (check_float_internal): Do not check numerical result if flag
8716 (check_complex): Pass through IGNORE_RESULT to second
8717 check_float_internal call.
8718 (check_int): Do not check numerical result if flag IGNORE_RESULT
8720 (check_long): Likewise.
8721 (check_bool): Likewise.
8722 (check_longlong): Likewise.
8723 (lrint_test_data): Add tests of infinite and NaN arguments.
8724 (lrint_tonearest_test_data): Likewise.
8725 (lrint_towardzero_test_data): Likewise.
8726 (lrint_downward_test_data): Likewise.
8727 (lrint_upward_test_data): Likewise.
8728 (llrint_test_data): Likewise.
8729 (llrint_tonearest_test_data): Likewise.
8730 (llrint_towardzero_test_data): Likewise.
8731 (llrint_downward_test_data): Likewise.
8732 (llrint_upward_test_data): Likewise.
8733 (lround_test_data): Likewise.
8734 (llround_test_data): Likewise.
8736 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8737 (ERRNO_UNCHANGED): Update value.
8738 (ERRNO_EDOM): Likewise.
8739 (ERRNO_ERANGE): Likewise.
8740 (NO_TEST_INLINE_FLOAT): New macro.
8741 (NO_TEST_INLINE_DOUBLE): Likewise.
8742 (enable_test): New function.
8743 (RUN_TEST_f_f): Check enable_test before running test.
8744 (RUN_TEST_2_f): Likewise.
8745 (RUN_TEST_fff_f): Likewise.
8746 (RUN_TEST_c_f): Likewise.
8747 (RUN_TEST_f_f1): Likewise.
8748 (RUN_TEST_fF_f1): Likewise.
8749 (RUN_TEST_fI_f1): Likewise.
8750 (RUN_TEST_ffI_f1): Likewise.
8751 (RUN_TEST_c_c): Likewise.
8752 (RUN_TEST_cc_c): Likewise.
8753 (RUN_TEST_f_i): Likewise.
8754 (RUN_TEST_f_i_tg): Likewise.
8755 (RUN_TEST_ff_i_tg): Likewise.
8756 (RUN_TEST_f_b): Likewise.
8757 (RUN_TEST_f_b_tg): Likewise.
8758 (RUN_TEST_f_l): Likewise.
8759 (RUN_TEST_f_L): Likewise.
8760 (RUN_TEST_fFF_11): Likewise.
8761 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8763 (cosh_test_data): Likewise.
8764 (exp_test_data): Likewise.
8765 (expm1_test_data): Likewise.
8766 (hypot_test_data): Likewise.
8767 (pow_test_data): Likewise.
8768 (sinh_test_data): Likewise.
8769 (tanh_test_data): Likewise.
8770 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8773 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8774 tests with quiet NaN input and output.
8775 (acosh_test_data): Likewise.
8776 (asin_test_data): Likewise.
8777 (asinh_test_data): Likewise.
8778 (atan_test_data): Likewise.
8779 (atanh_test_data): Likewise.
8780 (atan2_test_data): Likewise.
8781 (cbrt_test_data): Likewise.
8782 (cos_test_data): Likewise.
8783 (cosh_test_data): Likewise.
8784 (erf_test_data): Likewise.
8785 (erfc_test_data): Likewise.
8786 (exp_test_data): Likewise.
8787 (exp10_test_data): Likewise.
8788 (exp2_test_data): Likewise.
8789 (expm1_test_data): Likewise.
8790 (hypot_test_data): Likewise.
8791 (j0_test_data): Likewise.
8792 (j1_test_data): Likewise.
8793 (jn_test_data): Likewise.
8794 (lgamma_test_data): Likewise.
8795 (log_test_data): Likewise.
8796 (log10_test_data): Likewise.
8797 (log1p_test_data): Likewise.
8798 (log2_test_data): Likewise.
8799 (pow_test_data): Likewise.
8800 (scalb_test_data): Likewise.
8801 (sin_test_data): Likewise.
8802 (sincos_test_data): Likewise.
8803 (sinh_test_data): Likewise.
8804 (tan_test_data): Likewise.
8805 (tanh_test_data): Likewise.
8806 (tgamma_test_data): Likewise.
8807 (y0_test_data): Likewise.
8808 (y1_test_data): Likewise.
8809 (yn_test_data): Likewise.
8812 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8813 argument being NaN and avoid computations with second argument in
8815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8817 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8819 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8821 * locale/iso-639.def: Add Chitwani Tharu (the).
8823 2013-11-14 Andreas Schwab <schwab@suse.de>
8825 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8826 word instead of empty string.
8828 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8831 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8833 (__fe_nomask_env): Likewise.
8835 2013-11-13 Steve Ellcey <sellcey@mips.com>
8837 * benchtests/bench-timing.h: Include time.h.
8839 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8842 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8844 * sysdeps/unix/sysv/linux/configure: Regenerated.
8846 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8849 * stdlib/strtod_l.c (round_and_return): Do not consider
8850 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8851 exponent one less than half the least subnormal exponent.
8852 * stdlib/test-strtod-round-data: Add more tests.
8853 * stdlib/tst-strtod-round.c (tests): Regenerated.
8855 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8858 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8859 (__fe_mask_env): Likewise.
8860 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8861 libm_hidden_proto and add function prototype.
8862 (__fe_mask_env): Add function prototype.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8864 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8866 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8868 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8870 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8872 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8873 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8875 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8877 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8878 of htab_find_slot().
8880 2013-11-11 David S. Miller <davem@davemloft.net>
8883 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8884 symbol in the non-vis3 case in static builds.
8885 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8886 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8887 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8888 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8890 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8893 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8896 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8898 * benchtests/Makefile: Add bench-strtod.
8899 * benchtests/bench-strtod.c: New file: strtod benchtest
8901 2013-11-11 Andreas Schwab <schwab@suse.de>
8904 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8905 terminating NUL in key length.
8907 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8910 Add artificial ODP entry for vDSO symbol for PPC64.
8911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8912 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8914 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8917 * nss/getent.c (services_keys): Recognize services starting with digit.
8919 2013-11-06 David S. Miller <davem@davemloft.net>
8922 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8923 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8925 2013-11-06 Will Newton <will.newton@linaro.org>
8927 * manual/memory.texi (Malloc Examples): Remove register
8928 keyword from examples.
8930 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8932 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8934 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8937 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8938 depending on [__GCC_IEC_559 > 0].
8939 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8940 depending on [__GCC_IEC_559_COMPLEX > 0].
8942 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8944 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8947 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8949 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8951 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8954 * malloc/malloc (malloc_info): Do not handle first bin as
8957 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8959 * locale/iso-639.def: Add Central Nahuatl (nhn).
8961 2013-11-01 Bruno Haible <bruno@clisp.org>
8964 * manual/math.texi (BSD Random): Specify range upper bound as
8967 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8969 * locale/iso-639.def: Add Meadow Mari (mhr).
8971 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8973 [BZ #14752], [BZ #15763]
8974 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8976 * rt/tst_shm.c: Add test for escaping directory.
8978 2013-10-31 Andreas Schwab <schwab@suse.de>
8981 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8982 followed by 'x' as part of digit sequence.
8983 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8985 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8988 * configure.ac: allow GNU Make 4.0 and greater.
8989 * configure: Regenerated.
8991 2013-10-30 Will Newton <will.newton@linaro.org>
8994 * malloc/hooks.c (memalign_check): Limit alignment to the
8995 maximum representable power of two.
8996 * malloc/malloc.c (__libc_memalign): Likewise.
8997 * malloc/tst-memalign.c (do_test): Add test for very
8998 large alignment values.
8999 * malloc/tst-posix_memalign.c (do_test): Likewise.
9001 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9004 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9005 (munmap_chunk): Likewise.
9006 (mremap_chunk): Likewise.
9008 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9011 * stdlib/div.c (div): Remove obsolete code.
9012 * stdlib/ldiv.c (ldiv): Likewise.
9013 * stdlib/lldiv.c (lldiv): Likewise.
9015 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9018 * nss/nss_files/files-XXX.c (get_contents_ret): New
9020 (get_contents): New function.
9021 (internal_getent): Use it. Expand size of LINEBUFLEN.
9023 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9025 * configure.in: Moved to ...
9026 * configure.ac: ... here. Change reference to configure.in
9028 * sysdeps/arm/preconfigure.ac: ... here.
9029 configure.in to configure.ac.
9030 * sysdeps/gnu/configure.in: Moved to ...
9031 * sysdeps/gnu/configure.ac: ... here.
9032 * sysdeps/i386/configure.in: Moved to ...
9033 * sysdeps/i386/configure.ac: ... here.
9034 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9035 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9036 * sysdeps/mach/configure.in: Moved to ...
9037 * sysdeps/mach/configure.ac: ... here.
9038 * sysdeps/mach/hurd/configure.in: Moved to ...
9039 * sysdeps/mach/hurd/configure.ac: ... here.
9040 * sysdeps/powerpc/configure.in: Moved to ...
9041 * sysdeps/powerpc/configure.ac: ... here.
9042 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9043 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9044 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9045 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9046 * sysdeps/s390/s390-32/configure.in: Moved to ...
9047 * sysdeps/s390/s390-32/configure.ac: ... here.
9048 * sysdeps/s390/s390-64/configure.in: Moved to ...
9049 * sysdeps/s390/s390-64/configure.ac: ... here.
9050 * sysdeps/sh/configure.in: Moved to ...
9051 * sysdeps/sh/configure.ac: ... here.
9052 * sysdeps/sparc/configure.in: Moved to ...
9053 * sysdeps/sparc/configure.ac: ... here.
9054 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9055 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9056 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9057 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9058 * sysdeps/x86_64/configure.in: Moved to ...
9059 * sysdeps/x86_64/configure.ac: ... here.
9060 * sysdeps/x86_64/preconfigure.in: Moved to ...
9061 * sysdeps/x86_64/preconfigure.ac: ... here.
9062 * aclocal.m4: Change reference to configure.in to configure.ac.
9063 * config.h.in: Likewise.
9064 * manual/install.texi: Likewise.
9065 * manual/maint.texi: Likewise.
9066 * Makefile: Likewise.
9067 * malloc/Makefile: Likewise.
9068 * nscd/Makefile: Likewise.
9069 * Makeconfig: Change reference to configure.in and
9070 preconfigure.in to configure.ac and preconfigure.ac
9072 * INSTALL: Regenerated.
9073 * configure: Likewise.
9074 * sysdeps/gnu/configure: Likewise.
9075 * sysdeps/i386/configure: Likewise.
9076 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9077 * sysdeps/mach/configure: Likewise.
9078 * sysdeps/mach/hurd/configure: Likewise.
9079 * sysdeps/powerpc/configure: Likewise.
9080 * sysdeps/powerpc/powerpc32/configure: Likewise.
9081 * sysdeps/powerpc/powerpc64/configure: Likewise.
9082 * sysdeps/s390/s390-32/configure: Likewise.
9083 * sysdeps/s390/s390-64/configure: Likewise.
9084 * sysdeps/sh/configure: Likewise.
9085 * sysdeps/sparc/configure: Likewise.
9086 * sysdeps/unix/sysv/linux/configure: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9088 * sysdeps/x86_64/configure: Likewise.
9089 * sysdeps/x86_64/preconfigure: Likewise.
9091 2013-10-29 Andreas Schwab <schwab@suse.de>
9093 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9095 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * benchtests/pow-inputs: Add new inputs.
9099 * benchtests/exp-inputs: Add new inputs.
9101 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9102 conditional check for return value.
9103 (__cos32): Likewise.
9105 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9107 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9108 to provide a boost for large inputs with word alignment.
9109 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9110 implementation based on optimized PPC64 strcpy.
9111 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9112 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9113 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9114 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9116 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9119 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9121 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9124 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9125 * time/tst-strptime.c (day_tests): Add testcase.
9127 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9130 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9132 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9135 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9136 MAP_FAILED on error.
9138 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9141 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9142 heap for large requests.
9144 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9147 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9148 result if the result has no associated interface.
9149 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9150 interface for all 127.X.Y.Z addresses.
9152 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9154 * locale/iso-639.def: Add Ligurian (lij)
9156 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9159 * sunrpc/rpc_main.c: Document rpcgen -5.
9161 2013-10-19 Michael Stahl <mstahl@redhat.com>
9163 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9165 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9168 * posix/glob.c: Match only directories when trailing slash is present.
9169 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9170 (main): Add testcase.
9172 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9175 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9177 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9179 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9180 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9181 AUTH_DES and cindex for FIPS 140-2.
9182 (DES Encryption): Add cindex FIPS 46-3.
9184 * locale/locarchive.h (struct locarhandle): Add fname.
9185 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9186 if an optional argument was specified to --list-archive,
9188 * locale/programs/locarchive.c (show_archive_content): Take new
9189 argument fname and pass it via ah.fname to open_archive.
9190 * locale/programs/localedef.h: Update decl.
9191 (open_archive): If AH->fname is non-null, open that file
9192 rather than the default file name, and don't ignore ENOENT.
9193 (create_archive): Set AH.fname to NULL.
9194 (delete_locales_from_archive): Likewise.
9195 (add_locales_to_archive): Likewise.
9196 * locale/programs/locfile.c (write_all_categories): Likewise.
9198 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9199 Aldy Hernandez <aldyh@redhat.com>
9201 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9202 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9203 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9204 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9205 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9207 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9209 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9210 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9211 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9212 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9213 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9214 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9219 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9223 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9224 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9226 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9227 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9228 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9229 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9231 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9233 * sysdeps/powerpc/preconfigure: Likewise.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9236 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9237 Replace contents of file by #include of <fenv_libc.h>.
9238 * sysdeps/powerpc/soft-fp/sfp-machine.h
9239 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9241 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9254 Allow copysignl PLT reference to be missing.
9256 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9257 Joseph Myers <joseph@codesourcery.com
9260 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9262 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9264 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9266 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9267 * elf/tst-tls1.c: Likewise.
9268 * elf/tst-tls10.h: Likewise.
9269 * elf/tst-tls14.c: Likewise.
9270 * elf/tst-tls2.c: Likewise.
9271 * elf/tst-tls3.c: Likewise.
9272 * elf/tst-tls4.c: Likewise.
9273 * elf/tst-tls5.c: Likewise.
9274 * elf/tst-tls6.c: Likewise.
9275 * elf/tst-tls7.c: Likewise.
9276 * elf/tst-tls8.c: Likewise.
9277 * elf/tst-tls9.c: Likewise.
9278 * elf/tst-tlsmod1.c: Likewise.
9279 * elf/tst-tlsmod13.c: Likewise.
9280 * elf/tst-tlsmod13a.c: Likewise.
9281 * elf/tst-tlsmod14a.c: Likewise.
9282 * elf/tst-tlsmod16a.c: Likewise.
9283 * elf/tst-tlsmod16b.c: Likewise.
9284 * elf/tst-tlsmod2.c: Likewise.
9285 * elf/tst-tlsmod3.c: Likewise.
9286 * elf/tst-tlsmod4.c: Likewise.
9287 * elf/tst-tlsmod5.c: Likewise.
9288 * elf/tst-tlsmod6.c: Likewise.
9290 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9293 * malloc/malloc.c: remove checks for statistics.
9295 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9298 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9299 * inet/tst-network.c: Add testcase.
9301 2013-10-17 Andreas Schwab <schwab@suse.de>
9304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9305 to determine canonical name.
9307 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9309 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9310 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9333 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9334 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9368 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9371 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9372 make result into a quiet NaN.
9374 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9376 * soft-fp/adddf3.c: Fix horizontal whitespace.
9377 * soft-fp/addsf3.c: Likewise.
9378 * soft-fp/addtf3.c: Likewise.
9379 * soft-fp/divdf3.c: Likewise.
9380 * soft-fp/divsf3.c: Likewise.
9381 * soft-fp/divtf3.c: Likewise.
9382 * soft-fp/double.h: Likewise.
9383 * soft-fp/eqdf2.c: Likewise.
9384 * soft-fp/eqsf2.c: Likewise.
9385 * soft-fp/eqtf2.c: Likewise.
9386 * soft-fp/extenddftf2.c: Likewise.
9387 * soft-fp/extended.h: Likewise.
9388 * soft-fp/extendsfdf2.c: Likewise.
9389 * soft-fp/extendsftf2.c: Likewise.
9390 * soft-fp/extendxftf2.c: Likewise.
9391 * soft-fp/fixdfdi.c: Likewise.
9392 * soft-fp/fixdfsi.c: Likewise.
9393 * soft-fp/fixdfti.c: Likewise.
9394 * soft-fp/fixsfdi.c: Likewise.
9395 * soft-fp/fixsfsi.c: Likewise.
9396 * soft-fp/fixsfti.c: Likewise.
9397 * soft-fp/fixtfdi.c: Likewise.
9398 * soft-fp/fixtfsi.c: Likewise.
9399 * soft-fp/fixtfti.c: Likewise.
9400 * soft-fp/fixunsdfdi.c: Likewise.
9401 * soft-fp/fixunsdfsi.c: Likewise.
9402 * soft-fp/fixunsdfti.c: Likewise.
9403 * soft-fp/fixunssfdi.c: Likewise.
9404 * soft-fp/fixunssfsi.c: Likewise.
9405 * soft-fp/fixunssfti.c: Likewise.
9406 * soft-fp/fixunstfdi.c: Likewise.
9407 * soft-fp/fixunstfsi.c: Likewise.
9408 * soft-fp/fixunstfti.c: Likewise.
9409 * soft-fp/floatdidf.c: Likewise.
9410 * soft-fp/floatdisf.c: Likewise.
9411 * soft-fp/floatditf.c: Likewise.
9412 * soft-fp/floatsidf.c: Likewise.
9413 * soft-fp/floatsisf.c: Likewise.
9414 * soft-fp/floatsitf.c: Likewise.
9415 * soft-fp/floattidf.c: Likewise.
9416 * soft-fp/floattisf.c: Likewise.
9417 * soft-fp/floattitf.c: Likewise.
9418 * soft-fp/floatundidf.c: Likewise.
9419 * soft-fp/floatundisf.c: Likewise.
9420 * soft-fp/floatunditf.c: Likewise.
9421 * soft-fp/floatunsidf.c: Likewise.
9422 * soft-fp/floatunsisf.c: Likewise.
9423 * soft-fp/floatunsitf.c: Likewise.
9424 * soft-fp/floatuntidf.c: Likewise.
9425 * soft-fp/floatuntisf.c: Likewise.
9426 * soft-fp/floatuntitf.c: Likewise.
9427 * soft-fp/fmadf4.c: Likewise.
9428 * soft-fp/fmasf4.c: Likewise.
9429 * soft-fp/fmatf4.c: Likewise.
9430 * soft-fp/gedf2.c: Likewise.
9431 * soft-fp/gesf2.c: Likewise.
9432 * soft-fp/getf2.c: Likewise.
9433 * soft-fp/ledf2.c: Likewise.
9434 * soft-fp/lesf2.c: Likewise.
9435 * soft-fp/letf2.c: Likewise.
9436 * soft-fp/muldf3.c: Likewise.
9437 * soft-fp/mulsf3.c: Likewise.
9438 * soft-fp/multf3.c: Likewise.
9439 * soft-fp/negdf2.c: Likewise.
9440 * soft-fp/negsf2.c: Likewise.
9441 * soft-fp/negtf2.c: Likewise.
9442 * soft-fp/op-1.h: Likewise.
9443 * soft-fp/op-2.h: Likewise.
9444 * soft-fp/op-4.h: Likewise.
9445 * soft-fp/op-8.h: Likewise.
9446 * soft-fp/op-common.h: Likewise.
9447 * soft-fp/quad.h: Likewise.
9448 * soft-fp/single.h: Likewise.
9449 * soft-fp/soft-fp.h: Likewise.
9450 * soft-fp/sqrtdf2.c: Likewise.
9451 * soft-fp/sqrtsf2.c: Likewise.
9452 * soft-fp/sqrttf2.c: Likewise.
9453 * soft-fp/subdf3.c: Likewise.
9454 * soft-fp/subsf3.c: Likewise.
9455 * soft-fp/subtf3.c: Likewise.
9456 * soft-fp/truncdfsf2.c: Likewise.
9457 * soft-fp/trunctfdf2.c: Likewise.
9458 * soft-fp/trunctfsf2.c: Likewise.
9459 * soft-fp/trunctfxf2.c: Likewise.
9460 * soft-fp/unorddf2.c: Likewise.
9461 * soft-fp/unordsf2.c: Likewise.
9462 * soft-fp/unordtf2.c: Likewise.
9464 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9466 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9467 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9469 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9471 * elf/dl-libc.c: Clear initfini list after freeing.
9473 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9475 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9476 * soft-fp/addsf3.c: Likewise.
9477 * soft-fp/addtf3.c: Likewise.
9478 * soft-fp/divdf3.c: Likewise.
9479 * soft-fp/divsf3.c: Likewise.
9480 * soft-fp/divtf3.c: Likewise.
9481 * soft-fp/double.h: Likewise.
9482 * soft-fp/eqdf2.c: Likewise.
9483 * soft-fp/eqsf2.c: Likewise.
9484 * soft-fp/eqtf2.c: Likewise.
9485 * soft-fp/extenddftf2.c: Likewise.
9486 * soft-fp/extended.h: Likewise.
9487 * soft-fp/extendsfdf2.c: Likewise.
9488 * soft-fp/extendsftf2.c: Likewise.
9489 * soft-fp/extendxftf2.c: Likewise.
9490 * soft-fp/fixdfdi.c: Likewise.
9491 * soft-fp/fixdfsi.c: Likewise.
9492 * soft-fp/fixdfti.c: Likewise.
9493 * soft-fp/fixsfdi.c: Likewise.
9494 * soft-fp/fixsfsi.c: Likewise.
9495 * soft-fp/fixsfti.c: Likewise.
9496 * soft-fp/fixtfdi.c: Likewise.
9497 * soft-fp/fixtfsi.c: Likewise.
9498 * soft-fp/fixtfti.c: Likewise.
9499 * soft-fp/fixunsdfdi.c: Likewise.
9500 * soft-fp/fixunsdfsi.c: Likewise.
9501 * soft-fp/fixunsdfti.c: Likewise.
9502 * soft-fp/fixunssfdi.c: Likewise.
9503 * soft-fp/fixunssfsi.c: Likewise.
9504 * soft-fp/fixunssfti.c: Likewise.
9505 * soft-fp/fixunstfdi.c: Likewise.
9506 * soft-fp/fixunstfsi.c: Likewise.
9507 * soft-fp/fixunstfti.c: Likewise.
9508 * soft-fp/floatdidf.c: Likewise.
9509 * soft-fp/floatdisf.c: Likewise.
9510 * soft-fp/floatditf.c: Likewise.
9511 * soft-fp/floatsidf.c: Likewise.
9512 * soft-fp/floatsisf.c: Likewise.
9513 * soft-fp/floatsitf.c: Likewise.
9514 * soft-fp/floattidf.c: Likewise.
9515 * soft-fp/floattisf.c: Likewise.
9516 * soft-fp/floattitf.c: Likewise.
9517 * soft-fp/floatundidf.c: Likewise.
9518 * soft-fp/floatundisf.c: Likewise.
9519 * soft-fp/floatunsidf.c: Likewise.
9520 * soft-fp/floatunsisf.c: Likewise.
9521 * soft-fp/floatuntidf.c: Likewise.
9522 * soft-fp/floatuntisf.c: Likewise.
9523 * soft-fp/floatuntitf.c: Likewise.
9524 * soft-fp/fmadf4.c: Likewise.
9525 * soft-fp/fmasf4.c: Likewise.
9526 * soft-fp/fmatf4.c: Likewise.
9527 * soft-fp/gedf2.c: Likewise.
9528 * soft-fp/gesf2.c: Likewise.
9529 * soft-fp/getf2.c: Likewise.
9530 * soft-fp/ledf2.c: Likewise.
9531 * soft-fp/lesf2.c: Likewise.
9532 * soft-fp/letf2.c: Likewise.
9533 * soft-fp/muldf3.c: Likewise.
9534 * soft-fp/mulsf3.c: Likewise.
9535 * soft-fp/multf3.c: Likewise.
9536 * soft-fp/negdf2.c: Likewise.
9537 * soft-fp/negsf2.c: Likewise.
9538 * soft-fp/negtf2.c: Likewise.
9539 * soft-fp/op-1.h: Likewise.
9540 * soft-fp/op-2.h: Likewise.
9541 * soft-fp/op-4.h: Likewise.
9542 * soft-fp/op-8.h: Likewise.
9543 * soft-fp/op-common.h: Likewise.
9544 * soft-fp/quad.h: Likewise.
9545 * soft-fp/single.h: Likewise.
9546 * soft-fp/soft-fp.h: Likewise.
9547 * soft-fp/sqrtdf2.c: Likewise.
9548 * soft-fp/sqrtsf2.c: Likewise.
9549 * soft-fp/sqrttf2.c: Likewise.
9550 * soft-fp/subdf3.c: Likewise.
9551 * soft-fp/subsf3.c: Likewise.
9552 * soft-fp/subtf3.c: Likewise.
9553 * soft-fp/truncdfsf2.c: Likewise.
9554 * soft-fp/trunctfdf2.c: Likewise.
9555 * soft-fp/trunctfsf2.c: Likewise.
9556 * soft-fp/trunctfxf2.c: Likewise.
9557 * soft-fp/unorddf2.c: Likewise.
9558 * soft-fp/unordsf2.c: Likewise.
9559 * soft-fp/unordtf2.c: Likewise.
9561 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9564 * misc/error.c (error_tail): Fix possible buffer overflow.
9566 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9569 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9572 2013-10-14 P. J. McDermott <pj@pehjota.net>
9575 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9576 testing pipefail option.
9578 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9580 * soft-fp/double.h: Indent preprocessor directives inside #if.
9581 * soft-fp/extended.h: Likewise.
9582 * soft-fp/op-2.h: Likewise.
9583 * soft-fp/op-4.h: Likewise.
9584 * soft-fp/op-common.h: Likewise.
9585 * soft-fp/quad.h: Likewise.
9586 * soft-fp/single.h: Likewise.
9587 * soft-fp/soft-fp.h: Likewise.
9589 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9591 * iconv/iconv_prog.c: Fix typos.
9592 * stdio-common/psiginfo-data.h: Likewise.
9594 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9597 * locale/setlocale.c: Fix typo.
9599 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9602 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9603 signaling NaN arguments.
9604 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9605 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9608 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9610 * soft-fp/gesf2.c (__gesf2): Likewise.
9611 * soft-fp/getf2.c (__getf2): Likewise.
9612 * soft-fp/ledf2.c (__ledf2): Likewise.
9613 * soft-fp/lesf2.c (__lesf2): Likewise.
9614 * soft-fp/letf2.c (__letf2): Likewise.
9616 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9617 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9618 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9619 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9620 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9621 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9622 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9623 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9624 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9625 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9626 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9627 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9628 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9629 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9630 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9631 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9632 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9633 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9634 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9635 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9636 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9637 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9638 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9639 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9640 * soft-fp/floattidf.c (__floattidf): Likewise.
9641 * soft-fp/floattisf.c (__floattisf): Likewise.
9642 * soft-fp/floattitf.c (__floattitf): Likewise.
9643 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9644 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9645 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9646 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9647 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9648 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9649 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9650 * soft-fp/gesf2.c (__gesf2): Likewise.
9651 * soft-fp/getf2.c (__getf2): Likewise.
9652 * soft-fp/ledf2.c (__ledf2): Likewise.
9653 * soft-fp/lesf2.c (__lesf2): Likewise.
9654 * soft-fp/letf2.c (__letf2): Likewise.
9656 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9657 Undefine and redefine.
9658 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9659 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9660 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9661 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9662 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9663 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9664 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9665 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9666 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9667 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9668 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9669 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9670 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9671 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9672 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9675 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9676 without decrementing exponent if mantissa >= that for the
9678 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9679 denominator, not >. Decrement exponent in < case instead of
9680 incrementing in >= case.
9681 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9682 without decrementing exponent if mantissa >= that for the
9685 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9686 computing saturated result for unsigned overflow.
9688 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9689 Jeff Law <law@redhat.com>
9691 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9692 (atan2Mp): Add systemtap probe marker.
9693 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9694 (__ieee754_log): Add systemtap probe marker.
9695 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9696 (atanMp): Add systemtap probe marker.
9697 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9698 (tanMp): Add systemtap probe marker.
9699 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9700 (__slowexp): Add systemtap probe marker.
9701 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9702 (__slowpow): Add systemtap probe marker.
9703 * manual/probes.texi: Document probes.
9705 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9708 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9710 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9712 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9713 written to buffer but not flushed.
9714 * libio/iofwrite_u.c: Likewise.
9715 * libio/iopadn.c: Return bytes returned even if EOF was
9717 * libio/iowpadn.c: Likewise.
9718 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9719 if _IO_padn does not write the whole buffer.
9720 [!COMPILE_WPRINTF] (PAD): Likewise.
9722 2013-10-10 David S. Miller <davem@davemloft.net>
9724 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9727 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9729 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9730 instead of FSF address.
9731 * soft-fp/fixdfti.c: Likewise.
9732 * soft-fp/fixsfti.c: Likewise.
9733 * soft-fp/fixtfti.c: Likewise.
9734 * soft-fp/fixunsdfti.c: Likewise.
9735 * soft-fp/fixunssfti.c: Likewise.
9736 * soft-fp/fixunstfti.c: Likewise.
9737 * soft-fp/floattidf.c: Likewise.
9738 * soft-fp/floattisf.c: Likewise.
9739 * soft-fp/floattitf.c: Likewise.
9740 * soft-fp/floatuntidf.c: Likewise.
9741 * soft-fp/floatuntisf.c: Likewise.
9742 * soft-fp/floatuntitf.c: Likewise.
9743 * soft-fp/trunctfxf2.c: Likewise.
9745 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9746 * soft-fp/fixdfti.c: Likewise.
9747 * soft-fp/fixsfti.c: Likewise.
9748 * soft-fp/fixtfti.c: Likewise.
9749 * soft-fp/fixunsdfti.c: Likewise.
9750 * soft-fp/fixunssfti.c: Likewise.
9751 * soft-fp/fixunstfti.c: Likewise.
9752 * soft-fp/floattidf.c: Likewise.
9753 * soft-fp/floattisf.c: Likewise.
9754 * soft-fp/floattitf.c: Likewise.
9755 * soft-fp/floatuntidf.c: Likewise.
9756 * soft-fp/floatuntisf.c: Likewise.
9757 * soft-fp/floatuntitf.c: Likewise.
9758 * soft-fp/trunctfxf2.c: Likewise.
9760 2013-10-10 David S. Miller <davem@davemloft.net>
9762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9764 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9766 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9767 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9768 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9775 for NaNs before doing comparisons on argument.
9776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9779 2013-10-10 Will Newton <will.newton@linaro.org>
9781 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9782 passed to _int_memalign does not overflow.
9784 2013-10-10 Torvald Riegel <triegel@redhat.com>
9786 * scripts/bench.pl: Add include-sources directive.
9787 * benchtests/README: Update documentation.
9789 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9791 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9792 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9793 instead of FP_INIT_ROUNDMODE.
9794 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9795 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9798 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9799 copy class of input value.
9800 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9801 not handle exceptions.
9802 * soft-fp/negsf2.c (__negsf2): Likewise.
9803 * soft-fp/negtf2.c (__negtf2): Likewise.
9804 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9806 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9808 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9809 semicolon. From Linux kernel.
9811 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9813 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9815 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9818 * manual/socket.texi: Added statement about buffer
9819 for gethostbyname2_r.
9821 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9823 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9824 Use .p2align directive instead, throughout.
9825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9826 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9827 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9830 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9831 * sysdeps/x86_64/strchr.S: Likewise.
9832 * sysdeps/x86_64/strrchr.S: Likewise.
9834 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9836 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9838 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9840 * sysdeps/generic/math_private.h (__mpsin1): Remove
9842 (__mpcos1): Likewise.
9843 (__mpsin): New argument __range_reduce.
9844 (__mpcos): Likewise.
9845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9846 (slow): Use __mpsin and __mpcos.
9853 (bsloww1): Likewise.
9854 (bsloww2): Likewise.
9857 (csloww1): Likewise.
9858 (csloww2): Likewise.
9859 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9860 range_reduce. Merge in __mpsin1.
9861 (__mpcos): Likewise.
9863 (__mpcos1): Likewise.
9865 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9867 * locale/loadlocale.c (_nl_intern_locale_data): Use
9869 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9870 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9871 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9872 obstack data is appropriately aligned.
9873 (obstack_int32_grow_fast): Likewise.
9874 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9875 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9876 (add_locale_uint32_array): Likewise.
9878 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * benchtests/Makefile: Remove ARGLIST and RET variables.
9881 ($(objpfx)bench-%.c): Pass only function name to the script.
9882 * benchtests/README: Update documentation.
9883 * benchtests/acos-inputs: Add new directives.
9884 * benchtests/acosh-inputs: Likewise.
9885 * benchtests/asin-inputs: Likewise.
9886 * benchtests/asinh-inputs: Likewise.
9887 * benchtests/atan-inputs: Likewise.
9888 * benchtests/atanh-inputs: Likewise.
9889 * benchtests/cos-inputs: Likewise.
9890 * benchtests/cosh-inputs: Likewise.
9891 * benchtests/exp-inputs: Likewise.
9892 * benchtests/log-inputs: Likewise.
9893 * benchtests/pow-inputs: Likewise.
9894 * benchtests/rint-inputs: Likewise.
9895 * benchtests/sin-inputs: Likewise.
9896 * benchtests/sinh-inputs: Likewise.
9897 * benchtests/tan-inputs: Likewise.
9898 * benchtests/tanh-inputs: Likewise.
9899 * scripts/bench.pl: Add support for new directives.
9901 2013-10-07 Alan Modra <amodra@gmail.com>
9903 * README: Fix careless merge.
9905 2013-10-05 Alan Modra <amodra@gmail.com>
9907 * NEWS: Mention powerpc64le support and bugs fixed.
9908 * README: Both big-endian and little-endian powerpc64 supported.
9910 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9912 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9913 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9914 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9915 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9917 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9919 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9922 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9924 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9925 Move -mhard-float appending from
9926 ports/sysdeps/powerpc/powerpc32/Makefile.
9927 [$(with-fp) = yes] (ASFLAGS): Likewise.
9928 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9929 * sysdeps/powerpc/nofpu: Move directory from
9930 ports/sysdeps/powerpc/nofpu.
9931 * sysdeps/powerpc/soft-fp: Move directory from
9932 ports/sysdeps/powerpc/soft-fp.
9933 * sysdeps/powerpc/powerpc32/405: Move directory from
9934 ports/sysdeps/powerpc/powerpc32/405.
9935 * sysdeps/powerpc/powerpc32/440: Move directory from
9936 ports/sysdeps/powerpc/powerpc32/440.
9937 * sysdeps/powerpc/powerpc32/464: Move directory from
9938 ports/sysdeps/powerpc/powerpc32/464.
9939 * sysdeps/powerpc/powerpc32/476: Move directory from
9940 ports/sysdeps/powerpc/powerpc32/476.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9951 * README: Update for powerpc-*-linux-gnu software floating point
9954 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9955 case to powerpc/powerpc32*.
9956 * sysdeps/unix/sysv/linux/configure: Regenerated.
9958 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9959 (_FPU_MASK_OM): Define as 0x04.
9960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9968 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9971 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9975 and setcontext_e500.
9977 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9979 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9981 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9983 * manual/threads.texi (Default Thread Attributes): Fix typo.
9985 2013-10-04 Will Newton <will.newton@linaro.org>
9987 * malloc/Makefile: Add tst-memalign.
9988 * malloc/tst-memalign.c: New file.
9990 * malloc/tst-posix_memalign.c: Add comments.
9991 (do_test): Add comments and call free on all potentially
9992 allocated pointers. Add space after cast.
9994 * malloc/tst-pvalloc.c: Add comments.
9995 (do_test): Add comments and call free on all potentially
9996 allocated pointers. Remove duplicate check for NULL pointer.
9997 Add space after cast.
9999 * malloc/tst-valloc.c: Add comments.
10000 (do_test): Add comments and call free on all potentially
10001 allocated pointers. Remove duplicate check for NULL pointer.
10002 Add space after cast.
10004 2013-10-04 Alan Modra <amodra@gmail.com>
10006 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10007 Use stdint types in rather than __attribute__((mode())).
10008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10010 2013-10-04 Alan Modra <amodra@gmail.com>
10012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10013 Correct handling of unaligned relocs for little-endian.
10014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10016 2013-10-04 Alan Modra <amodra@gmail.com>
10018 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10019 * configure: Regenerate.
10020 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10021 * shlib-versions: Likewise.
10023 2013-10-04 Alan Modra <amodra@gmail.com>
10025 * string/tester.c (test_memrchr): Increment reported test cycle.
10027 2013-10-04 Alan Modra <amodra@gmail.com>
10029 * string/test-memcpy.c (do_one_test): When reporting errors, print
10030 string address and don't overrun end of string.
10032 2013-10-04 Alan Modra <amodra@gmail.com>
10034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10035 insrdi. Make better use of reg selection to speed exit slightly.
10036 Schedule entry path a little better. Remove useless "are we done"
10037 checks on entry to main loop. Handle wrapping around zero address.
10038 Correct main loop count. Handle single left-over word from main
10039 loop inline rather than by using loop_small. Remove extra word
10040 case in loop_small caused by wrong loop count. Add little-endian
10042 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10043 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10047 support. Avoid rlwimi.
10048 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10050 2013-10-04 Alan Modra <amodra@gmail.com>
10052 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10053 insrdi. Formatting.
10054 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10055 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10056 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10057 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10058 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10061 2013-10-04 Alan Modra <amodra@gmail.com>
10063 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10065 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10067 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10068 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10072 use of regs. Use power7 mtocrf. Tidy function tails.
10074 2013-10-04 Alan Modra <amodra@gmail.com>
10076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10077 Formatting. Consistently use rXXX register defines or rN defines.
10078 Use early exit labels that avoid restoring unused non-volatile regs.
10079 Make cr field use more consistent with rWORDn compares. Rename
10080 regs used as shift registers for unaligned loop, using rN defines
10081 for short lifetime/multiple use regs.
10082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10084 addi 1,1,64 to pop stack frame. Simplify return value code.
10085 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10087 2013-10-04 Alan Modra <amodra@gmail.com>
10089 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10090 support. Correct typos, formatting. Optimize tail. Use insrdi
10091 rather than rlwimi.
10092 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10093 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10094 little-endian support. Correct typos.
10095 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10096 rather than rlwimi.
10097 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10098 in loop and entry code to keep "and." results.
10099 (strchr): Add little-endian support. Comment. Move cntlzd
10101 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10103 2013-10-04 Alan Modra <amodra@gmail.com>
10105 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10106 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10107 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10108 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10110 2013-10-04 Alan Modra <amodra@gmail.com>
10112 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10113 (rTMP): Define as r11.
10114 (strcmp): Add little-endian support. Optimise tail.
10115 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10116 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10117 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10123 2013-10-04 Alan Modra <amodra@gmail.com>
10125 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10126 little-endian support. Remove unnecessary "are we done" tests.
10127 Handle "s" wrapping around zero and extremely large "size".
10128 Correct main loop count. Handle single left-over word from main
10129 loop inline rather than by using small_loop. Correct comments.
10130 Delete "zero" tail, use "end_max" instead.
10131 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10133 2013-10-04 Alan Modra <amodra@gmail.com>
10135 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10136 support. Don't branch over align.
10137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10138 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10139 support. Rearrange tmp reg use to suit. Comment.
10140 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10142 2013-10-04 Alan Modra <amodra@gmail.com>
10144 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10146 2013-10-04 Alan Modra <amodra@gmail.com>
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10149 conditional form of branch and link when obtaining pc.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10152 2013-10-04 Alan Modra <amodra@gmail.com>
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10159 2013-10-04 Alan Modra <amodra@gmail.com>
10161 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10162 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10163 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10164 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10165 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10167 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10169 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10170 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10172 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10173 Alistair Popple <alistair@ozlabs.au.ibm.com>
10174 Alan Modra <amodra@gmail.com>
10177 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10179 _dl_hwcap access for little-endian.
10180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10181 destroy vmx regs when saving unaligned.
10182 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10183 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10184 destroy vmx regs when saving unaligned.
10186 2013-10-04 Alan Modra <amodra@gmail.com>
10188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10189 Don't use a union to pack hi/low value.
10191 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10193 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10195 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10197 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10198 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10199 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10201 2013-10-04 Alan Modra <amodra@gmail.com>
10203 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10204 constants to usual value for .cst8 section, and remove redundant
10206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10207 constant for 0x1p52. Load little-endian words of double from
10208 correct stack offsets.
10210 2013-10-04 Alan Modra <amodra@gmail.com>
10212 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10213 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10214 words of double from correct stack offsets.
10215 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10216 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10218 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10222 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10224 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10225 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10226 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10228 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10229 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10230 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10231 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10233 2013-10-04 Alan Modra <amodra@gmail.com>
10235 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10236 64-bit int/double union.
10237 (_FPU_SETCW): Likewise.
10238 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10239 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10241 2013-10-04 Alan Modra <amodra@gmail.com>
10243 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10244 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10246 2013-10-04 Alan Modra <amodra@gmail.com>
10248 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10249 use vector int constants.
10250 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10252 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10254 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10255 array with long long.
10256 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10257 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10258 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10259 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10260 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10261 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10262 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10263 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10264 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10265 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10266 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10267 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10270 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10272 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10273 (__signbit): Likewise. Correct for little-endian.
10274 (__signbitl): Call __signbit.
10275 (lrint): Correct for little-endian.
10276 (lrintf): Call lrint.
10278 2013-10-04 Alan Modra <amodra@gmail.com>
10280 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10281 union 32-bit int array member with 64-bit int array.
10282 (t515, tm256): Double rather than long double.
10283 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10285 2013-10-04 Alan Modra <amodra@gmail.com>
10287 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10289 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10291 version of math_ldbl.h.
10293 2013-10-04 Alan Modra <amodra@gmail.com>
10295 [BZ #15734], [BZ #15735]
10296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10297 all uses of ieee875 long double macros and unions. Simplify test
10298 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10299 ldbl_extract_mantissa value for ix,iy exponents. Properly
10300 normalize after ldbl_extract_mantissa, and don't add hidden bit
10301 already handled. Don't treat low word of ieee854 mantissa like
10302 low word of IBM long double and mask off bit when testing for
10304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10305 all uses of ieee875 long double macros and unions. Simplify tests
10306 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10307 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10308 two1022, instead use their values. Recognise that tests for large
10309 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10311 Rewrite all uses of ieee875 long double macros and unions. Simplify
10312 test for 0.0L and nan. Correct negation.
10313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10314 ieee875 long double macros and unions. Correct output for large
10315 magnitude x. Correct absolute value calculation.
10316 (__erfcl): Likewise.
10317 * math/libm-test.inc: Add tests for errors discovered in IBM long
10318 double versions of fmodl, remainderl, erfl and erfcl.
10320 2013-10-04 Alan Modra <amodra@gmail.com>
10322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10323 all uses of ieee854 long double macros and unions. Simplify tests
10324 for long doubles that are fully specified by the high double.
10325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10327 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10328 Remove dead code too.
10329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10330 (__ieee754_ynl): Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10334 Remove dead code too.
10335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10345 Comment on variable precision.
10346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10353 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10355 2013-10-04 Alan Modra <amodra@gmail.com>
10357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10359 all uses of ieee854 long double macros and unions.
10360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10365 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10373 Simplify sign and nan test too.
10374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10380 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10383 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10384 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10386 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10389 2013-10-04 Alan Modra <amodra@gmail.com>
10391 * stdio-common/printf_size.c (__printf_size): Don't use
10392 union ieee854_long_double in fpnum union.
10393 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10394 signbit macro to retrieve sign from long double.
10395 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10396 retrieve sign from long double.
10397 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10398 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10399 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10400 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10401 * math/test-misc.c (main): Don't use union ieee854_long_double.
10403 2013-10-04 Alan Modra <amodra@gmail.com>
10406 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10407 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10408 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10409 calculation. Remove unnecessary test for denormal exponent.
10410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10411 Correct handling of denormals. Avoid undefined shift behaviour.
10412 Correct normalisation of low mantissa when low double is denormal.
10413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10414 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10415 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10416 Correct normalisation of low mantissa. Test for overflow of high
10417 mantissa and normalise.
10418 (ldbl_nearbyint): Use more readable constant for two52.
10419 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10420 (__mpn_construct_long_double): Fix test for overflow of high
10421 mantissa and correct normalisation. Avoid undefined shift.
10423 2013-10-04 Alan Modra <amodra@gmail.com>
10425 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10426 (union ibm_extended_long_double): Define as an array of ieee754_double.
10427 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10428 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10429 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10430 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10439 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10441 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10442 page size instead of calling getpagesize.
10444 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10445 (LOCFILE_ALIGN_MASK): Likewise.
10446 (LOCFILE_ALIGN_UP): Likewise.
10447 (LOCFILE_ALIGNED_P): Likewise.
10448 * locale/programs/ld-collate.c (collate_output): Use the new
10449 macros instead of __alignof__ (int32_t).
10450 * locale/weight.h (findidx): Likewise.
10452 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10455 * manual/string.texi: Fix strncat and wcsncat.
10457 2013-10-03 Brooks Moses <bmoses@google.com>
10460 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10461 * Makerules: ...here, and adjust associated comments.
10463 2013-10-02 Will Newton <will.newton@linaro.org>
10465 * malloc/Makefile: Add tst-pvalloc.
10466 * malloc/tst-pvalloc.c: New file.
10468 2013-10-02 Will Newton <will.newton@linaro.org>
10470 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10471 improve test coverage.
10473 2013-10-02 Will Newton <will.newton@linaro.org>
10475 * malloc/Makefile: Add tst-posix_memalign.
10476 * malloc/tst-posix_memalign.c: New file.
10478 2013-10-01 Eric Blake <eblake@redhat.com>
10480 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10481 Use __THROWNL rather than __THROW on static functions.
10483 2013-09-30 Petr Machata <pmachata@redhat.com>
10485 * elf/elf.h (R_AARCH64_ABS16): New macro.
10486 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10487 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10488 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10489 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10490 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10491 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10492 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10493 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10494 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10495 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10496 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10497 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10498 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10499 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10500 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10501 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10502 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10503 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10504 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10505 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10506 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10507 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10508 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10509 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10510 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10511 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10512 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10513 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10514 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10515 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10516 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10517 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10518 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10519 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10520 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10521 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10522 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10523 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10524 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10525 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10526 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10527 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10528 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10529 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10530 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10531 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10532 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10533 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10534 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10535 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10536 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10537 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10538 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10539 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10540 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10541 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10542 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10543 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10544 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10545 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10546 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10547 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10548 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10549 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10550 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10551 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10552 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10553 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10554 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10555 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10556 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10557 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10558 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10559 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10560 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10561 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10562 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10563 (R_AARCH64_TLSDESC_LDR): Likewise.
10564 (R_AARCH64_TLSDESC_ADD): Likewise.
10565 (R_AARCH64_TLSDESC_CALL): Likewise.
10567 2013-09-30 Andreas Schwab <schwab@suse.de>
10570 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10571 the nss database lookup.
10572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10575 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10577 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10579 2013-09-28 P. J. McDermott <pj@pehjota.net>
10581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10582 ${Bash-specific parameter/pattern/string} parameter expansion.
10583 * sysdeps/unix/make-syscalls.sh: Likewise.
10585 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10587 * sysdeps/sh/stackguard-macros.h: New file.
10589 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10593 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10596 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10598 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10600 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10601 Fix thread ID register.
10603 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10605 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10606 [POSIX || UNIX98]: Require rather than permitting all symbols from
10608 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10609 element of struct sched_param.
10610 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10611 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10612 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10613 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10616 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10618 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10619 argument calculation.
10621 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10623 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10625 [POSIX] (pthread_attr_t): Do not require type.
10626 [POSIX] (pthread_cond_t): Likewise.
10627 [POSIX] (pthread_condattr_t): Likewise.
10628 [POSIX] (pthread_key_t): Likewise.
10629 [POSIX] (pthread_mutex_t): Likewise.
10630 [POSIX] (pthread_mutexattr_t): Likewise.
10631 [POSIX] (pthread_once_t): Likewise.
10632 [POSIX] (pthread_t): Likewise.
10633 [POSIX-based standards] (pthread_atfork): Expect function.
10635 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10636 Richard Sandiford <richard@codesourcery.com>
10638 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10639 (swap_endianness_p): New extern variable.
10640 (set_big_endian): New inline function.
10641 (maybe_swap_uint32): Likewise.
10642 (maybe_swap_uint32_array): Likewise.
10643 (maybe_swap_uint32_obstack): Likewise.
10644 * locale/programs/locfile.c: Include <stdbool.h>.
10645 (swap_endianness_p): New variable.
10646 (add_locale_uint32): Call maybe_swap_uint32.
10647 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10648 (write_locale_data): Call maybe_swap_uint32_array.
10649 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10651 (obstack_int32_grow_fast): Likewise.
10652 (output_weightwc): Call maybe_swap_uint32_obstack.
10653 (collate_output): Likewise.
10654 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10655 (OPT_LITTLE_ENDIAN): Likewise.
10656 (options): Add --little-endian and --big-endian options.
10657 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10658 * locale/programs/locarchive.c: Include "locfile.h".
10662 (create_archive): Use the new macros to access fields of
10663 structures directly mapped from or written to locale archives.
10664 (oldlocrecentcmp): Likewise.
10665 (enlarge_archive): Likewise.
10666 (insert_name): Likewise.
10667 (add_alias): Likewise.
10668 (add_locale): Likewise.
10669 (delete_locales_from_archive): Likewise.
10670 (show_archive_content): Likewise.
10671 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10674 2013-09-24 Roland McGrath <roland@hack.frob.com>
10676 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10677 http://www.gnu.org/doc/freemanuals.texi.
10678 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10680 2013-09-24 Will Newton <will.newton@linaro.org>
10682 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10685 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10687 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10690 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10692 * manual/threads.texi (POSIX Threads): Fix a typo.
10694 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10697 * string/tst-strcoll-overflow.c: New test case.
10698 * string/Makefile (xtests): Add tst-strcoll-overflow.
10699 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10700 cache if string sizes may cause integer overflow.
10703 * string/strcoll_l.c (coll_seq): New members rule, idx,
10704 save_idx and back_us.
10705 (get_next_seq_nocache): New function.
10706 (do_compare_nocache): New function.
10707 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10710 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10713 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10714 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10715 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10718 * elf/Makefile (tests): Add tst-ptrguard1.
10719 (tests-static): Add tst-ptrguard1-static.
10720 (tst-ptrguard1-ARGS): Define.
10721 (tst-ptrguard1-static-ARGS): Define.
10722 * elf/tst-ptrguard1.c: New file.
10723 * elf/tst-ptrguard1-static.c: New file.
10724 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10725 * sysdeps/i386/stackguard-macros.h: Likewise.
10726 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10727 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10728 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10729 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10730 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10731 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10733 2013-09-23 Hector Marco <hecmargi@upv.es>
10734 Ismael Ripoll <iripoll@disca.upv.es>
10735 Carlos O'Donell <carlos@redhat.com>
10738 * sysdeps/generic/stackguard-macros.h: Define
10739 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10740 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10741 Define __pointer_chk_guard_local.
10742 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10743 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10745 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10748 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10750 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10752 * include/string.h (__ffs): Declare as hidden.
10753 * string/ffs.c (__ffs): Define as hidden.
10754 * sysdeps/i386/ffs.c (__ffs): Likewise.
10755 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10756 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10757 * sysdeps/s390/ffs.c (__ffs): Likewise.
10758 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10760 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10762 * NEWS: Mention malloc probes.
10764 * malloc/arena.c (new_heap): New memory_heap_new probe.
10765 (grow_heap): New memory_heap_more probe.
10766 (shrink_heap): New memory_heap_less probe.
10767 (heap_trim): New memory_heap_free probe.
10768 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10769 (systrim): New memory_sbrk_less probe.
10770 * manual/probes.texi: Document them.
10772 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10773 * manual/probes.texi: Document it.
10775 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10776 (__libc_realloc): Add memory_realloc_retry probe.
10777 (__libc_memalign): Add memory_memalign_retry probe.
10778 (__libc_valloc): Add memory_valloc_retry probe.
10779 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10780 (__libc_calloc): Add memory_calloc_retry probe.
10781 * manual/probes.texi: Document them.
10783 * malloc/arena.c (get_free_list): Add probe
10784 memory_arena_reuse_free_list.
10785 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10786 and memory_arena_reuse.
10787 (arena_get2) [!PER_THREAD]: Likewise.
10788 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10789 memory_arena_reuse_realloc.
10790 * manual/probes.texi: Document them.
10792 * malloc/malloc.c (__libc_free): Add
10793 memory_mallopt_free_dyn_thresholds probe.
10794 (__libc_mallopt): Add multiple memory_mallopt probes.
10795 * manual/probes.texi: Document them.
10797 * malloc/malloc.c: Include stap-probe.h.
10798 (__libc_mallopt): Add memory_mallopt probe.
10799 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10800 * manual/probes.texi: New.
10801 * manual/Makefile (chapters): Add probes.
10802 * manual/threads.texi: Set next node.
10804 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10806 [BZ #15963, #13985]
10807 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10808 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10809 Add `Chinese' to `nan' entry name.
10811 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10813 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10814 (POLYNOMIAL): Likewise.
10815 (TAYLOR_SINCOS): Likewise.
10816 (TAYLOR_SLOW): Likewise.
10817 (__sin): Use TAYLOR_SINCOS.
10819 (slow): Use TAYLOR_SLOW.
10821 (bsloww): Likewise.
10822 (csloww): Likewise.
10824 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10826 * stdlib/strtod_l.c: Fix buffer overrun.
10828 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10830 * benchtests/Makefile (bench): Add sincos.
10831 * benchtests/bench-sincos.c: New file.
10833 * math/libm-test.inc (cos_test_data): New test inputs.
10834 (sin_test_data): Likewise.
10836 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10842 (sloww1): Likewise.
10843 (sloww2): Likewise.
10844 (bsloww1): Likewise.
10845 (bsloww2): Likewise.
10846 (cslow2): Likewise.
10847 (csloww1): Likewise.
10848 (csloww2): Likewise.
10850 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10855 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10859 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10861 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10862 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10863 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10864 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10865 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10866 * elf/cache.c (print_entry): Handle the new cache flags.
10868 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10869 Aldy Hernandez <aldyh@redhat.com>
10871 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10872 Change condition to [_SOFT_FLOAT].
10873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10885 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10888 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10891 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10893 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10894 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10895 (__longjmp): Use LOAD_GP to load saved GPRs.
10896 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10897 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10898 (__sigsetjmp): Use SAVE_GP to save GPRs.
10900 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10901 Do not append -msoft-float.
10902 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10904 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10906 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10908 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10911 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10912 (_FPU_GETCW): Use initial "__" on variable and field names but not
10913 on macro parameter name.
10914 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10915 parentheses around reference to macro parameter.
10917 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10919 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10921 (ctype_startup): Use uint32_t in cast and sizeof for
10924 2013-09-11 Jia Liu <proljc@gmail.com>
10926 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10928 [__FreeBSD__]: Likewise.
10930 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10933 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10934 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10935 (strchr): Remove __strchr_sse42 ifunc selection.
10936 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10937 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10939 2013-09-11 Will Newton <will.newton@linaro.org>
10941 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10942 parameter to RES. Remove hardcoded 1000 value.
10943 * benchtests/bench-skeleton.c (main): Pass RES parameter
10944 to TIMING_INIT and multiply result by 1000.
10946 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10950 2013-09-11 Andreas Schwab <schwab@suse.de>
10952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10954 (O_TMPFILE) [__USE_GNU]: Define.
10955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10958 2013-09-11 Will Newton <will.newton@linaro.org>
10961 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10964 2013-09-11 Will Newton <will.newton@linaro.org>
10967 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10970 2013-09-11 Will Newton <will.newton@linaro.org>
10973 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10976 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10978 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10984 2013-09-10 Allan McRae <allan@archlinux.org>
10987 * manual/arith.texi (Parsing of Floats): Clarify
10991 * manual/install.texi (Running make install): Mention
10993 * INSTALL: Regenerated.
10995 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10997 * csu/init-first.c (_init): Remove the !SHARED condition around
10998 FPU control word initialization.
10999 * elf/dl-support.c (_dl_fpu_control): New variable.
11000 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11001 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11002 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11003 * math/test-fpucw-static.c: New file.
11004 * math/test-fpucw-ieee.c: New file.
11005 * math/test-fpucw-ieee-static.c: New file.
11006 * math/Makefile (tests): Add `test-fpucw-ieee' and
11008 (tests-static): New variable.
11009 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11011 [($(build-shared),yes)]
11012 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11014 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11017 2013-09-09 Allan McRae <allan@archlinux.org>
11020 * manual/string.texi (Collation Functions): Fix typo in
11022 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11025 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11028 * libio/memstream.c (open_memstream): Fix memory leak.
11029 * libio/wmemstream.c (open_wmemstream): Likewise.
11032 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11034 2013-09-09 Will Newton <will.newton@linaro.org>
11036 * malloc/Makefile: Add tst-realloc to tests.
11037 * malloc/tst-realloc.c: New file.
11039 2013-09-09 Allan McRae <allan@archlinux.org>
11042 * COPYING: Update from GNU website to fix FSF address.
11043 * COPYING.LIB: Likewise.
11045 2013-09-06 David S. Miller <davem@davemloft.net>
11047 * po/zh_TW.po: Update Chinese (traditional) translation from
11048 translation project.
11050 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11051 Joseph Myers <joseph@codesourcery.com>
11053 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11055 (obstack_chunk_alloc): New macro.
11056 (obstack_chunk_free): Likewise.
11057 (record_offset): New function.
11058 (init_locale_data): Likewise.
11059 (align_locale_data): Likewise.
11060 (add_locale_empty): Likewise.
11061 (add_locale_raw_data): Likewise.
11062 (add_locale_raw_obstack): Likewise.
11063 (add_locale_string): Likewise.
11064 (add_locale_wstring): Likewise.
11065 (add_locale_uint32): Likewise.
11066 (add_locale_uint32_array): Likewise.
11067 (add_locale_char): Likewise.
11068 (start_locale_structure): Likewise.
11069 (end_locale_structure): Likewise.
11070 (start_locale_prelude): Likewise.
11071 (end_locale_prelude): Likewise.
11072 (write_locale_data): Take locale_file structure rather than an
11074 * locale/programs/locfile.h: Include "obstack.h".
11075 (struct locale_file): Change to store locale file contents instead
11077 (init_locale_data): New prototype.
11078 (align_locale_data): Likewise.
11079 (add_locale_empty): Likewise.
11080 (add_locale_raw_data): Likewise.
11081 (add_locale_raw_obstack): Likewise.
11082 (add_locale_string): Likewise.
11083 (add_locale_wstring): Likewise.
11084 (add_locale_uint32): Likewise.
11085 (add_locale_uint32_array): Likewise.
11086 (add_locale_char): Likewise.
11087 (start_locale_structure): Likewise.
11088 (end_locale_structure): Likewise.
11089 (start_locale_prelude): Likewise.
11090 (end_locale_prelude): Likewise.
11091 (write_locale_data): Update prototype.
11092 * locale/programs/3level.h (struct TABLE): Remove result field.
11093 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11094 Use new locale_file interface.
11095 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11096 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11097 * locale/programs/ld-address.c (address_output): Use new
11098 locale_file interface.
11099 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11101 (collate_finish): Don't call collseq_table_finalize.
11102 (collate_output): Use new locale_file interface.
11103 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11105 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11106 (TABLE): Move defines earlier in file.
11107 (ELEMENT): Likewise.
11108 (DEFAULT): Likewise.
11109 (wctrans_table_add): Move macro and inline function earlier in
11111 (struct wctype_table): Move type earlier in file.
11112 (add_locale_wctype_table): New static prototype.
11113 (struct locale_ctype_t): Use logical types instead of struct iovec
11114 pointers for members.
11115 (ctype_output): Use new locale_file interface.
11116 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11117 new locale_file interface.
11118 (allocate_arrays): Update for use of new locale_file interface.
11119 * locale/programs/ld-identification.c (identification_output): Use
11120 new locale_file interface.
11121 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11122 * locale/programs/ld-messages.c (messages_output): Likewise.
11123 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11124 * locale/programs/ld-name.c (name_output): Likewise.
11125 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11126 * locale/programs/ld-paper.c (paper_output): Likewise.
11127 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11128 * locale/programs/ld-time.c (time_output): Likewise.
11130 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11132 * benchtests/Makefile: Add memrchr benchmark.
11133 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11134 benchmark as memrchr.
11135 * benchtests/bench-memrchr-ifunc.c: New file.
11136 * benchtests/bench-memrchr.c: New file.
11138 2013-09-06 Will Newton <will.newton@linaro.org>
11140 * benchtests/Makefile (string-bench): Add memcpy.
11142 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11143 Cong Wang <amwang@redhat.com>
11146 * sysdeps/unix/sysv/linux/bits/in.h
11147 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11148 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11149 before __USE_KERNEL_IPV6_DEFS uses.
11150 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11152 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11153 sockaddr_in6, or ipv6_mreq.
11155 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11158 memory access for final bytes in some large inputs.
11159 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11161 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11163 * string/test-memrchr.c: New file.
11164 * string/test-memrchr-ifunc.c: New file.
11165 * string/Makefile: Add new memrchr testcase.
11167 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11169 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11170 fanotify_init returns EPERM.
11172 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11174 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11176 (top level): Treat second token from macro or constant entries for
11177 allowed headers as allowed.
11178 * include/complex.h: Condition internal declarations on
11180 * include/fenv.h: Condition include of <stdbool.h> and internal
11181 declarations on [!_ISOMAC].
11183 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11186 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11188 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11190 * configure.in (--enable-versioning): Remove configure option.
11191 (libc_cv_asm_symver_directive): Remove configure test.
11192 (libc_cv_ld_version_script_option): Likewise.
11193 (VERSIONING): Remove variable and AC_SUBST.
11194 (DO_VERSIONING): Remove AC_DEFINE.
11195 * configure: Regenerated.
11196 * config.h.in (DO_VERSIONING): Remove macro.
11197 * Makerules [$(versioning) = yes]: Change conditionals to
11198 [$(build-shared) = yes].
11199 * config.make.in (versioning): Remove variable.
11200 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11201 [$(build-shared) = yes].
11202 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11203 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11204 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11205 [$(build-shared) = yes].
11206 * extra-lib.mk [$(versioning) = yes]: Likewise.
11207 * hurd/Makefile [$(versioning) = yes]: Likewise.
11208 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11210 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11212 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11213 [SHARED && !NO_HIDDEN].
11214 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11216 [SHARED && DO_VERSIONING]: Likewise..
11217 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11218 [$(build-shared) = yes].
11219 * manual/install.texi (--disable-versioning): Remove
11221 * INSTALL: Regenerated.
11222 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11224 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11225 [$(build-shared) = yes].
11226 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11227 * sysdeps/i386/i686/multiarch/strstr-c.c
11228 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11229 [SHARED && !NO_HIDDEN].
11230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11231 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11232 * sysdeps/powerpc/powerpc32/dl-machine.c
11233 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11234 * sysdeps/powerpc/powerpc32/sysdep.h
11235 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11236 to [SHARED && PIC && !NO_HIDDEN].
11237 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11238 conditional to [SHARED].
11240 2013-09-04 Will Newton <will.newton@linaro.org>
11242 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11243 * benchtests/bench-string.h: Include bench-timing.h instead
11244 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11245 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11246 call to HP_TIMING_DIFF_INIT.
11247 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11248 instead of hp-timing.h macros.
11249 * benchtests/bench-memchr.c: Likewise.
11250 * benchtests/bench-memcmp.c: Likewise.
11251 * benchtests/bench-memcpy.c: Likewise.
11252 * benchtests/bench-memmem.c: Likewise.
11253 * benchtests/bench-memmove.c: Likewise.
11254 * benchtests/bench-memset.c: Likewise.
11255 * benchtests/bench-rawmemchr.c: Likewise.
11256 * benchtests/bench-strcasecmp.c: Likewise.
11257 * benchtests/bench-strcasestr.c: Likewise.
11258 * benchtests/bench-strcat.c: Likewise.
11259 * benchtests/bench-strchr.c: Likewise.
11260 * benchtests/bench-strcmp.c: Likewise.
11261 * benchtests/bench-strcpy.c: Likewise.
11262 * benchtests/bench-strcpy_chk.c: Likewise.
11263 * benchtests/bench-strlen.c: Likewise.
11264 * benchtests/bench-strncasecmp.c: Likewise.
11265 * benchtests/bench-strncat.c: Likewise.
11266 * benchtests/bench-strncmp.c: Likewise.
11267 * benchtests/bench-strncpy.c: Likewise.
11268 * benchtests/bench-strnlen.c: Likewise.
11269 * benchtests/bench-strpbrk.c: Likewise.
11270 * benchtests/bench-strrchr.c: Likewise.
11271 * benchtests/bench-strspn.c: Likewise.
11272 * benchtests/bench-strstr.c: Likewise.
11274 2013-09-04 Will Newton <will.newton@linaro.org>
11276 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11278 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11282 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11283 * math/libm-test.inc (lgamma_test_data): Add more tests.
11284 * sysdeps/i386/fpu/libm-test-ulps: Update.
11285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11287 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11289 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11293 Add strcmp-sse2-unaligned
11294 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11296 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11298 * Versions.def (libc): Add GLIBC_2.19.
11300 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11302 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11303 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11305 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11308 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11309 intermediate calculations in recurrence.
11310 (__ieee754_ynf): Likewise.
11311 * math/libm-test.inc (jn_test_data): Do not allow spurious
11312 underflow exception. Add more tests.
11313 (yn_test_data): Add more tests.
11314 * sysdeps/i386/fpu/libm-test-ulps: Update.
11315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11317 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11321 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11323 * csu/init-first.c: Fix then/than typos.
11324 * locale/programs/ld-collate.c: Likewise.
11325 * locale/programs/linereader.h: Likewise.
11326 * manual/charset.texi: Likewise.
11327 * manual/filesys.texi: Likewise.
11328 * manual/stdio.texi: Likewise.
11329 * manual/string.texi: Likewise.
11330 * stdlib/fmtmsg.c: Likewise.
11331 * sysdeps/i386/stpncpy.S: Likewise.
11332 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11333 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11334 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11335 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11337 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11339 * elf/dl-open.c: Fix typos.
11340 * iconvdata/gbbig5.c: Likewise.
11341 * iconvdata/iso-2022-jp.c: Likewise.
11342 * iconv/gconv_int.h: Likewise.
11343 * iconv/loop.c: Likewise.
11344 * nis/rpcsvc/nis.h: Likewise.
11345 * resolv/ns_name.c: Likewise.
11346 * stdio-common/vfscanf.c: Likewise.
11347 * streams/stropts.h: Likewise.
11348 * sunrpc/rpc_thread.c: Likewise.
11349 * sysdeps/i386/strpbrk.S: Likewise.
11350 * sysdeps/ieee754/k_standard.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11353 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11354 * sysdeps/mach/hurd/profil.c: Likewise.
11355 * sysdeps/s390/dl-procinfo.h: Likewise.
11356 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11357 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11358 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11359 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11362 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11364 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11367 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11370 aix specific files.
11371 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11372 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11373 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11374 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11375 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11376 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11377 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11378 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11380 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11381 Roland McGrath <roland@hack.frob.com>
11383 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11384 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11386 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11388 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11389 __executable_start symbol instead of _start.
11391 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11393 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11394 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11396 * sysdeps/gnu/ldsodefs.h: ... this new file.
11398 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11399 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11400 instead of ELFOSABI_LINUX.
11402 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11403 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11404 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11405 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11407 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11408 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11411 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11412 (ibm_extended_long_double): Add ieee_nan member.
11413 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11414 (do_test): New function.
11416 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11418 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11419 functions, renamed from truncdfsf_test, trunctfsf_test,
11421 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11423 (do_test): Run all these.
11425 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11427 * argp/argp-help.c: Fix typos.
11428 * argp/argp-parse.c: Likewise.
11429 * debug/backtracesyms.c: Likewise.
11430 * elf/elf.h: Likewise.
11431 * malloc/malloc.c: Likewise.
11432 * nis/nis_print.c: Likewise.
11433 * resolv/res_comp.c: Likewise.
11434 * stdlib/stdlib.h: Likewise.
11435 * sunrpc/clnt_tcp.c: Likewise.
11436 * sunrpc/clnt_udp.c: Likewise.
11437 * sunrpc/clnt_unix.c: Likewise.
11438 * sysdeps/unix/bsd/ptsname.c: Likewise.
11439 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11447 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11449 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11451 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11454 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11457 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11458 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11459 ($(objpfx)bug-dl-leaf): New rule.
11460 ($(objpfx)bug-dl-leaf.so): Likewise.
11461 ($(objpfx)bug-dl-leaf.out): Likewise.
11462 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11463 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11464 * dlfcn/bug-dl-leaf.c: New test.
11465 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11466 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11467 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11468 (dlclose): Likewise.
11469 (dlmopen): Likewise.
11471 2013-08-27 Roland McGrath <roland@hack.frob.com>
11473 * include/netdb.h [!_ISOMAC]:
11474 Don't include <tls.h>.
11475 (h_errno, __libc_h_errno): Move declaration and macros out of
11478 * include/resolv.h [_RESOLV_H_]:
11479 Don't include <tls.h>.
11480 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11481 * resolv/res_libc.c: Don't include <tls.h>.
11482 (_res): Use __attribute__ ((nocommon)) in place of
11483 __attribute__ ((section (".bss"))).
11485 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11486 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11488 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11490 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11491 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11493 * resolv/res_mkquery.c: Include <sys/time.h>.
11495 * inet/ifreq.c: Moved to ...
11496 * sysdeps/unix/ifreq.c: ... here.
11497 * inet/ifreq.c: New file, true stub version.
11499 * socket/sa_len.c: New file.
11500 * socket/Makefile (aux): Add it.
11501 * sysdeps/unix/sysv/linux/Makefile
11502 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11503 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11504 and #include <socket/sa_len.c>.
11505 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11506 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11509 * bits/socket.h: ... here.
11511 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11512 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11513 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11515 2013-08-27 Andreas Schwab <schwab@suse.de>
11518 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11519 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11520 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11521 * string/test-strcasecmp.c (test_main): Run tests in several
11523 * string/test-strncasecmp.c (test_main): Likewise.
11525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11526 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11527 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11529 (__strncasecmp_ssse3) [PIC]: Likewise.
11531 2013-08-26 Roland McGrath <roland@hack.frob.com>
11533 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11535 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11536 instead of explicitly declaring xdecrypt.
11537 * nis/nss_nis/nis-publickey.c: Likewise.
11539 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11542 * nscd/aicache.c: Include res_hconf.h.
11543 (addhstaiX): Initialize res_hconf.
11545 2013-08-26 Andreas Schwab <schwab@suse.de>
11547 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11548 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11550 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11552 * nscd/aicache.c (addhstaiX): Fix indentation.
11554 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11556 * configure.ac: Quote $build_pt_chown test.
11557 * configure: Regenerated.
11559 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11562 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11563 * math/s_cexpf.c (__cexpf): Likewise.
11564 * math/s_cexpl.c (__cexpl): Likewise.
11565 * math/libm-test.inc (cexp_test_data): Correct expected return
11566 value for NaN + i0. Add another test.
11568 2013-08-22 David S. Miller <davem@davemloft.net>
11570 * po/ca.po: Update Catalan translation from translation project.
11571 * po/uk.po: Add Ukrainian translations from translation project.
11573 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11576 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11577 is infinite, not alongside NaN test.
11578 * math/s_fdimf.c (__fdimf): Likewise.
11579 * math/s_fdiml.c (__fdiml): Likewise.
11580 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11581 errno is unchanged.
11583 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11585 * argp/argp-help.c: Fix typos.
11586 * crypt/speeds.c: Likewise.
11587 * csu/check_fds.c: Likewise.
11588 * elf/dl-load.c: Likewise.
11589 * elf/dl-open.c: Likewise.
11590 * elf/reldep3.c: Likewise.
11591 * elf/reldep.c: Likewise.
11592 * elf/sprof.c: Likewise.
11593 * iconv/iconv_charmap.c: Likewise.
11594 * iconv/skeleton.c: Likewise.
11595 * iconv/strtab.c: Likewise.
11596 * io/lockf64.c: Likewise.
11597 * libio/libioP.h: Likewise.
11598 * resolv/gai_notify.c: Likewise.
11599 * resolv/ns_name.c: Likewise.
11600 * resolv/ns_samedomain.c: Likewise.
11601 * resolv/res_send.c: Likewise.
11602 * stdlib/random.c: Likewise.
11603 * sunrpc/rpc/xdr.h: Likewise.
11604 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11612 * sysdeps/mach/hurd/check_fds.c: Likewise.
11613 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11614 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11616 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11617 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11618 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11619 * sysdeps/pthread/aio_notify.c: Likewise.
11620 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11621 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11622 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11624 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11626 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11628 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11629 version if bit_Slow_SSE4_2 is set.
11630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11633 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11637 trampoline stack frame information.
11638 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11640 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11641 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11642 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11643 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11644 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11645 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11647 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11648 interrupting a syscall and set with option SA_SIGINFO.
11650 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11653 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11654 argument is infinite.
11655 * math/s_cprojf.c (__cprojf): Likewise.
11656 * math/s_cprojl.c (__cprojl): Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11658 * math/libm-test.inc (cproj_test_data): Add more tests.
11660 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11662 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11663 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11664 size. Use __ffs to determine corresponding shift.
11666 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11667 Roland McGrath <roland@hack.frob.com>
11669 * Makefile (INSTALL): Remove trailing blank lines from output of
11672 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11674 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11675 Align 32 bit compat elf_greg to 8 bytes.
11677 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11679 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11681 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11683 * string/strcoll_l.c (coll_seq): New structure.
11684 (get_next_seq_cached): New function.
11685 (get_next_seq): New function.
11686 (do_compare): New function.
11687 (STRCOLL): Use GNU style definition. Simplify implementation
11688 by using get_next_seq, get_next_seq_cached and do_compare.
11690 2013-08-16 Florian Weimer <fweimer@redhat.com>
11694 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11696 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11698 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11699 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11700 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11702 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11703 GETDENTS_64BIT_ALIGNED.
11704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11705 * manual/filesys.texi (Reading/Closing Directory): Document
11706 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11708 * manual/conf.texi (Limits for Files): Add portability note to
11709 NAME_MAX, PATH_MAX.
11710 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11712 2013-08-13 Andreas Schwab <schwab@suse.de>
11715 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11717 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11718 LDBL_MAX_EXP >= 16384]: Add tests for it.
11720 2013-08-12 David S. Miller <davem@davemloft.net>
11722 * version.h (RELEASE): Set to "development".
11723 (VERSION): Set to "2.18.90".
11724 * NEWS: Add 2.19 section.
11726 2013-08-03 David S. Miller <davem@davemloft.net>
11728 * po/ko.po: Update Korean translation from translation project.
11730 2013-08-01 David S. Miller <davem@davemloft.net>
11732 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11733 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11736 2013-07-30 David S. Miller <davem@davemloft.net>
11738 * po/fr.po: Update French translation from translation project.
11740 2013-07-28 David S. Miller <davem@davemloft.net>
11742 * po/cs.po: Update Czech translation from translation project.
11744 * po/sv.po: Update Swedish translation from translation project.
11746 2013-07-27 David S. Miller <davem@davemloft.net>
11748 * po/eo.po: Update Esperanto translation from translation project.
11750 * po/vi.po: Update Vietnamese translation from translation project.
11752 * po/de.po: Update German translation from translation project.
11754 2013-07-26 David S. Miller <davem@davemloft.net>
11756 * po/bg.po: Update Bulgarian translation from translation project.
11758 * po/nl.po: Update Dutch translation from translation project.
11759 * po/pl.po: Update Polish translation from translation project.
11760 * po/ru.po: Update Russian translation from translation project.
11762 2013-07-24 David S. Miller <davem@davemloft.net>
11764 * po/libc.pot: Update.
11766 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11768 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11769 variable page size.
11770 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11772 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11774 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11776 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11778 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11779 Andreas Schwab <schwab@suse.de>
11780 Roland McGrath <roland@hack.frob.com>
11781 Joseph Myers <joseph@codesourcery.com>
11782 Carlos O'Donell <carlos@redhat.com>
11785 * config.h.in: Define HAVE_PT_CHOWN.
11786 * config.make.in (build-pt-chown): New variable.
11787 * configure.in (--enable-pt_chown): New configure option.
11788 * configure: Regenerate.
11789 * login/Makefile: Include Makeconfig. Build pt_chown only if
11790 build-pt-chown is enabled.
11791 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11792 pt_chown to fix pty ownership.
11793 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11795 * manual/install.texi (Configuring and compiling): Mention
11796 --enable-pt_chown. Add @findex for grantpt.
11797 * INSTALL: Regenerate.
11799 2013-07-20 David S. Miller <davem@davemloft.net>
11801 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11802 difference between 32-bit and 64-bit.
11804 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11807 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11808 Avoid system header dependency with -ffreestanding.
11809 ($(objpfx)bits/syscall%d): Likewise.
11811 2013-07-13 David S. Miller <davem@davemloft.net>
11813 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11814 underflows from atanl/atan2l due to bug 15319.
11815 (casinh_test_data): Likewise.
11817 2013-07-07 David S. Miller <davem@davemloft.net>
11819 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11821 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11823 * sysdeps/i386/fpu/libm-test-ulps: Update.
11824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11828 * configure.in (--enable-lock-elision): Fix message text.
11829 * INSTALL: Regenerate.
11830 * configure: Regenerate.
11832 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11836 2013-07-03 Andreas Jaeger <aj@suse.de>
11838 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11840 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11841 (ptrace_peeksiginfo_args): Add.
11842 (__ptrace_peeksiginfo_flags): Add.
11843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11847 2013-07-03 Allan McRae <allan@archlinux.org>
11849 * sysdeps/i386/fpu/libm-test-ulps: Update.
11851 2013-07-02 David S. Miller <davem@davemloft.net>
11853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11855 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11859 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11861 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11864 2013-07-02 Andi Kleen <ak@linux.intel.com>
11866 * config.h.in (ENABLE_LOCK_ELISION): Add.
11867 * configure.in (--enable-lock-elision): Add option.
11868 * manual/install.texi: Document --enable lock elision.
11869 * configure: Regenerate
11870 * INSTALL: Regenerate.
11872 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11874 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11875 SSE4.2 strcasecmp for libc.a.
11876 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11878 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11881 * soft-fp/op-common.h (_FP_FMA): New macro.
11882 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11883 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11884 (_FP_MUL_MEAT_1_imm): ... here.
11885 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11886 (_FP_MUL_MEAT_1_wide): ... here.
11887 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11888 (_FP_MUL_MEAT_1_hard): ... here.
11889 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11890 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11891 (_FP_MUL_MEAT_2_wide): ... here.
11892 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11893 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11894 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11895 (_FP_MUL_MEAT_2_gmp): ... here.
11896 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11897 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11898 (_FP_MUL_MEAT_4_wide): ... here.
11899 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11900 (_FP_MUL_MEAT_4_gmp): ... here.
11901 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11902 (_FP_WFRACBITS_DW_S): Likewise.
11903 (_FP_WFRACXBITS_DW_S): Likewise.
11904 (_FP_HIGHBIT_DW_S): Likewise.
11905 (FP_FMA_S): Likewise.
11906 (_FP_FRAC_HIGH_DW_S): Likewise.
11907 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11908 (_FP_WFRACBITS_DW_D): Likewise.
11909 (_FP_WFRACXBITS_DW_D): Likewise.
11910 (_FP_HIGHBIT_DW_D): Likewise.
11911 (FP_FMA_D): Likewise.
11912 (_FP_FRAC_HIGH_DW_D): Likewise.
11913 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11914 (_FP_WFRACBITS_DW_E): Likewise.
11915 (_FP_WFRACXBITS_DW_E): Likewise.
11916 (_FP_HIGHBIT_DW_E): Likewise.
11917 (FP_FMA_E): Likewise.
11918 (_FP_FRAC_HIGH_DW_E): Likewise.
11919 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11920 (_FP_WFRACBITS_DW_Q): Likewise.
11921 (_FP_WFRACXBITS_DW_Q): Likewise.
11922 (_FP_HIGHBIT_DW_Q): Likewise.
11923 (FP_FMA_Q): Likewise.
11924 (_FP_FRAC_HIGH_DW_Q): Likewise.
11925 * soft-fp/fmasf4.c: New file.
11926 * soft-fp/fmadf4.c: Likewise.
11927 * soft-fp/fmatf4.c: Likewise.
11929 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11932 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11936 (index_Slow_SSE4_2): Likewise.
11937 (index_Prefer_PMINUB_for_stringop): Likewise.
11938 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11939 bit_Slow_SSE4_2 is set.
11940 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11943 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11945 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11946 rtld_global._dl_hwcap2.
11947 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11950 POWER8 feature descriptions defined in _dl_hwcap2.
11951 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11952 string handling for POWER8 feature bits.
11953 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11954 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11955 _dl_powerpc_cap_flags.
11956 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11957 * sysdeps/powerpc/rtld-global-offsets.sym
11958 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11959 _dl_hwcap2 in the rtld_global_ro structure.
11961 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11963 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11964 hardware capabilities in support of AT_HWCAP2.
11965 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11966 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11968 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11969 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11970 explicitly the unknown a_type display mechanism is used.
11971 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11972 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11974 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11975 to macro prototype for AT_HWCAP2 support.
11976 * sysdeps/i386/dl-procinfo.h: Likewise.
11977 * sysdeps/s390/dl-procinfo.h: Likewise.
11978 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11979 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11980 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11981 return -1 for unknown a_type display fallback.
11982 * sysdeps/sparc/dl-procinfo.h: Likewise.
11983 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11986 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11989 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11991 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11994 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11995 mprotect making __stack_prot writable.
11997 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11998 Joseph Myers <joseph@codesourcery.com>
12000 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12001 as being properly aligned.
12003 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12005 * dlfcn/modstatic5.c: New file.
12006 * dlfcn/tststatic5.c: New file.
12007 * dlfcn/Makefile (tests): Add tststatic5.
12008 (tests-static): Likewise.
12009 (modules-names): Add modstatic5.
12010 (tststatic5-ENV): New variable.
12011 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12014 * elf/dl-support.c (_dl_main_map): New variable.
12015 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12016 (_dl_nns, _dl_load_adds): Set to 1.
12017 (_dl_initial_searchlist): Refer to _dl_main_map.
12018 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12019 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12020 call to _dl_get_origin.
12021 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12023 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12024 * dlfcn/modstatic3.c: New file.
12025 * dlfcn/tststatic3.c: New file.
12026 * dlfcn/tststatic4.c: New file.
12027 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12028 (tests-static): Likewise.
12029 (modules-names): Add modstatic3.
12030 (tststatic3-ENV, tststatic4-ENV): New variables.
12031 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12032 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12034 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12036 * configure.in (CC): Require GCC version 4.4 or later.
12037 * configure: Regenerated.
12038 * manual/install.texi (Tools for Compilation): Update GCC version
12040 * INSTALL: Regenerated.
12042 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12045 * string/test-memcmp.c (check2): New.
12046 (main): Call check2.
12048 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12050 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12053 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12055 (dl_open_worker) [!SHARED]: ... here.
12057 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12059 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12061 2013-06-25 Richard Henderson <rth@redhat.com>
12063 * locale/programs/locarchive.c: Include <libc-internal.h>
12065 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12067 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12068 trailing whitespace removed.
12070 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12073 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12074 * locale/programs/locarchive.c: Include libc-mmap.h.
12075 (prepare_address_space): Take two new outputs (the mmap base and len).
12076 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12078 (create_archive): Declare new mmap base and len values for
12079 prepare_address_space, and store the result in ah.
12080 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12081 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12082 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12083 Declare new mmap base and len values for
12084 prepare_address_space, and store the result in new_ah.
12085 (open_archive): Declare new mmap base and len values for
12086 prepare_address_space, and store the result in ah.
12087 (close_archive): If ah->mmap_base is not NULL, use that and
12088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12089 * sysdeps/generic/libc-mmap.h: New file.
12091 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12093 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12094 (ALIGN_UP): Likewise.
12095 (PTR_ALIGN_DOWN): Likewise.
12096 (PTR_ALIGN_UP): Likewise.
12098 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12100 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12101 entry mapped to PPC_PLATFORM_POWER8.
12102 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12104 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12105 (_dl_string_platform): Add case for exporting platform position for
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12108 search path to sysdeps/powerpc/powerpc32/power8 directory.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12110 search path to sysdeps/powerpc/powerpc64/power8 directory.
12111 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12112 power7 directories.
12113 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12114 power7 directories.
12116 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12118 * INSTALL: Regenerate.
12120 * nscd/connections.c (nscd_init): Fix comment.
12122 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12124 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12127 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12128 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12130 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12132 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12134 (DL_DST_REQ_STATIC): Remove macro.
12136 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12139 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12140 with a shift of 0 bits.
12142 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12144 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12147 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12150 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12152 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12155 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12156 accepts -fno-tree-loop-distribute-patterns.
12157 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12158 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12160 * string/memset.c (memset): Likewise.
12161 * string/test-memmove.c (simple_memmove): Disable loop transformation
12163 * string/test-memset.c (simple_memset): Likewise.
12164 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12165 * benchtests/bench-memset.c (simple_memset): Likewise.
12166 * configure: Regenerated.
12168 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12170 * math/test-misc.c (main): Ignore fesetround failure when failures
12171 of subsequent rounding tests would be ignored.
12174 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12175 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12176 * math/fegetenv.c (__fegetenv): Return 0.
12177 * math/fegetexcept.c (fegetexcept): Return 0.
12178 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12180 * math/feholdexcpt.c (feholdexcept): Return 0.
12181 * math/fesetenv.c (__fesetenv): Return 0.
12182 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12183 argument FE_TONEAREST.
12184 * math/feupdateenv.c (__feupdateenv): Return 0.
12185 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12187 2013-06-18 Roland McGrath <roland@hack.frob.com>
12189 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12190 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12191 ($(objpfx)rtld-%.os rules): Use them.
12193 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12195 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12198 2013-06-17 Roland McGrath <roland@hack.frob.com>
12200 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12201 length of target pattern, then descending length of dependency pattern.
12202 * configure.in (AWK): Require gawk 3.1.2 or newer.
12203 * manual/install.texi (Tools for Compilation): Say that we do.
12204 * configure: Regenerated.
12206 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12207 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12208 * scripts/sysd-rules.awk: ... this new script.
12209 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12210 than a glob-style pattern.
12212 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12214 * math/test-misc.c (main): Do not treat incorrectly rounded
12215 conversions as failure unless ROUNDING_TESTS passes.
12217 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12220 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12221 restore exception state around main square root computation, then
12222 check for inexactness explicitly.
12224 * math/libm-test.inc (fma_test_data): Add another test.
12226 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12228 * manual/threads.texi (Non-POSIX Extensions): New document
12229 node. Document pthread_getattr_default_np and
12230 pthread_setattr_default_np.
12232 * Versions.def (libpthread): Add GLIBC_2.18.
12233 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12242 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12253 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12256 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12258 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12259 H.J. Lu <hjl.tools@gmail.com>
12262 * sysdeps/x86_64/rtld-memset.c: Remove file.
12263 * sysdeps/x86_64/rtld-memset.S: New file.
12265 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12267 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12268 (test_in_one_mode): Take arguments for whether the rounding mode
12269 is supported for each floating-point type.
12270 (do_test): Pass new arguments to test_in_one_mode using
12273 2013-06-13 Roland McGrath <roland@hack.frob.com>
12275 * posix/tst-waitid.c (do_test): Distinguish different instances of
12276 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12277 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12278 before entering the kernel for waitpid.
12280 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 * NEWS: Fix note on clock function precision. Text by Roland
12285 2013-06-13 Roland McGrath <roland@hack.frob.com>
12287 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12288 it into place only when and if the sanity check passes.
12290 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12292 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12293 output for whether conversion result is exact. Take argument
12294 indicating whether type is IBM long double.
12295 (round_for_all): Change need_exact field to ibm_ld.
12296 * stdlib/tst-strtod-round.c (struct exactness): New type.
12297 (struct test): Change bool ld_ok field to struct exactness exact.
12298 (TEST): Update all definitions for change to field.
12299 (tests): Regenerate array contents.
12300 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12301 field value. Check for IBM long double here.
12302 (do_test): Update calls to test_in_one_mode.
12304 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12307 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12308 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12310 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12314 generated by the compiler on loop optimizations.
12315 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12316 general definitions.
12318 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12320 * math/bug-nextafter.c: Include <math-tests.h>.
12321 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12323 * math/bug-nexttoward.c: Include <math-tests.h>.
12324 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12326 * math/test-misc.c: Include <math-tests.h>.
12327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12330 2013-06-12 Andreas Jaeger <aj@suse.de>
12332 * po/ia.po: Update Interlingua translation from translation
12335 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12337 * include/fenv.h: Include stdbool.h.
12338 (struct rm_ctx): New structure.
12339 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12341 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12342 (SET_RESTORE_ROUNDF): Likewise.
12343 (SET_RESTORE_ROUNDL): Likewise.
12344 (SET_RESTORE_ROUND_NOEX): Likewise.
12345 (SET_RESTORE_ROUND_NOEXF): Likewise.
12346 (SET_RESTORE_ROUND_NOEXL): Likewise.
12347 (SET_RESTORE_ROUND_53BIT): Likewise.
12348 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12349 (libc_feresetround_noexf_ctx): Likewise.
12350 (libc_feresetround_noexl_ctx): Likewise.
12351 (libc_feholdsetround_53bit_ctx): Likewise.
12352 (libc_feresetround_53bit_ctx): Likewise.
12353 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12354 (libc_feholdexcept_setround_sse_ctx): New function.
12355 (libc_fesetenv_sse_ctx): Likewise.
12356 (libc_feupdateenv_sse_ctx): Likewise.
12357 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12358 (libc_feholdexcept_setround_387_ctx): Likewise.
12359 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12360 (libc_feholdsetround_387_prec_ctx): Likewise.
12361 (libc_feholdsetround_387_ctx): Likewise.
12362 (libc_feholdsetround_387_53bit_ctx): Likewise.
12363 (libc_feholdsetround_sse_ctx): Likewise.
12364 (libc_feresetround_sse_ctx): Likewise.
12365 (libc_feresetround_387_ctx): Likewise.
12366 (libc_feupdateenv_387_ctx): Likewise.
12367 (libc_feholdexcept_setroundf_ctx): Define macro.
12368 (libc_fesetenvf_ctx): Likewise.
12369 (libc_feupdateenvf_ctx): Likewise.
12370 (libc_feholdsetroundf_ctx): Likewise.
12371 (libc_feresetroundf_ctx): Likewise.
12372 (libc_feholdexcept_setround_ctx): Likewise.
12373 (libc_fesetenv_ctx): Likewise.
12374 (libc_feupdateenv_ctx): Likewise.
12375 (libc_feholdsetround_ctx): Likewise.
12376 (libc_feresetround_ctx): Likewise.
12377 (libc_feholdexcept_setroundl_ctx): Likewise.
12378 (libc_feupdateenvl_ctx): Likewise.
12379 (libc_feholdsetroundl_ctx): Likewise.
12380 (libc_feresetroundl_ctx): Likewise.
12381 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12382 (libc_feresetround_53bit_ctx): Likewise.
12384 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12386 * locale/iso-639.def: Convert to UTF-8.
12388 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12391 (EXCEPTION_TESTS_double): Likewise.
12392 (EXCEPTION_TESTS_long_double): Likewise.
12393 (EXCEPTION_TESTS): Likewise.
12394 * math/libm-test.inc (test_exceptions): Only test exceptions if
12395 EXCEPTION_TESTS (FLOAT).
12397 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12399 * benchtests/Makefile (string-bench): Add strcpy_chk and
12401 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12402 * benchtests/bench-stpcpy_chk.c: New file.
12403 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12404 * benchtests/bench-strcpy_chk.c: New file.
12405 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12407 (do_test): Likewise.
12409 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12412 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12413 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12414 with tabs where appropriate.
12415 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12417 [PPC_PLATFORM_PPC440]: Likewise.
12418 [PPC_PLATFORM_PPC464]: Likewise.
12419 [PPC_PLATFORM_PPC476]: Likewise.
12420 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12421 ppc464, and ppc476 platform strings merging from ports/
12424 2013-06-11 Andreas Schwab <schwab@suse.de>
12427 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12428 (from_ucs4_idx): Regenerate.
12429 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12430 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12431 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12432 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12433 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12434 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12435 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12436 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12437 from FROM_LOOP and TO_LOOP specific macros.
12438 (BODY): Handle combining characters.
12439 * iconvdata/BIG5HKSCS.irreversible: Update.
12440 * iconvdata/BIG5HKSCS.precomposed: New file.
12441 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12443 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12445 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12447 * include/sys/time.h: Fix indentation and add copyright header.
12449 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12450 (do_test): Likewise.
12451 * string/test-memchr.c (do_one_test): Likewise.
12452 (do_test): Likewise.
12453 * string/test-memcmp.c (do_one_test): Likewise.
12454 (do_test): Likewise.
12455 * string/test-memcpy.c (do_one_test): Likewise.
12456 (do_test): Likewise.
12457 * string/test-memmem.c (do_one_test): Likewise.
12458 (do_test): Likewise.
12459 (do_random_tests): Likewise.
12460 * string/test-memmove.c (do_one_test): Likewise.
12461 (do_test): Likewise.
12462 * string/test-memset.c (do_one_test): Likewise.
12463 (do_test): Likewise.
12464 * string/test-rawmemchr.c (do_one_test): Likewise.
12465 (do_test): Likewise.
12466 * string/test-strcasecmp.c (do_one_test): Likewise.
12467 (do_test): Likewise.
12468 * string/test-strcasestr.c (do_one_test): Likewise.
12469 (do_test): Likewise.
12470 * string/test-strcat.c (do_one_test): Likewise.
12471 (do_test): Likewise.
12472 * string/test-strchr.c (do_one_test): Likewise.
12473 (do_test): Likewise.
12474 * string/test-strcmp.c (do_one_test): Likewise.
12475 (do_test): Likewise.
12476 * string/test-strcpy.c (do_one_test): Likewise.
12477 (do_test): Likewise.
12478 * string/test-string.h: Likewise.
12479 (test_init): Likewise.
12480 * string/test-strlen.c (do_one_test): Likewise.
12481 (do_test): Likewise.
12482 * string/test-strncasecmp.c (do_one_test): Likewise.
12483 (do_test): Likewise.
12484 * string/test-strncat.c (do_one_test): Likewise.
12485 (do_test): Likewise.
12486 * string/test-strncmp.c (do_one_test): Likewise.
12487 (do_test_limit): Likewise.
12488 (do_test): Likewise.
12489 * string/test-strncpy.c (do_one_test): Likewise.
12490 (do_test): Likewise.
12491 * string/test-strnlen.c (do_one_test): Likewise.
12492 (do_test): Likewise.
12493 * string/test-strpbrk.c (do_one_test): Likewise.
12494 (do_test): Likewise.
12495 * string/test-strrchr.c (do_one_test): Likewise.
12496 (do_test): Likewise.
12497 * string/test-strspn.c (do_one_test): Likewise.
12498 (do_test): Likewise.
12499 * string/test-strstr.c (do_one_test): Likewise.
12500 (do_test): Likewise.
12502 * benchtests/Makefile (string-bench): Add string benchmarks.
12503 * benchtests/bench-bcopy-ifunc.c: New file.
12504 * benchtests/bench-bcopy.c: New file.
12505 * benchtests/bench-bzero-ifunc.c: New file.
12506 * benchtests/bench-bzero.c: New file.
12507 * benchtests/bench-memccpy-ifunc.c: New file.
12508 * benchtests/bench-memccpy.c: New file.
12509 * benchtests/bench-memchr-ifunc.c: New file.
12510 * benchtests/bench-memchr.c: New file.
12511 * benchtests/bench-memcmp-ifunc.c: New file.
12512 * benchtests/bench-memcmp.c: New file.
12513 * benchtests/bench-memmem-ifunc.c: New file.
12514 * benchtests/bench-memmem.c: New file.
12515 * benchtests/bench-memmove-ifunc.c: New file.
12516 * benchtests/bench-memmove.c: New file.
12517 * benchtests/bench-mempcpy-ifunc.c: New file.
12518 * benchtests/bench-mempcpy.c: New file.
12519 * benchtests/bench-memset-ifunc.c: New file.
12520 * benchtests/bench-memset.c: New file.
12521 * benchtests/bench-rawmemchr-ifunc.c: New file.
12522 * benchtests/bench-rawmemchr.c: New file.
12523 * benchtests/bench-stpcpy-ifunc.c: New file.
12524 * benchtests/bench-stpcpy.c: New file.
12525 * benchtests/bench-stpncpy-ifunc.c: New file.
12526 * benchtests/bench-stpncpy.c: New file.
12527 * benchtests/bench-strcasecmp-ifunc.c: New file.
12528 * benchtests/bench-strcasecmp.c: New file.
12529 * benchtests/bench-strcasestr-ifunc.c: New file.
12530 * benchtests/bench-strcasestr.c: New file.
12531 * benchtests/bench-strcat-ifunc.c: New file.
12532 * benchtests/bench-strcat.c: New file.
12533 * benchtests/bench-strchr-ifunc.c: New file.
12534 * benchtests/bench-strchr.c: New file.
12535 * benchtests/bench-strchrnul-ifunc.c: New file.
12536 * benchtests/bench-strchrnul.c: New file.
12537 * benchtests/bench-strcmp-ifunc.c: New file.
12538 * benchtests/bench-strcmp.c: New file.
12539 * benchtests/bench-strcpy-ifunc.c: New file.
12540 * benchtests/bench-strcpy.c: New file.
12541 * benchtests/bench-strcspn-ifunc.c: New file.
12542 * benchtests/bench-strcspn.c: New file.
12543 * benchtests/bench-strlen-ifunc.c: New file.
12544 * benchtests/bench-strlen.c: New file.
12545 * benchtests/bench-strncasecmp-ifunc.c: New file.
12546 * benchtests/bench-strncasecmp.c: New file.
12547 * benchtests/bench-strncat-ifunc.c: New file.
12548 * benchtests/bench-strncat.c: New file.
12549 * benchtests/bench-strncmp-ifunc.c: New file.
12550 * benchtests/bench-strncmp.c: New file.
12551 * benchtests/bench-strncpy-ifunc.c: New file.
12552 * benchtests/bench-strncpy.c: New file.
12553 * benchtests/bench-strnlen-ifunc.c: New file.
12554 * benchtests/bench-strnlen.c: New file.
12555 * benchtests/bench-strpbrk-ifunc.c: New file.
12556 * benchtests/bench-strpbrk.c: New file.
12557 * benchtests/bench-strrchr-ifunc.c: New file.
12558 * benchtests/bench-strrchr.c: New file.
12559 * benchtests/bench-strspn-ifunc.c: New file.
12560 * benchtests/bench-strspn.c: New file.
12561 * benchtests/bench-strstr-ifunc.c: New file.
12562 * benchtests/bench-strstr.c: New file.
12564 * benchtests/Makefile: Disable parallel execution of targets.
12565 (string-bench): Add memcpy.
12566 (benchset): New variable to store a list of benchmark sets.
12567 (bench-func): Renamed from bench.
12568 (bench-set): New target.
12569 (bench): Depend on bench-func and bench-set.
12570 * benchtests/README: Add section on benchmark sets.
12571 * benchtests/bench-memcpy-ifunc.c: New file.
12572 * benchtests/bench-memcpy.c: New file.
12573 * benchtests/bench-string.h: New file.
12575 2013-06-11 Andreas Schwab <schwab@suse.de>
12578 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12579 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12580 values in the triple.
12581 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12582 terminator in the group key.
12584 2013-06-11 Andreas Jaeger <aj@suse.de>
12586 * po/zh_TW.po: Update Chinese (traditional) translation from
12587 translation project.
12589 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12591 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12592 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12593 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12595 (clock_getcpuclockid): Likewise.
12596 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12597 Add weak_alias and libc_hidden_def.
12598 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12599 * rt/clock_gettime.c (clock_gettime): Rename to
12600 __clock_gettime. Add weak_alias and libc_hidden_def.
12601 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12602 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12603 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12604 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12605 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12607 * rt/clock_settime.c (clock_settime): Rename to
12608 __clock_settime. Add weak_alias and libc_hidden_def.
12609 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12611 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12613 * mach/err_boot.sub: Remove trailing whitespace.
12614 * mach/err_ipc.sub: Likewise.
12615 * mach/err_mach.sub: Likewise.
12617 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12618 (ROUNDING_TESTS_double): Likewise.
12619 (ROUNDING_TESTS_long_double): Likewise.
12620 (ROUNDING_TESTS): Likewise.
12621 * math/libm-test.inc: Include <math-tests.h>.
12622 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12623 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12624 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12625 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12627 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12629 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12632 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12635 otherwise empty TRANS lines.
12636 * sysdeps/gnu/errlist.c: Regenerated.
12638 * catgets/gencat.c (error_print): Use (void) in function
12640 * crypt/crypt_util.c (__init_des): Likewise.
12641 * crypt/speeds.c (Stop): Likewise.
12643 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12644 * inet/ruserpass.c (token): Likewise.
12645 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12646 * intl/localealias.c (extend_alias_table): Likewise.
12647 * intl/plural-exp.c (init_germanic_plural): Likewise.
12648 * libio/fcloseall.c (__fcloseall): Likewise.
12649 * libio/genops.c (_IO_flush_all): Likewise.
12650 (_IO_flush_all_linebuffered): Likewise.
12651 (_IO_cleanup): Likewise.
12652 (_IO_iter_begin): Likewise.
12653 (_IO_iter_end): Likewise.
12654 (_IO_list_lock): Likewise.
12655 (_IO_list_unlock): Likewise.
12656 (_IO_list_resetlock): Likewise.
12657 * libio/getchar.c (getchar): Likewise.
12658 * libio/getchar_u.c (getchar_unlocked): Likewise.
12659 * libio/getwchar.c (getwchar): Likewise.
12660 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12661 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12662 * login/getpt.c (__getpt): Likewise.
12663 * login/tst-utmp.c (main): Likewise.
12664 * malloc/hooks.c (__malloc_check_init): Likewise.
12665 * malloc/malloc.c (__malloc_stats): Likewise.
12666 * malloc/mtrace.c (tr_break): Likewise.
12667 (mtrace): Likewise.
12668 (muntrace): Likewise.
12669 * misc/fstab.c (endfsent): Likewise.
12670 * misc/getclktck.c (__getclktck): Likewise.
12671 * misc/getdtsz.c (__getdtablesize): Likewise.
12672 * misc/gethostid.c (gethostid): Likewise.
12673 * misc/getpagesize.c (__getpagesize): Likewise.
12674 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12675 (__get_nprocs): Likewise.
12676 (__get_phys_pages): Likewise.
12677 (__get_avphys_pages): Likewise.
12678 * misc/getttyent.c (getttyent): Likewise.
12679 (setttyent): Likewise.
12680 (endttyent): Likewise.
12681 * misc/getusershell.c (getusershell): Likewise.
12682 (endusershell): Likewise.
12683 (setusershell): Likewise.
12684 (initshells): Likewise.
12685 * misc/hsearch.c (__hdestroy): Likewise.
12686 * misc/sync.c (sync): Likewise.
12687 * misc/syslog.c (closelog_internal): Likewise.
12688 (closelog): Likewise.
12689 * misc/ttyslot.c (ttyslot): Likewise.
12690 * misc/vhangup.c (vhangup): Likewise.
12691 * posix/fork.c (__fork): Likewise.
12692 * posix/getegid.c (__getegid): Likewise.
12693 * posix/geteuid.c (__geteuid): Likewise.
12694 * posix/getgid.c (__getgid): Likewise.
12695 * posix/getpid.c (__getpid): Likewise.
12696 * posix/getppid.c (__getppid): Likewise.
12697 * posix/getuid.c (__getuid): Likewise.
12698 * posix/pause.c (pause): Likewise.
12699 * posix/setpgrp.c (setpgrp): Likewise.
12700 * posix/setsid.c (__setsid): Likewise.
12701 * posix/test-vfork.c (noop): Likewise.
12702 * resolv/gethnamaddr.c (_endhtent): Likewise.
12703 (_gethtent): Likewise.
12704 (ht_endhostent): Likewise.
12705 (gethostent): Likewise.
12706 (dns_service): Likewise.
12707 * stdlib/drand48.c (drand48): Likewise.
12708 * stdlib/lrand48.c (lrand48): Likewise.
12709 * stdlib/mrand48.c (mrand48): Likewise.
12710 * stdlib/rand.c (rand): Likewise.
12711 * stdlib/random.c (__random): Likewise.
12712 * stdlib/setenv.c (clearenv): Likewise.
12713 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12714 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12715 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12716 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12717 (__get_nprocs): Likewise.
12718 (__get_phys_pages): Likewise.
12719 (__get_avphys_pages): Likewise.
12720 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12721 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12722 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12723 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12724 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12725 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12726 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12727 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12728 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12729 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12730 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12731 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12732 * sysdeps/posix/clock.c (clock): Likewise.
12733 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12734 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12735 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12736 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12737 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12739 (__get_nprocs_conf): Likewise.
12740 (__get_phys_pages): Likewise.
12741 (__get_avphys_pages): Likewise.
12742 * time/clock.c (clock): Likewise.
12743 * time/tzset.c (__tzname_max): Likewise.
12745 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12747 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12748 (__bswap_32): Do not use "register".
12749 * crypt/crypt.c (_ufc_doit_r): Likewise.
12750 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12751 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12752 * gmon/gmon.c (__monstartup): Likewise.
12753 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12754 * hurd/hurdmalloc.c (more_memory): Likewise.
12755 (malloc): Likewise.
12757 (realloc): Likewise.
12758 (malloc_fork_prepare): Likewise.
12759 (malloc_fork_parent): Likewise.
12760 (malloc_fork_child): Likewise.
12761 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12762 (_svcauth_des): Likewise.
12763 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12764 * inet/inet_net.c (inet_network): Likewise.
12765 * inet/inet_netof.c (inet_netof): Likewise.
12766 * inet/rcmd.c (__validuser2_sa): Likewise.
12767 * io/fts.c (fts_open): Likewise.
12768 (fts_load): Likewise.
12769 (fts_close): Likewise.
12770 (fts_read): Likewise.
12771 (fts_children): Likewise.
12772 (fts_build): Likewise.
12773 (fts_stat): Likewise.
12774 (fts_sort): Likewise.
12775 (fts_alloc): Likewise.
12776 (fts_lfree): Likewise.
12777 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12778 (_IO_file_xsgetn): Likewise.
12779 (_IO_file_xsgetn_mmap): Likewise.
12780 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12781 (_IO_cookie_write): Likewise.
12782 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12783 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12784 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12785 * malloc/obstack.c (_obstack_begin): Likewise.
12786 (_obstack_begin_1): Likewise.
12787 (_obstack_newchunk): Likewise.
12788 (_obstack_allocated_p): Likewise.
12789 (obstack_free): Likewise.
12790 (_obstack_memory_used): Likewise.
12791 * misc/getttyent.c (getttynam): Likewise.
12792 (getttyent): Likewise.
12795 * misc/getusershell.c (initshells): Likewise.
12796 * misc/syslog.c (__vsyslog_chk): Likewise.
12797 * misc/ttyslot.c (ttyslot): Likewise.
12798 * nis/nis_hash.c (__nis_hash): Likewise.
12799 * posix/fnmatch_loop.c (FCT): Likewise.
12800 * posix/getconf.c (print_all): Likewise.
12802 * posix/getopt.c (exchange): Likewise.
12803 * posix/glob.c (globfree): Likewise.
12804 (prefix_array): Likewise.
12805 (__glob_pattern_type): Likewise.
12806 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12807 (NS_GET32): Likewise.
12808 (NS_PUT16): Likewise.
12809 (NS_PUT32): Likewise.
12810 * resolv/gethnamaddr.c (getanswer): Likewise.
12811 (gethostbyname2): Likewise.
12812 (gethostbyaddr): Likewise.
12813 (_gethtent): Likewise.
12814 (_gethtbyname2): Likewise.
12815 (_gethtbyaddr): Likewise.
12816 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12817 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12818 * resolv/res_init.c (__res_vinit): Likewise.
12819 (net_mask): Likewise.
12820 * resolv/res_mkquery.c (outchar): Likewise.
12822 * stdio-common/printf_fp.c (outchar): Likewise.
12824 * stdio-common/printf_fphex.c (outchar): Likewise.
12826 * stdio-common/printf_size.c (outchar): Likewise.
12828 * stdio-common/test_rdwr.c (main): Likewise.
12829 * stdio-common/tfformat.c (matches): Likewise.
12830 * stdio-common/vfprintf.c (outchar): Likewise.
12831 (printf_unknown): Likewise.
12832 (buffered_vfprintf): Likewise.
12833 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12834 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12835 (ReadFile): Likewise.
12836 * stdlib/qsort.c (SWAP): Likewise.
12837 (_quicksort): Likewise.
12838 * stdlib/setenv.c (__add_to_environ): Likewise.
12839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12840 * stdlib/strtol_l.c (__strtol_l): Likewise.
12841 * stdlib/tst-strtod.c (main): Likewise.
12842 * stdlib/tst-strtol.c (main): Likewise.
12843 * stdlib/tst-strtoll.c (main): Likewise.
12844 * string/bits/string2.h (__strcmp_cc): Likewise.
12845 (__strcmp_cg): Likewise.
12846 (__strcspn_c1): Likewise.
12847 (__strcspn_c2): Likewise.
12848 (__strcspn_c3): Likewise.
12849 (__strspn_c1): Likewise.
12850 (__strspn_c2): Likewise.
12851 (__strspn_c3): Likewise.
12852 (__strsep_1c): Likewise.
12853 (__strsep_2c): Likewise.
12854 (__strsep_3c): Likewise.
12855 * string/memccpy.c (__memccpy): Likewise.
12856 * string/stpcpy.c (__stpcpy): Likewise.
12857 * string/strcmp.c (strcmp): Likewise.
12858 * string/strrchr.c (strrchr): Likewise.
12859 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12861 * sysdeps/mach/hurd/getcwd.c
12862 (_hurd_canonicalize_directory_name_internal): Likewise.
12863 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12864 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12865 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12866 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12867 Likewise, in both definitions.
12868 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12870 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12871 64] (__bswap_64): Likewise.
12872 * time/test_time.c (main): Likewise.
12873 * time/tzfile.c (__tzfile_read): Likewise.
12874 (__tzfile_compute): Likewise.
12875 * time/tzset.c (__tzset_parse_tz): Likewise.
12876 (tzset_internal): Likewise.
12877 (compute_change): Likewise.
12878 * wcsmbs/wcscat.c (__wcscat): Likewise.
12879 * wcsmbs/wcschr.c (wcschr): Likewise.
12880 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12881 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12882 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12883 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12884 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12885 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12886 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12887 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12888 * wcsmbs/wmemset.c (wmemset): Likewise.
12890 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12892 * scripts/config.guess: Update to version 2013-05-16.
12893 * scripts/config.sub: Update to version 2013-04-24.
12894 * scripts/install-sh: Update to version 2011-11-20.07.
12895 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12896 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12898 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12900 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12901 * elf/sln.c: Likewise.
12902 * hurd/hurd/ioctl.h: Likewise.
12903 * hurd/hurdmalloc.c: Likewise.
12904 * hurd/xattr.c: Likewise.
12905 * include/shlib-compat.h: Likewise.
12906 * inet/ruserpass.c: Likewise.
12907 * libio/iofgets_u.c: Likewise.
12908 * libio/iofgetws_u.c: Likewise.
12909 * locale/programs/ld-identification.c: Likewise.
12910 * locale/programs/ld-time.c: Likewise.
12911 * mach/msg-destroy.c: Likewise.
12912 * nss/nss_files/files-netgrp.c: Likewise.
12913 * resolv/res_data.c: Likewise.
12914 * soft-fp/op-1.h: Likewise.
12915 * soft-fp/op-2.h: Likewise.
12916 * soft-fp/op-4.h: Likewise.
12917 * soft-fp/op-common.h: Likewise.
12918 * stdio-common/printf_fphex.c: Likewise.
12919 * stdlib/strtod_l.c: Likewise.
12920 * sunrpc/rpc/clnt.h: Likewise.
12921 * sysdeps/generic/framestate.c: Likewise.
12922 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12923 * sysdeps/i386/bsd-setjmp.S: Likewise.
12924 * sysdeps/i386/__longjmp.S: Likewise.
12925 * sysdeps/i386/setjmp.S: Likewise.
12926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12944 * sysdeps/ieee754/support.c: Likewise.
12945 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12946 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12947 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12948 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12949 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12950 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12951 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12952 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12953 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12954 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12955 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12956 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12957 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12958 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12959 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12960 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12961 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12964 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12966 * posix/transbug.c: Remove executable mode.
12968 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12970 * crypt/speeds.c: Remove trailing whitespace.
12971 * dlfcn/default.c: Likewise.
12972 * elf/ifuncdep2.c: Likewise.
12973 * elf/ifuncmain1.c: Likewise.
12974 * elf/ifuncmain1vis.c: Likewise.
12975 * elf/testobj.h: Likewise.
12976 * elf/tst-stackguard1.c: Likewise.
12977 * gmon/sys/gmon.h: Likewise.
12978 * hurd/hurdmsg.c: Likewise.
12979 * hurd/new-fd.c: Likewise.
12980 * hurd/ports-get.c: Likewise.
12981 * iconvdata/ibm1008_420.c: Likewise.
12982 * inet/tst-getni1.c: Likewise.
12983 * inet/tst-getni2.c: Likewise.
12984 * libio/ioungetc.c: Likewise.
12985 * libio/wfiledoalloc.c: Likewise.
12986 * manual/libm-err-tab.pl: Likewise.
12987 * math/w_dremf.c: Likewise.
12988 * misc/ftruncate.c: Likewise.
12989 * posix/bug-glob2.c: Likewise.
12990 * posix/tst-pcre.c: Likewise.
12991 * posix/wait4.c: Likewise.
12992 * resolv/README: Likewise.
12993 * resolv/res_debug.h: Likewise.
12994 * resolv/tst-inet_ntop.c: Likewise.
12995 * setjmp/bug269-setjmp.c: Likewise.
12996 * soft-fp/extended.h: Likewise.
12997 * soft-fp/op-1.h: Likewise.
12998 * soft-fp/op-2.h: Likewise.
12999 * soft-fp/op-4.h: Likewise.
13000 * soft-fp/op-8.h: Likewise.
13001 * soft-fp/testit.c: Likewise.
13002 * stdio-common/bug16.c: Likewise.
13003 * stdlib/random.c: Likewise.
13004 * sunrpc/rpcsvc/rquota.x: Likewise.
13005 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13006 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13008 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13009 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13011 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13012 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13013 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13015 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13034 * sysdeps/ieee754/s_lib_version.c: Likewise.
13035 * sysdeps/mach/hurd/check_fds.c: Likewise.
13036 * sysdeps/mach/hurd/getsockname.c: Likewise.
13037 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13038 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13039 * sysdeps/powerpc/bits/link.h: Likewise.
13040 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13041 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13042 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13043 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13044 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13045 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13046 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13048 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13049 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13051 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13052 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13053 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13054 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13055 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13059 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13061 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13064 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13074 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13075 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13076 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13080 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13081 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13082 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13083 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13084 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13085 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13087 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13088 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13089 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13092 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13093 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13094 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13095 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13096 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13099 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13100 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13101 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13102 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13104 * sysdeps/powerpc/sysdep.h: Likewise.
13105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13106 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13107 * sysdeps/sh/dl-trampoline.S: Likewise.
13108 * sysdeps/sh/memset.S: Likewise.
13109 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13110 * sysdeps/sh/strlen.S: Likewise.
13111 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13112 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13113 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13114 * sysdeps/sparc/sparc32/rem.S: Likewise.
13115 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13116 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13117 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13118 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13119 * sysdeps/sparc/sparc32/urem.S: Likewise.
13120 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13121 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13122 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13123 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13125 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13126 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13127 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13128 * sysdeps/unix/bsd/times.c: Likewise.
13129 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13130 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13134 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13136 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13138 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13141 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13143 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13145 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13146 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13147 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13148 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13150 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13151 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13152 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13153 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13154 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13157 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13158 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13159 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13160 * sysdeps/x86_64/strcspn.S: Likewise.
13162 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13164 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13165 generated file. Regenerate properly from gen-translit.pl.
13166 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13167 locale/C-translit.h.
13169 2013-06-05 Andreas Schwab <schwab@suse.de>
13172 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13173 week as 6 instead of -1.
13174 * time/tst-strptime.c (day_tests): Add test case.
13176 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13178 * sysdeps/generic/math_private.h
13179 (libc_feholdexcept_setround_53bit): Replace with
13180 libc_feholdsetround_53bit.
13181 (libc_feupdateenv_53bit): Replace with
13182 libc_feresetround_53bit.
13183 (SET_RESTORE_ROUND_53BIT): Adjust.
13185 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13187 * string/test-strchrnul.c: Add copyright header.
13189 * posix/tst-getaddrinfo4.c: Increase test timeout.
13191 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13194 * math/libm-test.inc (MAX_EXP): Remove
13196 (ulp): Use MIN_EXP - MANT_DIG.
13197 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13199 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13201 * po/be.po: Revert last change.
13202 * po/zh_CN.po: Likewise.
13203 * po/header.pot: Likewise.
13205 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13207 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13208 link-libc-deps to empty as target-specific variable.
13209 * Makerules (link-libc-args): New variable.
13210 (libc-for-link): Likewise.
13211 (link-libc-deps): Likewise.
13212 (lib%.so): Depend on $(link-libc-deps). Link with
13214 (build-module): Link with $(link-libc-args).
13215 (build-module-asneeded): Likewise.
13216 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13218 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13219 target-specific variable.
13220 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13221 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13222 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13224 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13226 ($(objpfx)libpcprofile.so): Likewise.
13227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13229 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13230 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13231 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13233 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13234 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13235 * login/Makefile ($(objpfx)libutil.so): Likewise.
13236 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13237 * math/Makefile ($(objpfx)libm.so): Likewise.
13238 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13239 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13240 variable instead of depending directly on libc.
13241 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13242 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13244 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13246 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13247 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13248 ($(objpfx)libanl.so): Likewise.
13249 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13251 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13253 * sysdeps/i386/fpu/Makefile: Remove file.
13254 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13255 ($(objpfx)libm.so): Remove dependency on ld.so.
13257 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13260 * nis/yp_xdr.c (XDRMAXNAME): Define.
13261 (XDRMAXRECORD): Define.
13262 (xdr_domainname): Use XDRMAXNAME.
13263 (xdr_mapname): Likewise.
13264 (xdr_peername): Likewise.
13265 (xdr_keydat): Use XDRMAXRECORD.
13266 (xdr_valdat): Likewise.
13268 2013-05-30 Jeff Law <law@redhat.com>
13271 * manual/errno.texi (ESTALE): Update to account for more than
13272 just NFS file systems.
13273 * sysdeps/gnu/errlist.c: Regenerated.
13275 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13278 * elf/Makefile (tests): Add tst-null-argv.
13279 (modules-names): Add tst-null-argv-lib.
13280 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13281 (tst-null-argv-ENV): Set environment for tst-null-argv.
13282 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13283 (RTLD_PROGNAME): New macro.
13284 * elf/tst-null-argv.c: New test case.
13285 * elf/tst-null-argv-lib.c: Library for test case.
13286 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13287 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13288 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13289 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13290 * elf/dl-init.c (call_init): Likewise.
13291 (_dl_init): Likewise.
13292 * elf/dl-load.c (print_search_path): Likewise.
13293 (_dl_map_object): Likewise.
13294 * elf/dl-lookup.c (do_lookup_x): Likewise.
13295 (add_dependency): Likewise.
13296 (_dl_lookup_symbol_x): Likewise.
13297 (_dl_debug_bindings): Likewise.
13298 * elf/dl-open.c (_dl_show_scope): Likewise.
13299 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13300 * elf/dl-version.c (match_symbol): Likewise.
13301 (_dl_check_map_versions): Likewise.
13302 * elf/rtld.c (dl_main): Likewise.
13303 (print_unresolved): Use RTLD_PROGNAME.
13304 (print_missing_version): Likewise.
13305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13306 (elf_machine_rela): Likewise.
13307 * sysdeps/powerpc/powerpc32/dl-machine.c
13308 (__process_machine_rela): Likewise.
13309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13311 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13313 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13315 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13322 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13324 * po/be.po: Add descriptive title.
13325 * po/zh_CN.po: Likewise.
13326 * po/header.pot: Likewise.
13328 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13330 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13332 (enlarge_archive): Likewise.
13334 2013-05-28 Ben North <ben@redfrontdoor.org>
13336 * manual/arith.texi (frexp): It is the magnitude of the return
13337 value which lies in [0.5, 1), not the return value itself.
13339 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13343 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13345 * stdio-common/bug26.c (main): Correct fscanf template.
13347 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13348 declare _dl_skip_args.
13350 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13353 * manual/platform.texi: Add missing @end deftypefun.
13355 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13358 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13359 bit of mantissa of 2^16382.
13360 * math/libm-test.inc (hypot_test_data): Add more tests.
13362 * math/libm-test.inc: Add drem and pow10 to list of tested
13364 (pow10_test): New function.
13365 (drem_test): Likewise.
13366 (drem_test_tonearest): Likewise.
13367 (drem_test_towardzero): Likewise.
13368 (drem_test_downward): Likewise.
13369 (drem_test_upward): Likewise.
13370 (main): Call the new functions.
13372 * math/libm-test.inc (finite_test_data): Remove.
13373 (finite_test): Run tests from isfinite_test_data.
13374 (gamma_test_data): Remove.
13375 (gamma_test): Run tests from lgamma_test_data.
13376 * sysdeps/i386/fpu/libm-test-ulps: Update.
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13381 * manual/platform.texi: Add PowerPC PPR function set documentation.
13382 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13385 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13387 * math/libm-test.inc (MAX_EXP): Define.
13389 (ulp): New function.
13390 (check_float_internal): Use ULPDIFF.
13391 (cpow_test): Disable failing test.
13392 (check_ulp): Test ulp() implemetnation.
13393 (main): Call check_ulp before starting tests.
13395 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13397 * math/gen-libm-test.pl (generate_testfile): Do not handle
13398 START_DATA and END_DATA.
13399 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13401 (acos_tonearest_test_data): Likewise.
13402 (acos_towardzero_test_data): Likewise.
13403 (acos_downward_test_data): Likewise.
13404 (acos_upward_test_data): Likewise.
13405 (acosh_test_data): Likewise.
13406 (asin_test_data): Likewise.
13407 (asin_tonearest_test_data): Likewise.
13408 (asin_towardzero_test_data): Likewise.
13409 (asin_downward_test_data): Likewise.
13410 (asin_upward_test_data): Likewise.
13411 (asinh_test_data): Likewise.
13412 (atan_test_data): Likewise.
13413 (atanh_test_data): Likewise.
13414 (atan2_test_data): Likewise.
13415 (cabs_test_data): Likewise.
13416 (cacos_test_data): Likewise.
13417 (cacosh_test_data): Likewise.
13418 (carg_test_data): Likewise.
13419 (casin_test_data): Likewise.
13420 (casinh_test_data): Likewise.
13421 (catan_test_data): Likewise.
13422 (catanh_test_data): Likewise.
13423 (cbrt_test_data): Likewise.
13424 (ccos_test_data): Likewise.
13425 (ccosh_test_data): Likewise.
13426 (ceil_test_data): Likewise.
13427 (cexp_test_data): Likewise.
13428 (cimag_test_data): Likewise.
13429 (clog_test_data): Likewise.
13430 (clog10_test_data): Likewise.
13431 (conj_test_data): Likewise.
13432 (copysign_test_data): Likewise.
13433 (cos_test_data): Likewise.
13434 (cos_tonearest_test_data): Likewise.
13435 (cos_towardzero_test_data): Likewise.
13436 (cos_downward_test_data): Likewise.
13437 (cos_upward_test_data): Likewise.
13438 (cosh_test_data): Likewise.
13439 (cosh_tonearest_test_data): Likewise.
13440 (cosh_towardzero_test_data): Likewise.
13441 (cosh_downward_test_data): Likewise.
13442 (cosh_upward_test_data): Likewise.
13443 (cpow_test_data): Likewise.
13444 (cproj_test_data): Likewise.
13445 (creal_test_data): Likewise.
13446 (csin_test_data): Likewise.
13447 (csinh_test_data): Likewise.
13448 (csqrt_test_data): Likewise.
13449 (ctan_test_data): Likewise.
13450 (ctan_tonearest_test_data): Likewise.
13451 (ctan_towardzero_test_data): Likewise.
13452 (ctan_downward_test_data): Likewise.
13453 (ctan_upward_test_data): Likewise.
13454 (ctanh_test_data): Likewise.
13455 (ctanh_tonearest_test_data): Likewise.
13456 (ctanh_towardzero_test_data): Likewise.
13457 (ctanh_downward_test_data): Likewise.
13458 (ctanh_upward_test_data): Likewise.
13459 (erf_test_data): Likewise.
13460 (erfc_test_data): Likewise.
13461 (exp_test_data): Likewise.
13462 (exp_tonearest_test_data): Likewise.
13463 (exp_towardzero_test_data): Likewise.
13464 (exp_downward_test_data): Likewise.
13465 (exp_upward_test_data): Likewise.
13466 (exp10_test_data): Likewise.
13467 (exp2_test_data): Likewise.
13468 (expm1_test_data): Likewise.
13469 (fabs_test_data): Likewise.
13470 (fdim_test_data): Likewise.
13471 (finite_test_data): Likewise.
13472 (floor_test_data): Likewise.
13473 (fma_test_data): Likewise.
13474 (fma_towardzero_test_data): Likewise.
13475 (fma_downward_test_data): Likewise.
13476 (fma_upward_test_data): Likewise.
13477 (fmax_test_data): Likewise.
13478 (fmin_test_data): Likewise.
13479 (fmod_test_data): Likewise.
13480 (fpclassify_test_data): Likewise.
13481 (frexp_test_data): Likewise.
13482 (gamma_test_data): Likewise.
13483 (hypot_test_data): Likewise.
13484 (ilogb_test_data): Likewise.
13485 (isfinite_test_data): Likewise.
13486 (isgreater_test_data): Likewise.
13487 (isgreaterequal_test_data): Likewise.
13488 (isinf_test_data): Likewise.
13489 (isless_test_data): Likewise.
13490 (islessequal_test_data): Likewise.
13491 (islessgreater_test_data): Likewise.
13492 (isnan_test_data): Likewise.
13493 (isnormal_test_data): Likewise.
13494 (issignaling_test_data): Likewise.
13495 (isunordered_test_data): Likewise.
13496 (j0_test_data): Likewise.
13497 (j1_test_data): Likewise.
13498 (jn_test_data): Likewise.
13499 (ldexp_test_data): Likewise.
13500 (lgamma_test_data): Likewise.
13501 (lrint_test_data): Likewise.
13502 (lrint_tonearest_test_data): Likewise.
13503 (lrint_towardzero_test_data): Likewise.
13504 (lrint_downward_test_data): Likewise.
13505 (lrint_upward_test_data): Likewise.
13506 (llrint_test_data): Likewise.
13507 (llrint_tonearest_test_data): Likewise.
13508 (llrint_towardzero_test_data): Likewise.
13509 (llrint_downward_test_data): Likewise.
13510 (llrint_upward_test_data): Likewise.
13511 (log_test_data): Likewise.
13512 (log10_test_data): Likewise.
13513 (log1p_test_data): Likewise.
13514 (log2_test_data): Likewise.
13515 (logb_test_data): Likewise.
13516 (logb_downward_test_data): Likewise.
13517 (lround_test_data): Likewise.
13518 (llround_test_data): Likewise.
13519 (modf_test_data): Likewise.
13520 (nearbyint_test_data): Likewise.
13521 (nextafter_test_data): Likewise.
13522 (nexttoward_test_data): Likewise.
13523 (pow_test_data): Likewise.
13524 (pow_tonearest_test_data): Likewise.
13525 (pow_towardzero_test_data): Likewise.
13526 (pow_downward_test_data): Likewise.
13527 (pow_upward_test_data): Likewise.
13528 (remainder_test_data): Likewise.
13529 (remainder_tonearest_test_data): Likewise.
13530 (remainder_towardzero_test_data): Likewise.
13531 (remainder_downward_test_data): Likewise.
13532 (remainder_upward_test_data): Likewise.
13533 (remquo_test_data): Likewise.
13534 (rint_test_data): Likewise.
13535 (rint_tonearest_test_data): Likewise.
13536 (rint_towardzero_test_data): Likewise.
13537 (rint_downward_test_data): Likewise.
13538 (rint_upward_test_data): Likewise.
13539 (round_test_data): Likewise.
13540 (scalb_test_data): Likewise.
13541 (scalbn_test_data): Likewise.
13542 (scalbln_test_data): Likewise.
13543 (signbit_test_data): Likewise.
13544 (sin_test_data): Likewise.
13545 (sin_tonearest_test_data): Likewise.
13546 (sin_towardzero_test_data): Likewise.
13547 (sin_downward_test_data): Likewise.
13548 (sin_upward_test_data): Likewise.
13549 (sincos_test_data): Likewise.
13550 (sinh_test_data): Likewise.
13551 (sinh_tonearest_test_data): Likewise.
13552 (sinh_towardzero_test_data): Likewise.
13553 (sinh_downward_test_data): Likewise.
13554 (sinh_upward_test_data): Likewise.
13555 (sqrt_test_data): Likewise.
13556 (tan_test_data): Likewise.
13557 (tan_tonearest_test_data): Likewise.
13558 (tan_towardzero_test_data): Likewise.
13559 (tan_downward_test_data): Likewise.
13560 (tan_upward_test_data): Likewise.
13561 (tanh_test_data): Likewise.
13562 (tgamma_test_data): Likewise.
13563 (trunc_test_data): Likewise.
13564 (y0_test_data): Likewise.
13565 (y1_test_data): Likewise.
13566 (yn_test_data): Likewise.
13567 (significand_test_data): Likewise.
13569 * math/gen-libm-test.pl (@functions): Remove variable.
13570 (generate_testfile): Don't handle START and END lines.
13571 * math/libm-test.inc (START): New macro.
13573 (END_COMPLEX): Likewise.
13574 (acos_test): Use END macro without arguments.
13575 (acos_test_tonearest): Likewise.
13576 (acos_test_towardzero): Likewise.
13577 (acos_test_downward): Likewise.
13578 (acos_test_upward): Likewise.
13579 (acosh_test): Likewise.
13580 (asin_test): Likewise.
13581 (asin_test_tonearest): Likewise.
13582 (asin_test_towardzero): Likewise.
13583 (asin_test_downward): Likewise.
13584 (asin_test_upward): Likewise.
13585 (asinh_test): Likewise.
13586 (atan_test): Likewise.
13587 (atanh_test): Likewise.
13588 (atan2_test): Likewise.
13589 (cabs_test): Likewise.
13590 (cacos_test): Use END_COMPLEX macro without arguments.
13591 (cacosh_test): Likewise.
13592 (carg_test): Use END macro without arguments.
13593 (casin_test): Use END_COMPLEX macro without arguments.
13594 (casinh_test): Likewise.
13595 (catan_test): Likewise.
13596 (catanh_test): Likewise.
13597 (cbrt_test): Use END macro without arguments.
13598 (ccos_test): Use END_COMPLEX macro without arguments.
13599 (ccosh_test): Likewise.
13600 (ceil_test): Use END macro without arguments.
13601 (cexp_test): Use END_COMPLEX macro without arguments.
13602 (cimag_test): Use END macro without arguments.
13603 (clog_test): Use END_COMPLEX macro without arguments.
13604 (clog10_test): Likewise.
13605 (conj_test): Likewise.
13606 (copysign_test): Use END macro without arguments.
13607 (cos_test): Likewise.
13608 (cos_test_tonearest): Likewise.
13609 (cos_test_towardzero): Likewise.
13610 (cos_test_downward): Likewise.
13611 (cos_test_upward): Likewise.
13612 (cosh_test): Likewise.
13613 (cosh_test_tonearest): Likewise.
13614 (cosh_test_towardzero): Likewise.
13615 (cosh_test_downward): Likewise.
13616 (cosh_test_upward): Likewise.
13617 (cpow_test): Use END_COMPLEX macro without arguments.
13618 (cproj_test): Likewise.
13619 (creal_test): Use END macro without arguments.
13620 (csin_test): Use END_COMPLEX macro without arguments.
13621 (csinh_test): Likewise.
13622 (csqrt_test): Likewise.
13623 (ctan_test): Likewise.
13624 (ctan_test_tonearest): Likewise.
13625 (ctan_test_towardzero): Likewise.
13626 (ctan_test_downward): Likewise.
13627 (ctan_test_upward): Likewise.
13628 (ctanh_test): Likewise.
13629 (ctanh_test_tonearest): Likewise.
13630 (ctanh_test_towardzero): Likewise.
13631 (ctanh_test_downward): Likewise.
13632 (ctanh_test_upward): Likewise.
13633 (erf_test): Use END macro without arguments.
13634 (erfc_test): Likewise.
13635 (exp_test): Likewise.
13636 (exp_test_tonearest): Likewise.
13637 (exp_test_towardzero): Likewise.
13638 (exp_test_downward): Likewise.
13639 (exp_test_upward): Likewise.
13640 (exp10_test): Likewise.
13641 (exp2_test): Likewise.
13642 (expm1_test): Likewise.
13643 (fabs_test): Likewise.
13644 (fdim_test): Likewise.
13645 (finite_test): Likewise.
13646 (floor_test): Likewise.
13647 (fma_test): Likewise.
13648 (fma_test_towardzero): Likewise.
13649 (fma_test_downward): Likewise.
13650 (fma_test_upward): Likewise.
13651 (fmax_test): Likewise.
13652 (fmin_test): Likewise.
13653 (fmod_test): Likewise.
13654 (fpclassify_test): Likewise.
13655 (frexp_test): Likewise.
13656 (gamma_test): Likewise.
13657 (hypot_test): Likewise.
13658 (ilogb_test): Likewise.
13659 (isfinite_test): Likewise.
13660 (isgreater_test): Likewise.
13661 (isgreaterequal_test): Likewise.
13662 (isinf_test): Likewise.
13663 (isless_test): Likewise.
13664 (islessequal_test): Likewise.
13665 (islessgreater_test): Likewise.
13666 (isnan_test): Likewise.
13667 (isnormal_test): Likewise.
13668 (issignaling_test): Likewise.
13669 (isunordered_test): Likewise.
13670 (j0_test): Likewise.
13671 (j1_test): Likewise.
13672 (jn_test): Likewise.
13673 (ldexp_test): Likewise.
13674 (lgamma_test): Likewise.
13675 (lrint_test): Likewise.
13676 (lrint_test_tonearest): Likewise.
13677 (lrint_test_towardzero): Likewise.
13678 (lrint_test_downward): Likewise.
13679 (lrint_test_upward): Likewise.
13680 (llrint_test): Likewise.
13681 (llrint_test_tonearest): Likewise.
13682 (llrint_test_towardzero): Likewise.
13683 (llrint_test_downward): Likewise.
13684 (llrint_test_upward): Likewise.
13685 (log_test): Likewise.
13686 (log10_test): Likewise.
13687 (log1p_test): Likewise.
13688 (log2_test): Likewise.
13689 (logb_test): Likewise.
13690 (logb_test_downward): Likewise.
13691 (lround_test): Likewise.
13692 (llround_test): Likewise.
13693 (modf_test): Likewise.
13694 (nearbyint_test): Likewise.
13695 (nextafter_test): Likewise.
13696 (nexttoward_test): Likewise.
13697 (pow_test): Likewise.
13698 (pow_test_tonearest): Likewise.
13699 (pow_test_towardzero): Likewise.
13700 (pow_test_downward): Likewise.
13701 (pow_test_upward): Likewise.
13702 (remainder_test): Likewise.
13703 (remainder_test_tonearest): Likewise.
13704 (remainder_test_towardzero): Likewise.
13705 (remainder_test_downward): Likewise.
13706 (remainder_test_upward): Likewise.
13707 (remquo_test): Likewise.
13708 (rint_test): Likewise.
13709 (rint_test_tonearest): Likewise.
13710 (rint_test_towardzero): Likewise.
13711 (rint_test_downward): Likewise.
13712 (rint_test_upward): Likewise.
13713 (round_test): Likewise.
13714 (scalb_test): Likewise.
13715 (scalbn_test): Likewise.
13716 (scalbln_test): Likewise.
13717 (signbit_test): Likewise.
13718 (sin_test): Likewise.
13719 (sin_test_tonearest): Likewise.
13720 (sin_test_towardzero): Likewise.
13721 (sin_test_downward): Likewise.
13722 (sin_test_upward): Likewise.
13723 (sincos_test): Likewise.
13724 (sinh_test): Likewise.
13725 (sinh_test_tonearest): Likewise.
13726 (sinh_test_towardzero): Likewise.
13727 (sinh_test_downward): Likewise.
13728 (sinh_test_upward): Likewise.
13729 (sqrt_test): Likewise.
13730 (tan_test): Likewise.
13731 (tan_test_tonearest): Likewise.
13732 (tan_test_towardzero): Likewise.
13733 (tan_test_downward): Likewise.
13734 (tan_test_upward): Likewise.
13735 (tanh_test): Likewise.
13736 (tgamma_test): Likewise.
13737 (trunc_test): Likewise.
13738 (y0_test): Likewise.
13739 (y1_test): Likewise.
13740 (yn_test): Likewise.
13741 (significand_test): Likewise.
13743 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13746 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13748 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13751 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13752 __ppc_mdoio and __ppc_mdoom.
13753 * manual/platform.texi: Document new functions __ppc_yield,
13754 __ppc_mdoio and __ppc_mdoom.
13756 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13758 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13759 (main): Mention "tls" pseudo-hwcap is legacy.
13760 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13762 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13764 * math/gen-libm-test.pl (parse_args): Output only string of
13765 arguments as text for test name, not full call or descriptions of
13766 tests for extra outputs.
13767 (generate_testfile): Do not pass function name to parse_args.
13768 Generate this_func variable from START.
13769 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13771 (struct test_ff_f_data): Likewise.
13772 (test_ff_f_data_nexttoward): Likewise.
13773 (struct test_fi_f_data): Likewise.
13774 (struct test_fl_f_data): Likewise.
13775 (struct test_if_f_data): Likewise.
13776 (struct test_fff_f_data): Likewise.
13777 (struct test_c_f_data): Likewise.
13778 (struct test_f_f1_data): Likewise. Remove field extra_name.
13779 (struct test_fF_f1_data): Likewise.
13780 (struct test_ffI_f1_data): Likewise.
13781 (struct test_c_c_data): Rename test_name field to arg_str.
13782 (struct test_cc_c_data): Likewise.
13783 (struct test_f_i_data): Likewise.
13784 (struct test_ff_i_data): Likewise.
13785 (struct test_f_l_data): Likewise.
13786 (struct test_f_L_data): Likewise.
13787 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13789 (COMMON_TEST_SETUP): New macro.
13790 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13791 (COMMON_TEST_CLEANUP): Likewise.
13792 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13793 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13795 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13796 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13798 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13799 (RUN_TEST_fff_f): Take argument string. Call new setup and
13801 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13802 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13804 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13805 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13807 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13808 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13810 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13811 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13813 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13814 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13816 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13817 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13819 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13820 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13822 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13823 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13825 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13826 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13828 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13829 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13831 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13832 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13834 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13835 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13837 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13838 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13840 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13841 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13843 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13844 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13846 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13848 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13850 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13851 to _sifields.sigfault.
13852 (si_addr_lsb): Define new macro.
13853 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13857 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13860 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13862 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13864 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13865 loading the domain.
13867 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13869 * math/gen-libm-test.pl (parse_args): Do not include expected
13870 result in test name.
13871 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13878 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13880 * benchtests/Makefile: Sort function entries.
13882 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13883 tanh, asinh, acosh, atanh.
13884 * benchtests/acos-inputs: New file.
13885 * benchtests/acosh-inputs: New file.
13886 * benchtests/asin-inputs: New file.
13887 * benchtests/asinh-inputs: New file.
13888 * benchtests/atanh-inputs: New file.
13889 * benchtests/cosh-inputs: New file.
13890 * benchtests/log-inputs: New file.
13891 * benchtests/sinh-inputs: New file.
13892 * benchtests/tanh-inputs: New file.
13894 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13897 * posix/tst-getaddrinfo4.c: New test.
13898 * posix/Makefile (tests): Add it.
13900 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13903 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13904 when no services were used.
13905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13906 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13908 2013-05-21 Andreas Schwab <schwab@suse.de>
13911 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13912 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13914 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13915 redundant variable declarations and reallocation of buffer when
13916 parsing as IPv6 address. Always set NSS status when called from
13917 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13918 buffer too small. Correct computation of needed size.
13919 * nss/Makefile (tests): Add test-digits-dots.
13920 * nss/test-digits-dots.c: New test.
13922 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13924 * benchtests/Makefile: Remove instructions for adding
13926 * benchtests/README: New file to explain how to execute and
13927 enhance the benchmark tests.
13929 2013-05-21 Andreas Schwab <schwab@suse.de>
13932 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13933 * setjmp/tst-sigsetjmp.c: New test.
13935 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13937 * sysdeps/x86_64/memset.S (memset): New implementation.
13938 (__bzero): Likewise.
13939 (__memset_tail): New function.
13941 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13943 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13944 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13945 __memcpy_sse2_unaligned ifunc selection.
13946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13947 Add memcpy-sse2-unaligned.S.
13948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13949 Add: __memcpy_sse2_unaligned.
13951 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13955 math_force_eval before restoring floating-point envrionment.
13956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13959 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13961 (__nearbyintl): Use math_force_eval before restoring
13962 floating-point environment.
13963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13965 * math/gen-libm-test.pl (special_functions): Remove.
13966 (parse_args): Don't handle TEST_extra. Handle functions with no
13968 * math/libm-test.inc (struct test_sincos_data): Replace with
13969 struct test_fFF_11_data.
13970 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13971 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13972 (sincos_test_data): Change element type to struct
13973 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13974 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13975 RUN_TEST_LOOP_sincos.
13976 * math/README.libm-test: Don't mention special handling of
13977 individual functions.
13978 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985 * math/gen-libm-test.pl (get_variable): Remove function.
13986 (parse_args): Don't show pointer parameters to call in test
13987 names. Use "extra output N" in test names for extra outputs
13988 rather than naming variables.
13990 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13993 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13994 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13995 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13997 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13999 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14002 * math/gen-libm-test.pl (@tests): Remove variable.
14003 ($count): Likewise.
14004 (new_test): Remove function.
14005 (show_exceptions): New function.
14006 (special_functions): Use show_exceptions instead of new_test.
14007 (parse_args): Likewise.
14008 (generate_testfile): Pass only function name in generated call to
14009 print_max_error or print_complex_max_error.
14010 (get_ulps): Do not handle complex tests specially.
14011 (output_test): Rename to ...
14012 (get_all_ulps_for_test): ... this. Return a string rather than
14013 printing to a file. Require ulps to be present.
14014 (output_ulps): Generate arrays rather than #defines.
14015 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14016 (struct ulp_data): New type.
14017 (BUILD_COMPLEX_ULP): Remove macro.
14018 (compare_ulp_data): New function.
14019 (find_ulps): Likewise.
14020 (find_test_ulps): Likewise.
14021 (find_function_ulps): Likewise.
14022 (find_complex_function_ulps): Likewise.
14023 (print_max_error): Determine allowed ulps using
14024 find_function_ulps.
14025 (print_complex_max_error): Determine allowed ulps using
14026 find_complex_function_ulps.
14027 (check_float_internal): Determine max ulps using find_test_ulps.
14028 (check_float): Do not take max_ulp parameter. Update call to
14029 check_float_internal.
14030 (check_complex): Likewise.
14031 (check_int): Do not take max_ulp parameter.
14032 (check_long): Likewise.
14033 (check_bool): Likewise.
14034 (check_longlong): Likewise.
14035 (struct test_f_f_data): Remove max_ulp field.
14036 (struct test_ff_f_data): Likewise.
14037 (struct test_ff_f_data_nexttoward): Likewise.
14038 (struct test_fi_f_data): Likewise.
14039 (struct test_fl_f_data): Likewise.
14040 (struct test_if_f_data): Likewise.
14041 (struct test_fff_f_data): Likewise.
14042 (struct test_c_f_data): Likewise.
14043 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14044 (struct test_fF_f1_data): Likewise.
14045 (struct test_ffI_f1_data): Likewise.
14046 (struct test_c_c_data): Remove max_ulp field.
14047 (struct test_cc_c_data): Likewise.
14048 (struct test_f_i_data): Likewise.
14049 (struct test_ff_i_data): Likewise.
14050 (struct test_f_l_data): Likewise.
14051 (struct test_f_L_data): Likewise.
14052 (struct test_sincos_data): Likewise.
14053 (RUN_TEST_f_f): Do not handle ulps.
14054 (RUN_TEST_LOOP_f_f): Likewise.
14055 (RUN_TEST_2_f): Likewise.
14056 (RUN_TEST_LOOP_2_f): Likewise.
14057 (RUN_TEST_fff_f): Likewise.
14058 (RUN_TEST_LOOP_fff_f): Likewise.
14059 (RUN_TEST_c_f): Likewise.
14060 (RUN_TEST_LOOP_c_f): Likewise.
14061 (RUN_TEST_f_f1): Likewise.
14062 (RUN_TEST_LOOP_f_f1): Likewise.
14063 (RUN_TEST_fF_f1): Likewise.
14064 (RUN_TEST_LOOP_fF_f1): Likewise.
14065 (RUN_TEST_fI_f1): Likewise.
14066 (RUN_TEST_LOOP_fI_f1): Likewise.
14067 (RUN_TEST_ffI_f1): Likewise.
14068 (RUN_TEST_LOOP_ffI_f1): Likewise.
14069 (RUN_TEST_c_c): Likewise.
14070 (RUN_TEST_LOOP_c_c): Likewise.
14071 (RUN_TEST_cc_c): Likewise.
14072 (RUN_TEST_LOOP_cc_c): Likewise.
14073 (RUN_TEST_f_i): Likewise.
14074 (RUN_TEST_LOOP_f_i): Likewise.
14075 (RUN_TEST_f_i_tg): Likewise.
14076 (RUN_TEST_LOOP_f_i_tg): Likewise.
14077 (RUN_TEST_ff_i_tg): Likewise.
14078 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14079 (RUN_TEST_f_b): Likewise.
14080 (RUN_TEST_LOOP_f_b): Likewise.
14081 (RUN_TEST_f_b_tg): Likewise.
14082 (RUN_TEST_LOOP_f_b_tg): Likewise.
14083 (RUN_TEST_f_l): Likewise.
14084 (RUN_TEST_LOOP_f_l): Likewise.
14085 (RUN_TEST_f_L): Likewise.
14086 (RUN_TEST_LOOP_f_L): Likewise.
14087 (RUN_TEST_sincos): Likewise.
14088 (RUN_TEST_LOOP_sincos): Likewise.
14090 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14094 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14095 main case of finite arguments, set rounding mode to FE_TONEAREST
14096 and discard exceptions.
14097 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14099 (remainder_tonearest_test_data): New variable.
14100 (remainder_test_tonearest): New function.
14101 (remainder_towardzero_test_data): New variable.
14102 (remainder_test_towardzero): New function.
14103 (remainder_downward_test_data): New variable.
14104 (remainder_test_downward): New function.
14105 (remainder_upward_test_data): New variable.
14106 (remainder_test_upward): New function.
14107 (main): Call the new test functions.
14109 * math/libm-test.inc (struct test_f_f1_data): Remove field
14111 (struct test_fF_f1_data): Likewise.
14112 (struct test_ffI_f1_data): Likewise.
14113 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14114 based on value of EXTRA_EXPECTED.
14115 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14116 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14117 EXTRA_VAR based on value of EXTRA_EXPECTED.
14118 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14119 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14120 EXTRA_VAR based on value of EXTRA_EXPECTED.
14121 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14122 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14123 EXTRA_VAR based on value of EXTRA_EXPECTED.
14124 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14125 * math/gen-libm-test.pl (parse_args): Don't output initializers
14126 for extra output values.
14128 * math/libm-test.inc (check_int): Expect result to be exactly
14129 equal to expected value and do not handle ulps.
14130 (check_long): Likewise.
14131 (check_longlong): Likewise.
14133 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14135 (cimag_test_data): Likewise.
14136 (conj_test_data): Likewise.
14137 (copysign_test_data): Likewise.
14138 (cproj_test_data): Likewise.
14139 (creal_test_data): Likewise.
14140 (fabs_test_data): Likewise.
14141 (fdim_test_data): Likewise.
14142 (finite_test_data): Likewise.
14143 (floor_test_data): Likewise.
14144 (fmax_test_data): Likewise.
14145 (fmin_test_data): Likewise.
14146 (fmod_test_data): Likewise.
14147 (fpclassify_test_data): Likewise.
14148 (frexp_test_data): Likewise.
14149 (ilogb_test_data): Likewise.
14150 (isfinite_test_data): Likewise.
14151 (isgreater_test_data): Likewise.
14152 (isgreaterequal_test_data): Likewise.
14153 (isinf_test_data): Likewise.
14154 (isless_test_data): Likewise.
14155 (islessequal_test_data): Likewise.
14156 (islessgreater_test_data): Likewise.
14157 (isnan_test_data): Likewise.
14158 (isnormal_test_data): Likewise.
14159 (issignaling_test_data): Likewise.
14160 (isunordered_test_data): Likewise.
14161 (ldexp_test_data): Likewise.
14162 (lrint_test_data): Likewise.
14163 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14164 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14165 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14166 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14167 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14168 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14170 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14171 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14172 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14173 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14175 (lrint_downward_test_data): Test for "inexact" exceptions.
14176 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14177 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14178 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14180 (lrint_upward_test_data): Test for "inexact" exceptions.
14181 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14183 (llrint_test_data): Test for "inexact" exceptions.
14184 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14185 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14186 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14187 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14188 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14189 (llrint_downward_test_data): Test for "inexact" exceptions.
14190 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14191 (llrint_upward_test_data): Test for "inexact" exceptions.
14192 (logb_test_data): Likewise.
14193 (logb_downward_test_data): Likewise.
14194 (nextafter_test_data): Likewise.
14195 (nexttoward_test_data): Likewise.
14196 (remainder_test_data): Likewise.
14197 (remquo_test_data): Likewise.
14198 (scalbn_test_data): Likewise.
14199 (scalbln_test_data): Likewise.
14200 (signbit_test_data): Likewise.
14201 (sqrt_test_data): Likewise.
14202 (significand_test_data): Likewise.
14204 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14207 * benchtests/bench-modf.c (struct args): Mark arg0 as
14209 * scripts/bench.pl: Mark members of struct args as volatile.
14211 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14214 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14215 negative infinity on POWER6 or lower.
14216 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14218 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14221 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14222 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14223 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14224 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14225 (_FP_SETQNAN): New macro.
14226 (_FP_SETQNAN_SEMIRAW): Likewise.
14227 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14228 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14229 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14230 (FP_EXTEND): Use _FP_FRAC_SNANP.
14231 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14232 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14239 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14241 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14242 with DIVIDE_BY_ZERO_EXCEPTION.
14243 (gamma_test_data): Likewise.
14244 (lgamma_test_data): Likewise.
14245 (log_test_data): Likewise.
14246 (log10_test_data): Likewise.
14247 (log2_test_data): Likewise.
14248 (tgamma_test_data): Likewise.
14250 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14251 (acos_test_tonearest): Likewise.
14252 (acos_test_towardzero): Likewise.
14253 (acos_test_downward): Likewise.
14254 (acos_test_upward): Likewise.
14255 (acosh_test): Likewise.
14256 (asin_test): Likewise.
14257 (asin_test_tonearest): Likewise.
14258 (asin_test_towardzero): Likewise.
14259 (asin_test_downward): Likewise.
14260 (asin_test_upward): Likewise.
14261 (asinh_test): Likewise.
14262 (atan_test): Likewise.
14263 (atanh_test): Likewise.
14264 (atan2_test): Likewise.
14265 (cabs_test): Likewise.
14266 (cacos_test): Likewise.
14267 (cacosh_test): Likewise.
14268 (casin_test): Likewise.
14269 (casinh_test): Likewise.
14270 (catan_test): Likewise.
14271 (catanh_test): Likewise.
14272 (cbrt_test): Likewise.
14273 (ccos_test): Likewise.
14274 (ccosh_test): Likewise.
14275 (cexp_test): Likewise.
14276 (clog_test): Likewise.
14277 (clog10_test): Likewise.
14278 (cos_test): Likewise.
14279 (cos_test_tonearest): Likewise.
14280 (cos_test_towardzero): Likewise.
14281 (cos_test_downward): Likewise.
14282 (cos_test_upward): Likewise.
14283 (cosh_test): Likewise.
14284 (cosh_test_tonearest): Likewise.
14285 (cosh_test_towardzero): Likewise.
14286 (cosh_test_downward): Likewise.
14287 (cosh_test_upward): Likewise.
14288 (cpow_test): Likewise.
14289 (csin_test): Likewise.
14290 (csinh_test): Likewise.
14291 (csqrt_test): Likewise.
14292 (ctan_test): Likewise.
14293 (ctan_test_tonearest): Likewise.
14294 (ctan_test_towardzero): Likewise.
14295 (ctan_test_downward): Likewise.
14296 (ctan_test_upward): Likewise.
14297 (ctanh_test): Likewise.
14298 (ctanh_test_tonearest): Likewise.
14299 (ctanh_test_towardzero): Likewise.
14300 (ctanh_test_downward): Likewise.
14301 (ctanh_test_upward): Likewise.
14302 (erf_test): Likewise.
14303 (erfc_test): Likewise.
14304 (exp_test): Likewise.
14305 (exp_test_tonearest): Likewise.
14306 (exp_test_towardzero): Likewise.
14307 (exp_test_downward): Likewise.
14308 (exp_test_upward): Likewise.
14309 (exp10_test): Likewise.
14310 (exp2_test): Likewise.
14311 (expm1_test): Likewise.
14312 (fmod_test): Likewise.
14313 (gamma_test): Likewise.
14314 (hypot_test): Likewise.
14315 (j0_test): Likewise.
14316 (j1_test): Likewise.
14317 (jn_test): Likewise.
14318 (lgamma_test): Likewise.
14319 (log_test): Likewise.
14320 (log10_test): Likewise.
14321 (log1p_test): Likewise.
14322 (log2_test): Likewise.
14323 (logb_test_downward): Likewise.
14324 (pow_test): Likewise.
14325 (pow_test_tonearest): Likewise.
14326 (pow_test_towardzero): Likewise.
14327 (pow_test_downward): Likewise.
14328 (pow_test_upward): Likewise.
14329 (remainder_test): Likewise.
14330 (remquo_test): Likewise.
14331 (sin_test): Likewise.
14332 (sin_test_tonearest): Likewise.
14333 (sin_test_towardzero): Likewise.
14334 (sin_test_downward): Likewise.
14335 (sin_test_upward): Likewise.
14336 (sincos_test): Likewise.
14337 (sinh_test): Likewise.
14338 (sinh_test_tonearest): Likewise.
14339 (sinh_test_towardzero): Likewise.
14340 (sinh_test_downward): Likewise.
14341 (sinh_test_upward): Likewise.
14342 (sqrt_test): Likewise.
14343 (tan_test): Likewise.
14344 (tan_test_tonearest): Likewise.
14345 (tan_test_towardzero): Likewise.
14346 (tan_test_downward): Likewise.
14347 (tan_test_upward): Likewise.
14348 (tanh_test): Likewise.
14349 (tgamma_test): Likewise.
14350 (y0_test): Likewise.
14351 (y1_test): Likewise.
14352 (yn_test): Likewise.
14354 * math/gen-libm-test.pl (adjust_arg): Remove function.
14355 (special_function): Remove argument $in_func. Only handle
14356 generating output for tables of tests, not inside functions.
14357 (parse_args): Likewise.
14358 (generate_testfile): Remove variable $in_func. Update call to
14360 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14361 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14362 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14363 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14364 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14365 (MAX_VALUE_INIT): Rename macro to max_value.
14366 (MIN_VALUE_INIT): Rename macro to min_value.
14367 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14368 (plus_zero): Remove variable.
14369 (minus_zero): Likewise.
14370 (plus_infty): Likewise.
14371 (minus_infty): Likewise.
14372 (qnan_value): Likewise.
14373 (max_value): Likewise.
14374 (min_value): Likewise.
14375 (min_subnorm_value): Likewise.
14377 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14379 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14380 uint64_t or uint32_t usage.
14381 * crypt/sha256-block.c: Likewise.
14382 * crypt/sha256-crypt.c: Likewise.
14383 * crypt/sha256.c: Likewise.
14384 * crypt/sha512-block.c: Likewise.
14385 * crypt/sha512-crypt.c: Likewise.
14386 * crypt/sha512.c: Likewise.
14387 * debug/backtrace-tst.c: Likewise.
14388 * debug/pcprofiledump.c: Likewise.
14389 * elf/cache.c: Likewise.
14390 * elf/dl-cache.c: Likewise.
14391 * elf/dl-misc.c: Likewise.
14392 * elf/dl-profile.c: Likewise.
14393 * elf/dl-support.c: Likewise.
14394 * elf/ldconfig.c: Likewise.
14395 * elf/sprof.c: Likewise.
14396 * iconv/dummy-repertoire.c: Likewise.
14397 * iconv/iconv_charmap.c: Likewise.
14398 * iconv/skeleton.c: Likewise.
14399 * iconvdata/8bit-generic.c: Likewise.
14400 * iconvdata/cp737.h: Likewise.
14401 * iconvdata/cp775.h: Likewise.
14402 * iconvdata/ibm1008.h: Likewise.
14403 * iconvdata/ibm1025.h: Likewise.
14404 * iconvdata/ibm1046.h: Likewise.
14405 * iconvdata/ibm1097.h: Likewise.
14406 * iconvdata/ibm1112.h: Likewise.
14407 * iconvdata/ibm1122.h: Likewise.
14408 * iconvdata/ibm1123.h: Likewise.
14409 * iconvdata/ibm1124.h: Likewise.
14410 * iconvdata/ibm1129.h: Likewise.
14411 * iconvdata/ibm1130.h: Likewise.
14412 * iconvdata/ibm1132.h: Likewise.
14413 * iconvdata/ibm1133.h: Likewise.
14414 * iconvdata/ibm1137.h: Likewise.
14415 * iconvdata/ibm1140.h: Likewise.
14416 * iconvdata/ibm1141.h: Likewise.
14417 * iconvdata/ibm1142.h: Likewise.
14418 * iconvdata/ibm1143.h: Likewise.
14419 * iconvdata/ibm1144.h: Likewise.
14420 * iconvdata/ibm1145.h: Likewise.
14421 * iconvdata/ibm1146.h: Likewise.
14422 * iconvdata/ibm1147.h: Likewise.
14423 * iconvdata/ibm1148.h: Likewise.
14424 * iconvdata/ibm1149.h: Likewise.
14425 * iconvdata/ibm1153.h: Likewise.
14426 * iconvdata/ibm1154.h: Likewise.
14427 * iconvdata/ibm1155.h: Likewise.
14428 * iconvdata/ibm1156.h: Likewise.
14429 * iconvdata/ibm1157.h: Likewise.
14430 * iconvdata/ibm1158.h: Likewise.
14431 * iconvdata/ibm1160.h: Likewise.
14432 * iconvdata/ibm1161.h: Likewise.
14433 * iconvdata/ibm1162.h: Likewise.
14434 * iconvdata/ibm1163.h: Likewise.
14435 * iconvdata/ibm1164.h: Likewise.
14436 * iconvdata/ibm1166.h: Likewise.
14437 * iconvdata/ibm1167.h: Likewise.
14438 * iconvdata/ibm12712.h: Likewise.
14439 * iconvdata/ibm1390.h: Likewise.
14440 * iconvdata/ibm1399.h: Likewise.
14441 * iconvdata/ibm16804.h: Likewise.
14442 * iconvdata/ibm4517.h: Likewise.
14443 * iconvdata/ibm4899.h: Likewise.
14444 * iconvdata/ibm4909.h: Likewise.
14445 * iconvdata/ibm4971.h: Likewise.
14446 * iconvdata/ibm5347.h: Likewise.
14447 * iconvdata/ibm803.h: Likewise.
14448 * iconvdata/ibm856.h: Likewise.
14449 * iconvdata/ibm901.h: Likewise.
14450 * iconvdata/ibm902.h: Likewise.
14451 * iconvdata/ibm9030.h: Likewise.
14452 * iconvdata/ibm9066.h: Likewise.
14453 * iconvdata/ibm921.h: Likewise.
14454 * iconvdata/ibm922.h: Likewise.
14455 * iconvdata/ibm9448.h: Likewise.
14456 * iconvdata/isiri-3342.h: Likewise.
14457 * iconvdata/jis0201.h: Likewise.
14458 * include/link.h: Likewise.
14459 * include/netdb.h: Likewise.
14460 * inet/check_native.c: Likewise.
14461 * inet/check_pf.c: Likewise.
14462 * inet/getipv4sourcefilter.c: Likewise.
14463 * inet/getnameinfo.c: Likewise.
14464 * inet/getsourcefilter.c: Likewise.
14465 * inet/htonl.c: Likewise.
14466 * inet/setipv4sourcefilter.c: Likewise.
14467 * inet/setsourcefilter.c: Likewise.
14468 * inet/test-inet6_opt.c: Likewise.
14469 * inet/tst-network.c: Likewise.
14470 * locale/C-collate.c: Likewise.
14471 * locale/C-ctype.c: Likewise.
14472 * locale/C-time.c: Likewise.
14473 * locale/C-translit.h: Likewise.
14474 * locale/loadarchive.c: Likewise.
14475 * locale/programs/3level.h: Likewise.
14476 * locale/programs/charmap.c: Likewise.
14477 * locale/programs/charmap.h: Likewise.
14478 * locale/programs/ld-address.c: Likewise.
14479 * locale/programs/ld-collate.c: Likewise.
14480 * locale/programs/ld-ctype.c: Likewise.
14481 * locale/programs/ld-identification.c: Likewise.
14482 * locale/programs/ld-measurement.c: Likewise.
14483 * locale/programs/ld-messages.c: Likewise.
14484 * locale/programs/ld-monetary.c: Likewise.
14485 * locale/programs/ld-name.c: Likewise.
14486 * locale/programs/ld-numeric.c: Likewise.
14487 * locale/programs/ld-paper.c: Likewise.
14488 * locale/programs/ld-telephone.c: Likewise.
14489 * locale/programs/ld-time.c: Likewise.
14490 * locale/programs/linereader.c: Likewise.
14491 * locale/programs/locale.c: Likewise.
14492 * locale/programs/locarchive.c: Likewise.
14493 * locale/programs/locfile.h: Likewise.
14494 * locale/programs/repertoire.c: Likewise.
14495 * locale/programs/simple-hash.c: Likewise.
14496 * locale/programs/simple-hash.h: Likewise.
14497 * malloc/memusage.c: Likewise.
14498 * malloc/memusagestat.c: Likewise.
14499 * nis/nis_defaults.c: Likewise.
14500 * nis/nis_hash.c: Likewise.
14501 * nis/nis_print.c: Likewise.
14502 * nis/nis_xdr.c: Likewise.
14503 * nscd/connections.c: Likewise.
14504 * nscd/hstcache.c: Likewise.
14505 * nscd/nscd_gethst_r.c: Likewise.
14506 * nscd/nscd_getserv_r.c: Likewise.
14507 * nscd/nscd_helper.c: Likewise.
14508 * nscd/servicescache.c: Likewise.
14509 * nss/makedb.c: Likewise.
14510 * nss/nss_db/db-XXX.c: Likewise.
14511 * nss/nss_db/db-initgroups.c: Likewise.
14512 * nss/nss_db/db-netgrp.c: Likewise.
14513 * nss/nss_files/files-network.c: Likewise.
14514 * nss/nss_files/files-parse.c: Likewise.
14515 * posix/bug-regex5.c: Likewise.
14516 * posix/fnmatch_loop.c: Likewise.
14517 * posix/regcomp.c: Likewise.
14518 * posix/regexec.c: Likewise.
14519 * posix/tst-rfc3484-2.c: Likewise.
14520 * posix/tst-rfc3484-3.c: Likewise.
14521 * posix/tst-rfc3484.c: Likewise.
14522 * resolv/nss_dns/dns-canon.c: Likewise.
14523 * resolv/nss_dns/dns-network.c: Likewise.
14524 * resolv/res_init.c: Likewise.
14525 * resolv/res_mkquery.c: Likewise.
14526 * resolv/tst-aton.c: Likewise.
14527 * stdlib/cxa_atexit.c: Likewise.
14528 * stdlib/cxa_finalize.c: Likewise.
14529 * stdlib/gen-fpioconst.c: Likewise.
14530 * stdlib/strtol_l.c: Likewise.
14531 * string/tst-endian.c: Likewise.
14532 * sunrpc/auth_des.c: Likewise.
14533 * sunrpc/clnt_udp.c: Likewise.
14534 * sunrpc/rtime.c: Likewise.
14535 * sunrpc/svcauth_des.c: Likewise.
14536 * sunrpc/xdr.c: Likewise.
14537 * sunrpc/xdr_intXX_t.c: Likewise.
14538 * sunrpc/xdr_rec.c: Likewise.
14539 * sysdeps/generic/ldconfig.h: Likewise.
14540 * sysdeps/generic/ldsodefs.h: Likewise.
14541 * sysdeps/generic/memusage.h: Likewise.
14542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14552 * sysdeps/posix/getaddrinfo.c: Likewise.
14553 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14554 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14555 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14557 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14558 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14559 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14560 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14561 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14563 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14564 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14565 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14566 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14567 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14568 * sysdeps/x86_64/dl-tls.h: Likewise.
14569 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14570 * time/alt_digit.c: Likewise.
14571 * time/era.c: Likewise.
14572 * wcsmbs/tst-c16c32-1.c: Likewise.
14574 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14576 * math/libm-test.inc (struct test_sincos_data): New type.
14577 (RUN_TEST_LOOP_sincos): New macro.
14578 (sincos_test_data): New variable.
14579 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14581 2013-05-16 Richard Henderson <rth@redhat.com>
14583 * math/atest-exp2.c (LIMB64): New macro.
14584 (CONSTSZ): New macro.
14585 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14587 (print_mpn_fp): ... to function scope.
14588 (read_mpn_hex): Remove.
14589 (get_log2): Remove.
14590 (exp2_mpn): Use mp_log2.
14591 (main): Use mp_exp1.
14593 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14595 * math/libm-test.inc: Remove comment about not testing "inexact"
14597 (INEXACT_EXCEPTION): New macro.
14598 (NO_INEXACT_EXCEPTION): Likewise.
14599 (INVALID_EXCEPTION_OK): Update value.
14600 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14601 (OVERFLOW_EXCEPTION_OK): Likewise.
14602 (UNDERFLOW_EXCEPTION_OK): Likewise.
14603 (IGNORE_ZERO_INF_SIGN): Likewise.
14604 (ERRNO_UNCHANGED): Likewise.
14605 (ERRNO_EDOM): Likewise.
14606 (ERRNO_ERANGE): Likewise.
14607 (test_exceptions): Handle testing "inexact" exceptions.
14608 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14609 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14610 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14611 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14613 (rint_towardzero_test_data): Likewise.
14614 (rint_downward_test_data): Likewise.
14615 (rint_upward_test_data): Likewise.
14617 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14618 with OVERFLOW_EXCEPTION.
14619 (exp10_test_data): Likewise.
14620 (exp2_test_data): Likewise.
14621 (expm1_test_data): Likewise.
14622 (lgamma_test_data): Likewise.
14623 (pow_test_data): Likewise.
14624 (tgamma_test_data): Likewise.
14625 (yn_test_data): Remove duplicate test of overflow.
14627 * math/libm-test.inc (struct test_cc_c_data): New type.
14628 (RUN_TEST_LOOP_cc_c): New macro.
14629 (cpow_test_data): New variable.
14630 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14632 * math/libm-test.inc (struct test_f_L_data): New type.
14633 (RUN_TEST_LOOP_f_L): New macro.
14634 (llrint_test_data): New variable.
14635 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14636 (llrint_tonearest_test_data): New variable.
14637 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14638 (llrint_towardzero_test_data): New variable.
14639 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14640 (llrint_downward_test_data): New variable.
14641 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14642 (llrint_upward_test_data): New variable.
14643 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14644 (llround_test_data): New variable.
14645 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14647 2013-05-13 Peter Collingbourne <pcc@google.com>
14649 * math/atest-exp2.c (get_log2): Remove const attribute.
14651 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14653 * math/libm-test.inc (struct test_f_l_data): New type.
14654 (RUN_TEST_LOOP_f_l): New macro.
14655 (lrint_test_data): New variable.
14656 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14657 (lrint_tonearest_test_data): New variable.
14658 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14659 (lrint_towardzero_test_data): New variable.
14660 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14661 (lrint_downward_test_data): New variable.
14662 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14663 (lrint_upward_test_data): New variable.
14664 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14665 (lround_test_data): New variable.
14666 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14668 2013-05-15 Peter Collingbourne <pcc@google.com>
14670 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14671 (EXTRACT_WORDS64) Use where appropriate.
14672 (INSERT_WORDS64) Likewise.
14674 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14675 constraints with x constraints.
14676 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14678 * malloc/obstack.c (_obstack_compat): Add initializer.
14680 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14683 si_trapno and add si_addr_lsb to _sifields.sigfault.
14684 (si_trapno): Remove macro.
14685 (si_addr_lsb): Define new macro.
14686 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14688 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14690 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14691 instead of TEST_f_l.
14692 (llrint_test_tonearest): Likewise.
14693 (llrint_test_towardzero): Likewise.
14694 (llrint_test_downward): Likewise.
14695 (llrint_test_upward): Likewise.
14696 (llround_test): Likewise.
14698 * math/libm-test.inc (struct test_f_i_data): Add comment.
14699 (RUN_TEST_LOOP_f_b): New macro.
14700 (RUN_TEST_LOOP_f_b_tg): Likewise.
14701 (finite_test_data): New variable.
14702 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14703 (isfinite_test_data): New variable.
14704 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14705 (isinf_test_data): New variable.
14706 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14707 (isnan_test_data): New variable.
14708 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14709 (isnormal_test_data): New variable.
14710 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14711 (issignaling_test_data): New variable.
14712 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14713 (signbit_test_data): New variable.
14714 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14716 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14717 with INVALID_EXCEPTION.
14718 (acosh_test_data): Likewise.
14719 (asin_test_data): Likewise.
14720 (atanh_test_data): Likewise.
14721 (fmod_test_data): Likewise.
14722 (log_test_data): Likewise.
14723 (log10_test_data): Likewise.
14724 (log2_test_data): Likewise.
14725 (pow_test_data): Likewise.
14726 (sqrt_test_data): Likewise.
14727 (y0_test_data): Likewise.
14728 (y1_test_data): Likewise.
14729 (yn_test_data): Likewise.
14731 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14734 * math/libm-test.inc (struct test_ff_i_data): New type.
14735 (RUN_TEST_LOOP_ff_i_tg): New macro.
14736 (isgreater_test_data): New variable.
14737 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14738 (isgreaterequal_test_data): New variable.
14739 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14740 (isless_test_data): New variable.
14741 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14742 (islessequal_test_data): New variable.
14743 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14744 (islessgreater_test_data): New variable.
14745 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14746 (isunordered_test_data): New variable.
14747 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14749 2013-05-14 David S. Miller <davem@davemloft.net>
14751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14755 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14757 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14759 (struct test_f_i_data): Change type of max_ulp to int.
14761 * math/libm-test.inc (test_ffI_f1_data): New type.
14762 (RUN_TEST_LOOP_ffI_f1): New macro.
14763 (remquo_test_data): New variable.
14764 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14766 * setjmp/tst-setjmp-fp.c: New file.
14767 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14768 (link-libm): New variable.
14769 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14771 * math/libm-test.inc (struct test_f_i_data): New type.
14772 (RUN_TEST_LOOP_f_i): New macro.
14773 (RUN_TEST_LOOP_f_i_tg): Likewise.
14774 (fpclassify_test_data): New variable.
14775 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14776 (ilogb_test_data): New variable.
14777 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14779 * math/libm-test.inc (scalbln_test): Correct function name in END
14782 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14783 (RUN_TEST_LOOP_fI_f1): New macro.
14784 (frexp_test_data): New variable.
14785 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14787 * math/libm-test.inc (struct test_fF_f1_data): New type.
14788 (RUN_TEST_LOOP_fF_f1): New macro.
14789 (modf_test_data): New variable.
14790 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14792 * math/libm-test.inc (struct test_f_f1_data): New type.
14793 (RUN_TEST_LOOP_f_f1): New macro.
14794 (gamma_test_data): New variable.
14795 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14796 (lgamma_test_data): New variable.
14797 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14799 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14801 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14802 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14803 (main): Comment "tls" pseudo-hwcap.
14805 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14807 * math/libm-test.inc (struct test_fl_f_data): New type.
14808 (RUN_TEST_LOOP_fl_f): New variable.
14809 (scalbln_test_data): New variable.
14810 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14812 * math/libm-test.inc (struct test_fi_f_data): New type.
14813 (RUN_TEST_LOOP_fi_f): New macro.
14814 (ldexp_test_data): New variable.
14815 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14816 (scalbn_test_data): New variable.
14817 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14819 * math/libm-test.inc (struct test_c_f_data): New type.
14820 (RUN_TEST_LOOP_c_f): New macro.
14821 (cabs_test_data): New variable.
14822 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14823 (carg_test_data): New variable.
14824 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14825 (cimag_test_data): New variable.
14826 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14827 (creal_test_data): New variable.
14828 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14830 * math/libm-test.inc (struct test_if_f_data): New type.
14831 (RUN_TEST_LOOP_if_f): New macro.
14832 (jn_test_data): New variable.
14833 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14834 (yn_test_data): New variable.
14835 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14837 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14839 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14841 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14842 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14844 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14846 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14847 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14848 (bench-deps): Add bench-timing.h.
14849 * benchtests-bench-skeleton.c: Include bench-timing.h.
14850 (main): Use TIMING_* macros instead of clock_gettime.
14851 * benchtests/bench-timing.h: New file.
14854 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14855 Renamed from _LIB_VERSION.
14856 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14858 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14860 * math/libm-test.inc (struct test_fff_f_data): New type.
14861 (RUN_TEST_LOOP_fff_f): New macro.
14862 (fma_test_data): New variable.
14863 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14864 (fma_towardzero_test_data): New variable.
14865 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14866 (fma_downward_test_data): New variable.
14867 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14868 (fma_upward_test_data): New variable.
14869 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14871 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14872 (struct test_c_c_data): New type.
14873 (RUN_TEST_LOOP_c_c): New macro.
14874 (cacos_test_data): New variable.
14875 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14876 (cacosh_test_data): New variable.
14877 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14878 (casin_test_data): New variable.
14879 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14880 (casinh_test_data): New variable.
14881 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14882 (catan_test_data): New variable.
14883 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14884 (catanh_test_data): New variable.
14885 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14886 (ccos_test_data): New variable.
14887 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14888 (ccosh_test_data): New variable.
14889 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14890 (cexp_test_data): New variable.
14891 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14892 (clog_test_data): New variable.
14893 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14894 (clog10_test_data): New variable.
14895 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14896 (conj_test_data): New variable.
14897 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14898 (cproj_test_data): New variable.
14899 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14900 (csin_test_data): New variable.
14901 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14902 (csinh_test_data): New variable.
14903 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14904 (csqrt_test_data): New variable.
14905 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14906 (ctan_test_data): New variable.
14907 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14908 (ctan_tonearest_test_data): New variable.
14909 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14910 (ctan_towardzero_test_data): New variable.
14911 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14912 (ctan_downward_test_data): New variable.
14913 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14914 (ctan_upward_test_data): New variable.
14915 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14916 (ctanh_test_data): New variable.
14917 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14918 (ctanh_tonearest_test_data): New variable.
14919 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14920 (ctanh_towardzero_test_data): New variable.
14921 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14922 (ctanh_downward_test_data): New variable.
14923 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14924 (ctanh_upward_test_data): New variable.
14925 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14926 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14929 * math/libm-test.inc (struct test_ff_f_data): New type.
14930 (struct test_ff_f_data_nexttoward): Likewise.
14931 (RUN_TEST_LOOP_2_f): New macro.
14932 (RUN_TEST_LOOP_ff_f): Likewise.
14933 (atan2_test_data): New variable.
14934 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14935 (copysign_test_data): New variable.
14936 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14937 (fdim_test_data): New variable.
14938 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14939 (fmax_test_data): New variable.
14940 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14941 (fmin_test_data): New variable.
14942 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14943 (fmod_test_data): New variable.
14944 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14945 (hypot_test_data): New variable.
14946 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14947 (nextafter_test_data): New variable.
14948 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14949 (nexttoward_test_data): New variable.
14950 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14951 (pow_test_data): New variable.
14952 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14953 (pow_tonearest_test_data): New variable.
14954 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14955 (pow_towardzero_test_data): New variable.
14956 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14957 (pow_downward_test_data): New variable.
14958 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14959 (pow_upward_test_data): New variable.
14960 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14961 (remainder_test_data): New variable.
14962 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14963 (scalb_test_data): New variable.
14964 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14965 * sysdeps/i386/fpu/libm-test-ulps: Update.
14967 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14969 * math/libm-test.inc (fma_test): Use max_value instead of local
14971 (nextafter_test): Likewise.
14973 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14974 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14975 (acos_downward_test_data): New variable.
14976 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14977 (acos_upward_test_data): New variable.
14978 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14979 (acosh_test_data): New variable.
14980 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14981 (asin_test_data): New variable.
14982 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14983 (asin_tonearest_test_data): New variable.
14984 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14985 (asin_towardzero_test_data): New variable.
14986 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14987 (asin_downward_test_data): New variable.
14988 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14989 (asin_upward_test_data): New variable.
14990 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14991 (asinh_test_data): New variable.
14992 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14993 (atan_test_data): New variable.
14994 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14995 (atanh_test_data): New variable.
14996 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14997 (cbrt_test_data): New variable.
14998 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14999 (ceil_test_data): New variable.
15000 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15001 (cos_test_data): New variable.
15002 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15003 (cos_tonearest_test_data): New variable.
15004 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15005 (cos_towardzero_test_data): New variable.
15006 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15007 (cos_downward_test_data): New variable.
15008 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15009 (cos_upward_test_data): New variable.
15010 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15011 (cosh_test_data): New variable.
15012 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15013 (cosh_tonearest_test_data): New variable.
15014 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15015 (cosh_towardzero_test_data): New variable.
15016 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15017 (cosh_downward_test_data): New variable.
15018 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15019 (cosh_upward_test_data): New variable.
15020 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15021 (erf_test_data): New variable.
15022 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15023 (erfc_test_data): New variable.
15024 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15025 (exp_test_data): New variable.
15026 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15027 (exp_tonearest_test_data): New variable.
15028 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15029 (exp_towardzero_test_data): New variable.
15030 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15031 (exp_downward_test_data): New variable.
15032 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15033 (exp_upward_test_data): New variable.
15034 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15035 (exp10_test_data): New variable.
15036 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15037 (exp2_test_data): New variable.
15038 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15039 (expm1_test_data): New variable.
15040 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15041 (fabs_test_data): New variable.
15042 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15043 (floor_test_data): New variable.
15044 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15045 (j0_test_data): New variable.
15046 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15047 (j1_test_data): New variable.
15048 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15049 (log_test_data): New variable.
15050 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15051 (log10_test_data): New variable.
15052 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15053 (log1p_test_data): New variable.
15054 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15055 (log2_test_data): New variable.
15056 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15057 (logb_test_data): New variable.
15058 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15059 (logb_downward_test_data): New variable.
15060 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15061 (nearbyint_test_data): New variable.
15062 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15063 (rint_test_data): New variable.
15064 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15065 (rint_tonearest_test_data): New variable.
15066 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15067 (rint_towardzero_test_data): New variable.
15068 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15069 (rint_downward_test_data): New variable.
15070 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15071 (rint_upward_test_data): New variable.
15072 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15073 (round_test_data): New variable.
15074 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15075 (sin_test_data): New variable.
15076 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15077 (sin_tonearest_test_data): New variable.
15078 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15079 (sin_towardzero_test_data): New variable.
15080 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15081 (sin_downward_test_data): New variable.
15082 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15083 (sin_upward_test_data): New variable.
15084 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15085 (sinh_test_data): New variable.
15086 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15087 (sinh_tonearest_test_data): New variable.
15088 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15089 (sinh_towardzero_test_data): New variable.
15090 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15091 (sinh_downward_test_data): New variable.
15092 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15093 (sinh_upward_test_data): New variable.
15094 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15095 (sqrt_test_data): New variable.
15096 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15097 (tan_test_data): New variable.
15098 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15099 (tan_tonearest_test_data): New variable.
15100 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15101 (tan_towardzero_test_data): New variable.
15102 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15103 (tan_downward_test_data): New variable.
15104 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15105 (tan_upward_test_data): New variable.
15106 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15107 (tanh_test_data): New variable.
15108 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15109 (tgamma_test_data): New variable.
15110 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15111 (trunc_test_data): New variable.
15112 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15113 (y0_test_data): New variable.
15114 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15115 (y1_test_data): New variable.
15116 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15117 (significand_test_data): New variable.
15118 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15120 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15123 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15125 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15127 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15129 2013-05-10 Andreas Jaeger <aj@suse.de>
15132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15133 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15135 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15137 * math/gen-libm-test.pl (adjust_arg): New function.
15138 (special_functions): Handle generating output in both functions
15140 (parse_args): Likewise.
15141 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15142 $in_func argument to parse_args.
15143 * math/libm-test.inc (struct test_f_f_data): New type.
15144 (IF_ROUND_INIT_): New macro.
15145 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15146 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15149 (ROUND_RESTORE_): Likewise.
15150 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15151 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15152 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15153 (ROUND_RESTORE_FE_UPWARD): Likewise.
15154 (RUN_TEST_LOOP_f_f): New macro.
15155 (acos_test_data): New variable.
15156 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15157 (acos_tonearest_test_data): New variable.
15158 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15160 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15162 * benchtests/bench-skeleton.c (startup): Fix coding style.
15164 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15167 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15168 negative infinity argument.
15169 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15170 negative infinity argument.
15171 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15172 negative infinity argument.
15173 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15176 2013-05-10 Florian Weimer <fweimer@redhat.com>
15178 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15179 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15180 * iconv/iconv_prog.c (main): Likewise.
15181 * locale/programs/charmap-dir.c (charmap_readdir)
15182 (fopen_uncompressed): Likewise.
15183 * locale/programs/locfile.c (siblings_uncached)
15184 (write_locale_data): Use lstat64 instead of lstat.
15185 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15188 2013-05-10 Andreas Jaeger <aj@suse.de>
15191 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15193 Include <locale.h>.
15195 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15197 * elf/dl-close.c (_dl_close_worker): Add comments.
15199 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15204 (__ieee754_rem_pio2l): Update comments.
15207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15209 (__ieee754_rem_pio2l): Update comments.
15211 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15212 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15214 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15217 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15218 (M_PI_34_LOG10El): Likewise.
15219 (M_PI2_LOG10El): Likewise.
15220 (M_PI4_LOG10El): Likewise.
15221 (M_PI_LOG10El): Likewise.
15223 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15227 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15229 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15230 (MINUS_ZERO_INIT): Likewise.
15231 (PLUS_INFTY_INIT): Likewise.
15232 (MINUS_INFTY_INIT): Likewise.
15233 (QNAN_VALUE_INIT): Likewise.
15234 (MAX_VALUE_INIT): Likewise.
15235 (MIN_VALUE_INIT): Likewise.
15236 (MIN_SUBNORM_VALUE_INIT): Likewise.
15237 (plus_zero): Initialize with PLUS_ZERO_INIT.
15238 (minus_zero): Initialize with MINUS_ZERO_INIT.
15239 (plus_infty): Initialize with PLUS_INFTY_INIT.
15240 (minus_infty): Initialize with MINUS_INFTY_INIT.
15241 (qnan_value): Initialize with QNAN_VALUE_INIT.
15242 (max_value): Initialize with MAX_VALUE_INIT.
15243 (min_value): Initialize with MIN_VALUE_INIT.
15244 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15246 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15247 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15248 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15249 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15251 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15252 (RUN_TEST_2_f): Likewise.
15253 (RUN_TEST_ff_f): Likewise.
15254 (RUN_TEST_fi_f): Likewise.
15255 (RUN_TEST_fl_f): Likewise.
15256 (RUN_TEST_fff_f): Likewise.
15257 (RUN_TEST_c_f): Likewise.
15258 (RUN_TEST_f_f1): Likewise.
15259 (RUN_TEST_fF_f1): Likewise.
15260 (RUN_TEST_fI_f1): Likewise.
15261 (RUN_TEST_ffI_f1): Likewise.
15262 (RUN_TEST_c_c): Likewise.
15263 (RUN_TEST_cc_c): Likewise.
15264 (RUN_TEST_f_i): Likewise.
15265 (RUN_TEST_f_i_tg): Likewise.
15266 (RUN_TEST_ff_i_tg): Likewise.
15267 (RUN_TEST_f_b): Likewise.
15268 (RUN_TEST_f_b_tg): Likewise.
15269 (RUN_TEST_f_l): Likewise.
15270 (RUN_TEST_f_L): Likewise.
15271 (RUN_TEST_sincos): Likewise.
15272 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15273 whether to show exceptions. Do not include ");\n" in return
15275 (special_functions): Output call to RUN_TEST_sincos instead of
15276 check_float calls. Update calls to new_test.
15277 (parse_args): Output call to single RUN_TEST_* macro instead of
15278 check_* calls and other assignments. Update calls to new_test.
15284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15285 input to result for tgamma overflow.
15286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15287 (gamma_coeff): New variable.
15288 (NCOEFF): New macro.
15289 (gamma_positive): New function.
15290 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15291 underflow here. Use gamma_positive instead of exp (lgamma) for
15293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15294 (gamma_coeff): New variable.
15295 (NCOEFF): New macro.
15296 (gammaf_positive): New function.
15297 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15298 underflow here. Use gamma_positive instead of exp (lgamma) for
15300 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15301 (gamma_coeff): New variable.
15302 (NCOEFF): New macro.
15303 (gammal_positive): New function.
15304 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15305 underflow here. Use gamma_positive instead of exp (lgamma) for
15307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15308 (gamma_coeff): New variable.
15309 (NCOEFF): New macro.
15310 (gammal_positive): New function.
15311 (__ieee754_gammal_r): Handle positive infinity, overflow and
15312 underflow here. Handle NaN the same as positive infinity. Remove
15313 check x < 0xffffffff for negative integers. Use gamma_positive
15314 instead of exp (lgamma) for other arguments.
15315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15316 (gamma_coeff): New variable.
15317 (NCOEFF): New macro.
15318 (gammal_positive): New function.
15319 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15320 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15324 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15325 * sysdeps/generic/math_private.h (__gamma_productf): New
15327 (__gamma_product): Likewise.
15328 (__gamma_productl): Likewise.
15329 * math/Makefile (libm-calls): Add gamma_product.
15330 * math/libm-test.inc (tgamma_test): Add more tests.
15331 * sysdeps/i386/fpu/libm-test-ulps: Update.
15332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15336 * benchtests/bench-skeleton.c (main): Preheat CPU.
15338 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15340 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15342 2013-05-07 Roland McGrath <roland@hack.frob.com>
15344 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15345 and _dl_skip_args_internal.
15347 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15349 * manual/message.texi (Message Translation): Talk about users.
15350 Message to key mapping impacts design.
15352 2013-05-06 Roland McGrath <roland@hack.frob.com>
15354 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15356 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15358 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15359 * sysdeps/wordsize-64/glob64.c: ... here.
15361 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15362 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15365 * debug/getlogin_r_chk.c: Moved to ...
15366 * login/getlogin_r_chk.c: ... here.
15367 * debug/Makefile (routines): Move getlogin_r_chk to ...
15368 * login/Makefile (routines): ... here.
15369 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15370 * login/Versions (libc: GLIBC_2.4): ... here.
15372 * io/poll.c (__poll): Renamed from poll.
15373 Add libc_hidden_def.
15374 (poll): Define as weak alias.
15376 * debug/ptsname_r_chk.c: Moved to ...
15377 * login/ptsname_r_chk.c: ... here.
15378 * debug/Makefile (routines): Move ptsname_r_chk to ...
15379 * login/Makefile (routines): ... here.
15380 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15381 * login/Versions (libc: GLIBC_2.4): ... here.
15383 * posix/getlogin.c: Moved to ...
15384 * login/getlogin.c: ... here.
15385 * posix/getlogin_r.c: Moved to ...
15386 * login/getlogin_r.c: ... here.
15387 * posix/getlogin_r.c: Moved to ...
15388 * login/getlogin_r.c: ... here.
15389 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15390 * login/Makefile (routines): ... here.
15391 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15392 * login/Versions (libc: GLIBC_2.0): ... here.
15394 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15395 (setrlimit): Define as weak alias.
15397 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15398 Call __ names for open, ftruncate, and close.
15399 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15400 (truncate): Define as weak alias.
15402 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15404 * math/gen-libm-test.pl (parse_args): Initialize x before each
15405 test of frexp, modf and remquo.
15407 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15408 test signgam value.
15410 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15414 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15416 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15418 2013-05-06 Roland McGrath <roland@hack.frob.com>
15420 * elf/dl-writev.h: New file.
15421 * elf/dl-misc.c: Include it.
15422 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15423 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15425 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15427 * math/libm-test.inc (noXFails): Remove variable.
15428 (noXPasses): Likewise.
15429 (BUILD_COMPLEX_INT): Remove macro.
15430 (print_screen): Remove xfail argument.
15431 (print_screen_max_error): Likewise.
15432 (update_stats): Likewise.
15433 (print_max_error): Likewise. Update calls to other affected
15435 (print_complex_max_error): Likewise.
15436 (test_single_exception): Update calls to print_screen.
15437 (test_single_errno): Likewise.
15438 (check_float_internal): Remove xfail argument. Update calls to
15439 other affected functions.
15440 (check_float): Likewise.
15441 (check_complex): Likewise.
15442 (check_int): Likewise.
15443 (check_long): Likewise.
15444 (check_bool): Likewise.
15445 (check_longlong): Likewise.
15446 (main): Don't print noXFails and noXPasses.
15447 * math/gen-libm-test.pl (top level): Don't mention expected
15448 failure handling in comment.
15449 (new_test): Don't handle expected failures.
15450 (parse_args): Don't mention expected failure handling in comment.
15451 (generate_testfile): Don't handle expected failures.
15452 (parse_ulps): Likewise.
15453 (print_ulps_file): Likewise.
15454 (get_failure): Remove function.
15455 (output_test): Don't handle expected failures.
15456 * make/README.libm-test: Don't mention expected failure handling.
15458 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15459 (minus_zero): Likewise.
15460 (plus_infty): Likewise.
15461 (minus_infty): Likewise.
15462 (qnan_value): Likewise.
15463 (max_value): Likewise.
15464 (min_value): Likewise.
15465 (min_subnorm_value): Likewise.
15466 (initialize): Do not initialize those variables dynamically.
15468 2013-05-03 Roland McGrath <roland@hack.frob.com>
15470 * io/open.c (__open_2): Moved to ...
15471 * io/open_2.c: ... this new file.
15472 * io/open64.c (__open64_2): Moved to ...
15473 * io/open64_2.c: ... this new file.
15474 * io/openat.c (__openat_2): Moved to ...
15475 * io/openat_2.c: ... this new file.
15476 * io/openat64.c (__openat64_2): Moved to ...
15477 * io/openat64_2.c: ... this new file.
15478 * io/Makefile (routines): Add them.
15479 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15480 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15481 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15482 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15483 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15484 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15485 (__openat64): Add hidden_ver.
15486 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15487 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15489 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15490 Separately conditionalize setting of GLRO(dl_sysinfo) so
15491 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15492 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15494 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15499 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15500 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15501 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15502 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15503 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15505 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15507 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15508 test signgam value.
15510 * math/libm-test.inc (hypot_test): Do not use
15511 IGNORE_ZERO_INF_SIGN.
15513 2013-05-03 Andreas Jaeger <aj@suse.de>
15515 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15518 (PF_MAX): Adjust for VSOCK change.
15520 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15524 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15527 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15528 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15529 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15531 2013-05-02 David S. Miller <davem@davemloft.net>
15533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15535 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15537 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15539 2013-05-01 Roland McGrath <roland@hack.frob.com>
15541 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15543 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15546 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15547 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15548 Use __attribute__ ((__gnu_inline__)).
15549 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15550 Don't use __attribute__ ((__gnu_inline__)).
15552 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15555 * math/s_catan.c (__catan): Handle small real or imaginary part of
15556 input specially to avoid spurious underflow.
15557 * math/s_catanf.c (__catanf): Likewise.
15558 * math/s_catanh.c (__catanh): Likewise.
15559 * math/s_catanhf.c (__catanhf): Likewise.
15560 * math/s_catanhl.c (__catanhl): Likewise.
15561 * math/s_catanl.c (__catanl): Likewise.
15562 * math/libm-test.inc (catan_test): Add more tests.
15563 (catanh_test): Likewise.
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15567 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15571 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15574 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15575 accurately for denominator in atan2.
15576 * math/s_catanf.c (__catanf): Likewise.
15577 * math/s_catanh.c (__catanh): Likewise.
15578 * math/s_catanhf.c (__catanhf): Likewise.
15579 * math/s_catanhl.c (__catanhl): Likewise.
15580 * math/s_catanl.c (__catanl): Likewise.
15581 * math/libm-test.inc (catan_test): Add more tests.
15582 (catanh_test): Likewise.
15583 * sysdeps/i386/fpu/libm-test-ulps: Update.
15584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15586 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15588 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15590 * benchtests/Makefile (bench): Remove slow benchmarks.
15591 * benchtests/atan-inputs: Add slow benchmark inputs.
15592 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15593 (BENCH_FUNC): Accept variant offset.
15595 * benchtests/bench-skeleton.c (main): Run benchmark for each
15597 * benchtests/cos-inputs: Add slow benchmark inputs.
15598 * benchtests/exp-inputs: Likewise.
15599 * benchtests/pow-inputs: Likewise.
15600 * benchtests/sin-inputs: Likewise.
15601 * benchtests/slowatan-inputs: Remove.
15602 * benchtests/slowatan.c: Remove.
15603 * benchtests/slowcos-inputs: Remove.
15604 * benchtests/slowcos.c: Remove.
15605 * benchtests/slowexp-inputs: Remove.
15606 * benchtests/slowexp.c: Remove.
15607 * benchtests/slowpow-inputs: Remove.
15608 * benchtests/slowpow.c: Remove.
15609 * benchtests/slowsin-inputs: Remove.
15610 * benchtests/slowsin.c: Remove.
15611 * benchtests/slowtan-inputs: Remove.
15612 * benchtests/slowtan.c: Remove.
15613 * benchtests/tan-inputs: Add slow benchmark inputs.
15614 * scripts/bench.pl: Parse comments and directives.
15616 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15618 ($(objpfx)bench-%.c): Remove *-ITER.
15619 * benchtests/bench-modf.c: Remove definition of ITER.
15620 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15621 (main): Loop for DURATION seconds instead of fixed number of
15623 * scripts/bench.pl: Don't expect iterations in parameters.
15625 2013-04-29 Roland McGrath <roland@hack.frob.com>
15627 * io/fchdir.c (__fchdir): Renamed from fchdir.
15628 (fchdir): Define as weak alias.
15630 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15632 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15633 (ERRNO_EDOM): Likewise.
15634 (ERRNO_ERANGE): Likewise.
15635 (noErrnoTests): New variable.
15636 (init_max_error): Set errno to 0.
15637 (test_single_errno): New function.
15638 (test_errno): Likewise.
15639 (check_float_internal): Call test_errno. Set errno to 0.
15640 (check_complex): Refer to errno tests in comment.
15641 (check_int): Call test_errno. Set errno to 0.
15642 (check_long): Likewise.
15643 (check_bool): Likewise.
15644 (check_longlong): Likewise.
15645 (cos_test): Use ERRNO_* flags for errno tests instead of
15647 (expm1_test): Likewise.
15648 (fmod_test): Likewise.
15649 (ilogb_test): Likewise.
15650 (lgamma_test): Likewise.
15651 (pow_test): Likewise.
15652 (remainder_test): Likewise.
15653 (sin_test): Likewise.
15654 (tan_test): Likewise.
15655 (yn_test): Likewise.
15656 (initialize): Set errno to 0.
15657 (main): Print number of errno tests.
15658 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15660 2013-04-29 Andreas Jaeger <aj@suse.de>
15663 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15667 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15668 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15672 * stdlib/random.c (__initstate): Return NULL if
15676 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15677 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15680 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15684 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15686 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15687 of individual tests.
15688 (casin_test): Likewise.
15689 (casinh_test): Likewise.
15691 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15694 * math/s_catan.c (__catan): Handle arguments with large real or
15695 imaginary part separately without squaring.
15696 * math/s_catanf.c (__catanf): Likewise.
15697 * math/s_catanh.c (__catanh): Likewise.
15698 * math/s_catanhf.c (__catanhf): Likewise.
15699 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15701 (__catanhl): Handle arguments with large real or imaginary part
15702 separately without squaring.
15703 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15705 (__catanl): Handle arguments with large real or imaginary part
15706 separately without squaring.
15707 * math/libm-test.inc (catan_test): Add more tests.
15708 (catanh_test): Likewise.
15709 * sysdeps/i386/fpu/libm-test-ulps: Update.
15710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15712 2013-04-27 Andreas Jaeger <aj@suse.de>
15715 * stdlib/stdlib.h: Update guards for qecvt.
15716 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15719 2013-04-27 Allan McRae <allan@archlinux.org>
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15723 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15726 * math/s_catan.c: Include <float.h>.
15727 (__catan): Ensure underflow exception occurs for underflowed
15729 * math/s_catanf.c: Include <float.h>.
15730 (__catanf): Ensure underflow exception occurs for underflowed
15732 * math/s_catanh.c: Include <float.h>.
15733 (__catanh): Ensure underflow exception occurs for underflowed
15735 * math/s_catanhf.c: Include <float.h>.
15736 (__catanhf): Ensure underflow exception occurs for underflowed
15738 * math/s_catanhl.c: Include <float.h>.
15739 (__catanhl): Ensure underflow exception occurs for underflowed
15741 * math/s_catanl.c: Include <float.h>.
15742 (__catanl): Ensure underflow exception occurs for underflowed
15744 * math/libm-test.inc (catan_test): Add more tests.
15745 (catanh_test): Likewise.
15748 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15749 underflowed result.
15750 * math/s_ccoshf.c (__ccoshf): Likewise.
15751 * math/s_ccoshl.c (__ccoshl): Likewise.
15752 * math/s_csin.c (__csin): Likewise.
15753 * math/s_csinf.c (__csinf): Likewise.
15754 * math/s_csinh.c (__csinh): Likewise.
15755 * math/s_csinhf.c (__csinhf): Likewise.
15756 * math/s_csinhl.c (__csinhl): Likewise.
15757 * math/s_csinl.c (__csinl): Likewise.
15758 * math/libm-test.inc (ccos_test): Add more tests.
15759 (ccosh_test): Likewise.
15760 (csin_test): Likewise.
15761 (csinh_test): Likewise.
15763 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15765 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15766 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15767 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15768 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15769 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15770 powerpc/power5+/fpu folders.
15771 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15774 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15778 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15780 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15781 additions to variable.
15782 [$(config-machine) = x86_64] (modules-names): Likewise.
15783 ($(objpfx)tst-audit3): Remove dependency.
15784 ($(objpfx)tst-audit3.out): Likewise.
15785 ($(objpfx)tst-audit4): Likewise.
15786 ($(objpfx)tst-audit4.out): Likewise.
15787 ($(objpfx)tst-audit5): Likewise.
15788 ($(objpfx)tst-audit5.out): Likewise.
15789 ($(objpfx)tst-audit6): Likewise.
15790 ($(objpfx)tst-audit6.out): Likewise.
15791 ($(objpfx)tst-audit7): Likewise.
15792 ($(objpfx)tst-audit7.out): Likewise.
15793 (tst-audit3-ENV): Remove variable.
15794 (tst-audit4-ENV): Likewise.
15795 (tst-audit5-ENV): Likewise.
15796 (tst-audit6-ENV): Likewise.
15797 (tst-audit7-ENV): Likewise.
15798 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15799 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15800 addition to variable.
15801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15803 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15804 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15805 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15806 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15807 tst-audit3, tst-audit4 and tst-audit5.
15808 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15809 tst-audit6 and tst-audit7.
15810 [$(subdir) = elf] (modules-names): Add audit modules for those
15812 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15813 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15814 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15815 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15816 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15817 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15818 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15819 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15820 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15821 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15822 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15823 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15824 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15825 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15826 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15827 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15829 [$(subdir) = elf && $(config-cflags-avx) = yes]
15830 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15831 [$(subdir) = elf && $(config-cflags-avx) = yes]
15832 (CFLAGS-tst-auditmod4a.c): Likewise.
15833 [$(subdir) = elf && $(config-cflags-avx) = yes]
15834 (CFLAGS-tst-auditmod4b.c): Likewise.
15835 [$(subdir) = elf && $(config-cflags-avx) = yes]
15836 (CFLAGS-tst-auditmod6b.c): Likewise.
15837 [$(subdir) = elf && $(config-cflags-avx) = yes]
15838 (CFLAGS-tst-auditmod6c.c): Likewise.
15839 [$(subdir) = elf && $(config-cflags-avx) = yes]
15840 (CFLAGS-tst-auditmod7b.c): Likewise.
15841 * elf/tst-audit3.c: Move to ...
15842 * sysdeps/x86_64/tst-audit3.c: ... here.
15843 * elf/tst-audit4.c: Move to ...
15844 * sysdeps/x86_64/tst-audit4.c: ... here.
15845 * elf/tst-audit5.c: Move to ...
15846 * sysdeps/x86_64/tst-audit5.c: ... here.
15847 * elf/tst-audit6.c: Move to ...
15848 * sysdeps/x86_64/tst-audit6.c: ... here.
15849 * elf/tst-audit7.c: Move to ...
15850 * sysdeps/x86_64/tst-audit7.c: ... here.
15851 * elf/tst-auditmod3a.c: Move to ...
15852 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15853 * elf/tst-auditmod3b.c: Move to ...
15854 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15855 * elf/tst-auditmod4a.c: Move to ...
15856 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15857 * elf/tst-auditmod4b.c: Move to ...
15858 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15859 * elf/tst-auditmod5a.c: Move to ...
15860 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15861 * elf/tst-auditmod5b.c: Move to ...
15862 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15863 * elf/tst-auditmod6a.c: Move to ...
15864 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15865 * elf/tst-auditmod6b.c: Move to ...
15866 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15867 * elf/tst-auditmod6c.c: Move to ...
15868 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15869 * elf/tst-auditmod7a.c: Move to ...
15870 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15871 * elf/tst-auditmod7b.c: Move to ...
15872 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15874 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15877 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15878 define unconditionally.
15879 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15880 define unconditionally.
15881 (INT8_C, INT16_C, etc.): Likewise.
15883 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15885 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15886 __ehdr_start with hidden visibility.
15888 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15890 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15892 * math/libm-test.inc (cos_test): Use accurate hex constants.
15893 (sincost_test): Likewise.
15895 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15897 * math/libm-test.inc (catan_test): Add more tests.
15898 (catanh_test): Likewise.
15900 * math/s_catanf.c (__catanf): Use suffixed floating-point
15902 * math/s_catanhf.c (__catanhf): Likewise.
15903 * math/s_catanhl.c (__catanhl): Likewise.
15904 * math/s_catanl.c (__catanl): Likewise.
15907 * math/s_catan.c (__catan): Calculate imaginary part of result
15908 with log1p not log unless computing log of number close to 0.
15909 * math/s_catanf.c (__catanf): Likewise.
15910 * math/s_catanl.c (__catanl): Likewise.
15911 * math/s_catanh.c (__catanh): Calculate real part of result with
15912 log1p not log unless computing log of number close to 0.
15913 * math/s_catanhf.c (__catanhf): Likewise.
15914 * math/s_catanhl.c (__catanhl): Likewise.
15915 * math/libm-test.inc (catan_test): Add more tests.
15916 (catanh_test): Likewise.
15917 * sysdeps/i386/fpu/libm-test-ulps: Update.
15918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15920 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 * benchtests/Makefile: Mention files in which fast and slow
15923 paths of math functions are implemented.
15925 2013-04-23 Roland McGrath <roland@hack.frob.com>
15927 * sysdeps/posix/timespec_get.c: New file.
15929 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15931 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15933 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15935 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15936 powerpc/power5/fpu folders.
15937 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15938 * benchtests/Makefile: Add modf testcase.
15939 * benchtests/bench-modf.c: New file: Benchmark test for mo
15941 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15944 * time/Makefile (tests): Add tst-strptime-whitespace.
15945 * time/strptime_l.c (get_number): Use ISSPACE.
15946 (__strptime_internal): Likewise.
15947 * time/tst-strptime-whitespace.c: New test case.
15949 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15951 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15953 (_nss_files_init): Set it here.
15955 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15957 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15958 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15961 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15963 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15965 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15970 2013-04-21 David S. Miller <davem@davemloft.net>
15972 * po/ru.po: Update Russion translation from translation project.
15974 2013-04-17 Adam Conrad <adconrad@0c3.net>
15976 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15979 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15981 * configure.in: Remove i386 configure warning. Remove i386 case.
15982 * configure: Regenerate.
15983 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15984 Add example to error message.
15985 * sysdeps/i386/configure: Regenerate.
15987 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15989 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15991 * benchtests/cos-inputs: New file.
15992 * benchtests/slowcos-inputs: New file.
15993 * benchtests/slowcos.c: New file.
15994 * benchtests/slowtan-inputs: New file.
15995 * benchtests/slowtan.c: New file.
15996 * benchtests/tan-inputs: New file.
15998 2013-04-16 Roland McGrath <roland@hack.frob.com>
16000 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16003 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16005 * benchtests/Makefile: Include cppflags-iterator.mk to add
16006 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16008 * Makefile.in (bench-clean): New target.
16009 * benchtests/Makefile (bench-clean): Likewise.
16011 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16013 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16015 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16017 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16019 2013-04-15 Andreas Schwab <schwab@suse.de>
16021 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16023 * nscd/pwdcache.c (cache_addpw): Likewise.
16024 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16027 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16029 * benchtests/Makefile (bench): Write all output to
16030 bench-out.tmp together.
16032 2013-04-15 Andreas Schwab <schwab@suse.de>
16034 * nscd/nscd.c (main): Don't fork again after closing files.
16036 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16038 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16040 * benchtests/Rules (bench-deps): Collect dependencies into a
16041 single variable. Add Makefile to dependencies.
16042 ($(objpfx)bench-%.c): Depend on bench-deps.
16044 2013-04-12 Roland McGrath <roland@hack.frob.com>
16045 Xavier Roche <roche+kml2@exalead.com>
16048 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16049 just that it's a file descriptor.
16050 * manual/llio.texi (Synchronizing AIO Operations): Update description
16051 for EBADF error from aio_fsync.
16053 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16055 * Rules (bench): Move target definition...
16056 * benchtests/Makefile: ... here.
16058 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16060 * math/libm-test.inc (cos_test): Fix PI/2 test.
16061 (sincos_test): Likewise.
16062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16063 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16065 2013-04-11 Andreas Schwab <schwab@suse.de>
16068 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16069 accept exponent character only when digits were seen.
16070 * stdio-common/Makefile (tests): Add bug26.
16071 * stdio-common/bug26.c: New file.
16074 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16077 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16079 * Makeconfig (rtld-prefix): Define built linker prefix.
16080 * Rules (run-bench): Use it.
16081 * math/Makefile (run-regen-ulps): Likewise.
16083 * Rules (bench): Remove eval.
16085 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16086 Roland McGrath <roland@hack.frob.com>
16087 Ondrej Bilka <neleai@seznam.cz>
16090 * time/getdate.c: Include ctype.h and alloca.h.
16091 (__getdate_r): Trim leading and trailing spaces of input.
16092 * time/tst-getdate.c (tests): Add tests with leading and
16095 2013-04-08 Roland McGrath <roland@hack.frob.com>
16098 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16099 when computing value.
16101 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16103 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16104 Use testrun.sh to run libm tests.
16107 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16109 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16112 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16114 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16116 * Makefile.in (regen-ulps): New target.
16117 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16118 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16119 [ifneq (no,$(PERL)] (regen-ulps): New target.
16120 [ifeq (no,$(PERL)] (regen-ulps): New target.
16121 * math/libm-test.inc (ulps_file_name): Define.
16122 (output_dir): New variable.
16123 (options): Add "output-dir" option.
16124 (parse_opt): Handle 'o' case.
16125 (main): If output_dir is non-NULL use it as a prefix
16127 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16129 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16131 [BZ #10060, #10062]
16132 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16133 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16134 fail configure if __sync_val_compare_and_swap is not inlined.
16135 * sysdeps/i386/configure: Regenerate.
16136 * configure.in: Build for i686 when configured for i386.
16137 * configure: Regenerate.
16138 * README: Remove i386 reference.
16140 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16142 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16145 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16147 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16148 (lmsnanval): New variables.
16149 (F): Add conversion tests.
16150 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16151 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16153 * stdio-common/tstdiomisc.c (F): Properly collect individual
16156 [BZ #14686, #15336]
16157 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16158 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16159 Instead, use input NaN values or generate a qNaN by arithmetic
16160 operation. Also fix bugs to comply with the standard.
16161 * math/libm-test.inc (remainder_test): Add more tests.
16163 [BZ #15335, #15342]
16164 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16166 input NaN values or generate a qNaN by arithmetic operation.
16168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16171 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16174 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16177 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16178 underflowed result.
16179 * math/s_cexpf.c (__cexpf): Likewise.
16180 * math/s_cexpl.c (__cexpl): Likewise.
16181 * math/libm-test.inc (cexp_test): Add more tests.
16183 2013-04-03 Andreas Schwab <schwab@suse.de>
16186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16187 order arrays from heap if bigger than alloca cutoff.
16189 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16191 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16192 (SNAN_TESTS_double): Refer to GCC PR56831.
16193 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16196 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16198 * Rules (bench): Move bench.out after the run is complete.
16200 * Rules (bench): Echo currently running benchmark.
16202 * benchtests/Makefile (bench): Add atan and slowatan.
16203 * benchtests/atan-inputs: New file.
16204 * benchtests/slowatan-inputs: New file.
16205 * benchtests/slowatan.c: New file.
16207 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16212 * sysdeps/unix/sysv/linux/kernel-features.h
16213 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16214 __ASSUME_XFS_RESTRICTED_CHOWN.
16215 * sysdeps/unix/sysv/linux/pathconf.c
16216 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16217 Save and restore errno.
16219 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16222 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16223 arguments using __kernel_casinh.
16224 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16225 arguments using __kernel_casinhf.
16226 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16227 arguments using __kernel_casinhl.
16228 * math/libm-test.inc (cacosh_test): Add more tests.
16229 * sysdeps/i386/fpu/libm-test-ulps: Update.
16230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16232 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16234 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16237 * bench/Makefile (bench): Add sin and slowsin.
16238 * benchtests/sin-inputs: New file.
16239 * benchtests/slowsin-inputs: New file.
16240 * benchtests/slowsin.c: New file.
16242 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16243 (bench): Add slowexp and slowpow.
16244 (exp-ITER): Increase iterations.
16245 (pow-ITER): Likewise.
16246 * benchtests/exp-inputs: Change input.
16247 * benchtests/pow-inputs: Likewise.
16248 * benchtests/slowexp-inputs: New file.
16249 * benchtests/slowexp.c: New file.
16250 * benchtests/slowpow-inputs: New file.
16251 * benchtests/slowpow.c: New file.
16253 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16255 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16257 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16258 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16260 * benchtests/Makefile: Add rint benchtest.
16261 * benchtests/rint-inputs: Input for rint benchtest.
16263 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16265 * Versions.def (libm): Add GLIBC_2.18.
16266 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16267 hidden libm prototypes.
16268 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16269 * math/Makefile (libm-calls): Add s_issignaling.
16270 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16271 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16272 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16274 * math/math.h [__USE_GNU] (issignaling): New macro.
16275 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16276 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16277 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16278 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16281 * manual/arith.texi (issignaling): New section.
16282 * manual/libm-err-tab.pl (@all_functions): Update comment.
16283 * math/gen-libm-test.pl (parse_args): Apply special handling for
16285 * math/libm-test.inc (print_float, issignaling_test): New
16287 (check_float_internal): Add issignaling checks.
16288 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16289 default definition.
16290 * sysdeps/powerpc/math-tests.h: New file.
16291 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16293 * math/test-snan.c (TEST_FUNC): Likewise.
16295 2013-03-30 David S. Miller <davem@davemloft.net>
16297 * po/de.po: Update from translation team.
16299 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16302 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16303 imaginary part less than 1.0 and real part less than 0.5
16305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16307 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16308 (cacos_test): Add more tests.
16309 (casin_test): Likewise.
16310 (casinh_test): Likewise.
16311 * sysdeps/i386/fpu/libm-test-ulps: Update.
16312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16314 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16317 ONE with its value.
16319 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16320 (__pow_mp): Replace ONE and MONE with their values.
16321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16323 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16328 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16330 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16331 (__pow_mp): Replace ZERO and MZERO with their values.
16332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16333 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16336 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16337 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16340 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16342 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16344 2013-03-28 Roland McGrath <roland@hack.frob.com>
16346 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16347 Declare with __attribute__ ((weak)).
16348 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16349 Call __call_tls_dtors only if it's not NULL.
16351 2013-03-28 Roland McGrath <roland@hack.frob.com>
16353 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16354 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16355 magic __ehdr_start linker symbol if it's defined.
16356 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16357 them up here if it was already done.
16359 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16360 (_dl_aux_init): Use const in cast when setting it.
16361 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16362 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16363 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16365 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16367 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16368 * csu/libc-tls.c: Nor here.
16369 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16371 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16372 (__libc_message): Never call vsyslog.
16374 2013-03-28 Alan Modra <amodra@gmail.com>
16376 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16378 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16381 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16388 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16391 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16392 Don't add gid passed as argument.
16394 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16396 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16399 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16400 imaginary part between 1.0 and 1.5 and real part less than 0.5
16402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16404 * math/libm-test.inc (cacos_test): Add more tests.
16405 (casin_test): Likewise.
16406 (casinh_test): Likewise.
16407 * sysdeps/i386/fpu/libm-test-ulps: Update.
16408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16415 (denorm): Likewise.
16416 (__dbl_mp): Likewise.
16417 (add_magnitudes): Likewise.
16418 (sub_magnitudes): Likewise.
16426 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16428 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16429 (__dubcos): Likewise.
16430 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16431 (__ieee754_acos): Likewise.
16432 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16433 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16434 (__exp1): Likewise.
16435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16438 (my_log2): Likewise.
16439 (checkint): Likewise.
16440 * sysdeps/ieee754/dbl-64/e_remainder.c
16441 (__ieee754_remainder): Likewise.
16442 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16444 (bsloww): Likewise.
16445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16447 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16449 MANTISSA_STORE_T to store computations on mantissa. Use
16450 macros for rounding and division.
16451 (denorm): Likewise.
16452 (__dbl_mp): Likewise.
16453 (add_magnitudes): Likewise.
16454 (sub_magnitudes): Likewise.
16457 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16458 powers of two in terms of TWOPOW macro.
16459 (mp_no): Make type of mantissa as MANTISSA_T.
16460 [!RADIXI]: Define RADIXI.
16461 [!TWO52]: Define TWO52.
16462 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16464 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16466 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16467 llroundl symbol when building for PPC32.
16469 2013-03-24 Mark H Weaver <mhw@netris.org>
16471 * manual/arith.texi (Normalization Functions): Fix prototypes for
16472 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16474 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16478 high value to check if expl overflow.
16479 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16480 to check for underflow and overflow.
16481 * math/libm-test.inc: Add exp test.
16483 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16486 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16489 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16491 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16494 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16496 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16497 wrap blocks consisting of several statements.
16499 * sysdeps/generic/math-tests.h: New file.
16500 * sysdeps/i386/fpu/math-tests.h: Likewise.
16501 * math/test-snan.c: Include it.
16502 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16504 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16508 (__ieee754_j0l): Do not improve calculations using cos of twice
16509 input for inputs above LDBL_MAX / 2.0L.
16510 (__ieee754_y0l): Likewise.
16511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16512 (__ieee754_j1l): Do not improve calculations using cos of twice
16513 input for inputs above LDBL_MAX / 2.0L.
16514 (__ieee754_y1l): Likewise.
16515 * math/libm-test.inc (j0_test): Add another test.
16516 (j1_test): Likewise.
16517 (y0_test): Likewise.
16518 (y1_test): Likewise.
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16523 * Rules ($(objpfx)bench-%.c): Include code from a C source
16526 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16529 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16530 imaginary part 1.0 and real part less than 0.5 specially.
16531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16533 * math/libm-test.inc (cacos_test): Add more tests.
16534 (casin_test): Likewise.
16535 (casinh_test): Likewise.
16536 * sysdeps/i386/fpu/libm-test-ulps: Update.
16537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16539 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16542 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16544 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16546 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16547 * config.make.in (config-cflags-sse4): Remove variable.
16548 (config-cflags-avx): Likewise.
16549 (config-cflags-sse2avx): Likewise.
16550 (config-cflags-novzeroupper): Likewise.
16551 (config-asflags-i686): Likewise.
16552 (have-mfma4): Likewise.
16553 (have-as-vis3): Likewise.
16555 * configure.in (MIG): Do not AC_SUBST.
16556 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16557 (libc_cv_cc_sse4): Do not AC_SUBST.
16558 (libc_cv_cc_avx): Likewise.
16559 (libc_cv_cc_sse2avx): Likewise.
16560 (libc_cv_cc_novzeroupper): Likewise.
16561 (libc_cv_cc_fma4): Likewise.
16562 (libc_cv_as_i686): Likewise.
16563 (libc_cv_sparc_as_vis3): Likewise.
16564 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16566 (config-asflags-i686): Likewise.
16567 (config-cflags-avx): Likewise.
16568 (config-cflags-sse2avx): Likewise.
16569 (have-mfma4): Likewise.
16570 (config-cflags-novzeroupper): Likewise.
16571 * sysdeps/mach/configure.in (MIG): Likewise.
16572 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16573 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16575 (config-cflags-avx): Likewise.
16576 (config-cflags-sse2avx): Likewise.
16577 (have-mfma4): Likewise.
16578 (config-cflags-novzeroupper): Likewise.
16579 * configure: Regenerated.
16580 * sysdeps/i386/configure: Likewise.
16581 * sysdeps/mach/configure: Likewise.
16582 * sysdeps/sparc/configure: Likewise.
16583 * sysdeps/x86_64/configure: Likewise.
16585 2013-03-20 Roland McGrath <roland@hack.frob.com>
16588 * locale/programs/localedef.c (options): Put N_ translation marker
16589 on argument names, not just descriptions.
16591 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16593 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16595 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16598 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16600 2013-03-19 Roland McGrath <roland@hack.frob.com>
16602 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16603 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16604 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16605 [!BEFORE_ABORT] (before_abort): New function.
16606 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16607 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16608 (writev_for_fatal): New function.
16609 (WRITEV_FOR_FATAL): New macro; call that.
16610 (backtrace_and_maps): New function.
16611 (BEFORE_ABORT): New macro; call that.
16612 (struct str_list): Type removed.
16613 (__libc_message, __libc_fatal): Functions removed.
16614 Include <sysdeps/posix/libc_fatal.c> instead.
16616 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16618 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16620 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16623 2013-03-19 Andreas Schwab <schwab@suse.de>
16625 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16626 * sysdeps/gnu/configure: Regenerate.
16628 * configure.in: Substitute libc_cv_rtlddir.
16629 * configure: Regenerate.
16630 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16631 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16632 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16633 * elf/Makefile (install-others, CFLAGS-interp.c)
16634 (ldso_install, common-ldd-rewrite): Likewise.
16635 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16636 $(inst_slibdir)/$(rtld-installed-name).
16637 * scripts/rellns-sh: Add -p option.
16638 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16641 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16643 * manual/nptl.texi: Renamed to ...
16644 * manual/threads.texi: ... this.
16645 * manual/Makefile (chapters): Update.
16647 2013-03-18 Roland McGrath <roland@hack.frob.com>
16650 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16651 on argument names, not just descriptions.
16652 * malloc/memusagestat.c (options): Likewise.
16653 * nss/getent.c (options): Likewise.
16655 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16658 * iconv/iconv_prog.c (options): Put N_ translation marker
16659 on argument names, not just descriptions.
16660 * iconv/iconvconfig.c (options): Likewise.
16662 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16664 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16665 implementation which is faster on all x86_64 architectures.
16666 Tested on AMD, Intel Nehalem, SNB, IVB.
16667 * sysdeps/x86_64/strnlen.S: Likewise.
16669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16670 Remove all multiarch strlen and strnlen versions.
16671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16672 Remove strlen and strnlen related parts.
16674 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16675 Inline strlen part.
16676 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16678 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16679 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16680 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16681 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16682 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16683 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16685 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16687 * manual/memory.texi (Malloc Tunable Parameters):
16688 Sort parameters alphabetically. Add comments for missing entries.
16690 2013-03-17 David S. Miller <davem@davemloft.net>
16692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16694 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16698 for arguments at most half maximum finite value.
16699 * math/libm-test.inc (j0_test): Add more tests.
16700 (j1_test): Likewise.
16701 (y0_test): Likewise.
16702 (y1_test): Likewise.
16703 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16707 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16708 1 / x and functions P and Q for arguments above 0x1p256L.
16709 (__ieee754_y0l): Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16711 (__ieee754_y1l): Likewise.
16712 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16713 (j1_test): Likewise.
16714 (y0_test): Likewise.
16715 (y1_test): Likewise.
16717 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16719 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16722 2013-03-15 Roland McGrath <roland@hack.frob.com>
16724 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16725 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16726 zero since it's initialized to EXEC_PAGESIZE.
16728 * sysdeps/unix/sysv/linux/ldsodefs.h
16729 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16730 * sysdeps/generic/ldsodefs.h: ... here.
16732 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16734 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16736 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16738 * math/test-snan.c: Renamed from
16739 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16740 * math/Makefile (tests): Add test-snan.
16741 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16744 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16745 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16747 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16748 __builtin_nan family of functions.
16749 * math/libm-test.inc (initialize): Initialize qnan_value with
16750 __builtin_nan family of functions.
16751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16753 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16755 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16756 storage class. Initialize qNaN_var and sNaN_var with
16757 __builtin_nan and __builtin_nans families of functions,
16760 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16761 (sqrt_test): Remove duplicate test with qNaN input.
16762 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16763 (round_test, signbit_test, significand_test): Note missing +/-Inf
16764 as well as qNaN tests.
16766 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16767 qNaN_var. Fix a few strings, too.
16768 * math/libm-test.inc (nan_value): Rename to qnan_value.
16769 * math/gen-libm-test.pl (%beautify): Adjust to that.
16770 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16771 * math/test-misc.c (main): Likewise.
16772 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16773 to __qnan_bytes, and __qnan_union, respectively.
16774 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16776 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16777 and lqnanval, respectively.
16778 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16779 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16780 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16781 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16783 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16784 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16787 * math/test-misc.c (main): Fix copy'n'pastos.
16788 * misc/tst-efgcvt.c (special): Likewise.
16790 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16791 Remove declarations.
16793 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16795 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16796 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16797 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16798 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16800 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16803 macro to return vdso values correctly in IFUNC implementations.
16804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16805 Optimization by using IFUNC.
16807 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16808 Richard Henderson <rth@redhat.com>
16809 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16811 * Makefile.in (bench): New target.
16812 * NEWS: Mention the benchmark framework.
16813 * Rules (bench): Likewise.
16814 (binaries-bench): Generate binaries for functions to
16816 * benchtests/Makefile: New makefile for benchmark tests.
16817 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16819 * benchtests/exp-inputs: New input file for EXP function.
16820 * benchtests/pow-inputs: New input file for POW function.
16821 * scripts/bench.pl: New script to generate source files for
16822 benchmark programs.
16824 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16826 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16828 computations on mantissa. Use macros for rounding and
16830 (denorm): Likewise.
16831 (__dbl_mp): Likewise.
16832 (add_magnitudes): Likewise.
16833 (sub_magnitudes): Likewise.
16836 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16837 powers of two in terms of TWOPOW macro.
16838 (mp_no): Make type of mantissa as MANTISSA_T.
16839 [!RADIXI]: Define RADIXI.
16840 [!TWO52]: Define TWO52.
16841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16843 * manual/nptl.texi (cindex): Modify threads to pthreads.
16845 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16847 * sysdeps/x86_64/preconfigure: Regenerated.
16849 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16852 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16854 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16855 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16857 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16858 * math/libm-test.inc (j0_test): Do not allow one spurious
16859 underflow exception.
16860 (y1_test): Likewise.
16862 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16864 * manual/Makefile (chapters): Add nptl.
16865 * manual/debug.texi (Debugging Support): Add link to Threads
16867 * manual/nptl.texi: New file.
16869 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16871 2013-03-14 Petr Baudis <pasky@ucw.cz>
16873 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16874 for non-NULL pointer before the memory validity test. Pointed
16875 out by Holger Brunck <holger.brunck@keymile.com>.
16877 2013-03-13 Andreas Schwab <schwab@suse.de>
16879 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16882 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16884 * timezone/zic.c: Update from tzcode 2013b.
16886 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16888 * manual/install.texi (Configuring and compiling):
16889 Mention i686 and i586.
16890 * INSTALL: Regenerate.
16892 2013-03-12 Roland McGrath <roland@hack.frob.com>
16894 * sysdeps/init_array/elf-init.c: New file.
16896 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16897 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16899 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16900 __gmon_start__ as global, but as static with a .preinit_array pointer.
16901 * sysdeps/init_array/gmon-start.c: New file. Use that.
16902 * sysdeps/init_array/crti.S: New file, empty except for comments.
16903 * sysdeps/init_array/crtn.S: Likewise.
16905 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16907 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16910 Remove Prefer_SSE_for_memop.
16911 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16912 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16913 HAS_PREFER_SSE_FOR_MEMOP.
16914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16917 Remove bzero, memset ifunc support.
16918 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16923 2013-03-11 Andreas Schwab <schwab@suse.de>
16926 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16929 (GLIBC_2.16): Remove pthread_atfork.
16931 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16933 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16934 (ptestcases.h): Likewise.
16936 2013-03-08 Roland McGrath <roland@hack.frob.com>
16938 * Makeconfig ($(common-objpfx)config.status): Depend on
16939 sysdeps/*/preconfigure{,.in} too.
16941 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16943 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16944 (__free_hook): Use void * instead of __malloc_ptr_t.
16945 (__malloc_hook): Likewise.
16946 (__realloc_hook): Likewise.
16947 (__memalign_hook): Likewise.
16948 (__after_morecore_hook): Likewise.
16949 * malloc/arena.c (save_malloc_hook): Likewise.
16950 (save_free_hook): Likewise.
16951 * malloc/hooks.c (malloc_hook_ini): Likewise.
16952 (realloc_hook_ini): Likewise.
16953 (memalign_hook_ini): Likewise.
16954 * malloc/malloc.c (malloc_hook_ini): Likewise.
16955 (realloc_hook_ini): Likewise.
16956 (memalign_hook_ini): Likewise.
16957 (__free_hook): Likewise.
16958 (__malloc_hook): Likewise.
16959 (__realloc_hook): Likewise.
16960 (__memalign_hook): Likewise.
16961 (__libc_malloc): Likewise.
16962 (__libc_free): Likewise.
16963 (__libc_realloc): Likewise.
16964 (__libc_memalign): Likewise.
16965 (__libc_valloc): Likewise.
16966 (__libc_pvalloc): Likewise.
16967 (__libc_calloc): Likewise.
16968 (__posix_memalign): Likewise.
16969 * malloc/morecore.c (__sbrk): Likewise.
16970 (__default_morecore): Likewise.
16972 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16974 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16975 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16976 __malloc_ptrdiff_t.
16978 * malloc/malloc.h (__malloc_size_t): Remove macro.
16979 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16981 (old_memalign_hook): Likewise.
16982 (old_realloc_hook): Likewise.
16983 (struct hdr): Likewise.
16985 (mallochook): Likewise.
16986 (memalignhook): Likewise.
16987 (reallochook): Likewise.
16988 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16989 (tr_old_realloc_hook): Likewise.
16990 (tr_old_memalign_hook): Likewise.
16991 (tr_mallochook): Likewise.
16992 (tr_reallochook): Likewise.
16993 (tr_memalignhook): Likewise.
16995 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16998 default_ldbl_pack and using as default implementation.
16999 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17001 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17002 redundant definition.
17003 (ldbl_insert_mantissa): Likewise.
17004 (ldbl_canonicalize): Likewise.
17005 (ldbl_nearbyint): Likewise.
17006 (ldbl_pack): Rename to ldbl_pack_ppc.
17007 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17008 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17009 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17011 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17014 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17016 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17019 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17020 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17022 2013-03-07 Andreas Jaeger <aj@suse.de>
17024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17027 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17029 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17030 Include mpa.h and declare __MPEXP.
17031 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17033 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17035 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17036 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17037 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17039 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17040 (__slowpow): Use long double EXPL and LOGL functions to
17042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17043 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17044 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17045 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17046 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17050 intermediate variable to calculate exponent.
17052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17056 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17057 [!NO__SQR]: Define __sqr.
17058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17059 and NO__SQR. Remove all code except __mul and __sqr. Include
17060 sysdeps/ieee754/dbl-64/mpa.c.
17061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17064 * posix/Makefile (tests): Add tst-pathconf.
17065 * posix/tst-pathconf.c: New test case.
17066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17068 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17070 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17072 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17074 2013-03-06 Andreas Jaeger <aj@suse.de>
17076 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17077 definition via __MAP_ANONYMOUS.
17079 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17080 it's not part of Linux headers.
17082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17083 (MAP_HUGE_MASK): Define.
17085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17087 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17090 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17091 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17098 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17099 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17100 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17101 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17102 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17103 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17109 Handle f2fs and efivarfs.
17111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17115 (EFIVARFS_MAGIC): Add.
17116 (F2FS_LINK_MAX): Add.
17118 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17120 * stdio-common/vfprintf.c: Replace __builtin_expect with
17123 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17126 * sysdeps/generic/bp-sym.h: Remove file.
17127 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17128 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17129 <bp-sym.h> and <bp-asm.h>.
17130 (__longjmp): Don't use BP_SYM.
17131 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17133 (memcpy): Don't use BP_SYM.
17134 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17135 <bp-sym.h> and <bp-asm.h>.
17136 (memcpy): Don't use BP_SYM.
17137 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17139 (memcpy): Don't use BP_SYM.
17140 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17142 (memset): Don't use BP_SYM.
17143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17145 (__bzero): Don't use BP_SYM.
17146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17148 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17149 <bp-sym.h> and <bp-asm.h>.
17150 (memcmp): Don't use BP_SYM. Remove comment about bounded
17152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17153 <bp-sym.h> and <bp-asm.h>.
17154 (memcpy): Don't use BP_SYM.
17155 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17156 <bp-sym.h> and <bp-asm.h>.
17157 (memset): Don't use BP_SYM.
17158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17160 (__bzero): Don't use BP_SYM.
17161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17164 <bp-sym.h> and <bp-asm.h>.
17165 (strncmp): Don't use BP_SYM. Remove comment about bounded
17167 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17168 <bp-sym.h> and <bp-asm.h>.
17169 (memcpy): Don't use BP_SYM.
17170 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17171 <bp-sym.h> and <bp-asm.h>.
17172 (memset): Don't use BP_SYM.
17173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17175 (__bzero): Don't use BP_SYM.
17176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17179 <bp-sym.h> and <bp-asm.h>.
17180 (__memchr): Don't use BP_SYM.
17181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17182 <bp-sym.h> and <bp-asm.h>.
17183 (memcmp): Don't use BP_SYM. Remove comment about bounded
17185 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17186 <bp-sym.h> and <bp-asm.h>.
17187 (memcpy): Don't use BP_SYM.
17188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17189 <bp-sym.h> and <bp-asm.h>.
17190 (__mempcpy): Don't use BP_SYM.
17191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17192 <bp-sym.h> and <bp-asm.h>.
17193 (__memrchr): Don't use BP_SYM.
17194 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17195 <bp-sym.h> and <bp-asm.h>.
17196 (memset): Don't use BP_SYM.
17197 (__bzero): Likewise.
17198 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17199 <bp-sym.h> and <bp-asm.h>.
17200 (__rawmemchr): Don't use BP_SYM.
17201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (__STRCMP): Don't use BP_SYM.
17204 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17205 <bp-sym.h> and <bp-asm.h>.
17206 (strchr): Don't use BP_SYM.
17207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17208 <bp-sym.h> and <bp-asm.h>.
17209 (__strchrnul): Don't use BP_SYM.
17210 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17211 <bp-sym.h> and <bp-asm.h>.
17212 (strlen): Don't use BP_SYM.
17213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17214 <bp-sym.h> and <bp-asm.h>.
17215 (strncmp): Don't use BP_SYM. Remove comment about bounded
17217 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17218 <bp-sym.h> and <bp-asm.h>.
17219 (__strnlen): Don't use BP_SYM.
17220 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17221 <bp-sym.h> and <bp-asm.h>.
17222 (__GI__setjmp): Don't use BP_SYM.
17223 (_setjmp): Likewise.
17224 (__sigsetjmp): Likewise.
17225 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17226 (L(start_addresses)): Don't use BP_SYM.
17227 (_start): Likewise.
17228 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17230 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17231 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17234 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17236 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17237 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17238 about bounded pointers.
17239 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17240 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17241 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17243 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17244 about bounded pointers. Remove GKM FIXME comments.
17245 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17246 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17248 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17249 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17250 Remove GKM FIXME comments.
17251 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17253 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17255 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17256 about bounded pointers. Remove GKM FIXME comment.
17257 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17259 (strncmp): Don't use BP_SYM. Remove comment about bounded
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17262 <bp-sym.h> and <bp-asm.h>.
17263 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17265 <bp-sym.h> and <bp-asm.h>.
17266 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17269 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17271 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17274 2013-03-05 David S. Miller <davem@davemloft.net>
17276 * po/es.po: Update from translation team.
17278 2013-03-05 Andreas Jaeger <aj@suse.de>
17280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17281 <bits/mman-linux.h>.
17282 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17284 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17285 <bits/mman-linux.h> to end of file.
17286 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17288 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17289 <bits/mman-linux.h> to end of file.
17290 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17293 <bits/mman-linux.h> to end of file.
17295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17296 (MCL_CURRENT, MCL_FUTURE): Define here.
17298 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17305 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17308 fourth parameter needed for rt_sigprocmask syscall.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17310 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17311 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17312 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17314 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17316 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17319 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17320 comment about bounded pointers.
17321 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17322 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17324 2013-03-04 Andreas Jaeger <aj@suse.de>
17326 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17327 common definitions.
17329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17330 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17331 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17333 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17336 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17340 __ieee754_sqrl instead of __sqrl.
17342 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17344 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17345 * sysdeps/powerpc/fpu_control.h: ... here.
17346 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17347 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17348 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17349 * sysdeps/powerpc/bits/mathinline.h: ... here.
17351 2013-03-01 Roland McGrath <roland@hack.frob.com>
17353 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17354 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17355 to just [NEED_DL_SYSINFO_DSO].
17356 * elf/dl-support.c: Likewise.
17357 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17358 * elf/rtld.c (dl_main): Likewise.
17359 * elf/setup-vdso.h (setup_vdso): Likewise.
17360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17361 * sysdeps/unix/sysv/linux/dl-sysdep.c
17362 (_dl_discover_osversion): Likewise.
17364 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17366 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17367 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17369 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17371 * NEWS: Mention libm performance improvements and non-x86 PI
17374 * csu/libc-start.c (__pthread_initialize_minimal): Change
17375 function arguments.
17376 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17378 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17381 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17382 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17383 <bp-sym.h> and <bp-asm.h>.
17384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17387 (memcpy): Don't use BP_SYM.
17388 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17390 (__mpn_add_n): Don't use BP_SYM.
17391 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17392 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17394 (__mpn_addmul_1): Don't use BP_SYM.
17395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17396 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17398 (_setjmp): Don't use BP_SYM.
17399 (__novmx_setjmp): Likewise.
17400 (__GI__setjmp): Likewise.
17401 (__vmx_setjmp): Likewise.
17402 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17404 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17405 (__bzero): Don't use BP_SYM.
17406 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17407 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17408 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17409 <bp-sym.h> and <bp-asm.h>.
17410 (memcpy): Don't use BP_SYM.
17411 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17412 <bp-sym.h> and <bp-asm.h>.
17413 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17414 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17415 <bp-sym.h> and <bp-asm.h>.
17416 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17417 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17419 (__mpn_lshift): Don't use BP_SYM.
17420 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17421 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17423 (memset): Don't use BP_SYM.
17424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17426 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17428 (__mpn_mul_1): Don't use BP_SYM.
17429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17431 <bp-sym.h> and <bp-asm.h>.
17432 (memcmp): Don't use BP_SYM.
17433 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17434 <bp-sym.h> and <bp-asm.h>.
17435 (memcpy): Don't use BP_SYM.
17436 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17437 <bp-sym.h> and <bp-asm.h>.
17438 (memset): Don't use BP_SYM.
17439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17440 <bp-sym.h> and <bp-asm.h>.
17441 (strncmp): Don't use BP_SYM.
17442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17443 <bp-sym.h> and <bp-asm.h>.
17444 (memcpy): Don't use BP_SYM.
17445 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17446 <bp-sym.h> and <bp-asm.h>.
17447 (memset): Don't use BP_SYM.
17448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17449 <bp-sym.h> and <bp-asm.h>.
17450 (__memchr): Don't use BP_SYM.
17451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17452 <bp-sym.h> and <bp-asm.h>.
17453 (memcmp): Don't use BP_SYM.
17454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17455 <bp-sym.h> and <bp-asm.h>.
17456 (memcpy): Don't use BP_SYM.
17457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17458 <bp-sym.h> and <bp-asm.h>.
17459 (__mempcpy): Don't use BP_SYM.
17460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17461 <bp-sym.h> and <bp-asm.h>.
17462 (__memrchr): Don't use BP_SYM.
17463 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17464 <bp-sym.h> and <bp-asm.h>.
17465 (memset): Don't use BP_SYM.
17466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17467 <bp-sym.h> and <bp-asm.h>.
17468 (__rawmemchr): Don't use BP_SYM.
17469 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17470 <bp-sym.h> and <bp-asm.h>.
17471 (__STRCMP): Don't use BP_SYM.
17472 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17473 <bp-sym.h> and <bp-asm.h>.
17474 (strchr): Don't use BP_SYM.
17475 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17476 <bp-sym.h> and <bp-asm.h>.
17477 (__strchrnul): Don't use BP_SYM.
17478 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17479 <bp-sym.h> and <bp-asm.h>.
17480 (strlen): Don't use BP_SYM.
17481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17482 <bp-sym.h> and <bp-asm.h>.
17483 (strncmp): Don't use BP_SYM.
17484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17485 <bp-sym.h> and <bp-asm.h>.
17486 (__strnlen): Don't use BP_SYM.
17487 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17489 (__mpn_rshift): Don't use BP_SYM.
17490 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17491 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17492 <bp-sym.h> and <bp-asm.h>.
17493 (__sigsetjmp): Don't use BP_SYM.
17494 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17495 (L(start_addresses)): Don't use BP_SYM.
17496 (_start): Likewise.
17497 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17499 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17500 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17501 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17502 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17504 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17507 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17514 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17516 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17517 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17518 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17520 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17522 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17524 (strncmp): Don't use BP_SYM,
17525 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17527 (__mpn_sub_n): Don't use BP_SYM.
17528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17529 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17531 (__mpn_submul_1): Don't use BP_SYM.
17532 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17534 <bp-sym.h> and <bp-asm.h>.
17535 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17537 <bp-sym.h> and <bp-asm.h>.
17538 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17541 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17544 Use ZK to minimize writes to Z.
17545 (sub_magnitudes): Simplify code a bit.
17546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17547 Use ZK to minimize writes to Z.
17548 (sub_magnitudes): Simplify code a bit.
17550 2013-02-27 Roland McGrath <roland@hack.frob.com>
17552 * csu/gmon-start.c: Add special exception to license text.
17554 2013-02-27 Richard Henderson <rth@redhat.com>
17556 * scripts/config.guess: Update from config.git.
17557 * scripts/config.sub: Likewise.
17559 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17561 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17563 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17565 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17567 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17569 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17571 2013-02-26 Roland McGrath <roland@hack.frob.com>
17573 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17574 [$(build-shared = yes].
17576 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17578 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17579 (__mul): Reduce iterations for calculating mantissa.
17581 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17583 (__mpranred): Likewise.
17586 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17587 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17589 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17591 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17592 Define __attribute__.
17594 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17596 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17598 * posix/regex_internal.h (__attribute): Remove.
17599 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17600 (re_string_context_at): Likewise.
17601 (bitset_not): Use __attribute__ and mark function as possibly
17603 (bitset_merge): Likewise.
17604 (bitset_mask): Likewise.
17605 (re_string_char_size_at): Likewise.
17606 (re_string_wchar_at): Likewise.
17607 (re_string_elem_size_at): Likewise.
17609 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17611 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17615 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17619 (denorm): Likewise.
17620 (__dbl_mp): Likewise.
17621 (add_magnitudes): Likewise.
17622 (sub_magnitudes): Likewise.
17626 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17629 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17632 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17636 up changes with default code.
17637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17640 2013-02-24 Allan McRae <allan@archlinux.org>
17642 * manual/socket.texi (The Internet Namespace): Order menu items
17643 to match that in the file.
17645 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17646 node listing of the info page menu.
17648 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17651 * sysdeps/i386/bp-asm.h: Remove file.
17652 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17653 (PARMS): Do not use macros from bp-asm.h.
17657 (__mpn_add_n): Do not use BP_SYM
17658 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17660 (PARMS): Do not use macros from bp-asm.h.
17663 (__mpn_addmul_1): Do not use BP_SYM
17664 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17666 (PARMS): Do not use macros from bp-asm.h.
17667 (SIGMSK): Likewise.
17668 (_setjmp): Likewise. Do not use BP_SYM.
17669 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17671 (PARMS): Do not use macros from bp-asm.h.
17672 (SIGMSK): Likewise.
17673 (setjmp): Likewise. Do not use BP_SYM.
17674 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17676 (PARMS): Do not use macros from bp-asm.h.
17677 (__frexp): Do not use BP_SYM.
17679 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17681 (PARMS): Do not use macros from bp-asm.h.
17682 (__frexpf): Do not use BP_SYM.
17683 (frexpf): Likewise.
17684 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17686 (PARMS): Do not use macros from bp-asm.h.
17687 (__frexpl): Do not use BP_SYM.
17688 (frexpl): Likewise.
17689 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17691 (PARMS): Do not use macros from bp-asm.h.
17692 (__remquo): Do not use BP_SYM.
17693 (remquo): Likewise.
17694 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17696 (PARMS): Do not use macros from bp-asm.h.
17697 (__remquof): Do not use BP_SYM.
17698 (remquof): Likewise.
17699 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17701 (PARMS): Do not use macros from bp-asm.h.
17702 (__remquol): Do not use BP_SYM.
17703 (remquol): Likewise.
17704 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17706 (PARMS): Do not use macros from bp-asm.h.
17709 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17710 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17712 (PARMS): Do not use macros from bp-asm.h.
17713 (strlen): Do not use BP_SYM.
17714 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17716 (PARMS): Do not use macros from bp-asm.h.
17720 (__mpn_add_n): Do not use BP_SYM.
17721 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17723 (PARMS): Do not use macros from bp-asm.h.
17726 (__mpn_addmul_1): Do not use BP_SYM.
17727 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17730 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17732 (PARMS): Do not use macros from bp-asm.h.
17735 (__mpn_lshift): Do not use BP_SYM.
17736 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17738 (PARMS): Do not use macros from bp-asm.h.
17742 (memcpy): Likewise. Do not use BP_SYM.
17743 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17744 libc_hidden_def and weak_alias.
17745 (mempcpy): Do not use BP_SYM in weak_alias.
17746 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17748 (PARMS): Do not use macros from bp-asm.h.
17751 [!BZERO_P] (CHR): Likewise.
17752 (memset): Likewise. Do not use BP_SYM.
17753 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17755 (PARMS): Do not use macros from bp-asm.h.
17758 (__mpn_mul_1): Do not use BP_SYM.
17759 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17761 (PARMS): Do not use macros from bp-asm.h.
17764 (__mpn_rshift): Do not use BP_SYM.
17765 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17767 (PARMS): Do not use macros from bp-asm.h.
17770 (strchr): Likewise. Do not use BP_SYM.
17771 (index): Do not use BP_SYM in weak_alias.
17772 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17774 (PARMS): Do not use macros from bp-asm.h.
17777 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17778 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17780 (PARMS): Do not use macros from bp-asm.h.
17781 (strlen): Do not use BP_SYM.
17782 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17784 (PARMS): Do not use macros from bp-asm.h.
17788 (__mpn_sub_n): Do not use BP_SYM.
17789 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17791 (PARMS): Do not use macros from bp-asm.h.
17794 (__mpn_submul_1): Do not use BP_SYM.
17795 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17797 (PARMS): Do not use macros from bp-asm.h.
17801 (__mpn_add_n): Do not use BP_SYM.
17802 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17805 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17807 (PARMS): Do not use macros from bp-asm.h.
17810 (memcmp): Do not use BP_SYM.
17811 (bcmp): Do not use BP_SYM in weak_alias.
17812 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17814 (PARMS): Do not use macros from bp-asm.h.
17818 (memcpy): Likewise. Do not use BP_SYM.
17819 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17821 (PARMS): Do not use macros from bp-asm.h.
17825 (memmove): Likewise. Do not use BP_SYM.
17826 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17828 (PARMS): Do not use macros from bp-asm.h.
17832 (__mempcpy): Likewise. Do not use BP_SYM.
17833 (mempcpy): Do not use BP_SYM in weak_alias.
17834 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17836 (PARMS): Do not use macros from bp-asm.h.
17839 [!BZERO_P] (CHR): Likewise.
17840 (memset): Likewise. Do not use BP_SYM.
17841 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17843 (PARMS): Do not use macros from bp-asm.h.
17845 (strcmp): Do not use BP_SYM.
17846 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17848 (PARMS): Do not use macros from bp-asm.h.
17851 [USE_AS_STRTOK_R] (SAVE): Likewise.
17852 (FUNCTION): Likewise. Do not use BP_SYM.
17853 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17855 (strtok_r): Likewise.
17856 (__GI___strtok_r): Likewise.
17857 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17858 (PARMS): Do not use macros from bp-asm.h.
17861 (__mpn_lshift): Do not use BP_SYM.
17862 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17863 (PARMS): Do not use macros from bp-asm.h.
17866 (__memchr): Do not use BP_SYM.
17867 (memchr): Do not use BP_SYM in weak_alias.
17868 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17869 (PARMS): Do not use macros from bp-asm.h.
17872 (memcmp): Do not use BP_SYM.
17873 (bcmp): Do not use BP_SYM in weak_alias.
17874 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17875 (PARMS): Do not use macros from bp-asm.h.
17878 (__mpn_mul_1): Do not use BP_SYM.
17879 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17881 (PARMS): Do not use macros from bp-asm.h.
17884 (__rawmemchr): Do not use BP_SYM.
17885 (rawmemchr): Do not use BP_SYM in weak_alias.
17886 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17887 (PARMS): Do not use macros from bp-asm.h.
17890 (__mpn_rshift): Do not use BP_SYM.
17891 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17892 (PARMS): Do not use macros from bp-asm.h.
17893 (SIGMSK): Likewise.
17894 (__sigsetjmp): Likewise. Do not use BP_SYM.
17895 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17896 (_start): Do not use BP_SYM.
17897 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17898 (PARMS): Do not use macros from bp-asm.h.
17901 (__stpcpy): Likewise. Do not use BP_SYM.
17902 (stpcpy): Do not use BP_SYM in weak_alias.
17903 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17905 (PARMS): Do not use macros from bp-asm.h.
17909 (__stpncpy): Likewise. Do not use BP_SYM.
17910 (stpncpy): Do not use BP_SYM in weak_alias.
17911 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17912 (PARMS): Do not use macros from bp-asm.h.
17915 (strchr): Likewise. Do not use BP_SYM.
17916 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17918 (PARMS): Do not use macros from bp-asm.h.
17921 (__strchrnul): Likewise. Do not use BP_SYM.
17922 (strchrnul): Do not use BP_SYM in weak_alias.
17923 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17925 (PARMS): Do not use macros from bp-asm.h.
17927 (strcspn): Do not use BP_SYM.
17928 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17930 (PARMS): Do not use macros from bp-asm.h.
17933 (strpbrk): Likewise. Do not use BP_SYM.
17934 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17936 (PARMS): Do not use macros from bp-asm.h.
17939 (strrchr): Likewise. Do not use BP_SYM.
17940 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17941 (PARMS): Do not use macros from bp-asm.h.
17943 (strspn): Do not use BP_SYM.
17944 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17945 (PARMS): Do not use macros from bp-asm.h.
17949 (FUNCTION): Likewise. Do not use BP_SYM.
17950 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17952 (strtok_r): Likewise.
17953 (__GI___strtok_r): Likewise.
17954 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17955 (PARMS): Do not use macros from bp-asm.h.
17959 (__mpn_sub_n): Do not use BP_SYM.
17960 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17962 (PARMS): Do not use macros from bp-asm.h.
17965 (__mpn_submul_1): Do not use BP_SYM.
17966 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17968 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17970 (PARMS): Do not use macros from bp-asm.h.
17975 (__clone): Do not use BP_SYM.
17976 (clone): Do not use BP_SYM in weak_alias.
17977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17979 (PARMS): Do not use macros from bp-asm.h.
17981 (__mmap64): Do not use BP_SYM.
17982 (mmap64): Do not use BP_SYM in weak_alias.
17983 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17984 <bp-sym.h> and <bp-asm.h>.
17985 (PARMS): Do not use macros from bp-asm.h.
17986 (__posix_fadvise64_l64): Do not use BP_SYM.
17987 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17988 (PARMS): Do not use macros from bp-asm.h.
17990 (semtimedop): Do not use BP_SYM.
17991 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17994 2013-02-21 Allan McRae <allan@archlinux.org>
17996 * manual/message.texi (Charset conversion in gettext):
17997 Move @end statement to beginning of line.
17999 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18007 (denorm): Likewise.
18008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18011 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18013 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18014 tail-call to the resolved function if pltexit isn't needed.
18016 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18019 or Y being zero as being unlikely.
18020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18023 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18025 * manual/nss.texi (System Databases and Name Service Switch):
18026 Remove frobnicate @pxref.
18028 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18030 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18031 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18033 2013-02-20 Petr Machata <pmachata@redhat.com>
18035 * elf/elf.h (R_ARM_TARGET1): New macro.
18036 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18037 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18038 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18039 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18040 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18041 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18042 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18043 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18044 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18045 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18046 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18047 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18048 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18049 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18050 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18051 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18052 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18053 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18054 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18055 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18056 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18057 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18058 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18059 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18060 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18061 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18062 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18063 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18064 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18065 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18066 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18067 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18068 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18069 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18070 (R_ARM_THM_GOT_BREL12): Likewise.
18071 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18072 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18073 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18074 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18075 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18076 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18077 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18078 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18079 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18081 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18083 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18084 __attribute_used__ to __attribute__ ((unused)).
18086 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18088 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18091 comment formatting.
18092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18094 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18097 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18099 (ENTER): Remove both macro definitions.
18101 (CHECK_BOUNDS_LOW): Likewise.
18102 (CHECK_BOUNDS_HIGH): Likewise.
18103 (CHECK_BOUNDS_BOTH): Likewise.
18104 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18105 (RETURN_BOUNDED_POINTER): Likewise.
18106 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18107 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18108 (POP_ERRNO_LOCATION_RETURN): Likewise.
18109 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18110 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18111 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18113 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18114 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18115 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18116 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18117 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18118 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18119 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18120 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18121 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18122 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18123 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18124 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18126 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18129 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18132 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18133 * sysdeps/i386/i586/memset.S (memset): Likewise.
18134 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18135 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18136 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18139 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18140 Change uses of L(2) to L(out).
18141 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18142 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18143 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18144 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18145 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18147 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18148 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18151 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18152 (RETURN): Do not use macro LEAVE.
18153 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18154 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18155 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18156 * sysdeps/i386/i686/memset.S (memset): Likewise.
18157 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18158 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18160 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18162 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18163 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18164 L(1_2) and L(1_3) into L(1).
18165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18166 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18168 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18169 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18170 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18171 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18173 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18175 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18176 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18177 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18178 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18179 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18180 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18181 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18182 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18183 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18184 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18185 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18186 * sysdeps/i386/strspn.S (strspn): Likewise.
18187 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18189 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18190 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18191 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18192 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18193 L(1_3) into L(1_1).
18194 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18195 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18196 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18198 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18200 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18202 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18205 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18207 * math/atest-exp.c (exp_mpn): Remove ROUND.
18208 * math/atest-exp2.c (exp_mpn): Likewise.
18209 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18211 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18212 * stdlib/tst-tls-atexit-lib.c: Likewise.
18213 * stdlib/tst-tls-atexit.c: Likewise.
18215 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18217 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18218 and __attribute_alloc_size__.
18220 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18222 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18223 __attribute_alloc_size__.
18224 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18225 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18227 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18229 * include/programs/xmalloc.h: New file.
18230 * catgets/gencat.c: Include it.
18231 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18232 * elf/pldd.c: Likewise.
18233 * iconv/iconv_charmap.c: Likewise.
18234 * iconv/iconvconfig.c: Likewise.
18235 * iconv/strtab.c: Likewise.
18236 * locale/programs/locale.c: Likewise.
18237 * locale/programs/localedef.h: Likewise.
18238 * locale/programs/simple-hash.c: Likewise.
18239 * nscd/nscd.h: Likewise.
18240 * nss/makedb.c: Likewise.
18241 * sysdeps/generic/ldconfig.h: Likewise.
18243 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18245 * Versions.def: Add GLIBC_2.18.
18246 * include/link.h (struct link_map): New member l_tls_dtor_count.
18247 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18248 (__call_tls_dtors): Likewise.
18249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18250 __cxa_thread_atexit_impl.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18267 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18268 (tests): Add test case tst-tls-atexit.
18269 (modules-names): Add shared library for tst-tls-atexit.
18270 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18271 (GLIBC_PRIVATE): Add __call_tls_dtors.
18272 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18274 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18275 * stdlib/tst-tls-atexit.c: New test case.
18276 * stdlib/tst-tls-atexit-lib.c: New test case.
18278 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18280 * elf/Versions (ld): Add _dl_find_dso_for_object.
18281 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18282 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18283 (dl_open_worker): Use _dl_find_dso_for_object.
18284 * elf/dl-sym.c (do_sym): Likewise.
18285 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18287 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18289 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18290 Syntactic changes only.
18291 (_dl_runtime_profile): Do a tail-call to the resolved function.
18293 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/x86_64/bp-asm.h: Remove file.
18297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18298 <bp-sym.h> and <bp-asm.h>.
18299 (__clone): Do not use BP_SYM.
18300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18301 <bp-sym.h> and <bp-asm.h>.
18302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18303 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18305 (_setjmp): Do not use BP_SYM.
18306 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18308 (setjmp): Do not use BP_SYM.
18309 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18311 (mempcpy): Do not use BP_SYM in weak_alias.
18312 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18314 (strchr): Do not use BP_SYM.
18315 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18317 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18318 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18319 (_start): Do not use BP_SYM.
18320 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18322 (strcat): Do not use BP_SYM.
18323 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18325 (STRCMP): Do not use BP_SYM.
18326 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18328 (STRCPY): Do not use BP_SYM.
18329 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18331 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18333 (FUNCTION): Do not use BP_SYM.
18334 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18336 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18338 2013-02-17 Andreas Jaeger <aj@suse.de>
18340 * time/Versions: Sort entries.
18341 * string/Versions: Likewise.
18342 * resolv/Versions: Likewise.
18343 * posix/Versions: Likewise.
18344 * iconv/Versions: Likewise.
18345 * elf/Versions: Likewise.
18346 * wcsmbs/Versions: Likewise.
18348 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18350 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18351 loop termination condition.
18353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18354 variable to calculate EZ.
18357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18358 the lower precision input.
18360 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18363 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18364 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18365 (run-via-rtld-prefix): Do not handle %-bp tests.
18366 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18367 (all-object-suffixes): Remove .ob.
18368 (bppfx): Remove variable.
18369 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18370 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18371 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18372 [$(build-bounded) = yes] (libtype.ob): Likewise.
18373 * Makerules (elide-routines.ob): Remove variable.
18374 (do-tests-clean): Do not handle *-bp.out.
18375 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18376 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18377 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18378 (tests): Do not include $(tests-bp.out).
18379 (xtests): Do not include $(xtests-bp.out).
18380 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18381 [$(build-bounded) = yes] ($(addprefix
18382 $(objpfx),$(binaries-bounded))): Remove rule.
18383 ($(objpfx)%-bp.out): Remove rule.
18384 * config.make.in (build-bounded): Remove variable.
18385 * crypt/Makefile [$(build-bounded) = yes]
18386 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18387 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18388 append to variable.
18389 [$(build-bounded) = yes] (install-lib): Likewise.
18390 [$(build-bounded) = yes] (generated): Likewise.
18391 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18393 * intl/Makefile [$(build-bounded) = yes]
18394 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18395 * math/Makefile [$(build-bounded) = yes]
18396 ($(tests:%=$(objpfx)%-bp): Likewise.
18397 * misc/Makefile [$(build-bounded) = yes]
18398 ($(objpfx)tst-tsearch-bp): Likewise.
18399 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18400 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18402 * string/Makefile (o-objects.ob): Remove variable.
18403 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18404 (CFLAGS-.ob): Remove variable.
18405 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18406 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18407 both definitions of variable.
18408 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18409 (ASFLAGS-.ob): Remove variable.
18411 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18414 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18415 Remove __BOUNDED_POINTERS__ from condition.
18416 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18417 * string/bits/string2.h [!__NO_STRING_INLINES &&
18418 !__BOUNDED_POINTERS__]: Likewise.
18419 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18421 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18422 Remove conditional code.
18423 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18424 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18425 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18429 * csu/libc-start.c: Do not include <bp-sym.h>.
18430 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18431 * elf/dl-open.c: Do not include <bp-sym.h>.
18432 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18433 * math/fegetenv.c: Do not include <bp-sym.h>.
18434 (fegetenv): Do not use BP_SYM in versioned symbols.
18435 * nptl/sysdeps/pthread/bits/libc-lockP.h
18436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18439 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18441 (__pthread_mutex_destroy): Likewise.
18442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18443 (__pthread_mutex_lock): Likewise.
18444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18445 (__pthread_mutex_trylock): Likewise.
18446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18447 (__pthread_mutex_unlock): Likewise.
18448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18449 (__pthread_mutexattr_init): Likewise.
18450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18451 (__pthread_mutexattr_destroy): Likewise.
18452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18453 (__pthread_mutexattr_settype): Likewise.
18454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18455 (__pthread_rwlock_init): Likewise.
18456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18457 (__pthread_rwlock_destroy): Likewise.
18458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18459 (__pthread_rwlock_rdlock): Likewise.
18460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18461 (__pthread_rwlock_tryrdlock): Likewise.
18462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18463 (__pthread_rwlock_wrlock): Likewise.
18464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18465 (__pthread_rwlock_trywrlock): Likewise.
18466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18467 (__pthread_rwlock_unlock): Likewise.
18468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18469 (__pthread_key_create): Likewise.
18470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18471 (__pthread_setspecific): Likewise.
18472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18473 (__pthread_getspecific): Likewise.
18474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18477 (_pthread_cleanup_push_defer): Likewise.
18478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18479 (_pthread_cleanup_pop_restore): Likewise.
18480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18481 (pthread_setcancelstate): Likewise.
18482 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18484 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18485 (memchr): Do not use BP_SYM in weak_alias.
18486 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18487 (fegetenv): Do not use BP_SYM in versioned symbols.
18488 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18489 (fesetenv): Do not use BP_SYM in versioned symbols.
18490 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18491 (feupdateenv): Do not use BP_SYM in versioned symbols.
18492 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18493 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18494 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18495 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18496 (open64): Do not use BP_SYM in weak_alias.
18497 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18498 (fegetenv): Do not use BP_SYM in versioned symbols.
18499 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18500 (fesetenv): Do not use BP_SYM in versioned symbols.
18501 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18502 (feupdateenv): Do not use BP_SYM in versioned symbols.
18503 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18504 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18505 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18506 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18507 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18508 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18509 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18511 (__libc_start_main): Do not use BP_SYM.
18513 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18516 redundant return line.
18518 (denorm): Likewise.
18519 (dbl_mp): Likewise.
18520 (sub_magnitudes): Likewise.
18526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18528 (denorm): Likewise.
18529 (dbl_mp): Likewise.
18530 (sub_magnitudes): Likewise.
18537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18539 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18540 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18543 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18544 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18546 of __mul for squares.
18547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18551 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18552 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18554 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18557 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18559 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18560 prototype or function definition. Rename ubp_* variables and
18561 parameters. Remove argv definitions conditional on
18562 [__BOUNDED_POINTERS__].
18563 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18564 * elf/dl-runtime.c (_dl_fixup): Likewise.
18565 * include/set-hooks.h (RUN_HOOK): Likewise.
18566 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18568 * string/strcpy.c (strcpy): Do not use __unbounded.
18569 * sysdeps/generic/frame.h (struct layout): Likewise.
18570 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18571 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18572 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18573 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18574 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18575 (__backtrace): Likewise.
18576 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18578 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18580 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18582 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18583 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18584 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18585 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18586 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18587 Do not use __unbounded.
18588 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18589 Rename __unboundedrlimits parameter to rlimits in prototype.
18590 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18591 Do not use __unbounded.
18592 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18593 not use __ptrvalue.
18594 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18595 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18596 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18598 __ptrvalue or __unbounded.
18599 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18600 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18602 (__new_msgctl): Do not use __ptrvalue.
18603 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18605 (__libc_msgrcv): Do not use __ptrvalue.
18606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18607 startup_info): Do not use __unbounded.
18608 (__libc_start_main): Likewise. Rename ubp_* variables and
18609 parameters. Remove argv definitions conditional on
18610 [__BOUNDED_POINTERS__].
18611 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18613 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18615 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18617 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18619 (__new_shmctl): Do not use __ptrvalue.
18620 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18621 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18623 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18625 (__libc_sigaction): Likewise.
18626 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18629 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18631 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18633 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18635 * string/mempcpy.c: Implement by calling memcpy.
18637 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18645 values in the mantissa.
18647 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18648 minimize writes to Z.
18649 (sub_magnitudes): Simplify code a bit.
18651 2013-02-12 Roland McGrath <roland@hack.frob.com>
18653 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18654 from the message. The linker prefixes all warnings with that already.
18656 2013-02-12 Andreas Schwab <schwab@suse.de>
18659 * posix/regexec.c (extend_buffers): Add parameter min_len.
18660 (check_matching): Pass minimum needed length.
18661 (clean_state_log_if_needed): Likewise.
18662 (get_subexp): Likewise.
18663 * posix/Makefile (tests): Add bug-regex34.
18664 (bug-regex34-ENV): Define.
18665 * posix/bug-regex34.c: New file.
18668 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18669 elements compare against the byte sequence of it, not its name.
18670 * posix/Makefile (tests): Add bug-regex35.
18671 (bug-regex35-ENV): Define.
18672 * posix/bug-regex35.c: New file.
18674 2013-02-11 Tom de Vries <tom@codesourcery.com>
18676 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18678 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18679 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18680 (CHECK_EOL): Add undef.
18682 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18684 * bits/stdlib-bsearch.h: New file.
18685 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18686 * stdlib/stdlib.h: Likewise.
18688 2013-02-11 Roland McGrath <roland@hack.frob.com>
18690 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18691 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18693 * manual/search.texi (Array Search Function): Add missing const in
18695 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18696 declaration to use rlim_t.
18697 (Basic Scheduling Functions): Remove erroneous const from
18698 sched_getparam prototype. Remove erroneous * from
18699 sched_get_priority_max and sched_get_priority_min prototypes.
18700 (Resource Usage): Fix summary @comment on vtimes to refer to
18701 sys/vtimes.h rather than vtimes.h.
18702 Add missing *s in vtimes prototype.
18703 (Limits on Resources): Fix ulimit prototype to return long int.
18704 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18705 prototypes to use long int rather than double.
18706 (BSD Random): Fix initstate and setstate to use char *, not void *.
18707 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18708 prototype to make second argument 'struct aiocb64 *const[]'.
18709 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18710 (Status of AIO Operations): Remove erroneous const in aio_return and
18711 aio_return64 prototypes.
18712 (Synchronizing I/O): Fix sync prototype to return void.
18713 * manual/startup.texi (Suboptions): Remove an erroneous const in
18714 getsubopt prototype.
18715 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18716 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18717 use size_t rather than int.
18718 (Scanning All Users): Likewise for getpwent_r.
18719 (Setting Groups): Add missing const to setgroups prototype.
18720 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18721 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18722 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18723 'const void *' rather than 'const char *'.
18724 (Host Address Functions): Likewise for inet_ntop.
18725 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18726 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18727 ssize_t for return value.
18728 (Sending Data): Likewise for send, sendto, sendmsg.
18729 (Socket Option Functions): Add a missing const in setsockopt prototype.
18730 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18731 use wchar_t for the argument.
18732 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18733 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18735 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18736 double/float/long double for second argument.
18737 Fix return types of significand, significandf, significandl.
18738 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18739 argument in fchmod prototype.
18740 (File Owner): Use uid_t and gid_t in fchown prototype.
18741 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18742 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18743 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18744 use 'const struct dirent **' as argument types to CMP function pointer
18746 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18747 (File Times): Fix summary magic @comment for struct utimbuf and utime
18748 to refer to utime.h, not time.h.
18749 * manual/string.texi (Argz Functions): Add missing const in
18750 argz_extract and argz_next prototypes.
18751 (Finding Tokens in a String): Likewise for basename.
18752 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18753 (Copying and Concatenation): Fix typo in wmemmove prototype.
18754 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18755 (Signal Stack): Remove erroneous const in sigstack prototype.
18756 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18758 (Simple Calendar Time): Likewise for stime.
18759 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18761 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18762 say sys/sysctl.h instead.
18763 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18764 and vsyslog prototypes.
18766 2013-02-11 Tom de Vries <tom@codesourcery.com>
18768 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18771 2013-02-11 Roland McGrath <roland@hack.frob.com>
18773 * misc/sys/mman.h: Fix typo in mremap comment.
18775 2013-02-08 Roland McGrath <roland@hack.frob.com>
18777 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18778 the '\0' terminator.
18780 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18783 * debug/segfault.c: Don't include <bp-checks.h>.
18784 * sysdeps/generic/bp-checks.h: Remove file.
18785 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18786 (__GETDENTS): Don't use CHECK_N.
18787 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18788 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18789 (__getgroups): Don't use CHECK_N.
18790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18791 (setgroups): Don't use CHECK_N.
18792 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18793 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18794 (__libc_msgrcv): Don't use CHECK_N.
18795 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18796 (__libc_msgsnd): Don't use CHECK_N.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18799 (__libc_pread): Don't use CHECK_N.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18801 include <bp-checks.h>.
18802 (__libc_pread64): Don't use CHECK_N.
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18804 include <bp-checks.h>.
18805 (__libc_pwrite): Don't use CHECK_N.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18807 include <bp-checks.h>.
18808 (__libc_pwrite64): Don't use CHECK_N.
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18811 (__libc_pread): Don't use CHECK_N.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18813 include <bp-checks.h>.
18814 (__libc_pread64): Don't use CHECK_N.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18816 include <bp-checks.h>.
18817 (__libc_pwrite): Don't use CHECK_N.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18819 include <bp-checks.h>.
18820 (__libc_pwrite64): Don't use CHECK_N.
18821 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18822 (do_pread): Don't use CHECK_N.
18823 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18824 (do_pread64): Don't use CHECK_N.
18825 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18826 (do_pwrite): Don't use CHECK_N.
18827 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18828 (do_pwrite64): Don't use CHECK_N.
18829 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18830 (__libc_readv): Don't use CHECK_N.
18831 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18832 (semop): Don't use CHECK_N.
18833 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18835 (semtimedop): Don't use CHECK_N.
18836 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18837 (__libc_pread): Don't use CHECK_N.
18838 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18840 (__libc_pread64): Don't use CHECK_N.
18841 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18843 (__libc_pwrite): Don't use CHECK_N.
18844 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18846 (__libc_pwrite64): Don't use CHECK_N.
18847 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18849 (__libc_msgrcv): Don't use CHECK_N.
18850 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18851 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18852 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18853 (__libc_writev): Don't use CHECK_N.
18855 2013-02-08 Roland McGrath <roland@hack.frob.com>
18857 * string/strcpy.c: Removed unused variable.
18859 * Makeconfig (+sysdep-includes): Define with := rather than =.
18860 Use an existing include/ subdir of each sysdeps dir before it.
18862 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18864 * nscd/connection.c (register_traced_file): Comment function.
18865 [HAVE_INOTIFY] (union __inev): Define.
18866 [HAVE_INOTIFY] (inotify_check_files): New function.
18867 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18868 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18870 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18872 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18874 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18875 loaded if not already and that a failure is permanent.
18877 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18880 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18881 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18883 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18886 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18887 (CHECK_1_NULL_OK): Likewise.
18888 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18889 (__fxstat): Do not use CHECK_1.
18890 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18892 (___fxstat64): Do not use CHECK_1.
18893 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18895 (__fxstatat): Do not use CHECK_1.
18896 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18898 (__fxstatat64): Do not use CHECK_1.
18899 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18901 (__fxstat): Do not use CHECK_1.
18902 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18904 (__fxstatat): Do not use CHECK_1.
18905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18907 (__getresgid): Do not use CHECK_1.
18908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18910 (__getresuid): Do not use CHECK_1.
18911 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18913 (__lxstat): Do not use CHECK_1.
18914 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18916 (__old_msgctl): Do not use CHECK_1.
18917 (__new_msgctl): Likewise.
18918 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18920 (__new_setrlimit): Do not use CHECK_1.
18921 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18923 (__old_shmctl): Do not use CHECK_1.
18924 (__new_shmctl): Likewise.
18925 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18927 (__xstat): Do not use CHECK_1.
18928 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18929 (__lxstat): Do not use CHECK_1.
18930 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18932 (___lxstat64): Do not use CHECK_1.
18933 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18934 (__old_msgctl): Do not use CHECK_1.
18935 (__new_msgctl): Likewise.
18936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18938 (__gettimeofday): Do not use CHECK_1.
18939 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18940 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18941 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18943 (__gettimeofday): Do not use CHECK_1.
18944 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18945 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18946 (__new_shmctl): Do not use CHECK_1.
18947 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18949 (do_sigtimedwait): Do not use CHECK_1.
18950 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18952 (do_sigwaitinfo): Do not use CHECK_1.
18953 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18955 (msgctl): Do not use CHECK_1.
18956 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18958 (shmctl): Do not use CHECK_1.
18959 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18960 (ustat): Do not use CHECK_1.
18961 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18963 (__fxstat): Do not use CHECK_1.
18964 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18966 (__fxstatat): Do not use CHECK_1.
18967 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18969 (__lxstat): Do not use CHECK_1.
18970 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18972 (__xstat): Do not use CHECK_1.
18973 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18974 (__xstat): Do not use CHECK_1.
18975 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18976 (___xstat64): Do not use CHECK_1.
18979 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18981 (CHECK_BOUNDS_HIGH): Likewise.
18982 * string/strcpy.c: Do not include <bp-checks.h>.
18983 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18985 2013-02-07 Roland McGrath <roland@hack.frob.com>
18987 * nscd/nscd-client.h (__nscd_drop_map_ref):
18988 Add __attribute__ ((unused)).
18989 * nis/nss-nisplus.h (niserr2nss): Likewise.
18991 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18992 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18994 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18995 Remove inline keyword.
18996 * include/rounding-mode.h (round_away): Likewise.
18997 * libio/wfileops.c (adjust_wide_data): Likewise.
18998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18999 (__m128i_strloadu_tolower): Likewise.
19000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19001 (__m128i_strloadu_tolower): Likewise.
19002 * time/mktime.c (ydhms_diff): Likewise.
19003 * locale/elem-hash.h (elem_hash): Likewise.
19004 * locale/setlocale.c (setdata): Likewise.
19005 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19006 (re_string_wchar_at): Likewise.
19007 (bitset_not, bitset_merge, bitset_mask): Likewise.
19008 [!(__GNUC__ > 3)] (inline): Remove macro.
19009 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19010 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19011 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19012 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19013 * string/memcmp.c (memcmp_bytes): Likewise.
19014 * locale/programs/locarchive.c (compute_hashval): Likewise.
19015 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19016 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19017 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19018 * nss/getent.c (print_rpc, print_protocols): Likewise.
19019 (print_passwd, print_group, print_aliases): Likewise.
19020 * nis/nss-nisplus.h (niserr2nss): Likewise.
19021 * nscd/connections.c (restart_p): Likewise.
19022 Change return type to bool.
19024 2013-02-05 Roland McGrath <roland@hack.frob.com>
19026 * Makeconfig (all-Depend-files): Add existing
19027 $(sorted-subdirs:=/Depend) files.
19028 (all-subdirs): Remove nss.
19029 * sysdeps/unix/inet/Subdirs: Add it here instead.
19030 * hesiod/Depend: New file.
19032 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19033 instead of calling alloca.
19035 * io/lseek.c (__lseek): Rename to __libc_lseek.
19036 Define __lseek as an alias.
19038 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19040 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19042 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19043 else clause and remove check for non-standard endianness.
19045 2013-02-04 David S. Miller <davem@davemloft.net>
19047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19049 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19052 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19053 (__ubp_memchr): Remove prototype.
19054 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19055 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19056 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19057 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19058 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19060 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19061 (__ubp_memchr): Likewise.
19062 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19063 (__ubp_memchr): Likewise.
19064 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19065 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19066 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19069 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19070 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19071 (__getcwd): Do not use CHECK_STRING.
19072 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19074 (__real_chown): Do not use CHECK_STRING.
19075 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19077 (fchownat): Do not use CHECK_STRING.
19078 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19080 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19082 (__lchown): Do not use CHECK_STRING.
19083 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19084 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19086 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19088 include <bp-checks.h>.
19089 (truncate64): Do not use CHECK_STRING.
19090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19092 (__real_chown): Do not use CHECK_STRING.
19093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19095 (__lchown): Do not use CHECK_STRING.
19096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19098 (__chown): Do not use CHECK_STRING.
19099 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19101 (truncate64): Do not use CHECK_STRING.
19102 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19104 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19105 (__xmknod): Do not use CHECK_STRING.
19106 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19108 (__xmknodat): Do not use CHECK_STRING.
19109 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19110 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19112 2013-02-04 Andreas Schwab <schwab@suse.de>
19115 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19116 * include/netdb.h: Likewise for h_errno.
19117 * elf/tst-stackguard1.c: Include <tls.h>.
19119 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19121 * elf/link.h (struct link_map): Extend the l_addr comment.
19122 * include/link.h (struct link_map): Likewise.
19124 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19127 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19128 (BOUNDED_1): Remove macro.
19129 * debug/backtrace.c: Don't include <bp-checks.h>.
19130 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19131 (__backtrace): Likewise.
19132 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19134 (__backtrace): Don't use BOUNDED_1.
19135 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19137 (__backtrace): Don't use BOUNDED_1.
19138 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19139 (__backtrace): Don't use BOUNDED_1.
19140 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19141 (shmat): Don't use BOUNDED_N.
19143 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19146 * sysdeps/generic/bp-start.h: Remove file.
19147 * csu/libc-start.c: Don't include <bp-start.h>.
19148 (LIBC_START_MAIN): Set up __environ directly instead of using
19149 INIT_ARGV_and_ENVIRON.
19150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19154 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19156 (CHECK_FCNTL): Likewise.
19157 (CHECK_N_PAGES): Likewise.
19160 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19162 (CHECK_SIGSET_NULL_OK): Likewise.
19163 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19165 (sigpending): Don't use CHECK_SIGSET.
19166 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19169 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19171 (do_sigsuspend): Don't use CHECK_SIGSET.
19172 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19174 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19175 (do_sigwait): Don't use CHECK_SIGSET.
19176 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19179 include <bp-checks.h>.
19180 (sigpending): Don't use CHECK_SIGSET.
19181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19182 include <bp-checks.h>.
19183 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19184 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19186 (sigpending): Don't use CHECK_SIGSET.
19187 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19192 * sysdeps/generic/bp-semctl.h: Remove file.
19193 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19194 <bp-checks.h> and <bp-semctl.h>.
19195 (__old_semctl): Don't use CHECK_SEMCTL.
19196 (__new_semctl): Likewise.
19197 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19199 (__old_semctl): Don't use CHECK_SEMCTL.
19200 (__new_semctl): Likewise.
19201 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19202 <bp-checks.h> and <bp-semctl.h>.
19203 (__old_semctl): Don't use CHECK_SEMCTL.
19204 (__new_semctl): Likewise.
19205 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19206 <bp-checks.h> and <bp-semctl.h>.
19207 (semctl): Don't use CHECK_SEMCTL.
19210 * Makerules (elide-bp-thunks): Remove variable.
19211 (elide-routines.oS): Don't use $(elide-bp-thunks).
19212 (elide-routines.os): Likewise.
19213 (elide-routines.o): Likewise.
19214 (elide-routines.op): Likewise.
19215 (elide-routines.og): Likewise.
19216 (objects): Don't use $(bp-thunks).
19217 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19219 (common-generated): Do not add s-proto-bp.d.
19220 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19223 Do not generate makefile rules for bounded-pointer thunks.
19224 * sysdeps/generic/bp-thunks.h: Remove file.
19225 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19226 * sysdeps/unix/s-proto-bp.S: Likewise.
19229 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19230 parts of result separately when argument is not close to line from
19231 -i to i and one part of argument is small.
19232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19234 * math/libm-test.inc (cacos_test): Add more tests.
19235 (casin_test): Likewise.
19236 (casinh_test): Likewise.
19237 * sysdeps/i386/fpu/libm-test-ulps: Update.
19238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19240 2013-01-31 David S. Miller <davem@davemloft.net>
19242 * po/de.po: Update from translation team.
19244 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19246 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19248 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19250 * configure.in (_AC_PROG_CC_C89): New definition.
19251 * configure: Regenerate.
19253 * configure.in (AC_PROG_CPP): New definition.
19254 * configure: Regenerate.
19256 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19258 * debug/tst-backtrace.h: New file.
19259 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19260 (ret): Remove variable.
19262 (FAIL): Remove macro.
19263 (NO_INLINE): Likewise.
19264 (fn1): Use match function instead of strstr.
19265 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19266 (ret): Remove variable.
19268 (FAIL): Remove macro.
19269 (NO_INLINE): Likewise.
19270 (fn): Use match function instead of strstr.
19271 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19272 (ret): Remove variable.
19274 (FAIL): Remove macro.
19275 (NO_INLINE): Likewise.
19276 (handle_signal): Use match function instead of strstr.
19277 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19278 (ret): Remove variable.
19280 (FAIL): Remove macro.
19281 (NO_INLINE): Likewise.
19282 (handle_signal): Use match function instead of strstr.
19284 2013-01-23 Roland McGrath <roland@hack.frob.com>
19286 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19288 2013-01-23 David S. Miller <davem@davemloft.net>
19290 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19291 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19292 argument of CAS if possible.
19293 * sysdeps/sparc/sparc64/bits/atomic.h
19294 (__arch_compare_and_exchange_val_32_acq): Likewise.
19295 (__arch_compare_and_exchange_val_64_acq): Likewise.
19297 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19299 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19300 * sysdeps/posix/ulimit.c: ... this.
19301 Include <limits.h>.
19302 * sysdeps/unix/bsd/ulimit.c: Remove file.
19304 2013-01-23 Adam Conrad <adconrad@0c3.net>
19306 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19307 (LDFLAGS-tst-array5): Likewise.
19309 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19312 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19313 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19314 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19315 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19317 2013-01-21 David S. Miller <davem@davemloft.net>
19319 * sysdeps/sparc/backtrace.c: New file.
19320 * sysdeps/sparc/sparc32/backtrace.h: New file.
19321 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19322 * sysdeps/sparc/sparc64/backtrace.h: New file.
19323 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19324 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19327 2013-01-21 Andreas Schwab <schwab@suse.de>
19330 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19333 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19339 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19340 Mark Mitchell <mark@codesourcery.com>
19341 Tom de Vries <tom@codesourcery.com>
19342 Paul Pluzhnikov <ppluzhnikov@google.com>
19344 * debug/tst-backtrace2.c: New file.
19345 * debug/tst-backtrace3.c: Likewise.
19346 * debug/tst-backtrace4.c: Likewise.
19347 * debug/tst-backtrace5.c: Likewise.
19348 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19349 (CFLAGS-tst-backtrace3.c): Likewise.
19350 (CFLAGS-tst-backtrace4.c): Likewise.
19351 (CFLAGS-tst-backtrace5.c): Likewise.
19352 (LDFLAGS-tst-backtrace2): Likewise.
19353 (LDFLAGS-tst-backtrace3): Likewise.
19354 (LDFLAGS-tst-backtrace4): Likewise.
19355 (LDFLAGS-tst-backtrace5): Likewise.
19356 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19357 tst-backtrace4 and tst-backtrace5.
19359 2013-01-18 Anton Blanchard <anton@samba.org>
19360 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19363 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19364 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19365 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19367 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19368 "+r" and remove output regs list as redundant. Add explicit inline
19369 asm to specify register of return val to work around compiler codegen
19370 bug. Remove (int) cast on return value. Add return type parameter to
19371 use in macro so that this macro does not truncate return value for
19373 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19374 pass to INTERNAL_VSYSCALL_NCS.
19375 (INLINE_VSYSCALL): Add 'long int' as return type to
19376 INTERNAL_VSYSCALL_NCS macro invocation.
19377 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19378 INTERNAL_VSYSCALL_NCS macro invocation.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19381 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19384 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19385 Fix application of SIMD FP exception mask.
19387 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19388 mp_no from a power of two.
19389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19390 __mpexp_twomm1. Use __pow_mp.
19392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19395 2013-01-17 David S. Miller <davem@davemloft.net>
19397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19399 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19402 * include/complex.h: Condition contents on [!_COMPLEX_H].
19403 (__kernel_casinhf): New prototype.
19404 (__kernel_casinh): Likewise.
19405 (__kernel_casinhl): Likewise.
19406 * math/Makefile (libm_calls): Add k_casinh.
19407 * math/k_casinh.c: New file.
19408 * math/k_casinhf.c: Likewise.
19409 * math/k_casinhl.c: Likewise.
19410 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19411 finite nonzero arguments.
19412 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19413 finite nonzero arguments.
19414 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19415 finite nonzero arguments.
19416 * math/s_casinh.c: Do not include <float.h>.
19417 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19418 * math/s_casinhf.c: Do not include <float.h>.
19419 (__casinhf): Move code for finite nonzero arguments to
19421 * math/s_casinhl.c: Do not include <float.h>.
19422 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19424 (__casinhl): Move code for finite nonzero arguments to
19426 * math/libm-test.inc (cacos_test): Add more tests.
19427 * sysdeps/i386/fpu/libm-test-ulps: Update.
19428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19430 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19432 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19433 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19434 [!HAVE_MREMAP]: Remove [defined linux] case.
19435 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19437 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19439 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19441 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19443 * elf/elf.h (R_386_SIZE32): New relocation.
19444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19446 (elf_machine_rela): Likewise.
19447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19448 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19450 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19452 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19453 (FP_FAST_FMA): Do not define.
19454 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19455 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19456 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19457 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19458 !_SOFT_FLOAT]: Likewise.
19459 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19463 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19464 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19465 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19466 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19467 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19470 2013-01-16 Andreas Schwab <schwab@suse.de>
19473 * include/stdlib.h (__mktemp): Add declaration.
19474 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19475 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19477 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19479 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19481 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19482 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19483 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19485 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19486 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19488 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19490 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19491 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19494 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19495 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19497 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19499 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19501 2013-01-15 David S. Miller <davem@davemloft.net>
19503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19504 trunc{,f} to libm-sysdep_routes.
19505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19515 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19516 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19517 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19518 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19519 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19520 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19523 nearbyint{,f} to libm-sysdep_routes.
19524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19541 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19542 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19544 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19545 libc_feholdexcept and libc_fesetenv.
19547 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19549 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19551 2013-01-14 David S. Miller <davem@davemloft.net>
19553 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19554 (SPARC_ASM_VIS2_IFUNC): Likewise.
19555 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19557 use of 'siam' instruction.
19558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19591 routines to libm-sysdep_routines.
19592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19595 fdim/fdimf to libm-sysdep_routines.
19596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19604 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19605 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19606 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19607 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19609 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19612 to optimize copies.
19614 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19619 local variable MPTWO.
19620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19623 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19625 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19628 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19630 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19632 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19634 * manual/pattern.texi (glob_t): Document gl_flags.
19635 (glob64_t): Likewise.
19637 2013-01-11 David S. Miller <davem@davemloft.net>
19639 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19640 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19641 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19642 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19643 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19644 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19645 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19646 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19647 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19648 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19649 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19650 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19653 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19654 sparc V9 rather than using V8 code.
19655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19658 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19660 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19663 2013-01-11 Roland McGrath <roland@hack.frob.com>
19665 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19666 not in the main loop.
19667 * configure: Regenerated.
19669 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19671 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19672 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19674 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19675 [!__GLIBC_HAVE_LONG_LONG] case.
19676 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19677 condition to just #else.
19678 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19679 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19680 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19681 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19683 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19684 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19685 #elif condition to just #else.
19686 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19687 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19688 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19689 #elif condition to just #else.
19691 2013-01-11 Steve Ellcey <sellcey@mips.com>
19693 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19694 (EF_MIPS_ARCH_64): Fix value.
19695 (EF_MIPS_ARCH_32R2): New.
19696 (EF_MIPS_ARCH_64R2): New.
19698 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19700 * Makeconfig (+link-pie-before-libc): New.
19701 (+link-pie-after-libc): Likewise.
19702 (+link-pie-tests): Likewise.
19703 (+link-pie): Rewritten.
19704 (link-before-libc): Remove $(config-LDFLAGS).
19705 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19706 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19707 (config-LDFLAGS): Renamed to ...
19708 (rtld-LDFLAGS): This.
19709 (rtld-tests-LDFLAGS): New macro.
19710 (link-libc-rpath-link): Likewise.
19711 (link-libc-tests-rpath-link): Likewise.
19712 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19713 (link-libc): Prepand $(link-libc-rpath-link).
19714 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19715 (test-program-prefix): New macro.
19716 (test-via-rtld-prefix): Likewise.
19717 (test-program-cmd): Likewise.
19718 (host-test-program-cmd): Likewise.
19719 * Makefile ($(common-objpfx)testrun.sh): Replace
19720 $(run-program-prefix) with $(test-program-prefix).
19721 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19723 ($(common-objpfx)shlib.lds): Likewise.
19724 (build-module-helper): Likewise.
19725 ($(common-objpfx)format.lds): Likewise.
19726 * Rules (binaries-pie-tests): New.
19727 (binaries-pie-notests): Likewise.
19728 (binaries-pie): Rewritten.
19729 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19730 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19731 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19732 (make-test-out): Replace $(host-built-program-cmd) with
19733 $(host-test-program-cmd).
19734 * config.make.in (build-hardcoded-path-in-tests): New variable.
19735 * configure.in (--enable-hardcoded-path-in-tests): New configure
19737 (hardcoded_path_in_tests): New AC_SUBST.
19738 * configure: Regenerated.
19739 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19740 $(built-program-cmd) with $(test-program-cmd).
19741 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19742 (test_program_cmd): This.
19743 * elf/Makefile ($(objpfx)order.out): Run test with
19744 $(test-program-prefix).
19745 ($(objpfx)order2.out): Likewise.
19746 ($(objpfx)tst-initorder.out): Likewise.
19747 ($(objpfx)tst-initorder2.out): Likewise.
19748 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19749 $(test-program-cmd).
19750 ($(objpfx)tst-array1-static.out): Likewise.
19751 ($(objpfx)tst-array2.out): Likewise.
19752 ($(objpfx)tst-array3.out): Likewise.
19753 ($(objpfx)tst-array4.out): Likewise.
19754 ($(objpfx)tst-array5.out): Likewise.
19755 ($(objpfx)tst-array5-static.out): Likewise.
19756 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19757 $(test-program-cmd).
19758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19759 $(run-program-prefix) with $(test-program-prefix).
19760 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19761 (test_program_prefix): This.
19762 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19763 $(run-program-prefix) with $(test-program-prefix).
19764 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19765 (test_program_prefix): This.
19766 * iconvdata/tst-tables.sh: Likewise.
19767 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19768 $(run-program-prefix) with $(test-program-prefix).
19769 ($(objpfx)tst-translit.out): Likewise.
19770 ($(objpfx)tst-gettext2.out): Likewise.
19771 ($(objpfx)tst-gettext4.out): Likewise.
19772 ($(objpfx)tst-gettext6.out): Likewise.
19773 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19774 (test_program_prefix): This.
19775 * intl/tst-gettext2.sh: Likewise.
19776 * intl/tst-gettext4.sh Likewise.
19777 * intl/tst-gettext6.sh: Likewise.
19778 * intl/tst-translit.sh: Likewise.
19779 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19780 with $(test-program-cmd).
19781 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19782 $(run-program-prefix) with $(test-program-prefix).
19783 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19784 (test_program_prefix): This.
19785 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19786 $(run-program-prefix) with $(test-program-prefix).
19787 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19788 (test_program_prefix): This.
19789 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19790 * posix/Makefile ($(objpfx)globtest.out): Replace
19791 $(run-via-rtld-prefix) and $(test-wrapper) with
19792 $(test-program-prefix) and $(test-via-rtld-prefix).
19793 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19794 $(test-program-prefix).
19795 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19796 $(host-test-program-cmd).
19797 (tst-spawn-ARGS): Likewise.
19798 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19799 $(test-program-prefix).
19800 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19801 (test_via_rtld_prefix): This.
19802 (test_wrapper): Renamed to ...
19803 (test_program_prefix): This.
19804 (run_program_prefix): Replaced by test_program_prefix.
19805 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19806 (test_program_prefix): This.
19807 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19808 with $(host-test-program-cmd).
19809 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19810 $(run-program-prefix) with $(test-program-prefix).
19811 ($(objpfx)tst-printf.out): Likewise.
19812 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19813 $(test-program-cmd).
19814 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19815 (test_program_prefix): This.
19816 * stdio-common/tst-unbputc.sh: Likewise.
19817 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19818 $(run-program-prefix) with $(test-program-prefix).
19819 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19820 (test_program_prefix): This.
19821 * string/Makefile ($(objpfx)tst-svc.out): Replace
19822 $(built-program-cmd) with $(test-program-cmd).
19824 2013-01-11 Andreas Jaeger <aj@suse.de>
19827 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19828 value. Sync with Linux 3.7.
19830 2013-01-10 David S. Miller <davem@davemloft.net>
19832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19836 2013-01-10 Roland McGrath <roland@hack.frob.com>
19838 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19840 * configure: Regenerated.
19842 2013-01-10 David S. Miller <davem@davemloft.net>
19844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19845 sparc V9 rather than using V8 code.
19846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19849 2013-01-10 Roland McGrath <roland@hack.frob.com>
19851 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19852 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19853 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19854 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19855 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19856 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19857 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19858 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19859 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19860 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19861 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19862 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19863 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19864 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19865 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19866 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19867 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19868 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19869 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19870 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19871 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19872 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19873 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19874 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19875 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19876 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19877 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19879 2013-01-10 David S. Miller <davem@davemloft.net>
19881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19883 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19885 * posix/Makefile (tests-static): New variable.
19886 (tests): Add $(tests-static).
19887 (tst-exec-static-ARGS): New variable.
19888 (tst-spawn-static-ARGS): Likewise.
19889 * posix/tst-exec-static.c: New file.
19890 * posix/tst-spawn-static.c: Likewise.
19891 * posix/tst-exec.c: Support run directly.
19892 * posix/tst-spawn.c: Likewise.
19894 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19896 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19898 * math/bits/mathcalls.h (llrint): Likewise.
19899 (llround): Likewise.
19900 * stdlib/stdlib.h (struct drand48_data): Likewise.
19901 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19902 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19903 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19905 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19907 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19908 (elf_greg_t): Likewise.
19909 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19910 (__jmp_buf): Likewise.
19911 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19913 (llrint): Likewise, for all definitions.
19914 (llrintl): Likewise.
19916 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19917 Remove [__GNUC__] condition.
19918 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19919 condition to just [__USE_ISOC99].
19920 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19922 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19925 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19926 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19928 (_POSIX_V6_ILP32_OFF32): Likewise.
19929 (_XBS5_ILP32_OFF32): Likewise.
19930 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19931 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19933 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19935 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19938 doubles __mpexp_twomm1. Adjust usage.
19939 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19942 2013-01-10 Andreas Schwab <schwab@suse.de>
19945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19946 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19948 2013-01-09 David S. Miller <davem@davemloft.net>
19951 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19952 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19953 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19954 (TCP_FASTOPEN): Define.
19955 (tcp_repair_opt): New structure.
19956 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19958 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19959 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19960 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19961 (tcp_cookie_transactions): New structure.
19963 2013-01-09 Anton Blanchard <anton@samba.org>
19965 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19966 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19967 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19970 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19972 * include/features.h (__USE_ANSI): Remove.
19974 2013-01-09 Roland McGrath <roland@hack.frob.com>
19976 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19978 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19980 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19982 * sysdeps/s390/fpu/libm-test-ulps: Update.
19984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19986 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19990 (denorm): Likewise.
19991 (__mp_dbl): Likewise.
19992 (__dbl_mp): Likewise.
19993 (add_magnitudes): Likewise.
19994 (sub_magnitudes): Likewise.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20004 (denorm): Likewise.
20005 (__mp_dbl): Likewise.
20006 (__dbl_mp): Likewise.
20007 (add_magnitudes): Likewise.
20008 (sub_magnitudes): Likewise.
20014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20018 (denorm): Likewise.
20019 (__mp_dbl): Likewise.
20020 (__dbl_mp): Likewise.
20021 (add_magnitudes): Likewise.
20022 (sub_magnitudes): Likewise.
20029 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20031 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20032 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20033 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20034 2 && __USE_EXTERN_INLINES]: Likewise.
20036 2013-01-08 Andreas Jaeger <aj@suse.de>
20039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20041 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20042 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20044 2013-01-07 Anton Blanchard <anton@samba.org>
20046 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20047 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20048 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20049 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20050 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20052 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20053 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20060 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20061 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20062 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20064 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20065 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20069 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20070 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20071 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20072 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20073 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20076 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20078 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20081 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20087 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20088 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20090 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20092 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20093 (__MALLOC_PMT): Likewise.
20094 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20095 [__GNUC__], only on [_LIBC].
20096 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20097 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20098 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20099 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20100 forward declaration.
20101 (realloc_hook_ini): Likewise.
20102 (memalign_hook_ini): Likewise.
20103 (__libc_memalign): Do not use __MALLOC_PMT in variable
20105 (__libc_valloc): Likewise.
20106 (__libc_pvalloc): Likewise.
20107 (__libc_calloc): Likewise.
20108 (__posix_memalign): Likewise.
20111 * math/s_casinh.c: Include <float.h>.
20112 (__casinh): Do not do computation with squaring and square root
20113 for large arguments.
20114 * math/s_casinhf.c: Include <float.h>.
20115 (__casinhf): Do not do computation with squaring and square root
20116 for large arguments.
20117 * math/s_casinhl.c: Include <float.h>.
20118 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20119 (__casinhl): Do not do computation with squaring and square root
20120 for large arguments.
20121 * math/libm-test.inc (casin_test): Add more tests.
20122 (casinh_test): Likewise.
20123 * sysdeps/i386/fpu/libm-test-ulps: Update.
20124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20126 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20128 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20129 (__x86_64_raw_data_cache_size): Likewise.
20130 (__x86_64_data_cache_size_half): Likewise.
20131 (__x86_64_raw_data_cache_size_half): Likewise.
20132 (__x86_64_shared_cache_size): Likewise.
20133 (__x86_64_raw_shared_cache_size): Likewise.
20134 (__x86_64_shared_cache_size_half): Likewise.
20135 (__x86_64_raw_shared_cache_size_half): Likewise.
20136 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20138 (__x86_data_cache_size): This.
20139 (__x86_64_raw_data_cache_size): Renamed to ...
20140 (__x86_raw_data_cache_size): This.
20141 (__x86_64_data_cache_size_half): Renamed to ...
20142 (__x86_data_cache_size_half): This.
20143 (__x86_64_raw_data_cache_size_half): Renamed to ...
20144 (__x86_raw_data_cache_size_half): This.
20145 (__x86_64_shared_cache_size): Renamed to ...
20146 (__x86_shared_cache_size): This.
20147 (__x86_64_raw_shared_cache_size): Renamed to ...
20148 (__x86_raw_shared_cache_size): This.
20149 (__x86_64_shared_cache_size_half): Renamed to ...
20150 (__x86_shared_cache_size_half): This.
20151 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20152 (__x86_raw_shared_cache_size_half): This.
20153 * sysdeps/x86_64/memcpy.S: Updated.
20154 * sysdeps/x86_64/memset.S: Likewise.
20155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20159 2013-01-04 David S. Miller <davem@davemloft.net>
20161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20163 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20165 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20166 1 to avoid redefinition warning.
20167 (__USE_GNU): Don't define.
20168 (init_signaling_nan): Protoize.
20170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20172 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20174 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20176 (__cpymn): Likewise.
20177 (norm): Remove commented code.
20178 (denorm): Likewise.
20179 (__mp_dbl): Likewise.
20181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20182 (__cpymn): Likewise.
20183 (norm): Remove commented code.
20184 (denorm): Likewise.
20185 (__mp_dbl): Likewise.
20188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20189 mp_no value for 1.0 and 2.0.
20190 (norm): Use RADIXI instead of radixi.d.
20191 (denorm): Likewise.
20192 (__mul): Use 0.0 instead of zero.d.
20193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20194 mp_no value for 1.0 and 2.0.
20195 (norm): Use RADIXI instead of radixi.d.
20196 (denorm): Likewise.
20197 (__mul): Use 0.0 instead of zero.d.
20199 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20202 * math/s_casinh.c (__casinh): Reduce finite argument to first
20203 quadrant then set signs of results at the end.
20204 * math/s_casinhf.c (__casinhf): Likewise.
20205 * math/s_casinhl.c (__casinhl): Likewise.
20206 * math/libm-test.inc (casin_test): Add more tests.
20207 (casinh_test): Likewise.
20208 * sysdeps/i386/fpu/libm-test-ulps: Update.
20209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20211 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20213 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20215 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20217 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20219 (denorm): Likewise.
20220 (__mp_dbl): Likewise.
20223 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20224 and adjust the header comment.
20226 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20227 variable name from declaration.
20229 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20232 Initialize COMMON_CPUID_INDEX_7 element.
20233 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20234 (CPUID_RTM): Likewise.
20235 (HAS_RTM): Likewise.
20236 (COMMON_CPUID_INDEX_7): New enum.
20238 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20241 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20242 size is zero, record memory as freed.
20244 2013-01-03 Andreas Jaeger <aj@suse.de>
20246 * po/ia.po: Add new Interlingua translation.
20248 2012-01-03 Allan McRae <allan@archlinux.org>
20250 * locale/programs/localedef.c: Fix description of '--posix' flag.
20252 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20254 * NEWS: Update dates in second copyright notice.
20255 * README: Update copyright dates in example.
20256 * manual/libc.texinfo: Update copyright dates.
20257 * scripts/test-installation.pl: Update copyright date in --version
20260 * hurd/ctty-input.c: Fix copyright notice formatting.
20261 * hurd/ctty-output.c: Likewise.
20262 * hurd/dtable.c: Likewise.
20263 * hurd/hurd-raise.c: Likewise.
20264 * hurd/hurdprio.c: Likewise.
20265 * hurd/msgportdemux.c: Likewise.
20266 * misc/sys/file.h: Likewise.
20267 * misc/sys/ioctl.h: Likewise.
20268 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20269 * sysdeps/mach/hurd/chdir.c: Likewise.
20270 * sysdeps/mach/hurd/fchdir.c: Likewise.
20271 * sysdeps/mach/hurd/rename.c: Likewise.
20272 * sysdeps/mach/hurd/rmdir.c: Likewise.
20273 * sysdeps/mach/hurd/seekdir.c: Likewise.
20274 * sysdeps/mach/hurd/setsid.c: Likewise.
20275 * sysdeps/posix/wait3.c: Likewise.
20277 * All files with FSF copyright notices: Update copyright dates
20278 using scripts/update-copyrights.
20279 * intl/plural.c: Regenerated.
20280 * locale/programs/charmap-kw.h: Likewise.
20281 * locale/programs/locfile-kw.h: Likewise.
20283 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20289 calculation loop and add branch prediction.
20291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20292 check access beyond bounds of m1np.
20294 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20296 (__inv): Remove local variable MPTWO to use the global
20298 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20302 MP3HALFS static const.
20304 2013-01-01 David S. Miller <davem@davemloft.net>
20306 * po/ca.po: Update from translation team.
20308 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20310 * scripts/update-copyrights: New file.
20311 * Makeconfig: Reformat copyright notice.
20312 * ctype/ctype.h: Likewise.
20313 * debug/swprintf_chk.c: Likewise.
20314 * elf/dl-cache.c: Likewise.
20315 * elf/dl-debug.c: Likewise.
20316 * elf/dl-object.c: Likewise.
20317 * grp/initgroups.c: Likewise.
20318 * hurd/Makefile: Likewise.
20319 * hurd/hurd/signal.h: Likewise.
20320 * hurd/hurdfault.c: Likewise.
20321 * hurd/hurdioctl.c: Likewise.
20322 * hurd/hurdlookup.c: Likewise.
20323 * hurd/intr-msg.c: Likewise.
20324 * iconv/gconv_open.c: Likewise.
20325 * libio/swprintf.c: Likewise.
20326 * locale/lc-ctype.c: Likewise.
20327 * locale/nl_langinfo.c: Likewise.
20328 * mach/Machrules: Likewise.
20329 * mach/Makefile: Likewise.
20330 * malloc/obstack.h: Likewise.
20331 * manual/Makefile: Likewise.
20332 * manual/tsort.awk: Likewise.
20333 * misc/bits/stab.def: Likewise.
20334 * nis/nis_print_group_entry.c: Likewise.
20335 * nis/nis_table.c: Likewise.
20336 * nis/nss_compat/compat-pwd.c: Likewise.
20337 * nis/nss_compat/compat-spwd.c: Likewise.
20338 * po/Makefile: Likewise.
20339 * posix/fnmatch.c: Likewise.
20340 * posix/regex.h: Likewise.
20341 * resolv/Makefile: Likewise.
20342 * resolv/nss_dns/dns-network.c: Likewise.
20343 * resolv/res_hconf.c: Likewise.
20344 * scripts/gen-sorted.awk: Likewise.
20345 * soft-fp/soft-fp.h: Likewise.
20346 * stdio-common/printf.h: Likewise.
20347 * stdlib/monetary.h: Likewise.
20348 * stdlib/random.c: Likewise.
20349 * stdlib/random_r.c: Likewise.
20350 * sysdeps/generic/Makefile: Likewise.
20351 * sysdeps/gnu/Makefile: Likewise.
20352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20363 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20364 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20365 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20380 * sysdeps/mach/hurd/errnos.awk: Likewise.
20381 * sysdeps/mach/hurd/fork.c: Likewise.
20382 * sysdeps/mach/hurd/getcwd.c: Likewise.
20383 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20384 * sysdeps/mach/hurd/mmap.c: Likewise.
20385 * sysdeps/mach/hurd/utimes.c: Likewise.
20386 * sysdeps/mach/hurd/xmknod.c: Likewise.
20387 * sysdeps/posix/profil.c: Likewise.
20388 * sysdeps/posix/readdir_r.c: Likewise.
20389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20390 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20391 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20392 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20398 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20399 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20400 * sysdeps/pthread/lio_listio.c: Likewise.
20401 * sysdeps/sparc/dl-procinfo.h: Likewise.
20402 * sysdeps/unix/i386/sysdep.S: Likewise.
20403 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20404 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20405 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20406 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20408 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20409 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20410 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20411 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20412 * sysdeps/wordsize-32/divdi3.c: Likewise.
20413 * time/sys/time.h: Likewise.
20414 * wcsmbs/Makefile: Likewise.
20416 2013-01-01 David S. Miller <davem@davemloft.net>
20418 * po/fr.po: Update from translation team.
20420 * catgets/gencat.c: Update copyright year.
20421 * csu/version.c: Likewise.
20422 * debug/catchsegv.sh: Likewise.
20423 * debug/pcprofiledump.c: Likewise.
20424 * debug/xtrace.sh: Likewise.
20425 * elf/ldconfig.c: Likewise.
20426 * elf/ldd.bash.in: Likewise.
20427 * elf/pldd.c: Likewise.
20428 * elf/sotruss.ksh: Likewise.
20429 * elf/sprof.c: Likewise.
20430 * iconv/iconv_prog.c: Likewise.
20431 * iconv/iconvconfig.c: Likewise.
20432 * locale/programs/locale.c: Likewise.
20433 * locale/programs/localedef.c: Likewise.
20434 * login/programs/pt_chown.c: Likewise.
20435 * malloc/memusage.sh: Likewise.
20436 * malloc/memusagestat.c: Likewise.
20437 * malloc/mtrace.pl: Likewise.
20438 * nscd/nscd.c: Likewise.
20439 * nss/getent.c: Likewise.
20440 * nss/makedb.c: Likewise.
20441 * posix/getconf.c: Likewise.
20443 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20445 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20448 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20450 * math/bits/mathcalls.h (modf): Use __nonnull.
20452 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20454 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20455 (split): Use macro CN instead of the bare value.
20456 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20459 instead of the bare value.
20460 (power1): Likewise.
20462 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20468 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20470 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20472 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20473 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20475 2012-12-28 Andreas Jaeger <aj@suse.de>
20477 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20478 values are from Linux 3.7.
20480 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20481 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20483 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20485 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20490 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20491 variables with preprocessor constants.
20492 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20493 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20496 2012-12-27 Bruno Haible <bruno@clisp.org>
20499 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20502 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20505 and use variable directly.
20506 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20508 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20510 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20515 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20516 include directive. Remove local variable MPONE.
20517 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20518 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20521 2012-12-25 David S. Miller <davem@davemloft.net>
20523 * version.h (RELEASE): Set to "development".
20524 (VERSION): Set to "2.17.90".
20525 * NEWS: Add 2.18 section.
20527 2012-12-21 David S. Miller <davem@davemloft.net>
20529 * po/hr.po: Update from translation team.
20531 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20533 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20535 2012-12-19 Steve Ellcey <sellcey@mips.com>
20537 * NEWS: Mention new memcpy for MIPS.
20539 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20541 * manual/contrib.texi (Contributors): Spelling correction.
20543 2012-12-15 David S. Miller <davem@davemloft.net>
20545 * po/ru.po: Update from translation team.
20547 2012-12-13 David S. Miller <davem@davemloft.net>
20549 * NEWS: Mention IFUNC testsuite enhancements.
20551 * po/pl.po: Update from translation team.
20552 * po/bg.po: Likewise.
20554 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20555 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20557 2012-12-11 David S. Miller <davem@davemloft.net>
20559 * po/sv.po: Update from translation team.
20561 * po/vi.po: Update from translation team.
20563 * po/cs.po: Update from translation team.
20565 * po/de.po: Update from translation team.
20566 * po/eo.po: Likewise.
20567 * po/nl.po: Likewise.
20569 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 * manual/argp.texi (Argp Helper Functions): Move node to follow
20573 Argp Parsing State.
20576 * manual/conf.texi (Limits on File System Capacity): Mention if
20577 terminating null is included in the max size.
20579 2012-12-10 Andreas Jaeger <aj@suse.de>
20581 * po/cs.po: Update from translation team.
20583 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20585 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20586 void pointer and cast to uintptr_t.
20587 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20589 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20590 * sysdeps/s390/s390-64/memset.S: Likewise.
20592 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20595 * menual/message.texi (Message Translation): Fix typos.
20596 (Helper programs for gettext): Likewise.
20598 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20601 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20604 2012-12-07 David S. Miller <davem@davemloft.net>
20606 * po/libc.pot: Update.
20608 2012-12-07 Richard Henderson <rth@redhat.com>
20611 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20612 normal/normal case to before the switch.
20613 (_FP_DIV): Likewise.
20615 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20616 Mike Frysinger <vapier@gentoo.org>
20618 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20619 check for __NR_fadvise64_64.
20621 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20623 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20624 0, not just to plain "0" as a statement.
20625 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20628 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20630 * NEWS: Use sourceware.org in Bugzilla URL.
20632 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20637 * stdio-common/tst-put-error.c (do_test): Add newline to the
20638 padded test to ensure flush.
20640 2012-12-05 Jeff Law <law@redhat.com>
20642 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20644 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20646 * README: Don't refer to ports add-on as distributed separately.
20647 Mention AArch64 in list of systems supported in the ports add-on.
20649 * LICENSES: Add more non-FSF copyright and license notices.
20651 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20654 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20656 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20657 10000 as width of padded output.
20659 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20661 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20664 variable LX with __attribute__ ((unused)).
20665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20670 with __attribute__ ((unused)).
20672 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20674 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20676 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20678 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20679 (CFLAGS-nldbl-acos.c): New variable.
20680 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20681 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20682 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20683 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20684 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20685 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20686 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20687 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20688 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20689 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20690 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20691 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20692 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20693 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20694 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20695 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20696 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20697 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20698 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20699 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20700 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20701 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20702 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20703 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20704 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20705 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20706 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20707 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20708 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20709 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20710 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20711 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20712 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20713 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20714 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20715 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20716 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20717 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20718 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20719 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20720 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20721 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20722 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20723 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20724 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20725 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20726 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20727 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20728 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20729 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20730 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20731 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20732 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20733 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20734 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20735 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20736 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20737 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20738 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20739 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20740 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20741 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20742 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20743 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20744 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20745 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20746 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20747 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20748 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20749 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20750 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20751 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20752 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20753 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20754 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20755 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20756 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20757 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20758 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20759 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20760 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20761 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20762 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20763 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20764 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20765 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20766 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20767 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20768 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20769 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20770 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20771 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20772 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20773 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20774 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20775 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20776 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20783 whole low double instead of just low 47 bits when splitting values
20786 2012-12-03 Allan McRae <allan@archlinux.org>
20788 * manual/stdio.texi (Predefined Printf Handlers): Remove
20789 @hsep and @vsep usage.
20791 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20793 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20794 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20796 2012-12-03 Jeff Law <law@redhat.com>
20798 * time/sys/time.h (settimeofday): Do not mark TV argument
20801 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20803 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20804 when currently writing and seek to current position when not.
20805 * libio/Makefile (tests): Remove bug-fclose1.
20806 * libio/bug-fclose1.c: Delete.
20808 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20810 * manual/arith.texi (feenableexcept): Fix typo.
20811 (fedisableexcept): Likewise.
20813 2012-11-30 Roland McGrath <roland@hack.frob.com>
20815 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20816 second, differently-typed declaration, rather than a cast.
20818 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20820 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20821 * include/rpc/svc.h: ... here.
20823 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20826 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20827 depending n and resplen2 to catch cases where answer
20830 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20832 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20833 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20835 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20839 2012-11-29 Roland McGrath <roland@hack.frob.com>
20841 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20843 2012-11-28 Jeff Law <law@redhat.com>
20846 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20847 dataset_temporary. Track alloca usage into alloca_used.
20848 If dataset is large allocate and release it via malloc/free.
20850 2012-06-04 Florian Weimer <fweimer@redhat.com>
20853 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20855 2012-11-28 David S. Miller <davem@davemloft.net>
20857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20859 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20862 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20863 of pi/2 rounded to nearest to 64 bits.
20864 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20865 nearest to 64 bits.
20866 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20869 2012-11-28 Jeff Law <law@redhat.com>
20870 Martin Osvald <mosvald@redhat.com>
20873 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20874 * sunrpc/svc.c: Include time.h.
20875 (__svc_accept_failed): New function.
20876 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20877 any reason other than EINTR, call __svc_accept_failed.
20878 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20879 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20881 2012-11-28 Andreas Schwab <schwab@suse.de>
20883 * scripts/abilist.awk: Also handle indirect functions in .opd
20886 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20889 * sysdeps/x86/fpu/powl_helper.c: New file.
20890 * sysdeps/x86/fpu/Makefile: Likewise.
20891 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20893 (__ieee754_powl): Use __powl_helper for finite arguments except
20894 integer exponents below 8.
20895 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20897 (__ieee754_powl): Use __powl_helper for finite arguments except
20898 integer exponents below 8.
20899 * math/libm-test.inc (pow_test): Add more tests and enable some
20900 previously disabled tests.
20901 * sysdeps/i386/fpu/libm-test-ulps: Update.
20902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20904 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20905 Carlos O'Donell <carlos_odonell@mentor.com>
20907 * nss/makedb.c (is_prime): Assert that input is odd and greater
20908 than 4. Note that fact in a comment too.
20909 (next_prime): Add 4 to input.
20911 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20914 * libio/Makefile (tests): Add test case tst-fwrite-error.
20915 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20916 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20917 * libio/tst-fwrite-error.c: New test case.
20919 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20921 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20922 before casting to void *.
20923 * include/libc-internal.h (__pointer_type): New macro.
20924 (__integer_if_pointer_type_sub): Likewise.
20925 (__integer_if_pointer_type): Likewise.
20926 (cast_to_integer): Likewise.
20927 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20928 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20929 before casting to atomic64_t.
20930 (atomic_exchange_acq): Likewise.
20931 (__arch_exchange_and_add_body): Likewise.
20932 (__arch_add_body): Likewise.
20933 (atomic_add_negative): Likewise.
20934 (atomic_add_zero): Likewise.
20936 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20938 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20939 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20940 (add_fdes): Likewise.
20941 (linear_search_fdes): Likewise.
20942 (binary_search_unencoded_fdes): Likewise.
20944 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20946 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20948 2012-11-24 Adam Conrad <adconrad@0c3.net>
20950 * configure.in: Autodetect C++ header directories.
20951 * configure: Regenerated.
20953 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20955 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20957 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20961 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20963 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20964 LDBL_MANT_DIG == 106]: Disable some tests.
20965 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20967 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20972 input for small inputs. Return +/- pi/2 for large inputs.
20973 * math/libm-test.inc (atan_test): Add more tests.
20975 * sysdeps/generic/unwind-dw2-fde-glibc.c
20976 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20977 __attribute__ ((unused)).
20980 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20981 x * y if x and y are nonzero and z is zero.
20984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20985 nonzero exponents with absolute value below 0x1p-117 to +/-
20989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20990 up arguments below 2**-450, not just those below 2**-500.
20991 * math/libm-test.inc (hypot_test): Add another test.
20994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20995 Return a+b for ratio over 2**120, not 2**60.
20996 * math/libm-test.inc (hypot_test): Add another test.
20998 * math/libm-test.inc (clog_test): Use
20999 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21000 (clog10_test): Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21005 2012-11-22 Andreas Schwab <schwab@suse.de>
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21009 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21011 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21012 printf output with newline.
21014 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21017 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21018 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21019 -z nodlopen, -z initfirst and -z execstack support.
21020 * configure: Regenerated.
21022 * elf/elf.h (DF_1_NODIRECT): New macro.
21023 (DF_1_IGNMULDEF): Likewise.
21024 (DF_1_NOKSYMS): Likewise.
21025 (DF_1_NOHDR): Likewise.
21026 (DF_1_EDITED): Likewise.
21027 (DF_1_NORELOC): Likewise.
21028 (DF_1_SYMINTPOSE): Likewise.
21029 (DF_1_GLOBAUDIT): Likewise.
21030 (DF_1_SINGLETON): Likewise.
21031 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21032 DT_1_SUPPORTED_MASK bits.
21033 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21035 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21037 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21039 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21041 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21045 (sendmmsg): Move declarations...
21046 * socket/sys/socket.h: ... here.
21047 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21048 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21050 * socket/recvmmsg.c: ... this new file.
21051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21052 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21053 definition of __sendmmsg hidden.
21054 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21055 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21056 Move ENOSYS stub into and include it from...
21057 * socket/sendmmsg.c: ... this new file.
21058 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21059 (sysdep_routines): Move recvmmsg and sendmmsg...
21060 * socket/Makefile (routines): ... here.
21061 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21062 (GLIBC_PRIVATE): Add __sendmmsg.
21063 * include/sys/socket.h (__sendmmsg): Add declarations.
21064 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21067 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21070 variable I1 with __attribute__ ((unused)).
21071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21073 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21075 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21076 DUMMY variables with __attribute__ ((unused)).
21078 * bits/byteswap.h: Include <bits/types.h>.
21079 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21081 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21083 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21084 string_t. Do not manually set errno.
21085 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21086 length with __strnlen. Make sure to both set errno and return it on
21089 2012-11-19 David S. Miller <davem@davemloft.net>
21091 With help from Joseph Myers.
21092 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21093 very large arguments properly.
21094 * math/libm-test.inc (atan_test): New tests.
21095 (atan2_test): New tests.
21096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21099 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21102 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21105 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21106 [POSIX] (EADDRNOTAVAIL): Likewise.
21107 [POSIX] (EAFNOSUPPORT): Likewise.
21108 [POSIX] (EALREADY): Likewise.
21109 [POSIX] (ECONNABORTED): Likewise.
21110 [POSIX] (ECONNREFUSED): Likewise.
21111 [POSIX] (ECONNRESET): Likewise.
21112 [POSIX] (EDESTADDRREQ): Likewise.
21113 [POSIX] (EDQUOT): Likewise.
21114 [POSIX] (EHOSTUNREACH): Likewise.
21115 [POSIX] (EIDRM): Likewise.
21116 [POSIX] (EISCONN): Likewise.
21117 [POSIX] (ELOOP): Likewise.
21118 [POSIX] (EMULTIHOP): Likewise.
21119 [POSIX] (ENETDOWN): Likewise.
21120 [POSIX] (ENETUNREACH): Likewise.
21121 [POSIX] (ENOBUFS): Likewise.
21122 [POSIX] (ENODATA): Likewise.
21123 [POSIX] (ENOLINK): Likewise.
21124 [POSIX] (ENOMSG): Likewise.
21125 [POSIX] (ENOPROTOOPT): Likewise.
21126 [POSIX] (ENOSR): Likewise.
21127 [POSIX] (ENOSTR): Likewise.
21128 [POSIX] (ENOTCONN): Likewise.
21129 [POSIX] (ENOTSOCK): Likewise.
21130 [POSIX] (EOPNOTSUPP): Likewise.
21131 [POSIX] (EOVERFLOW): Likewise.
21132 [POSIX] (EPROTO): Likewise.
21133 [POSIX] (EPROTONOSUPPORT): Likewise.
21134 [POSIX] (EPROTOTYPE): Likewise.
21135 [POSIX] (ESTALE): Likewise.
21136 [POSIX] (ETIME): Likewise.
21137 [POSIX] (ETXTBSY): Likewise.
21138 [POSIX] (EWOULDBLOCK): Likewise.
21139 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21140 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21141 [POSIX] (SEEK_CUR): Likewise.
21142 [POSIX] (SEEK_END): Likewise.
21143 [POSIX || UNIX98] (mode_t): Do not require.
21144 [POSIX] (off_t): Likewise.
21145 [POSIX] (pid_t): Likewise.
21146 [POSIX] (sys/stat.h): Do not allow header.
21147 [POSIX] (unistd.h): Likewise.
21148 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21149 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21150 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21151 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21153 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21154 sigevent): Specify elements.
21155 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21157 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21158 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21160 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21161 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21162 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21163 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21164 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21165 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21166 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21167 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21168 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21170 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21172 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21181 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21183 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21184 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21185 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21186 Specify lower bound on value.
21187 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21188 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21189 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21190 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21191 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21192 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21193 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21194 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21198 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21199 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21200 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21201 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21202 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21203 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21204 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21205 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21206 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21207 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21208 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21209 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21210 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21211 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21212 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21213 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21215 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21217 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21218 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21219 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21220 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21221 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21224 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21225 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21226 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21227 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21228 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21229 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21233 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21234 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21235 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21236 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21237 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21238 specify as optional.
21239 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21240 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21241 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21242 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21243 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21244 [XPG3] (NL_LANGMAX): Likewise.
21245 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21246 [POSIX || XPG3] (NL_NMAX): Likewise.
21247 [POSIX || XPG3] (NL_SETMAX): Likewise.
21248 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21249 [XPG3] (NZERO): Likewise.
21250 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21251 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21252 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21253 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21254 (REG_ERANGE): Expect.
21255 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21257 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21258 Use (void) in prototype.
21259 [POSIX] (*_t): Allow.
21260 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21261 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21262 (WRDE_BADVAL): Expect.
21264 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21266 [XPG3 || XPG4] (O_RSYNC): Likewise.
21267 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21269 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21270 [XPG3 || XPG4] (sigqueue): Likewise.
21271 [XPG3 || XPG4] (sigtimedwait): Likewise.
21272 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21273 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21274 [XPG3 || XPG4] (vsnprintf): Likewise.
21275 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21277 [XPG3 || XPG4] (blksize_t): Likewise.
21278 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21280 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21281 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21282 [XPG3 || XPG4] (struct itimerspec): Likewise.
21283 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21284 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21285 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21286 [XPG3 || XPG4] (clockid_t): Likewise.
21287 [XPG3 || XPG4] (timer_t): Likewise.
21288 [XPG3 || XPG4] (clock_getres): Likewise.
21289 [XPG3 || XPG4] (clock_gettime): Likewise.
21290 [XPG3 || XPG4] (clock_settime): Likewise.
21291 [XPG3 || XPG4] (nanosleep): Likewise.
21292 [XPG3 || XPG4] (timer_create): Likewise.
21293 [XPG3 || XPG4] (timer_delete): Likewise.
21294 [XPG3 || XPG4] (timer_gettime): Likewise.
21295 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21296 [XPG3 || XPG4] (timer_settime): Likewise.
21297 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21298 [XPG3 || XPG4] (getlogin_r): Likewise.
21299 [XPG3 || XPG4] (pread): Likewise.
21300 [XPG3 || XPG4] (pthread_atfork): Likewise.
21301 [XPG3 || XPG4] (pwrite): Likewise.
21304 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21307 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21309 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21310 finalizing MALLSTREAM.
21312 * sysdeps/mach/hurd/syncfs.c: New file.
21314 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21318 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21319 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21320 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21321 (_nss_dns_gethostbyname4_r): Likewise.
21322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21323 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21325 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21328 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21330 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21332 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21333 * elf/cache.c (print_entry): Print ",AArch64" for
21336 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21337 * elf/cache.c (print_entry): Print ",hard-float" for
21340 2012-11-18 David S. Miller <davem@davemloft.net>
21342 With help from Joseph Myers.
21343 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21345 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21347 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21348 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21351 * math/libm-test.inc (y0_test): New tests.
21352 (y1_test): New tests.
21353 * sysdeps/i386/fpu/libm-test-ulps: Update.
21354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21357 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21359 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21361 * configure: Regenerated.
21363 2012-11-17 David S. Miller <davem@davemloft.net>
21366 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21367 nonzero exponents with absolute value below 0x1p-128 to +/-
21370 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21372 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21374 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21376 * posix/getconf-speclist.c: New file.
21377 * posix/posix-envs.def: Likewise.
21378 * posix/confstr.c (START_ENV_GROUP): New macro.
21379 (END_ENV_GROUP): Likewise.
21380 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21381 (KNOWN_PRESENT_ENV_STRING): Likewise.
21382 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21383 (UNKNOWN_ENVIRONMENT): Likewise.
21384 (confstr): Include posix-envs.def instead of handling
21385 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21386 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21387 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21388 (END_ENV_GROUP): Likewise.
21389 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21390 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21391 (UNKNOWN_ENVIRONMENT): Likewise.
21392 (__sysconf): Include posix-envs.def instead of handling associated
21393 cases directly here.
21394 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21395 preprocessing getconf-speclist.c rather than running getconf or
21396 generating empty file.
21398 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21400 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21402 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21405 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21407 2012-11-16 David S. Miller <davem@davemloft.net>
21409 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21410 smaller than LDBL_EPSILON/2.0L, just return xm1.
21412 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21414 * elf/tst-array1.c (init): Set constructor priority to 1000.
21415 (fini): Set destructor priority to 1000.
21416 * elf/tst-array2dep.c: Likewise.
21418 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21421 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21422 (_IO_new_file_xsputn): Also return EOF if none of the input
21423 data was written when overflow failed.
21424 * libio/iopadn.c (_IO_padn): Likewise.
21425 * libio/iowpadn.c (_IO_wpadn): Likewise.
21426 * stdio-common/tst-put-error.c: Add copyright notice.
21427 (do_test): Add case for printing padded string.
21428 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21429 _IO_padn returned error.
21430 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21431 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21434 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21436 * libio/libioP.h: Add comment note that the references to C++
21437 bits are now obsolete.
21439 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21441 * math/libm-test.inc (check_complex): Use asprintf.
21443 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21445 * debug/pcprofiledump.c (print_version): Update copyright year.
21446 * malloc/memusagestat.c (print_version): Likewise.
21448 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21451 * elf/Makefile (tests): Add tst-audit8.
21452 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21453 ($(objpfx)tst-audit8.out): New target.
21454 (tst-audit8-ENV): New variable.
21455 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21456 audit if l_reloc_result is NULL.
21457 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21458 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21459 * elf/tst-audit8.c: New file.
21461 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21463 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21464 * misc/Makefile (CFLAGS-select.c): Define.
21465 * posix/Makefile (CFLAGS-pause.c): Define.
21467 2012-11-13 David S. Miller <davem@davemloft.net>
21469 * crypt/Makefile: Move test targets after toplevel Rules
21470 inclusion. Grab any necessary sysdep routines when linking.
21471 * crypt/md5.c (md5_process_block): Remove define, we will always
21472 name it __md5_process_block.
21473 (md5_finish_ctx): Update md5_process_block call.
21474 (md5_stream): Likewise.
21475 (md5_process_bytes): Likewise.
21476 (md5_process_block): Rename to __md5_process_block and move to ...
21477 * crypt/md5-block.c: ... here.
21478 * crypt/sha256.c (sha256_process_block): Move to ...
21479 * crypt/sha256-block.c: ... here.
21480 * crypt/sha512.c (sha512_process_block): Move to ...
21481 * crypt/sha512-block.c: ... here.
21482 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21484 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21485 * sysdeps/sparc/sparc64/multiarch/Makefile
21486 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21488 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21489 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21491 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21492 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21493 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21494 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21495 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21496 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21497 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21498 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21501 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21504 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21506 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21508 * timezone/tzselect.ksh: Update from tzcode git revision
21509 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21510 * timezone/zdump.c: Likewise.
21511 * timezone/zic.c: Likewise.
21512 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21513 in TZVERSION setting, not $(PKGVERSION).
21514 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21515 REPORT_BUGS_TO settings.
21518 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21521 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21523 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21524 detection to immediately after _FP_ROUND().
21525 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21528 2012-11-11 David S. Miller <davem@davemloft.net>
21530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21532 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21533 __close rather than their public counterparts.
21535 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21537 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21539 [UNIX98] (sem_timedwait): Do not expect.
21540 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21541 [XPG4 || UNIX98] (sockatmark): Do not expect.
21542 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21543 (clock_getcpuclockid): Do not expect.
21544 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21545 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21547 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21548 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21549 [UNIX98] (vwscanf): Likewise.
21550 [UNIX98] (vswscanf): Likewise.
21552 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21554 * timezone/version.h: Remove file.
21555 * timezone/README: Do not refer to version.h.
21556 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21557 $(objpfx)version.h.
21558 ($(objpfx)zdump.o): Likewise.
21559 ($(objpfx)version.h): New target.
21561 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21563 * timezone/README: Don't mention modification to tzselect.ksh.
21564 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21565 work on unmodified tzselect.ksh. Substitute version numbers in
21568 * Makefile (format-me): Remove.
21569 (INSTALL): Adjust indentation. Use commands directly instead of
21570 using $(format-me).
21572 * aclocal.m4 (ACX_PKGVERSION): New macro.
21573 (ACX_BUGURL): Likewise.
21574 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21575 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21576 (REPORT_BUGS_TO): Likewise.
21577 * configure: Regenerated.
21578 * config.h.in (PKGVERSION): New macro.
21579 (REPORT_BUGS_TO): Likewise.
21580 * config.make.in (PKGVERSION): New variable.
21581 (PKGVERSION_TEXI): Likewise.
21582 (REPORT_BUGS_TO): Likewise.
21583 (REPORT_BUGS_TEXI): Likewise.
21584 * Makefile (format-me): Use -I$(common-objpfx)manual.
21585 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21586 ($(common-objpfx)manual/%): New target.
21587 (manual/%): Remove target.
21588 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21589 (print_version): Use PKGVERSION.
21590 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21591 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21592 and REPORT_BUGS_TO.
21593 ($(objpfx)xtrace): Likewise.
21594 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21595 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21596 (print_version): Use PKGVERSION.
21597 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21598 (do_version): Use PKGVERSION.
21599 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21601 (common-ldd-rewrite): Likewise.
21602 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21603 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21604 (print_version): Use PKGVERSION.
21605 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21606 * elf/pldd.c (argp_program_bug_address): Remove variable.
21607 (more_help): New function.
21608 (argp): Use more_help.
21609 (print_version): Use PKGVERSION.
21610 * elf/sln.c (main): Use PKGVERSION.
21611 (usage): Use REPORT_BUGS_TO.
21612 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21613 (top level): Use PKGVERSION.
21614 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21615 (print_version): Use PKGVERSION.
21616 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21617 (print_version): Use PKGVERSION.
21618 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21619 (print_version): Use PKGVERSION.
21620 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21621 (print_version): Use PKGVERSION.
21622 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21623 (print_version): Use PKGVERSION.
21624 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21625 (print_version): Use PKGVERSION.
21626 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21628 ($(objpfx)memusage): Likewise.
21629 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21630 (do_version): Use PKGVERSION.
21631 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21632 (print_version): Use PKGVERSION.
21633 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21634 ($PKGVERSION): New variable.
21635 ($REPORT_BUGS_TO): Likewise.
21636 (usage): Use $REPORT_BUGS_TO.
21637 (top level): Use $PKGVERSION.
21638 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21639 ($(objpfx)pkgvers.texi): New rule.
21640 ($(objpfx)stamp-pkgvers): Likewise.
21641 * manual/install.texi: Include pkgvers.texi.
21642 (--with-pkgversion): Document new configure option.
21643 (--with-bugurl): Likewise.
21644 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21645 than necessarily for this particular distribution. Use
21646 REPORT_BUGS_TO for where to report bugs.
21647 * INSTALL: Regenerated.
21648 * manual/libc.texinfo: Include pkgvers.texi.
21649 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21650 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21651 (print_version): Use PKGVERSION.
21652 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21653 (print_version): Use PKGVERSION.
21654 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21655 (print_version): Use PKGVERSION.
21656 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21657 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21659 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21660 (print_version): Use PKGVERSION.
21661 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21662 (print_version): Use PKGVERSION.
21663 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21666 * timezone/checktab.awk: Update from tzcode 2012i.
21667 * timezone/ialloc.c: Likewise.
21668 * timezone/private.h: Likewise.
21669 * timezone/scheck.c: Likewise.
21670 * timezone/tzfile.h: Likewise.
21671 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21672 (TZVERSION): Hardcode tzcode version number.
21673 * timezone/zdump.c: Update from tzcode 2012i.
21674 * timezone/zic.c: Likewise.
21675 * timezone/version.h: New file.
21676 * timezone/README: Describe version.h. Update upstream location.
21679 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21680 (mktemp): Enable declaration.
21681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21698 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21699 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21700 for copies of such integer values.
21701 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21702 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21704 2012-11-09 Andreas Jaeger <aj@suse.de>
21706 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21707 definitions and declarations that are provided by
21708 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21710 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21713 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21714 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21717 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21719 * elf/elf.h: Update comment before AArch64 relocations.
21721 2012-11-07 David S. Miller <davem@davemloft.net>
21723 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21725 (__start_context): Declare.
21726 (__makecontext_ret): Delete.
21727 (__makecontext): Hook up __start_context instead of
21729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21730 (sysdep_routines): Add __start_context when in stdlib.
21732 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21734 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21735 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21736 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21738 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21739 (READELF): New variable. Use it instead of hardcoded "readelf".
21741 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21743 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21744 * sysdeps/x86/Makefile: Here.
21745 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21746 * sysdeps/x86/tst-xmmymm.sh: This.
21748 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21750 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21752 [UNIX98] (pthread_barrier_t): Do not expect.
21753 [UNIX98] (pthread_barrierattr_t): Likewise.
21754 [UNIX98] (pthread_spinlock_t): Likewise.
21755 [UNIX98] (pthread_barrier_destroy): Likewise.
21756 [UNIX98] (pthread_barrier_init): Likewise.
21757 [UNIX98] (pthread_barrier_wait): Likewise.
21758 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21759 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21760 [UNIX98] (pthread_barrierattr_init): Likewise.
21761 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21762 [UNIX98] (pthread_getcpuclockid): Likewise.
21763 [UNIX98] (pthread_mutex_timedlock): Likewise.
21764 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21765 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21766 [UNIX98] (pthread_sigmask): Likewise.
21767 [UNIX98] (pthread_spin_destroy): Likewise.
21768 [UNIX98] (pthread_spin_init): Likewise.
21769 [UNIX98] (pthread_spin_lock): Likewise.
21770 [UNIX98] (pthread_spin_trylock): Likewise.
21771 [UNIX98] (pthread_spin_unlock): Likewise.
21772 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21774 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21775 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21776 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21777 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21778 [XPG3 || XPG4] (pthread_key_t): Likewise.
21779 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21780 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21781 [XPG3 || XPG4] (pthread_once_t): Likewise.
21782 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21783 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21784 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21785 [XPG3 || XPG4] (pthread_t): Likewise.
21787 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21789 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21791 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21792 Change function return type to int.
21794 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21795 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21796 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21797 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21798 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21799 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21800 [!POSIX] (posix_madvise): Likewise.
21801 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21803 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21804 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21805 (mode_t): Likewise.
21806 (posix_mem_offset): Likewise.
21807 (posix_typed_mem_get_info): Likewise.
21808 (posix_typed_mem_open): Likewise.
21810 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21811 Change condition to [XOPEN2K8].
21813 * conform/conformtest.pl: Preprocess allow-header data with -x c
21814 instead of from stdin.
21815 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21816 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21817 [C99-based standards] (cerfc): Likewise.
21818 [C99-based standards] (cexp2): Likewise.
21819 [C99-based standards] (cexpm1): Likewise.
21820 [C99-based standards] (clog10): Likewise.
21821 [C99-based standards] (clog1p): Likewise.
21822 [C99-based standards] (clog2): Likewise.
21823 [C99-based standards] (clgamma): Likewise.
21824 [C99-based standards] (ctgamma): Likewise.
21825 [C99-based standards] (cerff): Likewise.
21826 [C99-based standards] (cerfcf): Likewise.
21827 [C99-based standards] (cexp2f): Likewise.
21828 [C99-based standards] (cexpm1f): Likewise.
21829 [C99-based standards] (clog10f): Likewise.
21830 [C99-based standards] (clog1pf): Likewise.
21831 [C99-based standards] (clog2f): Likewise.
21832 [C99-based standards] (clgammaf): Likewise.
21833 [C99-based standards] (ctgammaf): Likewise.
21834 [C99-based standards] (cerfl): Likewise.
21835 [C99-based standards] (cerfcl): Likewise.
21836 [C99-based standards] (cexp2l): Likewise.
21837 [C99-based standards] (cexpm1l): Likewise.
21838 [C99-based standards] (clog10l): Likewise.
21839 [C99-based standards] (clog1pl): Likewise.
21840 [C99-based standards] (clog2l): Likewise.
21841 [C99-based standards] (clgammal): Likewise.
21842 [C99-based standards] (ctgammal): Likewise.
21843 * conform/data/inttypes.h-data [C99-based standards]: Include
21844 stdint.h-data. Remove all expectations for stdint.h contents.
21845 [C99-based standards] (PRI*): Do not allow.
21846 [C99-based standards] (SCN*): Likewise.
21847 [C99-based standards] (*_t): Likewise.
21848 [C99-based-standards] (PRId8): Expect macro.
21849 [C99-based-standards] (PRIi8): Likewise.
21850 [C99-based-standards] (PRIo8): Likewise.
21851 [C99-based-standards] (PRIu8): Likewise.
21852 [C99-based-standards] (PRIx8): Likewise.
21853 [C99-based-standards] (PRIX8): Likewise.
21854 [C99-based-standards] (SCNd8): Likewise.
21855 [C99-based-standards] (SCNi8): Likewise.
21856 [C99-based-standards] (SCNo8): Likewise.
21857 [C99-based-standards] (SCNu8): Likewise.
21858 [C99-based-standards] (SCNx8): Likewise.
21859 [C99-based-standards] (PRIdLEAST8): Likewise.
21860 [C99-based-standards] (PRIiLEAST8): Likewise.
21861 [C99-based-standards] (PRIoLEAST8): Likewise.
21862 [C99-based-standards] (PRIuLEAST8): Likewise.
21863 [C99-based-standards] (PRIxLEAST8): Likewise.
21864 [C99-based-standards] (PRIXLEAST8): Likewise.
21865 [C99-based-standards] (SCNdLEAST8): Likewise.
21866 [C99-based-standards] (SCNiLEAST8): Likewise.
21867 [C99-based-standards] (SCNoLEAST8): Likewise.
21868 [C99-based-standards] (SCNuLEAST8): Likewise.
21869 [C99-based-standards] (SCNxLEAST8): Likewise.
21870 [C99-based-standards] (PRIdFAST8): Likewise.
21871 [C99-based-standards] (PRIiFAST8): Likewise.
21872 [C99-based-standards] (PRIoFAST8): Likewise.
21873 [C99-based-standards] (PRIuFAST8): Likewise.
21874 [C99-based-standards] (PRIxFAST8): Likewise.
21875 [C99-based-standards] (PRIXFAST8): Likewise.
21876 [C99-based-standards] (SCNdFAST8): Likewise.
21877 [C99-based-standards] (SCNiFAST8): Likewise.
21878 [C99-based-standards] (SCNoFAST8): Likewise.
21879 [C99-based-standards] (SCNuFAST8): Likewise.
21880 [C99-based-standards] (SCNxFAST8): Likewise.
21881 [C99-based-standards] (PRId16): Likewise.
21882 [C99-based-standards] (PRIi16): Likewise.
21883 [C99-based-standards] (PRIo16): Likewise.
21884 [C99-based-standards] (PRIu16): Likewise.
21885 [C99-based-standards] (PRIx16): Likewise.
21886 [C99-based-standards] (PRIX16): Likewise.
21887 [C99-based-standards] (SCNd16): Likewise.
21888 [C99-based-standards] (SCNi16): Likewise.
21889 [C99-based-standards] (SCNo16): Likewise.
21890 [C99-based-standards] (SCNu16): Likewise.
21891 [C99-based-standards] (SCNx16): Likewise.
21892 [C99-based-standards] (PRIdLEAST16): Likewise.
21893 [C99-based-standards] (PRIiLEAST16): Likewise.
21894 [C99-based-standards] (PRIoLEAST16): Likewise.
21895 [C99-based-standards] (PRIuLEAST16): Likewise.
21896 [C99-based-standards] (PRIxLEAST16): Likewise.
21897 [C99-based-standards] (PRIXLEAST16): Likewise.
21898 [C99-based-standards] (SCNdLEAST16): Likewise.
21899 [C99-based-standards] (SCNiLEAST16): Likewise.
21900 [C99-based-standards] (SCNoLEAST16): Likewise.
21901 [C99-based-standards] (SCNuLEAST16): Likewise.
21902 [C99-based-standards] (SCNxLEAST16): Likewise.
21903 [C99-based-standards] (PRIdFAST16): Likewise.
21904 [C99-based-standards] (PRIiFAST16): Likewise.
21905 [C99-based-standards] (PRIoFAST16): Likewise.
21906 [C99-based-standards] (PRIuFAST16): Likewise.
21907 [C99-based-standards] (PRIxFAST16): Likewise.
21908 [C99-based-standards] (PRIXFAST16): Likewise.
21909 [C99-based-standards] (SCNdFAST16): Likewise.
21910 [C99-based-standards] (SCNiFAST16): Likewise.
21911 [C99-based-standards] (SCNoFAST16): Likewise.
21912 [C99-based-standards] (SCNuFAST16): Likewise.
21913 [C99-based-standards] (SCNxFAST16): Likewise.
21914 [C99-based-standards] (PRId32): Likewise.
21915 [C99-based-standards] (PRIi32): Likewise.
21916 [C99-based-standards] (PRIo32): Likewise.
21917 [C99-based-standards] (PRIu32): Likewise.
21918 [C99-based-standards] (PRIx32): Likewise.
21919 [C99-based-standards] (PRIX32): Likewise.
21920 [C99-based-standards] (SCNd32): Likewise.
21921 [C99-based-standards] (SCNi32): Likewise.
21922 [C99-based-standards] (SCNo32): Likewise.
21923 [C99-based-standards] (SCNu32): Likewise.
21924 [C99-based-standards] (SCNx32): Likewise.
21925 [C99-based-standards] (PRIdLEAST32): Likewise.
21926 [C99-based-standards] (PRIiLEAST32): Likewise.
21927 [C99-based-standards] (PRIoLEAST32): Likewise.
21928 [C99-based-standards] (PRIuLEAST32): Likewise.
21929 [C99-based-standards] (PRIxLEAST32): Likewise.
21930 [C99-based-standards] (PRIXLEAST32): Likewise.
21931 [C99-based-standards] (SCNdLEAST32): Likewise.
21932 [C99-based-standards] (SCNiLEAST32): Likewise.
21933 [C99-based-standards] (SCNoLEAST32): Likewise.
21934 [C99-based-standards] (SCNuLEAST32): Likewise.
21935 [C99-based-standards] (SCNxLEAST32): Likewise.
21936 [C99-based-standards] (PRIdFAST32): Likewise.
21937 [C99-based-standards] (PRIiFAST32): Likewise.
21938 [C99-based-standards] (PRIoFAST32): Likewise.
21939 [C99-based-standards] (PRIuFAST32): Likewise.
21940 [C99-based-standards] (PRIxFAST32): Likewise.
21941 [C99-based-standards] (PRIXFAST32): Likewise.
21942 [C99-based-standards] (SCNdFAST32): Likewise.
21943 [C99-based-standards] (SCNiFAST32): Likewise.
21944 [C99-based-standards] (SCNoFAST32): Likewise.
21945 [C99-based-standards] (SCNuFAST32): Likewise.
21946 [C99-based-standards] (SCNxFAST32): Likewise.
21947 [C99-based-standards] (PRId64): Likewise.
21948 [C99-based-standards] (PRIi64): Likewise.
21949 [C99-based-standards] (PRIo64): Likewise.
21950 [C99-based-standards] (PRIu64): Likewise.
21951 [C99-based-standards] (PRIx64): Likewise.
21952 [C99-based-standards] (PRIX64): Likewise.
21953 [C99-based-standards] (SCNd64): Likewise.
21954 [C99-based-standards] (SCNi64): Likewise.
21955 [C99-based-standards] (SCNo64): Likewise.
21956 [C99-based-standards] (SCNu64): Likewise.
21957 [C99-based-standards] (SCNx64): Likewise.
21958 [C99-based-standards] (PRIdLEAST64): Likewise.
21959 [C99-based-standards] (PRIiLEAST64): Likewise.
21960 [C99-based-standards] (PRIoLEAST64): Likewise.
21961 [C99-based-standards] (PRIuLEAST64): Likewise.
21962 [C99-based-standards] (PRIxLEAST64): Likewise.
21963 [C99-based-standards] (PRIXLEAST64): Likewise.
21964 [C99-based-standards] (SCNdLEAST64): Likewise.
21965 [C99-based-standards] (SCNiLEAST64): Likewise.
21966 [C99-based-standards] (SCNoLEAST64): Likewise.
21967 [C99-based-standards] (SCNuLEAST64): Likewise.
21968 [C99-based-standards] (SCNxLEAST64): Likewise.
21969 [C99-based-standards] (PRIdFAST64): Likewise.
21970 [C99-based-standards] (PRIiFAST64): Likewise.
21971 [C99-based-standards] (PRIoFAST64): Likewise.
21972 [C99-based-standards] (PRIuFAST64): Likewise.
21973 [C99-based-standards] (PRIxFAST64): Likewise.
21974 [C99-based-standards] (PRIXFAST64): Likewise.
21975 [C99-based-standards] (SCNdFAST64): Likewise.
21976 [C99-based-standards] (SCNiFAST64): Likewise.
21977 [C99-based-standards] (SCNoFAST64): Likewise.
21978 [C99-based-standards] (SCNuFAST64): Likewise.
21979 [C99-based-standards] (SCNxFAST64): Likewise.
21980 [C99-based-standards] (PRIdMAX): Likewise.
21981 [C99-based-standards] (PRIiMAX): Likewise.
21982 [C99-based-standards] (PRIoMAX): Likewise.
21983 [C99-based-standards] (PRIuMAX): Likewise.
21984 [C99-based-standards] (PRIxMAX): Likewise.
21985 [C99-based-standards] (PRIXMAX): Likewise.
21986 [C99-based-standards] (SCNdMAX): Likewise.
21987 [C99-based-standards] (SCNiMAX): Likewise.
21988 [C99-based-standards] (SCNoMAX): Likewise.
21989 [C99-based-standards] (SCNuMAX): Likewise.
21990 [C99-based-standards] (SCNxMAX): Likewise.
21991 [C99-based-standards] (PRIdPTR): Likewise.
21992 [C99-based-standards] (PRIiPTR): Likewise.
21993 [C99-based-standards] (PRIoPTR): Likewise.
21994 [C99-based-standards] (PRIuPTR): Likewise.
21995 [C99-based-standards] (PRIxPTR): Likewise.
21996 [C99-based-standards] (PRIXPTR): Likewise.
21997 [C99-based-standards] (SCNdPTR): Likewise.
21998 [C99-based-standards] (SCNiPTR): Likewise.
21999 [C99-based-standards] (SCNoPTR): Likewise.
22000 [C99-based-standards] (SCNuPTR): Likewise.
22001 [C99-based-standards] (SCNxPTR): Likewise.
22002 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22004 * conform/data/stdint.h-data: Update comments to clarify
22006 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22008 [C99-based standards] (INT8_MAX): Likewise.
22009 [C99-based standards] (INT16_MIN): Likewise.
22010 [C99-based standards] (INT16_MAX): Likewise.
22011 [C99-based standards] (INT32_MIN): Likewise.
22012 [C99-based standards] (INT32_MAX): Likewise.
22013 [C99-based standards] (INT64_MIN): Likewise.
22014 [C99-based standards] (INT64_MAX): Likewise.
22015 [C99-based standards] (UINT8_MAX): Likewise.
22016 [C99-based standards] (UINT16_MAX): Likewise.
22017 [C99-based standards] (UINT32_MAX): Likewise.
22018 [C99-based standards] (UINT64_MAX): Likewise.
22019 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22020 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22021 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22022 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22023 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22024 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22025 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22026 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22027 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22028 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22029 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22030 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22031 [C99-based standards] (INT_FAST8_MIN): Likewise.
22032 [C99-based standards] (INT_FAST8_MAX): Likewise.
22033 [C99-based standards] (INT_FAST16_MIN): Likewise.
22034 [C99-based standards] (INT_FAST16_MAX): Likewise.
22035 [C99-based standards] (INT_FAST32_MIN): Likewise.
22036 [C99-based standards] (INT_FAST32_MAX): Likewise.
22037 [C99-based standards] (INT_FAST64_MIN): Likewise.
22038 [C99-based standards] (INT_FAST64_MAX): Likewise.
22039 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22040 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22041 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22042 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22043 [C99-based standards] (INTPTR_MIN): Likewise.
22044 [C99-based standards] (INTPTR_MAX): Likewise.
22045 [C99-based standards] (UINTPTR_MAX): Likewise.
22046 [C99-based standards] (INTMAX_MIN): Likewise.
22047 [C99-based standards] (INTMAX_MAX): Likewise.
22048 [C99-based standards] (UINTMAX_MAX): Likewise.
22049 [C99-based standards] (PTRDIFF_MIN): Likewise.
22050 [C99-based standards] (PTRDIFF_MAX): Likewise.
22051 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22052 [C99-based standards] (SIZE_MAX): Likewise.
22053 [C99-based standards] (WCHAR_MAX): Likewise.
22054 [C99-based standards] (WINT_MAX): Likewise.
22055 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22056 constraint on value.
22057 [C99-based standards] (WCHAR_MIN): Likewise.
22058 [C99-based standards] (WINT_MIN): Likewise.
22059 [C99-based standards] (*_t): Allow.
22060 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22061 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22062 Include math.h-data and complex.h-data. Remove all expectations
22063 of math.h and complex.h contents.
22064 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22066 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22067 (struct tm): Expect tag.
22068 [C99-based-standards] (wcstof): Expect function.
22069 [C99-based-standards] (wcstold): Likewise.
22070 [C99-based-standards] (wcstoll): Likewise.
22071 [C99-based-standards] (wcstoull): Likewise.
22072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22073 macro-int-constant. Specify type.
22074 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22075 constraint on value.
22076 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22078 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22080 [ISO C standards]: Do not allow headers.
22081 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22082 wcs[abcdefghijklmnopqrstuvwxyz]*.
22083 [ISO C standards] (*_t): Do not allow.
22084 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22086 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22087 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22089 [ISO C standards]: Do not allow headers.
22090 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22091 is[abcdefghijklmnopqrstuvwxyz]*.
22092 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22093 to[abcdefghijklmnopqrstuvwxyz]*.
22094 [ISO C standards] (*_t): Do not allow.
22095 * conform/data/stdalign.h-data: New file.
22096 * conform/data/stdbool.h-data: Likewise.
22097 * conform/data/stdnoreturn.h-data: Likewise.
22099 2012-11-07 Roland McGrath <roland@hack.frob.com>
22102 * manual/filesys.texi (Directory Entries): Typo fix.
22103 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22105 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22107 * elf/elf.h (EM_AARCH64): New macro.
22108 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22109 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22110 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22111 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22112 (R_AARCH64_TLSDESC): Likewise.
22113 (NT_ARM_TLS): Likewise.
22114 (NT_ARM_HW_BREAK): Likewise.
22115 (NT_ARM_HW_WATCH): Likewise.
22117 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22120 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22121 (__ieee754_powl): Saturate nonzero exponents with absolute value
22122 below 0x1p-79 to +/- 0x1p-79.
22123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22124 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22125 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22126 nonzero exponents with absolute value below 0x1p-32 to +/-
22128 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22129 (__ieee754_powl): Saturate nonzero exponents with absolute value
22130 below 0x1p-79 to +/- 0x1p-79.
22131 * math/libm-test.inc (pow_test): Add more tests.
22133 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22135 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22136 _dl_s390_cap_flags with kernel. Increase string length.
22137 (_dl_s390_platforms): Add z196 and zEC12.
22139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22141 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22142 Change XOPEN21K to XOPEN2K.
22144 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22146 * string/memmove.c: Use memcpy when possible.
22148 2012-11-06 Andreas Jaeger <aj@suse.de>
22150 * po/eo.po: Update from translation team.
22152 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22156 exponent and small x and y exponents, scale x or y up. Increase
22157 by 2 the exponent used in scaling up.
22158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22160 * math/libm-test.inc (fma_test): Add more tests.
22161 (fma_test_towardzero): Likewise.
22162 (fma_test_downward): Likewise.
22163 (fma_test_upward): Likewise.
22165 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22172 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22173 namespace for names of struct fields.
22174 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22176 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22177 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22179 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22182 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22184 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22186 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22190 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22193 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22197 definitely overflow as x * y not x * y + z.
22198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22200 * math/libm-test.inc (fma_test): Add more tests.
22201 (fma_test_towardzero): Likewise.
22202 (fma_test_downward): Likewise.
22203 (fma_test_upward): Likewise.
22205 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22209 * include/stub-tag.h: Remove file.
22210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22212 * manual/maint.texi (Porting): Don't reference it.
22213 * Makerules ($(objpfx)stubs): Likewise.
22214 * dirent/closedir.c: Don't include <stub-tag.h>.
22215 * dirent/dirfd.c: Likewise.
22216 * dirent/fdopendir.c: Likewise.
22217 * dirent/getdents.c: Likewise.
22218 * dirent/getdents64.c: Likewise.
22219 * dirent/opendir.c: Likewise.
22220 * dirent/readdir.c: Likewise.
22221 * dirent/readdir64.c: Likewise.
22222 * dirent/readdir64_r.c: Likewise.
22223 * dirent/readdir_r.c: Likewise.
22224 * dirent/rewinddir.c: Likewise.
22225 * dirent/seekdir.c: Likewise.
22226 * dirent/telldir.c: Likewise.
22227 * gmon/profil.c: Likewise.
22228 * grp/setgroups.c: Likewise.
22229 * inet/if_index.c: Likewise.
22230 * io/access.c: Likewise.
22231 * io/chdir.c: Likewise.
22232 * io/chmod.c: Likewise.
22233 * io/chown.c: Likewise.
22234 * io/close.c: Likewise.
22235 * io/dup.c: Likewise.
22236 * io/dup2.c: Likewise.
22237 * io/dup3.c: Likewise.
22238 * io/euidaccess.c: Likewise.
22239 * io/faccessat.c: Likewise.
22240 * io/fchdir.c: Likewise.
22241 * io/fchmod.c: Likewise.
22242 * io/fchmodat.c: Likewise.
22243 * io/fchown.c: Likewise.
22244 * io/fchownat.c: Likewise.
22245 * io/fcntl.c: Likewise.
22246 * io/flock.c: Likewise.
22247 * io/fstatfs.c: Likewise.
22248 * io/fstatfs64.c: Likewise.
22249 * io/fstatvfs.c: Likewise.
22250 * io/fstatvfs64.c: Likewise.
22251 * io/futimens.c: Likewise.
22252 * io/fxstat.c: Likewise.
22253 * io/fxstat64.c: Likewise.
22254 * io/fxstatat.c: Likewise.
22255 * io/fxstatat64.c: Likewise.
22256 * io/getcwd.c: Likewise.
22257 * io/isatty.c: Likewise.
22258 * io/lchmod.c: Likewise.
22259 * io/lchown.c: Likewise.
22260 * io/link.c: Likewise.
22261 * io/linkat.c: Likewise.
22262 * io/lseek.c: Likewise.
22263 * io/lseek64.c: Likewise.
22264 * io/lxstat64.c: Likewise.
22265 * io/mkdir.c: Likewise.
22266 * io/mkdirat.c: Likewise.
22267 * io/mkfifo.c: Likewise.
22268 * io/mkfifoat.c: Likewise.
22269 * io/open.c: Likewise.
22270 * io/open64.c: Likewise.
22271 * io/openat.c: Likewise.
22272 * io/openat64.c: Likewise.
22273 * io/pipe.c: Likewise.
22274 * io/pipe2.c: Likewise.
22275 * io/poll.c: Likewise.
22276 * io/posix_fadvise.c: Likewise.
22277 * io/posix_fadvise64.c: Likewise.
22278 * io/posix_fallocate.c: Likewise.
22279 * io/posix_fallocate64.c: Likewise.
22280 * io/read.c: Likewise.
22281 * io/readlink.c: Likewise.
22282 * io/readlinkat.c: Likewise.
22283 * io/rmdir.c: Likewise.
22284 * io/sendfile.c: Likewise.
22285 * io/sendfile64.c: Likewise.
22286 * io/statfs.c: Likewise.
22287 * io/statfs64.c: Likewise.
22288 * io/statvfs.c: Likewise.
22289 * io/statvfs64.c: Likewise.
22290 * io/symlink.c: Likewise.
22291 * io/symlinkat.c: Likewise.
22292 * io/ttyname.c: Likewise.
22293 * io/ttyname_r.c: Likewise.
22294 * io/umask.c: Likewise.
22295 * io/unlink.c: Likewise.
22296 * io/unlinkat.c: Likewise.
22297 * io/utime.c: Likewise.
22298 * io/utimensat.c: Likewise.
22299 * io/write.c: Likewise.
22300 * io/xmknod.c: Likewise.
22301 * io/xmknodat.c: Likewise.
22302 * io/xstat.c: Likewise.
22303 * io/xstat64.c: Likewise.
22304 * login/getpt.c: Likewise.
22305 * login/grantpt.c: Likewise.
22306 * login/unlockpt.c: Likewise.
22307 * math/e_acoshl.c: Likewise.
22308 * math/e_acosl.c: Likewise.
22309 * math/e_asinl.c: Likewise.
22310 * math/e_atan2l.c: Likewise.
22311 * math/e_atanhl.c: Likewise.
22312 * math/e_coshl.c: Likewise.
22313 * math/e_expl.c: Likewise.
22314 * math/e_fmodl.c: Likewise.
22315 * math/e_gammal_r.c: Likewise.
22316 * math/e_hypotl.c: Likewise.
22317 * math/e_j0l.c: Likewise.
22318 * math/e_j1l.c: Likewise.
22319 * math/e_jnl.c: Likewise.
22320 * math/e_lgammal_r.c: Likewise.
22321 * math/e_log10l.c: Likewise.
22322 * math/e_log2l.c: Likewise.
22323 * math/e_logl.c: Likewise.
22324 * math/e_powl.c: Likewise.
22325 * math/e_rem_pio2l.c: Likewise.
22326 * math/e_sinhl.c: Likewise.
22327 * math/e_sqrtl.c: Likewise.
22328 * math/fclrexcpt.c: Likewise.
22329 * math/fedisblxcpt.c: Likewise.
22330 * math/feenablxcpt.c: Likewise.
22331 * math/fegetenv.c: Likewise.
22332 * math/fegetexcept.c: Likewise.
22333 * math/fegetround.c: Likewise.
22334 * math/feholdexcpt.c: Likewise.
22335 * math/fesetenv.c: Likewise.
22336 * math/fesetround.c: Likewise.
22337 * math/feupdateenv.c: Likewise.
22338 * math/fgetexcptflg.c: Likewise.
22339 * math/fraiseexcpt.c: Likewise.
22340 * math/fsetexcptflg.c: Likewise.
22341 * math/ftestexcept.c: Likewise.
22342 * math/k_cosl.c: Likewise.
22343 * math/k_rem_pio2l.c: Likewise.
22344 * math/k_sinl.c: Likewise.
22345 * math/k_tanl.c: Likewise.
22346 * math/s_asinhl.c: Likewise.
22347 * math/s_atanl.c: Likewise.
22348 * math/s_cbrtl.c: Likewise.
22349 * math/s_erfl.c: Likewise.
22350 * math/s_expm1l.c: Likewise.
22351 * math/s_log1pl.c: Likewise.
22352 * math/s_tanhl.c: Likewise.
22353 * misc/acct.c: Likewise.
22354 * misc/brk.c: Likewise.
22355 * misc/chflags.c: Likewise.
22356 * misc/chroot.c: Likewise.
22357 * misc/fchflags.c: Likewise.
22358 * misc/fgetxattr.c: Likewise.
22359 * misc/flistxattr.c: Likewise.
22360 * misc/fremovexattr.c: Likewise.
22361 * misc/fsetxattr.c: Likewise.
22362 * misc/fsync.c: Likewise.
22363 * misc/ftruncate.c: Likewise.
22364 * misc/futimes.c: Likewise.
22365 * misc/futimesat.c: Likewise.
22366 * misc/getdomain.c: Likewise.
22367 * misc/getdtsz.c: Likewise.
22368 * misc/gethostid.c: Likewise.
22369 * misc/gethostname.c: Likewise.
22370 * misc/getloadavg.c: Likewise.
22371 * misc/getpagesize.c: Likewise.
22372 * misc/getsysstats.c: Likewise.
22373 * misc/getxattr.c: Likewise.
22374 * misc/gtty.c: Likewise.
22375 * misc/ioctl.c: Likewise.
22376 * misc/lgetxattr.c: Likewise.
22377 * misc/listxattr.c: Likewise.
22378 * misc/llistxattr.c: Likewise.
22379 * misc/lremovexattr.c: Likewise.
22380 * misc/lsetxattr.c: Likewise.
22381 * misc/lutimes.c: Likewise.
22382 * misc/madvise.c: Likewise.
22383 * misc/mincore.c: Likewise.
22384 * misc/mlock.c: Likewise.
22385 * misc/mlockall.c: Likewise.
22386 * misc/mmap.c: Likewise.
22387 * misc/mprotect.c: Likewise.
22388 * misc/msync.c: Likewise.
22389 * misc/munlock.c: Likewise.
22390 * misc/munlockall.c: Likewise.
22391 * misc/munmap.c: Likewise.
22392 * misc/preadv.c: Likewise.
22393 * misc/preadv64.c: Likewise.
22394 * misc/ptrace.c: Likewise.
22395 * misc/pwritev.c: Likewise.
22396 * misc/pwritev64.c: Likewise.
22397 * misc/readv.c: Likewise.
22398 * misc/reboot.c: Likewise.
22399 * misc/remap_file_pages.c: Likewise.
22400 * misc/removexattr.c: Likewise.
22401 * misc/revoke.c: Likewise.
22402 * misc/select.c: Likewise.
22403 * misc/setdomain.c: Likewise.
22404 * misc/setegid.c: Likewise.
22405 * misc/seteuid.c: Likewise.
22406 * misc/sethostid.c: Likewise.
22407 * misc/sethostname.c: Likewise.
22408 * misc/setregid.c: Likewise.
22409 * misc/setreuid.c: Likewise.
22410 * misc/setxattr.c: Likewise.
22411 * misc/sstk.c: Likewise.
22412 * misc/stty.c: Likewise.
22413 * misc/swapoff.c: Likewise.
22414 * misc/swapon.c: Likewise.
22415 * misc/sync.c: Likewise.
22416 * misc/syncfs.c: Likewise.
22417 * misc/syscall.c: Likewise.
22418 * misc/truncate.c: Likewise.
22419 * misc/ualarm.c: Likewise.
22420 * misc/usleep.c: Likewise.
22421 * misc/ustat.c: Likewise.
22422 * misc/utimes.c: Likewise.
22423 * misc/vhangup.c: Likewise.
22424 * misc/writev.c: Likewise.
22425 * posix/_exit.c: Likewise.
22426 * posix/alarm.c: Likewise.
22427 * posix/execve.c: Likewise.
22428 * posix/fexecve.c: Likewise.
22429 * posix/fork.c: Likewise.
22430 * posix/fpathconf.c: Likewise.
22431 * posix/getaddrinfo.c: Likewise.
22432 * posix/getegid.c: Likewise.
22433 * posix/geteuid.c: Likewise.
22434 * posix/getgid.c: Likewise.
22435 * posix/getgroups.c: Likewise.
22436 * posix/getlogin.c: Likewise.
22437 * posix/getlogin_r.c: Likewise.
22438 * posix/getpgid.c: Likewise.
22439 * posix/getpid.c: Likewise.
22440 * posix/getppid.c: Likewise.
22441 * posix/getresgid.c: Likewise.
22442 * posix/getresuid.c: Likewise.
22443 * posix/getsid.c: Likewise.
22444 * posix/getuid.c: Likewise.
22445 * posix/glob64.c: Likewise.
22446 * posix/nanosleep.c: Likewise.
22447 * posix/pathconf.c: Likewise.
22448 * posix/pause.c: Likewise.
22449 * posix/posix_madvise.c: Likewise.
22450 * posix/pread.c: Likewise.
22451 * posix/pread64.c: Likewise.
22452 * posix/pwrite.c: Likewise.
22453 * posix/pwrite64.c: Likewise.
22454 * posix/sched_getaffinity.c: Likewise.
22455 * posix/sched_getp.c: Likewise.
22456 * posix/sched_gets.c: Likewise.
22457 * posix/sched_primax.c: Likewise.
22458 * posix/sched_primin.c: Likewise.
22459 * posix/sched_rr_gi.c: Likewise.
22460 * posix/sched_setaffinity.c: Likewise.
22461 * posix/sched_setp.c: Likewise.
22462 * posix/sched_sets.c: Likewise.
22463 * posix/sched_yield.c: Likewise.
22464 * posix/setgid.c: Likewise.
22465 * posix/setlogin.c: Likewise.
22466 * posix/setpgid.c: Likewise.
22467 * posix/setresgid.c: Likewise.
22468 * posix/setresuid.c: Likewise.
22469 * posix/setsid.c: Likewise.
22470 * posix/setuid.c: Likewise.
22471 * posix/sleep.c: Likewise.
22472 * posix/spawni.c: Likewise.
22473 * posix/sysconf.c: Likewise.
22474 * posix/times.c: Likewise.
22475 * posix/wait.c: Likewise.
22476 * posix/wait3.c: Likewise.
22477 * posix/wait4.c: Likewise.
22478 * posix/waitpid.c: Likewise.
22479 * resolv/gai_sigqueue.c: Likewise.
22480 * resource/getpriority.c: Likewise.
22481 * resource/getrlimit.c: Likewise.
22482 * resource/getrusage.c: Likewise.
22483 * resource/nice.c: Likewise.
22484 * resource/setpriority.c: Likewise.
22485 * resource/setrlimit.c: Likewise.
22486 * resource/ulimit.c: Likewise.
22487 * rt/aio_cancel.c: Likewise.
22488 * rt/aio_fsync.c: Likewise.
22489 * rt/aio_read.c: Likewise.
22490 * rt/aio_sigqueue.c: Likewise.
22491 * rt/aio_suspend.c: Likewise.
22492 * rt/aio_write.c: Likewise.
22493 * rt/clock_getres.c: Likewise.
22494 * rt/clock_gettime.c: Likewise.
22495 * rt/clock_nanosleep.c: Likewise.
22496 * rt/clock_settime.c: Likewise.
22497 * rt/lio_listio.c: Likewise.
22498 * rt/mq_close.c: Likewise.
22499 * rt/mq_getattr.c: Likewise.
22500 * rt/mq_notify.c: Likewise.
22501 * rt/mq_open.c: Likewise.
22502 * rt/mq_receive.c: Likewise.
22503 * rt/mq_send.c: Likewise.
22504 * rt/mq_setattr.c: Likewise.
22505 * rt/mq_timedreceive.c: Likewise.
22506 * rt/mq_timedsend.c: Likewise.
22507 * rt/mq_unlink.c: Likewise.
22508 * rt/shm_open.c: Likewise.
22509 * rt/shm_unlink.c: Likewise.
22510 * rt/timer_create.c: Likewise.
22511 * rt/timer_delete.c: Likewise.
22512 * rt/timer_getoverr.c: Likewise.
22513 * rt/timer_gettime.c: Likewise.
22514 * rt/timer_settime.c: Likewise.
22515 * setjmp/__longjmp.c: Likewise.
22516 * setjmp/setjmp.c: Likewise.
22517 * signal/kill.c: Likewise.
22518 * signal/killpg.c: Likewise.
22519 * signal/raise.c: Likewise.
22520 * signal/sigaction.c: Likewise.
22521 * signal/sigaltstack.c: Likewise.
22522 * signal/sigblock.c: Likewise.
22523 * signal/sigignore.c: Likewise.
22524 * signal/sigintr.c: Likewise.
22525 * signal/signal.c: Likewise.
22526 * signal/sigpause.c: Likewise.
22527 * signal/sigpending.c: Likewise.
22528 * signal/sigqueue.c: Likewise.
22529 * signal/sigreturn.c: Likewise.
22530 * signal/sigset.c: Likewise.
22531 * signal/sigsetmask.c: Likewise.
22532 * signal/sigstack.c: Likewise.
22533 * signal/sigsuspend.c: Likewise.
22534 * signal/sigtimedwait.c: Likewise.
22535 * signal/sigvec.c: Likewise.
22536 * signal/sigwait.c: Likewise.
22537 * signal/sigwaitinfo.c: Likewise.
22538 * signal/sysv_signal.c: Likewise.
22539 * socket/accept.c: Likewise.
22540 * socket/accept4.c: Likewise.
22541 * socket/bind.c: Likewise.
22542 * socket/connect.c: Likewise.
22543 * socket/getpeername.c: Likewise.
22544 * socket/getsockname.c: Likewise.
22545 * socket/getsockopt.c: Likewise.
22546 * socket/isfdtype.c: Likewise.
22547 * socket/listen.c: Likewise.
22548 * socket/recv.c: Likewise.
22549 * socket/recvfrom.c: Likewise.
22550 * socket/recvmsg.c: Likewise.
22551 * socket/send.c: Likewise.
22552 * socket/sendmsg.c: Likewise.
22553 * socket/sendto.c: Likewise.
22554 * socket/setsockopt.c: Likewise.
22555 * socket/shutdown.c: Likewise.
22556 * socket/sockatmark.c: Likewise.
22557 * socket/socket.c: Likewise.
22558 * socket/socketpair.c: Likewise.
22559 * stdio-common/ctermid.c: Likewise.
22560 * stdio-common/cuserid.c: Likewise.
22561 * stdio-common/remove.c: Likewise.
22562 * stdio-common/rename.c: Likewise.
22563 * stdio-common/renameat.c: Likewise.
22564 * stdio-common/tempname.c: Likewise.
22565 * stdlib/getcontext.c: Likewise.
22566 * stdlib/makecontext.c: Likewise.
22567 * stdlib/setcontext.c: Likewise.
22568 * stdlib/swapcontext.c: Likewise.
22569 * stdlib/system.c: Likewise.
22570 * streams/fattach.c: Likewise.
22571 * streams/fdetach.c: Likewise.
22572 * streams/getmsg.c: Likewise.
22573 * streams/getpmsg.c: Likewise.
22574 * streams/putmsg.c: Likewise.
22575 * streams/putpmsg.c: Likewise.
22576 * sysdeps/unix/bsd/getpt.c: Likewise.
22577 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22578 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22579 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22582 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22583 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22584 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22585 * sysvipc/msgctl.c: Likewise.
22586 * sysvipc/msgget.c: Likewise.
22587 * sysvipc/msgrcv.c: Likewise.
22588 * sysvipc/msgsnd.c: Likewise.
22589 * sysvipc/semctl.c: Likewise.
22590 * sysvipc/semget.c: Likewise.
22591 * sysvipc/semop.c: Likewise.
22592 * sysvipc/semtimedop.c: Likewise.
22593 * sysvipc/shmat.c: Likewise.
22594 * sysvipc/shmctl.c: Likewise.
22595 * sysvipc/shmdt.c: Likewise.
22596 * sysvipc/shmget.c: Likewise.
22597 * termios/tcdrain.c: Likewise.
22598 * termios/tcflow.c: Likewise.
22599 * termios/tcflush.c: Likewise.
22600 * termios/tcgetattr.c: Likewise.
22601 * termios/tcgetpgrp.c: Likewise.
22602 * termios/tcsendbrk.c: Likewise.
22603 * termios/tcsetattr.c: Likewise.
22604 * termios/tcsetpgrp.c: Likewise.
22605 * time/adjtime.c: Likewise.
22606 * time/clock.c: Likewise.
22607 * time/getitimer.c: Likewise.
22608 * time/gettimeofday.c: Likewise.
22609 * time/setitimer.c: Likewise.
22610 * time/settimeofday.c: Likewise.
22611 * time/stime.c: Likewise.
22612 * time/time.c: Likewise.
22614 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22616 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22619 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22621 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22623 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22627 FE_TONEAREST before applying Dekker multiplication and Knuth
22628 addition. Clear inexact exceptions and check for exact zero
22629 results afterwards.
22630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22633 * math/libm-test.inc (fma_test): Add more tests.
22634 (fma_test_towardzero): Likewise.
22635 (fma_test_downward): Likewise.
22636 (fma_test_upward): Likewise.
22637 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22639 (libc_fesetround): New macro.
22640 (libc_fesetroundf): Likewise.
22641 (libc_fesetroundl): Likewise.
22642 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22644 (libc_fesetround_387): Likewise.
22645 (libc_fesetroundf): New macro.
22646 (libc_fesetround): Likewise.
22647 (libc_fesetroundl): Likewise.
22648 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22650 (libc_fesetroundf): New macro.
22651 (libc_fesetround): Likewise.
22652 (libc_fesetroundl): Likewise.
22653 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22654 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22655 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22657 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22658 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22660 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22661 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22663 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22667 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22668 integer constant usable in #if and use that to give value to enum
22670 (FE_DIVBYZERO): Likewise.
22671 (FE_UNDERFLOW): Likewise.
22672 (FE_OVERFLOW): Likewise.
22673 (FE_INVALID): Likewise.
22674 (FE_INVALID_SNAN): Likewise.
22675 (FE_INVALID_ISI): Likewise.
22676 (FE_INVALID_IDI): Likewise.
22677 (FE_INVALID_ZDZ): Likewise.
22678 (FE_INVALID_IMZ): Likewise.
22679 (FE_INVALID_COMPARE): Likewise.
22680 (FE_INVALID_SOFTWARE): Likewise.
22681 (FE_INVALID_SQRT): Likewise.
22682 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22683 (FE_TONEAREST): Likewise.
22684 (FE_TOWARDZERO): Likewise.
22685 (FE_UPWARD): Likewise.
22686 (FE_DOWNWARD): Likewise.
22687 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22688 (FE_DIVBYZERO): Likewise.
22689 (FE_OVERFLOW): Likewise.
22690 (FE_UNDERFLOW): Likewise.
22691 (FE_INEXACT): Likewise.
22692 (FE_TONEAREST): Likewise.
22693 (FE_DOWNWARD): Likewise.
22694 (FE_UPWARD): Likewise.
22695 (FE_TOWARDZERO): Likewise.
22696 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22697 (FE_UNDERFLOW): Likewise.
22698 (FE_OVERFLOW): Likewise.
22699 (FE_DIVBYZERO): Likewise.
22700 (FE_INVALID): Likewise.
22701 (FE_TONEAREST): Likewise.
22702 (FE_TOWARDZERO): Likewise.
22703 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22704 (FE_OVERFLOW): Likewise.
22705 (FE_UNDERFLOW): Likewise.
22706 (FE_DIVBYZERO): Likewise.
22707 (FE_INEXACT): Likewise.
22708 (FE_TONEAREST): Likewise.
22709 (FE_TOWARDZERO): Likewise.
22710 (FE_UPWARD): Likewise.
22711 (FE_DOWNWARD): Likewise.
22712 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22713 (FE_DIVBYZERO): Likewise.
22714 (FE_OVERFLOW): Likewise.
22715 (FE_UNDERFLOW): Likewise.
22716 (FE_INEXACT): Likewise.
22717 (FE_TONEAREST): Likewise.
22718 (FE_DOWNWARD): Likewise.
22719 (FE_UPWARD): Likewise.
22720 (FE_TOWARDZERO): Likewise.
22722 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22724 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22726 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22728 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22729 commands. Quote $PWD.
22730 (blacklist_exports): Don't use remove_newlines. Replace "declare
22732 (remove_newlines): Remove.
22734 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22736 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22737 * stdlib/stdlib.h (atof): Moved to ...
22738 * include/bits/stdlib-float.h: Here. New file.
22739 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22740 * stdlib/bits/stdlib-float.h: New file.
22741 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22746 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22748 * conform/conformtest.pl (@headers): Add fenv.h.
22749 * conform/data/fenv.h-data: New file.
22750 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22751 include of <math/fenv.h>.
22753 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22754 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22755 && !UNIX98]. Enables tests for XOPEN2K8.
22756 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22757 POSIX2008]: Likewise.
22759 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22760 (struct rusage): Do not expect type or its members.
22763 * math/math.h (FP_NAN): Define macro to integer constant usable in
22764 #if and use that to give value to enum constant.
22765 (FP_INFINITE): Likewise.
22766 (FP_ZERO): Likewise.
22767 (FP_SUBNORMAL): Likewise.
22768 (FP_NORMAL): Likewise.
22770 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22772 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22773 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22776 2012-11-02 Roland McGrath <roland@hack.frob.com>
22778 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22779 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22780 autoconf-time if not.
22781 * configure.in: Remove AC_PREREQ.
22783 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22785 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22786 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22787 of the internal implementation.
22789 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22791 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22792 except include of <misc/sys/syslog.h>.
22794 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22797 function returns with a NULL context exit with zero.
22799 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22801 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22803 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22805 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22806 (run_program_cmd): This.
22807 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22808 (tst_langinfo): New variable. Use it.
22810 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22812 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22813 floating point opcodes.
22815 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22817 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22820 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22822 * sysdeps/mach/hurd/powerpc: Remove directory.
22823 * sysdeps/mach/powerpc: Likewise.
22825 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22827 * scripts/check-local-headers.sh: Ignore c++ headers.
22829 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22831 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22832 __libc_cleanup_region_start argument.
22834 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22839 x * y using scaling, not as x * y + z.
22840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22842 * math/libm-test.inc (fma_test): Add more tests.
22843 (fma_test_towardzero): Likewise.
22844 (fma_test_downward): Likewise.
22845 (fma_test_upward): Likewise.
22847 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22849 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22851 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22853 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22856 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22858 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22860 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22867 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22870 Fix the order of the list for glibc 2.17.
22871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22874 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22878 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22881 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22882 for low part of x being zero before using __atanl (y).
22883 * math/libm-test.inc (atan2_test): Add another test.
22885 * manual/install.texi (Configuring and compiling): Document
22886 general use of test-wrapper and test-wrapper-env.
22887 * INSTALL: Regenerated.
22889 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22890 (__fma): Do not extract and scale down low bits on after-rounding
22891 systems when result rounded to normal precision would have normal
22893 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22894 (__fmal): Do not extract and scale down low bits on after-rounding
22895 systems when result rounded to normal precision would have normal
22897 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22898 (__fmal): Do not extract and scale down low bits on after-rounding
22899 systems when result rounded to normal precision would have normal
22901 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22903 (fma_test): Add more tests.
22904 (fma_test_towardzero): Likewise.
22905 (fma_test_downward): Likewise.
22906 (fma_test_upward): Likewise.
22908 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22910 * sysdeps/i386/tininess.h: Renamed to ...
22911 * sysdeps/x86/tininess.h: This.
22912 * sysdeps/x86_64/tininess.h: Removed.
22914 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22916 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22917 input. Use $(build-program-cmd).
22918 ($(objpfx)tst-array1-static.out): Likewise.
22919 ($(objpfx)tst-array2.out): Likewise.
22920 ($(objpfx)tst-array3.out): Likewise.
22921 ($(objpfx)tst-array4.out): Likewise.
22922 ($(objpfx)tst-array5.out): Likewise.
22923 ($(objpfx)tst-array5-static.out): Likewise.
22925 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22927 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22930 * nss/nsswitch.h (nss_interface_function): Provide new
22931 macro for use with NSS functions.
22932 * grp/initgroups.c: Use new macro.
22933 * nss/getXXbyYY.c: Likewise.
22934 * nss/getXXbyYY_r.c: Likewise.
22935 * nss/getXXent.c: Likewise.
22936 * nss/getXXent_r.c: Likewise.
22937 * sysdeps/posix/getaddrinfo.c: Likewise.
22939 2012-10-30 Andreas Jaeger <aj@suse.de>
22941 * po/ru.po: Update Russion translation from translation project.
22943 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22948 result and shift together with sticky bit instead of replicating
22949 round-to-nearest rounding.
22950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22952 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22953 missing underflow exceptions.
22954 (fma_test_towardzero): Add more tests.
22955 (fma_test_downward): Likewise.
22956 (fma_test_upward): Likewise.
22959 * sysdeps/generic/tininess.h: New file.
22960 * sysdeps/i386/tininess.h: Likewise.
22961 * sysdeps/sh/tininess.h: Likewise.
22962 * sysdeps/x86_64/tininess.h: Likewise.
22963 * stdlib/tst-strtod-underflow.c: Likewise.
22964 * stdlib/tst-tininess.c: Likewise.
22965 * stdlib/strtod_l.c: Include <tininess.h>.
22966 (round_and_return): Do not set errno for exact underflow cases.
22967 Force an underflow exception when setting errno for underflow.
22968 Determine underflow based on rounding to normal precision if
22969 TININESS_AFTER_ROUNDING.
22970 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22971 ERANGE for exact underflow cases.
22972 * stdlib/Makefile (tests): Add tst-tininess and
22973 tst-strtod-underflow.
22974 ($(objpfx)tst-tininess): Use $(link-libm).
22975 ($(objpfx)tst-strtod-underflow): Likewise.
22977 2012-10-30 Andreas Jaeger <aj@suse.de>
22980 * elf/Makefile (tests): Remove conditional for have-initfini-array
22981 since this is now always required and the variable does not exist
22983 (tests-static): Likewise.
22984 (modules-names): Likewise.
22986 * po/eo.po: Add Esperanto translation from translation project.
22988 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22989 merged with constructor/destructor.
22990 (init_array): Likewise.
22991 * elf/tst-array2dep.c (fini_array): Likewise.
22992 (init_array): Likewise.
22994 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22996 * manual/message.texi: Delete @cartouche tags.
22998 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23000 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23002 * sysdeps/mach/hurd/fsync.c: Likewise.
23004 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23005 [_POSIX_REALTIME_SIGNALS]: Change condition to
23006 [_POSIX_REALTIME_SIGNALS > 0].
23008 2012-10-27 Andreas Jaeger <aj@suse.de>
23010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23011 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23013 [__WORDSIZE != 64]: Likewise.
23015 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23017 * iconvdata/tst-table.sh: Remove ${SHELL}.
23018 * iconvdata/tst-tables.sh: Likewise.
23020 2012-10-25 David S. Miller <davem@davemloft.net>
23022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23023 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23029 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23030 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23033 2012-10-25 Roland McGrath <roland@hack.frob.com>
23035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23036 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23039 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23040 Jim Blandy <jimb@codesourcery.com>
23042 * scripts/cross-test-ssh.sh: New file.
23043 * manual/install.texi (Configuring and compiling): Document use of
23045 * INSTALL: Regenerated.
23047 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23049 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23052 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23054 * Makeconfig (run-program-prefix): Fix comment.
23056 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23057 Jim Blandy <jimb@codesourcery.com>
23059 * Makeconfig (test-wrapper): New variable,
23060 (test-wrapper-env): Likewise.
23061 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23062 (run-built-tests): Define to yes.
23063 (run-program-prefix): Use $(test-wrapper).
23064 (built-program-cmd): Likewise.
23065 * Rules (make-test-out): Use $(test-wrapper-env) and
23066 $(host-built-program-cmd).
23067 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23068 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23070 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23071 $(test-wrapper-env) to tst-rtld-load-self.sh.
23072 ($(objpfx)order2.out): Use $(test-wrapper).
23073 ($(objpfx)tst-initorder.out): Likewise.
23074 ($(objpfx)tst-initorder2.out): Likewise.
23075 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23076 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23077 (test_wrapper_env): New variable. Use it to run ld.so.
23078 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23079 Use it to run ld.so.
23080 (test_wrapper_env): Likewise.
23081 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23082 $(test-wrapper) to run-iconv-test.sh.
23083 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23084 (ICONV): Use $test_wrapper.
23085 * posix/Makefile ($(objpfx)globtest.out): Pass
23086 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23087 globtest.sh, not $(run-program-prefix).
23088 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23089 (test_wrapper): Likewise.
23090 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23091 set together with run_via_rtld_prefix.
23092 (run_program_prefix): Define in terms of test_wrapper and
23093 run_via_rtld_prefix.
23095 2012-10-24 Roland McGrath <roland@hack.frob.com>
23097 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23098 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23102 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23103 Declare __clock_getres, __clock_gettime, __clock_settime,
23104 __clock_nanosleep, and __clock_getcpuclockid.
23105 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23106 Remove librt_hidden_def (clock_gettime).
23107 * sysdeps/unix/clock_gettime.c: Likewise.
23108 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23110 * rt/clock_getres.c: Define __clock_getres as an alias.
23111 * sysdeps/posix/clock_getres.c: Likewise.
23112 * rt/clock_settime.c: Define __clock_settime as an alias.
23113 * sysdeps/unix/clock_settime.c: Likewise.
23114 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23115 * sysdeps/unix/clock_nanosleep.c: Likewise.
23116 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23117 * rt/clock-compat.c: New file.
23118 * rt/Makefile (librt-routines): Add clock-compat and move
23119 $(clock-routines) to ...
23120 (routines): ... here, new variable.
23121 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23122 Don't add get_clockfreq here.
23123 * rt/Versions (libc: GLIBC_2.17): New version set.
23124 Add clock_* symbols here.
23125 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23127 (GLIBC_2.17): Add clock_* symbols.
23128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23139 * NEWS: Mention the move.
23141 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23142 Use __open, __read, __close rather than their public counterparts.
23143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23144 (__get_clockfreq_via_cpuinfo): Likewise.
23145 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23146 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23148 * config.h.in (HAVE_IFUNC): New #undef.
23149 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23151 * configure: Regenerated.
23153 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23155 * configure.in: Move READELF check to start of file.
23156 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23157 libc_cv_asm_gnu_indirect_function in the process.
23158 * configure: Regenerated.
23160 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23162 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23163 send the output to /dev/null.
23164 (libc_cv_cc_with_libunwind): Likewise.
23165 (libc_cv_as_noexecstack): Likewise.
23166 * configure: Regenerate.
23168 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23170 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23172 * posix/globtest.sh (TMPDIR): Do not set.
23173 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23174 (testout): Likewise.
23176 2012-10-24 Andreas Jaeger <aj@suse.de>
23178 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23179 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23180 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23181 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23182 posix_fadvise64, posix_fallocate64.
23184 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23185 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23186 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23188 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23190 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23193 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23194 <bits/fcntl-linux.h>.
23195 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23198 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23199 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23200 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23201 [__WORDSIZE != 64]: Likewise.
23203 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23205 * Makeconfig (run-built-tests): New variable.
23206 * Rules [$(cross-compiling) = yes]: Change condition to
23207 [$(run-built-tests) = no].
23208 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23209 to [$(run-built-tests) = yes].
23210 * elf/Makefile [$(cross-compiling) = no]: Likewise
23211 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23212 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23213 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23214 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23215 * io/Makefile [$(cross-compiling) = no]: Likewise.
23216 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23217 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23218 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23219 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23220 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23221 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23222 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23223 * string/Makefile [$(cross-compiling) = no]: Likewise.
23225 * posix/Makefile ($(objpfx)globtest.out): Pass
23226 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23227 $(rtld-installed-name).
23228 * posix/globtest.sh (elf_objpfx): Remove variable.
23229 (rtld_installed_name): Likewise.
23230 (library_path): Likewise.
23231 (run_program_prefix): New variable. Use for running globtest
23234 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23235 Joseph Myers <joseph@codesourcery.com>
23237 * Makeconfig (host-built-program-cmd): New variable.
23238 * elf/Makefile (tst-stackguard1-ARGS): Use
23239 $(host-built-program-cmd).
23240 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23241 (tst-spawn-ARGS): Likewise.
23242 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23244 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23245 Jim Blandy <jimb@codesourcery.com>
23247 * Makeconfig (run-via-rtld-prefix): New variable.
23248 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23249 (built-program-cmd): Likewise.
23251 2012-10-22 Andreas Jaeger <aj@suse.de>
23253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23254 __O_RSYNC if it exists, otherwise to O_SYNC.
23256 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23257 Joseph Myers <joseph@codesourcery.com>
23259 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23261 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23263 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23266 2012-10-22 Andreas Jaeger <aj@suse.de>
23268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23273 bits/fcntl-linux.h.
23275 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23276 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23283 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23284 Joseph Myers <joseph@codesourcery.com>
23286 * config.make.in (NM): New variable.
23288 2012-10-21 Andreas Jaeger <aj@suse.de>
23290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23291 definitions and declarations that are provided by
23292 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23294 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23297 * elf/Makefile (tests-static): Add tst-leaks1-static.
23298 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23299 ($(objpfx)tst-leaks1-static): New rule.
23300 ($(objpfx)tst-leaks1-static-mem): Likewise.
23301 (tst-leaks1-static-ENV): New macro.
23302 * elf/dl-open.c (dl_open_worker): Check the main application
23303 only if SHARED is defined.
23304 * elf/tst-leaks1-static.c: New file.
23306 2012-10-20 Andreas Jaeger <aj@suse.de>
23308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23309 generic values for Linux.
23310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23311 and declarations that are provided by <bits/fcntl-linux.h> and
23312 include <bits/fcntl-linux.h>.
23313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23316 2012-10-20 Roland McGrath <roland@hack.frob.com>
23318 * io/fcntl.h: Move include of <bits/types.h> to the top and
23319 include it unconditionally.
23321 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23323 * wcsmbs/Makefile (tests-ifunc): New variable.
23324 (tests): Add $(tests-ifunc).
23325 * wcsmbs/test-wcschr-ifunc.c: New file.
23326 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23327 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23328 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23329 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23330 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23332 * string/Makefile (tests-ifunc): New variable.
23333 (tests): Add $(tests-ifunc).
23334 * string/test-memccpy.c (TEST_NAME): New macro.
23335 * string/test-memchr.c (TEST_NAME): Likewise.
23336 * string/test-memcmp.c (TEST_NAME): Likewise.
23337 * string/test-memcpy.c (TEST_NAME): Likewise.
23338 * string/test-memmem.c (TEST_NAME): Likewise.
23339 * string/test-memmove.c (TEST_NAME): Likewise.
23340 * string/test-memset.c (TEST_NAME): Likewise.
23341 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23342 * string/test-stpcpy.c (TEST_NAME): Likewise.
23343 * string/test-stpncpy.c (TEST_NAME): Likewise.
23344 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23345 * string/test-strcasestr.c (TEST_NAME): Likewise.
23346 * string/test-strcat.c (TEST_NAME): Likewise.
23347 * string/test-strchr.c (TEST_NAME): Likewise.
23348 * string/test-strcmp.c(TEST_NAME): Likewise.
23349 * string/test-strcpy.c (TEST_NAME): Likewise.
23350 * string/test-strcspn.c (TEST_NAME): Likewise.
23351 * string/test-strlen.c (TEST_NAME): Likewise.
23352 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23353 * string/test-strncmp.c (TEST_NAME): Likewise.
23354 * string/test-strncpy.c (TEST_NAME): Likewise.
23355 * string/test-strnlen.c (TEST_NAME): Likewise.
23356 * string/test-strpbrk.c (TEST_NAME): Likewise.
23357 * string/test-strrchr.c (TEST_NAME): Likewise.
23358 * string/test-strspn.c (TEST_NAME): Likewise.
23359 * string/test-strstr.c (TEST_NAME): Likewise.
23360 * string/test-bcopy-ifunc.c: New file.
23361 * string/test-bzero-ifunc.c: Likewise.
23362 * string/test-memccpy-ifunc.c: Likewise.
23363 * string/test-memchr-ifunc.c: Likewise.
23364 * string/test-memcmp-ifunc.c: Likewise.
23365 * string/test-memcpy-ifunc.c: Likewise.
23366 * string/test-memmem-ifunc.c: Likewise.
23367 * string/test-memmove-ifunc.c: Likewise.
23368 * string/test-mempcpy-ifunc.c: Likewise.
23369 * string/test-memset-ifunc.c: Likewise.
23370 * string/test-rawmemchr-ifunc.c: Likewise.
23371 * string/test-stpcpy-ifunc.c: Likewise.
23372 * string/test-stpncpy-ifunc.c: Likewise.
23373 * string/test-strcasecmp-ifunc.c: Likewise.
23374 * string/test-strcasestr-ifunc.c: Likewise.
23375 * string/test-strcat-ifunc.c: Likewise.
23376 * string/test-strchr-ifunc.c: Likewise.
23377 * string/test-strchrnul-ifunc.c: Likewise.
23378 * string/test-strcmp-ifunc.c: Likewise.
23379 * string/test-strcpy-ifunc.c: Likewise.
23380 * string/test-strcspn-ifunc.c: Likewise.
23381 * string/test-strlen-ifunc.c: Likewise.
23382 * string/test-strncasecmp-ifunc.c: Likewise.
23383 * string/test-strncat-ifunc.c: Likewise.
23384 * string/test-strncmp-ifunc.c: Likewise.
23385 * string/test-strncpy-ifunc.c: Likewise.
23386 * string/test-strnlen-ifunc.c: Likewise.
23387 * string/test-strpbrk-ifunc.c: Likewise.
23388 * string/test-strrchr-ifunc.c: Likewise.
23389 * string/test-strspn-ifunc.c: Likewise.
23390 * string/test-strstr-ifunc.c: Likewise.
23392 * debug/Makefile (tests-ifunc): New variable.
23393 (tests): Add $(tests-ifunc).
23394 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23395 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23396 * debug/test-stpcpy_chk-ifunc.c: New file.
23397 * debug/test-strcpy_chk-ifunc.c: Likewise.
23399 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23402 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23403 header is not read in.
23405 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23407 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23408 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23409 directly. Pass built executable to script as
23410 $(built-program-cmd).
23411 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23412 $testprogram without using LD_LIBRARY_PATH and $ldso.
23414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23415 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23416 $(rtld-installed-name).
23417 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23418 (rtld_installed_name): Likewise.
23419 (library_path): Likewise.
23420 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23422 $(run-program-prefix) to tst-tables.sh.
23423 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23424 it to run tst-table-from and tst-table-to.
23425 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23426 Pass it to tst-table.sh.
23427 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23428 $(run-program-prefix) to tst-gettext.sh.
23429 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23431 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23433 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23434 to run tst-gettext.
23435 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23436 to run tst-gettext2.
23437 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23438 to run tst-translit.
23439 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23440 $(run-program-prefix) to tst-mtrace.sh.
23441 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23443 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23444 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23445 $(rtld-installed-name).
23446 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23447 (rtld_installed_name): Likewise.
23448 (run_program_prefix): New variable. Use it to run wordexp-test.
23450 * Makeconfig (ARCH): Remove all definitions.
23451 (machine): Likewise.
23452 [ARCH]: Remove conditional code.
23453 [!objdir]: Give error.
23454 [!objdir] (objpfx): Remove.
23455 [!objdir] (common-objpfx): Likewise.
23456 [!objdir] (common-objdir): Likewise.
23457 * configure.in (config_makefile): Remove. Hardcode Makefile in
23458 AC_CONFIG_FILES call.
23459 * configure: Regenerated.
23462 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23464 (testout): Likewise.
23466 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23467 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23468 $(rtld-installed-name).
23469 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23470 (rtld_installed_name): Likwise.
23471 (runit): Remove function.
23472 (run_getconf): New variable, Use it for running getconf binary.
23474 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23477 * string/test-memmem.c (check_result): New function.
23478 (do_one_test): Use it.
23479 (check1): New function.
23480 (test_main): Use it.
23482 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23484 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23486 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23488 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23489 (_G_LSEEK64): Likewise.
23490 (_G_MMAP64): Likewise.
23491 (_G_FSTAT64): Likewise.
23492 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23493 (_G_LSEEK64): Likewise.
23494 (_G_MMAP64): Likewise.
23495 (_G_FSTAT64): Likewise.
23496 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23497 unconditional. Call __mmap64 directly.
23498 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23499 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23500 __lseek64 directly.
23501 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23502 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23504 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23505 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23506 __lseek64 directly.
23507 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23508 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23509 __lseek64 directly.
23510 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23511 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23512 __lseek64 directly.
23513 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23514 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23515 __fxstat64 directly.
23516 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23517 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23519 (freopen64) [!_G_OPEN64]: Remove conditional code.
23520 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23522 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23523 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23525 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23526 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23528 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23529 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23531 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23532 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23534 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23535 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23537 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23538 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23540 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23542 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23545 * manual/memory.texi (Malloc Tunable Parameters): Add note
23546 about free list pointers overwriting some perturb bytes.
23547 Wording suggested by Roland McGrath.
23549 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23551 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23552 (lgamma_test): Likewise.
23553 (tgamma_test): Likewise.
23555 2012-10-16 Florian Weimer <fweimer@redhat.com>
23558 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23559 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23561 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23563 * NEWS: Mention BZ #14716.
23564 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23565 when removing AVAILABLE1_USES_J macro.
23567 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23569 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23570 (__bswap_64): __uint64_t for unsigned 64-bit int.
23572 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23574 * include/string.h (memmem): Declare libc hidden alias.
23575 * string/memmem.c (memmem): Define libc hidden alias.
23576 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23577 __read, __close instead of open, read, close.
23579 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23582 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23584 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23585 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23586 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23588 (__rawmemchr_sse2): Likewise.
23589 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23590 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23591 (__strchr_sse2): Likewise.
23592 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23593 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23594 (__strcasecmp_sse2): Likewise.
23595 (__strncasecmp_sse2): Likewise.
23596 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23597 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23598 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23599 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23600 (__strrchr_sse2): Likewise.
23601 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23603 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23604 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23605 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23606 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23607 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23609 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23610 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23611 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23612 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23613 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23614 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23615 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23616 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23617 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23618 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23619 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23620 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23621 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23622 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23623 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23624 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23625 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23626 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23627 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23629 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23631 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23632 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23634 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23636 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23637 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23638 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23639 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23641 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23643 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23644 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23645 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23646 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23648 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23649 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23650 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23657 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23658 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23659 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23660 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23661 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23662 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23665 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23667 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23669 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23670 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23673 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23674 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23675 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23676 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23677 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23678 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23679 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23680 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23681 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23682 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23683 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23685 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23686 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23688 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23690 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23691 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23692 * include/ifunc-impl-list.h: New file.
23693 * misc/ifunc-impl-list.c: Likewise.
23694 * misc/Makefile (routines): Add ifunc-impl-list.
23695 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23696 * string/test-string.h: Include <ifunc-impl-list.h>.
23697 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23698 TEST_NAME]: New variables.
23699 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23701 (test_init): Call __libc_ifunc_impl_list to initialize
23702 func_list if TEST_IFUNC and TEST_NAME are defined.
23704 * string/Makefile (strop-tests): Add bcopy and bzero.
23705 * string/test-bcopy.c: New file.
23706 * string/test-bzero.c: Likewise.
23707 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23709 * string/test-memset.c: Support bzero test if TEST_BZERO is
23711 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23713 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23715 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23718 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23720 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23721 * configure: Regenerated.
23723 * Makeconfig (+link-static-before-libc): Don't include
23724 $(link-static-libc).
23726 * libio/libio.h (_IO_pos_t): Remove.
23728 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23730 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23733 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23735 * crypt/crypt-entry.c: Include fips-private.h.
23736 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23737 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23738 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23739 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23741 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23743 * crypt/crypt-private.h: Include stdbool.h.
23744 (_ufc_setup_salt_r): Return bool.
23745 * crypt/crypt-entry.c: Include errno.h.
23746 (__crypt_r): Return NULL with EINVAL for bad salt.
23747 * crypt/crypt_util.c (bad_for_salt): New.
23748 (_ufc_setup_salt_r): Check that salt is long enough and within
23749 the specified alphabet.
23750 * crypt/badsalttest.c: New file.
23751 * crypt/Makefile (tests): Add it.
23752 ($(objpfx)badsalttest): New.
23754 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23756 * NEWS: Add entry for BZ #14602.
23758 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23760 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23762 * math/libm-test.inc: Update comment listing what functions and
23764 (isgreater_test): New function.
23765 (isgreaterequal_test): Likewise.
23766 (isless_test): Likewise.
23767 (islessequal_test): Likewise.
23768 (islessgreater_test): Likewise.
23769 (isunordered_test): Likewise.
23770 (main): Call the new functions.
23772 2012-10-09 Roland McGrath <roland@hack.frob.com>
23774 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23775 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23776 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23777 * sysdeps/i386/configure: Regenerated.
23778 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23779 * sysdeps/mach/configure: Regenerated.
23780 * sysdeps/mach/hurd/configure: Regenerated.
23781 * sysdeps/powerpc/configure: Regenerated.
23782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23784 * sysdeps/s390/s390-32/configure: Regenerated.
23785 * sysdeps/s390/s390-64/configure: Regenerated.
23786 * sysdeps/sh/configure: Regenerated.
23787 * sysdeps/sparc/configure: Regenerated.
23788 * sysdeps/unix/sysv/linux/configure: Regenerated.
23789 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23790 * sysdeps/x86_64/configure: Regenerated.
23792 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23793 defined. Don't check if MAP is NULL.
23795 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23797 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23798 (_G_stat64): Likewise.
23799 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23800 (_G_stat64): Likewise.
23801 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23802 instead of struct _G_stat64.
23803 * libio/fileops.c (mmap_remap_check): Likewise.
23804 (decide_maybe_mmap): Likewise.
23805 (_IO_new_file_seekoff): Likewise.
23806 (_IO_file_stat): Likewise.
23807 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23809 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23810 instead of struct _G_stat64.
23811 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23813 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23816 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23818 (CHECK_EOL): New macro.
23819 (two_way_short_needle): Check beginning of haystack for EOL. Use
23821 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23822 Replace with CHECK_EOL.
23823 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23824 Replace with CHECK_EOL.
23826 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23828 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23830 * math/libm-test.inc: Update comment listing what functions and
23832 (finite_test): New function.
23833 (isinf_test): Likewise.
23834 (isnan_test): Likewise.
23835 (fpclassify_test): Test subnormal input.
23836 (isfinite_test): Likewise.
23837 (isnormal_test): Likewise.
23838 (main): Call the new functions.
23840 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23843 * Makerules (%.dynsym): Force C locale when running
23844 $(OBJDUMP) --dynamic-syms.
23846 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23848 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23851 2012-10-06 David S. Miller <davem@davemloft.net>
23853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23854 upper 32-bits of the length value in %o2 since we use branch-on-register
23855 tests which consider the entire 64-bit register.
23857 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23859 * string/test-strstr.c (check2): Add a test for page boundary.
23861 2012-10-05 David S. Miller <davem@davemloft.net>
23863 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23864 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23866 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23869 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23870 and bzero when HWCAP_SPARC_CRYPTO is present.
23872 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23875 * string/test-strstr.c (check2): New function.
23876 (test_main): Call check2.
23878 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23880 * string/bug-strcasestr1.c (do_test): Moved to ...
23881 * string/test-strcasestr.c (check1): Here. New function.
23882 (do_one_test): Break out result checking code into ...
23883 (check_result): This. New function.
23884 (do_one_test): Call check_result.
23885 (test_main): Call check1.
23886 * string/bug-strchr1.c (do_test): Moved to ...
23887 * string/test-strchr.c (check1): Here. New function.
23888 (do_one_test): Break out result checking code into ...
23889 (check_result): This. New function.
23890 (do_one_test): Call check_result.
23891 (test_main): Call check1.
23892 * string/bug-strstr1.c (main): Moved to ...
23893 * string/test-strstr.c (check1): Here. New function.
23894 (do_one_test): Break out result checking code into ...
23895 (check_result): This. New function.
23896 (do_one_test): Call check_result.
23897 (test_main): Call check1.
23898 * string/bug-strcasestr1.c: Removed.
23899 * string/bug-strchr1.c: Likewise.
23900 * string/bug-strstr1.c: Likewise.
23902 * elf/Makefile (dl-routines): Add hwcaps.
23903 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23904 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23905 (_dl_important_hwcaps): Moved to ...
23906 * elf/dl-hwcaps.c: Here. New file.
23907 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23910 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23911 if IS_IN_rtld isn't defined.
23913 * elf/dl-support.c (_dl_sysinfo_map): New.
23914 Include "get-dynamic-info.h" and "setup-vdso.h".
23915 (_dl_non_dynamic_init): Call setup_vdso.
23916 * elf/dynamic-link.h: Don't include <assert.h>.
23917 (elf_get_dynamic_info): Moved to ...
23918 * elf/get-dynamic-info.h: Here. New file.
23919 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23920 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23921 * elf/setup-vdso.h: Here. New file.
23922 * elf/rtld.c: Include "setup-vdso.h".
23923 (dl_main): Call setup_vdso.
23925 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23927 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23928 creal in comment listing functions tested. List finite, isinf,
23929 isnan, isless, islessequal, isgreater, isgreaterequal,
23930 islessgreater, isunordered, lgamma_r and pow10 as functions and
23931 macros not tested. Mention which functions not tested are aliases
23932 for other functions. Fix typo. Note that signs of NaNs are not
23935 * scripts/config.guess: Update from config.git.
23936 * scripts/config.sub: Likewise.
23938 2012-10-04 Roland McGrath <roland@hack.frob.com>
23940 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23941 * misc/madvise.c (madvise): Renamed to __madvise.
23942 Make madvise a weak alias.
23943 * include/sys/mman.h: Declare __madvise.
23944 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23945 * sysdeps/unix/syscalls.list
23946 (madvise): Make __madvise the strong name, and madvise a weak alias.
23947 * sysdeps/unix/sysv/linux/syscalls.list
23948 (madvise, mmap): Remove redundant entries.
23949 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23950 * malloc/malloc.c (mtrim): Likewise.
23951 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23953 2012-10-03 Roland McGrath <roland@hack.frob.com>
23955 * sysdeps/mach/hurd/dl-cache.c: File removed.
23956 * config.h.in (USE_LDCONFIG): New #undef.
23957 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23958 * configure: Regenerated.
23959 * elf/Makefile (dl-routines): Add dl-cache only under
23960 [$(use-ldconfig) = yes].
23961 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23962 cache on [USE_LDCONFIG].
23963 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23965 * elf/rtld.c (dl_main): Likewise.
23967 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23969 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23970 _SC_LEVEL4_CACHE_LINESIZE.
23972 2012-10-03 Roland McGrath <roland@hack.frob.com>
23974 * sysdeps/unix/bsd/confstr.h: File removed.
23976 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23978 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23981 2012-10-02 Roland McGrath <roland@hack.frob.com>
23983 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23984 Make 'mapoff' field ElfW(Off) rather than off_t.
23986 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23988 * nscd/Makefile: Remove nscd-cflags and all its users.
23989 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23990 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23993 * malloc.c (malloc_printerr): Clarify error message.
23995 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23999 Set bit_FMA_Usable if FMA is supported.
24000 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24002 (bit_FMA4_Usable): Updated.
24003 (index_FMA_Usable): New macro.
24004 (CPUID_FMA): Likewise
24005 (HAS_FMA): Defined with bit_FMA_Usable.
24007 2012-10-01 Roland McGrath <roland@hack.frob.com>
24009 * bits/types.h (__swblk_t): Type removed.
24010 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24011 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24013 (__SWBLK_T_TYPE): Likewise.
24014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24015 (__SWBLK_T_TYPE): Likewise.
24016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24017 (__SWBLK_T_TYPE): Likewise.
24018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24019 (__SWBLK_T_TYPE): Likewise.
24021 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24022 Honza Horak <hhorak@redhat.com>
24024 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24025 (xdr_mapname): Use YPMAXMAP as maxsize.
24026 (xdr_peername): Use YPMAXPEER as maxsize.
24027 (xdr_keydat): Use YPAXRECORD as maxsize.
24028 (xdr_valdat): Use YPMAXRECORD as maxsize.
24030 2012-10-01 Roland McGrath <roland@hack.frob.com>
24032 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24034 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24035 * csu/init-first.c: ... here.
24036 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24037 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24038 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24040 * sysdeps/i386/init-first.c: File removed.
24041 * sysdeps/sh/init-first.c: File removed.
24043 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24047 if x * y might underflow to zero and z is zero.
24048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24050 * math/libm-test.inc (min_subnorm_value): New variable.
24051 (fma_test): Add more tests.
24052 (fma_test_towardzero): Likewise.
24053 (fma_test_downward): Likewise
24054 (fma_test_upward): Likewise.
24055 (initialize): Set min_subnorm_value.
24057 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24063 mode for addition resulting in exact zero.
24064 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24069 * math/libm-test.inc (fma_test): Add more tests.
24070 (fma_test_towardzero): New function.
24071 (fma_test_downward): Likewise.
24072 (fma_test_upward): Likewise.
24073 (main): Call the new functions.
24075 2012-09-28 David S. Miller <davem@davemloft.net>
24077 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24079 2012-09-28 Roland McGrath <roland@hack.frob.com>
24081 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24082 instead of SIGALRM.
24084 * sysdeps/gnu/_G_config.h: Moved to ...
24085 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24086 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24087 * sysdeps/generic/_G_config.h: ... here.
24089 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24091 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24093 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24094 Conditionalize target on [libnss_test1.so-version].
24096 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24098 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24099 (elfobjdir): Move out of conditionals.
24101 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24102 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24103 (__nss_lookup_function): Conditionalize label remove_from_tree on
24104 [!DO_STATIC_NSS || SHARED], matching its only use.
24106 2012-09-28 David S. Miller <davem@davemloft.net>
24108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24109 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24111 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24113 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24115 when HWCAP_SPARC_CRYPTO is present.
24117 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24119 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24121 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24124 * stdio-common/vfprintf.c (process_string_arg): Revert
24127 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24129 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24131 * stdio-common/tst-sprintf.c: Include <locale.h>
24132 (main): Test sprintf's handling of incomplete multibyte
24135 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24137 * elf/dl-runtime.c (VERSYMIDX): Removed.
24138 * elf/dl-version.c (VERSYMIDX): Likewise.
24139 * elf/do-rel.h (VERSYMIDX): Likewise.
24140 (VALIDX): Likewise.
24141 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24142 * elf/rtld.c (VALIDX): Likewise.
24143 (ADDRIDX): Likewise.
24144 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24145 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24146 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24147 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24148 (VALIDX): Likewise.
24149 (ADDRIDX): Likewise.
24151 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24153 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24155 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24158 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24160 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24161 addresses are in the same scope as 192.0.2/24.
24162 * posix/gai.conf: Document new scope table defaults.
24164 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24167 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24168 for ftell. Compute offsets from write pointers instead.
24169 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24171 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24174 * libio/Makefile (tests): New test case tst-fseek.
24175 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24176 combination works in wide mode.
24177 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24178 state when the external buffer state changes.
24180 2012-09-27 David S. Miller <davem@davemloft.net>
24183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24184 pass reloc->r_addend in as the 'high' argument to
24185 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24189 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24191 * rt/tst-aio2.c: Include <pthread.h>.
24192 * rt/tst-aio3.c: Likewise.
24194 2012-09-27 Steve Ellcey <sellcey@mips.com>
24196 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24198 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24200 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24201 contents on [SHARED].
24203 2012-09-26 Marek Polacek <polacek@redhat.com>
24207 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24208 for C++ and GCC <4.3 as well as for non GCC compilers.
24210 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24214 2012-09-25 Roland McGrath <roland@hack.frob.com>
24216 * Makefile.in (all, install): Declare with .PHONY.
24217 Reported by Michael Hope <michael.hope@linaro.org>.
24219 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24221 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24222 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24226 (sydep_routines): Add the new and the internal functions.
24227 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24228 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24230 (GLIBC_2.17): Add the new function.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24232 (GLIBC_2.17): Likewise.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24234 (GLIBC_2.17): Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24236 (GLIBC_2.17): Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24239 2012-09-25 Alan Modra <amodra@gmail.com>
24241 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24242 Add release barrier before setting once_control to say
24243 initialisation is done. Add hints on lwarx. Use macro in
24245 (clear_once_control): Add release barrier.
24247 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24250 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24252 * math/s_clog10.c (__clog10): Likewise.
24253 * math/s_clog10f.c (__clog10f): Likewise.
24254 * math/s_clog10l.c (__clog10l): Likewise.
24255 * math/s_clogf.c (__clogf): Likewise.
24256 * math/s_clogl.c (__clogl): Likewise.
24257 * math/Makefile (libm-calls): Add x2y2m1.
24258 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24259 (__x2y2m1): Likewise.
24260 (__x2y2m1l): Likewise.
24261 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24262 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24265 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24266 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24267 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24268 * sysdeps/i386/fpu/libm-test-ulps: Update.
24269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24272 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24273 int as type of variable DEPTH.
24274 (glob): Use size_t instead of int as type of variables NEWCOUNT
24277 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24279 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24280 Add s_sincosf-sse2.
24281 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24282 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24283 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24284 macros for using routine as __sincosf_ia32.
24285 Use macro for function declaration and weak_alias.
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24288 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24291 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24292 subnormal argument.
24293 * math/s_cexpf.c (__cexpf): Likewise.
24294 * math/s_csinf.c (__csinf): Likewise.
24295 * math/s_csinhf.c (__csinhf): Likewise.
24296 * math/s_ctanf.c (__ctanf): Likewise.
24297 * math/s_ctanhf.c (__ctanhf): Likewise.
24298 * math/s_ccosh.c (__ccoshf): Likewise.
24299 * math/s_cexp.c (__cexpl): Likewise.
24300 * math/s_csin.c (__csin): Likewise.
24301 * math/s_csinh.c (__csinh): Likewise.
24302 * math/s_ctan.c (__ctan): Likewise.
24303 * math/s_ctanh.c (ctanh): Likewise.
24304 * math/s_ccoshl.c (__ccoshl): Likewise.
24305 * math/s_cexpl.c (__cexpl): Likewise.
24306 * math/s_csinl.c (__csinl): Likewise.
24307 * math/s_csinhl.c (__csinhl): Likewise.
24308 * math/s_ctanl.c (__ctanl): Likewise.
24309 * math/s_ctanhl.c (__ctanhl): Likewise.
24311 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24313 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24314 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24315 (_IO_off_t): Define to __off_t, not _G_off_t.
24316 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24317 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24318 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24319 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24320 type of __dummy and __dummy2 fields.
24321 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24322 (_G_ssize_t): Likewise.
24323 (_G_off_t): Likewise.
24324 (_G_pid_t): Likewise.
24325 (_G_uid_t): Likewise.
24326 (_G_wchar_t): Likewise.
24327 (_G_wint_t): Likewise.
24328 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24329 (_G_ssize_t): Likewise.
24330 (_G_off_t): Likewise.
24331 (_G_pid_t): Likewise.
24332 (_G_uid_t): Likewise.
24333 (_G_wchar_t): Likewise.
24334 (_G_wint_t): Likewise.
24335 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24336 (_G_ssize_t): Likewise.
24337 (_G_off_t): Likewise.
24338 (_G_pid_t): Likewise.
24339 (_G_uid_t): Likewise.
24340 (_G_wchar_t): Likewise.
24341 (_G_wint_t): Likewise.
24343 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24345 * malloc/arena.c: Include malloc-sysdep.h.
24346 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24347 is sufficient to shrink the heap or an unmap is needed.
24348 * sysdeps/generic/malloc-sysdep.h: New file. Define
24349 new function check_may_shrink_heap.
24350 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24351 new function check_may_shrink_heap.
24353 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24355 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24358 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24360 * catgets/test-gencat.sh: Add "set -e".
24361 * elf/tst-pathopt.sh: Likewise.
24362 * grp/tst_fgetgrent.sh: Likewise.
24363 * iconvdata/run-iconv-test.sh: Likewise.
24364 * intl/tst-gettext.sh: Likewise.
24365 * intl/tst-gettext2.sh: Likewise.
24366 * intl/tst-gettext4.sh: Likewise.
24367 * intl/tst-gettext6.sh: Likewise.
24368 * intl/tst-translit.sh: Likewise.
24369 * io/ftwtest-sh: Likewise.
24370 * libio/test-freopen.sh: Likewise.
24371 * malloc/tst-mtrace.sh: Likewise.
24372 * posix/globtest.sh: Likewise.
24373 * posix/tst-getconf.sh: Likewise.
24374 * posix/wordexp-tst.sh: Likewise.
24375 * stdio-common/tst-printf.sh: Likewise.
24376 * stdio-common/tst-unbputc.sh: Likewise.
24377 * stdlib/tst-fmtmsg.sh: Likewise.
24378 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24379 * catgets/Makefile: Do not specify -e option when running
24380 testsuite shell scripts.
24381 * elf/Makefile: Likewise.
24382 * grp/Makefile: Likewise.
24383 * iconvdata/Makefile: Likewise.
24384 * intl/Makefile: Likewise.
24385 * io/Makefile: Likewise.
24386 * libio/Makefile: Likewise.
24387 * malloc/Makefile: Likewise.
24388 * posix/Makefile: Likewise.
24389 * stdio-common/Makefile: Likewise.
24390 * stdlib/Makefile: Likewise.
24391 * sysdeps/x86_64/Makefile: Likewise.
24393 * io/ftwtest-sh: Add copyright header.
24394 * posix/globtest.sh: Likewise.
24395 * posix/tst-getconf.sh: Likewise.
24396 * posix/wordexp-tst.sh: Likewise.
24397 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24399 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24402 * Makeconfig (+link): Defined as $(+link-static) if
24403 $(build-shared) isn't yes.
24404 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24406 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24408 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24411 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24412 new chunk size with MALLOC_ALIGN_MASK.
24414 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24417 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24419 (__printf_fphex): Determine rounding using get_rounding_mode and
24421 * stdio-common/tst-printf-round.c (struct hex_test): New
24423 (hex_tests): New variable.
24424 (test_hex_in_one_mode): New function.
24425 (do_test): Also run tests for hex float output.
24427 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24429 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24430 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24431 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24432 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24433 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24434 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24435 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24438 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24440 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24441 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24442 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24443 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24445 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24448 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24450 * elf/tst-rtld-load-self.sh: New test.
24451 * elf/Makefile: Run it.
24453 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24455 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24456 (tst-writev-ENV): Remove.
24457 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24459 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24461 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24463 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24465 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24467 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24469 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24470 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24471 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24474 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24477 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24478 * config.make.in (have-cpp-asm-debuginfo): Removed.
24479 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24480 * configure: Regenerated.
24482 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24485 * stdio-common/printf_fp.c: Include <stdbool.h> and
24487 (___printf_fp): Determine rounding using get_rounding_mode and
24489 * stdio-common/tst-printf-round.c: New file.
24490 * stdio-common/Makefile (tests): Add tst-printf-round.
24491 (link-libm): New variable.
24492 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24494 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24497 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24498 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24500 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24503 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24505 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24506 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24507 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24510 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24513 * include/rounding-mode.h: New file.
24514 * sysdeps/generic/get-rounding-mode.h: Likewise.
24515 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24516 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24517 (MAX_VALUE): New macro.
24518 (MIN_VALUE): Likewise.
24519 (overflow_value): New function.
24520 (underflow_value): Likewise.
24521 (round_and_return): Use overflow_value and underflow_value to
24522 determine return values in overflow and underflow cases. Use
24523 round_away to determine rounding depending on rounding mode.
24524 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24525 determine return values in overflow and underflow cases.
24526 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24527 (struct test_results): New structure.
24528 (struct test): Use struct test_results to store expected results
24529 for all rounding modes.
24530 (TEST): Include expected results for all rounding modes.
24531 (test_in_one_mode): New function.
24532 (do_test): Use test_in_one_mode to compute and check results.
24533 Check results for all rounding modes.
24534 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24537 2012-12-09 Allan McRae <allan@archlinux.org>
24539 * sysdeps/i386/fpu/libm-test-ulps: Update
24541 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24543 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24544 (_G_int32_t): Likewise.
24545 (_G_uint16_t): Likewise.
24546 (_G_uint32_t): Likewise.
24547 (_G_HAVE_BOOL): Likewise.
24548 (_G_HAVE_ATEXIT): Likewise.
24549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24550 (_G_HAVE_IO_FILE_OPEN): Likewise.
24551 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24552 (_G_int32_t): Likewise.
24553 (_G_uint16_t): Likewise.
24554 (_G_uint32_t): Likewise.
24555 (_G_HAVE_BOOL): Likewise.
24556 (_G_HAVE_ATEXIT): Likewise.
24557 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24558 (_G_HAVE_IO_FILE_OPEN): Likewise.
24559 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24560 (_G_int32_t): Likewise.
24561 (_G_uint16_t): Likewise.
24562 (_G_uint32_t): Likewise.
24563 (_G_HAVE_BOOL): Likewise.
24564 (_G_HAVE_ATEXIT): Likewise.
24565 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24566 (_G_HAVE_IO_FILE_OPEN): Likewise.
24568 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24570 * csu/libc-tls.c: Update copyright years.
24572 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24574 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24575 [!_G_USING_THUNKS]: Remove conditional code.
24576 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24577 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24579 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24580 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24581 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24582 (_G_VTABLE_LABEL_PREFIX): Likewise.
24583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24584 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24585 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24586 (_G_VTABLE_LABEL_PREFIX): Likewise.
24587 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24588 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24590 (_G_VTABLE_LABEL_PREFIX): Likewise.
24591 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24593 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24595 * libio/Makefile: Include ../Makeconfig before tests.
24596 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24597 only if $(build-shared) is yes.
24599 * iconv/gconv_db.c: Update copyright years.
24601 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24603 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24604 unwind info if defined PIC. Fix special cases description.
24605 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24607 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24609 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24611 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24613 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24615 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24618 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24619 (LDLIBS-tst-chk4): This.
24620 (LDFLAGS-tst-chk5): Renamed to ...
24621 (LDLIBS-tst-chk5): This.
24622 (LDFLAGS-tst-chk6): Renamed to ...
24623 (LDLIBS-tst-chk6): This.
24624 (LDFLAGS-tst-lfschk4): Renamed to ...
24625 (LDLIBS-tst-lfschk4): This.
24626 (LDFLAGS-tst-lfschk5): Renamed to ...
24627 (LDLIBS-tst-lfschk5): This.
24628 (LDFLAGS-tst-lfschk6): Renamed to ...
24629 (LDLIBS-tst-lfschk6): This.
24631 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24632 on $(common-objpfx)soversions.mk.
24634 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24637 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24640 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24642 * malloc/arena.c (arena_get_retry): New function that gets
24643 another arena for the caller to try its request on.
24644 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24645 current arena cannot fulfill the request.
24646 (__libc_memalign): Likewise.
24647 (__libc_memalign): Likewise.
24648 (__libc_pvalloc): Likewise.
24649 (__libc_calloc): Likewise.
24651 2012-09-05 John Tobey <john.tobey@gmail.com>
24654 * manual/arith.texi (Operations on Complex): Fix description
24655 of carg branch cut.
24657 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24660 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24664 * manual/memory.texi (Memory): Make order of menu items match
24667 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24669 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24670 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24671 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24673 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24675 * csu/libc-tls.c (static_dtv): Renamed to ...
24676 (_dl_static_dtv): This. Make it global.
24677 (_dl_initial_dtv): Removed.
24678 (__libc_setup_tls): Updated.
24679 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24680 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24683 2012-09-06 Petr Machata <pmachata@redhat.com>
24685 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24686 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24687 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24688 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24690 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24693 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24694 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24700 * Makeconfig (link-static-before-libc): Replace $(+prector)
24702 (link-static-after-libc): Replace $(+postctor) with
24704 (link-bounded): Replace $(+prector)/$(+postctor) with
24705 $(+prectorT)/$(+postctorT).
24706 (+prectorT): New macro.
24707 (+postctorT): Likewise.
24709 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24711 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24712 (round_str): Handle values above the maximum for IBM long double
24714 * stdlib/tst-strtod-round.c (tests): Regenerated.
24716 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24718 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24720 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24721 zarch_nohighgprs around the zarch optimized routines.
24722 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24723 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24727 2012-09-05 David S. Miller <davem@davemloft.net>
24729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24731 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24732 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24733 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24737 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24739 * malloc/arena.c: Fold copyright years.
24740 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24742 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24744 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24746 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24748 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24750 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24752 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24753 change internal state upon failure.
24755 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24757 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24758 * malloc/memusage.c (mmap): Likewise.
24759 (mmap64, mremap): Likewise. Adjust name in comment.
24761 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24763 * libio/fileops.c: Fix typos in comments.
24764 * libio/oldfileops.c: Likewise.
24765 * libio/wfileops.c: Likewise.
24767 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24770 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24771 (tst-malloc-usable-ENV): Set environment for test case.
24772 * malloc/hooks.c (malloc_check_get_size): New function to get
24774 * malloc/malloc.c (musable): Use malloc_check_get_size.
24775 * malloc/tst-malloc-usable.c: New test case.
24777 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24779 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24781 2012-09-05 Allan McRae <allan@archlinux.org>
24784 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24785 determine header location.
24786 * configure: Regenerated.
24788 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24790 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24792 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24793 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24795 (test): Regenerate.
24797 2012-09-04 David S. Miller <davem@davemloft.net>
24799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24803 2012-09-04 Florian Weimer <fweimer@redhat.com>
24805 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24808 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24810 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24813 * libio/iogetdelim.c: Include <limits.h>.
24814 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24815 + len + 1 would overflow.
24817 2012-09-03 Andreas Jaeger <aj@suse.de>
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24820 * sysdeps/i386/fpu/libm-test-ulps: Update.
24822 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24824 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24825 Add s_sinf-sse2, s_conf-sse2.
24827 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24828 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24830 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24832 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24833 for using routine as __sinf_ia32.
24834 Use macro for function declaration and weak_alias.
24835 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24836 for using routine as __cosf_ia32.
24837 Use macro for function declaration and weak_alias.
24839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24840 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24842 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24843 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24846 * math/libm-test.inc (cos_test): Add more test cases.
24847 (sin_test): Likewise.
24848 (sincos_test): Likewise.
24850 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24853 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24857 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24860 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24861 first element of the GOT.
24862 (elf_machine_load_address): Return the difference between
24863 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24865 2012-09-01 Allan McRae <allan@archlinux.org>
24868 * configure.in (AWK): Require gawk version 3.0 or later.
24869 * configure: Regenerated.
24871 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24873 * sysdeps/unix/sysv/linux/kernel-features.h
24874 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24876 [__NR_clock_getres]: Make code unconditional.
24877 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24878 (clock_getcpuclockid): Remove code left unreachable by removal of
24880 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24881 code unconditional.
24882 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24883 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24884 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24885 Make code unconditional.
24886 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24888 * sysdeps/unix/sysv/linux/clock_settime.c
24889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24891 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24892 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24894 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24897 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24898 scripts/test-installation.pl.
24900 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24901 and $ld_so_version if it is set.
24903 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24907 failure if reading from procfs failed.
24908 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24910 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24912 * sysdeps/unix/sysv/linux/kernel-features.h
24913 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24914 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24915 Remove conditional code.
24916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24917 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24918 Remove conditional code.
24919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24920 * sysdeps/unix/sysv/linux/i386/fxstat.c
24921 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24923 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24924 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24926 * sysdeps/unix/sysv/linux/i386/lxstat.c
24927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24929 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24930 Remove conditional code.
24931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24932 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24933 Remove conditional code.
24934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24935 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24936 <kernel-features.h>.
24937 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24939 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24940 Remove conditional code.
24941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24942 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24943 Remove conditional.
24945 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24948 * NEWS: Add fixed bug number.
24950 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24953 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24954 underflowing exponent in case of negative sign.
24955 * stdlib/tst-strtod-round-data: Add more tests.
24956 * stdlib/tst-strtod-round.c (tests): Regenerated.
24959 * stdlib/strtod_l.c (NDIG): Remove.
24960 (HEXNDIG): Likewise.
24961 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24962 smallest representable value.
24963 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24964 lie within an exact representation of 1/2 ulp of the result.
24965 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24967 (TENS_P9_IDX): Define unconditionally.
24968 (TENS_P9_SIZE): Likewise.
24969 (TENS_P10_IDX): Likewise.
24970 (TENS_P10_SIZE): Likewise.
24971 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24972 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24974 entries for 10^2^13 and 10^2^14.
24975 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24976 (TENS_P13_IDX): Define.
24977 (TENS_P13_SIZE): Likewise.
24978 (TENS_P14_IDX): Likewise.
24979 (TENS_P14_SIZE): Likewise.
24980 (_fpioconst_pow10): Change array size to
24981 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24983 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24984 1024]: Add entries for 10^2^13 and 10^2^14.
24985 [LAST_POW10 > _LAST_POW10]: Remove #error.
24986 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24987 (_fpioconst_pow10): Change array size to
24988 FPIOCONST_POW10_ARRAY_SIZE.
24989 * stdlib/gen-fpioconst.c: New file.
24990 * stdlib/gen-tst-strtod-round.c: Likewise.
24991 * stdlib/tst-strtod-round-data: Likewise.
24992 * stdlib/tst-strtod-round.c: Likewise.
24993 * stdlib/Makefile (tests): Add tst-strtod-round.
24996 * stdlib/strtod_l.c: Include <stdint.h>.
24997 (NDEBUG): Do not define.
24998 (round_and_return): Change EXPONENT parameter to type intmax_t.
24999 Rearrange calculations to avoid internal overflow possibilities.
25000 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25001 Rearrange calculations to avoid internal overflow possibilities.
25002 Assert that number fits inside MPNSIZE limbs.
25003 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25004 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25005 calculations and add assertions to avoid internal overflow
25006 possibilities. Add casts to avoid signed/unsigned operations.
25007 * stdlib/tst-strtod-overflow.c: New file.
25008 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25010 2012-08-25 Marek Polacek <polacek@redhat.com>
25012 * time/time.h: Fix some typos in comments.
25014 2012-08-23 Roland McGrath <roland@hack.frob.com>
25016 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25017 * posix/tst-rfc3484-2.c: Likewise.
25018 * posix/tst-rfc3484-3.c: Likewise.
25020 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25022 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25023 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25025 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25027 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25028 #include of fxstatat64.c.
25030 2012-08-22 Roland McGrath <roland@hack.frob.com>
25032 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25033 * shadow/getspent_r.c: Likewise.
25034 * shadow/getspnam.c: Likewise.
25035 * shadow/getspnam_r.c: Likewise.
25036 * gshadow/getsgent.c: Likewise.
25037 * gshadow/getsgent_r.c: Likewise.
25038 * gshadow/getsgnam.c: Likewise.
25039 * gshadow/getsgnam_r.c: Likewise.
25040 * inet/getnetbyad.c: Likewise.
25041 * inet/getnetbyad_r.c: Likewise.
25042 * inet/getnetbynm.c: Likewise.
25043 * inet/getnetbynm_r.c: Likewise.
25044 * inet/getnetent.c: Likewise.
25045 * inet/getnetent_r.c: Likewise.
25046 * inet/getproto.c: Likewise.
25047 * inet/getproto_r.c: Likewise.
25048 * inet/getprtent.c: Likewise.
25049 * inet/getprtent_r.c: Likewise.
25050 * inet/getprtname.c: Likewise.
25051 * inet/getprtname_r.c: Likewise.
25052 * inet/getrpcbyname.c: Likewise.
25053 * inet/getrpcbyname_r.c: Likewise.
25054 * inet/getrpcbynumber.c: Likewise.
25055 * inet/getrpcbynumber_r.c: Likewise.
25056 * inet/getrpcent.c: Likewise.
25057 * inet/getrpcent_r.c: Likewise.
25058 * inet/getaliasent.c: Likewise.
25059 * inet/getaliasent_r.c: Likewise.
25060 * inet/getaliasname.c: Likewise.
25061 * inet/getaliasname_r.c: Likewise.
25062 * nscd/getgrgid_r.c: Likewise.
25063 * nscd/getgrnam_r.c: Likewise.
25064 * nscd/gethstbyad_r.c: Likewise.
25065 * nscd/gethstbynm3_r.c: Likewise.
25066 * nscd/getpwnam_r.c: Likewise.
25067 * nscd/getpwuid_r.c: Likewise.
25068 * nscd/getsrvbynm_r.c: Likewise.
25069 * nscd/getsrvbypt_r.c: Likewise.
25070 * nscd/gai.c: Likewise.
25072 * configure.in (build_nscd): New substituted variable, set
25073 by --disable-build-nscd and defaults to $use_nscd.
25074 * configure: Regenerated.
25075 * config.make.in (build-nscd): New substituted variable.
25076 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25077 Change conditional to require [$(build-nscd) = yes] as well.
25078 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25081 * configure.in (use_nscd): New substituted variable, set by
25082 --disable-nscd. If enabled, define USE_NSCD.
25083 * configure: Regenerated.
25084 * config.h.in: Add USE_NSCD.
25085 * config.make.in (use-nscd): New substituted variable.
25086 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25087 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25088 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25089 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25090 (CFLAGS-getgrnam_r.c): Likewise.
25091 (CFLAGS-initgroups.c): Likewise.
25092 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25093 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25095 * inet/getnetgrent_r.c
25096 (nscd_setnetgrent): New function, broken out of ...
25097 (setnetgrent): ... here. Call it.
25098 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25099 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25100 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25101 * nscd/Makefile (routines, aux): Move definitions after include of
25102 Makeconfig. Conditionalize on [$(use-nscd) != no].
25103 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25104 Conditionalize on [USE_NSCD].
25105 (is_nscd, nscd_init_cb): Likewise.
25106 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25107 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25108 * nss/nss_db/db-init.c: Likewise.
25109 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25111 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25112 (make_request): Use it.
25113 (cache_valid_p): New function.
25114 (__check_pf): Use it.
25115 * NEWS: Add item for --disable-nscd.
25117 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25119 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25120 to support sed >= 4.2.1-20-ga9bf076.
25121 * configure: Regenerated.
25123 2012-08-22 Roland McGrath <roland@hack.frob.com>
25125 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25126 Conditionalize whole body on [IREL].
25128 2012-08-22 Jeff Law <law@redhat.com>
25131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25132 if the family is PF_UNSPEC.
25134 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25136 * Makerules (lib-version): Rename from V.
25137 (install-lib-nosubdir): Change V to lib-version.
25139 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25142 * powerpc32/power6/wcschr.c: New file.
25143 * powerpc32/power6/wcscpy.c: New file.
25144 * powerpc32/power6/wcsrchr.c: New file.
25145 * powerpc64/power6/wcschr.c: New file.
25146 * powerpc64/power6/wcscpy.c: New file.
25147 * powerpc64/power6/wcsrchr.c: New file.
25149 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25151 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25152 (two_way_short_needle): Use it.
25153 * string/strstr.c (AVAILABLE1_USES_J): Define.
25154 * string/strcasestr.c: Likewise.
25156 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25158 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25161 * NEWS: Add an entry.
25162 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25163 define their defaults.
25164 (two_way_short_needle): Detect end-of-string on-the-fly.
25165 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25166 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25167 * string/bug-strcasestr1.c: New test.
25168 * string/Makefile: Run it.
25170 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25173 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25174 the first character.
25176 2012-08-21 Roland McGrath <roland@hack.frob.com>
25178 * csu/elf-init.c (__libc_csu_irel): Function removed.
25179 * csu/libc-start.c (apply_irel): New function.
25180 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25182 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25184 * sysdeps/unix/sysv/linux/kernel-features.h
25185 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25187 <kernel-features.h>.
25188 [__NR_fadvise64_64]: Make code unconditional.
25189 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25190 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25191 !__NR_fadvise64_64)]: Likewise.
25192 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25193 !__NR_fadvise64_64))]: Likewise.
25194 [__NR_fadvise64]: Make code unconditional.
25195 [!__NR_fadvise64]: Remove conditional code.
25196 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25197 <kernel-features.h>.
25198 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25200 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25203 not include <kernel-features.h>.
25204 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25206 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25208 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25209 include <kernel-features.h>.
25210 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25212 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25215 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25218 slight instruction rearrangements per scrollpipe analysis.
25219 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25221 2012-08-20 Roland McGrath <roland@hack.frob.com>
25223 * manual/syslog.texi (syslog; vsyslog, closelog):
25224 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25225 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25227 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25228 DSOCAPS to match condition on defining it.
25230 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25232 * sysdeps/unix/sysv/linux/kernel-features.h
25233 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25235 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25236 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25238 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25239 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25244 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25245 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25247 * sysdeps/unix/sysv/linux/kernel-features.h
25248 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25249 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25251 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25252 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25253 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25254 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25255 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25256 Make code unconditional.
25257 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25258 (__mmap64) [!__NR_mmap2]: Likewise.
25259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25262 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25263 [__NR_mmap2]: Make code unconditional.
25264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25265 (__mmap64) [!__NR_mmap2]: Likewise.
25267 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25269 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25271 2012-08-18 Andreas Jaeger <aj@suse.de>
25273 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25275 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25277 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25278 * include/unistd.h (__have_sock_cloexec): Likewise.
25279 (__have_pipe2): Likewise.
25280 (__have_dup3): Likewise.
25282 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25285 * include/unistd.h (__have_pipe2): Change define into an extern int.
25286 (__have_dup3): Likewise.
25287 * socket/have_sock_cloexec.c: Include fcntl.h.
25288 (__have_pipe2): New variable.
25289 (__have_dup3): Likewise.
25291 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25293 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25295 2012-08-17 Marek Polacek <polacek@redhat.com>
25297 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25298 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25300 2012-08-17 Roland McGrath <roland@hack.frob.com>
25302 * configure.in: Add AC_SUBST for sysheaders.
25303 * configure: Regenerated.
25304 * config.make.in (sysheaders): New substituted variable.
25306 * sysdeps/unix/mkfifo.c: Moved ...
25307 * sysdeps/posix/mkfifo.c: ... here.
25308 * sysdeps/unix/mkfifoat.c: Moved ...
25309 * sysdeps/posix/mkfifoat.c: ... here.
25311 * sysdeps/unix/utime.c: Moved ...
25312 * sysdeps/posix/utime.c: ... here.
25314 * sysdeps/unix/time.c: Moved ...
25315 * sysdeps/posix/time.c: ... here.
25316 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25317 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25319 * sysdeps/unix/nice.c: Moved ...
25320 * sysdeps/posix/nice.c: ... here.
25322 * sysdeps/unix/alarm.c: Moved ...
25323 * sysdeps/posix/alarm.c: ... here.
25325 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25327 2012-08-17 Jeff Law <law@redhat.com>
25329 * intl/Makefile (codeset_mo): New variable.
25330 ($(codeset_mo)): New target.
25331 (tst-codeset.out): Depend on that. Remove explicit rule.
25332 (tst-gettext3.out, tst-gettext5.out): Likewise.
25333 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25334 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25335 * intl/tst-codeset.sh: Remove.
25336 * intl/tst-gettext3.sh: Likewise.
25337 * intl/tst-gettext5.sh: Likewise.
25339 2012-08-17 Roland McGrath <roland@hack.frob.com>
25341 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25342 * sysdeps/unix/syscalls.list: ... here.
25344 * sysdeps/posix/getaddrinfo.c
25345 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25346 (gaiconf_init, gaiconf_reload): Use them.
25347 [!_STATBUF_ST_NSEC]
25348 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25349 Define using time_t rather than struct timespec.
25351 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25352 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25354 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25356 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25357 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25360 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25361 __libc_cleanup_push argument.
25363 * bits/param.h: New file.
25364 * misc/sys/param.h: New file.
25365 * include/sys/param.h: New file.
25366 * misc/Makefile (headers): Add bits/param.h.
25367 * sysdeps/generic/sys/param.h: File removed.
25368 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25369 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25370 * sysdeps/mach/hurd/bits/param.h: New file.
25371 * sysdeps/mach/hurd/sys/param.h: File removed.
25373 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25376 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25378 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25379 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25382 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25383 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25384 rather than -D_IO_MTSAFE_IO conditionally.
25385 * stdio-common/Makefile (CPPFLAGS): Likewise.
25386 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25387 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25388 Use $(libio-mtsafe).
25389 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25390 of -D_IO_MTSAFE_IO.
25391 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25392 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25393 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25394 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25395 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25396 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25397 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25398 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25399 (CFLAGS-fread_u_chk.c): Likewise.
25400 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25401 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25402 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25403 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25404 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25405 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25406 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25407 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25408 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25410 * libio/Makefile: Test [$(libc-reentrant) = yes]
25411 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25414 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25415 * sysdeps/pthread/configure: File removed.
25416 * sysdeps/pthread/Makeconfig: New file.
25417 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25418 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25420 2012-08-16 Gary Benson <gbenson@redhat.com>
25422 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25423 unmapping the first object in a namespace.
25425 2012-08-16 Roland McGrath <roland@hack.frob.com>
25427 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25428 (__internal_setnetgrent): ... this. Add internal_function to
25429 definition. Add libc_hidden_def.
25430 (setnetgrent): Update caller.
25431 (internal_endnetgrent): Renamed to ...
25432 (__internal_endnetgrent): ... this. Add internal_function to
25433 definition. Add libc_hidden_def.
25434 (endnetgrent): Update caller.
25435 (internal_getnetgrent_r): Renamed to ...
25436 (__internal_getnetgrent_r): ... this. Add internal_function to
25437 definition. Add libc_hidden_def.
25438 (__getnetgrent_r): Update caller.
25439 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25441 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25443 * stdlib/longlong.h: Update from GCC.
25445 2012-08-16 Roland McGrath <roland@hack.frob.com>
25447 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25448 on _QL, which is set by umul_ppmm but never used.
25449 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25450 variables, which are set by GMP macros but never used.
25451 * stdio-common/_itowa.c (_itowa): Likewise.
25452 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25453 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25455 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25457 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25458 struct La_sh_regs is not constant.
25459 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25460 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25461 and struct La_sparc64_regs are not constant.
25463 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25465 * sysdeps/unix/sysv/linux/kernel-features.h
25466 (__ASSUME_POSIX_TIMERS): Remove.
25467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25469 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25470 Make code unconditional.
25471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25472 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25473 Make code unconditional.
25474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25475 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25476 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25478 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25479 Make code unconditional.
25480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25481 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25482 (__libc_missing_posix_timers): Remove.
25484 2012-08-15 Roland McGrath <roland@hack.frob.com>
25486 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25487 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25489 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25491 * elf/dl-sym.c: Include <stdlib.h>.
25493 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25494 constants, which avoids warnings in 32-bit builds.
25496 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25497 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25499 * misc/lseek.c: File moved to ...
25500 * io/lseek.c: ... here.
25502 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25504 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25505 shifting LEN more than 31 bits at once.
25507 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25510 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25511 segmentation fault for a case of two empty input strings.
25512 * string/test-strncasecmp.c (check1): Renamed to...
25513 (bz12205): ...this.
25514 (bz14195): Add new testcase for two empty input strings and N > 0.
25515 (test_main): Call new testcase, adapt for renamed function.
25517 2012-08-15 Andreas Jaeger <aj@suse.de>
25520 * crypt/md5test2.c: New test, based on test supplied by Serge
25521 Belyshev <belyshev@depni.sinp.msu.ru>.
25522 * crypt/Makefile (xtests): Add md5test-giant..
25523 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25525 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25528 * crypt/md5.c (md5_process_block): Don't assume the buffer
25529 length is less than 2**32.
25530 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25531 length is less than 2**64.
25533 2012-08-15 Roland McGrath <roland@hack.frob.com>
25535 * string/str-two-way.h: Include <sys/param.h>.
25536 (MAX): Macro removed.
25538 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25539 Move #define and #undef of memmove to just before and after
25540 including <string.h>.
25542 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25543 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25544 and after including <string.h>. Move declarations of
25545 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25546 to before #include "string/memmove.c".
25548 * include/dirent.h: Declare __getdirentries.
25550 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25551 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25553 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25555 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25556 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25557 * sysdeps/i386/configure: Regenerated.
25558 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25559 STABS_CURRENT_FILE, and STABS_FUN.
25560 (END): Remove call to STABS_FUN_END.
25561 (STABS_CURRENT_FILE1): Delete.
25562 (STABS_CURRENT_FILE): Likewise.
25563 (STABS_FUN): Likewise.
25564 (STABS_FUN_END): Likewise.
25565 (STABS_FUN2): Likewise.
25566 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25567 * sysdeps/x86_64/configure: Regenerated.
25569 2012-08-14 Roland McGrath <roland@hack.frob.com>
25571 * elf/dl-open.c: Include <atomic.h>.
25572 * elf/dl-lookup.c: Likewise.
25574 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25576 * sysdeps/unix/sysv/linux/kernel-features.h
25577 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25578 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25580 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25582 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25583 condition on __ASSUME_CLONE_THREAD_FLAGS.
25585 2012-08-14 Andreas Jaeger <aj@suse.de>
25587 * sysdeps/i386/fpu/libm-test-ulps: Update.
25589 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25591 * include/atomic.h (atomic_exchange_and_add): Split into ...
25592 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25595 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25599 2012-08-13 Jeff Law <law@redhat.com>
25601 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25602 null byte in the output string.
25604 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/unix/sysv/linux/kernel-features.h
25607 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25608 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25609 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25610 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25611 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25612 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25613 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25615 2012-08-09 Jeff Law <law@redhat.com>
25618 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25619 When avoid_arena is set, don't retry in the that arena. Pick the
25620 next one, whatever it might be.
25621 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25622 (arena_lock): Pass in new parameter to arena_get2.
25623 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25625 (__libc_malloc): Unify retrying after main arena failure with
25626 __libc_memalign version.
25627 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25629 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25632 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25633 to __redirect_strstr.
25634 (__strstr_sse42): Use typeof __redirect_strstr.
25635 (__strstr_ia32): Likewise.
25636 (__libc_strstr): New prototype.
25637 (strstr): Renamed to ...
25638 (__libc_strstr): This.
25639 (strstr): New strong alias of __libc_strstr.
25640 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25641 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25644 (__libc_time): New prototype.
25645 (time_ifunc): Replace time with __libc_time.
25646 (time): New strong alias and hidden definition of __libc_time.
25647 (__GI_time): Remove strong alias.
25648 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25649 Include <stddef.h>.
25650 (memmove): Redefined to __redirect_memmove.
25651 (__memmove_sse2): Use typeof __redirect_memmove.
25652 (__memmove_ssse3): Likewise.
25653 (__memmove_ssse3_back): Likewise.
25654 (__libc_memmove): New prototype.
25655 (memmove): Renamed to ...
25656 (__libc_memmove): This.
25657 (memmove): New strong alias of __libc_memmove.
25659 2012-08-08 Mark Salter <msalter@redhat.com>
25662 (R_MN10300_TLS_GD): Define.
25663 (R_MN10300_TLS_LD): Likewise.
25664 (R_MN10300_TLS_LDO): Likewise.
25665 (R_MN10300_TLS_GOTIE): Likewise.
25666 (R_MN10300_TLS_IE): Likewise.
25667 (R_MN10300_TLS_LE): Likewise.
25668 (R_MN10300_TLS_DTPMOD): Likewise.
25669 (R_MN10300_TLS_DTPOFF): Likewise.
25670 (R_MN10300_TLS_TPOFF): Likewise.
25671 (R_MN10300_SYM_DIFF): Likewise.
25672 (R_MN10300_ALIGN): Likewise.
25673 (R_MN10300_NUM): Update.
25675 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25680 2012-08-08 Roland McGrath <roland@hack.frob.com>
25682 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25684 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25685 sysdeps/unix -> sysdeps/posix move.
25686 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25688 2012-08-07 Allan McRae <allan@archlinux.org>
25691 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25692 (SUNOS_CPP): Likewise.
25693 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25695 (open_input): Call CPP using execvp.
25697 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/unix/sysv/linux/kernel-features.h
25700 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25701 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25702 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25703 (__ASSUME_WAITID_SYSCALL): Likewise.
25704 * sysdeps/unix/sysv/linux/dl-execstack.c
25705 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25706 code unconditional.
25707 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25709 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25710 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25711 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25713 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25715 [__ASSUME_WAITID_SYSCALL]: Likewise.
25716 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25718 2012-08-07 Roland McGrath <roland@hack.frob.com>
25720 * sysdeps/unix/closedir.c: Renamed to ...
25721 * sysdeps/posix/closedir.c: ... here.
25722 * sysdeps/unix/dirfd.c: Renamed to ...
25723 * sysdeps/posix/dirfd.c: ... here.
25724 * sysdeps/unix/dirstream.h: Renamed to ...
25725 * sysdeps/posix/dirstream.h: ... here.
25726 * sysdeps/unix/fdopendir.c: Renamed to ...
25727 * sysdeps/posix/fdopendir.c: ... here.
25728 * sysdeps/unix/opendir.c: Renamed to ...
25729 * sysdeps/posix/opendir.c: ... here.
25730 * sysdeps/unix/readdir.c: Renamed to ...
25731 * sysdeps/posix/readdir.c: ... here.
25732 * sysdeps/unix/readdir_r.c: Renamed to ...
25733 * sysdeps/posix/readdir_r.c: ... here.
25734 * sysdeps/unix/rewinddir.c: Renamed to ...
25735 * sysdeps/posix/rewinddir.c: ... here.
25736 * sysdeps/unix/seekdir.c: Renamed to ...
25737 * sysdeps/posix/seekdir.c: ... here.
25738 * sysdeps/unix/telldir.c: Renamed to ...
25739 * sysdeps/posix/telldir.c: ... here.
25740 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25741 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25742 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25743 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25745 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25746 * bits/fcntl.h: ... here.
25748 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25750 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25751 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25752 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25753 (struct flock): Move l_start, l_len to the beginning.
25754 Use __pid_t for l_pid.
25755 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25756 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25757 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25758 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25759 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25760 [__USE_LARGEFILE64] (struct flock64): New type.
25761 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25763 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25764 * bits/dirent.h: ... here.
25766 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25767 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25769 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25772 Change from 2.6.0 to 2.6.16.
25773 * sysdeps/unix/sysv/linux/configure: Regenerated.
25774 * sysdeps/unix/sysv/linux/kernel-features.h
25775 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25776 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25778 (__ASSUME_UTIMES): Likewise.
25779 (__ASSUME_CLONE_STOPPED): Remove.
25780 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25781 architectures, not kernel version.
25782 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25783 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25784 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25785 (__ASSUME_WAITID_SYSCALL): Likewise.
25786 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25787 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25788 * README: State 2.6.16 as minimum Linux kernel version. Do not
25789 refer to older versions.
25791 2012-08-06 Roland McGrath <roland@hack.frob.com>
25793 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25794 Define alphasort64 as an alias.
25795 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25796 Define versionsort64 as an alias.
25797 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25798 Define scandir64 as an alias.
25799 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25800 Define scandirat64 as an alias.
25801 * dirent/alphasort64.c (alphasort64):
25802 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25803 * dirent/versionsort64.c: Likewise.
25804 * dirent/scandir64.c: Likewise.
25805 * dirent/scandirat64.c: Likewise.
25806 * sysdeps/wordsize-64/alphasort.c: File removed.
25807 * sysdeps/wordsize-64/alphasort64.c: File removed.
25808 * sysdeps/wordsize-64/scandir.c: File removed.
25809 * sysdeps/wordsize-64/scandir64.c: File removed.
25810 * sysdeps/wordsize-64/scandirat.c: File removed.
25811 * sysdeps/wordsize-64/scandirat64.c: File removed.
25812 * sysdeps/wordsize-64/versionsort.c: File removed.
25813 * sysdeps/wordsize-64/versionsort64.c: File removed.
25814 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25816 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25819 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25823 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25825 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25827 [defined __arch64__ || defined __sparcv9]
25828 (__INO_T_MATCHES_INO64_T): New macro.
25829 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25830 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25831 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25832 * sysdeps/unix/sysv/linux/bits/dirent.h
25833 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25834 (_DIRENT_MATCHES_DIRENT64): New macro.
25836 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25837 Define lockf64 as an alias.
25838 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25839 Define fseeko64 as an alias.
25840 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25841 Define ftello64 as an alias.
25842 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25843 Define _IO_fgetpos64 and fgetpos64 as aliases.
25844 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25845 Define _IO_fsetpos64 and fsetpos64 as aliases.
25846 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25847 Conditionalize body on this.
25848 * libio/fseeko64.c: Likewise.
25849 * libio/ftello64.c: Likewise.
25850 * libio/iofgetpos64.c: Likewise.
25851 * libio/iofsetpos64.c: Likewise.
25852 * sysdeps/wordsize-64/lockf.c: File removed.
25853 * sysdeps/wordsize-64/lockf64.c: File removed.
25854 * sysdeps/wordsize-64/fseeko.c: File removed.
25855 * sysdeps/wordsize-64/fseeko64.c: File removed.
25856 * sysdeps/wordsize-64/ftello.c: File removed.
25857 * sysdeps/wordsize-64/ftello64.c: File removed.
25858 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25859 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25860 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25861 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25865 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25867 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25868 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25869 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25870 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25871 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25873 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25875 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25877 [defined __arch64__ || defined __sparcv9]
25878 (__OFF_T_MATCHES_OFF64_T): New macro.
25879 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25880 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25882 (__OFF_T_MATCHES_OFF64_T): New macro.
25884 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25886 * stdlib/secure-getenv.c (__secure_getenv): Replace
25887 GLIBC_2_16 with GLIBC_2_17.
25889 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25894 2012-08-03 David S. Miller <davem@davemloft.net>
25896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25898 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25902 (__ASSUME_CORRECT_SI_PID): Likewise.
25903 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25904 (__ASSUME_TMPFS_NAME): Likewise.
25905 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25906 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25907 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25908 (HAVE_AUX_SECURE): Make definition unconditional.
25909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25910 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25912 2012-08-03 Roland McGrath <roland@hack.frob.com>
25914 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25915 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25916 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25918 __eloop_threshold instead of SYMLOOP_MAX.
25920 * sysdeps/generic/eloop-threshold.h: New file.
25921 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25923 * elf/chroot_canon.c (chroot_canon): Likewise.
25925 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25929 Change to 2.6.0 everywhere.
25930 * sysdeps/unix/sysv/linux/configure: Regenerated.
25931 * sysdeps/unix/sysv/linux/kernel-features.h
25932 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25933 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25935 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25936 (__ASSUME_FUTEX_REQUEUE): Remove.
25937 (__ASSUME_STATFS64): Define unconditionally.
25938 (__ASSUME_AT_SECURE): Likewise.
25939 (__ASSUME_CORRECT_SI_PID): Likewise.
25940 (__ASSUME_TGKILL): Define without depending on kernel version for
25942 (__ASSUME_UTIMES): Likewise.
25943 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25945 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25946 (__ASSUME_TMPFS_NAME): Likewise.
25947 * README: Update reference to Linux kernel versions.
25949 2012-08-02 Marek Polacek <polacek@redhat.com>
25952 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25953 libc_cv_asm_type_prefix with %.
25954 * configure: Regenerated.
25955 * include/libc-symbols.h: Remove comment about
25956 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25957 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25958 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25959 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25960 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25961 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25962 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25963 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25964 * elf/tst-unique2mod1.c: Likewise.
25965 * elf/tst-unique1mod2.c: Likewise.
25966 * elf/tst-unique1mod1.c: Likewise.
25967 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25968 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25969 Replace ASM_TYPE_DIRECTIVE with .type.
25970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25971 * sysdeps/i386/sysdep.h: Likewise.
25972 * sysdeps/x86_64/sysdep.h: Likewise.
25973 * sysdeps/sh/sysdep.h: Likewise.
25974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25975 Do not define ASM_TYPE_DIRECTIVE.
25976 * sysdeps/powerpc/sysdep.h: Likewise.
25977 * sysdeps/powerpc/powerpc32/sysdep.h:
25978 Replace ASM_TYPE_DIRECTIVE with .type.
25979 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25981 * sysdeps/i386/fpu/e_powf.S: Likewise.
25982 * sysdeps/i386/fpu/e_expl.S: Likewise.
25983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25985 * sysdeps/i386/fpu/e_pow.S: Likewise.
25986 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25988 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25989 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25990 * sysdeps/i386/fpu/e_log2.S: Likewise.
25991 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25992 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25993 * sysdeps/i386/fpu/e_powl.S: Likewise.
25994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25996 * sysdeps/i386/fpu/e_logl.S: Likewise.
25997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25998 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25999 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26002 * sysdeps/i386/fpu/e_log.S: Likewise.
26003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26004 * sysdeps/i386/fpu/e_logf.S: Likewise.
26005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26006 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26007 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26008 * sysdeps/i386/fpu/e_log10.S: Likewise.
26009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26014 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26015 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26016 * sysdeps/i386/i686/strtok.S: Likewise.
26017 * sysdeps/i386/i386-mcount.S: Likewise.
26018 * sysdeps/i386/strtok.S: Likewise.
26019 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26022 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26023 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26024 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26025 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26026 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26027 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26028 * sysdeps/x86_64/_mcount.S: Likewise.
26029 * sysdeps/x86_64/strtok.S: Likewise.
26030 * sysdeps/sh/_mcount.S: Likewise.
26032 2012-08-01 Roland McGrath <roland@hack.frob.com>
26034 * libio/iofopen.c: Include <fcntl.h>.
26035 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26036 (_IO_fopen64, fopen64): Define as aliases.
26037 * libio/iofopen64.c: Include <fcntl.h>.
26038 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26039 Conditionalize body on this.
26040 * sysdeps/wordsize-64/iofopen.c: File removed.
26041 * sysdeps/wordsize-64/iofopen64.c: File removed.
26043 2012-08-01 Marek Polacek <polacek@redhat.com>
26045 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26046 Use dlfcn directly instead of a variable.
26047 (binfmt-subdir): Do not define.
26050 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26053 Remove all definitions.
26054 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26055 <kernel-features.h>.
26056 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26057 (miss_F_GETOWN_EX): Remove all definitions.
26058 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26060 [!__ASSUME_FCNTL64]: Remove conditional code.
26061 [__ASSUME_FCNTL64]: Make code unconditional.
26062 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26063 <kernel-features.h>.
26064 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26065 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26066 (lockf64) [__NR_fcntl64]: Make code unconditional.
26067 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26069 * sysdeps/unix/sysv/linux/kernel-features.h
26070 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26071 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26072 Make code unconditional.
26073 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26074 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26076 [__NR_vfork]: Make code unconditional.
26077 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26078 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26080 [__NR_vfork]: Make code unconditional.
26081 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26082 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26084 2012-08-01 Roland McGrath <roland@hack.frob.com>
26086 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26087 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26089 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26090 Define mkstemp64 as an alias.
26091 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26092 Define mkstemps64 as an alias.
26093 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26094 Define mkostemp64 as an alias.
26095 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26096 Define mkostemps64 as an alias.
26097 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26098 Conditionalize body on this.
26099 * misc/mkostemp64.c: Likewise.
26100 * misc/mkostemps64.c: Likewise.
26101 * misc/mkstemps64.c: Likewise.
26102 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26103 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26104 * sysdeps/wordsize-64/mkostemp.c: File removed.
26105 * sysdeps/wordsize-64/mkstemp.c: File removed.
26106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26107 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26112 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26113 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26114 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26115 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26117 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26118 compat_symbol macros from <shlib-compat.h> rather than the underlying
26119 default_symbol_version and symbol_version macros, so that DEFAULT
26120 lines in shlib-versions are respected.
26121 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26123 2012-08-01 Florian Weimer <fweimer@redhat.com>
26125 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26126 Declare with warn_unused_result.
26127 (setgid, setregid, setegid, setresgid): Likewise.
26128 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26130 * WUR-REPORT: Remove set*id functions.
26132 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26134 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26136 2012-07-31 Roland McGrath <roland@hack.frob.com>
26139 * include/sys/socket.h (__libc_accept, __libc_accept4):
26140 Add attribute_hidden.
26141 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26143 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26145 * inet/getnetgrent_r.c (setup): Likewise.
26147 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26149 2012-07-31 David S. Miller <davem@davemloft.net>
26151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26153 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26156 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26157 value between 1.0 and 2.0 and smaller part has absolute value less
26159 * math/s_clog10.c (__clog10): Likewise.
26160 * math/s_clog10f.c (__clog10f): Likewise.
26161 * math/s_clog10l.c (__clog10l): Likewise.
26162 * math/s_clogf.c (__clogf): Likewise.
26163 * math/s_clogl.c (__clogl): Likewise.
26164 * math/libm-test.inc (clog_test): Add more tests.
26165 (clog10_test): Likewise.
26166 * sysdeps/i386/fpu/libm-test-ulps: Update.
26167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26169 2012-07-31 Florian Weimer <fweimer@redhat.com>
26171 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26172 Exit with zero in case no suitable GID is found, and write a
26173 message to standard error.
26175 2012-07-30 Roland McGrath <roland@hack.frob.com>
26177 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26179 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26180 (MAXPATHLEN): Removed.
26181 (NOGROUP, NODEV): New macros.
26182 (setbit, clrbit, isset, isclr): New macros.
26183 (howmany, roundup, powerof2): New macros.
26184 (DEV_BSIZE): New macro.
26186 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26187 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26189 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26190 definition on [!__NO_LONG_DOUBLE_MATH].
26192 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26193 PTR_MANGLE and PTR_DEMANGLE.
26195 * socket/accept4.c (accept4): Rename to __libc_accept4.
26196 Define accept4 as a weak alias.
26198 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26199 on [_DIRENT_HAVE_D_TYPE].
26200 * io/ftw.c (ftw_dir): Likewise.
26202 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26204 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26206 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26207 Use the BSD numbers rather than the arbitrary ones we had.
26208 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26209 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26210 (SIGXCPU, SIGXFSZ): New macros.
26213 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26214 initializer on [_LIBC_REENTRANT].
26216 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26217 definitions inside [_POSIX_MAPPED_FILES].
26219 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26221 * dirent/opendir.c: Include <fcntl.h>.
26223 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26224 (__libc_getspecific): Likewise.
26225 (__libc_key_create): Likewise.
26227 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26228 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26229 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26230 (tmpfile64): Define as alias.
26231 * sysdeps/wordsize-64/tmpfile.c: File removed.
26232 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26236 * stdio-common/vfscanf.c: Include <stdbool.h>.
26237 * nss/makedb.c: Likewise.
26238 * stdio-common/_i18n_number.h: Likewise.
26239 * argp/argp-help.c: Likewise.
26240 * posix/wordexp.c: Likewise.
26241 * sysdeps/posix/spawni.c: Likewise.
26242 * nss/nss_files/files-initgroups.c: Likewise.
26243 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26244 * nss/nss_files/files-initgroups.c: Likewise.
26245 * nss/nss_db/db-netgrp.c: Likewise.
26246 * nss/nss_db/db-initgroups.c: Likewise.
26247 * io/fchmodat.c: Include <sys/stat.h>.
26249 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26250 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26252 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26255 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26256 Add multiple inclusion protection.
26258 2012-07-27 David S. Miller <davem@davemloft.net>
26260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26262 2012-07-27 Gary Benson <gbenson@redhat.com>
26265 * elf/rtld.c: Include <stap-probe.h>.
26266 (dl_main): Added static probes "init_start" and "init_complete".
26267 * elf/dl-load.c: Include <stap-probe.h>.
26268 (lose): Take new parameter "nsid".
26269 Added static probe "map_failed".
26270 (_dl_map_object_from_fd): Pass namespace id to lose.
26271 Added static probe "map_start".
26272 (open_verify): Pass namespace id to lose.
26273 * elf/dl-open.c: Include <stap-probe.h>.
26274 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26275 and "reloc_complete".
26276 * elf/dl-close.c: Include <stap-probe.h>.
26277 (_dl_close_worker): Added static probes "unmap_start" and
26279 * elf/rtld-debugger-interface.txt: New file documenting the above.
26281 2012-07-26 Roland McGrath <roland@hack.frob.com>
26283 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26284 rather than a string variable.
26285 * sunrpc/rpc_main.c (h_output): Likewise.
26286 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26288 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26290 * inet/check_native.c: New file.
26292 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26295 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26296 if larger part has absolute value 1.0.
26297 * math/s_clog10.c (__clog10): Likewise.
26298 * math/s_clog10f.c (__clog10f): Likewise.
26299 * math/s_clog10l.c (__clog10l): Likewise.
26300 * math/s_clogf.c (__clogf): Likewise.
26301 * math/s_clogl.c (__clogl): Likewise.
26302 * math/libm-test.inc (clog_test): Add more tests.
26303 (clog10_test): Likewise.
26304 * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26307 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26308 (pltexit): Likewise.
26309 (La_regs): Likewise.
26310 (La_retval): Likewise.
26311 (int_retval): Likewise.
26312 Update #error for removed macros to refer only to definitions in
26314 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26316 (pltexit): Likewise.
26317 (La_regs): Likewise.
26318 (La_retval): Likewise.
26319 (int_retval): Likewise.
26320 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26322 (pltexit): Likewise.
26323 (La_regs): Likewise.
26324 (La_retval): Likewise.
26325 (int_retval): Likewise.
26326 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26328 (pltexit): Likewise.
26329 (La_regs): Likewise.
26330 (La_retval): Likewise.
26331 (int_retval): Likewise.
26332 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26334 (pltexit): Likewise.
26335 (La_regs): Likewise.
26336 (La_retval): Likewise.
26337 (int_retval): Likewise.
26338 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26340 (pltexit): Likewise.
26341 (La_regs): Likewise.
26342 (La_retval): Likewise.
26343 (int_retval): Likewise.
26344 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26346 (pltexit): Likewise.
26347 (La_regs): Likewise.
26348 (La_retval): Likewise.
26349 (int_retval): Likewise.
26350 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26351 macro definitions in tst-audit.h.
26352 * sysdeps/i386/tst-audit.h: New file.
26353 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26354 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26355 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26356 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26357 * sysdeps/sh/tst-audit.h: Likewise.
26358 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26359 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26360 * sysdeps/x86_64/tst-audit.h: Likewise.
26362 2012-07-26 Andreas Jaeger <aj@suse.de>
26364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26367 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26368 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26369 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26371 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26372 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26373 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26375 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26378 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26380 (si_call_addr, si_syscall, si_arch): Define new macro.
26381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26383 (si_call_addr, si_syscall, si_arch): Define new marcro.
26384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26386 (si_call_addr, si_syscall, si_arch): Define new macro.
26387 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26389 (si_call_addr, si_syscall, si_arch): Define new macro.
26391 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26395 Change to 2.4.21 where previously 2.4.1.
26396 * sysdeps/unix/sysv/linux/configure: Regenerated.
26397 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26398 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26399 Linux kernel version.
26400 (__ASSUME_STD_AUXV): Remove.
26401 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26403 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26404 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26405 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26406 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26407 (__ASSUME_NETLINK_SUPPORT): Likewise.
26408 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26409 (__no_netlink_support): Remove conditional definition.
26410 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26412 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26413 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26414 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26415 (if_nameindex_ioctl): Remove.
26416 (if_nameindex_netlink): Do not handle __no_netlink_support.
26417 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26419 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26420 Remove conditional code.
26421 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26423 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26425 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26426 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26427 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26429 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26430 [!__ASSUME_STD_AUXV]: Remove conditional code.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26432 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26433 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26435 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26436 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26438 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26440 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26441 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26443 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26445 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26448 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26451 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26452 code unconditional.
26453 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26455 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26457 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26460 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26462 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26465 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26466 code unconditional.
26467 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26469 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26471 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26474 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26475 code unconditional.
26476 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26478 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26480 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26483 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26485 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26486 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26487 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26488 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26489 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26490 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26491 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26492 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26493 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26494 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26495 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26496 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26497 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26498 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26499 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26500 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26501 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26503 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26505 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26506 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26509 2012-07-25 Florian Weimer <fweimer@redhat.com>
26511 * Versions.def: Add GLIBC_2.17.
26512 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26513 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26514 Introduce __libc_secure_getenv.
26515 * stdlib/Versions (2.17): Add secure_getenv
26516 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26517 * stdlib/secure-getenv.c: Rename __secure_getenv to
26518 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26519 symbol __secure_getenv for GLIBC_2.0.
26520 * stdlib/tst-secure-getenv.c: New.
26521 * stdlib/Makefile (tests): Add testcase.
26522 * manual/startup.texi (Environment Access): Document
26524 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26525 __libc_secure_getenv.
26526 * inet/ruserpass.c (ruserpass): Likewise.
26527 * malloc/mtrace.c (mtrace): Likewise.
26528 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26529 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26530 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26531 * sysdeps/posix/tempname.c: Likewise. Evaluate
26532 HAVE_SECURE_GETENV.
26533 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26534 __secure_getenv to __libc_secure_getenv.
26535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26548 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26550 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26551 (struct La_i86_retval): Likewise.
26552 (struct La_x86_64_regs): Likewise.
26553 (struct La_x86_64_retval): Likewise.
26554 (struct La_x32_regs): Likewise.
26555 (struct La_x32_retval): Likewise.
26556 (struct La_ppc32_regs): Likewise.
26557 (struct La_ppc32_retval): Likewise.
26558 (struct La_ppc64_regs): Likewise.
26559 (struct La_ppc64_retval): Likewise.
26560 (struct La_sh_regs): Likewise.
26561 (struct La_sh_retval): Likewise.
26562 (struct La_s390_32_regs): Likewise.
26563 (struct La_s390_32_retval): Likewise.
26564 (struct La_s390_64_regs): Likewise.
26565 (struct La_s390_64_retval): Likewise.
26566 (struct La_sparc32_regs): Likewise.
26567 (struct La_sparc32_retval): Likewise.
26568 (struct La_sparc64_regs): Likewise.
26569 (struct La_sparc64_retval): Likewise.
26570 (struct audit_ifaces): Remove architecture-specific pltenter and
26572 * sysdeps/i386/ldsodefs.h: New file.
26573 * sysdeps/powerpc/ldsodefs.h: Likewise.
26574 * sysdeps/s390/ldsodefs.h: Likewise.
26575 * sysdeps/sh/ldsodefs.h: Likewise.
26576 * sysdeps/sparc/ldsodefs.h: Likewise.
26577 * sysdeps/x86_64/ldsodefs.h: Likewise.
26579 2012-07-25 Marek Polacek <polacek@redhat.com>
26582 * math/libm-test.inc (yn_test): Add another test.
26583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26584 to ERANGE when the result is +-Inf.
26585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26586 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26587 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26588 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26590 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26592 * conform/data/time.h-data (NULL): Use macro-constant. Require
26594 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26596 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26598 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26600 * configure.in <sysdeps resolving>: Correct printing
26602 * configure: Regenerate.
26604 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26606 * math/w_ilogb.c: Include <limits.h>.
26607 * math/w_ilogbl.c: Likewise.
26609 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26611 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26612 va_copy. Document allowing for unavailable va_copy only as
26613 pre-C99 compatibility.
26614 * manual/string.texi (Copying and Concatenation): Use va_copy
26615 instead of __va_copy in concat example.
26617 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26619 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26620 (__sendto): Use create_address_port. Initialize APORT and deallocate
26623 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26624 with O_NOLINK passed to __file_name_lookup.
26626 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26627 with O_NOLINK passed to __file_name_lookup.
26629 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26630 negative N or less than NGIDS.
26632 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26633 type to string_t. Set ERANGE as errno and return it if NAME is not big
26634 enough. Use memcpy instead of strncpy.
26636 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26638 * elf/Makefile (check-data): Remove.
26639 (localplt.data): New vpath directive.
26640 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26641 instead of $(check-data).
26642 * scripts/data/localplt-generic.data: Move to ...
26643 * sysdeps/generic/localplt.data: ... here.
26644 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26645 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26646 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26649 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26652 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26655 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26658 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26661 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26665 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26667 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26668 PPC32 and PPC64 files.
26669 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26670 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26672 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26674 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26675 __makecontext_ret to ...
26676 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26677 ... here and call exit if uc_link is NULL. New file.
26678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26679 __makecontext_ret.S.
26680 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26681 __makecontext_ret to ...
26682 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26683 ... here and call exit if uc_link is NULL. New file.
26684 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26685 __makecontext_ret.S.
26687 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26689 * elf/elf.h (R_390_IRELATIVE): New definition.
26690 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26691 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26692 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26694 (elf_machine_lazy_rel): Likewise.
26695 * sysdeps/s390/dl-irel.h: New file.
26696 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26697 * sysdeps/s390/s390-64/memset.S: New asm code.
26698 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26699 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26700 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26701 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26702 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26703 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26704 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26705 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26706 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26707 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26708 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26709 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26710 * sysdeps/s390/s390-32/memset.S: New asm code.
26711 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26713 2012-07-17 Marek Polacek <polacek@redhat.com>
26716 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26717 * sysdeps/s390/s390-64/configure.in: Likewise.
26718 * sysdeps/sparc/configure.in: Likewise.
26719 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26720 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26721 * sysdeps/i386/configure.in: Likewise.
26722 * sysdeps/x86_64/configure.in: Likewise.
26723 * sysdeps/sh/configure.in: Likewise.
26724 * sysdeps/s390/s390-32/configure: Regenerated.
26725 * sysdeps/s390/s390-64/configure: Likewise.
26726 * sysdeps/x86_64/configure: Likewise.
26727 * sysdeps/sh/configure: Likewise.
26728 * sysdeps/powerpc/powerpc64/configure: Likewise.
26729 * sysdeps/powerpc/powerpc32/configure: Likewise.
26730 * sysdeps/sparc/configure: Likwise.
26731 * sysdeps/i386/configure: Likewise.
26733 * elf/dl-open.c: Comment fixes.
26735 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26737 * Makefile [CXX] (check-data): Remove.
26738 [CXX] (c++-types.data): New vpath directive.
26739 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26740 vpath. Do not allow for C++ type data being missing.
26741 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26742 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26743 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26744 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26745 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26746 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26747 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26750 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26753 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26756 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26759 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26762 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26765 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26768 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26771 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26772 definitions to architecture-specific files.
26773 (TLS_IE): Likewise.
26774 (TLS_LD): Likewise.
26775 (TLS_GD): Likewise.
26776 * sysdeps/i386/tls-macros.h: New file.
26777 * sysdeps/powerpc/tls-macros.h: Likewise.
26778 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26779 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26780 * sysdeps/sh/tls-macros.h: Likewise.
26781 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26782 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26783 * sysdeps/x86_64/tls-macros.h: Likewise.
26785 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26788 zero value for regular exit case.
26790 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26791 (__start_context): Preserve zero value for regular exit case.
26793 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26794 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26796 * manual/setjmp.texi (setcontext): Clarify normal process
26797 termination when uc_link is the null pointer.
26798 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26801 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26803 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26804 preprocessor. Test for each exception mask separately.
26806 2012-07-16 Andreas Jaeger <aj@suse.de>
26808 * po/ru.po: Update from translation team.
26810 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26812 * conform/data/string.h-data (NULL): Use macro-constant. Require
26814 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26815 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26816 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26817 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26820 2012-07-13 Andreas Jaeger <aj@suse.de>
26822 * po/fr.po: Update from translation team.
26824 2012-07-12 Marek Polacek <polacek@redhat.com>
26827 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26831 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26835 Change to 2.4.1 where previously 2.4.0.
26836 * sysdeps/unix/sysv/linux/configure: Regenerated.
26837 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26838 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26840 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26841 (__ASSUME_AT_CLKTCK): Remove.
26842 (__ASSUME_AT_PAGESIZE): Likewise.
26843 (__ASSUME_AT_XID): Likewise.
26844 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26845 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26846 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26848 (HAVE_AUX_PAGESIZE): Likewise.
26849 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26850 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26851 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26853 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26857 the temporary buffer used to invoke __gethostbyname2_r,
26858 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26859 host_data / struct gaih_addrtuple.
26860 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26861 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26862 header file nss/nsswitch.h.
26863 * nss/nsswitch.h (global scope): Add definition of implementation
26864 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26865 resolv/nss_dns/dns-host.c).
26867 2012-07-11 Andreas Jaeger <aj@suse.de>
26869 * po/fr.po: Update from translation team.
26871 * po/sv.po: Update from translation team
26872 * po/fr.po: Another update from translation team.
26874 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26876 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26877 for subnormals or multiply small sinh result by itself.
26878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26881 2012-07-11 David S. Miller <davem@davemloft.net>
26883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26885 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26888 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26889 (INTERNAL_MARK): Shift it here.
26891 2012-07-10 Marek Polacek <polacek@redhat.com>
26894 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26895 libc_cv_asm_global_directive with .globl.
26896 * configure: Regenerated.
26897 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26899 * sysdeps/i386/configure: Regenerated.
26900 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26902 * sysdeps/x86_64/configure: Regenerated.
26903 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26904 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26905 * elf/tst-unique2mod2.c: Likewise.
26906 * elf/tst-unique2mod1.c: Likewise.
26907 * elf/tst-unique1mod2.c: Likewise.
26908 * elf/tst-unique1mod1.c: Likewise.
26909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26912 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26913 * sysdeps/mach/sysdep.h: Likewise.
26914 * sysdeps/i386/sysdep.h: Likewise.
26915 * sysdeps/i386/i386-mcount.S: Likewise.
26916 * sysdeps/x86_64/_mcount.S: Likewise.
26917 * sysdeps/x86_64/sysdep.h: Likewise.
26918 * sysdeps/sh/_mcount.S: Likewise.
26919 * sysdeps/sh/sysdep.h: Likewise.
26920 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26921 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26922 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26923 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26924 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26925 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26926 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26927 * locale/localeinfo.h: Likewise.
26928 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26929 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26931 2012-07-09 Roland McGrath <roland@hack.frob.com>
26934 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26936 * manual/message.texi (The Uniforum approach): Likewise.
26937 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26938 (glibc iconv Implementation): Likewise.
26940 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26943 * math/s_clog.c (__clog): Avoid scaling a value down where that
26944 could result in underflow.
26945 * math/s_clog10.c (__clog10): Likewise.
26946 * math/s_clog10f.c (__clog10f): Likewise.
26947 * math/s_clog10l.c (__clog10l): Likewise.
26948 * math/s_clogf.c (__clogf): Likewise.
26949 * math/s_clogl.c (__clogl): Likewise.
26950 * math/libm-test.inc (clog_test): Add more tests.
26951 (clog10_test): Likewise.
26952 * sysdeps/i386/fpu/libm-test-ulps: Update.
26953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26955 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26959 by 7 not 8 to examine high bit of fractional part.
26962 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26963 for call to __mcount_internal.
26964 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26965 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26966 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26968 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26971 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26972 approximation for values within 0x1p-13f of an odd multiple of
26974 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26975 exception. Add more tests.
26976 * sysdeps/i386/fpu/libm-test-ulps: Update.
26979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26980 inputs and return -1 for them. Do not check for +Inf in case not
26981 reachable for +Inf.
26982 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26983 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26985 and return -1 for them. Do not check for +Inf in case not
26986 reachable for +Inf.
26987 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26990 and return -1 for them. Do not check for +Inf in case not
26991 reachable for +Inf.
26992 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26993 spurious underflow.
26994 * sysdeps/i386/fpu/libm-test-ulps: Update.
26995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26997 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26999 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27001 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27005 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27006 could result in spurious underflow. Scale down values above
27007 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27008 * math/s_csqrtf.c (__csqrtf): Likewise.
27009 * math/s_csqrtl.c (__csqrtl): Likewise.
27010 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27011 spurious underflow.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27015 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27017 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27019 * catgets/xopen-msg.awk: New file.
27020 * catgets/xopen-msg.sed: Removed.
27022 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27024 * intl/po2test.awk: New file.
27025 * intl/po2test.sed: Removed.
27027 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27030 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27031 or multiply small sinh result by itself.
27032 * math/s_ctanf.c (__ctanf): Likewise.
27033 * math/s_ctanh.c (__ctanh): Likewise.
27034 * math/s_ctanhf.c (__ctanhf): Likewise.
27035 * math/s_ctanhl.c (__ctanhl): Likewise.
27036 * math/s_ctanl.c (__ctanl): Likewise.
27037 * math/libm-test.inc (ctan_test_tonearest): New function.
27038 (ctan_test_towardzero): Likewise.
27039 (ctan_test_downward): Likewise.
27040 (ctan_test_upward): Likewise.
27041 (ctanh_test_tonearest): Likewise.
27042 (ctanh_test_towardzero): Likewise.
27043 (ctanh_test_downward): Likewise.
27044 (ctanh_test_upward): Likewise.
27045 (main): Call these new functions.
27046 * sysdeps/i386/fpu/libm-test-ulps: Update.
27047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27049 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27051 * .gitignore: Delete /ports entry.
27053 2012-07-03 Andreas Jaeger <aj@suse.de>
27055 * po/bg.po: Update from translation team.
27056 * po/cs.po: Likewise.
27057 * po/de.po: Likewise.
27058 * po/hr.po: Likewise.
27059 * po/nl.pl: Likewise.
27060 * po/pl.po: Likewise.
27061 * po/vi.po: Likewise.
27063 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27065 * Makeconfig [!+link] (+link-before-libc): New variable.
27066 [!+link] (+link-after-libc): Likewise.
27067 [!+link] (+link-tests): Likewise.
27068 [!+link] (+link): Define in terms of $(+link-before-libc) and
27069 $(+link-after-libc).
27070 [!+link-static] (+link-static-before-libc): New variable.
27071 [!+link-static] (+link-static-after-libc): Likewise.
27072 [!+link-static] (+link-static-tests): Likewise.
27073 [!+link-static] (+link-static): Define in terms of
27074 $(+link-static-before-libc) and $(+link-static-after-libc).
27075 [build-shared] (link-libc-before-gnulib): New variable.
27076 [build-shared] (link-libc-tests): Likewise.
27077 [build-shared] (link-libc): Define in terms of
27078 $(link-libc-before-gnulib).
27079 [!build-shared] (link-libc-tests): New variable.
27080 (link-libc-static-tests): New variable.
27081 [!gnulib] (gnulib-arch): New variable.
27082 [!gnulib] (gnulib-tests): Likewise.
27083 [!gnulib] (static-gnulib-arch): Likewise.
27084 [!gnulib] (static-gnulib-tests): Likewise.
27085 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27086 Define with "=" instead of ":=".
27087 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27088 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27089 * Rules (binaries-all-notests): New variable.
27090 (binaries-all-tests): Likewise.
27091 (binaries-static-notests): Likewise.
27092 (binaries-static-tests): Likewise.
27093 (binaries-all): Define using $(binaries-all-notests) and
27094 $(binaries-all-tests).
27095 (binaries-static): Define using $(binaries-static-notests) and
27096 $(binaries-static-tests).
27097 (binaries-shared-tests): New variable.
27098 (binaries-shared-notests): Likewise.
27099 (binaries-shared): Remove variable.
27100 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27101 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27102 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27103 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27104 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27105 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27106 * elf/Makefile (sln-modules): New variable.
27107 (extra-objs): Add $(sln-modules:=.o).
27108 (ldconfig-modules): Add static-stubs.
27109 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27110 * elf/static-stubs.c: New file.
27113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27114 by 7 not 8 to examine high bit of fractional part. Use volatile
27115 variables when splitting into final array of floats if
27116 __FLT_EVAL_METHOD__ != 0.
27117 * math/libm-test.inc (cos_test): Add another test.
27118 (sin_test): Likewise.
27119 * sysdeps/i386/fpu/libm-test-ulps: Update.
27122 * math/libm-test.inc (cosh_test): Add more tests.
27124 * version.h (RELEASE): Set to "development".
27125 (VERSION): Set to "2.16.90".
27127 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27129 * NEWS: Update copyright. Remove last-updated date.
27130 Mention math library bug fixes and timezone data changes.
27131 * README: Mention GNU/Hurd, x32, and HPPA support status.
27133 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27135 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27137 2012-06-27 Andreas Jaeger <aj@suse.de>
27139 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27141 2012-06-25 Andreas Jaeger <aj@suse.de>
27143 * sysdeps/s390/fpu/libm-test-ulps: Update.
27145 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27146 Thomas Schwinge <thomas@codesourcery.com>
27148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27149 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27153 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27155 * sysdeps/mach/start.c: Remove file.
27156 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27157 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27158 * sysdeps/sh/init-first.c: Likewise.
27160 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27161 registers for frame unwinding purposes, add CFI directives.
27162 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27164 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27167 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27168 __fortify_fail returning.
27169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27171 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27172 sysdeps/sh/____longjmp_chk.S.
27173 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27174 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27175 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27176 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27178 * sysdeps/sh/abort-instr.h: New file.
27179 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27180 process in case exit returns.
27182 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27183 initialize the GOT register before use.
27185 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27186 calculation of ARGC > 4.
27188 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27189 meaningful names to some local labels.
27191 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27192 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27194 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27195 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27196 (__arch_compare_and_exchange_val_16_acq): Likewise.
27197 (__arch_compare_and_exchange_val_32_acq): Likewise.
27198 (atomic_exchange_and_add): Fix gUSA sequence.
27199 (atomic_add): Likewise.
27200 (atomic_add_negative): Likewise.
27201 (atomic_add_zero): Likewise.
27202 (atomic_bit_test_set): Likewise.
27204 2012-06-22 Andreas Schwab <schwab@redhat.com>
27207 * include/link.h (struct link_map): Add l_free_initfini.
27208 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27210 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27211 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27212 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27215 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27217 * configure.in: Use AC_LANG_SOURCE.
27218 * configure: Regenerate.
27220 2012-06-22 Roland McGrath <roland@hack.frob.com>
27222 * configure.in (libc_cv_localstatedir): New substituted variable.
27223 * configure: Regenerated.
27224 * config.make.in (localstatedir): New variable, substituted from
27225 libc_cv_localstatedir.
27226 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27227 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27228 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27229 * sysdeps/gnu/configure: Regenerated.
27231 2012-06-21 Jeff Law <law@redhat.com>
27234 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27235 free. Simplify list management for _LIBC case.
27237 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27240 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27241 Clear sign bit of 64-bit integer value before comparing against
27244 * sysdeps/mach/configure: Regenerated.
27246 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27249 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27251 2012-06-21 Jeff Law <law@redhat.com>
27254 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27255 uint16_t for elements in the "seen" array to avoid char overflows.
27256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27257 * elf/dl-open.c (dl_open_worker): Likewise.
27259 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27261 * scripts/list-sources.sh: Scan PORTS for translations.
27262 * po/libc.pot: Regenerated.
27264 2012-06-21 Andreas Jaeger <aj@suse.de>
27267 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27269 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27270 * bits/byteswap-16.h (__bswap_16): Likewise.
27271 * bits/byteswap.h (__bswap_constant_16): Likewise.
27273 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27276 * sysdeps/i386/fpu_control.h: Removed.
27277 * sysdeps/x86_64/fpu_control.h: Moved to ...
27278 * sysdeps/x86/fpu_control.h: Here.
27280 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27281 (_FPU_SETCW): Likewise.
27283 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27286 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27287 * sysdeps/x86/fpu/bits/mathinline.h: This.
27288 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27292 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27293 functions if __x86_64__ is defined.
27295 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27297 * string/endian.h: Add !__ASSEMBLER__ condition for including
27298 conversion interfaces.
27300 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27304 of ABS(x) in calculating zero to negative powers other than odd
27306 * math/libm-test.inc (pow_test): Add more tests.
27308 2012-06-15 Andreas Jaeger <aj@suse.de>
27310 * manual/contrib.texi (Contributors): Update entry of Liubov
27311 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27314 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27316 * string/string.h: Add __wur to GNU version of strerror_r.
27318 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27321 * string/Makefile (tests): Add tst-strtok_r.
27322 * string/tst-strtok_r.c: New file.
27323 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27324 RAX_LP/RDX_LP on SAVE_PTR.
27326 2012-06-14 Roland McGrath <roland@hack.frob.com>
27328 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27330 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27332 * libm_test.inc (csqrt_test): Allow more spurious underflow
27334 (j0_test): Likewise.
27335 (j1_test): Likewise.
27336 (y0_test): Likewise.
27337 (y1_test): Likewise.
27339 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27341 * po/Makefile (libc.pot): Use UTF-8 charset.
27343 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27346 Suppress sign-conversion warning from FD_SET.
27347 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27348 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27349 not unsigned long int.
27350 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27352 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27356 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27357 __extern_always_inline instead of __extern_inline.
27358 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27359 (__signbit): Likewise.
27360 (__signbitl): Support C++ namespace.
27361 (lrintf): New inline function.
27363 (llrintf): Likewise.
27364 (llrint): Likewise.
27374 (floorf): Likewise.
27375 (nearbyint): Likewise.
27376 (nearbyintf): Likewise.
27378 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27380 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27381 non-default versions.
27383 2012-06-11 Roland McGrath <roland@hack.frob.com>
27386 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27388 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27390 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27391 (FE_UPWARD, FE_DOWNWARD): Don't define.
27392 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27397 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27398 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27400 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27402 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27405 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27407 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27410 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27411 * sysdeps/i386/fpu/Implies: New file.
27412 * sysdeps/x86_64/fpu/Implies: Likewise.
27413 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27414 * sysdeps/x86/fpu/bits/fenv.h: This.
27416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27419 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27422 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27423 character 0xffff that matches the last element of the
27426 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27431 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27434 values higher than 25.6283.
27436 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27439 subnormal exponent extraction and add some __builtin_expect.
27440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27441 Fix for subnormal mantissa calculation.
27443 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27445 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27446 cpu2 is -1 and errno is not ENOSYS.
27448 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27451 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27452 * sysdeps/x86/bits/string.h: This.
27453 * sysdeps/x86_64/bits/string.h: Removed.
27455 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27456 if not compiling for x86-64, but compiling for >= i486.
27458 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27459 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27462 New macro from Linux kernel 3.4.0.
27463 (FP_XSTATE_MAGIC2): Likewise.
27464 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27465 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27466 (struct _fpx_sw_bytes): New struct.
27467 (struct _xsave_hdr): Likewise.
27468 (struct _ymmh_state): Likewise.
27469 (struct _xstate): Likewise.
27471 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27472 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27474 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27476 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27478 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27479 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27481 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27482 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27483 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27485 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27488 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27489 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27490 (sysdep_headers): Include sys/platform/ppc.h.
27491 * sysdeps/powerpc/test-gettimebase.c: Test for
27492 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27493 * manual/Makefile (appendices): Include platform.texi.
27494 * manual/contrib.texi (Contributors): Update @node pointers.
27495 * manual/maint.texi (Maintenance): Likewise.
27496 (Platform): New node.
27497 * manual/platform.texi: New file. Document the new features.
27499 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27500 Jakub Jelinek <jakub@redhat.com>
27503 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27504 where __builtin_expect is unavailable.
27506 2012-06-03 David S. Miller <davem@davemloft.net>
27508 * stdlib/longlong.h: Updated from GCC.
27510 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27513 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27514 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27517 (GLIBC_2.16): Likewise.
27519 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27521 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27523 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27526 (default-abi): New variable.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27528 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27530 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27532 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27537 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27538 definition. Document in comment.
27540 2012-06-01 David S. Miller <davem@davemloft.net>
27542 * stdlib/longlong.h: Updated from GCC.
27544 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27547 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27548 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27549 sys/debugreg.h sys/io.h here.
27550 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27551 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27553 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27554 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27555 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27556 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27557 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27558 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27560 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27561 Define only if __x86_64__ is defined.
27563 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27567 Use int64_t for variable i.
27568 * math/libm-test.inc (fmod_test): Add more tests.
27570 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27571 z computation is not scheduled after fetestexcept.
27572 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27573 Use math_force_eval instead of asm to ensure calculation scheduled
27574 before exception test.
27575 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27576 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27578 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27581 computation is not scheduled after fetestexcept.
27583 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27586 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27587 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27589 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27591 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27592 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27594 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27597 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27599 (__WCHAR_MIN): Support __WORDSIZE == 64.
27600 (__WCHAR_MAX): Likewise.
27602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27607 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27610 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27613 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27614 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27617 Defined to 1 if __x86_64__ isn't defined.
27618 (_STAT_VER_LINUX_OLD): New.
27619 (st_atime): Remove duplicate.
27620 (st_mtime): Likewise.
27621 (st_ctime): Likewise.
27623 2012-05-31 David S. Miller <davem@davemloft.net>
27625 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27628 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27630 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27634 * elf/dl-reloc.c: Include <_itoa.h>.
27635 (_dl_reloc_bad_type): Remove use of INTUSE.
27636 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27637 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27638 * stdio-common/psiginfo.c (psiginfo): Likewise.
27639 * stdio-common/psignal.c (psignal): Likewise.
27640 * string/strsignal.c (strsignal): Likewise.
27641 * include/signal.h (_sys_siglist): Declare hidden proto.
27642 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27643 INTVARDEF with libc_hidden_data_def.
27644 * stdio-common/itoa-udigits.c: Likewise.
27645 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27646 (_itoa_lower_digits_internal): Remove declaration.
27647 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27648 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27649 (_sys_sigabbrev_internal): Remove aliases.
27650 (_sys_siglist): Define hidden alias.
27652 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27657 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27660 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27661 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27663 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27666 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27668 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27670 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27672 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27684 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27686 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27687 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27689 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27690 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27691 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27694 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27696 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27697 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27703 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27704 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27706 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27708 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27709 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27710 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27712 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27714 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27716 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27718 * math/math.h (M_El): Use two more decimal places.
27719 (M_LOG2El): Likewise.
27720 (M_LOG10El): Likewise.
27721 (M_LN2l): Likewise.
27722 (M_LN10l): Likewise.
27724 (M_PI_2l): Likewise.
27725 (M_PI_4l): Likewise.
27726 (M_1_PIl): Likewise.
27727 (M_2_PIl): Likewise.
27728 (M_2_SQRTPIl): Likewise.
27729 (M_SQRT2l): Likewise.
27730 (M_SQRT1_2l): Likewise.
27732 2012-05-31 David S. Miller <davem@davemloft.net>
27734 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27735 values between float registers.
27736 * sysdeps/sparc/sparc64/memset.S: Likewise.
27737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27739 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27741 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27742 -D_FORTIFY_SOURCE=1.
27743 (CPPFLAGS-tst-longjmp_chk.c): Define.
27744 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27745 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27746 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27747 CFLAGS-tst-wchar-h.c.
27749 2012-05-31 Marek Polacek <polacek@redhat.com>
27752 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27753 __endmntent_internal): Remove declaration.
27754 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27755 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27756 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27758 2012-05-30 David S. Miller <davem@davemloft.net>
27760 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27761 (___Q_simulate_exceptions): Use real FP ops rather than writing
27763 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27766 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27769 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27770 * sysdeps/x86/bits/xtitypes.h: This.
27772 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27773 * sysdeps/x86/bits/wordsize.h: This.
27775 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27776 * sysdeps/x86/bits/huge_vall.h: This.
27778 * sysdeps/i386/bits/select.h: Removed.
27779 * sysdeps/x86_64/bits/select.h: Renamed to ...
27780 * sysdeps/x86/bits/select.h: This.
27782 * sysdeps/i386/bits/setjmp.h: Removed.
27783 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27784 * sysdeps/x86/bits/setjmp.h: This.
27786 * sysdeps/i386/bits/mathdef.h: Removed.
27787 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27788 * sysdeps/x86/bits/mathdef.h: This.
27790 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27793 * include/sys/socket.h (__connect_internal)
27794 (__libc_sa_len_internal): Remove declaration.
27795 (__connect, __libc_sa_len): Declare hidden_proto.
27796 (SA_LEN): Remove use of INTUSE.
27797 * socket/connect.c: Add libc_hidden_def.
27798 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27799 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27800 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27802 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27804 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27805 of adding _internal alias.
27807 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27810 * sysdeps/i386/bits/link.h: Removed.
27811 * sysdeps/i386/bits/linkmap.h: Likewise.
27812 * sysdeps/x86_64/bits/link.h: Renamed to ...
27813 * sysdeps/x86/bits/link.h: This.
27814 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27815 * sysdeps/x86/bits/linkmap.h: This.
27817 * sysdeps/i386/bits/endian.h: Removed.
27818 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27819 * sysdeps/x86/bits/endian.h: This.
27821 * sysdeps/i386/bits/byteswap.h: Removed.
27822 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27823 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27824 * sysdeps/x86/bits/byteswap.h: This.
27825 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27826 * sysdeps/x86/bits/byteswap-16.h: This.
27827 * sysdeps/i386/Implies: Add x86.
27828 * sysdeps/x86_64/Implies: Likewise.
27830 2012-05-30 David S. Miller <davem@davemloft.net>
27832 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27833 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27834 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27835 (FP_TRAPPING_EXCEPTIONS): Define.
27836 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27837 (FP_TRAPPING_EXCEPTIONS): Define.
27838 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27839 subnormals only when inexact has been signalled or underflow
27840 exceptions are enabled.
27841 (_FP_PACK_CANONICAL): Likewise.
27843 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27847 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27849 2012-05-30 Richard Henderson <rth@twiddle.net>
27851 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27852 with #ifndef NOT_IN_libc.
27854 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27855 marked to avoid plt entry.
27857 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27860 * Makeconfig (default-abi): New macro.
27861 (abi-includes): Likewise.
27862 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27863 $(abi-$(default-abi)-lib-soname) for soname if defined.
27864 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27866 * Makefile (installed-stubs): Likewise.
27867 * include/stubs-biarch.h: Removed.
27868 * scripts/lib-names.awk: Only handle one library at a time.
27869 * scripts/soversions.awk: Remove WORDSIZE support.
27870 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27872 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27874 (syscall-list-default-condition): Likewise.
27875 (syscall-list-default-condition): Likewise.
27876 (syscall-list-includes): Likewise.
27877 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27878 syscall-list-* with abi-*. Handle undefined abi-variants.
27879 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27880 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27881 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27882 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27883 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27884 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27886 (syscall-list-32-options): Likewise.
27887 (syscall-list-32-condition): Likewise.
27888 (syscall-list-64-options): Likewise.
27889 (syscall-list-64-condition): Likewise.
27890 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27892 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27895 (abi-64-ld-soname): New macro.
27896 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27897 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27900 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27901 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27903 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27905 * sysdeps/unix/sysv/linux/kernel-features.h
27906 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27907 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27908 include <kernel-features.h>.
27909 [!__NR_ftruncate64]: Remove conditional code.
27910 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27911 [__NR_ftruncate64]: Make code unconditional.
27912 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27913 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27914 include <kernel-features.h>.
27915 [!__NR_ftruncate64]: Remove conditional code.
27916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27917 [__NR_ftruncate64]: Make code unconditional.
27918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27920 include <kernel-features.h>.
27921 [!__NR_ftruncate64]: Remove conditional code.
27922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27923 [__NR_ftruncate64]: Make code unconditional.
27924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27926 include <kernel-features.h>.
27927 [!__NR_ftruncate64]: Remove conditional code.
27928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27929 [__NR_ftruncate64]: Make code unconditional.
27930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27932 * configure.in (libc_cv_fpie): Weaken to a compile test using
27933 LIBC_TRY_CC_OPTION.
27934 * configure: Regenerated.
27936 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27951 2012-05-27 David S. Miller <davem@davemloft.net>
27953 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27955 (__Q_simulate_exceptions): Return void. Change to simulate
27956 exceptions by writing into the %fsr.
27957 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27958 (__Qp_handle_exceptions): Likewise.
27960 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27961 __Qp_handle_exceptions.
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27963 __Qp_handle_exceptions.
27964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27965 as unused and give dummy FP_RND_NEAREST initializer.
27966 (FP_INHIBIT_RESULTS): Define.
27967 (___Q_simulate_exceptions): Update declaration.
27968 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27970 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27971 as unused and give dummy FP_RND_NEAREST initializer.
27972 (__Qp_handle_exceptions): Update declaration.
27973 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27976 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27978 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27979 the temporary FPU control word.
27980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27981 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27983 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27985 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27986 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27987 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27988 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27989 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27990 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27992 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27994 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27997 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27999 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28000 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28001 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28002 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28004 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28005 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28008 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28010 * po/h.po: Update from translation team.
28012 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28014 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28017 handling of denormals.
28018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28019 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28021 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28027 2012-05-26 Marek Polacek <polacek@redhat.com>
28030 * math/libm-test.inc (fma_test): Don't always expect underflow
28033 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28036 * elf/tst-execstack.c: Include stackinfo.h.
28037 (do_test): Adjust test case to ensure that pthread_getattr_np
28038 behaviour remains the same after marking stack executable.
28040 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28042 * sysdeps/unix/sysv/linux/kernel-features.h
28043 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28046 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28047 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28048 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28050 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28051 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28053 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28055 * configure.in: Define the default includes to being none.
28056 * configure: Regenerated.
28058 2012-05-25 Roland McGrath <roland@hack.frob.com>
28060 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28061 * sysdeps/x86_64/setjmp.S: Likewise.
28062 * sysdeps/i386/bsd-setjmp.S: Likewise.
28063 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28064 * sysdeps/i386/setjmp.S: Likewise.
28065 * sysdeps/i386/__longjmp.S: Likewise.
28066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28067 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28069 * include/stap-probe.h: New file.
28070 * configure.in: Handle --enable-systemtap.
28071 * configure: Regenerated.
28072 * config.h.in (USE_STAP_PROBE): New #undef.
28073 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28074 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28075 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28077 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28081 to 2.4.0 where earlier.
28082 * sysdeps/unix/sysv/linux/configure: Regenerated.
28083 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28084 <kernel-features.h>.
28085 [__ASSUME_32BITUIDS]: Make code unconditional.
28086 [!__ASSUME_32BITUIDS]: Remove conditional code.
28087 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28088 <kernel-features.h>.
28089 [__ASSUME_32BITUIDS]: Make code unconditional.
28090 [!__ASSUME_32BITUIDS]: Remove conditional code.
28091 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28092 [__ASSUME_32BITUIDS]: Make code unconditional.
28093 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28094 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28095 <kernel-features.h>.
28096 [__ASSUME_32BITUIDS]: Make code unconditional.
28097 [!__ASSUME_32BITUIDS]: Remove conditional code.
28098 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28099 <kernel-features.h>.
28100 [__ASSUME_32BITUIDS]: Make code unconditional.
28101 [!__ASSUME_32BITUIDS]: Remove conditional code.
28102 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28103 <kernel-features.h>.
28104 [__ASSUME_32BITUIDS]: Make code unconditional.
28105 [!__ASSUME_32BITUIDS]: Remove conditional code.
28106 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28107 <kernel-features.h>.
28108 [__ASSUME_32BITUIDS]: Make code unconditional.
28109 [!__ASSUME_32BITUIDS]: Remove conditional code.
28110 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28111 <kernel-features.h>.
28112 [__ASSUME_32BITUIDS]: Make code unconditional.
28113 [!__ASSUME_32BITUIDS]: Remove conditional code.
28114 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28115 <kernel-features.h>.
28116 [__ASSUME_32BITUIDS]: Make code unconditional.
28117 [!__ASSUME_32BITUIDS]: Remove conditional code.
28118 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28119 <kernel-features.h>.
28120 [__ASSUME_32BITUIDS]: Make code unconditional.
28121 [!__ASSUME_32BITUIDS]: Remove conditional code.
28122 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28123 <kernel-features.h>.
28124 [__ASSUME_32BITUIDS]: Make code unconditional.
28125 [!__ASSUME_32BITUIDS]: Remove conditional code.
28126 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28127 <kernel-features.h>.
28128 [__ASSUME_32BITUIDS]: Make code unconditional.
28129 [!__ASSUME_32BITUIDS]: Remove conditional code.
28130 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28131 <kernel-features.h>.
28132 [__ASSUME_32BITUIDS]: Make code unconditional.
28133 [!__ASSUME_32BITUIDS]: Remove conditional code.
28134 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28135 <kernel-features.h>.
28136 [__NR_setresgid] (__setresgid): Do not declare.
28137 [__ASSUME_32BITUIDS]: Make code unconditional.
28138 [!__ASSUME_32BITUIDS]: Remove conditional code.
28139 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28140 <kernel-features.h>.
28141 [__NR_setresuid] (__setresuid): Do not declare.
28142 [__ASSUME_32BITUIDS]: Make code unconditional.
28143 [!__ASSUME_32BITUIDS]: Remove conditional code.
28144 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28145 <kernel-features.h>.
28146 [__ASSUME_32BITUIDS]: Make code unconditional.
28147 [!__ASSUME_32BITUIDS]: Remove conditional code.
28148 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28149 <kernel-features.h>.
28150 [__ASSUME_32BITUIDS]: Make code unconditional.
28151 [!__ASSUME_32BITUIDS]: Remove conditional code.
28152 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28153 <kernel-features.h>.
28154 [__ASSUME_32BITUIDS]: Make code unconditional.
28155 [!__ASSUME_32BITUIDS]: Remove conditional code.
28156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28157 <kernel-features.h>.
28158 [__ASSUME_32BITUIDS]: Make code unconditional.
28159 [!__ASSUME_32BITUIDS]: Remove conditional code.
28160 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28161 <kernel-features.h>.
28162 [__ASSUME_32BITUIDS]: Make code unconditional.
28163 [!__ASSUME_32BITUIDS]: Remove conditional code.
28164 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28165 <kernel-features.h>.
28166 [__ASSUME_32BITUIDS]: Make code unconditional.
28167 [!__ASSUME_32BITUIDS]: Remove conditional code.
28168 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28169 <kernel-features.h>.
28170 [__ASSUME_32BITUIDS]: Make code unconditional.
28171 [!__ASSUME_32BITUIDS]: Remove conditional code.
28172 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28173 <kernel-features.h>.
28174 [__ASSUME_32BITUIDS]: Make code unconditional.
28175 [!__ASSUME_32BITUIDS]: Remove conditional code.
28176 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28177 <kernel-features.h>.
28178 [__ASSUME_32BITUIDS]: Make code unconditional.
28179 [!__ASSUME_32BITUIDS]: Remove conditional code.
28180 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28181 <kernel-features.h>.
28182 [__ASSUME_32BITUIDS]: Make code unconditional.
28183 [!__ASSUME_32BITUIDS]: Remove conditional code.
28184 * sysdeps/unix/sysv/linux/kernel-features.h
28185 (__ASSUME_SETRESUID_SYSCALL): Remove.
28186 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28187 (__ASSUME_32BITUIDS): Likewise.
28188 (__ASSUME_LDT_WORKS): Likewise.
28189 (__ASSUME_O_DIRECTORY): Likewise.
28190 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28191 architecture but not kernel version.
28192 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28193 (__ASSUME_MMAP2_SYSCALL): Likewise.
28194 (__ASSUME_STAT64_SYSCALL): Likewise.
28195 (__ASSUME_IPC64): Likewise.
28196 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28197 <kernel-features.h>.
28198 [__ASSUME_32BITUIDS]: Make code unconditional.
28199 [!__ASSUME_32BITUIDS]: Remove conditional code.
28200 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28201 <kernel-features.h>.
28202 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28203 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28204 132096]: Remove conditional code.
28205 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28206 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28207 <kernel-features.h>.
28208 [__ASSUME_32BITUIDS]: Make code unconditional.
28209 [!__ASSUME_32BITUIDS]: Remove conditional code.
28210 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28211 <kernel-features.h>.
28212 [__ASSUME_32BITUIDS]: Make code unconditional.
28213 [!__ASSUME_32BITUIDS]: Remove conditional code.
28214 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28215 <kernel-features.h>.
28216 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28218 (__setresgid): Do not declare.
28219 [__ASSUME_32BITUIDS]: Make code unconditional.
28220 [!__ASSUME_32BITUIDS]: Remove conditional code.
28221 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28222 <kernel-features.h>.
28223 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28225 (__setresuid): Do not declare.
28226 [__ASSUME_32BITUIDS]: Make code unconditional.
28227 [!__ASSUME_32BITUIDS]: Remove conditional code.
28228 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28229 <kernel-features.h>.
28230 [__ASSUME_32BITUIDS]: Make code unconditional.
28231 [!__ASSUME_32BITUIDS]: Remove conditional code.
28232 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28233 <kernel-features.h>.
28234 [__ASSUME_32BITUIDS]: Make code unconditional.
28235 [!__ASSUME_32BITUIDS]: Remove conditional code.
28237 2012-05-25 Richard Henderson <rth@twiddle.net>
28239 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28240 dl_hwcap to ifunc resolver.
28241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28243 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28244 dl_hwcap to ifunc resolver.
28245 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28247 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28250 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28251 for |x| <= 2**-26, not 2**-57.
28252 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28255 2012-05-24 Jeff Law <law@redhat.com>
28257 * stdio-common/Makefile (tests): Add bug25.
28258 * stdio-common/bug25.c: New test.
28260 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28263 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28264 multiple of MALLOC_ALIGNMENT in size.
28265 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28267 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28269 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28271 (FILENAME_MAX): Use macro-int-constant.
28272 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28273 (_IOFBF): Use macro-int-constant.
28274 (_IOLBF): Likewise.
28275 (_IONBF): Likewise.
28276 (SEEK_CUR): Likewise.
28277 (SEEK_END): Likewise.
28278 (SEEK_SET): Likewise.
28279 (TMP_MAX): Likewise.
28280 (EOF): Use macro-int-constant. Require < 0.
28281 (NULL): Use macro-constant. Require == 0.
28282 (stdin): Require type to be FILE *.
28283 (stdout): Likewise.
28284 (stderr): Likewise.
28285 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28286 macro-int-constant.
28287 (EXIT_SUCCESS): Likewise.
28288 (NULL): Use macro-constant. Require == 0.
28289 (RAND_MAX): Use macro-int-constant.
28290 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28291 [C99-based standards] (strtof): Require function.
28292 [C99-based standards] (strtold): Likewise.
28293 [C99-based standards] (strtoll): Likewise.
28294 [C99-based standards] (strtoull): Likewise.
28295 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28296 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28297 [ISO || ISO99 || ISO11] (math.h): Likewise.
28298 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28299 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28302 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28305 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28306 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28307 * intl/dgettext.c (DCGETTEXT): Likewise.
28308 * intl/gettext.c (DCGETTEXT): Likewise.
28309 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28310 * posix/regex_internal.h (gettext): Likewise.
28311 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28312 Remove declaration.
28313 * include/argz.h (__argz_count_internal)
28314 (__argz_stringify_internal): Remove declaration.
28315 (__argz_count, __argz_stringify): Declare hidden proto.
28316 * intl/dcgettext.c: Remove use of INTDEF.
28317 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28318 * string/argz-stringify.c: Likewise.
28319 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28320 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28321 Declare hidden proto.
28322 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28323 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28324 Declare hidden proto.
28325 * include/stdio.h (__asprintf_internal): Don't declare.
28326 (__asprintf): Don't define as macro. Declare hidden proto.
28327 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28328 (__fsetlocking): Declare hidden proto.
28329 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28330 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28332 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28333 (_IO_setlinebuf): Remove use of INTUSE.
28334 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28335 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28336 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28337 Remove declaration.
28338 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28339 (_IO_do_flush): Remove use of INTUSE.
28340 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28341 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28342 (_IO_adjust_column, _IO_least_wmarker)
28343 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28344 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28345 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28346 (_IO_default_doallocate, _IO_wdefault_doallocate)
28347 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28348 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28349 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28350 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28351 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28352 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28353 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28354 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28355 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28356 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28357 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28358 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28359 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28361 (_IO_flush_all_internal, _IO_adjust_column_internal)
28362 (_IO_default_uflow_internal, _IO_default_finish_internal)
28363 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28364 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28365 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28366 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28367 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28368 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28369 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28370 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28371 (_IO_file_close_internal, _IO_file_close_it_internal)
28372 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28373 (_IO_file_init_internal, _IO_file_attach_internal)
28374 (_IO_file_fopen_internal, _IO_file_read_internal)
28375 (_IO_file_sync_internal, _IO_file_seek_internal)
28376 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28377 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28378 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28379 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28380 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28381 (_IO_list_all_internal, _IO_link_in_internal)
28382 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28383 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28384 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28385 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28386 (_IO_do_write_internal, _IO_padn_internal)
28387 (_IO_getline_info_internal, _IO_getline_internal)
28388 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28389 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28390 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28391 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28392 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28393 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28394 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28395 with libc_hidden_ver, remove use of INTUSE.
28396 * libio/genops.c: Likewise.
28397 * libio/freopen.c: Likewise.
28398 * libio/freopen64.c: Likewise.
28399 * libio/iofclose.c: Likewise.
28400 * libio/iofdopen.c: Likewise.
28401 * libio/iofflush.c: Likewise.
28402 * libio/iofflush_u.c: Likewise.
28403 * libio/iofgets.c: Likewise.
28404 * libio/iofgets_u.c: Likewise.
28405 * libio/iofopen.c: Likewise.
28406 * libio/iofopncook.c: Likewise.
28407 * libio/iofread.c: Likewise.
28408 * libio/iofread_u.c: Likewise.
28409 * libio/ioftell.c: Likewise.
28410 * libio/iofwrite.c: Likewise.
28411 * libio/iogetline.c: Likewise.
28412 * libio/iogets.c: Likewise.
28413 * libio/iogetwline.c: Likewise.
28414 * libio/iopadn.c: Likewise.
28415 * libio/iopopen.c: Likewise.
28416 * libio/ioseekoff.c: Likewise.
28417 * libio/ioseekpos.c: Likewise.
28418 * libio/iosetbuffer.c: Likewise.
28419 * libio/iosetvbuf.c: Likewise.
28420 * libio/ioungetc.c: Likewise.
28421 * libio/ioungetwc.c: Likewise.
28422 * libio/iovdprintf.c: Likewise.
28423 * libio/iovsprintf.c: Likewise.
28424 * libio/iovsscanf.c: Likewise.
28425 * libio/memstream.c: Likewise.
28426 * libio/obprintf.c: Likewise.
28427 * libio/oldfileops.c: Likewise.
28428 * libio/oldiofclose.c: Likewise.
28429 * libio/oldiofdopen.c: Likewise.
28430 * libio/oldiofopen.c: Likewise.
28431 * libio/oldiopopen.c: Likewise.
28432 * libio/oldstdfiles.c: Likewise.
28433 * libio/putc.c: Likewise.
28434 * libio/setbuf.c: Likewise.
28435 * libio/setlinebuf.c: Likewise.
28436 * libio/stdfiles.c: Likewise.
28437 * libio/strops.c: Likewise.
28438 * libio/vasprintf.c: Likewise.
28439 * libio/vscanf.c: Likewise.
28440 * libio/vsnprintf.c: Likewise.
28441 * libio/vswprintf.c: Likewise.
28442 * libio/wfiledoalloc.c: Likewise.
28443 * libio/wfileops.c: Likewise.
28444 * libio/wgenops.c: Likewise.
28445 * libio/wmemstream.c: Likewise.
28446 * libio/wstrops.c: Likewise.
28447 * libio/__fpurge.c: Likewise.
28448 * libio/__fsetlocking.c: Likewise.
28449 * assert/assert.c: Likewise.
28450 * debug/fgets_chk.c: Likewise.
28451 * debug/fgets_u_chk.c: Likewise.
28452 * debug/fread_chk.c: Likewise.
28453 * debug/fread_u_chk.c: Likewise.
28454 * debug/gets_chk.c: Likewise.
28455 * debug/obprintf_chk.c: Likewise.
28456 * debug/vasprintf_chk.c: Likewise.
28457 * debug/vdprintf_chk.c: Likewise.
28458 * debug/vsnprintf_chk.c: Likewise.
28459 * debug/vsprintf_chk.c: Likewise.
28460 * malloc/mtrace.c: Likewise.
28461 * misc/error.c: Likewise.
28462 * misc/syslog.c: Likewise.
28463 * stdio-common/asprintf.c: Likewise.
28464 * stdio-common/fxprintf.c: Likewise.
28465 * stdio-common/getw.c: Likewise.
28466 * stdio-common/isoc99_fscanf.c: Likewise.
28467 * stdio-common/isoc99_scanf.c: Likewise.
28468 * stdio-common/isoc99_vfscanf.c: Likewise.
28469 * stdio-common/isoc99_vscanf.c: Likewise.
28470 * stdio-common/isoc99_vsscanf.c: Likewise.
28471 * stdio-common/printf-prs.c: Likewise.
28472 * stdio-common/printf_fp.c: Likewise.
28473 * stdio-common/printf_fphex.c: Likewise.
28474 * stdio-common/printf_size.c: Likewise.
28475 * stdio-common/putw.c: Likewise.
28476 * stdio-common/scanf.c: Likewise.
28477 * stdio-common/sprintf.c: Likewise.
28478 * stdio-common/tmpfile.c: Likewise.
28479 * stdio-common/vfprintf.c: Likewise.
28480 * stdio-common/vfscanf.c: Likewise.
28481 * stdlib/strfmon_l.c: Likewise.
28482 * sunrpc/openchild.c: Likewise.
28483 * sunrpc/xdr_stdio.c: Likewise.
28484 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28485 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28487 2012-05-24 Roland McGrath <roland@hack.frob.com>
28489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28491 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28492 in the third column, to generate for the shared library an IFUNC
28493 that uses _dl_vdso_vsym.
28494 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28495 * Makeconfig (object-suffixes-noshared): New variable.
28497 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28498 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28499 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28500 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28503 * include/sys/time.h (__gettimeofday): Remove macro.
28504 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28505 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28507 (__gettimeofday): Add libc_hidden_def.
28508 (gettimeofday): Add libc_hidden_weak.
28509 * sysdeps/mach/gettimeofday.c: Likewise.
28510 * sysdeps/posix/gettimeofday.c: Likewise.
28511 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28512 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28514 (__gettimeofday_internal): Remove strong_alias.
28515 (__gettimeofday): Add libc_hidden_def.
28516 (gettimeofday): Add libc_hidden_weak.
28517 * sysdeps/unix/syscalls.list (gettimeofday):
28518 Remove __gettimeofday_internal alias.
28520 2012-05-24 Daniel Jacobowitz <drow@false.org>
28521 H.J. Lu <hongjiu.lu@intel.com>
28524 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28525 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28526 (largebin_index_32_big): New.
28527 (largebin_index): Use it for 16-byte alignment.
28528 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28529 correction with front_misalign.
28531 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28559 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28560 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28562 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28566 * math/libm-test.inc (exp_test): Add test from bug 14036.
28567 (pow_test): Add test from bug 10846.
28569 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28571 (special_function): Do not include flags in test name.
28572 (parse_args): Likewise.
28573 * sysdeps/i386/fpu/libm-test-ulps: Update.
28574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28575 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28576 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28579 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28581 * math/libm-test.inc ("Philosophy"): Update comment about
28583 (UNDERFLOW_EXCEPTION): New macro.
28584 (UNDERFLOW_EXCEPTION_OK): Likewise.
28585 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28586 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28587 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28588 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28589 (INVALID_EXCEPTION_OK): Update value.
28590 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28591 (OVERFLOW_EXCEPTION_OK): Likewise.
28592 (IGNORE_ZERO_INF_SIGN): Likewise.
28593 (test_exceptions): Handle underflow exceptions.
28594 (acos_test): Update for underflow exception expectations.
28595 (cexp_test): Likewise.
28596 (clog_test): Likewise.
28597 (clog10_test): Likewise.
28598 (csqrt_test): Likewise.
28599 (ctan_test): Likewise.
28600 (ctanh_test): Likewise.
28601 (exp_test): Likewise.
28602 (exp10_test): Likewise.
28603 (exp2_test): Likewise.
28604 (expm1_test): Likewise.
28605 (fma_test): Likewise.
28606 (j0_test): Likewise.
28607 (jn_test): Likewise.
28608 (nexttoward_test): Likewise.
28609 (pow_test): Likewise.
28610 (scalbn_test): Likewise.
28611 (scalbln_test): Likewise.
28612 (tan_test): Likewise.
28613 (y1_test): Likewise.
28614 * sysdeps/i386/fpu/libm-test-ulps: Update.
28615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28617 2012-05-23 David S. Miller <davem@davemloft.net>
28619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28620 (__libc_sigaction): Remove unused local variables.
28622 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28624 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28626 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28628 mktime: avoid signed integer overflow
28629 * time/mktime.c (__mktime_internal): Do not mishandle the case
28630 where diff == INT_MIN.
28632 mktime: simplify computation of average
28633 * time/mktime.c (ranged_convert): Use new time_t_avg function
28634 instead of rolling our own (probably-slower) code.
28636 mktime: do not assume signed right shift propagates sign bit
28637 * time/mktime.c (isdst_differ): New static function.
28638 (__mktime_internal): No need to normalize tm_isdst now.
28639 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28642 mktime: merge another wrapv change from gnulib
28643 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28644 from some compilers.
28646 mktime: remove incorrect attempt at unusual arithmetics
28647 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28648 The code didn't really work on such machines anyway.
28649 (TYPE_MINIMUM): Assume two's complement.
28650 (twos_complement_arithmetic): Verify that long_int and time_t
28651 are two's complement (or unsigned, in the latter case).
28653 mktime: check signed shifts on long_int and time_t, too
28654 * time/mktime.c (SHR): Check that shifts work as desired
28655 on the types long_int and time_t too, as SHR is used on
28658 mktime: do not assume 'long' is wide enough
28659 * time/mktime.c (verify): Move decl up.
28660 (long_int): New type.
28661 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28662 to remove assumption in the code that 'long' is wide enough to
28663 store year values. This assumption is not true on x32 and on
28664 some non-glibc platforms.
28666 mktime: merge wrapv change from gnulib
28667 * time/mktime.c (WRAPV): New macro.
28668 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28669 (guess_time_tm, __mktime_internal): Do not assume that signed
28670 integer overflow wraps around; modern compilers generate code
28671 where this assumption is no longer valid.
28673 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28675 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28676 Replace "jmp L(pseudo_end)" with "ret".
28677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28680 2012-05-23 Andreas Jaeger <aj@suse.de>
28682 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28683 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28685 2012-05-23 Andreas Jaeger <aj@suse.de>
28686 Maximilian Attems <max@stro.at>
28688 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28691 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28694 code so that pseudo_end is just ret and the stack pointer is
28695 correct also for static library in error case.
28697 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28699 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28700 move to syscalls.list.
28701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28706 * manual/install.texi (Running make install): Do not mention Linux
28707 kernel version for which pt_chown is not needed.
28708 (Linux): Do not mention problems with nscd with 2.0 kernels.
28709 * INSTALL: Regenerated.
28711 2012-05-23 Andreas Jaeger <aj@suse.de>
28713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28714 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28716 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28718 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28720 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28726 * sysdeps/unix/sysv/linux/bits/in.h
28727 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28729 2012-05-22 Roland McGrath <roland@hack.frob.com>
28731 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28732 (PREPARE_VERSION): Just use assert instead, it will be elided
28733 under [NDEBUG] anyway.
28735 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28737 * sysdeps/unix/sysv/linux/Makefile: Include
28738 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28739 (sysdep_routines): Remove sysctl.
28740 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28741 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28742 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28744 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28746 2012-05-22 Andreas Jaeger <aj@suse.de>
28748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28749 that pseudo_end is just ret and the stack pointer is correct also
28750 for static library in error case.
28752 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28755 * nss/nsswitch.c (defconfig_entries): New variable.
28756 (__nss_database_lookup): Don't leak defconfig entries.
28757 (nss_parse_service_list): Don't leak on error paths.
28758 (free_database_entries): New function.
28759 (free_defconfig): New function.
28760 (free_mem): Move common code to free_database_entries.
28762 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28766 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28768 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28769 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28772 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28773 (INTERNAL_SYSCALL_TYPES): Likewise.
28774 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28775 (LOAD_REGS_TYPES_[1-6]): Likewise.
28776 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28777 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28779 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28782 copysignl for GLIBC_2_0.
28783 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28784 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28786 logbl for GLIBC_2_0.
28787 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28788 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28790 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28795 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28798 * time/mktime.c: Update copyright years.
28800 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28802 mktime: merge comment-quoting-style change from gnulib
28803 * time/mktime.c: Quote 'like this' in comments.
28804 The GNU coding standards suggest that we no longer quote `like this',
28805 as "`" and "'" are typically rendered asymmetrically nowadays.
28806 The typical gnulib style is to quote 'like this' when quoting
28807 code, and "like this" when quoting English.
28809 * time/mktime.c (compile-command): Add "-I.".
28811 mktime: merge mktime-internal.h change from gnulib
28812 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28814 mktime: merge time_r change from gnulib
28815 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28817 mktime: merge DEBUG change from gnulib
28818 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28819 case system <time.h> has a #define.
28821 mktime: merge <sys/types.h> change from gnulib
28822 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28823 since <time.t> is now guaranteed to define time_t.
28825 mktime: merge HAVE_CONFIG_H change from gnulib
28826 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28828 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28835 (struct rusage): Use anonymous union to pad each field to
28838 2012-05-21 David S. Miller <davem@davemloft.net>
28840 * Makefules (o-iterator): Remove .s cases.
28841 (compile-command.s): Delete.
28842 (COMPILE.s): Delete.
28843 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28845 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28847 * configure.in (libc_cv_predef_stack_protector): Only consider
28848 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28849 * configure: Regenerated.
28851 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28854 New macro. Use R*LP on int and pointer.
28855 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28856 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28857 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28858 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28860 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28861 [__WORDSIZE_TIME64_COMPAT32] instead of
28862 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28863 (struct utmp): Likewise.
28864 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28865 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28867 (__WORDSIZE_TIME64_COMPAT32): This.
28868 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28869 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28870 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28871 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28872 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28873 (__WORDSIZE_TIME64_COMPAT32): New macro.
28875 2012-05-21 Andreas Jaeger <aj@suse.de>
28877 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28878 only if [SHARED]. Add prototype for __wcschr_ia32.
28880 2012-05-21 Roland McGrath <roland@hack.frob.com>
28882 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28883 of %rbp unmolested in the jmp_buf while mangling the low bits.
28884 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28885 unmolested high bits of %rbp while demangling the low bits.
28886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28888 2012-05-21 Andreas Jaeger <aj@suse.de>
28890 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28891 * sunrpc/svc_simple.c: Use it for registerrpc.
28892 * sunrpc/xcrypt.c: Use it for passwd2des.
28894 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28896 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28898 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28899 Don't define if [__SYSCALL_WORDSIZE != 32].
28900 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28903 2012-05-21 Bruno Haible <bruno@clisp.org>
28904 Andreas Jaeger <aj@suse.de>
28906 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28907 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28908 inptr and inend for must_buffer_ch.
28909 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28910 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28911 * stdio-common/Makefile (tests): Remove bug15.
28912 (bug15-ENV): Remove macro.
28913 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28916 2012-05-19 Andreas Jaeger <aj@suse.de>
28917 Roland McGrath <roland@hack.frob.com>
28919 * manual/contrib.texi: Completely rewritten. It contains now an
28920 alphabetical list of contributors and their contributions.
28922 2012-05-21 Richard Henderson <rth@twiddle.net>
28924 * misc/getauxval.c (__getauxval): Use unsigned long int.
28925 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28926 (getauxval): Use unsigned long int.
28928 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28932 2012-05-21 Roland McGrath <roland@hack.frob.com>
28934 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28935 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28936 __alignof__ (long double).
28938 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28942 2012-05-20 Richard Henderson <rth@twiddle.net>
28944 * misc/getauxval.c: New file.
28945 * misc/sys/auxv.h: New file.
28946 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28947 (routines): Add getauxval.
28948 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28949 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28950 * elf/dl-sysdep.c (_dl_auxv): Remove.
28951 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28952 * elf/dl-support.c (_dl_auxv): New variable.
28953 (_dl_aux_init): Initialize it.
28954 * manual/startup.texi (Auxiliary Vector): New node.
28955 * sysdeps/generic/bits/hwcap.h: New file.
28956 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28957 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28958 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28959 * sysdeps/sparc/sysdep.h: ... here. Include it.
28960 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28973 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28977 2012-05-19 David S. Miller <davem@davemloft.net>
28979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28981 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28984 * math/s_ccosh.c: Include <float.h>
28985 (__ccosh): Avoid internal overflow calculating sinh and cosh
28986 values before multiplying by sin and cos values.
28987 * math/s_ccoshf.c: Likewise.
28988 * math/s_ccoshl.c: Likewise.
28989 * math/s_csin.c: Likewise.
28990 * math/s_csinf.c: Likewise.
28991 * math/s_csinl.c: Likewise.
28992 * math/s_csinh.c: Likewise.
28993 * math/s_csinhf.c: Likewise.
28994 * math/s_csinhl.c: Likewise.
28995 * math/libm-test.inc (ccos_test): Add more tests.
28996 (ccosh_test): Likewise.
28997 (csin_test): Likewise.
28998 (csinh_test): Likewise.
28999 * sysdeps/i386/fpu/libm-test-ulps: Update.
29000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29002 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29004 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29005 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29007 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29009 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29011 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29012 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29013 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29014 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29015 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29016 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29017 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29018 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29019 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29020 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29021 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29022 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29023 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29024 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29025 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29026 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29027 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29028 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29029 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29030 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29031 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29032 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29033 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29034 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29035 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29036 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29037 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29038 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29039 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29040 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29041 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29043 2012-05-18 Andreas Jaeger <aj@suse.de>
29045 * csu/.gitignore: Delete.
29047 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29049 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29050 (timex): Use __syscall_slong_t.
29052 2012-05-18 Andreas Jaeger <aj@suse.de>
29053 Carlos O'Donell <carlos_odonell@mentor.com>
29055 * manual/install.texi (Configuring and compiling): Update
29056 description about files modified in the source directory.
29057 * INSTALL: Regenerated.
29059 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29061 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29062 value. Use "or" to set return value to -1.
29063 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29064 negate return value.
29066 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29068 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29069 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29070 failure if the compiler has Graphite support disabled.
29071 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29073 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29074 (CFLAGS-memmove.c): Likewise.
29075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29078 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29080 * sysdeps/x86_64/x32/_itoa.h: New file.
29082 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29083 getdents system call only if kernel and user dirents have the
29084 same d_ino and d_off.
29086 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29087 LLONG_MAX != LONG_MAX.
29088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29089 (_fitoa_word): Likewise.
29091 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29093 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29094 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29095 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29097 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29098 include <bits/wordsize.h>. Check __x86_64__ instead of
29100 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29101 if __x86_64__ is defined. Use anonymous union on fpstate.
29103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29106 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29108 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29109 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29111 Refer to _rtld_local_ro instead of _rtld_global_ro.
29112 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29114 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29116 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29118 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29119 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29120 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29122 * sysdeps/powerpc/powerpc32/dl-machine.c
29123 (__elf_machine_runtime_setup) [PROF]: Don't reference
29126 2012-05-18 Andreas Jaeger <aj@suse.de>
29128 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29129 function only available for GCCs before 3.4 since GCC 3.4
29130 introduced a builtin.
29132 (llrintf): Likewise.
29133 (llrint): Likewise.
29140 (nearbyint): Likewise.
29141 (nearbyintf): Likewise.
29145 (floorf): Likewise.
29147 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29149 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29150 on both fields and cast pointer to __syscall_ulong_t.
29152 * bits/types.h (__fsword_t): New type.
29153 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29154 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29156 (__FSWORD_T_TYPE): Likewise.
29157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29158 (__FSWORD_T_TYPE): Likewise.
29159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29160 (__FSWORD_T_TYPE): Likewise.
29161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29162 (__FSWORD_T_TYPE): Likewise.
29163 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29164 __SWORD_TYPE with __fsword_t.
29165 (statfs64): Likewise.
29167 2012-05-17 David S. Miller <davem@davemloft.net>
29169 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29171 2012-05-17 Andreas Jaeger <aj@suse.de>
29173 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29176 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29178 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29180 2012-05-17 Andreas Jaeger <aj@suse.de>
29182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29185 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29187 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29189 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29191 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29192 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29194 2012-05-17 Andreas Jaeger <aj@suse.de>
29195 Carlos O'Donell <carlos_odonell@mentor.com>
29198 * sysdeps/x86_64/multiarch/init-arch.h
29199 (bit_YMM_Usable): Rename to...
29200 (bit_AVX_Usable): ... this.
29201 (bit_FMA4_Usable): New macro.
29202 (bit_XMM_state): New macro.
29203 (bit_YMM_state): New macro.
29204 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29205 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29206 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29207 (CPUID_OSXSAVE): New macro.
29208 (CPUID_AVX): New macro.
29209 (CPUID_FMA4): New macro.
29210 (index_YMM_Usable): Rename to...
29211 (index_AVX_Usable): ... this.
29212 (HAS_AVX): Use HAS_ARCH_FEATURE.
29213 (HAS_FMA4): Likewise.
29214 (HAS_YMM_USABLE): Remove.
29215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29216 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29218 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29219 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29220 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29221 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29222 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29224 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29226 * math/libm-test.c: Support platforms without multiple rounding modes.
29227 * math/bug-nextafter.c: Support platforms without FP exceptions.
29228 * math/bug-nexttoward.c: Likewise.
29229 * math/test-fenv.c: Likewise.
29230 * math/test-misc.c: Likewise.
29231 * stdlib/bug-getcontext.c: Likewise.
29233 2012-05-17 Andreas Jaeger <aj@suse.de>
29235 * manual/examples/search.c (critter_cmp): Change signature to
29237 * manual/string.texi (Collation Functions): Likewise.
29239 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29241 * bits/types.h: Fold copyright years.
29242 * bits/typesizes.h: Likewise.
29243 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29247 * time/time.h: Likewise.
29249 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29252 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29253 in instead of returning them. Return void.
29254 (__libc_mallinfo): Accumulate over all arenas.
29255 (__malloc_stats): Adjust for change in int_mallinfo interface.
29257 2012-05-16 Roland McGrath <roland@hack.frob.com>
29260 * configure.in (NM): Add AC_CHECK_TOOL for it.
29261 (libc_extra_cflags): New substituted variable.
29262 Check for -fstack-protector being used implicitly.
29263 * configure: Regenerated.
29264 * config.make.in (config-extra-cflags): New variable,
29265 gets @libc_extra_cflags@.
29266 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29269 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29270 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29271 * configure: Regenerated.
29272 * config.make.in (CPPUNDEFS): New substituted variable.
29273 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29274 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29275 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29277 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29279 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29280 (mq_attr): Use __syscall_slong_t.
29282 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29285 Check __x86_64__ instead of __WORDSIZE.
29286 (_STAT_VER_LINUX): Likewise.
29287 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29288 __syscall_ulong_t and __syscall_slong_t.
29289 (stat64): Likewise.
29291 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29295 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29297 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29299 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29301 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29304 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29305 include <bits/wordsize.h>. Check __x86_64__ instead of
29307 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29309 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29312 include <bits/wordsize.h>. Check __x86_64__ instead of
29314 (user_regs_struct): Use "__extension__ unsigned long long"
29315 instead of "unsigned long" if __x86_64__ is defined.
29316 (user): Likewise. Pad after pointer field if __ILP32__ is
29319 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29321 * configure.in (makeinfo): Require version 4.5 or later. Allow
29323 * configure: Regenerated.
29324 * manual/install.texi (texinfo): Increase version requirement to
29326 * INSTALL: Regenerated.
29328 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29330 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29332 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29334 * sysdeps/x86_64/x32/ffs.c: New file.
29336 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29338 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29339 defined. Use __syscall_ulong_t.
29340 (shminfo): Use __syscall_ulong_t.
29341 (shm_info): Likewise.
29343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29346 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29348 (msgqnum_t): Use __syscall_ulong_t.
29349 (msglen_t): Likewise.
29350 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29356 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29358 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29359 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29361 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29365 include <bits/wordsize.h>. Check __x86_64__ instead of
29368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29369 "unsigned long long int" if __x86_64__ is defined.
29370 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29373 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29374 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29376 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29378 (GET_PC): Cast to uintptr_t first.
29379 (GET_FRAME): Likewise.
29380 (GET_STACK): Likewise.
29382 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29383 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29387 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29388 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29389 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29390 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29394 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29397 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29398 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29400 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29402 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29403 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29404 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29405 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29406 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29407 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29408 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29409 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29410 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29412 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29414 * Makerules (+depfiles): Also collect depfiles from .oS in
29416 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29417 .oS, $(libnldbl-routines)).
29419 * Makerules (native-compile-mkdep-flags): Define.
29420 * sunrpc/Makefile (extra-objs): Add $(addprefix
29421 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29422 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29423 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29424 calling $(make-target-directory).
29426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29428 * bits/types.h (__snseconds_t): Removed.
29429 * time/time.h (struct timespec): Replace __snseconds_t with
29431 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29432 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29435 (__SNSECONDS_T_TYPE): Likewise.
29436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29437 (__SNSECONDS_T_TYPE): Likewise.
29438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29439 (__SNSECONDS_T_TYPE): Likewise.
29441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29443 * sysdeps/mach/hurd/bits/typesizes.h
29444 (__SYSCALL_SLONG_TYPE): New macro.
29445 (__SYSCALL_ULONG_TYPE): Likewise.
29447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29449 * bits/types.h (__syscall_slong_t): New type.
29450 (__syscall_ulong_t): Likewise.
29452 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29453 (__SYSCALL_ULONG_TYPE): Likewise.
29454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29455 (__SYSCALL_SLONG_TYPE): Likewise.
29456 (__SYSCALL_ULONG_TYPE): Likewise.
29457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29458 (__SYSCALL_SLONG_TYPE): Likewise.
29459 (__SYSCALL_ULONG_TYPE): Likewise.
29460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29461 (__SYSCALL_SLONG_TYPE): Likewise.
29462 (__SYSCALL_ULONG_TYPE): Likewise.
29464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29466 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29467 Add sigaltstack-offsets.sym.
29468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29469 <sigaltstack-offsets.h>.
29470 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29471 longjmp_msg pointer.
29472 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29473 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29475 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29477 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29479 * elf/stackguard-macros.h: Remove file.
29480 * sysdeps/generic/stackguard-macros.h: New file.
29481 * sysdeps/i386/stackguard-macros.h: Likewise.
29482 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29483 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29484 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29485 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29486 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29487 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29488 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29489 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29490 <elf/stackguard-macros.h>.
29493 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29494 __aligned__ in attribute.
29495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29496 (gregset_t): Likewise.
29498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29500 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29501 * sysdeps/x86_64/64/Implies-after: Here. New file.
29502 * sysdeps/x86_64/x32/Implies-after: New file.
29504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29506 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29507 and access return value for _dl_profile_fixup. Use R10_LP to
29510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29512 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29516 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29517 * sysdeps/x86_64/x32/sysdep.h: New file.
29519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29521 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29522 * sysdeps/x86_64/setjmp.S: Likewise.
29524 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29528 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29529 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29530 remove unused global constant.
29532 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29534 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29535 include of <not-cancel.h>.
29537 2012-05-15 Roland McGrath <roland@hack.frob.com>
29539 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29541 2012-05-15 Jeff Law <law@redhat.com>
29542 Andreas Jaeger <aj@suse.de>
29545 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29547 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29548 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29549 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29550 code changing __hst_map_handle.map.
29552 2012-05-15 Roland McGrath <roland@hack.frob.com>
29554 * configure.in (sysnames): Look for Implies-before and Implies-after
29556 * configure: Regenerated.
29558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29560 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29561 8-byte data alignment with LP_SIZE alignment.
29563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29565 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29570 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29574 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29575 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29578 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29582 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29583 (stackinfo_sub_sp): Likewise.
29585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29602 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29606 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29607 into R11_LP and load __x86_64_shared_cache_size_half into
29610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29612 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29615 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29624 powerpc32/power7/fpu/s_logb.c via #include.
29625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29626 powerpc32/power7/fpu/s_logbf.c via #include.
29627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29628 powerpc32/power7/fpu/s_logbl.c via #include.
29630 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29632 * README.libm: Remove file.
29634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29636 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29637 count for x32. Use R*_LP and omit operand-size suffix.
29639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29641 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29642 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29643 * sysdeps/x86_64/x32/shlib-versions: New file.
29645 2012-05-14 Roland McGrath <roland@hack.frob.com>
29647 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29648 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29649 Use _dl_fatal_printf instead.
29651 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29653 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29654 set if not set by the user. Do not allow for being unset.
29655 * sysdeps/unix/sysv/linux/configure: Regenerated.
29657 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29659 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29660 the `q' suffix from lea and replace .quad with ASM_ADDR.
29662 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29665 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29667 (PTR_DEMANGLE): Likewise.
29669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29671 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29673 (ASM_ADDR): Likewise.
29674 (RAX_LP): Likewise.
29675 (RBP_LP): Likewise.
29676 (RBX_LP): Likewise.
29677 (RCX_LP): Likewise.
29678 (RDI_LP): Likewise.
29679 (RSI_LP): Likewise.
29680 (RSP_LP): Likewise.
29683 (R10_LP): Likewise.
29684 (R10_LP): Likewise.
29685 (R11_LP): Likewise.
29686 (R12_LP): Likewise.
29687 (R13_LP): Likewise.
29688 (R14_LP): Likewise.
29689 (R15_LP): Likewise.
29691 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29693 * sysdeps/x86_64/x32/dl-machine.h: New file.
29695 2012-05-14 Andreas Jaeger <aj@suse.de>
29697 * manual/Makefile (subdir): Remove export of subdir.
29698 (all): Remove target.
29699 (.PHONY): Remove all from list.
29700 (mkinstalldirs): Remove.
29701 (.PHONY): Remove installdirs from list.
29702 ($(inst_infodir)/libc.info): Use make-target-directory.
29703 (installdirs): Remove.
29704 (subdir_%): Remove.
29705 (glibc-targets): Remove.
29708 ($(objpfx)stubs ../po/manual.pot): Remove.
29709 ($(objpfx)stamp%): Remove.
29710 (make-target-directory): Remove.
29711 (subdir_install): Remove.
29712 (routines): Remove.
29719 * manual/.gitignore: Remove, it's not needed anymore.
29720 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29722 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29724 (texis): Renamed to $(objpfx)texis.
29725 (texis-path): New, contains path to generated files.
29726 (chapters.%): Use texis-path for complete path, add extra argument
29728 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29729 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29730 (summary,texi, stamp-summary): Use complete path of
29731 files. Generate files in build dir.
29732 (dir-add.texi): Build in build dir.
29733 (libm-err.texi,stamp-libm-err): Likewise.
29734 (version.texi, stamp-version): Likewise.
29735 (.%c.texi): Likewise.
29736 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29737 (mostlyclean): Remove target.
29738 (realclean): Remove target.
29739 (generated): Add new variable with contents from mostlyclean and
29740 realclean, remove entries duplicated in common-mostlyclean, add
29741 stamp-libm-err and stamp-version.
29742 (generated-dirs): Add libc directory.
29743 ($(inst_infodir)/libc.info): Install files from build dir.
29745 * manual/install.texi (Configuring and compiling): Adjust since
29746 the info files are not part of the tar ball anymore.
29748 2012-05-14 Andreas Jaeger <aj@suse.de>
29750 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29753 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29757 to 2.2.0 where earlier.
29758 * sysdeps/unix/sysv/linux/configure: Regenerated.
29759 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29760 Remove conditional code.
29761 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29762 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29763 Remove conditional code.
29764 [!__NR_lchown]: Likewise.
29765 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29766 [__NR_lchown]: Likewise.
29767 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29768 comment referencing __ASSUME_LCHOWN_SYSCALL.
29769 * sysdeps/unix/sysv/linux/i386/sigaction.c
29770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29772 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29773 Remove conditional code.
29774 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29775 (__protocol_available): Remove #if 0 code.
29776 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29778 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29779 * sysdeps/unix/sysv/linux/kernel-features.h
29780 (__ASSUME_GETCWD_SYSCALL): Don't define.
29781 (__ASSUME_REALTIME_SIGNALS): Likewise.
29782 (__ASSUME_PREAD_SYSCALL): Likewise.
29783 (__ASSUME_PWRITE_SYSCALL): Likewise.
29784 (__ASSUME_POLL_SYSCALL): Likewise.
29785 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29786 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29788 (__ASSUME_SIOCGIFNAME): Don't define.
29789 (__ASSUME_MSG_NOSIGNAL): Likewise.
29790 (__ASSUME_SENDFILE): Define unconditionally.
29791 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29792 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29794 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29795 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29796 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29797 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29798 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29799 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29800 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29805 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29811 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29814 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29825 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29826 Remove conditional code.
29827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29828 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29829 Remove conditional code.
29830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29831 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29832 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29833 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29834 Remove conditional code.
29835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29836 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29837 Remove conditional code.
29838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29839 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29840 Remove conditional code.
29841 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29842 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29843 Remove conditional code.
29844 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29845 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29846 Remove conditional code.
29847 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29848 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29849 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29851 * sysdeps/unix/sysv/linux/sigaction.c
29852 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29853 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29854 * sysdeps/unix/sysv/linux/sigpending.c
29855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29857 * sysdeps/unix/sysv/linux/sigprocmask.c
29858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29860 * sysdeps/unix/sysv/linux/sigsuspend.c
29861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29864 (__libc_missing_rt_sigs): Remove.
29865 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29866 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29867 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29868 Remove conditional code.
29869 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29870 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29873 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29874 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29875 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29877 2012-05-14 Andreas Jaeger <aj@suse.de>
29879 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29880 it's not used in glibc.
29881 (__coshm1): Likewise.
29882 (__acosh1p): Likewise.
29885 * manual/string.texi (Copying and Concatenation): Add missing
29886 variable in concat example.
29887 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29889 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29893 __builtin_clzl with __builtin_clzll.
29895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29898 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29901 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29903 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29904 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29905 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29906 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29908 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29910 * NEWS: Update ia64 info.
29912 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29914 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29917 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29919 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29920 * sysdeps/unix/syscalls.list (dup3): Likewise.
29921 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29922 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29924 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29926 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29927 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29929 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29931 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29933 (TLS_IE): Use mov/add instead of movq/addq to load thread
29935 (TLS_GD_PREFIX): New.
29938 2012-05-11 David S. Miller <davem@davemloft.net>
29940 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29941 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29942 (_FPU_SETCW): Likewise.
29944 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29946 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29947 is 32-byte aligned.
29949 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29952 * iconvdata/gb18030.c: Update tables.
29953 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29954 characters specially.
29955 (BODY for TO_LOOP): Add encoding of missing ranges.
29957 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29960 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29961 * sysdeps/mach/hurd/dup3.c: Likewise.
29962 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29963 * sysdeps/powerpc/memmove.c:: Likewise.
29965 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29968 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29970 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29972 * elf/elf.h (R_X86_64_RELATIVE64): New.
29973 (R_X86_64_NUM): Updated.
29974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29975 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29976 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29977 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29978 tst-quad1pie tst-quad2pie
29979 (modules-names): Add tst-quadmod1 tst-quadmod2.
29980 ($(objpfx)tst-quad1): New dependency.
29981 ($(objpfx)tst-quad2): Likewise.
29982 ($(objpfx)tst-quad1pie): Likewise.
29983 ($(objpfx)tst-quad2pie): Likewise.
29984 * sysdeps/x86_64/tst-quad1.c: New file.
29985 * sysdeps/x86_64/tst-quad1pie.c: New file.
29986 * sysdeps/x86_64/tst-quad2.c: Likewise.
29987 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29988 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29989 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29990 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29991 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29995 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29996 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29997 * streams/stropts.h (t_scalar_t): Define type.
29999 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30000 (_PATH_PRESERVE): Set to "/var/lib".
30001 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30003 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30006 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30007 if __dir_mkfile succeeded.
30009 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30010 checking for _hurd_dtablesize. Unlock it right after having
30011 finished _hurd_dtable allocation.
30013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30015 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30016 * sysdeps/mach/hurd/configure: Regenerated.
30017 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30018 special-casing to...
30019 * sysdeps/gnu/configure.in: ... this new file.
30020 * sysdeps/unix/sysv/linux/configure: Regenerated.
30021 * sysdeps/gnu/configure: New generated file.
30023 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30024 for Linux: use nsec instead of usec, as well as:
30025 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30026 members of type struct timespec.
30027 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30029 (struct stat64): Likewise.
30030 (_STATBUF_ST_NSEC): New macro.
30031 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30033 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30034 __strtoul_internal rather than strtoul.
30036 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30038 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30041 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30043 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30044 which preserves existing values.
30045 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30047 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30049 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30050 TIMEOUT values. Return EINVAL for NFDS values either negative or
30051 greater than FD_SETSIZE.
30053 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30055 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30056 allocated, call __vm_protect to finish enabling the existing space, and
30057 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30058 allocate the remainder.
30060 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30062 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30063 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30067 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30068 sysdeps/mach/hurd/readlink.c.
30070 * posix/tst-sysconf.c (posix_options): Only use
30071 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30072 _POSIX_SYNCHRONIZED_IO when they are defined
30073 * sysdeps/mach/hurd/bits/posix_opt.h:
30074 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30075 (_XOPEN_REALTIME): Undefine macro.
30076 (_XOPEN_REALTIME_THREADS): Undefine macro.
30077 (_XOPEN_SHM): Undefine macro.
30078 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30080 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30082 (_POSIX_ASYNC_IO): Undefine macro.
30083 (_POSIX_PRIORITIZED_IO): Undefine macro.
30084 (_POSIX_SPIN_LOCKS): Define macro to -1.
30086 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30087 SA_NODEFER, SA_RESETHAND.
30088 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30089 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30094 * elf/Makefile (pldd-modules): Define unconditionally.
30096 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30098 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30102 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30103 Return ENOENT when name is empty.
30104 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30108 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30110 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30114 Fix mlock in all cases except non-readable pages.
30115 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30116 instead of VM_PROT_ALL as parameter to __vm_wire function.
30118 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30119 (__mkdir): When path is `/', just fail with EEXIST.
30120 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30124 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30125 <sys/uio.h> (for writev).
30126 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30127 and <sys/param.h> (for MIN).
30129 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30131 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30132 REQUESTED_TIME. Properly set the remaining time and return EINTR
30135 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30137 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30138 Depend on against $(link-rpcuserlibs).
30140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30142 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30143 (__libc_stack_end): Do not use attribute_relro.
30144 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30145 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30146 to libthread-provided value.
30147 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30153 * bits/libc-lock.h (__libc_once_get): New macro.
30154 * sysdeps/mach/bits/libc-lock.h: Likewise.
30155 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30157 instead of using implementation details.
30159 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30160 * libio/freopen.c: Likewise.
30161 * libio/freopen64.c: Likewise.
30162 * misc/syslog.c: Likewise.
30163 * nscd/connections.c: Likewise.
30164 * nscd/netgroupcache.c: Likewise.
30165 * sysdeps/posix/getcwd.c: Likewise.
30167 2012-05-10 Roland McGrath <roland@hack.frob.com>
30169 * math/w_ilogbf.c: Add #include <limits.h>.
30171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30173 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30174 path instead of returning without unlocking.
30176 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30177 immediate-write ioctls.
30178 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30182 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30183 __builtin_frame_address instead of making assumptions about the
30184 location of the return address relative to DATA. Force early load of
30185 the return address.
30186 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30187 __builtin_frame_address.
30190 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30191 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30192 implement dup3 and do some further code clean-ups.
30193 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30198 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30200 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30201 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30202 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30203 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30204 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30207 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30208 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30209 when handler == SIG_ERR, not when handler != SIG_ERR.
30211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30213 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30214 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30217 accept4 for GNU Hurd.
30218 * include/sys/socket.h (__libc_accept4): New prototype.
30219 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30220 to implement __libc_accept4.
30221 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30223 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30225 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30226 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30227 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30228 signal-defines.sym.
30230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30232 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30234 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30236 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30237 assertion on O_CLOEXEC flag.
30238 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30239 * hurd/intern-fd.c: Likewise.
30240 * hurd/port2fd.c: Likewise.
30242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30245 * bits/in.h (IPV6_PKTINFO): Define new macro.
30246 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30248 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30253 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30255 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30256 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30258 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30259 * math/libm-test.inc (logb_test) : Additional logb tests.
30261 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30262 Andreas Jaeger <aj@suse.de>
30264 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30265 * configure: Regenerated.
30266 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30267 * config.make.in (link-obsolete-rpc): New substituted variable.
30268 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30269 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30270 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30271 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30272 so that libc.a contains the symbols.
30273 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30274 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30275 * sunrpc/auth_none.c: Likewise.
30276 * sunrpc/auth_unix.c: Likewise.
30277 * sunrpc/authdes_prot.c: Likewise.
30278 * sunrpc/authuxprot.c: Likewise.
30279 * sunrpc/clnt_gen.c: Likewise.
30280 * sunrpc/clnt_perr.c: Likewise.
30281 * sunrpc/clnt_raw.c: Likewise.
30282 * sunrpc/clnt_simp.c: Likewise.
30283 * sunrpc/clnt_tcp.c: Likewise.
30284 * sunrpc/clnt_udp.c: Likewise.
30285 * sunrpc/clnt_unix.c: Likewise.
30286 * sunrpc/des_crypt.c: Likewise.
30287 * sunrpc/des_soft.c: Likewise.
30288 * sunrpc/get_myaddr.c: Likewise.
30289 * sunrpc/key_call.c: Likewise.
30290 * sunrpc/key_prot.c: Likewise.
30291 * sunrpc/netname.c: Likewise.
30292 * sunrpc/pm_getmaps.c: Likewise.
30293 * sunrpc/pm_getport.c: Likewise.
30294 * sunrpc/pmap_clnt.c: Likewise.
30295 * sunrpc/pmap_prot.c: Likewise.
30296 * sunrpc/pmap_prot2.c: Likewise.
30297 * sunrpc/pmap_rmt.c: Likewise.
30298 * sunrpc/publickey.c: Likewise.
30299 * sunrpc/rpc_cmsg.c: Likewise.
30300 * sunrpc/rpc_common.c: Likewise.
30301 * sunrpc/rpc_dtable.c: Likewise.
30302 * sunrpc/rpc_prot.c: Likewise.
30303 * sunrpc/rpc_thread.c: Likewise.
30304 * sunrpc/rtime.c: Likewise.
30305 * sunrpc/svc.c: Likewise.
30306 * sunrpc/svc_auth.c: Likewise.
30307 * sunrpc/svc_raw.c: Likewise.
30308 * sunrpc/svc_run.c: Likewise.
30309 * sunrpc/svc_tcp.c: Likewise.
30310 * sunrpc/svc_udp.c: Likewise.
30311 * sunrpc/svc_unix.c: Likewise.
30312 * sunrpc/svcauth_des.c: Likewise.
30313 * sunrpc/xcrypt.c: Likewise.
30314 * sunrpc/xdr.c: Likewise.
30315 * sunrpc/xdr_array.c: Likewise.
30316 * sunrpc/xdr_float.c: Likewise.
30317 * sunrpc/xdr_intXX_t.c: Likewise.
30318 * sunrpc/xdr_mem.c: Likewise.
30319 * sunrpc/xdr_rec.c: Likewise.
30320 * sunrpc/xdr_ref.c: Likewise.
30321 * sunrpc/xdr_sizeof.c: Likewise.
30322 * sunrpc/xdr_stdio.c: Likewise.
30324 2012-05-10 Roland McGrath <roland@hack.frob.com>
30326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30327 change. Update copyright years.
30329 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30331 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30333 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30334 Joseph Myers <joseph@codesourcery.com>
30335 Paul Pluzhnikov <ppluzhnikov@google.com>
30338 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30340 [cross-compiling] (extra-libs): Likewise.
30341 [cross-compiling] (extra-libs-others): Likewise.
30342 [cross-compiling] (librpcsvc-routines): Likewise.
30343 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30344 [cross-compiling] (omit-deps): Likewise.
30345 (sunrpc-CPPFLAGS): New variable.
30346 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30347 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30348 (cross-rpcgen-objs): New variable.
30349 (extra-objs): Append $(cross-rpcgen-objs).
30350 ($(cross-rpcgen-objs)): New rule.
30351 ($(objpfx)cross-rpcgen): Likewise.
30352 (rpcgen-cmd): Define to use $(built-program-file). Expand
30354 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30355 ($(objpfx)x%.stmp): Likewise.
30356 * sunrpc/proto.h [IS_IN_build] (_): Define.
30357 [IS_IN_build] (_libc_intl_domainname): Likewise.
30359 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30362 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30363 and R_X86_64_TPOFF64.
30365 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30367 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30368 sysdeps/unix/sysv/syscalls.list.
30371 * sysdeps/unix/sysv/syscalls.list: Remove file.
30373 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30376 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30377 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30378 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30379 (__LC_IDENTIFICATION): Make these macros useful in #if
30380 expressions, as required by C99.
30382 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30384 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30385 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30388 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30390 * stdlib/longlong.h: Updated from GCC.
30392 2012-05-09 Andreas Jaeger <aj@suse.de>
30394 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30395 default is first entry.
30396 (run_mode): Set type.
30397 (main): Remove informal message about syslog.
30398 (options): Fix typo.
30401 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30404 (llrintf): Likewise.
30405 (llrint): Likewise.
30408 (nearbyint): Likewise.
30409 (nearbyintf): Likewise.
30411 2012-05-09 Andreas Jaeger <aj@suse.de>
30412 Pedro Alves <palves@redhat.com>
30414 * nscd/nscd.c (run_mode): Use enum.
30415 (main): Cleanup coding style issue.
30417 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30418 Andreas Jaeger <aj@suse.de>
30420 * nscd/nscd.c (go_background): Replaced with...
30421 (run_mode): ... this.
30422 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30423 (options): Add -F --foreground.
30424 (main): Implement it.
30425 (parse_opt): Parse it.
30427 2012-05-09 Andreas Jaeger <aj@suse.de>
30430 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30431 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30432 -Wconversion warning.
30433 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30436 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30438 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30440 (LC_ALL): Use macro-int-constant.
30441 (LC_COLLATE): Likewise.
30442 (LC_CTYPE): Likewise.
30443 (LC_MESSAGES): Likewise.
30444 (LC_MONETARY): Likewise.
30445 (LC_NUMERIC): Likewise.
30446 (LC_TIME): Likewise.
30447 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30448 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30450 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30452 [C99-based standards] (float_t): Expect type.
30453 [C99-based standards] (double_t): Expect type.
30454 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30456 [C99-based standards] (HUGE_VALL): Likewise.
30457 [C99-based standards] (INFINITY): Likewise.
30458 [C99-based standards] (NAN): Likewise.
30459 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30460 [C99-based standards] (FP_NAN): Likewise.
30461 [C99-based standards] (FP_NORMAL): Likewise.
30462 [C99-based standards] (FP_SUBNORMAL): Likewise.
30463 [C99-based standards] (FP_ZERO): Likewise.
30464 [C99-based standards] (FP_FAST_FMA): Use
30465 optional-macro-int-constant. Specify type. Require == 1.
30466 [C99-based standards] (FP_FAST_FMAF): Likewise.
30467 [C99-based standards] (FP_FAST_FMAL): Likewise.
30468 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30469 [C99-based standards] (FP_ILOGBNAN): Likewise.
30470 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30472 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30473 [C99-based standards] (math_errhandling): Specify type.
30474 [ISO99 || ISO11] (signgam): Do not allow.
30475 [non-C99-based standards] (copysignf): Do not allow.
30476 [non-C99-based standards] (exp2f): Likewise.
30477 [non-C99-based standards] (log2f): Likewise.
30478 [non-C99-based standards] (modff): Allow.
30479 [non-C99-based standards] (erff): Do not allow.
30480 [non-C99-based standards] (erfcf): Likewise.
30481 [non-C99-based standards] (gammaf): Likewise.
30482 [non-C99-based standards] (hypotf): Likewise.
30483 [non-C99-based standards] (j0f): Likewise.
30484 [non-C99-based standards] (j1f): Likewise.
30485 [non-C99-based standards] (jnf): Likewise.
30486 [non-C99-based standards] (lgammaf): Likewise.
30487 [non-C99-based standards] (tgammaf): Likewise.
30488 [non-C99-based standards] (y0f): Likewise.
30489 [non-C99-based standards] (y1f): Likewise.
30490 [non-C99-based standards] (ynf): Likewise.
30491 [non-C99-based standards] (isnanf): Likewise.
30492 [non-C99-based standards] (acoshf): Likewise.
30493 [non-C99-based standards] (asinhf): Likewise.
30494 [non-C99-based standards] (atanhf): Likewise.
30495 [non-C99-based standards] (cbrtf): Likewise.
30496 [non-C99-based standards] (expm1f): Likewise.
30497 [non-C99-based standards] (ilogbf): Likewise.
30498 [non-C99-based standards] (log1pf): Likewise.
30499 [non-C99-based standards] (logbf): Likewise.
30500 [non-C99-based standards] (nextafterf): Likewise.
30501 [non-C99-based standards] (remainderf): Likewise.
30502 [non-C99-based standards] (rintf): Likewise.
30503 [non-C99-based standards] (scalbf): Likewise.
30504 [non-C99-based standards] (copysignl): Likewise.
30505 [non-C99-based standards] (exp2l): Likewise.
30506 [non-C99-based standards] (log2l): Likewise.
30507 [non-C99-based standards] (modfl): Allow.
30508 [non-C99-based standards] (erfl): Do not allow.
30509 [non-C99-based standards] (erfcl): Likewise.
30510 [non-C99-based standards] (gammal): Likewise.
30511 [non-C99-based standards] (hypotl): Likewise.
30512 [non-C99-based standards] (j0l): Likewise.
30513 [non-C99-based standards] (j1l): Likewise.
30514 [non-C99-based standards] (jnl): Likewise.
30515 [non-C99-based standards] (lgammal): Likewise.
30516 [non-C99-based standards] (tgammal): Likewise.
30517 [non-C99-based standards] (y0l): Likewise.
30518 [non-C99-based standards] (y1l): Likewise.
30519 [non-C99-based standards] (ynl): Likewise.
30520 [non-C99-based standards] (isnanl): Likewise.
30521 [non-C99-based standards] (acoshl): Likewise.
30522 [non-C99-based standards] (asinhl): Likewise.
30523 [non-C99-based standards] (atanhl): Likewise.
30524 [non-C99-based standards] (cbrtl): Likewise.
30525 [non-C99-based standards] (expm1l): Likewise.
30526 [non-C99-based standards] (ilogbl): Likewise.
30527 [non-C99-based standards] (log1pl): Likewise.
30528 [non-C99-based standards] (logbl): Likewise.
30529 [non-C99-based standards] (nextafterl): Likewise.
30530 [non-C99-based standards] (remainderl): Likewise.
30531 [non-C99-based standards] (rintl): Likewise.
30532 [non-C99-based standards] (scalbl): Likewise.
30533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30534 [non-C99-based standards] (FP_*): Do not allow.
30535 [C99-based standards] (FP_*): Change to
30536 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30537 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30539 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30540 (SIG_ERR): Likewise.
30541 [X/Open-based standards] (SIG_HOLD): Likewise.
30542 (SIG_IGN): Likewise.
30543 (SIGABRT): Use macro-int-constant. Specify type. Require
30545 (SIGFPE): Likewise.
30546 (SIGILL): Likewise.
30547 (SIGINT): Likewise.
30548 (SIGSEGV): Likewise.
30549 (SIGTER): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30568 [X/Open-based standards] (SIGTRAP): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30573 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30576 2012-05-08 Ian Wienand <ianw@vmware.com>
30579 * time/tzset.c (__tzset_parse_tz): Update default rules for
30580 daylight time changes in the Energy Policy Act of 2005.
30582 2012-05-09 Andreas Jaeger <aj@suse.de>
30585 * elf/ldconfig.c (parse_conf): Change string to make clear that
30586 ldconfig only issued a warning if ld.so.conf does not exist.
30588 2012-05-08 David S. Miller <davem@davemloft.net>
30590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30591 movxtod instead of popping the value on the stack.
30593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30595 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30597 * config.h.in: Add HAVE_ARM_PCS_VFP.
30599 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30602 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30603 checking but the checks are disabled for any reason.
30605 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30607 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30608 and ELF64_R_TYPE with ELFW(R_TYPE).
30610 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30612 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30613 (ulimit): Likewise.
30615 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30616 (settimeofday): Likewise.
30618 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30620 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30621 a struct th_u2 inside the union, and move tu_block/tu_code into
30622 a new th_u3 union of tu_block/tu_code inside of that. Move
30623 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30624 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30625 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30626 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30627 (th_stuff): Change to th_u1.tu_stuff.
30629 (th_msg): Change to th_u1.th_u2.tu_data.
30631 2012-05-07 David S. Miller <davem@davemloft.net>
30633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30637 (SETUP_PIC_REG): Use it.
30638 (SETUP_PIC_REG_LEAF): Use it.
30640 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30646 (EXPL_FINITE): Likewise.
30647 (FLDLOG): Likewise.
30648 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30649 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30653 (EXPL_FINITE): Likewise.
30654 (FLDLOG): Likewise.
30655 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30656 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30658 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30659 test of -max_value argument for long double.
30660 * sysdeps/i386/fpu/libm-test-ulps: Update.
30661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30663 2012-05-06 David S. Miller <davem@davemloft.net>
30665 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30666 quad soft-float symbols whose references which are compiler
30668 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30670 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30676 (EXPL_FINITE): Likewise.
30677 (FLDLOG): Likewise.
30680 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30681 Adjust comments for base varying.
30682 (__expl_finite): Change alias to EXPL_FINITE.
30683 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30685 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30686 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30688 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30691 (EXPL_FINITE): Likewise.
30692 (FLDLOG): Likewise.
30695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30696 Adjust comments for base varying.
30697 (__expl_finite): Change alias to EXPL_FINITE.
30698 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30703 * math/libm-test.inc (check_float_internal): Correct ulp
30704 calculation for subnormal expected results.
30706 2012-05-06 Andreas Jaeger <aj@suse.de>
30708 * Makeconfig (+math-flags): New, set to -frounding-math.
30709 (+cflags): Add +math-flags so that all of glibc gets compiled with
30712 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30714 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30716 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30722 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30723 (__ieee754_expl): Allow for and saturate large arguments.
30724 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30725 (u_threshold): Likewise.
30726 (__exp): Call __ieee754_exp before checking for overflow and
30728 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30729 (u_threshold): Likewise.
30730 (__expf): Call __ieee754_expf before checking for overflow and
30732 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30733 (u_threshold): Likewise.
30734 (__expl): Call __ieee754_expl before checking for overflow and
30736 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30737 (__ieee754_expl): Allow for and saturate large arguments.
30738 * math/libm-test.inc (exp_test): Add another test. Do not allow
30739 missing overflow exception on overflow.
30740 (expm1_test): Do not allow missing overflow exception on overflow.
30742 * sysdeps/i386/fpu/e_expl.c: Move to ...
30743 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30744 rather than using inline asm.
30745 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30746 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30747 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30749 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30752 (signal): Likewise.
30756 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30758 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30759 sysdeps/unix/common/syscalls.list.
30760 (fchmod): Likewise.
30761 (fchown): Likewise.
30762 (ftruncate): Likewise.
30763 (getrusage): Likewise.
30764 (gettimeofday): Likewise.
30765 (setpgid): Likewise.
30766 (setregid): Likewise.
30767 (setreuid): Likewise.
30768 (sigaction): Likewise.
30769 (truncate): Likewise.
30770 (vhangup): Likewise.
30771 * sysdeps/unix/common/syscalls.list: Remove file.
30772 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30773 * sysdeps/unix/sysv/linux/Implies: Likewise.
30775 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30777 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30779 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30783 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30786 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30789 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30792 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30795 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30798 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30801 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30805 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30812 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30816 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30820 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30822 * sysdeps/unix/common/bits/dirent.h: Remove file.
30823 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30825 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30826 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30827 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30828 * sysdeps/unix/bsd/isatty.c: Likewise.
30829 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30830 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30831 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30833 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30837 long double comparison inaccuracies.
30838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30841 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30843 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30846 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30850 nonzero digits before rounding a hex value.
30851 * stdlib/tst-strtod.c (tests): Add another test.
30853 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30855 * sysdeps/s390/fpu/libm-test-ulps: Update.
30857 2012-05-03 Andreas Jaeger <aj@suse.de>
30859 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30860 does not get optimized out.
30861 (malloc_opt_barrier): New.
30863 2012-05-03 Andreas Jaeger <aj@suse.de>
30864 Roland McGrath <roland@hack.frob.com>
30866 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30867 intermediate file deletion.
30868 (generated): Add .symlist files.
30870 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30873 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30874 Redirect under this condition.
30875 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30876 [__USE_GNU] (__dprintf_chk): Not under this condition.
30877 [__USE_GNU] (__vdprintf_chk): Likewise.
30878 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30879 under this condition.
30880 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30881 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30882 [__USE_XOPEN2K8] (vdprintf): Likewise.
30883 [__USE_GNU] (__dprintf_chk): Not under this condition.
30884 [__USE_GNU] (__vdprintf_chk): Likewise.
30885 [__USE_GNU] (dprintf): Likewise.
30886 [__USE_GNU] (vdprintf): Likewise.
30888 2012-05-03 Roland McGrath <roland@hack.frob.com>
30890 * elf/Makefile (common-generated): Set this instead of generated for
30891 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30892 $(all-built-dso)-derived lists.
30894 2012-05-03 Andreas Jaeger <aj@suse.de>
30896 * sysdeps/i386/fpu/libm-test-ulps: Update.
30899 * FAQ.in: Likewise.
30900 * scripts/gen-FAQ.pl: Likewise.
30901 * manual/install.texi (Installation): Point to online location of
30903 * Makefile (files-for-dist): Remove FAQ.
30906 2012-05-02 Allan McRae <allan@archlinux.org>
30908 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30909 (LDFLAGS-reldepmod5.so): Likewise.
30910 (LDFLAGS-reldep6mod1.so): Likewise.
30911 (LDFLAGS-reldep6mod4.so): Likewise.
30912 (LDFLAGS-reldep8mod3.so): Likewise.
30913 (LDFLAGS-unload4mod1.so): Likewise.
30914 (LDFLAGS-unload4mod2.so): Likewise.
30915 (LDFLAGS-tst-initorder): Likewise.
30916 (LDFLAGS-tst-initordera2.so): Likewise.
30917 (LDFLAGS-tst-initordera3.so): Likewise.
30918 (LDFLAGS-tst-initordera4.so): Likewise.
30919 (LDFLAGS-tst-initorderb2.so): Likewise.
30920 (LDFLAGS-noload): Likewise.
30921 (LDFLAGS-next): Likewise.
30922 (LDFLAGS-order2mod1.so): Likewise.
30923 (LDFLAGS-order2mod2.so): Likewise.
30924 (LDFLAGS-tst-initorder2): Likewise.
30925 (LDFLAGS-tst-initorder2a.so): Likewise.
30926 (LDFLAGS-tst-initorder2b.so): Likewise.
30927 (LDFLAGS-tst-initorder2c.so): Likewise.
30928 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30930 2012-05-02 David S. Miller <davem@davemloft.net>
30932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30934 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30937 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30939 2012-05-02 Andreas Jaeger <aj@suse.de>
30941 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30942 since we manipulate rounding mode.
30943 (CPPFLAGS-test-idouble.c): Likewise.
30944 (CPPFLAGS-test-ifloat.c): Likewise.
30945 (CFLAGS-test-ldouble.c): Likewise.
30946 (CFLAGS-test-double.c): Likewise.
30947 (CFLAGS-test-float.c): Likewise.
30948 (CFLAGS-test-misc.c): Likewise.
30949 (CFLAGS-test-test-fenv.c): Likewise.
30951 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30956 comparisons to determine direction to adjust input.
30958 2012-05-01 Roland McGrath <roland@hack.frob.com>
30960 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30961 output to the target.
30963 * scripts/localplt.awk: New file.
30964 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30965 (check-localplt-CFLAGS): Variable removed.
30966 ($(all-built-dso:=.jmprel)): New static pattern rule.
30967 (generated): Add those targets.
30968 (localplt-built-dso): New variable.
30969 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30971 * elf/check-localplt.c: File removed.
30973 * scripts/check-execstack.awk: New file.
30974 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30975 (check-execstack-CFLAGS): Variable removed.
30976 ($(objpfx)check-execstack.h): Target removed.
30977 ($(objpfx)execstack-default): New target.
30978 (generated): Add that instead of check-execstack.h.
30979 ($(all-built-dso:=.phdr)): New static pattern rule.
30980 (generated): Add those targets.
30981 * elf/check-execstack.c: File removed.
30983 * scripts/check-textrel.awk: New file.
30984 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30985 (check-textrel-CFLAGS): Variable removed.
30986 (all-built-dso): Use := to define.o
30987 ($(all-built-dso:=.dyn)): New static pattern rule.
30988 (generated): Add those targets.
30989 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30990 * config.make.in (READELF): New substituted variable.
30991 * elf/check-textrel.c: File removed.
30993 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30995 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30997 * conform/data/ctype.h-data [C99-based standards] (isblank):
30999 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31000 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31002 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31003 Specify type. Require positive value.
31004 (EILSEQ): Likewise.
31005 (ERANGE): Likewise.
31006 [ISO || POSIX] (EILSEQ): Do not expect.
31007 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31008 Specify type. Require positive value.
31009 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31010 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31011 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31012 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31013 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31014 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31015 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31016 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31017 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31018 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31019 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31020 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31021 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31022 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31023 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31024 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31025 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31026 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31027 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31028 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31029 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31030 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31031 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31032 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31033 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31034 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31035 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31036 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31037 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31038 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31039 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31040 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31041 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31042 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31043 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31044 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31045 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31046 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31047 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31048 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31049 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31050 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31051 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31052 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31053 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31054 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31055 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31056 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31057 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31058 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31059 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31060 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31061 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31062 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31063 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31064 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31065 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31066 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31067 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31068 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31069 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31070 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31071 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31072 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31073 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31074 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31075 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31076 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31077 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31078 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31079 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31080 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31081 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31082 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31083 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31084 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31085 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31087 (FLT_ROUNDS): Expect as macro, not constant.
31088 (FLT_MANT_DIG): Use macro-int-constant.
31089 (DBL_MANT_DIG): Likewise.
31090 (LDBL_MANT_DIG): Likewise.
31091 (FLT_DIG): Likewise.
31092 (DBL_DIG): Likewise.
31093 (LDBL_DIG): Likewise.
31094 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31095 (DBL_MIN_EXP): Likewise.
31096 (LDBL_MIN_EXP): Likewise.
31097 (FLT_MAX_EXP): Use macro-int-constant.
31098 (DBL_MAX_EXP): Likewise.
31099 (LDBL_MAX_EXP): Likewise.
31100 (FLT_MAX_10_EXP): Likewise.
31101 (DBL_MAX_10_EXP): Likewise.
31102 (LDBL_MAX_10_EXP): Likewise.
31103 (FLT_MAX): Use macro-constant.
31104 (DBL_MAX): Likewise.
31105 (LDBL_MAX): Likewise.
31106 (FLT_EPSILON): Use macro-constant. Give upper bound.
31107 (DBL_EPSILON): Likewise.
31108 (LDBL_EPSILON): Likewise.
31109 (FLT_MIN): Likewise.
31110 (DBL_MIN): Likewise.
31111 (LDBL_MIN): Likewise.
31112 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31113 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31114 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31115 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31116 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31117 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31118 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31119 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31120 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31121 [ISO11] (FLT_TRUE_MIN): Likewise.
31122 [ISO11] (LDBL_TRUE_MIN): Likewise.
31123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31124 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31125 (SCHAR_MIN): Use macro-int-constant. Specify type.
31126 (SCHAR_MAX): Likewise.
31127 (UCHAR_MAX): Likewise.
31128 (CHAR_MIN): Likewise.
31129 (CHAR_MAX): Likewise.
31130 (MB_LEN_MAX): Use macro-int-constant.
31131 (SHRT_MIN): Use macro-int-constant. Specify type.
31132 (SHRT_MAX): Likewise.
31133 (USHRT_MAX): Likewise.
31134 (INT_MAX): Likewise.
31135 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31137 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31139 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31141 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31142 bound negative. Suffix upper bound with "L".
31143 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31145 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31147 [C99-based standards] (LLONG_MAX): Likewise.
31148 [C99-based standards] (ULLONG_MAX): Likewise.
31149 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31151 [ISO11] (max_align_t): Require type.
31152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31154 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31155 from $CFLAGS, without defining away __attribute__ calls.
31156 (checknamespace): Use $CFLAGS_namespace.
31158 * conform/conformtest.pl (@keywords): Only include C99 keywords
31159 for standards based on C99 or C11.
31161 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31163 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31166 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31167 usability of symbols in #if.
31169 * conform/conformtest.pl: If macro or constant types start
31170 "promoted:", expect the symbol to be of the following type
31171 promoted by the integer promotions.
31173 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31174 in one place. Also handle "macro-constant".
31176 * conform/conformtest.pl: Only accept expected macro values with
31177 "==". Parse all "macro" lines in one place.
31178 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31180 * conform/conformtest.pl: Handle braced types on "constant" lines
31181 instead of handling "typed-constant".
31182 * conform/data/signal.h-data: Use "constant" instead of
31185 * conform/conformtest.pl: Handle "optional-" at start of lines in
31186 one place rather than duplicating several cases. Handle each
31187 format of "macro" line with initial "optional-".
31189 * conform/conformtest.pl: Only accept expected constant or
31190 optional-constant values with "==". Parse all "constant" lines in
31191 one place. Parse all "optional-constant" lines in one place.
31192 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31193 * conform/data/fmtmsg.h-data: Likewise.
31194 * conform/data/netinet/in.h-data: Likewise.
31195 * conform/data/tar.h-data: Likewise.
31196 * conform/data/limits.h-data: Use "==" form on "constant" and
31197 "optional-constant" lines.
31199 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31200 Use -std=c99 for XOPEN2K.
31201 (@knownproblems): Remove.
31202 (newtoken): Don't check %isknown.
31204 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31205 Do not expect macro.
31206 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31213 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31214 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31215 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31216 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31217 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31218 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31219 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31220 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31221 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31222 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31223 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31224 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31225 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31226 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31228 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31229 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31230 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31231 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31232 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31233 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31234 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31235 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31236 [XPG3] (acosh): Likewise.
31237 [XPG3] (asinh): Likewise.
31238 [XPG3] (atanh): Likewise.
31239 [XPG3] (cbrt): Likewise.
31240 [XPG3] (expm1): Likewise.
31241 [XPG3] (ilogb): Likewise.
31242 [XPG3] (log1p): Likewise.
31243 [XPG3] (logb): Likewise.
31244 [XPG3] (nextafter): Likewise.
31245 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31246 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31247 [XPG3] (remainder): Likewise.
31248 [XPG3] (rint): Likewise.
31249 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31250 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31251 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31253 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31254 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31255 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31256 [UNIX98 || XOPEN2K] (scalb): Expect.
31257 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31258 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31259 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31260 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31261 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31262 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31263 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31264 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31265 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31266 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31267 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31268 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31269 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31270 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31271 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31272 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31273 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31274 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31275 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31276 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31277 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31278 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31279 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31280 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31281 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31282 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31283 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31284 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31285 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31286 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31287 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31288 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31289 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31290 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31291 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31292 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31293 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31294 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31295 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31296 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31297 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31298 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31299 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31300 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31301 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31302 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31303 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31304 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31305 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31306 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31307 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31308 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31309 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31310 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31311 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31312 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31313 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31314 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31315 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31316 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31317 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31318 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31319 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31320 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31322 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31323 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31324 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31325 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31326 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31327 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31328 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31329 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31330 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31331 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31332 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31333 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31334 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31336 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31337 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31338 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31339 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31340 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31341 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31342 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31343 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31344 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31345 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31346 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31347 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31348 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31349 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31350 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31351 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31352 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31353 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31354 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31355 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31356 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31357 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31358 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31359 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31361 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31362 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31363 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31367 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31368 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31369 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31370 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31371 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31372 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31374 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31375 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31376 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31377 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31386 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31389 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31390 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31395 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31396 _XOPEN_SOURCE_EXTENDED for XPG4.
31398 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31400 * Makeconfig (localtime): Remove variable.
31401 (inst_localtime-file): Likewise.
31403 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31424 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31428 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31429 comparisons to determine direction to adjust input.
31430 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31431 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31434 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31441 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31443 * math/libm-test.inc (nexttoward_test): Add more tests.
31445 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31449 in version GLIBC_2.1, not GLIBC_2.0.
31450 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31453 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31459 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31460 * math/libm-test.inc (acos_test): Add more tests.
31461 (asin_test): Likewise.
31462 * sysdeps/i386/fpu/libm-test-ulps: Update.
31463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31466 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31468 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31469 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31470 * math/libm-test.inc (acos_test_tonearest): New function.
31471 (acos_test_towardzero): Likewise.
31472 (acos_test_downward): Likewise.
31473 (acos_test_upward): Likewise.
31474 (asin_test_tonearest): Likewise.
31475 (asin_test_towardzero): Likewise.
31476 (asin_test_downward): Likewise.
31477 (asin_test_upward): Likewise.
31478 (main): Call the new functions.
31479 * sysdeps/i386/fpu/libm-test-ulps: Update.
31480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31484 * math/e_exp10.c: Include <float.h>.
31485 (__ieee754_exp10): Handle underflow here rather than multiplying
31486 large negative argument by M_LN10.
31487 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31489 * math/e_exp10l.c: Include <float.h>.
31490 (__ieee754_exp10l): Handle underflow here rather than multiplying
31491 large negative argument by M_LN10l.
31492 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31493 spurious overflow exception on underflow.
31495 2012-04-29 Marek Polacek <polacek@redhat.com>
31497 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31498 (__fortify_function): New macro.
31499 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31500 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31501 __extern_always_inline.
31502 * libio/bits/stdio2.h: Likewise.
31503 * libio/bits/stdio.h: Likewise.
31504 * string/string.h: Likewise.
31505 * string/bits/string3.h: Likewise.
31506 * include/stdio.h: Likewise.
31507 * stdlib/bits/stdlib.h: Likewise.
31508 * stdlib/stdlib.h: Likewise.
31509 * rt/bits/mqueue2.h: Likewise.
31510 * rt/mqueue.h: Likewise.
31511 * posix/bits/unistd.h: Likewise.
31512 * posix/unistd.h: Likewise.
31513 * io/bits/poll2.h: Likewise.
31514 * io/bits/fcntl2.h: Likewise.
31515 * io/fcntl.h: Likewise.
31516 * io/sys/poll.h: Likewise.
31517 * misc/bits/syslog.h: Likewise.
31518 * misc/bits/syslog-ldbl.h: Likewise.
31519 * misc/sys/syslog.h: Likewise.
31520 * socket/bits/socket2.h: Likewise.
31521 * socket/sys/socket.h: Likewise.
31522 * debug/tst-chk1.c: Likewise.
31523 * wcsmbs/bits/wchar2.h: Likewise.
31524 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31525 * wcsmbs/wchar.h: Likewise.
31527 2012-04-29 Andreas Jaeger <aj@suse.de>
31529 * Makerules (tests): Remove enable-check-abi protection.
31530 (check-abi-warn): Remove.
31531 (check-abi-%): Remove check-abi-warn usage.
31533 * configure.in: Remove check-abi configure option.
31534 * configure: Regenerated.
31535 * config.make.in (enable-check-abi): Remove.
31537 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31540 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31541 double functions to double *_finite functions.
31544 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31545 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31547 * stdio-common/Makefile (tests): Add tst-sprintf3.
31548 * stdio-common/tst-sprintf3.c: New file.
31550 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31551 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31553 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31555 * conform/conformtest.pl: Remove duplicate typed-constant
31558 2012-04-28 David S. Miller <davem@davemloft.net>
31560 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31561 (check-abi-%): Remove AWK script prerequisite and explicit
31563 (check-abi): Rewrite to just diff the symlist with the abilist.
31564 (config-tls, config-abi-config): Delete, no longer used.
31565 (update-abi-%): Remove AWK script and explicit abilist directory.
31566 (update-abi): Rewrite to simply compare and conditionally copy the
31567 symlist and the sysdep abilist file. Remove update-abi-config
31569 * abilist/ld.abilist: Remove.
31570 * abilist/libBrokenLocale.abilist: Remove.
31571 * abilist/libanl.abilist: Remove.
31572 * abilist/libcrypt.abilist: Remove.
31573 * abilist/libdl.abilist: Remove.
31574 * abilist/librt.abilist: Remove.
31575 * abilist/libthread_db.abilist: Remove.
31576 * abilist/libutil.abilist: Remove.
31577 * scripts/extract-abilist.awk: Remove.
31578 * scripts/merge-abilist.awk: Remove.
31579 * sysdeps/generic/libcidn.abilist: New file.
31580 * sysdeps/generic/libnss_compat.abilist: New file.
31581 * sysdeps/generic/libnss_db.abilist: New file.
31582 * sysdeps/generic/libnss_dns.abilist: New file.
31583 * sysdeps/generic/libnss_files.abilist: New file.
31584 * sysdeps/generic/libnss_hesiod.abilist: New file.
31585 * sysdeps/generic/libnss_nis.abilist: New file.
31586 * sysdeps/generic/libnss_nisplus.abilist: New file.
31587 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31588 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31589 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31592 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31593 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31594 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31595 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31596 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31597 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31598 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31599 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31601 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31602 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31603 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31604 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31606 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31608 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31610 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31611 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31613 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31614 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31615 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31617 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31720 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31721 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31722 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31725 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31726 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31727 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31728 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31729 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31730 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31731 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31732 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31733 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31785 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31787 * conform/conformtest.pl: Fix typo in handling typed-constant from
31790 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31792 * README: Cut down references to pre-2.6 Linux kernels and
31793 Linuxthreads. Update lists of configurations in libc and ports
31794 and sort alphabetically. Say "or newer" with Linux kernel version
31797 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31799 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31802 * math/libm-test.inc (logb_test_downward): New test to expose
31803 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31806 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31809 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31811 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31812 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31814 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31816 * sysdeps/unix/i386/brk.S: Remove file.
31817 * sysdeps/unix/i386/dl-brk.S: Likewise.
31818 * sysdeps/unix/i386/pipe.S: Likewise.
31819 * sysdeps/unix/i386/sigreturn.S: Likewise.
31820 * sysdeps/unix/i386/syscall.S: Likewise.
31821 * sysdeps/unix/i386/vfork.S: Likewise.
31822 * sysdeps/unix/i386/wait.S: Likewise.
31824 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31825 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31827 * configure.in (arm*-none*): Do not allow without
31828 --enable-hacker-mode.
31829 (netbsd*): Remove case setting base_os.
31830 (386bsd*): Likewise.
31831 (freebsd*): Likewise.
31834 (sunos*): Likewise.
31835 (ultrix*): Likewise.
31836 (newsos*): Likewise.
31837 (dynix*): Likewise.
31843 (minix*): Likewise.
31844 (irix4*): Likewise.
31845 (irix6*): Likewise.
31846 (solaris[2-9]*): Likewise.
31848 * configure: Regenerated.
31850 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31854 overflow or cancellation in calculating denominator.
31855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31857 down expression to avoid unexpected rounding in newer GCCs.
31858 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31860 2012-04-26 David S. Miller <davem@davemloft.net>
31862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31863 long-double compat symbols.
31864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31878 2012-04-25 David S. Miller <davem@davemloft.net>
31880 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31881 HWCAP_* values only after the memory barriers have been defined.
31882 (atomic_full_barrier): Define.
31883 (atomic_read_barrier): Define.
31884 (atomic_write_barrier): Define.
31886 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31888 * shlib-versions: Add libgcc_s version information.
31889 * sysdeps/generic/libgcc_s.h: Remove.
31890 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31892 * sysdeps/gnu/unwind-resume.c: Likewise.
31893 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31895 2012-04-25 David S. Miller <davem@davemloft.net>
31897 * sysdeps/unix/sparc/brk.S: Delete.
31898 * sysdeps/unix/sparc/dl-brk.S: Delete.
31899 * sysdeps/unix/sparc/pipe.S: Delete.
31900 * sysdeps/unix/sparc/sysdep.S: Delete.
31901 * sysdeps/unix/sparc/sysdep.h: Delete.
31902 * sysdeps/unix/sparc/vfork.S: Delete.
31903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31904 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31906 (ret_ERRVAL, r0, r1, MOVE): Define.
31907 (JUMPTARGET): Remove.
31908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31909 sysdeps/unix/sparc/sysdep.h
31910 (ENTRY, END): Remove.
31911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31913 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31915 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31916 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31919 * timezone/README: Update upstream location and email address for
31921 * timezone/zdump.c: Update from tzcode 2012b.
31922 * timezone/zic.c: Likewise.
31924 * configure.in (libc_cv_as_needed): Remove test.
31925 * configure: Regenerated.
31926 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31927 conditional definition.
31928 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31929 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31930 * config.make.in (have-as-needed): Remove variable.
31932 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31933 Paul Pluzhnikov <ppluzhnikov@google.com>
31935 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31938 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31940 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31941 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31942 * sysdeps/sh/strlen.S: Likewise.
31944 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31946 * sysdeps/unix/fork.S: Remove file.
31947 * sysdeps/unix/i386/fork.S: Likewise.
31948 * sysdeps/unix/sparc/fork.S: Likewise.
31950 * sysdeps/unix/system.c: Remove file.
31951 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31953 * sysdeps/unix/getegid.S: Remove file.
31954 * sysdeps/unix/geteuid.S: Likewise.
31956 2012-04-24 Roland McGrath <roland@hack.frob.com>
31958 * scripts/check-localplt.awk: New file.
31959 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31961 * scripts/data/localplt-generic.data: Add a comment.
31963 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31964 NODE when __dir_mkfile failed.
31965 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31966 Reported by Ludovic Courtès <ludo@gnu.org>.
31968 2012-04-24 Andreas Jaeger <aj@suse.de>
31970 * Makerules (common-clean): Also remove gen-as-const-headers
31973 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31975 * Makerules (native-compile): Do not change working directory for
31976 build. Use $(OUTPUT_OPTION) in command.
31977 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31979 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31982 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31983 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31984 * math/libm-test.inc (floor_test): Add more tests.
31985 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31987 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31989 * sysdeps/unix/getdents.c: Remove file.
31990 * sysdeps/unix/sysv/getdents.c: Likewise.
31991 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31993 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31994 sysdeps/unix/mman/syscalls.list.
31996 (mprotect): Likewise.
31998 (munmap): Likewise.
31999 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32000 * sysdeps/unix/mman/syscalls.list: Remove.
32001 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32003 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32004 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32005 * configure: Regenerated.
32006 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32007 $(libgcc_s_suffix).
32008 * config.make.in (libgcc_s_suffix): Remove variable.
32010 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32012 * sysdeps/unix/sysv/gethostname.c: Move to ...
32013 * sysdeps/posix/gethostname.c: ... here.
32015 * sysdeps/unix/execve.S: Remove file.
32017 * sysdeps/unix/_exit.S: Remove file.
32019 2012-04-23 Andreas Jaeger <aj@suse.de>
32022 * manual/Makefile: Remove make dist support, there's no
32023 need for a stand-alone documentation tar ball.
32024 (TEXI2DVI): Define always, it's not in Makeconfig.
32027 (edition): Removed.
32028 (glibc-doc-$(edition).tar): Removed
32032 (ETAGS): Remove, it's in Makeconfig.
32033 (move-if-change): Remove, it's in Makeconfig.
32035 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32038 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32039 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32040 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32041 (strtod_l, strtof_l, strtold_l): Remove __wur.
32042 It is not necessarily an error to ignore strtol's return value.
32043 One can reliably look at the stored endptr to decide whether
32044 the number had valid syntax.
32046 2012-04-21 Andreas Jaeger <aj@suse.de>
32049 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32051 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32053 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32054 * sysdeps/unix/sysv/Versions: Remove file.
32056 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32061 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32064 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32065 version from __vm86.
32067 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32069 * sysdeps/unix/common/lxstat.c: Remove file.
32070 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32072 * sysdeps/unix/sysv/Makefile: Remove file.
32074 * sysdeps/unix/sysv/direct.h: Remove file.
32076 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32077 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32078 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32079 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32080 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32081 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32082 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32084 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32086 * sysdeps/unix/xmknod.c: Remove file.
32087 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32089 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32091 * sysdeps/unix/sysv/i386/time.S: Remove file.
32093 * sysdeps/unix/fxstat.c: Remove file.
32094 * sysdeps/unix/xstat.c: Likewise.
32095 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32097 * sysdeps/unix/sysv/sigaction.c: Remove file.
32099 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32100 (sysdep_headers): Remove variable.
32101 [termio.h not in sysdep_headers] (generated): Likewise.
32102 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32103 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32104 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32105 * sysdeps/unix/sysv/tcflow.c: Likewise.
32106 * sysdeps/unix/sysv/tcflush.c: Likewise.
32107 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32108 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32109 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32110 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32111 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32113 * sysdeps/unix/siglist.c: Remove file.
32115 * sysdeps/unix/getppid.S: Remove file.
32117 * sysdeps/unix/mkdir.c: Remove file.
32118 * sysdeps/unix/rmdir.c: Likewise.
32120 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32122 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32125 errlist-compat value.
32127 2012-04-18 David S. Miller <davem@davemloft.net>
32129 * sysdeps/generic/memcopy.h (reg_char): Delete.
32130 * debug/strcat_chk.c: Use char, not reg_char.
32131 * debug/strcpy_chk.c: Likewise.
32132 * debug/strncat_chk.c: Likewise.
32133 * debug/strncpy_chk.c: Likewise.
32134 * string/memchr.c: Likewise.
32135 * string/memrchr.c: Likewise.
32136 * string/rawmemchr.c: Likewise.
32137 * string/strcat.c: Likewise.
32138 * string/strchr.c: Likewise.
32139 * string/strchrnul.c: Likewise.
32140 * string/strcmp.c: Likewise.
32141 * string/strcpy.c: Likewise.
32142 * string/strncat.c: Likewise.
32143 * string/strncmp.c: Likewise.
32144 * string/strncpy.c: Likewise.
32146 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32148 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32149 __builtin_memcopy is called when src and dest ranges are known to not
32152 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32154 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32155 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32156 fwd_align_merge macro call.
32157 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32158 bwd_align_merge macro call.
32159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32161 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32164 bwd_align_merge macros.
32165 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32166 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32169 2012-04-18 David S. Miller <davem@davemloft.net>
32171 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32173 2012-04-18 Andreas Jaeger <aj@suse.de>
32176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32177 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32181 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32184 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32185 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32186 Adjust for changed ldbl-128 files.
32188 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32189 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32192 2012-04-17 David S. Miller <davem@davemloft.net>
32194 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32196 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32198 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32199 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32200 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32201 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32202 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32203 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32205 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32208 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32209 * math/libm-test.inc: Add ilogb errno and exception tests.
32210 * math/w_ilogb.c: New file: ilogb wrapper.
32211 * math/w_ilogbf.c: New file: ilogbf wrapper.
32212 * math/w_ilogbl.c: New file: ilogbl wrapper.
32213 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32214 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32215 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32216 exception being thrown with 0.0 as argument.
32217 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32218 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32219 exception being thrown with 0.0 as argument.
32220 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32221 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32222 exception being thrown with 0.0 as argument.
32223 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32224 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32225 exception being thrown with 0.0 as argument.
32226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32227 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32229 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32230 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32231 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32232 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32233 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32234 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32236 2012-04-17 Petr Baudis <pasky@ucw.cz>
32238 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32241 2012-04-16 Marek Polacek <polacek@redhat.com>
32243 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32245 2012-04-16 Marek Polacek <polacek@redhat.com>
32247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32248 operands of fdivp instruction.
32250 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32252 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32253 * elf/tst-auditmod3b.c: Likewise.
32254 * elf/tst-auditmod4b.c: Likewise.
32255 * elf/tst-auditmod5b.c: Likewise.
32256 * elf/tst-auditmod6b.c: Likewise.
32257 * elf/tst-auditmod6c.c: Likewise.
32258 * elf/tst-auditmod7b.c: Likewise.
32259 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32260 * sysdeps/x86_64/preconfigure.in: Likewise.
32261 * sysdeps/x86_64/preconfigure: Regenerated.
32263 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32265 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32268 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32271 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32273 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32276 * locale/iso-639.def: Fix gl language name. Spotted by
32279 2012-04-12 Roland McGrath <roland@hack.frob.com>
32282 * libio/libio.h (__io_write_fn): Update comment.
32284 2012-04-12 Petr Baudis <pasky@ucw.cz>
32287 * stdio.texi (Hook Functions): The user provided writer function
32288 is not allowed to return -1.
32290 2012-04-11 David S. Miller <davem@davemloft.net>
32292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32294 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32296 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32297 Add a leading slash to rtkaio.
32299 2012-04-11 Jim Meyering <meyering@redhat.com>
32302 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32303 It is not necessarily an error to ignore fwrite's return
32304 value. One can reliably use ferror to test for errors after
32307 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32309 * bits/types.h (__snseconds_t): New type.
32310 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32312 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32314 (__SNSECONDS_T_TYPE): Likewise.
32315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32316 (__SNSECONDS_T_TYPE): Likewise.
32317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32318 (__SNSECONDS_T_TYPE): Likewise.
32320 2012-04-10 Andreas Jaeger <aj@suse.de>
32323 * manual/time.texi (Processor Time): Return type of times is
32324 elapsed real time since an arbitrary point in the past.
32325 (CPU Time): Move CLK_TCK from here...
32326 (Processor Time): ...to here. Correct description.
32327 * manual/conf.texi (Constants for Sysconf): Correct description of
32330 2012-04-10 David S. Miller <davem@davemloft.net>
32333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32334 where the is a gap between DT_REL(A) and DT_JMPREL.
32336 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32338 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32342 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32344 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32345 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32346 (dl_main): Handle --inhibit-cache.
32347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32349 * elf/dl-load.c (_dl_map_object): Use it.
32350 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32352 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32355 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32356 (__ieee754_powl): Saturate large exponents rather than testing for
32357 overflow of y*log2(x).
32358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32359 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32363 * math/s_ctan.c: Include <float.h>.
32364 (__ctan): Avoid internal overflow or cancellation in calculating
32366 * math/s_ctanf.c: Likewise.
32367 * math/s_ctanl.c: Likewise.
32368 * math/s_ctanh.c: Likewise.
32369 * math/s_ctanhf.c: Likewise.
32370 * math/s_ctanhl.c: Likewise.
32371 * math/libm-test.inc (ctan_test): Add more tests.
32372 (ctanh_test): Likewise.
32373 * sysdeps/i386/fpu/libm-test-ulps: Update.
32374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32376 2012-04-09 Andreas Jaeger <aj@suse.de>
32379 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32380 is an optional BSD extension.
32383 * manual/stdio.texi (Opening Streams): Document additional fopen
32386 2012-04-09 Roland McGrath <roland@hack.frob.com>
32388 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32389 %eax without telling the compiler.
32391 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32394 * manual/install.texi: Use sourceware.org.
32396 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32399 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32400 (__ieee754_pow): Generate overflow and underflow using huge*huge
32401 and tiny*tiny rather than just returning constant infinity or zero
32402 for large exponents.
32403 * math/libm-test.inc (pow_test): Require overflow exceptions for
32404 applicable cases of large exponents.
32407 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32408 (__ieee754_pow): Use iterative multiplication algorithm only for
32409 integer exponents with absolute value below 1024. Check for odd
32410 integer exponents when using algorithm for real exponents.
32411 * math/libm-test.inc (pow_test): Add more tests.
32412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32414 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32417 * math/libm-test.inc (exp_test): Do not allow overflow exception
32420 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32423 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32424 instead of __kernel_standard_f.
32426 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32428 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32429 * sysdeps/x86_64/memset_chk.S: Likewise.
32431 2012-04-08 Andreas Jaeger <aj@suse.de>
32434 * manual/startup.texi (Environment Access): Describe return value
32435 for putenv and setenv.
32438 * manual/filesys.texi (Directory Entries): Add description for
32442 * manual/filesys.texi (Directory Entries): Clarify that it's file
32443 system not operating system in the description of DT_UNKNOWN.
32446 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32448 2012-04-08 Stephen Compall <s11@member.fsf.org>
32451 * manual/llio.texi (Opening and Closing Files): Add cross
32452 reference to explain mode argument.
32454 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32456 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32457 * sysdeps/x86_64/memset_chk.S: Likewise.
32459 2012-04-07 David S. Miller <davem@davemloft.net>
32461 * elf/elf.h (R_SPARC_WDISP10): Define.
32462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32465 R_SPARC_SIZE64 and R_SPARC_H34.
32467 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32470 conditions and remove no longer applicable assertion.
32472 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32474 * bits/byteswap.h: Include <features.h>.
32475 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32476 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32478 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32480 * bits/byteswap.h (__bswap_16): Removed.
32481 Include <bits/byteswap-16.h> to get __bswap_16.
32482 * sysdeps/i386/bits/byteswap.h: Likewise.
32483 * sysdeps/s390/bits/byteswap.h: Likewise.
32484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32485 * bits/byteswap-16.h: New file.
32486 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32487 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32488 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32489 * string/Makefile (headers): Add bits/byteswap-16.h.
32491 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32494 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32496 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32497 * nss/tst-nss-static.c: New.
32499 2012-04-06 Robert Millan <rmh@gnu.org>
32502 * manual/llio.texi (File Position Primitive): lseek
32503 refers to WHENCE when it really means OFFSET.
32505 2012-04-06 Andreas Jaeger <aj@suse.de>
32507 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32508 strncmp declarations.
32510 * abilist/libc.abilist: Add __poll and __ppoll.
32512 2012-04-05 David S. Miller <davem@davemloft.net>
32514 * scripts/check-local-headers.sh: Accept a host triplet in the
32515 path matched by the exclude regexp.
32517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32519 * sysdeps/powerpc/powerpc32/dl-machine.h
32520 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32521 * sysdeps/s390/s390-32/dl-machine.h
32522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32523 * sysdeps/sparc/sparc32/dl-machine.h
32524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32525 * sysdeps/sparc/sparc64/dl-machine.h
32526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32528 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32530 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32531 undefined symbol errors.
32533 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32536 2012-04-05 Michael Matz <matz@suse.de>
32539 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32541 2012-04-05 Andreas Jaeger <aj@suse.de>
32544 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32547 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32550 which ROUND is no valid rounding mode.
32552 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32554 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32556 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32560 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32561 an exception using FPU order intentionally.
32563 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32565 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32566 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32567 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32568 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32570 2012-04-05 Simon Josefsson <simon@josefsson.org>
32573 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32574 EINVAL when BUFLEN is too smal.
32576 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32579 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32580 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32582 2012-04-03 Andreas Jaeger <aj@suse.de>
32585 * manual/setjmp.texi (System V contexts): Fix sentence.
32588 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32589 New macro for this case.
32590 [!__GNUC__] (__bswap_64): New inline function for this case.
32591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32592 * bits/byteswap.h: Likewise.
32593 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32594 ull, guard with __GLIBC_HAVE_LONG_LONG.
32596 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32597 __GLIBC_HAVE_LONG_LONG.
32599 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32600 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32602 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32605 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32606 inptr and inend, rather than using last_ch.
32608 2012-04-02 David S. Miller <davem@davemloft.net>
32610 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32611 * stdio-common/printf-parse.h (read_int): Change return type to
32612 'int', return -1 on INT_MAX overflow.
32613 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32614 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32615 overflows INT_MAX. Check for overflow of in-format-string precision
32616 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32617 SIZE_MAX not INT_MAX for integer overflow test.
32618 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32619 skip the construct in the format string but do not record anything.
32620 * stdio-common/bug22.c: Adjust to test both width/prevision
32621 INT_MAX overflow as well as total length INT_MAX overflow. Check
32622 explicitly for proper errno values.
32624 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32626 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32628 * string/test-strcmp.c [! WIDE]: Likewise.
32629 * time/tst-mktime2.c: Likewise for INT_MAX.
32630 * string/test-string.h: #include <sys/param.h> for MIN.
32632 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32633 * sysdeps/i386/init-first.c (init): Likewise.
32634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32635 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32636 * sysdeps/sh/init-first.c (init): Likewise.
32638 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32640 * po/ru.po: Update from translation team.
32641 * po/vi.po: Likewise.
32643 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32645 * resolv/nss_dns/dns-host.c: Merge copyright years.
32647 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32650 Optimize memcpy with prefetch if
32651 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32652 src, dst pointers have unequal 16 byte alignments.
32654 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32657 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32658 from a CNAME entry and return the minimum ttl for the query.
32659 (gaih_getanswer_slice): Likewise.
32661 2012-03-30 Jeff Law <law@redhat.com>
32663 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32665 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32666 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32668 * resolv/nss_dns/dns-host.c: Update copyright year.
32670 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32672 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32673 requests to save a system call. Fix check that all bytes are sent.
32675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32676 comments for sendmmsg.
32678 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32682 with only 1 character between 0x0041 and 0x01b0.
32683 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32684 * wcsmbs/tst-mbsnrtowcs.c: New file.
32686 2012-03-29 David S. Miller <davem@davemloft.net>
32688 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32689 small copies by hand.
32691 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32694 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32695 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32698 2012-03-28 David S. Miller <davem@davemloft.net>
32700 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32701 that branches into memcpy.
32702 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32705 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32708 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32709 implementation too.
32710 * sysdeps/sparc/mempcpy.S: New file.
32712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32713 the IFUNC routine in the libc case.
32714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32716 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32717 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32718 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32719 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32720 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32721 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32722 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32723 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32725 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32726 loop to 256 bytes instead of 64 bytes and fix test signedness.
32728 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32729 * sysdeps/sparc/sparc32/Makefile: rather than here...
32730 * sysdeps/sparc/sparc64/Makefile: and here.
32732 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32734 * malloc/mallocbug.c: Avoid warnings about unused variables.
32736 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32739 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32740 in the right place. Discard and retry query if response is
32741 larger than input buffer size.
32743 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32749 x for large integer exponent.
32750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32752 sign of result as needed afterwards.
32753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32754 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32755 result for underflowing pow the same as for overflow.
32756 (__kernel_standard_l): Handle powl overflow and underflow here
32757 rather than calling __kernel_standard.
32758 * math/libm-test.inc (pow_test): Add more tests.
32773 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32774 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32775 (__kernel_standard_l): New function.
32776 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32778 * math/w_acosl.c (__acosl): Likewise.
32779 * math/w_asinl.c (__asinl): Likewise.
32780 * math/w_atan2l.c (__atan2l): Likewise.
32781 * math/w_atanhl.c (__atanhl): Likewise.
32782 * math/w_coshl.c (__coshl): Likewise.
32783 * math/w_exp10l.c (__exp10l): Likewise.
32784 * math/w_exp2l.c (__exp2l): Likewise.
32785 * math/w_fmodl.c (__fmodl): Likewise.
32786 * math/w_hypotl.c (__hypotl): Likewise.
32787 * math/w_j0l.c (__j0l, __y0l): Likewise.
32788 * math/w_j1l.c (__j1l, __y1l): Likewise.
32789 * math/w_jnl.c (__jnl, __ynl): Likewise.
32790 * math/w_lgammal.c (__lgammal): Likewise.
32791 * math/w_log10l.c (__log10l): Likewise.
32792 * math/w_log2l.c (__log2l): Likewise.
32793 * math/w_logl.c (__logl): Likewise.
32794 * math/w_powl.c (__powl): Likewise.
32795 * math/w_remainderl.c (__remainderl): Likewise.
32796 * math/w_scalbl.c (sysv_scalbl): Likewise.
32797 * math/w_sinhl.c (__sinhl): Likewise.
32798 * math/w_sqrtl.c (__sqrtl): Likewise.
32799 * math/w_tgammal.c (__tgammal): Likewise.
32800 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32801 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32802 * math/libm-test.inc (acos_test): Add more tests.
32803 (acosh_test): Likewise.
32804 (asin_test): Likewise.
32805 (atanh_test): Likewise.
32806 (exp_test): Likewise.
32807 (exp10_test): Likewise.
32808 (exp2_test): Likewise.
32809 (expm1_test): Likewise.
32810 (lgamma_test): Likewise.
32811 (log_test): Likewise.
32812 (log10_test): Likewise.
32813 (log1p_test): Likewise.
32814 (log2_test): Likewise.
32815 (pow_test): Do not allow some spurious overflow exceptions.
32816 (sqrt_test): Add more tests.
32817 (tgamma_test): Likewise.
32818 (y0_test): Likewise.
32819 (y1_test): Likewise.
32820 (yn_test): Likewise.
32822 2012-03-27 Anton Blanchard <anton@samba.org>
32824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32826 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32830 2012-03-27 David S. Miller <davem@davemloft.net>
32832 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32834 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32835 have-as-vis3 check.
32837 2012-03-27 Andreas Jaeger <aj@suse.de>
32839 * sysdeps/x86_64/elf/configure.in: Moved to ...
32840 * sysdeps/x86_64/configure.in: ... here.
32841 * sysdeps/x86_64/elf/start.S: Moved to ...
32842 * sysdeps/x86_64/start.S: ... here.
32843 * sysdeps/x86_64/elf/configure: Delete.
32845 * sysdeps/x86_64/configure.in: Merge contents from
32846 sysdeps/i386/configure.in (without i686 check).
32848 * sysdeps/i386/elf/Versions: Merge into ...
32849 * sysdeps/i386/Versions: ... this.
32850 * sysdeps/i386/elf/Versions: Delete file.
32851 * sysdeps/i386/elf/start.S: Moved to ...
32852 * sysdeps/i386/start.S: ...here.
32853 * sysdeps/i386/elf/configure.in: Merge into...
32854 * sysdeps/i386/configure.in: ...here.
32855 * sysdeps/i386/elf/configure.in: Delete file.
32856 * sysdeps/i386/elf/configure: Delete file.
32858 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32859 * debug/backtracesyms.c: ... here.
32860 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32861 * debug/backtracesymsfd.c: ... here.
32862 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32863 * sysdeps/generic/ifunc-sel.h: ... here.
32865 * sysdeps/unix/i386/start.c: Delete file.
32866 * sysdeps/unix/sparc/start.c: Delete file.
32867 * sysdeps/unix/start.c: Delete file.
32869 * sysdeps/sh/elf/configure.in: Moved to ...
32870 * sysdeps/sh/configure.in: ... here.
32871 * sysdeps/sh/elf/start.S: Moved to ...
32872 * sysdeps/sh/start.S: ... here.
32873 * sysdeps/sh/elf/configure: Delete file.
32875 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32876 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32877 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32878 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32879 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32880 * sysdeps/powerpc/powerpc64/start.S: here.
32881 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32882 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32883 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32884 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32885 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32887 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32888 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32889 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32890 * sysdeps/powerpc/powerpc32/start.S: ... here.
32891 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32892 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32893 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32895 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32896 * sysdeps/powerpc/ifunc-sel.h: ... here.
32897 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32898 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32900 * sysdeps/sparc/elf/configure.in: Moved to ...
32901 * sysdeps/sparc/configure.in: ... here.
32902 * sysdeps/sparc/elf/configure: Delete file.
32903 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32904 * sysdeps/sparc/sparc32/start.S: ... here.
32905 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32906 * sysdeps/sparc/sparc64/start.S: ... here.
32907 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32908 * sysdeps/sparc/sparc32/Makefile: ... this.
32909 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32910 * sysdeps/sparc/sparc64/Makefile: ... this.
32912 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32913 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32914 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32915 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32916 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32917 * sysdeps/s390/s390-32/setjmp.S: ... here.
32918 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32919 * sysdeps/s390/s390-32/configure.in: ... here.
32920 * sysdeps/s390/s390-32/elf/configure: Delete file.
32921 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32922 * sysdeps/s390/s390-32/start.S: ... here.
32924 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32925 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32926 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32927 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32928 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32929 * sysdeps/s390/s390-64/setjmp.S: ... here.
32930 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32931 * sysdeps/s390/s390-64/configure.in: ... here
32932 * sysdeps/s390/s390-64/elf/configure: Delete file.
32933 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32934 * sysdeps/s390/s390-64/start.S: ... here.
32935 * sysdeps/s390/s390-64/elf/configure: Delete.
32937 * configure.in: Remove support for elf directories in sysdeps.
32939 * configure: Regenerated.
32940 * sysdeps/i386/configure: Regenerated.
32941 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32942 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32943 * sysdeps/s390/s390-32/configure: Regenerated.
32944 * sysdeps/s390/s390-64/configure: Regenerated.
32945 * sysdeps/sh/configure: Regenerated.
32946 * sysdeps/sparc/configure: Regenerated.
32947 * sysdeps/x86_64/configure: Regenerated.
32949 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32954 denormal result into account.
32956 2012-03-25 Roland McGrath <roland@hack.frob.com>
32958 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32959 Reported by Allan McRae <allan@archlinux.org>.
32961 2012-03-23 Jeff Law <law@redhat.com>
32963 * nss/getnssent.c (__nss_getent): Fix typo.
32965 2012-03-23 David S. Miller <davem@davemloft.net>
32967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32969 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32971 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32972 to pad to uint64_t for each field.
32973 (dl_tls_index): Replace unsigned long with uint64_t.
32975 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32976 Paul Pluzhnikov <ppluzhnikov@google.com>
32979 * grp/Makefile (otherlibs): Don't set it.
32980 * inet/Makefile (otherlibs): Likewise.
32981 * login/Makefile (otherlibs): Likewise.
32982 * nscd/Makefile (otherlibs): Likewise.
32983 * posix/Makefile (otherlibs): Likewise.
32984 * pwd/Makefile (otherlibs): Likewise.
32985 * rt/Makefile (otherlibs): Likewise.
32986 * sunrpc/Makefile (otherlibs): Likewise.
32987 * nss/Makefile (otherlibs): Likewise.
32988 Add libnss_files to routines and static-only-routines.
32989 ($(objpfx)getent): Remove rule.
32990 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32991 static-only-routines.
32993 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32996 * math/s_cexp.c: Include <float.h>.
32997 (__cexp): Handle exp result overflowing not necessarily
32998 overflowing both real and imaginary parts of result.
32999 * math/s_cexpf.c: Likewise.
33000 * math/s_cexpl.c: Likewise.
33001 * math/libm-test.inc (cexp_test): Add more tests.
33002 * sysdeps/i386/fpu/libm-test-ulps: Update.
33003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33005 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33007 * include/link.h (ELFW): New macro.
33008 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33009 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33016 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33018 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33020 (struct La_x32_retval): Likewise.
33022 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33024 * sysdeps/x86_64/preconfigure.in: New file.
33025 * sysdeps/x86_64/preconfigure: New generated file.
33027 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33030 * math/e_exp2l.c: Include <float.h>.
33031 (__ieee754_exp2l): Handle overflow and underflow cases
33032 separately. Only pass fractional part of argument to
33034 * math/libm-test.inc (exp2_test): Add more tests.
33036 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33037 negating x to take absolute value.
33038 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33040 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33041 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33043 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33044 computing low part if x was negated.
33045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33047 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33049 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33050 la_x32_gnu_pltexit.
33051 (pltexit): Cast int_retval to ptrdiff_t.
33052 * elf/tst-auditmod3b.c: Likewise.
33053 * elf/tst-auditmod4b.c: Likewise.
33054 * elf/tst-auditmod5b.c: Likewise.
33055 * elf/tst-auditmod6b.c: Likewise.
33056 * elf/tst-auditmod6c.c: Likewise.
33057 * elf/tst-auditmod7b.c: Likewise.
33059 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33060 and x32_gnu_pltexit.
33062 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33063 __ELF_NATIVE_CLASS.
33064 (La_x32_regs): New macro.
33065 (La_x32_retval): Likewise.
33066 (la_x32_gnu_pltenter): New function prototype.
33067 (la_x32_gnu_pltexit): Likewise.
33069 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33076 * configure.in (libc_cv_cc_nofma): Check for option to disable
33077 generation of FMA instructions.
33078 * configure: Regenerate.
33079 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33080 * sysdeps/ieee754/dbl-64/Makefile: New file.
33081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33082 Remove brandred-fma4.
33083 (CFLAGS-brandred-fma4.c): Remove.
33084 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33090 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33093 LLONG_MAX != LONG_MAX.
33094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33095 (_fitoa_word): Likewise.
33096 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33097 LLONG_MAX != LONG_MAX.
33098 * stdio-common/_itowa.h: Include <_itoa.h>.
33099 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33100 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33101 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33102 only if not defined.
33103 (_ITOA_WORD_TYPE): Likewise.
33104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33105 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33107 2012-03-21 David S. Miller <davem@davemloft.net>
33109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33111 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33113 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33114 of x86_64 when setting libc_cv_slibdir, libdir and
33116 * sysdeps/unix/sysv/linux/configure: Regenerated.
33118 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33120 * manual/lang.texi (Old Varargs): Remove section.
33121 (How Variadic): Update menu.
33122 (va_start): Do not mention varargs.h.
33124 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33125 Joseph Myers <joseph@codesourcery.com>
33127 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33129 * configure: Regenerated.
33131 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33133 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33134 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33137 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33140 * Makefile (files-for-dist): Remove NOTES.
33141 (NOTES): Remove rule.
33142 * README: Don't refer to NOTES.
33143 * manual/creature.texi: Don't include macros.texi.
33144 * manual/intro.texi (creature.texi): Remove comment referring to
33147 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33148 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33149 * configure: Regenerated.
33150 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33151 LIBC_TRY_CC_OPTION.
33152 (libc_cv_as_i686): Likewise.
33153 (libc_cv_cc_avx): Likewise.
33154 (libc_cv_cc_sse2avx): Likewise.
33155 (libc_cv_cc_fma4): Likewise.
33156 (libc_cv_cc_novzeroupper): Likewise.
33157 * sysdeps/i386/configure: Regenerated.
33160 * sysdeps/i386/fpu/s_cexp.S: Remove.
33161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33163 * math/libm-test.inc (cexp_test): Add more tests.
33164 * sysdeps/i386/fpu/libm-test-ulps: Update.
33165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33167 2012-03-21 Allan McRae <allan@archlinux.org>
33169 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33171 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33174 * math/w_exp2.c: Do not include <float.h>.
33175 (o_threshold, u_threshold): Remove.
33176 (__exp2): Calculate result before checking finiteness and calling
33178 * math/w_exp2f.c: Likewise.
33179 * math/w_exp2l.c: Likewise.
33180 * math/libm-test.inc (exp2_test): Require overflow exception for
33184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33185 range of signed 64-bit integers before using fistpll. Remove
33186 checks for whether integers fit in mantissa bits.
33187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33188 the range of signed 32-bit integers before using fistpl. Remove
33189 checks for whether integers fit in mantissa bits.
33190 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33191 (__ieee754_powl): Test for y outside the range of signed 64-bit
33192 integers before using fistpll. Reduce 64-bit values to 63-bit
33194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33195 divide-by-zero is raised for zero to large negative powers.
33196 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33197 (__ieee754_powl): Test for y outside the range of signed 64-bit
33198 integers before using fistpll. Reduce 64-bit values to 63-bit
33200 * math/libm-test.inc (pow_test): Add more tests.
33202 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33204 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33205 <stdio-common/_itoa.h>.
33206 * debug/segfault.c: Likewise.
33207 * elf/dl-cache.c: Likewise.
33208 * elf/dl-minimal.c: Likewise.
33209 * elf/dl-misc.c: Likewise.
33210 * elf/dl-sysdep.c: Likewise.
33211 * elf/dl-version.c: Likewise.
33212 * elf/rtld.c: Likewise.
33213 * hurd/hurdsock.c: Likewise.
33214 * hurd/lookup-retry.c: Likewise.
33215 * malloc/malloc.c: Likewise.
33216 * malloc/mtrace.c: Likewise.
33217 * nscd/nscd_getgr_r.c: Likewise.
33218 * nscd/nscd_getpw_r.c: Likewise.
33219 * nscd/nscd_getserv_r.c: Likewise.
33220 * posix/getopt_init.c: Likewise.
33221 * posix/wordexp.c: Likewise.
33222 * stdio-common/_itoa.c: Likewise.
33223 * stdio-common/printf_fphex.c: Likewise.
33224 * stdio-common/vfprintf.c: Likewise.
33225 * string/_strerror.c: Likewise.
33226 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33227 * sysdeps/i386/i686/hp-timing.h: Likewise.
33228 * sysdeps/mach/_strerror.c: Likewise.
33229 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33230 * sysdeps/mach/hurd/sethostid.c: Likewise.
33231 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33232 * sysdeps/mach/xpg-strerror.c: Likewise.
33233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33235 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33236 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33237 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33238 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33239 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33240 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33241 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33242 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33243 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33244 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33245 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33246 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33247 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33249 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33250 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33251 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33252 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33253 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33255 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33257 * stdio-common/_itoa.h: Moved to ...
33258 * sysdeps/generic/_itoa.h: Here.
33260 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33262 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33263 instead of "_itoa.h" and "_itowa.h".
33264 * stdio-common/vfprintf.: Likewise.
33266 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33268 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33270 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33271 (__signbit): Likwise.
33272 (llrintf): Likwise.
33275 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33277 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33280 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33282 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33283 OVERFLOW_EXCEPTION_OK.
33284 * math/libm-test.inc ("Philosophy"): Update comment about
33286 (OVERFLOW_EXCEPTION): Define.
33287 (OVERFLOW_EXCEPTION_OK): Likewise.
33288 (INVALID_EXCEPTION_OK): Renumber.
33289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33290 (IGNORE_ZERO_INF_SIGN): Likewise.
33291 (test_exceptions): Handle FE_OVERFLOW.
33292 (exp10_test): Expect overflow exceptions.
33293 (exp2_test): Likewise.
33294 (expm1_test): Likewise.
33295 (nextafter_test): Likewise.
33296 (pow_test): Likewise.
33297 (scalbn_test): Likewise.
33298 (scalbln_test): Likewise.
33300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33302 * sysdeps/x86_64/bits/atomic.h
33303 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33305 (atomic_exchange_acq): Likewise.
33306 (__arch_exchange_and_add_body): Likewise.
33307 (__arch_add_body): Likewise.
33308 (atomic_add_negative): Likewise.
33309 (atomic_add_zero): Likewise.
33311 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33313 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33314 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33316 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33318 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33319 Check __x86_64__ instead of __WORDSIZE.
33321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33323 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33325 2012-03-19 David S. Miller <davem@davemloft.net>
33327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33329 * sysdeps/sparc/fpu/fenv_private.h: New file.
33330 * sysdeps/sparc/fpu/math_private.h: Use it.
33331 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33333 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33334 (libc_feholdexcept_setroundl): Remove.
33335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33337 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33338 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33340 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33342 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33343 int64_t instead of long int.
33344 (INSERT_WORDS64): Likwise.
33346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33348 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33349 _Unwind_GetCFA return to _Unwind_Ptr first.
33351 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33354 * math/s_clog.c: Include <float.h>.
33355 (__clog): Scale large or subnormal inputs.
33356 * math/s_clogf.c: Likewise.
33357 * math/s_clogl.c: Likewise.
33358 * math/s_clog10.c: Include <float.h>.
33359 (M_LOG10_2): Define.
33360 (__clog10): Scale large or subnormal inputs.
33361 * math/s_clog10f.c: Likewise.
33362 * math/s_clog10l.c: Likewise.
33363 * math/libm-test.inc (clog_test): Add more tests.
33364 (clog10_test): Likewise.
33365 * sysdeps/i386/fpu/libm-test-ulps: Update.
33366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33371 * math/libm-test.inc (atan2_test): Add another test.
33373 * Makerules (common-objdir-compile): Remove.
33374 * sysdeps/unix/Makefile (config-generated): Do not add
33375 $(unix-generated) to variable.
33376 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33377 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33379 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33381 [generic bits/local_lim.h] (before-compile): Do not append to
33383 [generic bits/local_lim.h] (common-generated): Likewise.
33384 [generic sys/param.h] (before-compile): Do not append to variable.
33385 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33386 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33387 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33388 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33390 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33391 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33392 [generic sys/param.h] ($(addprefix
33393 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33394 [generic sys/param.h] (common-generated): Do not append to
33396 [generic sys/param.h] (sysdep_headers): Likewise.
33397 [generic bits/errno.h] (before-compile): Do not append to
33399 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33401 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33402 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33403 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33404 [generic bits/errno.h] (common-generated): Do not append to
33406 [generic bits/ioctls.h] (before-compile): Do not append to
33408 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33410 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33411 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33414 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33415 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33416 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33417 [generic bits/ioctls.h] (common-generated): Do not append to
33419 [generic sys/syscall.h] (syscall.h): Remove variable.
33420 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33422 [generic sys/syscall.h] (before-compile): Do not append to
33424 [generic sys/syscall.h] (common-generated): Likewise.
33425 * sysdeps/unix/errnos-tmpl.c: Remove file.
33426 * sysdeps/unix/errnos.awk: Likewise.
33427 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33428 * sysdeps/unix/ioctls.awk: Likewise.
33429 * sysdeps/unix/mk-local_lim.c: Likewise.
33430 * sysdeps/unix/snarf-ioctls: Likewise.
33432 2012-03-19 Richard Henderson <rth@twiddle.net>
33434 * sysdeps/i386/fpu/fenv_private.h: New file.
33435 * sysdeps/i386/fpu/math_private.h: Use it.
33436 (math_opt_barrier, math_force_eval): Remove.
33437 (libc_feholdexcept_setround_53bit): Remove.
33438 (libc_feupdateenv_53bit): Remove.
33439 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33440 (math_opt_barrier, math_force_eval): Remove.
33441 (libc_feholdexcept): Remove.
33442 (libc_feholdexcept_setround): Remove.
33443 (libc_fetestexcept, libc_fesetenv): Remove.
33444 (libc_feupdateenv_test): Remove.
33445 (libc_feupdateenv, libc_feholdsetround): Remove.
33446 (libc_feresetround): Remove.
33448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33449 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33451 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33452 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33453 (libc_feupdateenv_testl): New.
33454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33455 (libc_feupdateenv_testf): New.
33456 (libc_feupdateenv): Use libc_feupdateenv_test.
33457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33460 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33461 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33462 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33463 (libc_feresetround_noex): New.
33464 (libc_feresetround_noexf): New.
33465 (libc_feresetround_noexl): New.
33466 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33467 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33468 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33474 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33475 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33476 SET_RESTORE_ROUND_NOEX.
33477 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33478 SET_RESTORE_ROUND_NOEXF.
33479 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33480 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33481 (libc_feholdsetroundf): New.
33482 (libc_feresetround, libc_feresetroundf): New.
33484 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33485 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33486 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33488 * sysdeps/generic/math_private.h: Include <fenv.h>.
33489 (default_libc_feholdexcept): New.
33490 (default_libc_feholdexcept_setround): New.
33491 (default_libc_fesetenv, default_libc_feupdateenv): New.
33492 (libc_feholdexcept): Only define if undefined.
33493 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33494 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33495 (libc_feholdexcept_setroundl): Likewise.
33496 (libc_feholdexcept_setround_53bit): Likewise.
33497 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33498 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33499 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33500 (libc_feupdateenv_53bit): Likewise.
33501 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33502 (libc_feholdexcept): Convert from macro to inline function.
33503 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33504 (libc_fesetenv, libc_feupdateenv): Likewise.
33506 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33507 not previously defined.
33508 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33509 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33510 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33511 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33512 * sysdeps/ieee754/flt-32/math_private.h: New file.
33513 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33514 math_private.h below SET_FLOAT_WORD.
33515 (__isnan, __isinf_ns, __finite): Remove.
33516 (__isnanf, __isinf_nsf, __finitef): Remove.
33518 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33522 2012-03-17 David S. Miller <davem@davemloft.net>
33525 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33528 2012-03-16 David S. Miller <davem@davemloft.net>
33530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33536 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33537 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33538 sysdep_routines when subdir is sysvipc.
33539 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33540 __getshmlba helper.
33542 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33546 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33549 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33553 (__lround): Renamed to ...
33554 (__llround): This. Replace long int with long long int.
33555 Define lround functions as aliases of llround functions.
33556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33558 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33560 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33561 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33562 adresses to uintptr_t. Replace "long int" and "unsigned long
33563 int" with "greg_t" on va_arg.
33565 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33567 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33568 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33570 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33571 Move e_machine check before EI_CLASS check. Handle x32
33572 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33573 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33574 SKIP_EM_IA_64 and include
33575 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33577 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33578 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33579 (add_system_dir): New macro.
33581 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33582 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33584 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33595 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33597 * math/w_j0f.c (j0f): Likewise.
33599 * math/w_j0l.c (__j0l): Likewise.
33601 * math/w_j1.c (j1): Likewise.
33603 * math/w_j1f.c (j1f): Likewise.
33605 * math/w_j1l.c (__j1l): Likewise.
33607 * math/w_jn.c (jn): Likewise.
33609 * math/w_jnf.c (jnf): Likewise.
33611 * math/w_jnl.c (__jnl): Likewise.
33613 * math/libm-test.inc (j0_test): Add more tests.
33614 (j1_test): Likewise.
33615 (jn_test): Likewise. Add trailing semicolon to existing test.
33616 (y0_test): Likewise.
33617 (y1_test): Likewise.
33618 * sysdeps/i386/fpu/libm-test-ulps: Update.
33619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33624 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33625 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33627 (__tanl): Set errno for infinite argument.
33628 * sysdeps/i386/fpu/mptan.c: Remove.
33629 * sysdeps/i386/fpu/s_tan.S: Likewise.
33630 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33631 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33632 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33633 * math/libm-test.inc (tan_test): Add more tests and enable more
33634 tests for double and long double.
33635 * sysdeps/i386/fpu/libm-test-ulps: Update.
33636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33638 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33640 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33641 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33643 2012-03-16 Roland McGrath <roland@hack.frob.com>
33645 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33646 * configure.in: Use it for both main tree and add-ons.
33647 * configure: Regenerated.
33649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33651 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33653 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33655 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33659 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33660 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33665 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33667 != 0 for prec == 2.
33668 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33669 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33670 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33671 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33672 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33673 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33674 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33675 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33676 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33677 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33678 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33679 * math/libm-test.inc (cos_test): Add more tests and enable more
33680 tests for long double.
33681 (sin_test): Likewise.
33682 (sincos_test): Likewise.
33683 * sysdeps/i386/fpu/libm-test-ulps: Update.
33684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686 2012-03-16 David S. Miller <davem@davemloft.net>
33688 * sysdeps/sparc/fpu/math_private.h: New file.
33690 2012-03-15 David S. Miller <davem@davemloft.net>
33692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33706 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33707 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33709 * sysdeps/sparc/sparc-ifunc.h: New file.
33710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33755 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33757 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33761 2012-03-15 Andreas Jaeger <aj@suse.de>
33764 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33765 ieee754/flt-32 implementation for sin, cos and sincos.
33766 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33767 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33768 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33769 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33770 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33771 ieee754/flt-32 implementation for tan.
33773 * math/libm-test.inc (cos_test): Enable some large input tests for
33775 (sin_test): Likewise.
33776 (sincos_test): Likewise.
33777 (tan_test): Add tests for large input.
33779 * sysdeps/i386/fpu/libm-test-ulps: Update.
33781 2012-03-15 Andreas Jaeger <aj@suse.de>
33784 * math/libm-test.inc (cos_test): Add more test cases.
33785 (sin_test): Likewise.
33786 (sincos_test): Likewise.
33788 2012-03-15 Andreas Jaeger <aj@suse.de>
33791 * math/libm-test.inc (cos_test): Add a test case for large input
33793 (sin_test): Likewise.
33794 (sincos_test): Likewise.
33796 2012-03-15 Andreas Jaeger <aj@suse.de>
33797 Joseph Myers <joseph@codesourcery.com>
33800 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33801 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33802 * sysdeps/i386/fpu/branred.c: Likewise.
33803 * sysdeps/i386/fpu/dosincos.c: Likewise.
33804 * sysdeps/i386/fpu/mpa.c: Likewise.
33805 * sysdeps/i386/fpu/s_cos.S: Likewise.
33806 * sysdeps/i386/fpu/s_sin.S: Likewise.
33807 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33808 * sysdeps/i386/fpu/sincos32.c: Likewise.
33810 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33812 (libc_feupdateenv_53bit): Define.
33813 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33815 (libc_feupdateenv_53bit): Define.
33817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33818 53 bit (without extend i386 double precision).
33820 * math/libm-test.inc (sincos_test): Add tests for large input.
33824 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33826 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33830 2012-03-15 David S. Miller <davem@davemloft.net>
33832 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33833 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33834 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33835 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33860 fmin/fmax sysdep routines.
33861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33863 2012-03-14 David S. Miller <davem@davemloft.net>
33865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33942 * sysdeps/sparc/configure.in: New file.
33943 * sysdeps/sparc/configure: Generate.
33944 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33945 * configure: Regenerate.
33946 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33947 * config.make.in (have-as-vis3): New.
33948 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33949 available use -Av9d instead of -Av9a.
33950 * sysdeps/sparc/sparc64/Makefile: Likewise.
33951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33966 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33967 fzeros/fnegs to load 0x80000000 into a float register instead of
33969 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33971 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33975 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33976 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33977 ($(inst_includedir)/bits/syscall.h): Remove rule.
33978 ($(objpfx)bits/syscall.d): Include instead of
33979 $(objpfx)syscall-list.d.
33980 (generated): Change syscall-list.h and syscall-list.d to
33981 bits/syscall.h and bits/syscall.d.
33983 2012-03-14 Roland McGrath <roland@hack.frob.com>
33986 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33988 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33991 * math/s_csqrt.c: Include <float.h>.
33992 (__csqrt): Scale large or subnormal inputs.
33993 * math/s_csqrtf.c: Likewise.
33994 * math/s_csqrtl.c: Likewise.
33995 * math/libm-test.inc (csqrt_test): Add more tests.
33996 * sysdeps/i386/fpu/libm-test-ulps: Update.
33997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34000 * math/libm-test.inc (hypot_test): Add more tests.
34002 2012-03-13 David S. Miller <davem@davemloft.net>
34005 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34006 double-precision for the calculation instead of scaling.
34008 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34010 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34011 manipulate bits before adding and subtracting TWO52[sx].
34012 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34017 2012-03-13 David S. Miller <davem@davemloft.net>
34019 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34020 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34022 rtld-global-offsets.h
34023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34025 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34030 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34031 'err' in the ifdef scope in which it is actually used.
34033 * nss/nss_db/db-init.c: Include string.h
34035 2012-03-12 David S. Miller <davem@davemloft.net>
34037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34038 masking out of the most significant byte of random value used.
34039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34040 Fix coding style in previous change.
34042 * sysdeps/unix/sysv/linux/kernel-features.h
34043 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34044 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34046 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34049 2012-03-11 David S. Miller <davem@davemloft.net>
34051 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34052 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34054 for 'resultvar' otherwise things get truncated on 64-bit.
34056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34057 Fix masking out of the most significant byte of random value used.
34059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34061 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34065 2012-03-09 David S. Miller <davem@davemloft.net>
34067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34068 variables with appropriate CPP guards.
34069 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34070 from the frame pointer, not the stack pointer. Correct layout
34071 comments. Fix test on resulting framesize and the management of
34072 the outregs buffer for pltexit. Preserve floating point return
34073 values across _dl_call_pltexit call.
34074 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34075 framesize and the management of the outregs buffer for pltexit.
34076 Preserve floating point return values across _dl_call_pltexit
34078 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34079 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34080 (la_sparc64_gnu_pltexit): New functions.
34081 (print_exit): Fix format string for return register value.
34083 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34085 * sunrpc/Makefile (others): Add rpcgen.
34086 ($(objpfx)rpcgen): Remove special build rule and dependency on
34088 * sunrpc/rpcgen.c: New file.
34090 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34093 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34094 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34095 * sysdeps/i386/crti.S: Likewise.
34096 * sysdeps/i386/crtn.S: Likewise.
34097 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34098 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34099 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34100 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34101 * sysdeps/sh/crti.S: Likewise.
34102 * sysdeps/sh/crtn.S: Likewise.
34103 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34106 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34108 * locale/programs/locfile-kw.gperf: Likewise.
34109 * locale/programs/charmap-kw.h: Regenerated.
34110 * locale/programs/locfile-kw.h: Likewise.
34113 * intl/plural.y: Replace FSF snail mail address with URL.
34114 * intl/plural.c: Regenerated.
34116 2012-03-09 Richard Henderson <rth@twiddle.net>
34118 * include/math_private.h: Remove file.
34119 * math/math_private.h: Move file ...
34120 * sysdeps/generic/math_private.h: ... here.
34122 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34123 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34124 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34126 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34127 and <math_private.h>.
34128 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34129 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34130 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34131 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34132 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34133 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34140 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34142 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34147 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34152 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34154 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34168 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34171 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34173 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34174 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34175 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34176 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34179 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34180 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34182 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34183 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34184 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34187 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34189 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34192 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34193 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34194 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34195 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34196 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34206 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34215 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34216 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34217 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34218 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34219 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34221 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34222 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34223 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34225 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34226 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34227 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34228 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34229 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34230 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34231 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34233 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34234 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34235 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34236 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34237 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34238 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34239 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34240 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34242 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34244 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34245 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34246 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34247 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34249 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34250 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34251 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34255 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34256 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34257 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34258 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34259 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34260 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34261 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34262 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34263 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34265 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34266 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34267 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34270 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34271 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34272 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34276 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34277 * sysdeps/ieee754/k_standard.c: Likewise.
34278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34285 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34290 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34291 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34292 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34300 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34303 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34308 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34311 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34319 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34329 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34331 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34334 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34335 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34339 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34340 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34354 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34355 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34359 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34361 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34364 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34368 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34369 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34370 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34371 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34374 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34382 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34388 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34392 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34397 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34398 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34400 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34401 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34402 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34405 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34410 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34414 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34416 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34427 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34428 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34433 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34438 * sysdeps/ieee754/s_lib_version.c: Likewise.
34439 * sysdeps/ieee754/s_matherr.c: Likewise.
34440 * sysdeps/ieee754/s_signgam.c: Likewise.
34441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34443 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34444 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34445 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34447 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34448 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34449 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34450 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34452 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34453 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34455 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34457 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34458 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34459 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34463 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34465 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34466 * sunrpc/rpc_main.c: Likewise.
34467 * sunrpc/rpc_svcout.c: Likewise.
34469 2012-03-09 David S. Miller <davem@davemloft.net>
34471 * include/math_private.h: New file.
34473 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34475 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34476 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34477 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34478 from <bits/socket_type.h>.
34479 (enum __socket_type): Don't define here.
34480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34482 bits/socket_type.h.
34485 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34486 checking __USE_GNU.
34488 * Makerules ($(inst_includedir)/%.h): New rule.
34489 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34490 (install-others): Remove variable setting.
34491 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34493 2012-03-08 Richard Henderson <rth@twiddle.net>
34495 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34496 from macro to inline function; merge with the
34497 !__LIBC_INTERNAL_MATH_INLINES version.
34498 (__ieee754_sqrtf): Likewise.
34500 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34501 to inline function.
34502 (__rintf, __floor, __floorf): Likewise.
34504 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34505 macro to inline function.
34506 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34509 not <math/math_private.h>.
34511 2012-03-08 David S. Miller <davem@davemloft.net>
34513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34515 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34517 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34519 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34521 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34522 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34524 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34526 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34527 be defined individually, they must be defined as a block. Define
34528 S for printing a string instead of hidint the different by using a
34529 macro for adding the 'l'.
34530 * stdio-common/tst-fphex-wide.c: Adjust.
34532 2012-03-07 Marek Polacek <polacek@redhat.com>
34534 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34536 2012-03-08 Marek Polacek <polacek@redhat.com>
34539 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34540 * stdio-common/tst-fphex.c: Define a few macros to make the
34541 test reusable. Use them.
34542 * stdio-common/tst-fphex-wide.c: New file.
34544 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34547 * manual/macros.texi (gnusystems): New macro.
34548 (nongnusystems): Likewise.
34549 (gnulinuxhurdsystems): Likewise.
34550 (gnuhurdsystems): Likewise..
34551 (gnulinuxsystems): Likewise.
34552 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34553 variants of the GNU system, not "GNU system".
34554 * manual/conf.texi: Likewise.
34555 * manual/errno.texi: Likewise. Update example of errno macro
34557 * manual/filesys.texi: Likewise.
34558 (getumask): Document as specific to GNU/Hurd.
34559 * manual/install.texi: Likewise. Reword some references to
34561 * manual/intro.texi: Likewise.
34562 * manual/io.texi: Likewise.
34563 (File Name Portability): Detail which constraints are inapplicable
34564 to all GNU systems and which are only inapplicable to GNU/Hurd.
34565 * manual/job.texi: Likewise.
34566 * manual/llio.texi: Likewise.
34567 (O_NOCTTY): Document as present on GNU/Linux.
34568 * manual/maint.texi: Likewise.
34569 * manual/memory.texi: Likewise.
34570 * manual/pattern.texi: Likewise.
34571 * manual/pipe.texi: Likewise.
34572 * manual/process.texi: Likewise.
34573 * manual/resource.texi: Likewise.
34574 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34576 * manual/setjmp.texi: Likewise.
34577 * manual/signal.texi: Likewise.
34578 * manual/startup.texi: Likewise.
34579 * manual/stdio.texi: Likewise.
34580 * manual/terminal.texi: Likewise.
34581 (ONLCR): Document as POSIX.
34582 (OXTABS): Document availability on GNU/Linux as XTABS.
34583 (ONOEOT): Document availability separately from other bits.
34584 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34585 * manual/time.texi: Likewise.
34586 * manual/users.texi: Likewise.
34587 * INSTALL: Regenerated.
34588 * sysdeps/gnu/errlist.c: Regenerated.
34590 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34591 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34592 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34594 * configure: Regenerated.
34596 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34598 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34599 default includes instead of AC_HEADER_CHECK.
34600 * sysdeps/i386/configure: Regenerated.
34603 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34604 * math/s_cacoshf.c (__cacoshf): Likewise.
34605 * math/s_cacoshl.c (__cacoshl): Likewise.
34606 * math/s_casinh.c (__casinh): Set signs of result from argument.
34607 * math/s_casinhf.c (__casinhf): Likewise.
34608 * math/s_casinhl.c (__casinhl): Likewise.
34609 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34610 (casinh_test): Add more tests.
34611 * sysdeps/i386/fpu/libm-test-ulps: Update.
34612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34614 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34616 * po/zh_TW.po: Update from translation team.
34618 * login/Makefile (distribute): Remove variable.
34619 * catgets/Makefile: Likewise.
34620 * mach/Makefile: Likewise.
34621 * malloc/Makefile: Likewise.
34622 * misc/Makefile: Likewise.
34623 * iconv/Makefile: Likewise.
34624 * nscd/Makefile: Likewise.
34625 * hurd/Makefile: Likewise.
34626 * manual/Makefile: Likewise.
34627 * locale/Makefile: Likewise.
34628 * intl/Makefile: Likewise.
34629 * conform/Makefile: Likewise.
34630 * nss/Makefile: Likewise.
34631 * time/Makefile: Likewise.
34632 * soft-fp/Makefile: Likewise.
34633 * dirent/Makefile: Likewise.
34634 * gmon/Makefile: Likewise.
34635 * po/Makefile: Likewise.
34636 * rt/Makefile: Likewise.
34637 * socket/Makefile: Likewise.
34638 * math/Makefile: Likewise.
34639 * signal/Makefile: Likewise.
34640 * debug/Makefile: Likewise.
34641 * elf/Makefile: Likewise.
34642 * timezone/Makefile: Likewise.
34643 * stdlib/Makefile: Likewise.
34644 * iconvdata/Makefile: Likewise.
34645 * sunrpc/Makefile: Likewise.
34646 * io/Makefile: Likewise.
34647 * argp/Makefile: Likewise.
34648 * inet/Makefile: Likewise.
34649 * hesiod/Makefile: Likewise.
34650 * grp/Makefile: Likewise.
34651 * csu/Makefile: Likewise.
34652 * wctype/Makefile: Likewise.
34653 * crypt/Makefile: Likewise.
34654 * libio/Makefile: Likewise.
34655 * string/Makefile: Likewise.
34656 * nis/Makefile: Likewise.
34657 * resolv/Makefile: Likewise.
34658 * stdio-common/Makefile: Likewise.
34659 * wcsmbs/Makefile: Likewise.
34660 * dlfcn/Makefile: Likewise.
34661 * posix/Makefile: Likewise.
34664 * timezone/Makefile: Don't install timezone files, just the programs
34667 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34669 * nss/databases.def: Add missing gshadow entry.
34671 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34673 2012-03-06 Marek Polacek <polacek@redhat.com>
34676 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34677 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34678 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34679 * stdio-common/tst-long-dbl-fphex.c: New file.
34681 2012-03-06 David S. Miller <davem@davemloft.net>
34683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34684 (set_obp_int): New function.
34685 (get_obp_int): New function.
34686 (__get_clockfreq_via_dev_openprom): Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34688 Avoid unused variable warnings on 'val' and use builtin_expect.
34689 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34691 (INLINE_CLONE_SYSCALL): Likewise.
34693 2012-03-05 David S. Miller <davem@davemloft.net>
34695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34697 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34702 only for |x| >= 40.
34703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34705 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34708 Replace gettimeofday with __vdso_gettimeofday.
34710 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34711 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34712 __vdso_clock_gettime and __vdso_getcpu.
34714 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34715 time with __vdso_time.
34717 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34719 * manual/lang.texi (size_t): Note types to which size_t may be
34720 equivalent with the GNU C Library, but do not describe when
34721 differences between them are significant.
34723 2012-03-05 Andreas Jaeger <aj@suse.de>
34725 * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34730 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34731 (__ieee754_pow): Save and restore rounding mode and use
34732 round-to-nearest for main computations.
34733 * math/libm-test.inc (pow_test_tonearest): New function.
34734 (pow_test_towardzero): Likewise.
34735 (pow_test_downward): Likewise.
34736 (pow_test_upward): Likewise.
34737 (main): Call the new functions.
34738 * sysdeps/i386/fpu/libm-test-ulps: Update.
34739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34742 * math/libm-test.inc (cosh_test_tonearest): New function.
34743 (cosh_test_towardzero): Likewise.
34744 (cosh_test_downward): Likewise.
34745 (cosh_test_upward): Likewise.
34746 (sinh_test_tonearest): Likewise.
34747 (sinh_test_towardzero): Likewise.
34748 (sinh_test_downward): Likewise.
34749 (sinh_test_upward): Likewise.
34750 (main): Call the new functions.
34751 * sysdeps/i386/fpu/libm-test-ulps: Update.
34752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34754 2012-03-05 Tom de Vries <tom@codesourcery.com>
34756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34757 default stack guard is set in last bytes.
34758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34760 2012-03-05 Kees Cook <keescook@chromium.org>
34762 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34765 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34766 possibly allocate from heap instead of stack.
34767 * stdio-common/bug-vfprintf-nargs.c: New file.
34768 * stdio-common/Makefile (tests): Add nargs overflow test.
34770 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34774 2012-03-03 Marek Polacek <polacek@redhat.com>
34776 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34777 * math/math_private.h: Likewise.
34778 * stdlib/tst-strtod.c: Likewise.
34779 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34780 * sysdeps/x86_64/bits/atomic.h: Likewise.
34782 2012-03-02 David S. Miller <davem@davemloft.net>
34784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34788 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34789 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34790 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34791 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34793 2012-03-02 Roland McGrath <roland@hack.frob.com>
34796 * manual/examples/README: New file, says the example source files
34797 can be used under GPL>=2.
34798 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34799 line containing just "*/".
34800 * manual/examples/add.c: Add copyright header (GPL>=2).
34801 * manual/examples/argp-ex1.c: Likewise.
34802 * manual/examples/argp-ex2.c: Likewise.
34803 * manual/examples/argp-ex3.c: Likewise.
34804 * manual/examples/argp-ex4.c: Likewise.
34805 * manual/examples/atexit.c: Likewise.
34806 * manual/examples/db.c: Likewise.
34807 * manual/examples/dir.c: Likewise.
34808 * manual/examples/dir2.c: Likewise.
34809 * manual/examples/execinfo.c: Likewise.
34810 * manual/examples/filecli.c: Likewise.
34811 * manual/examples/filesrv.c: Likewise.
34812 * manual/examples/fmtmsgexpl.c: Likewise.
34813 * manual/examples/genpass.c: Likewise.
34814 * manual/examples/inetcli.c: Likewise.
34815 * manual/examples/inetsrv.c: Likewise.
34816 * manual/examples/isockad.c: Likewise.
34817 * manual/examples/longopt.c: Likewise.
34818 * manual/examples/memopen.c: Likewise.
34819 * manual/examples/memstrm.c: Likewise.
34820 * manual/examples/mkfsock.c: Likewise.
34821 * manual/examples/mkisock.c: Likewise.
34822 * manual/examples/mygetpass.c: Likewise.
34823 * manual/examples/pipe.c: Likewise.
34824 * manual/examples/popen.c: Likewise.
34825 * manual/examples/rprintf.c: Likewise.
34826 * manual/examples/search.c: Likewise.
34827 * manual/examples/select.c: Likewise.
34828 * manual/examples/setjmp.c: Likewise.
34829 * manual/examples/sigh1.c: Likewise.
34830 * manual/examples/sigusr.c: Likewise.
34831 * manual/examples/stpcpy.c: Likewise.
34832 * manual/examples/strdupa.c: Likewise.
34833 * manual/examples/strftim.c: Likewise.
34834 * manual/examples/strncat.c: Likewise.
34835 * manual/examples/subopt.c: Likewise.
34836 * manual/examples/swapcontext.c: Likewise.
34837 * manual/examples/termios.c: Likewise.
34838 * manual/examples/testopt.c: Likewise.
34839 * manual/examples/testpass.c: Likewise.
34840 * manual/examples/timeval_subtract.c: Likewise.
34843 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34845 * manual/timeval_subtract.c.texi: ... here, new file.
34847 2012-03-02 David S. Miller <davem@davemloft.net>
34849 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34851 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34854 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34855 (__sin): Save and restore rounding mode and use round-to-nearest
34856 for all computations.
34857 (__cos): Save and restore rounding mode and use round-to-nearest
34858 for all computations.
34859 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34861 (tan): Save and restore rounding mode and use round-to-nearest for
34863 * math/libm-test.inc (cos_test_tonearest): New function.
34864 (cos_test_towardzero): Likewise.
34865 (cos_test_downward): Likewise.
34866 (cos_test_upward): Likewise.
34867 (sin_test_tonearest): Likewise.
34868 (sin_test_towardzero): Likewise.
34869 (sin_test_downward): Likewise.
34870 (sin_test_upward): Likewise.
34871 (tan_test_tonearest): Likewise.
34872 (tan_test_towardzero): Likewise.
34873 (tan_test_downward): Likewise.
34874 (tan_test_upward): Likewise.
34875 (main): Call the new functions.
34876 * sysdeps/i386/fpu/libm-test-ulps: Update.
34877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34880 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34881 small n, then large n, before computing and testing k+n.
34882 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34887 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34888 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34895 * math/libm-test.inc (scalbn_test): Add more tests.
34896 (scalbln_test): Likewise.
34898 * manual/filesys.texi (mode_t): Describe constraints on size and
34899 signedness, not exact equivalence to a particular type.
34901 (ino64_t): Likewise.
34903 (nlink_t): Likewise.
34904 (blkcnt_t): Likewise.
34905 (blkcnt64_t): Likewise.
34906 * manual/llio.texi (off_t): Likewise.
34909 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34910 (__ieee754_exp): Save and restore rounding mode and use
34911 round-to-nearest for all computations.
34912 * math/libm-test.inc (exp_test_tonearest): New function.
34913 (exp_test_towardzero): Likewise.
34914 (exp_test_downward): Likewise.
34915 (exp_test_upward): Likewise.
34916 (main): Call the new functions.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34920 2012-03-01 Chris Demetriou <cgd@google.com>
34922 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34923 have predictable order.
34925 2012-03-01 David S. Miller <davem@davemloft.net>
34927 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34929 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34931 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34932 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34934 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34935 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34936 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34938 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34939 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34940 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34941 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34942 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34947 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34950 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34958 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34959 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34960 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34961 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34966 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34967 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34968 * sysdeps/sparc/elf/configure: Regenerated.
34970 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34972 * configure.in (AS, LD): Require binutils 2.20 or later.
34973 * configure: Regenerated.
34974 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34975 as required minimum version.
34976 * INSTALL: Regenerated.
34980 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34981 before squaring exponent.
34982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34983 bottom long double and 27 bits of top long double before squaring
34985 * math/libm-test.inc (erfc_test): Add more tests.
34986 * sysdeps/i386/fpu/libm-test-ulps: Update.
34987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34990 2012-03-01 Kai Tietz <ktietz@redhat.com>
34992 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34993 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34994 containing bit-fields.
34995 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34996 * soft-fp/single.h (_FP_UNION_S): Likewise.
34997 * soft-fp/double.h (_FP_UNION_D): Likewise.
34999 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35002 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35003 not include ../strcmp.S.
35004 [USE_AS_STRNCASECMP_L]: Likewise.
35005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35006 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35007 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35008 (__strncasecmp_l_ia32): Define as alias to
35009 __strncasecmp_l_nonascii.
35012 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35013 * sysdeps/i386/fpu/libm-test-ulps: Update.
35014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35016 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35019 2012-02-29 Jeff Law <law@redhat.com>
35021 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35022 out of bounds read.
35024 2012-02-29 Marek Polacek <polacek@redhat.com>
35027 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35028 * elf/Makefile: Add rules to run tst-unused-dep.out.
35030 2012-02-28 David S. Miller <davem@davemloft.net>
35032 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35033 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35036 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35037 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35039 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35041 * math/libm-test.inc (llround_test): Move one test from
35042 lround_test. Use TEST_f_L in moved test.
35043 (lround_test): Move misplaced test to llround_test. Add testcase
35046 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35048 * sysdeps/x86_64/fpu/e_expf.S: New file.
35049 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35051 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35054 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35055 of remain_len that may cause incomplete multi-byte character and
35057 * posix/bug-regex33.c: New file.
35058 * posix/Makefile (tests): Add bug-regex33.
35060 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35062 * manual/macros.texi: New file.
35063 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35064 * manual/libc.texinfo: Include macros.texi.
35065 * manual/creatute.texi: Likewise.
35066 * manual/install.texi: Likewise.
35067 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35068 @glibcadj{} in references to the GNU C Library.
35069 * manual/charset.texi: Likewise.
35070 * manual/conf.texi: Likewise.
35071 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35072 when not using those macros.
35073 * manual/creature.texi: Likewise.
35074 * manual/crypt.texi: Likewise.
35075 * manual/errno.texi: Likewise.
35076 * manual/filesys.texi: Likewise.
35077 * manual/header.texi: Likewise.
35078 * manual/install.texi: Likewise.
35079 * manual/intro.texi: Likewise.
35080 * manual/io.texi: Likewise.
35081 * manual/job.texi: Likewise.
35082 * manual/lang.texi: Likewise.
35083 * manual/libc.texiinfo: Likewise.
35084 * manual/llio.texi: Likewise.
35085 * manual/locale.texi: Likewise.
35086 * manual/maint.texi: Likewise.
35087 * manual/math.texi: Likewise.
35088 * manual/memory.texi: Likewise.
35089 * manual/message.texi: Likewise.
35090 * manual/nss.texi: Likewise.
35091 * manual/pattern.texi: Likewise.
35092 * manual/process.texi: Likewise.
35093 * manual/resource.texi: Likewise.
35094 * manual/search.texi: Likewise.
35095 * manual/setjmp.texi: Likewise.
35096 * manual/signal.texi: Likewise.
35097 * manual/socket.texi: Likewise.
35098 * manual/startup.texi: Likewise.
35099 * manual/stdio.texi: Likewise.
35100 * manual/string.texi: Likewise.
35101 * manual/sysinfo.texi: Likewise.
35102 * manual/syslog.texi: Likewise.
35103 * manual/terminal.texi: Likewise.
35104 * manual/time.texi: Likewise.
35105 * manual/users.texi: Likewise.
35106 * INSTALL: Regenerated.
35107 * NOTES: Regenerated.
35108 * sysdeps/gnu/errlist.c: Regenerated.
35110 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35112 * include/dirent.h: Include <dirstream.h> before
35115 2012-02-28 David S. Miller <davem@davemloft.net>
35117 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35118 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35119 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35120 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35122 2012-02-27 David S. Miller <davem@davemloft.net>
35124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35126 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35127 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35130 frame pointer instead of stack pointer relative arg slot.
35131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35135 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35138 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35140 2012-02-27 David S. Miller <davem@davemloft.net>
35142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35148 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35151 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35153 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35154 later. Allow versions 5-9.
35155 * configure: Regenerated.
35156 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35157 required minimum version and 4.6 as recommended version. Do not
35158 mention bugs in GCC 2.7 and 2.8.
35159 * INSTALL: Regenerated.
35161 2012-02-27 David S. Miller <davem@davemloft.net>
35163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35167 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35168 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35169 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35170 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35173 manipulate bits before adding and subtracting TWO112[sx].
35174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35176 2012-02-27 Roland McGrath <roland@hack.frob.com>
35179 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35180 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35181 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35182 being in POSIX, because they are in 1003.1-2008.
35184 * rt/tst-aio.c: Include <fcntl.h>.
35185 * rt/tst-aio7.c: Likewise.
35186 * rt/tst-aio64.c: Likewise.
35188 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35190 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35192 * manual/install.texi (--with-headers): Describe headers as
35193 interface headers, not private headers.
35194 (Specific advice for GNU/Linux systems): Describe use of headers
35195 from "make headers_install", not private headers from older
35197 * INSTALL: Regenerated.
35198 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35200 * sysdeps/unix/sysv/linux/configure: Regenerated.
35202 * manual/llio.texi (fclean): Remove documentation.
35204 * manual/Makefile (libc-texi-generated): New variable. Include
35206 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35207 $(libc-texi-generated), not duplicated list of files.
35208 (version.texi, stamp-version): New rules.
35209 (realclean): Remove $(libc-texi-generated), not individual files
35210 from that list. Do not remove dir-add.texinfo.
35211 * manual/libc.texinfo: Comment out uses of edition numbers and
35212 references to printed manual. Remove last-updated dates.
35213 (EDITION): Comment out.
35215 (VERSION, UPDATED): Remove.
35216 (version.texi): Include.
35218 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35220 * sysdeps/posix/spawni.c: Include <signal.h>.
35221 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35222 * sysdeps/pthread/aio_fsync.c: Likewise.
35224 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35226 * conform/Makefile (tests): Run only when not cross-compiling and
35227 when fast-check is not defined.
35229 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35230 * conform/data/limits.h-data: Fixes for POSIX2008.
35231 * conform/run-conformtest.sh: Run all tests.
35232 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35234 * include/bits/dlfcn.h: Likewise.
35235 * include/langinfo.h: Likewise.
35236 * include/monetary.h: Likewise.
35237 * include/sys/poll.h: Likewise.
35239 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35241 * posix/spawn.h: Define __need_sigset_t.
35242 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35243 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35244 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35245 to get sigevent_t only.
35246 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35247 only for __USE_GNU.
35248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35249 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35250 process_vm_writev only for __USE_GNU.
35251 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35253 * conform/Makefile: For now ignore errors from run-conformtest.
35254 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35255 POSIX to avoid namespace pollution. Don't prepend headers.
35256 * conform/data/aio.h-data: Fixes for POSIX testing.
35257 * conform/data/fcntl.h-data: Likewise.
35258 * conform/data/glob.h-data: Likewise.
35259 * conform/data/grp.h-data: Likewise.
35260 * conform/data/pthread.h-data: Likewise.
35261 * conform/data/pwd.h-data: Likewise.
35262 * conform/data/signal.h-data: Likewise.
35263 * conform/data/spawn.h-data: Likewise.
35264 * conform/data/stdio.h-data: Likewise.
35265 * conform/data/stdlib.h-data: Likewise.
35266 * conform/data/stropts.h-data: Likewise.
35267 * conform/data/sys/mman.h-data: Likewise.
35268 * conform/data/sys/stat.h-data: Likewise.
35269 * conform/data/sys/types.h-data: Likewise.
35270 * conform/data/sys/wait.h-data: Likewise.
35271 * conform/data/time.h-data: Likewise.
35272 * conform/data/unistd.h-data: Likewise.
35273 * conform/data/utime.h-data: Likewise.
35275 * io/sys/stat.h: fchmod was always in POSIX.
35276 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35277 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35278 * rt/aio.h: Define __need_timespec before including <time.h>.
35279 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35280 struct. Add forward declaration of pthread_attr_t and use it in
35282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35284 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35285 always remove CLK_TCK definition.
35287 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35289 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35291 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35293 * conform/run-conformtest.sh: New file.
35294 * conform/Makefile: Run run-conformtest for tests.
35295 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35298 * conform/data/uchar.h-data: New file.
35299 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35300 * conform/data/arpa/inet.h-data: Likewise.
35301 * conform/data/assert.h-data: Likewise.
35302 * conform/data/complex.h-data: Likewise.
35303 * conform/data/cpio.h-data: Likewise.
35304 * conform/data/ctype.h-data: Likewise.
35305 * conform/data/dirent.h-data: Likewise.
35306 * conform/data/dlfcn.h-data: Likewise.
35307 * conform/data/errno.h-data: Likewise.
35308 * conform/data/fcntl.h-data: Likewise.
35309 * conform/data/float.h-data: Likewise.
35310 * conform/data/fmtmsg.h-data: Likewise.
35311 * conform/data/fnmatch.h-data: Likewise.
35312 * conform/data/ftw.h-data: Likewise.
35313 * conform/data/glob.h-data: Likewise.
35314 * conform/data/grp.h-data: Likewise.
35315 * conform/data/iconv.h-data: Likewise.
35316 * conform/data/inttypes.h-data: Likewise.
35317 * conform/data/langinfo.h-data: Likewise.
35318 * conform/data/libgen.h-data: Likewise.
35319 * conform/data/limits.h-data: Likewise.
35320 * conform/data/locale.h-data: Likewise.
35321 * conform/data/math.h-data: Likewise.
35322 * conform/data/monetary.h-data: Likewise.
35323 * conform/data/mqueue.h-data: Likewise.
35324 * conform/data/ndbm.h-data: Likewise.
35325 * conform/data/net/if.h-data: Likewise.
35326 * conform/data/netdb.h-data: Likewise.
35327 * conform/data/netinet/in.h-data: Likewise.
35328 * conform/data/nl_types.h-data: Likewise.
35329 * conform/data/poll.h-data: Likewise.
35330 * conform/data/pthread.h-data: Likewise.
35331 * conform/data/pwd.h-data: Likewise.
35332 * conform/data/regex.h-data: Likewise.
35333 * conform/data/sched.h-data: Likewise.
35334 * conform/data/search.h-data: Likewise.
35335 * conform/data/semaphore.h-data: Likewise.
35336 * conform/data/setjmp.h-data: Likewise.
35337 * conform/data/signal.h-data: Likewise.
35338 * conform/data/spawn.h-data: Likewise.
35339 * conform/data/stdarg.h-data: Likewise.
35340 * conform/data/stdio.h-data: Likewise.
35341 * conform/data/stdlib.h-data: Likewise.
35342 * conform/data/string.h-data: Likewise.
35343 * conform/data/strings.h-data: Likewise.
35344 * conform/data/stropts.h-data: Likewise.
35345 * conform/data/sys/ipc.h-data: Likewise.
35346 * conform/data/sys/mman.h-data: Likewise.
35347 * conform/data/sys/msg.h-data: Likewise.
35348 * conform/data/sys/resource.h-data: Likewise.
35349 * conform/data/sys/select.h-data: Likewise.
35350 * conform/data/sys/sem.h-data: Likewise.
35351 * conform/data/sys/shm.h-data: Likewise.
35352 * conform/data/sys/socket.h-data: Likewise.
35353 * conform/data/sys/stat.h-data: Likewise.
35354 * conform/data/sys/statvfs.h-data: Likewise.
35355 * conform/data/sys/time.h-data: Likewise.
35356 * conform/data/sys/timeb.h-data: Likewise.
35357 * conform/data/sys/times.h-data: Likewise.
35358 * conform/data/sys/types.h-data: Likewise.
35359 * conform/data/sys/uio.h-data: Likewise.
35360 * conform/data/sys/un.h-data: Likewise.
35361 * conform/data/sys/utsname.h-data: Likewise.
35362 * conform/data/sys/wait.h-data: Likewise.
35363 * conform/data/syslog.h-data: Likewise.
35364 * conform/data/tar.h-data: Likewise.
35365 * conform/data/termios.h-data: Likewise.
35366 * conform/data/utime.h-data: Likewise.
35367 * conform/data/utmpx.h-data: Likewise.
35368 * conform/data/varargs.h-data: Likewise.
35369 * conform/data/wchar.h-data: Likewise.
35370 * conform/data/wctype.h-data: Likewise.
35371 * conform/data/wordexp.h-data: Likewise.
35373 * include/stropts.h: New file.
35374 * include/uchar.h: New file.
35375 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35376 * include/assert.h: Likewise.
35377 * include/ctype.h: Likewise.
35378 * include/dirent.h: Likewise.
35379 * include/dlfcn.h: Likewise.
35380 * include/fcntl.h: Likewise.
35381 * include/fnmatch.h: Likewise.
35382 * include/glob.h: Likewise.
35383 * include/grp.h: Likewise.
35384 * include/libio.h: Likewise.
35385 * include/locale.h: Likewise.
35386 * include/math.h: Likewise.
35387 * include/net/if.h: Likewise.
35388 * include/netdb.h: Likewise.
35389 * include/netinet/in.h: Likewise.
35390 * include/pthread.h: Likewise.
35391 * include/pwd.h: Likewise.
35392 * include/regex.h: Likewise.
35393 * include/sched.h: Likewise.
35394 * include/search.h: Likewise.
35395 * include/setjmp.h: Likewise.
35396 * include/signal.h: Likewise.
35397 * include/stdio.h: Likewise.
35398 * include/stdlib.h: Likewise.
35399 * include/string.h: Likewise.
35400 * include/sys/cdefs.h: Likewise.
35401 * include/sys/mman.h: Likewise.
35402 * include/sys/msg.h: Likewise.
35403 * include/sys/resource.h: Likewise.
35404 * include/sys/select.h: Likewise.
35405 * include/sys/socket.h: Likewise.
35406 * include/sys/stat.h: Likewise.
35407 * include/sys/statvfs.h: Likewise.
35408 * include/sys/time.h: Likewise.
35409 * include/sys/times.h: Likewise.
35410 * include/sys/uio.h: Likewise.
35411 * include/sys/utsname.h: Likewise.
35412 * include/sys/wait.h: Likewise.
35413 * include/termios.h: Likewise.
35414 * include/time.h: Likewise.
35415 * include/ulimit.h: Likewise.
35416 * include/unistd.h: Likewise.
35417 * include/utime.h: Likewise.
35418 * include/wchar.h: Likewise.
35419 * include/wctype.h: Likewise.
35420 * include/wordexp.h: Likewise.
35422 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35424 * time/time.h: TIME_UTC must be a macro.
35425 Make timespec_get available for ISO C11 only as well.
35427 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35429 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35430 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35432 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35434 * configure.in: Use -o not -a in test for unsupported multi-arch.
35436 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35438 * manual/texinfo.tex: Update to version 2012-01-19.16.
35440 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35442 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35444 2012-02-24 Roland McGrath <roland@hack.frob.com>
35447 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35448 * manual/fdl-1.3.texi: New file.
35449 * manual/fdl-1.1.texi: File removed.
35452 * manual/libc.texinfo (FDL_VERSION): New @set.
35453 Use it for mention of FDL in cover text.
35454 (Documentation License): Use it in @include file name.
35456 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35457 Roland McGrath <roland@hack.frob.com>
35460 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35461 (not LONG_LONG_MAX and LONG_LONG_MIN.
35462 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35463 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35465 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35471 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35472 manipulate bits before adding and subtracting TWO23[sx].
35473 * math/libm-test.inc (nearbyint_test): Add more tests.
35475 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35478 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35479 bits before adding and subtracting TWO23[sx].
35480 * math/libm-test.inc (rint_test): Add more tests.
35481 (rint_test_tonearest): Likewise.
35482 (rint_test_towardzero): Likewise.
35483 (rint_test_downward): Likewise.
35484 (rint_test_upward: Likewise.
35486 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35489 * include/stdc-predef.h: New file. Extracted from features.h.
35490 * include/features.h: Include stdc-predef.h.
35491 * Makefile (headers): Add stdc-predef.h.
35492 * CONFORMANCE (Compiler limitations): Update.
35494 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35496 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35498 2012-02-21 David S. Miller <davem@davemloft.net>
35500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35503 2012-02-20 David S. Miller <davem@davemloft.net>
35505 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35506 using a normal save/restore sequence, rather than allocating a
35507 dummy stack frame just to store a frame pointer and restore.
35508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35510 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35512 * manual/install.texi: Fix stray word in line-wrapped comment.
35514 2012-02-20 David S. Miller <davem@davemloft.net>
35516 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35517 both binutils and gcc support GOTDATA.
35519 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35520 "rd %pc" in the PIC register setup sequences.
35522 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35523 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35524 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35525 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35526 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35529 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35531 (SYSCALL_ERROR_HANDLER): Likewise.
35532 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35535 (SYSCALL_ERROR_HANDLER): Likewise.
35537 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35538 (HAVE_GCC_GOTDATA): New.
35539 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35540 relocation support in both binutils and gcc.
35541 * sysdeps/sparc/elf/configure: Regenerate.
35543 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35544 * sysdeps/sparc/sparc32/elf/configure: Delete.
35545 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35546 * sysdeps/sparc/sparc64/elf/configure: Delete.
35547 * sysdeps/sparc/elf/configure.in: New file.
35548 * sysdeps/sparc/elf/configure: Generate.
35550 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35551 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35552 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35553 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35554 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35556 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35558 * manual/install.texi: Do not mention specific glibc version
35560 * manual/libc.texinfo (VERSION, UPDATED): Update.
35561 (@copying): Use @copyright{} and range of years.
35563 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35566 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35567 [crti.S not in sysdirs] (generated): Do not append.
35568 [crti.S not in sysdirs] (omit-deps): Likewise.
35569 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35570 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35571 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35572 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35573 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35575 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35576 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35577 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35578 * csu/defs.awk: Remove file.
35579 * sysdeps/generic/initfini.c: Likewise.
35580 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35582 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35585 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35587 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35588 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35589 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35590 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35592 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35594 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35595 (__EPOLL_PACKED): Define to empty if not defined by
35597 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35601 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35603 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35604 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35605 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35606 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35608 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35612 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35614 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35618 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35621 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35623 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35624 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35626 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35628 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35629 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35631 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35633 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35636 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35638 * math/w_acos.c: Use non-signaling floating-point comparisons.
35639 * math/w_acosf.c: Likewise.
35640 * math/w_acosh.c: Likewise.
35641 * math/w_acoshf.c: Likewise.
35642 * math/w_acoshl.c: Likewise.
35643 * math/w_acosl.c: Likewise.
35644 * math/w_asin.c: Likewise.
35645 * math/w_asinf.c: Likewise.
35646 * math/w_asinl.c: Likewise.
35647 * math/w_atanh.c: Likewise.
35648 * math/w_atanhf.c: Likewise.
35649 * math/w_atanhl.c: Likewise.
35650 * math/w_exp2.c: Likewise.
35651 * math/w_exp2f.c: Likewise.
35652 * math/w_exp2l.c: Likewise.
35653 * math/w_j0.c: Likewise.
35654 * math/w_j0f.c: Likewise.
35655 * math/w_j0l.c: Likewise.
35656 * math/w_j1.c: Likewise.
35657 * math/w_j1f.c: Likewise.
35658 * math/w_j1l.c: Likewise.
35659 * math/w_jn.c: Likewise.
35660 * math/w_jnf.c: Likewise.
35661 * math/w_log.c: Likewise.
35662 * math/w_log10.c: Likewise.
35663 * math/w_log10f.c: Likewise.
35664 * math/w_log10l.c: Likewise.
35665 * math/w_log2.c: Likewise.
35666 * math/w_log2f.c: Likewise.
35667 * math/w_log2l.c: Likewise.
35668 * math/w_logf.c: Likewise.
35669 * math/w_logl.c: Likewise.
35670 * math/w_sqrt.c: Likewise.
35671 * math/w_sqrtf.c: Likewise.
35672 * math/w_sqrtl.c: Likewise.
35673 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35674 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35679 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35682 * manual/string.texi (strnlen): Use correct parameter name in
35683 equivalent expression.
35685 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35688 * manual/users.texi (seteuid): Consistently use neweuid for
35691 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35694 * manual/nss.texi (Services in the NSS configuration): Correct
35695 list of services in example configuration file.
35697 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35700 * manual/arith.texi: Remove statements about negative zero
35701 behaving identically to zero.
35703 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35706 * manual/install.texi: Do not document upgrading from libc5.
35708 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35711 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35713 2012-02-18 David S. Miller <davem@davemloft.net>
35715 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35716 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35717 %o7 across the call.
35718 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35721 SETUP_PIC_REG_LEAF.
35722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35723 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35724 * sysdeps/sparc/crtn.S: Likewise.
35726 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35728 * aout/Makefile: Remove.
35730 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35733 * manual/examples/argp-ex1.c (main): Format definition in GNU
35735 * manual/examples/argp-ex2.c (main): Likewise.
35736 * manual/examples/argp-ex3.c (main): Likewise.
35737 * manual/examples/argp-ex4.c (main): Likewise.
35738 * manual/examples/longopt.c (main): Use new-style prototype
35740 * manual/examples/strncat.c (main): Specify return type and use
35741 (void) for arguments.
35742 * manual/examples/subopt.c (main): Use char **argv argument.
35744 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35747 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35750 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35753 * manual/string.texi (strchr): Change when strchrnul is
35756 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35759 * manual/locale.texi (setlocale): Document LOCPATH.
35761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35764 * manual/process.texi (execle): Move @dots{} before last argument.
35766 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35769 * manual/charset.texi (Generic Charset Conversion): Fix typo
35770 (LC_TYPE -> LC_CTYPE).
35772 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35775 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35776 (scalbnf): Likewise.
35777 (scalbnl): Likewise.
35778 (scalbln): Likewise.
35779 (scalblnf): Likewise.
35780 (scalblnl): Likewise.
35781 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35782 (vwarnx): Likewise.
35785 * manual/filesys.texi (telldir): Use braces around return type.
35786 * manual/llio.texi (mmap): Add space after comma.
35787 (mmap64): Likewise.
35788 * manual/math.texi (jn): Use @var{} on parameter names.
35794 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35796 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35798 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35799 (sched_get_priority_max): Likewise.
35800 * manual/signal.texi (sigvec): Add space after comma.
35801 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35803 (if_indextoname): Likewise.
35804 (if_freenameindex): Likewise.
35805 (sendto): Use ',' instead of '.' in prototype.
35806 * manual/startup.texi (syscall): Use @dots{} instead of literal
35808 * manual/stdio.texi (__fpending): Separate initial words of
35809 paragraph from @deftypefun line.
35810 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35812 (vsyslog): Use @var{} on parameter names.
35813 * manual/terminal.texi (stty): Use @var{} on parameter names.
35814 * manual/users.texi (getutmp): Use @var{} on parameter names.
35815 (getutmpx): Likewise.
35817 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35820 * manual/stdio.texi (fopen): Fix typos in description of
35823 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35826 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35827 get clock_id definition.
35829 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35832 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35833 (madvise): Cast every argument to void on its own.
35835 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35838 * manual/startup.texi (Exit Status): Fix typo.
35840 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35843 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35844 * manual/examples/argp-ex2.c: Likewise.
35845 * manual/examples/argp-ex3.c: Likewise.
35847 2012-02-16 Richard Henderson <rth@redhat.com>
35849 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35850 * sysdeps/s390/s390-32/initfini.c: Remove.
35851 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35852 * sysdeps/s390/s390-64/initfini.c: Remove.
35854 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35856 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35857 compiler output for sysdeps/generic/initfini.c.
35858 * sysdeps/sh/elf/initfini.c: Remove file.
35860 2012-02-16 David S. Miller <davem@davemloft.net>
35863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35865 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35866 * sysdeps/sparc/crti.S: New file.
35867 * sysdeps/sparc/crtn.S: New file.
35868 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35869 * sysdeps/sparc/sparc64/Makefile: Likewise.
35871 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35874 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35876 2012-02-15 Roland McGrath <roland@hack.frob.com>
35879 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35881 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35882 (write, read, close): Likewise.
35883 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35885 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35887 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35888 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35889 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35890 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35892 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35896 2012-02-14 Marek Polacek <polacek@redhat.com>
35898 * sysdeps/x86_64/crti.S: New file.
35899 * sysdeps/x86_64/crtn.S: New file.
35900 * sysdeps/x86_64/elf/initfini.c: Remove file.
35902 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35904 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35905 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35906 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35907 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35909 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35913 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35915 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35916 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35917 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35918 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35920 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35924 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35926 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35927 __feraiseexcept instead of feraiseexcept.
35929 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35930 nanosleep invocations.
35931 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35932 strings, and add error checking for a nanosleep invocations.
35934 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35936 Replace FSF snail mail address with URLs, as per GNU coding standards.
35937 Most of the snail mail addresses were wrong anyway, and omitting
35938 them makes the source code easier to maintain. Almost all of the
35939 changes are to license notices and to locale LC_IDENTIFICATION
35940 addresses, except for this one:
35941 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35942 not its snail mail address.
35944 2012-02-09 Richard Henderson <rth@twiddle.net>
35946 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35947 of kernel-features.h.
35949 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35951 2012-02-08 Marek Polacek <polacek@redhat.com>
35953 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35954 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35955 * sysdeps/gnu/_G_config.h: Likewise.
35956 * sysdeps/generic/_G_config.h: Likewise.
35958 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35960 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35964 * sysdeps/powerpc/powerpc32/crti.S: New file.
35965 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35966 * sysdeps/powerpc/powerpc64/crti.S: New file.
35967 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35969 * Makeconfig (have-initfini): Don't set.
35970 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35971 * configure.in (nopic_initfini): Don't substitute.
35972 * config.h.in (HAVE_INITFINI): Don't #undef.
35973 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35974 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35976 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35978 Support crti.S and crtn.S provided directly by architectures.
35979 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35980 [crti.S in sysdirs] (omit-deps): Likewise.
35981 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35982 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35983 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35984 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35985 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35986 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35987 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35988 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35989 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35990 compiler output for sysdeps/generic/initfini.c.
35991 * sysdeps/i386/elf/Makefile: Remove file.
35992 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35994 2012-02-07 Marek Polacek <polacek@redhat.com>
35996 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35997 * sysdeps/gnu/_G_config.h: Likewise.
35998 * sysdeps/mach/hurd/_G_config.h: Likewise.
36000 2012-02-07 Marek Polacek <polacek@redhat.com>
36002 * math/Makefile (tests): Add tst-CMPLX2.
36003 * math/tst-CMPLX2.c: New file.
36005 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36007 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36009 * math/libm-test.inc (jn_test): Add missing L suffix.
36011 2012-02-06 Marek Polacek <polacek@redhat.com>
36013 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36014 * sysdeps/i386/fpu/e_powf.S: Likewise.
36015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36016 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36017 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36018 * sysdeps/i386/fpu/e_pow.S: Likewise.
36019 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36021 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36022 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36023 * sysdeps/i386/fpu/e_log2.S: Likewise.
36024 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36026 * sysdeps/i386/fpu/e_powl.S: Likewise.
36027 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36030 * sysdeps/i386/fpu/e_logl.S: Likewise.
36031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36032 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36033 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36034 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36035 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36036 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36037 * sysdeps/i386/fpu/e_log.S: Likewise.
36038 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36040 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36041 * sysdeps/i386/fpu/e_logf.S: Likewise.
36042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36044 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36045 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36046 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36047 * sysdeps/i386/fpu/e_log10.S: Likewise.
36048 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36049 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36050 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36051 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36052 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36053 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36054 * sysdeps/i386/asm-syntax.h: Likewise.
36055 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36056 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36057 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36058 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36059 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36064 * sysdeps/powerpc/sysdep.h: Likewise.
36065 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36066 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36068 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36071 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36073 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36075 * sysdeps/i386/sysdep.h: Include <features.h>.
36076 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36079 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36083 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36086 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36088 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36089 (SETUP_PIC_REG): Use GET_PC_THUNK.
36090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36093 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36095 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36096 for non-PIC compilation.
36097 (SETUP_PIC_REG): Add .p2align directive.
36098 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36099 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36102 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36103 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36106 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36107 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36108 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36109 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36110 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36111 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36112 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36113 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36114 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36115 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36116 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36117 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36118 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36120 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36121 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36124 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36126 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36127 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36128 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36130 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36131 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36132 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36140 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36142 * math/tst-CMPLX.c: Include <stdio.h>.
36144 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36146 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36148 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36149 * sysdeps/sparc/bits/mathdef.h: Likewise.
36151 2012-01-31 Marek Polacek <polacek@redhat.com>
36153 * libio/libio.h: Don't define _PARAMS.
36154 * locale/programs/config.h: Don't define PARAMS.
36155 * stdlib/strtol_l.c: Likewise.
36156 (__strtol_l): Remove PARAMS from the prototype.
36158 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36160 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36161 names. Just use the correct names. Remove unnecessary wrapper
36163 * malloc/arena.c: Likewise.
36164 * malloc/hooks.c: Likewise.
36166 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36167 ARENA_TEST says not to. Simplify test for creation of a new arena.
36168 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36170 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36172 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36174 (update_get_addr): New function.
36175 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36176 GET_ADDR_MODULE parameter.
36178 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36180 * crypt/cert.c: Remove __STDC__ conditionals.
36181 * crypt/crypt-entry.c: Likewise.
36182 * crypt/crypt_util.c: Likewise.
36183 * libio/filedoalloc.c: Likewise.
36184 * libio/fileops.c: Likewise.
36185 * libio/genops.c: Likewise.
36186 * libio/iofclose.c: Likewise.
36187 * libio/iofdopen.c: Likewise.
36188 * libio/iofopen.c: Likewise.
36189 * libio/iofopen64.c: Likewise.
36190 * libio/iogetdelim.c: Likewise.
36191 * libio/iopopen.c: Likewise.
36192 * libio/obprintf.c: Likewise.
36193 * libio/oldfileops.c: Likewise.
36194 * libio/oldiofclose.c: Likewise.
36195 * libio/oldiofdopen.c: Likewise.
36196 * libio/oldiofopen.c: Likewise.
36197 * libio/oldiopopen.c: Likewise.
36198 * libio/wfiledoalloc.c: Likewise.
36199 * libio/wgenops.c: Likewise.
36200 * locale/programs/xmalloc.c: Likewise.
36201 * misc/syslog.c: Likewise.
36202 * stdio-common/xbug.c: Likewise.
36203 * string/memchr.c: Likewise.
36204 * string/memcmp.c: Likewise.
36205 * string/memrchr.c: Likewise.
36206 * string/rawmemchr.c: Likewise.
36207 * sysdeps/posix/getcwd.c: Likewise.
36208 * time/strftime_l.c: Likewise.
36210 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36212 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36213 * config.make.in (config-cflags-sse2avx): Define.
36214 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36217 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36219 * scripts/config.guess: Update from upstream config git repository.
36220 * scripts/config.sub: Likewise.
36222 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36224 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36226 (R_TILEPRO_*, R_TILEGX_*): New macros.
36228 * scripts/firstversions.awk: Fix bug in version range handling.
36230 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36232 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36234 * include/sys/epoll.h: New file.
36235 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36238 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36240 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36241 Avoid unnecessary __WORDSIZE == 64 test.
36242 (fmaxf): Use VEX format if possible.
36247 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36248 * math/math_private.h: Remove libc_fegetround* and
36250 * sysdeps/i386/configure.in: Check for -msse2avx.
36251 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36252 also if SSE2AVX is defined.
36253 Remove libc_fegetround* and libc_fesetround*.
36254 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36255 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36264 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36266 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36272 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36275 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36277 * Makeconfig (libm): Define.
36278 * elf/Makefile: Add rules to build and run tst-relsort1.
36279 * elf/tst-relsort1.c: New file.
36280 * elf/tst-relsort1mod1.c: New file.
36281 * elf/tst-relsort1mod2.c: New file.
36283 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36285 * math/s_ldexp.c: Remove __STDC__ conditionals.
36286 * math/s_ldexpf.c: Likewise.
36287 * math/s_ldexpl.c: Likewise.
36288 * math/s_nextafter.c: Likewise.
36289 * math/s_nexttowardf.c: Likewise.
36290 * math/s_significand.c: Likewise.
36291 * math/s_significandf.c: Likewise.
36292 * math/s_significandl.c: Likewise.
36293 * math/w_jnl.c: Likewise.
36294 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36295 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36296 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36297 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36298 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36300 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36302 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36307 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36308 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36309 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36310 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36322 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36325 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36326 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36327 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36328 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36329 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36331 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36332 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36333 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36334 * sysdeps/ieee754/k_standard.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36343 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36344 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36359 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36366 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36370 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36371 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36374 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36375 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36377 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36378 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36383 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36384 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36385 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36388 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36389 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36390 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36391 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36395 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36396 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36397 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36399 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36400 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36401 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36402 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36403 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36410 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36411 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36412 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36413 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36414 * sysdeps/ieee754/s_matherr.c: Likewise.
36415 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36416 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36420 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36422 * crypt/md5.h: Remove __STDC__ conditionals.
36423 * libio/libioP.h: Likewise.
36424 * locale/programs/config.h: Likewise.
36425 * sysdeps/generic/sysdep.h: Likewise.
36426 * sysdeps/i386/asm-syntax.h: Likewise.
36427 * sysdeps/s390/asm-syntax.h: Likewise.
36428 * sysdeps/unix/sysdep.h: Likewise.
36429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36432 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36434 * libio/libio.h: Remove __STDC__ conditionals.
36435 * malloc/obstack.h: Likewise.
36436 * math/complex.h: Likewise.
36437 * math/math.h: Likewise.
36438 * sysdeps/generic/_G_config.h: Likewise.
36439 * sysdeps/gnu/_G_config.h: Likewise.
36440 * sysdeps/mach/hurd/_G_config.h: Likewise.
36441 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36442 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36443 * sysdeps/sparc/bits/mathdef.h: Likewise.
36445 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36448 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36449 Clean up HAS_* macros.
36450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36451 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36461 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36463 * elf/tst-unique3.cc (gets): Remove declaration.
36464 * elf/tst-unique3lib.cc (gets): Likewise.
36465 * elf/tst-unique3lib2.cc (gets): Likewise.
36466 * elf/tst-unique4.cc (gets): Likewise.
36468 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36470 * include/stdio.h: Add C++ protection. Add gets declarations and
36472 * debug/tst-chk1.c: Don't declare gets here.
36473 * stdio-common/tst-gets.c: Likewise.
36475 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36477 * posix/glob: Remove directory.
36479 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36481 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36483 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36485 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36486 of the non-standard EPFNOSUPPORT.
36488 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36490 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36491 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36492 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36494 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36496 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36498 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36500 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36502 * nscd/grpcache.c (cache_addgr): Likewise.
36503 * nscd/hstcache.c (cache_addhst): Likewise.
36504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36505 * nscd/pwdcache.c (cache_addpw): Likewise.
36506 * nscd/servicescache.c (cache_addserv): Likewise.
36508 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36510 * malloc/malloc.c: Various cleanups.
36511 * malloc/hooks.c: Likewise.
36513 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36514 * stdlib/bug-fmtmsg1.c: New file.
36516 * stdlib/fmtmsg.c (init): Add missing unlock.
36517 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36519 2012-01-12 Marek Polacek <polacek@redhat.com>
36521 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36524 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36526 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36528 macro to ensure uniqueness of label name.
36529 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36530 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36532 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36534 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36536 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36537 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36541 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36545 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36546 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36547 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36549 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36552 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36556 * math/bits/math-finite.h: Add ldexp support.
36558 2012-01-10 Marek Polacek <polacek@redhat.com>
36560 * locale/programs/localedef.h (show_archive_content): Add noreturn
36563 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36565 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36567 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36569 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36571 * io/Makefile (headers): Add bits/poll2.h.
36573 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36576 typo #include statement.
36578 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36580 * include/sys/cdefs.h: Define __attribute_alloc_size.
36581 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36582 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36583 * elf/pldd.c: Likewise.
36584 * iconv/iconv_charmap.c: Likewise.
36585 * iconv/iconvconfig.c: Likewise.
36586 * iconv/strtab.c: Likewise.
36587 * locale/programs/locale.c: Likewise.
36588 * locale/programs/localedef.h: Likewise.
36589 * locale/programs/simple-hash.c: Likewise.
36590 * nscd/nscd.h: Likewise.
36591 * nss/makedb.c: Likewise.
36592 * sysdeps/generic/ldconfig.h: Likewise.
36593 * locale/programs/localedef.c: Remove xmalloc prototype.
36594 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36596 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36598 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36601 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36603 * math/Makefile (tests): Add tst-CMPLX.
36604 * math/tst-CMPLX.c: New file.
36606 * math/complex.h (CMPLXL): Fix typo.
36608 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36609 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36611 * debug/tst-chk1.c: Add poll and ppoll tests.
36612 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36613 * include/sys/poll.h: Add hidden proto for ppoll.
36614 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36615 * sysdeps/mach/hurd/ppoll.c: Likewise.
36616 * io/ppoll.c: Likewise.
36617 * debug/poll_chk.c: New file.
36618 * debug/ppoll_chk.c: New file.
36619 * include/bits/poll2.h: New file.
36620 * io/bits/poll2.h: New file.
36623 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36625 * configure.in: static is always set to yes. Remove.
36626 * config.make.in: Don't set build-static.
36627 * Makeconfig: Remove use of build-static.
36628 * dlfcn/Makefile: Likewise.
36629 * elf/Makefile: Likewise.
36630 * math/Makefile: Likewise.
36631 * misc/Makefile: Likewise.
36632 * nptl/Makefile: Likewise.
36633 * sysdeps/mach/hurd/Makefile: Likewise.
36635 * configure.in: PWD_P is not used anymore.
36636 * config.make.in: Remove PWD_P entry.
36638 * configure.in: Remove last remnants of RANLIB.
36639 No need to check for signed size_t anymore.
36640 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36642 Remove __builtin_expect test because we require at least gcc 3.4.
36643 * aclocal.m4: Likewise.
36645 * wcsmbs/mbrtoc16.c: Implement using towc function.
36646 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36647 * wcsmbs/wcsmbsload.c: Likewise.
36648 * iconv/gconv_simple.c: Likewise.
36649 * iconv/gconv_int.h: Likewise.
36650 * iconv/gconv_builtin.h: Likewise.
36651 * iconv/iconv_prog.c: Remove CHAR16 handling.
36653 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36655 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36657 * configure.in: Remove --with-elf and --enable-bounded options.
36658 Dont set base_machine for ia64. More non-ELF conditions removed.
36659 Remove testing and setting of leading underscore information.
36660 * config.make.in (build-bounded): Set to no.
36661 * config.h.in: Remove NO_UNDERSCORES entry.
36662 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36664 * csu/start.c: Remove !NO_UNDERSCORE code.
36665 * locale/localeinfo.h: Likewise.
36666 * sysdeps/generic/machine-gmon.h: Likewise.
36667 * sysdeps/generic/sysdep.h: Likewise.
36668 * sysdeps/i386/sysdep.h: Likewise.
36669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36670 * sysdeps/mach/sysdep.h: Likewise.
36671 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36673 * sysdeps/sh/sysdep.h: Likewise.
36674 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36675 * sysdeps/unix/i386/sysdep.S: Likewise.
36676 * sysdeps/unix/sparc/start.c: Likewise.
36677 * sysdeps/unix/sparc/sysdep.S: Likewise.
36678 * sysdeps/unix/sparc/sysdep.h: Likewise.
36679 * sysdeps/unix/start.c: Likewise.
36680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36681 * sysdeps/x86_64/sysdep.h: Likewise.
36683 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36686 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36688 * argp/argp-fmtstream.h: Use const instead __const.
36689 * argp/argp.h: Likewise.
36690 * assert/assert.h: Likewise.
36691 * bits/fenv.h: Likewise.
36692 * bits/sched.h: Likewise.
36693 * bits/sigset.h: Likewise.
36694 * bits/sigthread.h: Likewise.
36695 * catgets/nl_types.h: Likewise.
36696 * conform/data/pthread.h-data: Likewise.
36697 * crypt/crypt-private.h: Likewise.
36698 * crypt/crypt.h: Likewise.
36699 * crypt/crypt_util.c: Likewise.
36700 * ctype/ctype.h: Likewise.
36701 * debug/execinfo.h: Likewise.
36702 * debug/mbsnrtowcs_chk.c: Likewise.
36703 * debug/mbsrtowcs_chk.c: Likewise.
36704 * debug/wcsnrtombs_chk.c: Likewise.
36705 * debug/wcsrtombs_chk.c: Likewise.
36706 * debug/wcstombs_chk.c: Likewise.
36707 * dirent/dirent.h: Likewise.
36708 * dlfcn/dlfcn.h: Likewise.
36709 * elf/neededtest4.c: Likewise.
36710 * grp/grp.h: Likewise.
36711 * gshadow/gshadow.h: Likewise.
36712 * iconv/gconv.h: Likewise.
36713 * iconv/gconv_int.h: Likewise.
36714 * iconv/gconv_simple.c: Likewise.
36715 * iconv/iconv.h: Likewise.
36716 * iconv/loop.c: Likewise.
36717 * iconv/skeleton.c: Likewise.
36718 * include/aio.h: Likewise.
36719 * include/aliases.h: Likewise.
36720 * include/argz.h: Likewise.
36721 * include/arpa/inet.h: Likewise.
36722 * include/assert.h: Likewise.
36723 * include/dirent.h: Likewise.
36724 * include/dlfcn.h: Likewise.
36725 * include/execinfo.h: Likewise.
36726 * include/fcntl.h: Likewise.
36727 * include/fenv.h: Likewise.
36728 * include/glob.h: Likewise.
36729 * include/grp.h: Likewise.
36730 * include/libintl.h: Likewise.
36731 * include/mntent.h: Likewise.
36732 * include/netdb.h: Likewise.
36733 * include/pwd.h: Likewise.
36734 * include/rpc/netdb.h: Likewise.
36735 * include/sched.h: Likewise.
36736 * include/search.h: Likewise.
36737 * include/shadow.h: Likewise.
36738 * include/signal.h: Likewise.
36739 * include/stdio.h: Likewise.
36740 * include/stdlib.h: Likewise.
36741 * include/string.h: Likewise.
36742 * include/sys/socket.h: Likewise.
36743 * include/sys/stat.h: Likewise.
36744 * include/sys/statfs.h: Likewise.
36745 * include/sys/statvfs.h: Likewise.
36746 * include/sys/syslog.h: Likewise.
36747 * include/sys/time.h: Likewise.
36748 * include/sys/uio.h: Likewise.
36749 * include/time.h: Likewise.
36750 * include/unistd.h: Likewise.
36751 * include/utmp.h: Likewise.
36752 * include/wchar.h: Likewise.
36753 * include/wctype.h: Likewise.
36754 * inet/aliases.h: Likewise.
36755 * inet/arpa/inet.h: Likewise.
36756 * inet/netinet/ether.h: Likewise.
36757 * inet/netinet/in.h: Likewise.
36758 * intl/libintl.h: Likewise.
36759 * io/bits/fcntl2.h: Likewise.
36760 * io/fcntl.h: Likewise.
36761 * io/ftw.h: Likewise.
36762 * io/sys/poll.h: Likewise.
36763 * io/sys/stat.h: Likewise.
36764 * io/sys/statfs.h: Likewise.
36765 * io/sys/statvfs.h: Likewise.
36766 * io/utime.h: Likewise.
36767 * libio/bits/stdio.h: Likewise.
36768 * libio/bits/stdio2.h: Likewise.
36769 * libio/libio.h: Likewise.
36770 * libio/libioP.h: Likewise.
36771 * libio/stdio.h: Likewise.
36772 * locale/lc-ctype.c: Likewise.
36773 * locale/locale.h: Likewise.
36774 * login/utmp.h: Likewise.
36775 * malloc/arena.c: Likewise.
36776 * malloc/malloc.c: Likewise.
36777 * malloc/malloc.h: Likewise.
36778 * malloc/mcheck.c: Likewise.
36779 * malloc/mtrace.c: Likewise.
36780 * math/bits/mathcalls.h: Likewise.
36781 * math/fenv.h: Likewise.
36782 * math/math_private.h: Likewise.
36783 * misc/bits/error.h: Likewise.
36784 * misc/bits/syslog.h: Likewise.
36785 * misc/err.h: Likewise.
36786 * misc/error.h: Likewise.
36787 * misc/fstab.h: Likewise.
36788 * misc/mntent.h: Likewise.
36789 * misc/regexp.h: Likewise.
36790 * misc/search.h: Likewise.
36791 * misc/sgtty.h: Likewise.
36792 * misc/sys/mman.h: Likewise.
36793 * misc/sys/syslog.h: Likewise.
36794 * misc/sys/uio.h: Likewise.
36795 * misc/sys/xattr.h: Likewise.
36796 * misc/ttyent.h: Likewise.
36797 * nis/rpcsvc/ypclnt.h: Likewise.
36798 * nss/nss.h: Likewise.
36799 * posix/bits/unistd.h: Likewise.
36800 * posix/fnmatch.h: Likewise.
36801 * posix/glob.h: Likewise.
36802 * posix/sched.h: Likewise.
36803 * posix/spawn.h: Likewise.
36804 * posix/sys/wait.h: Likewise.
36805 * posix/unistd.h: Likewise.
36806 * posix/wordexp.h: Likewise.
36807 * pwd/pwd.h: Likewise.
36808 * resolv/netdb.h: Likewise.
36809 * resource/sys/resource.h: Likewise.
36810 * rt/aio.h: Likewise.
36811 * rt/bits/mqueue2.h: Likewise.
36812 * rt/mqueue.h: Likewise.
36813 * shadow/shadow.h: Likewise.
36814 * signal/signal.h: Likewise.
36815 * socket/send.c: Likewise.
36816 * socket/sendto.c: Likewise.
36817 * socket/sys/socket.h: Likewise.
36818 * stdio-common/printf.h: Likewise.
36819 * stdlib/bits/stdlib.h: Likewise.
36820 * stdlib/fmtmsg.h: Likewise.
36821 * stdlib/monetary.h: Likewise.
36822 * stdlib/stdlib.h: Likewise.
36823 * stdlib/ucontext.h: Likewise.
36824 * streams/stropts.h: Likewise.
36825 * string/argz.h: Likewise.
36826 * string/bits/string2.h: Likewise.
36827 * string/string.h: Likewise.
36828 * string/strings.h: Likewise.
36829 * sunrpc/rpc/auth.h: Likewise.
36830 * sunrpc/rpc/auth_des.h: Likewise.
36831 * sunrpc/rpc/clnt.h: Likewise.
36832 * sunrpc/rpc/netdb.h: Likewise.
36833 * sunrpc/rpc/pmap_clnt.h: Likewise.
36834 * sunrpc/rpc/xdr.h: Likewise.
36835 * sysdeps/generic/inttypes.h: Likewise.
36836 * sysdeps/generic/net/if.h: Likewise.
36837 * sysdeps/generic/sys/swap.h: Likewise.
36838 * sysdeps/gnu/net/if.h: Likewise.
36839 * sysdeps/gnu/utmpx.h: Likewise.
36840 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36841 * sysdeps/i386/i486/bits/string.h: Likewise.
36842 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36843 * sysdeps/s390/bits/string.h: Likewise.
36844 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36845 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36846 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36847 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36848 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36849 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36850 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36851 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36852 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36853 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36854 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36855 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36856 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36857 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36858 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36859 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36860 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36864 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36865 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36866 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36867 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36868 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36869 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36870 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36871 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36872 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36874 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36875 * sysvipc/sys/ipc.h: Likewise.
36876 * sysvipc/sys/msg.h: Likewise.
36877 * sysvipc/sys/sem.h: Likewise.
36878 * sysvipc/sys/shm.h: Likewise.
36879 * termios/termios.h: Likewise.
36880 * time/sys/time.h: Likewise.
36881 * time/time.h: Likewise.
36882 * wcsmbs/bits/wchar2.h: Likewise.
36883 * wcsmbs/uchar.h: Likewise.
36884 * wcsmbs/wchar.h: Likewise.
36885 * wctype/wctype.h: Likewise.
36888 * Makeconfig: Remove all but ELF support including AIX support.
36889 * Makerules: Likewise.
36890 * config.h.in: Likewise.
36891 * config.make.in: Likewise.
36892 * configure: Likewise.
36893 * configure.in: Likewise.
36894 * csu/Makefile: Likewise.
36895 * csu/version.c: Likewise.
36896 * debug/Makefile: Likewise.
36897 * dlfcn/Makefile: Likewise.
36898 * elf/Makefile: Likewise.
36899 * extra-lib.mk: Likewise.
36900 * iconv/Makefile: Likewise.
36901 * include/libc-symbols.h: Likewise.
36902 * include/shlib-compat.h: Likewise.
36903 * resolv/Makefile: Likewise.
36904 * resolv/res_libc.c: Likewise.
36905 * rt/Makefile: Likewise.
36906 * sysdeps/i386/asm-syntax.h: Likewise.
36907 * sysdeps/i386/sysdep.h: Likewise.
36908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36909 * sysdeps/mach/sysdep.h: Likewise.
36910 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36911 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36912 * sysdeps/s390/asm-syntax.h: Likewise.
36913 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36915 * sysdeps/sh/sysdep.h: Likewise.
36916 * sysdeps/unix/sparc/sysdep.h: Likewise.
36917 * sysdeps/wordsize-32/divdi3.c: Likewise.
36918 * sysdeps/x86_64/sysdep.h: Likewise.
36920 * argp/Versions: Remove _argp_unlock_xxx.
36923 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36924 * abilist/libBrokenLocale.abilist: Likewise.
36925 * abilist/libanl.abilist: Likewise.
36926 * abilist/libc.abilist: Likewise.
36927 * abilist/libcrypt.abilist: Likewise.
36928 * abilist/libdl.abilist: Likewise.
36929 * abilist/libm.abilist: Likewise.
36930 * abilist/libnsl.abilist: Likewise.
36931 * abilist/libpthread.abilist: Likewise.
36932 * abilist/libresolv.abilist: Likewise.
36933 * abilist/librt.abilist: Likewise.
36934 * abilist/libthread_db.abilist: Likewise.
36935 * abilist/libutil.abilist: Likewise.
36936 * abilist/libnss_db.abilist: New file.
36938 * scripts/abilist.awk: Add support for indirect functions.
36940 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36942 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36944 * shlib-versions: Remove entries for ports architectures.
36946 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36948 * elf/stackguard-macros.h: Remove support for IA-64.
36949 * elf/tst-auditmod1.c: Likewise.
36950 * sysdeps/generic/ldsodefs.h: Likewise.
36952 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36953 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36957 * configure.in: Remove --enable-omitfp support.
36959 * config.make.in: Likewise.
36960 * Makeconfig: Likewise.
36961 * manual/install.texi: Likewise.
36963 In case anyone cares, the IA-64 architecture could move to ports.
36964 * sysdeps/ia64/*: Removed.
36965 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36966 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36969 * configure.in: Remove entries for unsupported architectures.
36972 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36973 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36975 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36976 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36977 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36978 fall back to using wcrtomb.
36979 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36980 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36982 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36983 * wcsmbs/tst-c16c32-1.c: New file.
36985 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36988 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36990 * elf/tst-unique3.cc: Add explicit declaration of gets.
36991 * elf/tst-unique3lib.cc: Likewise.
36992 * elf/tst-unique3lib2.cc: Likewise.
36993 * elf/tst-unique4.cc: Likewise.
36995 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36997 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37000 * assert/assert.h (static_assert): Don't define for C++.
37001 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37002 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37004 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37006 * iconv/loop.c (single loop): Fix assertion in storing of
37009 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37011 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37013 * posix/getconf.c: Update copyright year.
37014 * nss/getent.c: Likewise.
37015 * nss/makedb.c: Likewise.
37016 * iconv/iconvconfig.c: Likewise.
37017 * iconv/iconv_prog.c: Likewise.
37018 * elf/ldconfig.c: Likewise.
37019 * elf/pldd.c: Likewise.
37020 * elf/sotruss.ksh: Likewise.
37021 * catgets/gencat.c: Likewise.
37022 * csu/version.c: Likewise.
37023 * elf/ldd.bash.in: Likewise.
37024 * elf/sprof.c (print_version): Likewise.
37025 * locale/programs/locale.c: Likewise.
37026 * locale/programs/localedef.c: Likewise.
37027 * login/programs/pt_chown.c: Likewise.
37028 * nscd/nscd.c (print_version): Likewise.
37029 * debug/xtrace.sh: Likewise.
37030 * malloc/memusage.sh: Likewise.
37031 * malloc/mtrace.pl: Likewise.
37032 * debug/catchsegv.sh: Likewise.
37034 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37036 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37039 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37042 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37043 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37045 * iconv/gconv_int.h: Likewise.
37046 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37047 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37048 from libc for GLIBC_2.16.
37049 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37050 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37051 * wcsmbs/uchar.h: Really define mbstate_t.
37052 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37053 * wcsmbs/c16rtomb.c: New file.
37054 * wcsmbs/mbrtoc16.c: New file.
37055 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37056 for C/POSIX locale.
37057 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37058 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37060 * wcsmbs/wchar.h: Add missing __restrict.
37062 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37065 * time/Makefile (routines): Add timespec_get.
37066 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37067 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37068 timespec for ISO C11.
37069 * time/timespec_get.c: New file.
37070 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37071 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37074 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37075 * stdlib/stdlib.h: Declare aligned_alloc.
37076 * Versions.def: Add GLIBC_2.16 for libc.
37077 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37080 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37083 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37087 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37090 * assert/assert.h (static_assert): Define.
37092 * version.h: Update for 2.16 development version.
37095 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37098 * version.h (RELEASE): Bump for 2.15 release.
37099 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37101 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37102 Patch by Marek Polacek <mpolacek@redhat.com>.
37104 * bits/byteswap.h: Protect long long constants with __extension__.
37105 * sysdeps/i386/bits/byteswap.h: Likewise.
37106 * sysdeps/ia64/bits/byteswap.h: Likewise.
37107 * sysdeps/s390/bits/byteswap.h: Likewise.
37108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37110 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37114 destination buffer.
37115 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37117 2011-12-23 Marek Polacek <polacek@redhat.com>
37119 * elf/dl-addr.c (determine_info): Add inline keyword.
37120 * elf/tst-auditmod4b.c (check_avx): Likewise.
37121 * elf/tst-auditmod6b.c (check_avx): Likewise.
37122 * elf/tst-auditmod6c.c (check_avx): Likewise.
37123 * elf/tst-auditmod7b.c (check_avx): Likewise.
37125 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37127 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37130 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37133 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37134 processing for last bytes.
37136 2011-08-06 Bruno Haible <bruno@clisp.org>
37139 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37140 U+0385, not to U+1FEE.
37143 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37144 entry for U+00A5 U+0301.
37146 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37149 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37150 buffer for the output is too small.
37152 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37156 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37157 SSE flags if possible.
37159 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37163 processing for last bytes.
37165 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37167 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37168 (syscall-list-default-options, syscall-list-default-condition)
37169 (syscall-list-includes): Define.
37170 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37171 list of ABIs and options and #if conditions for each ABI. Do not
37172 handle common syscalls between ABIs specially.
37173 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37175 (syscall-list-variants, syscall-list-32bit-options)
37176 (syscall-list-32bit-condition, syscall-list-64bit-options)
37177 (syscall-list-64bit-condition): Define.
37178 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37179 (syscall-list-variants, syscall-list-32bit-options)
37180 (syscall-list-32bit-condition, syscall-list-64bit-options)
37181 (syscall-list-64bit-condition): Define.
37182 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37184 (syscall-list-variants, syscall-list-32bit-options)
37185 (syscall-list-32bit-condition, syscall-list-64bit-options)
37186 (syscall-list-64bit-condition): Define.
37187 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37189 (syscall-list-variants, syscall-list-32bit-options)
37190 (syscall-list-32bit-condition, syscall-list-64bit-options)
37191 (syscall-list-64bit-condition): Define.
37193 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37195 * locale/iso-639.def: Add brx entry.
37198 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37199 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37201 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37202 __feraiseexcept_renamed.
37204 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37207 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37208 EPOLLET with unsigned values.
37209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37212 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37213 to large cancellation.
37214 * math/s_cacoshf.c: Likewise.
37215 * math/s_cacoshl.c: Likewise.
37217 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37221 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37222 * math/s_cacoshf.c: Likewise.
37223 * math/s_cacoshl.c: Likewise.
37225 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37228 * iconv/gconv.h: Define __GCONV_SWAP.
37229 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37230 * iconvdata/utf-16.c: Likewise.
37231 * iconvdata/utf-32.c: Likewise.
37233 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37237 numerator after shifting it by one limb.
37239 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37242 under [__USE_EXTERN_INLINES].
37244 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37247 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37249 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37251 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37252 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37254 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37255 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37256 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37257 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37258 for strncasecmp/strncasecmp_l compilation.
37259 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37260 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37262 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37265 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37268 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37271 * time/tzfile.c (__tzfile_read): Check values from file header.
37273 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37275 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37276 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37277 * powerpc/powerpc32/dl-start.S: Likewise.
37278 * powerpc/powerpc32/elf/start.S: Likewise.
37279 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37280 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37281 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37282 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37283 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37284 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37285 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37286 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37287 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37288 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37289 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37290 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37291 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37292 * powerpc/powerpc32/memset.S: Likewise.
37293 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37294 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37295 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37296 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37297 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37298 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37299 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37300 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37301 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37302 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37303 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37304 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37305 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37307 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37309 * math/libm-test.inc: Added more nearbyint tests.
37310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37311 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37315 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37317 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37320 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37322 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37323 Add wcscpy-ssse3 wcscpy-c.
37324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37325 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37326 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37327 * sysdeps/x86_64/wcschr.S: New file.
37328 * sysdeps/x86_64/wcsrchr.S: New file.
37329 * string/test-strcmp.c: Remove checking of wcscmp function for
37331 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37332 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37333 wcsrchr-sse2 wcsrchr-c.
37334 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37335 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37336 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37337 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37338 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37339 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37340 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37341 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37343 * wcsmbc/wcschr.c (WCSCHR): New macro.
37345 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37347 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37348 * wcsmbs/test-wcsrchr.c: New file.
37349 * string/test-strrchr.c: Add wcsrchr support.
37351 * wcsmbs/test-wcscpy.c: New file.
37352 * string/test-strcpy.c: Add wcscpy support.
37355 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37357 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37360 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37363 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37365 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37368 Minor optimizations.
37370 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37371 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37372 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37374 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37376 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37377 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37378 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37379 for gcc to avoid warnings.
37380 * inet/Makefile (tests): Add tst-checks.
37381 * inet/tst-checks.c: New file.
37383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37386 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37389 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37390 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37392 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37394 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37396 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37399 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37401 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37403 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37404 conditional on GCC version.
37405 (__arch_compare_and_exchange_val_8_acq)
37406 (__arch_compare_and_exchange_val_16_acq)
37407 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37408 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37409 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37411 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37413 * sysdeps/sh/backtrace.c: New file.
37415 2011-12-02 Andreas Schwab <schwab@redhat.com>
37417 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37420 2011-12-01 Andreas Schwab <schwab@redhat.com>
37422 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37423 falling back to utime.
37425 2011-11-30 Andreas Schwab <schwab@redhat.com>
37427 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37428 expectations for float.
37430 2011-11-29 Andreas Schwab <schwab@redhat.com>
37432 * locale/weight.h (findidx): Add parameter len.
37433 * locale/weightwc.h (findidx): Likewise.
37434 * posix/fnmatch_loop.c (FCT): Adjust caller.
37435 * posix/regcomp.c (build_equiv_class): Likewise.
37436 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37437 * posix/regexec.c (check_node_accept_bytes): Likewise.
37438 * string/strcoll_l.c (STRCOLL): Likewise.
37439 * string/strxfrm_l.c (STRXFRM): Likewise.
37441 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37443 * Makefile.in: Remove CVSOPT handling.
37444 * configure.in: Remove use of AC_REVISION.
37445 * iconvdata/Makefile (distribute): No need to filter out CVS.
37446 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37449 2011-11-16 Andreas Schwab <schwab@redhat.com>
37451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37452 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37453 [USE_AS_STRNCASECMP_L]: Likewise.
37454 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37455 NO_TLS_DIRECT_SEG_REFS.
37456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37457 Fix argument offsets for non-PIC.
37458 [USE_AS_STRNCASECMP_L]: Likewise.
37459 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37460 NO_TLS_DIRECT_SEG_REFS.
37462 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37464 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37466 * locale/loadlocale.c (_nl_load_locale): Likewise.
37468 2011-11-15 Andreas Schwab <schwab@redhat.com>
37470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37471 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37473 (SYSCALL_GETTIME): Set errno on error.
37475 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37476 count references to noai6ai_cached.
37478 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37480 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37482 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37483 FD_CLOEXEC for /proc/self/maps.
37485 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37486 FD_CLOEXEC for /proc/meminfo.
37488 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37491 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37492 FD_CLOEXEC for given file.
37494 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37496 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37497 FD_CLOEXEC for /etc/hosts.
37498 (_gethtent): Likewise.
37500 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37502 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37503 cancellation and set FD_CLOEXEC for /etc/netgroup.
37505 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37506 reading /etc/publickey.
37508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37509 allow cancellation when reading /etc/group.
37511 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37513 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37515 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37516 when using data file.
37518 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37520 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37521 (write_nis_obj): Use "c" and "e" in fopen.
37523 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37525 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37527 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37529 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37531 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37534 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37536 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37538 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37540 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37541 file parsing and set FD_CLOEXEC.
37543 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37545 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37547 2011-11-14 Andreas Schwab <schwab@redhat.com>
37549 * malloc/arena.c (arena_get2): Don't call reused_arena when
37550 _int_new_arena failed.
37552 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37555 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37560 to compile strcasecmp and strncasecmp.
37561 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37562 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37566 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37568 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37569 locale-defines.sym to gen-as-const-headers.
37570 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37571 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37573 to compile strcasecmp and strncasecmp.
37574 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37575 strcasecmp_l and strncasecmp_l.
37576 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37577 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37578 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37579 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37580 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37581 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37582 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37583 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37584 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37585 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37586 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37588 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37590 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37591 result of SYSDEP_GETTIME_CPU to retval.
37592 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37593 parameter list to macro. Remove trailing semicolon. Adjust users.
37595 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37598 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37602 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37603 from unused variable.
37605 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37607 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37610 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37613 * sunrpc/rpc_prot.c (rejected): Fix case value.
37615 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37616 unsigned long long int to avoid warnings in shift.
37618 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37620 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37624 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37625 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37627 * nis/nis_table.c (nis_list): Use variable of correct type for
37628 result of __follow_path call.
37630 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37632 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37633 of math functions ceil, trunc, floor, round, and sqrt, when
37634 avaliable on the platform.
37635 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37637 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37638 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37639 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37641 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37643 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37646 2011-11-11 Roland McGrath <roland@hack.frob.com>
37648 * include/unistd.h: Fix __readlink return type.
37649 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37651 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37653 * stdlib/ucontext.h: Undo last change for makecontext.
37655 2011-11-11 Andreas Schwab <schwab@redhat.com>
37657 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37659 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37660 * setjmp/setjmp.h: Mark functions as non-leaf.
37661 * setjmp/bits/setjmp2.h: Likewise.
37662 * stdlib/ucontext.h: Likewise.
37664 2011-11-10 Andreas Schwab <schwab@redhat.com>
37666 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37667 (reused_arena): Don't check arena limit.
37668 (arena_get2): Atomically check arena limit.
37670 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37672 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37673 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37678 2011-11-07 Andreas Schwab <schwab@redhat.com>
37680 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37681 handler when locking.
37683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37684 Fix size of allocated buffer.
37686 2011-11-04 Andreas Schwab <schwab@redhat.com>
37689 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37690 declarations for long double functions.
37691 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37693 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37695 2011-11-03 Andreas Schwab <schwab@redhat.com>
37697 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37700 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37703 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37705 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37707 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37709 * include/alloca.h (stackinfo_alloca_round): Define.
37710 (extend_alloca): Use it.
37711 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37712 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37715 * scripts/check-local-headers.sh: Ignore libaudit.h.
37717 * nscd/Makefile (extra-objs): Make recursively expanded.
37719 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37721 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37724 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37725 * posix/tst-rfc3484-2.c: Likewise.
37726 * posix/tst-rfc3484-3.c: Likewise.
37728 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37730 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37732 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37733 process_vm_writev from libc using GLIBC_2.15 version.
37735 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37737 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37739 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37742 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37745 * nss/getent.c (initgroups_keys): Show error message in case no group
37748 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37749 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37750 __bump_nl_timestamp.
37751 * nscd/connections (nscd_init): When host database is served open
37752 netlink socket and request notification about configuration changes.
37753 (main_loop_poll): Track netlink file descriptor and bump timestamp
37754 in case data becomes available.
37755 (main_loop_epoll): Likewise.
37756 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37757 (database_pers_head): Add extra_data fileds.
37758 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37760 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37763 in6ai data, call __free_in6ai.
37764 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37765 Add -DHAVE_NETLINK.
37766 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37767 interface information. Reuse previous data if netlink timestamp
37769 (__bump_nl_timestamp): New function.
37770 (__free_in6ai): New function.
37772 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37775 close_not_cancel_no_status here.
37776 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37778 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37781 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37784 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37785 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37786 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37788 2011-07-03 Andreas Jaeger <aj@suse.de>
37791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37792 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37793 * math/libm-test.inc (sin_test): Add test case.
37795 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37798 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37801 * elf/chroot_canon.c (chroot_canon): Cleanups.
37803 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37806 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37807 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37809 * string/test-strchr.c: Make usable for strchrnul testing.
37810 * string/test-strchrnul.c: New file.
37811 * string/Makefile (strop-tests): Add strchrnul.
37813 * po/it.po: Update from translation team.
37814 * po/es.po: Likewise.
37816 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37819 the three constants needed as parameters. Drop the others.
37820 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37821 __m128i_strloadu_tolower.
37822 Create and initialize variable zero and use it in all the places
37823 where _mm_setzero_si128 was used.
37825 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37826 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37827 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37828 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37830 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37831 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37832 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37833 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37835 __mpranred, __mptan.
37836 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37837 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37838 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37839 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37840 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37841 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37843 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37844 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37846 2011-10-28 Andreas Schwab <schwab@redhat.com>
37848 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37849 redefine if SHARED.
37850 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37853 wide char related routines to wcsmbs subdir.
37855 2011-10-27 Andreas Schwab <schwab@redhat.com>
37858 * misc/sys/cdefs.h (__THROWNL): Define.
37859 * posix/unistd.h: Use __THREADNL instead of __THREAD
37860 for memory synchronization functions.
37862 2011-10-26 Roland McGrath <roland@hack.frob.com>
37865 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37867 * manual/stdio.texi (Obstack Streams): Node removed.
37869 2011-10-26 Andreas Schwab <schwab@redhat.com>
37871 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37872 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37873 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37875 * math/math_private.h (math_force_eval): Allow non-addressable
37877 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37879 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37881 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37882 file is not needed.
37884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37891 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37893 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37894 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37895 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37896 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37898 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37899 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37900 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37901 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37902 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37903 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37904 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37906 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37909 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37910 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37911 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37913 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37914 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37917 place. Use VEX encoding when compiling for AVX.
37919 2011-10-25 Andreas Schwab <schwab@redhat.com>
37921 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37922 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37924 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37926 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37928 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37929 useless if() expression.
37930 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37941 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37942 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37944 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37945 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37948 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37950 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37952 2011-10-25 Andreas Schwab <schwab@redhat.com>
37954 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37958 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37960 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37961 .text section. Avoid duplicate constants.
37962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37974 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37975 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37976 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37978 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37979 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37980 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37983 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37985 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37986 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37987 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37988 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37989 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37992 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37995 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37996 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37998 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37999 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38000 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38003 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38004 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38005 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38006 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38008 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38010 * sysdeps/x86_64/dla.h: Move to ...
38011 * sysdeps/x86_64/fpu/dla.h: ...here.
38012 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38013 situations. Use __builtin_fma only for gcc 4.6 and up.
38015 * config.make.in: Add have-mfma4 entry.
38016 * configure.in: Substitute libc_cv_cc_fma4.
38017 * math/Makefile (dbl-only-routines): Add sincostab.
38018 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38019 Use __sincostab not sincos.
38020 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38027 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38028 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38029 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38030 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38033 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38035 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38036 define aliases when function name is a macro.
38037 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38038 sysdeps/ieee754/dbl-64/sincos.tbl.
38039 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38040 fma4-enabled routines.
38041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38042 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38043 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38044 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38046 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38050 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38051 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38053 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38054 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38055 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38056 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38057 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38058 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38059 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38060 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38061 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38062 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38064 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38068 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38069 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38070 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38072 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38083 2011-10-24 Andreas Schwab <schwab@redhat.com>
38085 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38087 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38091 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38093 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38095 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38096 Remove unused variable magic_bits.
38097 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38099 * string/strnlen.c: Define and use STRNLEN macro.
38100 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38101 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38103 * wcsmbs/wcslen.c: Define and use WCSLEN.
38104 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38105 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38106 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38107 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38108 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38109 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38112 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38115 strnlen-sse2-no-bsf.
38116 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38118 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38119 Add strnlen support.
38120 (USE_AS_STRNLEN): New macro.
38121 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38122 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38123 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38124 * sysdeps/x86_64/wcslen.S: New file.
38126 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38129 XMM-moves are used for copying on small sizes.
38131 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38133 * wcsmbs/Makefile (strop-tests): Add wcschr.
38134 * wcsmbs/test-wcschr.c: New file.
38135 * string/test-strchr.c: Update.
38136 Add wcschr support.
38139 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38141 * wcsmbs/Makefile (strop-tests): Add wcslen.
38142 * wcsmbs/test-wcslen.c: New file.
38143 * string/test-strlen.c: Update.
38144 Add wcslen support.
38147 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38149 * po/it.po: Update from translation team.
38151 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38153 * sysdeps/x86_64/wcscmp.S: Update.
38154 Fix wrong comparison semantics.
38155 wcscmp shall use signed comparison not unsigned.
38156 Don't use substraction to avoid overflow bug.
38157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38158 * wcsmbc/wcscmp.c: Likewise.
38159 * string/test-strcmp.c: Likewise.
38160 Add new tests to check cases with negative values.
38162 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38164 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38165 * sysdeps/x86_64/dla.h: ...here. New file.
38166 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38176 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38179 __ynl_finite aliases.
38181 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38185 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38187 [DLA_FMA] (EMULV): Use DLA_FMA.
38188 [DLA_FMA] (MUL12): Use EMULV.
38189 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38190 that are not needed.
38191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38199 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38201 * math/s_nan.c: Undef __nan.
38202 * math/s_nanf.c: Undef __nanf.
38203 * math/s_nanl.c: Undef __nanl.
38204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38207 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38209 * math/s_catan.c: Add branch predictions.
38210 * math/s_catanf.c: Likewise.
38211 * math/s_catanh.c: Likewise.
38212 * math/s_catanhf.c: Likewise.
38213 * math/s_catanhl.c: Likewise.
38214 * math/s_catanl.c: Likewise.
38215 * math/s_cexp.c: Likewise.
38216 * math/s_cexpf.c: Likewise.
38217 * math/s_cexpl.c: Likewise.
38218 * math/s_clog.c: Likewise.
38219 * math/s_clog10.c: Likewise.
38220 * math/s_clog10f.c: Likewise.
38221 * math/s_clog10l.c: Likewise.
38222 * math/s_clogf.c: Likewise.
38223 * math/s_clogl.c: Likewise.
38224 * math/s_csqrt.c: Likewise.
38225 * math/s_csqrtf.c: Likewise.
38226 * math/s_csqrtl.c: Likewise.
38227 * math/s_ctanf.c: Likewise.
38228 * math/s_ctanh.c: Likewise.
38229 * math/s_ctanhf.c: Likewise.
38230 * math/s_ctanhl.c: Likewise.
38231 * math/s_ctanl.c: Likewise.
38233 * math/math_private.h: Define __nan, __nanf, __nanl.
38234 * math/s_cacosh.c: Include <math_private.h>.
38235 * math/s_cacoshl.c: Likewise.
38236 * math/s_casinh.c: Likewise.
38237 * math/s_casinhf.c: Likewise.
38238 * math/s_casinhl.c: Likewise.
38239 * math/s_ccos.c: Rely entire on ccosh.
38240 * math/s_ccosf.c: Rely entire on ccoshf.
38241 * math/s_ccosl.c: Rely entirely on ccoshl.
38242 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38243 Remove tests for FE_INVALID.
38244 * math/s_ccoshf.c: Likewise.
38245 * math/s_ccoshl.c: Likewise.
38246 * math/s_csin.c: Likewise.
38247 * math/s_csinf.c: Likewise.
38248 * math/s_csinh.c Likewise.
38249 * math/s_csinhf.c: Likewise.
38250 * math/s_csinhl.c: Likewise.
38251 * math/s_csinl.c: Likewise.
38252 * math/s_ctan.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38254 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38255 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38257 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38260 compilation problems.
38262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38265 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38267 * sysdeps/i386/configure.in: Test for -mfma4 option.
38268 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38269 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38270 COMMON_CPUID_INDEX_80000001.
38271 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38272 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38273 use it if FMA3 is not supported.
38274 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38276 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38279 2011-10-20 Andreas Schwab <schwab@redhat.com>
38282 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38283 it would create a cycle with a link time dependency.
38285 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38287 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38289 * string/Makefile (strop-tests): Add rawmemchr.
38290 * string/test-rawmemchr.c: New file.
38292 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38294 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38295 when compiling str{,n}casecmp and when AVX is available. Hook up
38296 new optimized code in initializers.
38298 2011-10-19 Andreas Schwab <schwab@redhat.com>
38300 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38301 __feraiseexcept instead of feraiseexcept.
38303 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38305 * math/math_private.h: Define defaults for libc_fetestexcept and
38307 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38308 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38309 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38310 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38311 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38313 libc_fetestexcept and libc_feupdateenv.
38315 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38316 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38317 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38318 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38319 libc_feholdexcept_setround.
38321 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38322 Add s_nearbyint-c and s_nearbyintf-c.
38323 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38324 nearbyintf inlines.
38325 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38326 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38328 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38330 * math/math_private.h: Define defaults for libc_fegetround,
38331 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38332 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38333 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38334 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38335 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38336 standard functions.
38337 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38338 Remove comments and hacks for old compiler versions.
38339 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38340 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38341 libc_feholdexceptl.
38343 2011-10-18 Andreas Schwab <schwab@redhat.com>
38345 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38346 (__feraiseexcept_renamed): Add __NTH.
38347 (feraiseexcept): Add __NTH. Rename local variables to fix
38348 namespace violations.
38350 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38354 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38356 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38357 recently added interfaces.
38358 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38360 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38361 about macro parameter expansion.
38363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38364 __NO_MATH_INLINES is defined. Cleanups.
38366 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38367 and __floorf is target has SSE4.1.
38368 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38369 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38370 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38373 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38375 (floorf): Likewise.
38377 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38379 2011-10-17 Andreas Schwab <schwab@redhat.com>
38381 * misc/sys/cdefs.h: Fix last change.
38383 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38386 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38388 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38390 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38396 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38398 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38399 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38400 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38401 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38402 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38403 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38404 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38405 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38407 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38408 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38409 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38410 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38411 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38413 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38414 ceil, ceilf, floor, floorf.
38416 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38417 Perform IRELATIVE relocations last.
38419 * elf/do-rel.h: Add another parameter nrelative, replacing the
38420 local variable with the same name. Change name of the function
38421 to end in Rel or Rela (uppercase).
38422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38423 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38424 elf_dynamic_do_##reloc function.
38426 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38428 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38429 is sufficient, at least on modern CPUs.
38431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38433 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38436 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38438 * math/bits/math-finite.h: Add entries for exp.
38439 * math/e_expl.c: Add __*_finite alias.
38440 * sysdeps/i386/fpu/e_exp.S: Likewise.
38441 * sysdeps/i386/fpu/e_expf.S: Likewise.
38442 * sysdeps/i386/fpu/e_expl.c: Likewise.
38443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38444 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38448 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38449 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38451 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38452 is sufficient, at least on modern CPUs.
38454 * ctype/ctype-info.c (__ctype_init): Define.
38455 * include/ctype.h (__ctype_init): Declare.
38456 (__ctype_b_loc): The variable is always initialized.
38457 (__ctype_toupper_loc): Likewise.
38458 (__ctype_tolower_loc): Likewise.
38459 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38460 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38462 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38464 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38466 * configure.in: Also look in $cxxmachine/include for C++ system
38469 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38471 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38472 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38473 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38474 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38476 (USE_AS_WMEMCMP): New macro.
38478 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38479 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38480 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38481 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38483 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38484 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38485 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38486 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38487 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38489 (USE_AS_WMEMCMP): New macro.
38490 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38491 * sysdeps/string/test-memcmp.c: Update.
38492 Fix simple_wmemcmp.
38494 * wcsmbs/wmemcmp.c: Update.
38495 (WMEMCMP): New macro.
38498 2011-10-12 Andreas Jaeger <aj@suse.de>
38501 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38503 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38505 * libio/iofwide.c (do_length): Avoid warning.
38507 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38509 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38511 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38513 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38514 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38515 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38516 * sysdeps/i386/i686/fpu/e_log.S: New file.
38517 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38518 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38520 * ctype/ctype.h: Add support for inlined isXXX functions when
38521 compiling C++ code.
38523 2011-10-14 Andreas Schwab <schwab@redhat.com>
38525 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38527 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38529 2011-10-13 Roland McGrath <roland@hack.frob.com>
38532 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38534 2011-10-13 Andreas Schwab <schwab@redhat.com>
38536 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38537 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38540 * sysdeps/x86_64/memrchr.S: Check for zero size.
38542 * string/stratcliff.c: Add memrchr tests.
38544 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38547 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38548 rawmemchr-sse2 rawmemchr-sse2-bsf.
38549 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38550 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38551 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38552 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38553 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38554 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38555 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38556 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38557 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38558 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38559 * string/memrchr.c (MEMRCHR): New macro.
38561 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38563 Add integration with gcc's -ffinite-math-only and optimize wrapper
38565 * Versions.def: Define GLIBC_2.15 version for libm.
38566 * math/Makefile (headers): Add bits/math-finite.h.
38567 * math/bits/math-finite.h: New file.
38568 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38569 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38570 * math/e_acoshl.c: Add __*_finite alias.
38571 * math/e_acosl.c: Likewise.
38572 * math/e_asinl.c: Likewise.
38573 * math/e_atan2l.c: Likewise.
38574 * math/e_atanhl.c: Likewise.
38575 * math/e_coshl.c: Likewise.
38576 * math/e_exp10.c: Likewise.
38577 * math/e_exp10f.c: Likewise.
38578 * math/e_exp10l.c: Likewise.
38579 * math/e_exp2l.c: Likewise.
38580 * math/e_fmodl.c: Likewise.
38581 * math/e_gammal_r.c: Likewise.
38582 * math/e_hypotl.c: Likewise.
38583 * math/e_j0l.c: Likewise.
38584 * math/e_j1l.c: Likewise.
38585 * math/e_jnl.c: Likewise.
38586 * math/e_lgammal_r.c: Likewise.
38587 * math/e_log10l.c: Likewise.
38588 * math/e_log2l.c: Likewise.
38589 * math/e_logl.c: Likewise.
38590 * math/e_powl.c: Likewise.
38591 * math/e_sinhl.c: Likewise.
38592 * math/e_sqrtl.c: Likewise.
38593 * math/e_scalb.c: Completely rewritten and optimized.
38594 * math/e_scalbf.c: Likewise.
38595 * math/e_scalbl.c: Likewise.
38596 * math/w_acos.c: Likewise.
38597 * math/w_acosf.c: Likewise.
38598 * math/w_acosl.c: Likewise.
38599 * math/w_acosh.c: Likewise.
38600 * math/w_acoshf.c: Likewise.
38601 * math/w_acoshl.c: Likewise.
38602 * math/w_asin.c: Likewise.
38603 * math/w_asinf.c: Likewise.
38604 * math/w_asinl.c: Likewise.
38605 * math/w_atan2.c: Likewise.
38606 * math/w_atan2f.c: Likewise.
38607 * math/w_atan2l.c: Likewise.
38608 * math/w_atanh.c: Likewise.
38609 * math/w_atanhf.c: Likewise.
38610 * math/w_atanhl.c: Likewise.
38611 * math/w_exp10.c: Likewise.
38612 * math/w_exp10f.c: Likewise.
38613 * math/w_exp10l.c: Likewise.
38614 * math/w_fmod.c: Likewise.
38615 * math/w_fmodf.c: Likewise.
38616 * math/w_fmodl.c: Likewise.
38617 * math/w_j0.c: Likewise.
38618 * math/w_j0f.c: Likewise.
38619 * math/w_j0l.c: Likewise.
38620 * math/w_j1.c: Likewise.
38621 * math/w_j1f.c: Likewise.
38622 * math/w_j1l.c: Likewise.
38623 * math/w_jn.c: Likewise.
38624 * math/w_jnf.c: Likewise.
38625 * math/w_log.c: Likewise.
38626 * math/w_logf.c: Likewise.
38627 * math/w_logl.c: Likewise.
38628 * math/w_log10.c: Likewise.
38629 * math/w_log10f.c: Likewise.
38630 * math/w_log10l.c: Likewise.
38631 * math/w_log2.c: Likewise.
38632 * math/w_log2f.c: Likewise.
38633 * math/w_log2l.c: Likewise.
38634 * math/w_pow.c: Likewise.
38635 * math/w_powf.c: Likewise.
38636 * math/w_powl.c: Likewise.
38637 * math/w_remainder.c: Likewise.
38638 * math/w_remainderf.c: Likewise.
38639 * math/w_remainderl.c: Likewise.
38640 * math/w_scalb.c: Likewise.
38641 * math/w_scalbf.c: Likewise.
38642 * math/w_scalbl.c: Likewise.
38643 * math/w_sqrt.c: Likewise.
38644 * math/w_sqrtf.c: Likewise.
38645 * math/w_sqrtl.c: Likewise.
38646 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38647 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38649 * math/math_private.h: Declare __kernel_standard_f.
38650 * math/w_cosh.c: Remove cruft and optimize a bit.
38651 * math/w_coshf.c: Likewise.
38652 * math/w_coshl.c: Likewise.
38653 * math/w_exp2.c: Likewise.
38654 * math/w_exp2f.c: Likewise.
38655 * math/w_exp2l.c: Likewise.
38656 * math/w_hypot.c: Likewise.
38657 * math/w_hypotf.c: Likewise.
38658 * math/w_hypotl.c: Likewise.
38659 * math/w_lgamma.c: Likewise.
38660 * math/w_lgamma_r.c: Likewise.
38661 * math/w_lgammaf.c: Likewise.
38662 * math/w_lgammaf_r.c: Likewise.
38663 * math/w_lgammal.c: Likewise.
38664 * math/w_lgammal_r.c: Likewise.
38665 * math/w_sinh.c: Likewise.
38666 * math/w_sinhf.c: Likewise.
38667 * math/w_sinhl.c: Likewise.
38668 * math/w_tgamma.c: Likewise.
38669 * math/w_tgammaf.c: Likewise.
38670 * math/w_tgammal.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38673 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38674 Minor optimizations. Pretty printing. Remove cruft.
38675 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38676 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38677 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38678 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38679 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38680 * sysdeps/i386/fpu/e_asin.S: Likewise.
38681 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38682 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38683 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38684 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38688 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38689 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38690 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38691 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38692 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38693 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38694 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38695 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38696 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38697 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38698 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38699 * sysdeps/i386/fpu/e_log.S: Likewise.
38700 * sysdeps/i386/fpu/e_log10.S: Likewise.
38701 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38703 * sysdeps/i386/fpu/e_log2.S: Likewise.
38704 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38706 * sysdeps/i386/fpu/e_logf.S: Likewise.
38707 * sysdeps/i386/fpu/e_logl.S: Likewise.
38708 * sysdeps/i386/fpu/e_pow.S: Likewise.
38709 * sysdeps/i386/fpu/e_powf.S: Likewise.
38710 * sysdeps/i386/fpu/e_powl.S: Likewise.
38711 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38712 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38713 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38714 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38715 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38716 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38717 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38718 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38719 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38737 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38741 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38742 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38745 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38747 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38749 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38750 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38751 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38752 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38754 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38755 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38756 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38758 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38805 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38815 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38816 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38817 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38818 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38819 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38820 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38821 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38822 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38823 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38824 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38828 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38829 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38830 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38831 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38832 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38833 (__isnanf): Likewise.
38834 (__isinf_ns): Likewise.
38835 (__isinf_nsf): Likewise.
38836 (__finite): Likewise.
38837 (__finitef): Likewise.
38838 (__ieee754_sqrt): Define as macro.
38839 (__ieee754_sqrtf): Define as macro.
38840 (__ieee754_sqrtl): Define as macro.
38841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38843 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38844 __FINITE_MATH_ONLY__ consistent.
38845 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38847 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38849 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38854 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38856 * po/ja.po: Update from translation team.
38858 2011-10-08 Roland McGrath <roland@hack.frob.com>
38860 * locale/programs/locarchive.c (prepare_address_space): New function.
38861 (create_archive, enlarge_archive, open_archive): Use it.
38863 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38864 inside [SHARED], where it is used.
38866 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38868 * nss/getent.c (netgroup_keys): Remove unused variable.
38869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38871 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38873 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38874 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38877 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38878 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38879 * math/Makefile (libm-calls): Add s_isinf_ns.
38880 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38881 * math/multc3.c: Likewise.
38882 * math/s_casin.c: Likewise.
38883 * math/s_casinf.c: Likewise.
38884 * math/s_casinl.c: Likewise.
38885 * math/s_ccos.c: Likewise.
38886 * math/s_ccosf.c: Likewise.
38887 * math/s_ccosl.c: Likewise.
38888 * math/s_ctan.c: Likewise.
38889 * math/s_ctanf.c: Likewise.
38890 * math/s_ctanh.c: Likewise.
38891 * math/s_ctanhf.c: Likewise.
38892 * math/s_ctanhl.c: Likewise.
38893 * math/s_ctanl.c: Likewise.
38894 * math/w_fmod.c: Likewise.
38895 * math/w_fmodf.c: Likewise.
38896 * math/w_fmodl.c: Likewise.
38897 * math/w_remainder.c: Likewise.
38898 * math/w_remainderf.c: Likewise.
38899 * math/w_remainderl.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38901 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38902 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38904 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38905 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38906 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38907 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38909 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38911 * stdio-common/printf_fphex.c: Likewise.
38912 * stdio-common/printf_size.c: Likewise.
38914 * math/e_exp10.c: Include math_private.h using <...> not "...".
38915 * math/e_exp10f.c: Likewise.
38916 * math/e_exp10l.c: Likewise.
38917 * math/e_exp2l.c: Likewise.
38918 * math/e_j0l.c: Likewise.
38919 * math/e_j1l.c: Likewise.
38920 * math/e_jnl.c: Likewise.
38921 * math/e_lgammal_r.c: Likewise.
38922 * math/e_rem_pio2l.c: Likewise.
38923 * math/e_scalb.c: Likewise.
38924 * math/e_scalbf.c: Likewise.
38925 * math/e_scalbl.c: Likewise.
38926 * math/k_cosl.c: Likewise.
38927 * math/k_sinl.c: Likewise.
38928 * math/k_tanl.c: Likewise.
38929 * math/s_cacoshf.c: Likewise.
38930 * math/s_catan.c: Likewise.
38931 * math/s_catanf.c: Likewise.
38932 * math/s_catanh.c: Likewise.
38933 * math/s_catanhf.c: Likewise.
38934 * math/s_catanhl.c: Likewise.
38935 * math/s_catanl.c: Likewise.
38936 * math/s_ccosh.c: Likewise.
38937 * math/s_ccoshf.c: Likewise.
38938 * math/s_ccoshl.c: Likewise.
38939 * math/s_cexp.c: Likewise.
38940 * math/s_cexpf.c: Likewise.
38941 * math/s_cexpl.c: Likewise.
38942 * math/s_clog.c: Likewise.
38943 * math/s_clog10.c: Likewise.
38944 * math/s_clog10f.c: Likewise.
38945 * math/s_clog10l.c: Likewise.
38946 * math/s_clogf.c: Likewise.
38947 * math/s_clogl.c: Likewise.
38948 * math/s_csin.c: Likewise.
38949 * math/s_csinf.c: Likewise.
38950 * math/s_csinh.c: Likewise.
38951 * math/s_csinhf.c: Likewise.
38952 * math/s_csinhl.c: Likewise.
38953 * math/s_csinl.c: Likewise.
38954 * math/s_csqrt.c: Likewise.
38955 * math/s_csqrtf.c: Likewise.
38956 * math/s_csqrtl.c: Likewise.
38957 * math/s_ctan.c: Likewise.
38958 * math/s_ctanf.c: Likewise.
38959 * math/s_ctanh.c: Likewise.
38960 * math/s_ctanhf.c: Likewise.
38961 * math/s_ctanhl.c: Likewise.
38962 * math/s_ctanl.c: Likewise.
38963 * math/s_ldexp.c: Likewise.
38964 * math/s_ldexpf.c: Likewise.
38965 * math/s_ldexpl.c: Likewise.
38966 * math/s_significand.c: Likewise.
38967 * math/s_significandf.c: Likewise.
38968 * math/s_significandl.c: Likewise.
38969 * math/w_acos.c: Likewise.
38970 * math/w_acosf.c: Likewise.
38971 * math/w_acosh.c: Likewise.
38972 * math/w_acoshf.c: Likewise.
38973 * math/w_acoshl.c: Likewise.
38974 * math/w_acosl.c: Likewise.
38975 * math/w_asin.c: Likewise.
38976 * math/w_asinf.c: Likewise.
38977 * math/w_asinl.c: Likewise.
38978 * math/w_atan2.c: Likewise.
38979 * math/w_atan2f.c: Likewise.
38980 * math/w_atan2l.c: Likewise.
38981 * math/w_atanh.c: Likewise.
38982 * math/w_atanhf.c: Likewise.
38983 * math/w_atanhl.c: Likewise.
38984 * math/w_cosh.c: Likewise.
38985 * math/w_coshf.c: Likewise.
38986 * math/w_coshl.c: Likewise.
38987 * math/w_dremf.c: Likewise.
38988 * math/w_exp10.c: Likewise.
38989 * math/w_exp10f.c: Likewise.
38990 * math/w_exp10l.c: Likewise.
38991 * math/w_exp2.c: Likewise.
38992 * math/w_exp2f.c: Likewise.
38993 * math/w_fmod.c: Likewise.
38994 * math/w_fmodf.c: Likewise.
38995 * math/w_fmodl.c: Likewise.
38996 * math/w_hypot.c: Likewise.
38997 * math/w_hypotf.c: Likewise.
38998 * math/w_hypotl.c: Likewise.
38999 * math/w_j0.c: Likewise.
39000 * math/w_j0f.c: Likewise.
39001 * math/w_j0l.c: Likewise.
39002 * math/w_j1.c: Likewise.
39003 * math/w_j1f.c: Likewise.
39004 * math/w_j1l.c: Likewise.
39005 * math/w_jn.c: Likewise.
39006 * math/w_jnf.c: Likewise.
39007 * math/w_jnl.c: Likewise.
39008 * math/w_lgamma.c: Likewise.
39009 * math/w_lgamma_r.c: Likewise.
39010 * math/w_lgammaf.c: Likewise.
39011 * math/w_lgammaf_r.c: Likewise.
39012 * math/w_lgammal.c: Likewise.
39013 * math/w_lgammal_r.c: Likewise.
39014 * math/w_log.c: Likewise.
39015 * math/w_log10.c: Likewise.
39016 * math/w_log10f.c: Likewise.
39017 * math/w_log10l.c: Likewise.
39018 * math/w_log2.c: Likewise.
39019 * math/w_log2f.c: Likewise.
39020 * math/w_log2l.c: Likewise.
39021 * math/w_logf.c: Likewise.
39022 * math/w_logl.c: Likewise.
39023 * math/w_pow.c: Likewise.
39024 * math/w_powf.c: Likewise.
39025 * math/w_powl.c: Likewise.
39026 * math/w_remainder.c: Likewise.
39027 * math/w_remainderf.c: Likewise.
39028 * math/w_remainderl.c: Likewise.
39029 * math/w_scalb.c: Likewise.
39030 * math/w_scalbf.c: Likewise.
39031 * math/w_scalbl.c: Likewise.
39032 * math/w_sinh.c: Likewise.
39033 * math/w_sinhf.c: Likewise.
39034 * math/w_sinhl.c: Likewise.
39035 * math/w_sqrt.c: Likewise.
39036 * math/w_sqrtf.c: Likewise.
39037 * math/w_sqrtl.c: Likewise.
39038 * math/w_tgamma.c: Likewise.
39039 * math/w_tgammaf.c: Likewise.
39040 * math/w_tgammal.c: Likewise.
39042 * po/ja.po: Update from translation team.
39044 2011-09-29 Andreas Jaeger <aj@suse.de>
39047 * sunrpc/netname.c (netname2host): Fix logic.
39051 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39053 * math/w_remainder.c (__remainder): Likewise.
39054 * math/w_remainderf.c (__remainderf): Likewise.
39055 * math/libm-test.inc (remainder_test): Add test cases.
39057 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39059 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39062 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39064 * string/test-memcmp.c: Avoid unncessary #defines.
39065 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39067 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39069 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39070 Use new sse2 version for core i3 - i7 as it's faster
39071 than sse42 version.
39072 (bit_Prefer_PMINUB_for_stringop): New.
39073 * sysdeps/x86_64/rawmemchr.S: Update.
39074 Replace with faster SSE2 version.
39075 * sysdeps/x86_64/memrchr.S: New file.
39076 * sysdeps/x86_64/memchr.S: Update.
39077 Replace with faster SSE2 version.
39079 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39081 * elf/dl-load.c (lose): Add cast to avoid warning.
39083 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39085 * po/ca.po: Update from translation team.
39087 * inet/getnetgrent_r.c: Hook up nscd.
39088 * nscd/Makefile (routines): Add nscd_netgroup.
39089 (nscd-modules): Add netgroupcache.
39090 (CFLAGS-netgroupcache.c): Define.
39091 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39092 (cache_search): Add const to second parameter.
39093 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39095 (dbs): Add netgrdb entry.
39096 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39097 (verify_persistent_db): Handle netgrdb.
39098 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39099 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39101 (netgroup_response_header): Define.
39102 (innetgroup_response_header): Define.
39103 (datahead): Add netgroup_response_header and innetgroup_response_header
39105 * nscd/nscd.conf: Add entries for netgroup cache.
39106 * nscd/nscd.h (dbtype): Add netgrdb.
39107 (_PATH_NSCD_NETGROUP_DB): Define.
39108 (netgroup_iov_disabled): Declare.
39109 (xmalloc, xcalloc, xrealloc): Move declarations here.
39110 (cache_search): Adjust prototype.
39111 Add netgroup-related prototypes.
39112 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39113 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39114 (__nscd_innetgr): Declare.
39115 * nscd/selinux.c (perms): Use access_vector_t as element type and
39116 add netgroup-related initializers.
39117 * nscd/netgroupcache.c: New file.
39118 * nscd/nscd_netgroup.c: New file.
39119 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39120 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39121 For four parameters use innetgr.
39122 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39123 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39124 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39125 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39127 * nscd/connections.c (register_traced_file): Don't register file
39128 for disabled databases.
39130 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39132 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39134 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39135 from tree and freeing node.
39137 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39139 * nss/nsswitch.c (__nss_database_lookup): Handle
39140 nss_parse_service_list out of memory case.
39142 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39144 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39145 out of memory case.
39147 2011-10-04 Andreas Schwab <schwab@redhat.com>
39149 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39150 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39152 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39153 elf_machine_rela, elf_machine_lazy_rel.
39154 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39155 (ELF_DYNAMIC_DO_REL): Likewise.
39156 (ELF_DYNAMIC_DO_RELA): Likewise.
39157 (ELF_DYNAMIC_RELOCATE): Likewise.
39158 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39159 to ELF_DYNAMIC_DO_REL.
39160 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39161 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39162 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39165 skip_ifunc, don't call ifunc function if non-zero.
39166 (elf_machine_rela): Likewise.
39167 (elf_machine_lazy_rel): Likewise.
39168 (elf_machine_lazy_rela): Likewise.
39169 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39170 (elf_machine_lazy_rel): Likewise.
39171 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39173 (elf_machine_lazy_rel): Likewise.
39174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39176 (elf_machine_lazy_rel): Likewise.
39177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39178 (elf_machine_lazy_rel): Likewise.
39179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39180 (elf_machine_lazy_rel): Likewise.
39181 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39182 (elf_machine_lazy_rel): Likewise.
39183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39184 (elf_machine_lazy_rel): Likewise.
39185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39186 (elf_machine_lazy_rel): Likewise.
39187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39188 (elf_machine_lazy_rel): Likewise.
39190 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39192 * nss/nss_files/files-init.c (_nss_files_init): Use static
39193 initialization for all the *_traced_file variables.
39195 2011-09-28 Andreas Schwab <schwab@redhat.com>
39197 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39199 2011-09-27 Roland McGrath <roland@hack.frob.com>
39202 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39204 2011-09-27 Andreas Schwab <schwab@redhat.com>
39206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39207 Reread the line before reparsing it.
39209 2011-09-26 Andreas Schwab <schwab@redhat.com>
39211 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39213 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39214 Maxim Kuvyrkov <maxim@codesourcery.com>
39215 Joseph Myers <joseph@codesourcery.com>
39217 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39218 if needed for __stack_chk_guard.
39220 2011-09-19 Roland McGrath <roland@hack.frob.com>
39222 * sysdeps/posix/spawni.c (script_execute): Always define it.
39223 It will be optimized away if unused.
39224 (maybe_script_execute): New function.
39225 (__spawni): Call it.
39227 * Makerules: Don't include tls.make.
39228 (config-tls): Always set to thread.
39229 * tls.make.c: File removed.
39231 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39233 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39234 * config.make.in (CPPFLAGS-config): New substituted variable.
39236 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39241 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39242 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39244 2011-09-15 Roland McGrath <roland@hack.frob.com>
39246 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39247 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39249 (CALL_FAIL): Likewise.
39250 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39251 (CALL_FAIL): Macro removed.
39252 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39254 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39256 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39257 for __FINITE_MATH_ONLY__ == 1.
39259 2011-09-15 Andreas Schwab <schwab@redhat.com>
39261 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39262 __ieee754_sqrt instead of sqrt.
39263 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39264 __ieee754_sqrtf instead of sqrtf.
39265 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39266 __floorf instead of floorf.
39267 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39268 __floorf, __truncf instead of floorf, truncf.
39270 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39272 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39274 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39275 __extern_always_inline.
39276 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39279 2011-09-14 Andreas Schwab <schwab@redhat.com>
39281 * elf/rtld.c (dl_main): Also relocate in dependency order when
39282 doing symbol dependency testing.
39284 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39287 Always define `refsym'.
39289 2011-09-13 Andreas Schwab <schwab@redhat.com>
39291 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39292 (__FD_ELT): Renamed from __FDELT.
39293 * misc/bits/select2.h (__FD_ELT): Likewise.
39294 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39295 __FD_MASK instead of __FDELT, __FDMASK.
39296 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39298 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39301 * elf/Makefile (gen-ldd): Fix pattern.
39303 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39304 (init_tls): Likewise.
39306 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39310 2011-09-12 Andreas Schwab <schwab@redhat.com>
39312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39313 `struct cmsghdr *' instead of `void *'.
39314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39317 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39319 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39321 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39322 ldd_rewrite_script.
39324 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39326 * configure.in: Remove --with-tls option.
39327 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39328 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39329 out in case it is missing.
39330 * sysdeps/ia64/elf/configure.in: Likewise.
39331 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39332 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39333 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39334 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39335 * sysdeps/sh/elf/configure.in: Likewise.
39336 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39337 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39338 * sysdeps/x86_64/elf/configure.in: Likewise.
39339 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39340 * sysdeps/mach/hurd/tls.h: Likewise.
39343 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39346 * configure.in: Fix use of AC_INIT.
39348 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39350 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39352 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39354 * malloc/hooks.c: Likewise.
39357 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39358 variables statically.
39359 (narenas): Initialize.
39360 (list_lock): Initialize.
39361 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39362 initializtion of main_arena and list_lock. Small cleanups.
39363 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39364 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39365 Add initializers to main_arena and mp_.
39366 (malloc_state): Remove pagesize member. Change all users to use
39369 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39370 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39371 is always initialized.
39373 * malloc/malloc.c: Removed unused configurations and dead code.
39374 * malloc/arena.c: Likewise.
39375 * malloc/hooks.c: Likewise.
39376 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39378 * include/tls.h: Removed. USE___THREAD must always be defined.
39379 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39380 * elf/dl-libc.c: Likewise.
39381 * elf/dl-tsd.c: Likewise.
39382 * include/errno.h: Likewise.
39383 * include/netdb.h: Likewise.
39384 * include/resolv.h: Likewise.
39385 * inet/herrno-loc.c: Likewise.
39386 * inet/herrno.c: Likewise.
39387 * malloc/arena.c: Likewise.
39388 * malloc/hooks.c: Likewise.
39389 * malloc/malloc.c: Likewise.
39390 * resolv/res-state.c: Likewise.
39391 * resolv/res_libc.c: Likewise.
39392 * sysdeps/i386/dl-machine.h: Likewise.
39393 * sysdeps/ia64/dl-machine.h: Likewise.
39394 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39395 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39396 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39397 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39398 * sysdeps/sh/dl-machine.h: Likewise.
39399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39400 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39401 * sysdeps/unix/i386/sysdep.S: Likewise.
39402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39403 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39408 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39413 * sysdeps/x86_64/dl-machine.h: Likewise.
39414 * tls.make.c: Likewise.
39416 * configure.in: Remove --with-__thread option. Make tests for
39417 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39418 tls_model attribute fail if no support is available. Remove
39420 * Makeconfig: Adjust for dropped configure option. All features are
39422 * Makerules: Likewise.
39423 * Versions.def: Likewise.
39424 * argp/argp-fmtstream.c: Likewise.
39425 * argp/argp-fmtstream.h: Likewise.
39426 * argp/argp-help.c: Likewise.
39427 * assert/assert.c: Likewise.
39428 * config.h.in: Likewise.
39429 * config.make.in: Likewise.
39430 * configure: Likewise.
39431 * configure.in: Likewise.
39432 * csu/Versions: Likewise.
39433 * csu/init.c: Likewise.
39434 * elf/tst-audit2.c: Likewise.
39435 * elf/tst-tls10.c: Likewise.
39436 * elf/tst-tls10.h: Likewise.
39437 * elf/tst-tls11.c: Likewise.
39438 * elf/tst-tls12.c: Likewise.
39439 * elf/tst-tls14.c: Likewise.
39440 * elf/tst-tlsmod11.c: Likewise.
39441 * elf/tst-tlsmod12.c: Likewise.
39442 * elf/tst-tlsmod13.c: Likewise.
39443 * elf/tst-tlsmod13a.c: Likewise.
39444 * elf/tst-tlsmod14a.c: Likewise.
39445 * elf/tst-tlsmod15b.c: Likewise.
39446 * elf/tst-tlsmod16a.c: Likewise.
39447 * elf/tst-tlsmod16b.c: Likewise.
39448 * elf/tst-tlsmod7.c: Likewise.
39449 * elf/tst-tlsmod8.c: Likewise.
39450 * elf/tst-tlsmod9.c: Likewise.
39451 * gmon/gmon.c: Likewise.
39452 * grp/fgetgrent_r.c: Likewise.
39453 * grp/putgrent.c: Likewise.
39454 * hurd/fopenport.c: Likewise.
39455 * include/libc-symbols.h: Likewise.
39456 * include/tls.h: Likewise.
39457 * intl/gettextP.h: Likewise.
39458 * intl/loadinfo.h: Likewise.
39459 * locale/global-locale.c: Likewise.
39460 * locale/localeinfo.h: Likewise.
39461 * mach/devstream.c: Likewise.
39462 * malloc/arena.c: Likewise.
39463 * malloc/set-freeres.c: Likewise.
39464 * misc/err.c: Likewise.
39465 * misc/getttyent.c: Likewise.
39466 * misc/mntent_r.c: Likewise.
39467 * posix/getopt.c: Likewise.
39468 * posix/wordexp.c: Likewise.
39469 * pwd/fgetpwent_r.c: Likewise.
39470 * resolv/Versions: Likewise.
39471 * resolv/res_hconf.c: Likewise.
39472 * shadow/fgetspent_r.c: Likewise.
39473 * shadow/putspent.c: Likewise.
39474 * stdio-common/printf_fphex.c: Likewise.
39475 * stdio-common/tmpfile.c: Likewise.
39476 * stdlib/abort.c: Likewise.
39477 * stdlib/fmtmsg.c: Likewise.
39478 * sunrpc/auth_unix.c: Likewise.
39479 * sunrpc/clnt_perr.c: Likewise.
39480 * sunrpc/clnt_tcp.c: Likewise.
39481 * sunrpc/clnt_udp.c: Likewise.
39482 * sunrpc/clnt_unix.c: Likewise.
39483 * sunrpc/openchild.c: Likewise.
39484 * sunrpc/svc_simple.c: Likewise.
39485 * sunrpc/svc_tcp.c: Likewise.
39486 * sunrpc/svc_udp.c: Likewise.
39487 * sunrpc/svc_unix.c: Likewise.
39488 * sunrpc/xdr.c: Likewise.
39489 * sunrpc/xdr_array.c: Likewise.
39490 * sunrpc/xdr_rec.c: Likewise.
39491 * sunrpc/xdr_ref.c: Likewise.
39492 * sunrpc/xdr_stdio.c: Likewise.
39494 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39496 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39498 2011-07-03 Andreas Jaeger <aj@suse.de>
39500 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39501 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39502 regenerate with gen-libm-tests.pl.
39504 2010-05-12 Petr Baudis <pasky@suse.cz>
39507 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39508 around j0() zero points by switching to j1().
39509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39514 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39516 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39518 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39521 Patch in part by Pavel Roskin <proski@gnu.org>.
39524 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39526 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39527 Free memory block if necessary.
39530 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39531 be NULL. Don't lock in this case.
39533 2011-09-09 Roland McGrath <roland@hack.frob.com>
39535 * elf/elf.h (ELFOSABI_GNU): New macro.
39536 (ELFOSABI_LINUX): Define to that.
39538 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39540 * string/strncat.c (strncat): Undef the symbol in case it has been
39541 defined in bits/string.h.
39543 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39545 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39550 2011-08-17 Andreas Jaeger <aj@suse.de>
39552 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39554 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39555 Ian Lance Taylor <iant@google.com>
39557 * math/libm-test.inc (lround_test): New testcase.
39558 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39560 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39562 * Makefile: Remove support for automatic cvs check-ins.
39563 * Makerules: Likewise.
39564 * config.make.in: Likewise.
39565 * configure.in: Likewise.
39566 * intl/Makefile: Likewise.
39567 * locale/Makefile: Likewise.
39568 * po/Makefile: Likewise.
39569 * posix/Makefile: Likewise.
39570 * sysdeps/gnu/Makefile: Likewise.
39571 * sysdeps/mach/hurd/Makefile: Likewise.
39572 * sysdeps/sparc/sparc32/Makefile: Likewise.
39575 * posix/Makefile (bug-regex32-ENV): Define.
39576 Patch by John Stanley <jpsinthemix@verizon.net>.
39578 * misc/Makefile (headers): Add bits/select2.h.
39579 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39580 * misc/bits/select2.h: New file.
39581 * include/bits/select2.h: New file.
39582 * debug/Makefile (routines): Add fdelt_chk.
39583 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39584 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39586 * debug/fdelt_chk.c: New file.
39588 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39589 * wcsmbs/test-wmemcmp.c: Likewise.
39590 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39591 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39593 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39595 * string/Makefile (strop-tests): Add memcmp.
39596 * string/test-wmemcmp.c: New file.
39597 * string/test-memcmp.c: Add wmemcmp support.
39599 2011-09-08 Roland McGrath <roland@hack.frob.com>
39602 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39605 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39606 garbage value in a __mach_port_mod_refs call in the cases of the
39607 task-self and thread-self ports.
39609 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39611 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39613 2011-09-08 Andreas Schwab <schwab@redhat.com>
39615 * elf/dl-load.c (lose): Check for non-null L.
39617 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39619 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39621 * elf/dl-libc.c (dlerror_run): Pass back error code from
39625 * elf/dl-load.c (lose): Free l_origin if it is valid.
39627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39633 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39634 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39636 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39638 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39639 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39640 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39641 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39642 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39643 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39644 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39645 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39646 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39647 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39649 2011-08-15 Alan Modra <amodra@gmail.com>
39652 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39653 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39654 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39655 ppc_mcount to static-only-routines.
39656 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39658 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39659 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39661 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39664 for finite and infinity parameters.
39666 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39669 and add nop instructions for throughput optimization.
39670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39672 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39675 aligned copy for power7 with vector-scalar instructions.
39676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39678 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39683 2011-09-07 Andreas Schwab <schwab@redhat.com>
39686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39689 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39691 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39692 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39693 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39697 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39700 Forgot to demangle the pointer.
39702 * sysdeps/i386/sysdep.h: Define atom_text_section.
39703 * sysdeps/x86_64/sysdep.h: Likewise.
39704 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39705 section with atom_text_section.
39706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39710 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39714 already be defined. Change to take two parameters and don't assign
39715 result to variable. Adjust all users.
39716 Define INTERNAL_GETTIME if not already defined.
39717 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39720 HAVE_CLOCK_GETTIME_VSYSCALL.
39721 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39724 gettimeofday vsyscall, just use time.
39726 2011-09-06 Andreas Schwab <schwab@redhat.com>
39728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39731 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39733 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39737 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39739 syscall if possible.
39741 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39743 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39744 e_ident. Don't pass to find_mapsXX.
39745 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39747 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39750 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39751 * sysdeps/x86_64/multiarch/strchr.S: Update.
39752 Check bit_slow_BSF bit.
39753 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39757 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39760 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39762 (tryshell): Define.
39763 (__spawni): Change last parameter to be flag. Test
39764 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39765 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39766 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39767 * posix/spawni.c: Likewise.
39768 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39769 * posix/spawnp.c: Likewise. Change normal version to use
39770 SPAWN_XFLAGS_USE_PATH.
39771 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39772 SPAWN_XFLAGS_TRY_SHELL.
39775 * posix/glob.h: Remove gcc 1.x support.
39778 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39780 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39783 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39785 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39786 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39787 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39789 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39792 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39794 * sysdeps/x86_64/wcscmp.S: New file.
39796 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39797 wcscmp-c wcscmp-sse2
39798 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39799 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39800 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39801 * wcsmbs/wcscmp.c: Allow renaming.
39803 2011-09-05 David S. Miller <davem@davemloft.net>
39805 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39806 stack slot, rather than the struct return pointer slot.
39807 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39808 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39812 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39814 * po/ja.po: Update from translation team.
39817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39818 kernel in 64-bit binaries.
39820 2011-09-01 David S. Miller <davem@davemloft.net>
39822 * elf/elf.h (HWCAP_SPARC_*): Move to..
39823 * sysdeps/sparc/sysdep.h: this new file and add new values.
39824 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39825 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39826 _DL_HWCAP_COUNT to 24.
39827 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39829 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39830 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39831 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39832 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39833 instead of magic constants.
39834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39836 2011-08-31 David S. Miller <davem@davemloft.net>
39838 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39840 Reimplement to do errno handling inline.
39841 (SYSCALL_ERROR_HANDLER): New macro.
39842 (__SYSCALL_STRING): Do not do errno handling in asm.
39843 (__CLONE_SYSCALL_STRING): Delete.
39844 (__INTERNAL_SYSCALL_STRING): Delete.
39845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39846 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39847 (PSEUDO): Reimplement to do errno handling inline.
39848 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39849 (SYSCALL_ERROR_HANDLER): New macro.
39850 (__SYSCALL_STRING): Do not do errno handling in asm.
39851 (__CLONE_SYSCALL_STRING): Delete.
39852 (__INTERNAL_SYSCALL_STRING): Delete.
39853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39854 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39856 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39857 (inline_syscall*): Add 'err' argument.
39858 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39859 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39860 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39861 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39863 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39864 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39866 2011-08-30 Andreas Schwab <schwab@redhat.com>
39868 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39870 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39872 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39875 2011-08-24 David S. Miller <davem@davemloft.net>
39877 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39879 2011-08-24 Andreas Schwab <schwab@redhat.com>
39881 * elf/Makefile: Add rules to build and run unload8 test.
39882 * elf/unload8.c: New file.
39883 * elf/unload8mod1.c: New file.
39884 * elf/unload8mod1x.c: New file.
39885 * elf/unload8mod2.c: New file.
39886 * elf/unload8mod3.c: New file.
39888 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39891 2011-08-23 David S. Miller <davem@davemloft.net>
39893 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39894 subtract stack bias.
39895 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39896 %sp not %fp in calculations.
39897 (_JMPBUF_UNWINDS_ADJ): Likewise.
39899 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39900 (aio_suspend): Call it to force an exception region around the
39901 AIO_MISC_WAIT() invocation.
39903 2011-08-23 Andreas Schwab <schwab@redhat.com>
39905 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39908 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39910 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39912 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39913 and <dl-machine.h>.
39914 (Elf64_FuncDesc): Remove.
39916 2011-08-22 David S. Miller <davem@davemloft.net>
39918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39919 sigaltstack check, add missing cfi directives.
39920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39921 missing cfi directives, and sigaltstack handling.
39923 2011-08-16 Andreas Schwab <schwab@redhat.com>
39926 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39927 object is seen twice.
39928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39930 * elf/Makefile (distribute): Add tst-initorder2.c.
39931 (tests): Add tst-initorder2.
39932 (modules-names): Add tst-initorder2a tst-initorder2b
39933 tst-initorder2c tst-initorder2d. Add rules to build them.
39934 ($(objpfx)tst-initorder2.out): New rule.
39935 * elf/tst-initorder2.c: New file.
39936 * elf/tst-initorder2.exp: New file.
39938 2011-08-22 Andreas Schwab <schwab@redhat.com>
39940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39942 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39943 dependencies back to end of function.
39945 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39946 $(elfobjdir)/ld.so.
39948 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39951 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39953 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39954 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39955 of __vdso_gettimeofday.
39956 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39957 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39959 (_libc_vdso_platform_setup): Remove initialization of
39960 __vdso_gettimeofday and __vdso_time.
39962 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39964 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39965 and fgetc_unlocked.
39966 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39969 * elf/dl-open.c (add_to_global): Report additions to the global scope
39970 for LD_DEBUG=scopes.
39971 (dl_open_worker): Also print scope of newly loaded dependencies.
39972 (_dl_show_scope): Indicate if there is no scope.
39975 * stdio-common/Makefile (tests): Add bug24.
39976 * stdio-common/bug24.c: New file.
39978 2011-08-19 Andreas Jaeger <aj@suse.de>
39981 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39982 non-existant file when using close-on-exec mode.
39984 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39987 the very first instruction.
39989 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39990 the CFI state in the end.
39991 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39992 inclusion of dl-trampoline.h.
39993 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39995 2011-08-19 Andreas Schwab <schwab@redhat.com>
39997 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39998 expectations for long double.
40000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40001 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40003 2011-08-14 David S. Miller <davem@davemloft.net>
40005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40006 artificual limit depends upon the system page size.
40008 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40010 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40011 * resolv/Makefile: Define CFLAGS-libresolv.
40013 2011-08-17 Andreas Schwab <schwab@redhat.com>
40015 * nss/makedb.c (compute_tables): Make variables used in nested
40018 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40020 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40021 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40022 if buffer was too small.
40024 * elf/pldd.c (main): Attach to all threads in the process.
40025 Rewrite /proc handling to use *at functions.
40027 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40029 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40030 specifies first scope to show.
40031 (dl_open_worker): Update callers. Move printing scope of new
40032 object to before the relocation.
40033 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40034 * sysdeps/generic/ldsodefs.h: Update declaration.
40036 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40037 string for the scope number.
40039 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40041 * nscd/servicescache.c (cache_addserv): Make sure written is always
40044 2011-08-14 Roland McGrath <roland@hack.frob.com>
40046 * sysdeps/i386/i486/bits/atomic.h
40047 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40048 statement expression, so as to suppress "set but not used" warning.
40049 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40051 * string/strncat.c (STRNCAT): Use prototype definition.
40053 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40054 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40056 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40057 (localedef-modules): Add localedef.
40058 (locale-modules): Add locale.
40060 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40061 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40062 to avoid a warning.
40064 2011-08-14 David S. Miller <davem@davemloft.net>
40066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40067 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40069 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40071 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40072 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40073 * elf/rtld.c (dl_main): Set l_name of vDSO.
40074 Call _dl_show_scope when DL_DEBUG_SCOPES.
40075 (process_dl_debug): Recognize scopes flag and also set it for all.
40076 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40077 Declare _dl_show_scope.
40079 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40080 (do_dlopen): Pass caller_dlopen to dl_open.
40081 (__libc_dlopen_mode): Initialize caller_dlopen.
40083 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40084 of libc. Make tolower call locale-independent. Optimize a bit by
40085 using isdigit instead of isalnum.
40086 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40088 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40090 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40091 was a dependency or dynamically loaded.
40093 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40095 * intl/l10nflist.c: Allow architecture-specific pop function.
40096 * sysdeps/x86_64/l10nflist.c: New file.
40098 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40101 2011-08-10 Andreas Schwab <schwab@redhat.com>
40103 * include/dirent.h: Add libc_hidden_proto for scandirat and
40104 scandirat64. Don't declare __scandirat64.
40105 * dirent/scandirat.c: Add libc_hidden_def.
40106 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40107 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40109 2011-08-10 David S. Miller <davem@davemloft.net>
40111 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40117 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40119 * Versions.def [libc]: Add GLIBC_2.15.
40120 * dirent/Makefile (routines): Add scandirat and scandirat64.
40121 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40123 * dirent/dirent.h: Declare scandirat and scandirat64.
40124 * dirent/scandirat.c: New file.
40125 * dirent/scandirat64.c: New file.
40126 * sysdeps/wordsize-64/scandirat.c: New file.
40127 * sysdeps/wordsize-64/scandirat64.c: New file.
40128 * dirent/opendir.c: Define opendirat.
40129 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40131 * dirent/scandir64.c: Adjust for scandir.c change.
40132 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40133 __scandirat64, and __scandir_cancel_handler.
40134 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40135 additional parameter and use openat instead of open (outside of ld.so).
40136 Add new __opendir as wrapper around __opendirat.
40137 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40138 here without requiring old scandirat implementation.
40140 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40142 * dirent/scandir.c (cancel_handler): Renamed to
40143 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40144 defined. Adjust users.
40145 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40146 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40148 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40150 * string/test-string.h (IMPL): Use __STRING to expand name and then
40153 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40156 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40158 * string/Makefile: Update.
40159 (strop-tests): Append strncat.
40160 * string/test-wcscmp.c: New file.
40161 New comprehensive test for wcscmp.
40162 * string/test-strcmp.c: Update.
40163 (WIDE): New define.
40165 2011-07-22 Andreas Schwab <schwab@redhat.com>
40167 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40170 2011-07-26 Andreas Schwab <schwab@redhat.com>
40172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40173 encoding to ACE if AI_IDN.
40175 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40178 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40180 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40183 Fix overflow bug in strncat.
40184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40186 * string/test-strncat.c: Update.
40187 Add new tests for checking overflow bugs.
40189 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40192 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40193 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40194 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40196 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40197 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40198 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40199 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40201 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40202 (USE_AS_STRCAT): Define.
40203 Add strcat and strncat support.
40204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40206 2011-07-25 Andreas Schwab <schwab@redhat.com>
40208 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40209 __n bigger than INT_MAX+1.
40210 (__strncmp_g): Likewise.
40212 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40214 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40215 * libio/stido.h: Likewise.
40217 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40222 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40226 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40229 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40234 (_dl_x86_64_save_sse): Likewise.
40236 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40240 (_dl_x86_64_save_sse): Likewise.
40242 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40244 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40246 2011-07-21 Andreas Schwab <schwab@redhat.com>
40248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40250 (_dl_x86_64_save_sse): Use correct AVX check.
40252 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40255 bug in strncpy/strncat.
40256 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40258 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40260 * string/tester.c (test_strcat): Add tests for different alignments
40261 of source and destination.
40262 (test_strncat): Likewise.
40264 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40267 * posix/glob.c (glob): Check passed in values before using them in
40268 expressions to avoid some overflows.
40269 (glob_in_dir): Likewise.
40272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40273 check for AVX enablement so that we don't crash with old kernels and
40275 * elf/tst-audit4.c: Add same checks here.
40276 * elf/tst-audit6.c: Likewise.
40278 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40280 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40282 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40284 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40286 * po/cs.po: Update from translation team.
40287 * po/bg.po: Likewise.
40289 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40291 * misc/sys/cdefs.h: Add support for const attribute.
40292 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40293 to gnu_dev_{major,minor,makedev} functions.
40295 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40297 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40299 2011-07-20 Andreas Schwab <schwab@redhat.com>
40301 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40304 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40307 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40308 register in order to avoid conflicts with the soft frame pointer
40309 being held in r11 when necessary.
40310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40311 (INTERNAL_VSYSCALL_NCS): Likewise.
40313 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40315 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40316 * elf/dl-fini.c (_dl_fini): Adjust caller.
40317 * elf/dl-close.c (_dl_close_worker): Likewise.
40318 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40320 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40322 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40323 "aux_cache->nlibs < 0".
40325 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40326 in the reload-count case.
40328 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40331 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40332 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40333 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40334 * sysdeps/x86_64/multiarch/strcat.S: New file.
40335 * sysdeps/x86_64/multiarch/strncat.S: New file.
40336 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40337 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40338 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40339 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40341 (USE_AS_STRCAT): Define.
40342 Add strcat and strncat support.
40343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40344 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40345 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40346 * string/strncat.c: Update.
40347 (USE_AS_STRNCAT): Define.
40348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40349 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40351 * sysdeps/x86_64/multiarch/init-arch.h
40352 (bit_Prefer_PMINUB_for_stringop): New.
40353 (index_Prefer_PMINUB_for_stringop): Likewise.
40354 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40355 bit_Prefer_PMINUB_for_stringop.
40357 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40359 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40361 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40362 of casting of buffer.
40363 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40364 buffer32 and buffer64.
40365 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40366 writes instead of casting of buffer.
40367 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40369 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40372 2011-07-19 Andreas Schwab <schwab@redhat.com>
40374 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40376 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40378 * nscd/nscd.c (termination_handler): Don't do anything for a database
40379 if it has not yet been initialized.
40381 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40383 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40385 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40387 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40389 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40391 * po/nl.po: Update from translation team.
40392 * po/sv.po: Likewise.
40394 2011-07-16 Roland McGrath <roland@hack.frob.com>
40396 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40397 now disallowed by GCC.
40399 * configure.in (use-default-link): Default to yes if a test -shared
40400 link meets our qualifications.
40401 * configure: Regenerated.
40403 * config.make.in (output-format): New variable.
40404 * configure.in: Check for ld --print-output-format support.
40405 * configure: Regenerated.
40406 * Makerules ($(common-objpfx)format.lds)
40407 [$(output-format) != unknown]: Just use $(output-format),
40408 instead of the linker-script munging.
40410 2011-07-14 Roland McGrath <roland@hack.frob.com>
40412 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40413 of $(common-objpfx)shlib.lds.
40414 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40416 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40417 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40419 * configure.in (-z relro check): Adjust test code to add a large
40420 writable data section after it.
40421 * configure: Regenerated.
40423 2011-07-11 Roland McGrath <roland@hack.frob.com>
40425 * configure.in (-z relro check): Fix test code to make the variable
40427 * configure: Regenerated.
40429 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40431 * nscd/nscd.h (struct traced_file): Define.
40432 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40433 elements. Add traced_files.
40434 (inotify_fd): Declare.
40435 (register_traced_file): Declare.
40436 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40437 (inotify_fd): Export.
40438 (resolv_conf_descr): Remove.
40439 (nscd_init): Move inotify descriptor creation to main.
40440 Don't register files for notification here.
40441 (register_traced_file): New function.
40442 (invalidate_cache): Don't use reset_res to determine whether to call
40443 res_init, go through the list of registered files.
40444 (main_loop_poll): The inotify descriptors are now stored in the
40445 structures for the traced files.
40446 (main_loop_epoll): Likewise
40447 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40448 to __nss_disable_nscd.
40449 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40450 for a database anymore. Check the records for all the registered
40452 * nss/Makefile (libnss_files-routines): Add files-init.
40453 (libnss_db-routines): Add db-init.
40454 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40455 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40456 * nss/nss_db/db-init.c: New file.
40457 * nss/nss_files/files-init.c: New file.
40458 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40459 __nss_lookup_function.
40460 (__nss_lookup_function): Call nss_load_library.
40461 (nss_load_all_libraries): New function.
40462 (__nss_disable_nscd): Take parameter with callback function for files
40463 to register. Set is_nscd. Load all the DSOs for the NSS modules
40464 used for the cached services.
40465 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40466 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40467 options for features to all the files in nscd.
40469 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40471 2011-07-10 Roland McGrath <roland@hack.frob.com>
40473 * csu/elf-init.c (__libc_csu_init): Comment typo.
40475 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40477 * po/pl.po: Update from translation team.
40478 * po/ja.po: Likewise.
40479 * po/ru.po: Likewise.
40480 * po/ko.po: Likewise.
40481 * po/fr.po: Likewise.
40483 2011-07-09 Roland McGrath <roland@hack.frob.com>
40485 * configure.in (.ctors/.dtors header and trailer check):
40486 Use an empirical test on a built program.
40487 * configure: Regenerated.
40489 * configure.in (-z relro check): Use an empirical test on a built DSO.
40490 Detect, but do not require, on ia64.
40491 * configure: Regenerated.
40493 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40494 Update tests that use readelf to use $READELF instead.
40495 * configure: Regenerated.
40497 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40499 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40500 if the result is not used.
40502 2011-07-05 Andreas Jaeger <aj@suse.de>
40505 * stdlib/tst-strtod.c: Add testcase.
40507 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40509 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40510 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40511 The latter has a higher limit. Take additional parameter to pass to
40513 (__pathconf): Pass file to __statfs_link_max.
40514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40516 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40520 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40521 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40524 (__statfs_filesize_max): Likewise.
40525 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40527 2011-07-05 Andreas Jaeger <aj@suse.de>
40529 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40531 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40533 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40535 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40538 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40540 * Makefile (strop-tests): Add strncat.
40541 * string/test-strncat.c: New file.
40543 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40545 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40547 2011-06-21 Andreas Jaeger <aj@suse.de>
40549 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40550 Copy rule from iconvdata/Makefile.
40552 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40555 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40556 but no long options are defined, just return 'W'.
40558 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40561 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40563 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40565 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40567 (innetgr): Likewise.
40569 2011-07-05 Roland McGrath <roland@hack.frob.com>
40571 * config.make.in (install_root): Default to $(DESTDIR).
40573 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40575 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40577 2011-07-02 Roland McGrath <roland@hack.frob.com>
40579 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40581 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40582 containing directory rather than embedding absolute directory names.
40584 * scripts/check-local-headers.sh: Rewritten using awk.
40585 Match by word, not by line. Print error messages for matches.
40586 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40588 * Makerules [shlib-lds-flags empty]:
40589 ($(common-objpfx)libc_pic.opts): New target.
40590 ($(common-objpfx)libc_pic.os.clean): New target.
40591 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40593 * config.make.in (OBJCOPY): New variable.
40594 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40595 * configure: Regenerated.
40597 * config.make.in (use-default-link): New variable.
40598 * configure.in (use_default_link): Grok --with-default-link to set it.
40599 * configure: Regenerated.
40600 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40601 (shlib-lds, shlib-lds-flags): Define to empty.
40603 * Makerules (shlib-lds): New variable.
40604 (shlib-lds-flags): New variable.
40605 (build-shlib, build-moduile, build-module-asneeded): Use it.
40606 ($(common-objpfx)libc.so): Use $(shlib-lds).
40607 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40608 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40610 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40611 DT_FLAGS/DT_FLAGS_1 with zero flags.
40613 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40614 linker script munging.
40616 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40618 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40620 * crypt/sha512.c (sha512_process_block): Perform total addition using
40621 128-bit if possible.
40622 (__sha512_finish_ctx): Likewise.
40623 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40625 * crypt/sha256.c (SWAP64): Define.
40626 (sha256_process_block): Perform total addition using 64-bit if
40628 (__sha256_finish_ctx): Likewise.
40630 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40632 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40634 * nscd/hstcache.c (cache_addhst): Likewise.
40635 * nscd/grpcache.c (cache_addgr): Likewise.
40636 * nscd/aicache.c (addhstaiX): Likewise
40637 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40639 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40641 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40643 * nscd/hstcache.c (cache_addhst): Likewise.
40644 * nscd/grpcache.c (cache_addgr): Likewise.
40645 * nscd/aicache.c (addhstaiX): Likewise
40647 2011-07-01 Andreas Schwab <schwab@redhat.com>
40649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40650 domain only when needed.
40652 2011-06-30 Andreas Schwab <schwab@redhat.com>
40654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40655 is always restored.
40657 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40659 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40660 are re-adding the entry.
40661 * nscd/servicescache.c (cache_addserv): Likewise.
40663 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40665 * sysdeps/generic/dl-irel.h: fix protection against multiple
40667 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40669 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40672 * malloc/memusage.sh: Fix quoting in message.
40673 * debug/xtrace.sh: Likewise.
40675 * configure.in: Remove support for --experimental-malloc option, make
40677 * config.make.in: Likewise.
40678 * malloc/Makefile: Likewise.
40680 2011-06-27 Andreas Schwab <schwab@redhat.com>
40682 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40683 two-byte characters.
40685 2011-06-27 Roland McGrath <roland@hack.frob.com>
40687 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40688 AC_CACHE_CHECK invocation.
40689 * configure: Regenerated.
40691 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40693 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40696 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40697 bit from old_res_options.
40699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40701 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40702 value type for setfct.
40704 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40707 __gettimeofday instead of gettimeofday.
40709 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40711 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40713 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40720 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40723 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40724 strcpy-sse2-unaligned strncpy-sse2-unaligned
40725 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40726 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40727 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40728 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40729 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40732 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40733 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40734 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40735 (STRCPY): Support SSE2 and SSSE3 versions.
40737 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40740 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40741 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40742 kernels which artificially limit size of requests.
40744 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40747 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40748 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40749 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40750 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40751 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40752 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40753 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40756 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40757 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40758 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40759 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40760 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40762 Enable unaligned load optimization for Intel Core i3, i5 and i7
40764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40766 (index_Fast_Unaligned_Load): Define.
40767 (HAS_FAST_UNALIGNED_LOAD): Define.
40769 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40771 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40773 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40777 until it is clear that the information is realy needed.
40778 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40780 2011-06-22 Andreas Schwab <schwab@redhat.com>
40782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40784 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40787 /sys/devices/system/cpu/online if it is usable.
40789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40790 reading the information from the /proc filesystem to once a second.
40792 2011-06-21 Andreas Jaeger <aj@suse.de>
40794 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40795 NULL after inclusion of kernel headers.
40797 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40799 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40800 calls to internal_setent.
40803 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40804 addresses using gethostbyname4_r ignore IPv4 addresses.
40806 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40807 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40809 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40811 2011-06-20 David S. Miller <davem@davemloft.net>
40813 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40815 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40817 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40818 (elf_irel): Use it.
40819 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40820 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40821 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40822 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40823 * sysdeps/x86_64/dl-irel.h: Likewise.
40825 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40826 * elf/dl-sym.c: Likewise.
40828 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40830 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40831 need to dereference resplen2.
40833 2011-06-14 Andreas Schwab <schwab@redhat.com>
40835 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40837 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40839 * Makeconfig: Define vardbdir and inst_vardbdir.
40840 * nss/Makefile: Add rules to install db-Makefile.
40842 * nss/nss_db/db-XXX.c: Cleanup.
40844 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40845 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40847 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40848 * nss/makedb.c: Implement -g option to specify that value strings
40849 are generated and should not be added to table iterated over for
40851 * nss/nss_db/db-initgroups.c: New file.
40853 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40856 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40857 (internal_getgrouplist): Adjust to name change.
40858 Update use_initgroups_entry if this is not the first call.
40859 * nss/databases.def: Add initgroups entry.
40861 * nss/makedb.c (compute_tables): Check result of multiple hash table
40862 sizes to minimize maximum chain length.
40864 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40866 * Versions.def: Add entry for libnss_db.
40867 * shlib-versions: Likewise.
40868 * nss/Makefile: Add rules to build libnss_db.
40869 * nss/Versions: Add libnss_db information. Organize libnss_files
40871 * nss/db-Makefile: Add gshadow support. Change rules for the new
40872 makedb progra. Some minor improvements to generate smaller files.
40873 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40875 * nss/makedb.c: ...here.
40876 Improve database format to be smaller and require less memory at
40878 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40880 * nss/nss_db/db-netgrp.c: Likewise.
40881 * nss/nss_db/db-open.c: Likewise.
40882 * nss/nss_files/flies-XXX.x: Adjust comments.
40883 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40884 * nss/nss_files/files-grp.c: Likewise.
40885 * nss/nss_files/files-hosts.c: Likewise.
40886 * nss/nss_files/files-network.c: Likewise.
40887 * nss/nss_files/files-proto.c: Likewise.
40888 * nss/nss_files/files-pwd.c: Likewise.
40889 * nss/nss_files/files-rpc.c: Likewise.
40890 * nss/nss_files/files-service.c: Likewise.
40891 * nss/nss_files/files-sgrp.c: Likewise.
40892 * nss/nss_files/files-spwd.c: Likewise.
40893 * nss/nss_db/db-alias.c: Removed.
40894 * nss/nss_db/dummy-db.h: Removed.
40896 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40898 * nss/makedb.c: Rewritten to not use database library.
40899 * nss/Makefile: Update to build new makedb program.
40901 2011-06-14 Andreas Jaeger <aj@suse.de>
40903 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40904 memset declaration.
40906 2011-06-10 Andreas Schwab <schwab@redhat.com>
40908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40911 2011-06-10 Roland McGrath <roland@hack.frob.com>
40913 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40914 * elf/Makefile ($(objpfx)ld.so): Likewise.
40916 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40917 Don't list ld.so twice in dependencies.
40919 * posix/bug-regex31.c: Include <stdlib.h>.
40921 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40923 * nis/nss_compat/compat-spwd.c
40924 (getspent_next_nss_netgr): Remove unused variable.
40925 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40927 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40928 nonmembers" output to use the right array.
40930 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40932 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40934 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40935 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40936 * catgets/gencat.c (read_input_file): Likewise.
40937 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40939 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40940 variable definition inside #if's controlling its use.
40942 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40944 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40946 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40948 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40951 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40953 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40954 * configure: Regenerated.
40956 * Makerules: Revert last change.
40957 * elf/Makefile: Likewise.
40959 2011-06-09 Roland McGrath <roland@hack.frob.com>
40961 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40962 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40963 (reloc-link): Likewise.
40965 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40967 * elf/Makefile: Add rules to build pldd.
40968 * elf/pldd.c: New file.
40969 * elf/pldd-xx.c: New file.
40971 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40973 * version.h: Update for 2.15 development version.
40975 2011-06-07 David S. Miller <davem@davemloft.net>
40977 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40980 elf_machine_lazy_rel): Likewise.
40981 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40983 elf_machine_lazy_rel): Likewise.
40984 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40985 dl_hwcap via passed in argument.
40986 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40989 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40991 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40993 2011-06-06 Roland McGrath <roland@hack.frob.com>
40996 * manual/fdl-1.1.texi: New file, verbatim from:
40997 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40998 * manual/lgpl-2.1.texi: New file, verbatim from:
40999 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41000 * manual/Makefile (licenses): New variable, list those new file names.
41002 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41004 * manual/fdl.texi: File removed.
41005 * manual/lesser.texi: File removed.
41006 * manual/libc.texinfo (Copying, Documentation License):
41007 Use new @include file names, put @appendix directive before @include.
41009 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41012 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41013 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41014 (mq_open): Add __NTH.
41016 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41019 Assume Intel Core i3/i5/i7 processor if AVX is available.
41021 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41026 2011-05-31 Andreas Schwab <schwab@redhat.com>
41028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41029 memory. Use alloca_account. Fix memory leak when retrying.
41031 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41033 * version.h (RELEASE): Bump for 2.14 release.
41034 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41036 * config.make.in (RANLIB): Remove entry.
41038 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41040 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41041 (libc.pot): Work around missing support for .ksh extension in xgettext.
41044 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41045 if both request failed.
41046 (send_dg): In case of server errors clear resplen or *resplen2.
41049 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41050 when there are multiple maps.
41051 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41052 (_dl_fini): Remove test here.
41054 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41056 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41059 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41060 bit from old_res_options.
41061 (gaih_inet): Likewise.
41064 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41067 * resolv/res_init.c (res_setoptions): Make the code more compact.
41070 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41074 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41076 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41079 * malloc/malloc.h: Declare malloc hook variables as volatile.
41081 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41085 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41086 raise in the comment.
41087 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41089 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41091 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41094 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41095 grow the buffers more if it already has to be sufficient.
41096 (build_wcs_upper_buffer): Likewise.
41097 * posix/regexec.c (check_matching): Likewise.
41098 (clean_state_log_if_needed): Likewise.
41099 (extend_buffers): Don't enlarge buffers beyond size of the input
41101 Patches mostly by Emil Wojak <emil@wojak.eu>.
41102 * posix/bug-regex32.c: New file.
41103 * posix/Makefile (tests): Add bug-regex32.
41105 * locale/findlocale.c (_nl_find_locale): Return right away if
41106 _nl_explode_name failed.
41107 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41109 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41111 * debug/xtrace.sh: Unify messages.
41112 * malloc/memusage.sh: Likewise.
41115 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41116 time symbol from vDSO. Substitute with vsyscall if not available.
41117 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41120 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41121 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41122 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41123 Add sendmmsg and internal_sendmmsg.
41124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41125 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41128 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41129 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41132 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41135 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41136 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41142 * iconvdata/Makefile (tests): Add bug-iconv9.
41143 * iconvdata/bug-iconv9.c: New file.
41145 2011-05-27 Andreas Schwab <schwab@redhat.com>
41148 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41150 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41153 (struct user_regs_struct): Change intcs field back to cs.
41155 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41157 * po/ja.po: Update from translation team.
41159 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41162 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41163 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41165 2011-05-20 Andreas Schwab <schwab@redhat.com>
41167 * stdlib/longlong.h: Update from GCC.
41169 2011-05-23 Andreas Schwab <schwab@redhat.com>
41171 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41173 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41174 Add parameter name.
41175 (__sysconf): Pass it down.
41177 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41180 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41183 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41184 add in in __libc_use_alloca calls. Adjust callers.
41185 (glob): Use malloc in some situations.
41187 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41188 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41191 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41193 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41194 and CLOCK_BOOTTIME_ALARM.
41197 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41200 * string/_strerror.c (__strerror_r): Print negative errors as signed
41204 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41205 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41206 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41208 * configure.in: Fix typo in redirection and correct removal of test
41209 files in two cases.
41212 * locale/setlocale.c (new_composite_name): Fix test to check for
41213 identical name of all categories.
41216 * libio/filedoalloc.c (local_isatty): New function.
41217 (_IO_file_doallocate): Use local_isatty.
41218 * stdio-common/perror.c (perror): In case a new stream is used
41219 forward the stream error.
41220 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41223 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41228 * include/alloca.h (extend_alloca_account): Define.
41231 * posix/regex.h: Fix comments with documentation of user-accessible
41232 fields after compilation and describe correct free'ing of pattern
41233 after re_compile_pattern.
41234 Patch by Reuben Thomas <rrt@sc3d.org>.
41236 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41238 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41239 and -mno-altivec to prevent the compiler from using Altivec and/or
41240 VSX instructions when the corresponding registers are not available.
41242 2011-05-19 Andreas Schwab <schwab@redhat.com>
41244 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41246 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41248 * libio/freopen.c (freopen): Use __dup2, not dup2.
41249 * libio/freopen64.c (freopen64): Likewise.
41251 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41254 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41255 * math/Makefile (tests): Add test-powl.
41256 (CFLAGS-test-powl.c): Define.
41257 * math/test-powl.c: New file.
41259 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41261 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41263 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41266 * iconvdata/gb18030.c: Update to GB18020-2005.
41268 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41270 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41271 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41272 Patch by Aharon Robbins <arnold@skeeve.com>.
41275 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41279 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41280 through underflows.
41283 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41284 point to strings before performing equality test for error_one_per_line
41288 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41292 (struct user_fpregs_struct): Avoid __uint*_t types.
41295 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41296 symbol info. Use it instead of calling _dl_addr locally.
41297 (lock_and_info): New function.
41298 (tr_freehook): Call lock_and_info and pass symbol info as additional
41299 parameter to tr_where.
41300 (tr_mallochook): Likewise.
41301 (tr_reallochook): Likewise.
41302 (tr_memalignhook): Likewise.
41304 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41305 used and couldn't be at all thread-safe.
41307 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41309 * libio/freopen.c (freopen): Don't close old file descriptor
41310 before the new one is opened. Instead dup the new file descriptor
41311 to the old one after the new stream is created.
41312 * libio/freopen64.c (freopen64): Likewise.
41313 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41314 * libio/fileops.c (_IO_new_file_close_it): Handle new
41315 _IO_FLAGS2_NOCLOSE flag.
41316 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41317 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41318 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41319 _IO_FLAGS2_NOCLOSE flag.
41320 * include/unistd.h: Add hidden_proto for dup3.
41321 Define __have_dup3.
41322 * io/dup3.c: Define hidden symbol.
41323 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41326 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41327 when an incomplete long option is used.
41328 * posix/tst-getopt_long1.c: New file.
41329 * posix/Makefile (tests): Add tst-getopt_long1.
41332 * scripts/config.guess: Update from autoconf-2.68.
41333 * scripts/config.sub: Likewise.
41336 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41338 (has_cpuclock): ...this. New function.
41339 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41340 macro here based on has_cpuclock code.
41343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41344 First byte (not low byte) is now always NUL.
41345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41348 Use non-cancelable interfaces.
41351 * locale/iso-639.def: Add entry for Sorani.
41354 * include/stdlib.h: Move include protection to the right place.
41355 Define abort_msg_s. Declare __abort_msg with it.
41356 * stdlib/abort.c (__abort_msg): Adjust type.
41357 * assert/assert.c (__assert_fail_base): New function. Majority
41358 of code from __assert_fail. Allocate memory for __abort_msg with
41360 (__assert_fail): Now call __assert_fail_base.
41361 * assert/assert-perr.c: Remove bulk of implementation. Use
41362 __assert_fail_base.
41363 * include/assert.hL Declare __assert_fail_base.
41364 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41366 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41368 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41372 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41373 until all modules are registered in the DTV.
41374 * elf/Makefile: Add rules to build and run tst-tls19.
41375 * elf/tst-tls19.c: New file.
41376 * elf/tst-tls19mod1.c: New file.
41377 * elf/tst-tls19mod2.c: New file.
41378 * elf/tst-tls19mod3.c: New file.
41379 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41382 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41386 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41387 two-byte sequence errors.
41388 * iconvdata/Makefile (tests): Add bug-iconv8.
41389 * iconvdata/bug-iconv8.c: New file.
41392 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41395 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41398 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41399 (dummy_getcfa): New function.
41400 (init): Get _Unwind_GetCFA address, use dummy if not found.
41401 (backtrace_helper): In recursion check, also check whether CFA changes.
41402 (__backtrace): Completely initialize arg.
41404 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41405 storing incomplete byte sequence in state object. Avoid testing for
41406 guaranteed too small input if we know there is enough data available.
41408 2011-05-11 Andreas Schwab <schwab@redhat.com>
41410 * Makeconfig (+link-pie): Indent.
41411 * Rules (binaries-pie): Define if $(have-fpie) and
41413 (binaries-shared): Also filter out $(binaries-pie).
41414 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41415 * nscd/Makefile (others-pie): Add nscd.
41416 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41417 ($(objpfx)nscd): Remove command override.
41418 * login/Makefile (others-pie): Add pt_chown.
41419 ($(objpfx)pt_chown): Remove command override.
41420 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41421 remove command overrides.
41423 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41425 * libio/tst_putwc.c: Fix error messages.
41428 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41429 currently writing and seek to current position when not.
41430 * libio/Makefile (tests): Add bug-fclose1.
41431 * libio/bug-fclose1.c: New file.
41433 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41436 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41437 don't set DF_1_NODELETE here.
41438 (do_lookup_x): When entering new entry test for copy relocation
41439 and if necessary set DF_1_NODELETE flag.
41440 * elf/tst-unique4.cc: New file.
41441 * elf/tst-unique4.h: New file.
41442 * elf/tst-unique4lib.cc: New file.
41443 * elf/Makefile: Add rules to build and run tst-unique4.
41444 Patch by Piotr Bury <pbury@goahead.com>.
41446 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41449 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41452 * misc/mntent_r.c (addmntent): Flush the stream after the output
41455 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41456 (is_trusted_path_normalize): Skip initial colon. Append slash
41457 to empty buffer. Duplicate is_trusted_path code but allow
41458 constructed patch to be prefix.
41459 (is_dst): Allow $ORIGIN followed by /.
41460 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41461 Correct testing of result of is_trusted_path_normalize
41462 (decompose_rpath): Fix warning.
41464 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41467 * grp/initgroups.c (internal_getgrouplist): When we found the service
41468 list through the initgroups entry in nsswitch.conf do not always
41469 continue on a successful lookup. Don't always use the
41470 __nss_group_database value if it is set.
41471 * nss/nsswitch.conf (initgroups): Change action for successful db
41472 lookup to continue for compatibility.
41474 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41477 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41479 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41481 * iconvdata/tst-tables.sh: Likewise.
41482 * iconvdata/cp770.c: New file.
41483 * iconvdata/cp771.c: New file.
41484 * iconvdata/cp772.c: New file.
41485 * iconvdata/cp773.c: New file.
41486 * iconvdata/cp774.c: New file.
41487 * iconvdata/testdata/CP770: New file.
41488 * iconvdata/testdata/CP770..UTF8: New file.
41489 * iconvdata/testdata/CP771: New file.
41490 * iconvdata/testdata/CP771..UTF8: New file.
41491 * iconvdata/testdata/CP772: New file.
41492 * iconvdata/testdata/CP772..UTF8: New file.
41493 * iconvdata/testdata/CP773: New file.
41494 * iconvdata/testdata/CP773..UTF8: New file.
41495 * iconvdata/testdata/CP774: New file.
41496 * iconvdata/testdata/CP774..UTF8: New file.
41498 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41500 * iconvdata/gen-8bit-gap.sh: Likewise.
41501 * iconvdata/gen-8bit.sh: Likewise.
41503 * locale/iso-639.def: Add ary entry.
41506 * locale/C-translit.h.in: Add U20A1 transliteration.
41509 * locale/iso-639.def: Add wae entry.
41510 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41513 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41517 * locale/C-translit.h.in: Add entry for U20B9.
41518 Patch by pravin.d.s@gmail.com.
41520 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41523 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41524 ENAMETOOLONG use generic getcwd.
41525 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41526 in rtld. Use *stat64.
41527 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41528 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41529 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41530 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41531 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41532 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41533 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41534 __fstatat64 macros.
41535 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41536 * dirent/rewinddir.c: Add libc_hidden_def.
41537 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41538 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41540 * include/dirent.h (__alloc_dir): Add flags parameter.
41541 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41542 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41544 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41545 from fdopendir if O_CLOEXEC is already set.
41547 2011-03-15 Alan Modra <amodra@gmail.com>
41549 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41550 l_tls_firstbyte_offset non-zero. Save padding offset in
41551 l_tls_firstbyte_offset for later use.
41552 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41553 freeing static tls block.
41555 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41557 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41558 where #ifdef was intended. The intent is to prevent ARG_MAX from
41559 being defined by the kernel headers.
41561 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41564 * resolv/resolv.h: Define RES_NOTLDQUERY.
41565 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41566 no-tld-query and set RES_NOTLDQUERY.
41567 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41568 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41569 modern BIND to search name as TLD unless forbidden.
41571 2011-05-07 Petr Baudis <pasky@suse.cz>
41572 Ulrich Drepper <drepper@gmail.com>
41575 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41576 (is_trusted_path): ...to here.
41577 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41578 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41579 using is_trusted_path_normalize() in setuid scripts.
41581 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41583 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41584 __BEGIN/__END_DECLS.
41586 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41589 NSS_STATUS_NOTFOUND if no record was found.
41591 2011-05-05 Andreas Schwab <schwab@redhat.com>
41593 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41594 (headers-not-in-tirpc): Remove rpc/netdb.h
41595 * resolv/netdb.h: Revert last change.
41597 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41599 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41600 circular dependency between libgcc.a and libc.a.
41602 2011-05-05 Andreas Schwab <schwab@redhat.com>
41604 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41605 * nis/Makefile: Don't install rpcsvc/*.
41606 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41607 instead of <rpc/types.h>.
41608 (MAXHOSTNAMELEN): Define.
41610 2011-05-03 Andreas Schwab <schwab@redhat.com>
41612 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41614 2011-04-28 Maciej Babinski <mbabinski@google.com>
41617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41618 gethostbyname4_r when IPv6 results are possible.
41620 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41623 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41624 _PC_PIPE_BUF handling.
41626 2011-04-30 Bruno Haible <bruno@clisp.org>
41629 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41630 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41632 * inet/getnameinfo.c (getnameinfo): Likewise.
41634 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41636 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41637 to groups setting in database lookup.
41638 * nss/nsswitch.conf: Add initgroups entry.
41640 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41643 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41645 Patch by Eric Blake <eblake@redhat.com>.
41647 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41649 * sunrpc/Makefile (need-export-routines): Add svc_run.
41650 (routines): Remove svc_run.
41651 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41652 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41653 * sunrpc/svc_run.c (svc_run): Likewise.
41654 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41656 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41659 problem in reallocation in last patch.
41661 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41663 * sunrpc/Makefile: Move inclusion of Rules.
41665 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41667 * nss/nss_files/files-initgroups.c: New file.
41668 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41669 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41670 _nss_files_initgroups_dyn.
41672 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41674 * elf/elf.h (R_ARM_IRELATIVE): Define.
41676 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41678 * po/ru.po: Update from translation team.
41680 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41682 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41685 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41688 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41689 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41690 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41691 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41694 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41702 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41705 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41707 * stdlib/bug-getcontext.c: New file.
41708 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41710 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41712 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41713 instructions into .machine "z9-109".
41714 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41715 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41717 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41719 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41720 between environment variables and auxiliary vector.
41722 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41724 * Makefile: Add rules to build linkobj/libc.so.
41725 * include/libc-symbols.h: Define libc_hidden_nolink.
41726 * include/rpc/auth.h: Mark functions which are to be hidden.
41727 * include/rpc/auth_des.h: Likewise.
41728 * include/rpc/auth_unix.h: Likewise.
41729 * include/rpc/clnt.h: Likewise.
41730 * include/rpc/des_crypt.h: Likewise.
41731 * include/rpc/key_prot.h: Likewise.
41732 * include/rpc/pmap_clnt.h: Likewise.
41733 * include/rpc/pmap_prot.h: Likewise.
41734 * include/rpc/pmap_rmt.h: Likewise.
41735 * include/rpc/rpc_msg.h: Likewise.
41736 * include/rpc/svc.h: Likewise.
41737 * include/rpc/svc_auth.h: Likewise.
41738 * include/rpc/xdr.h: Likewise.
41739 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41740 * nss/Makefile: Likewise.
41741 * sunrpc/Makefile: Don't install headers. Build library with normal
41742 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41743 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41744 for the compat linking library. Remove use of INTDEF/INTUSE.
41745 * sunrpc/auth_none.c: Likewise.
41746 * sunrpc/auth_unix.c: Likewise.
41747 * sunrpc/authdes_prot.c: Likewise.
41748 * sunrpc/authuxprot.c: Likewise.
41749 * sunrpc/clnt_gen.c: Likewise.
41750 * sunrpc/clnt_perr.c: Likewise.
41751 * sunrpc/clnt_raw.c: Likewise.
41752 * sunrpc/clnt_simp.c: Likewise.
41753 * sunrpc/clnt_tcp.c: Likewise.
41754 * sunrpc/clnt_udp.c: Likewise.
41755 * sunrpc/clnt_unix.c: Likewise.
41756 * sunrpc/des_crypt.c: Likewise.
41757 * sunrpc/des_soft.c: Likewise.
41758 * sunrpc/get_myaddr.c: Likewise.
41759 * sunrpc/key_call.c: Likewise.
41760 * sunrpc/key_prot.c: Likewise.
41761 * sunrpc/netname.c: Likewise.
41762 * sunrpc/pm_getmaps.c: Likewise.
41763 * sunrpc/pm_getport.c: Likewise.
41764 * sunrpc/pmap_clnt.c: Likewise.
41765 * sunrpc/pmap_prot.c: Likewise.
41766 * sunrpc/pmap_prot2.c: Likewise.
41767 * sunrpc/pmap_rmt.c: Likewise.
41768 * sunrpc/publickey.c: Likewise.
41769 * sunrpc/rpc_cmsg.c: Likewise.
41770 * sunrpc/rpc_common.c: Likewise.
41771 * sunrpc/rpc_dtable.c: Likewise.
41772 * sunrpc/rpc_prot.c: Likewise.
41773 * sunrpc/rpc_thread.c: Likewise.
41774 * sunrpc/rtime.c: Likewise.
41775 * sunrpc/svc.c: Likewise.
41776 * sunrpc/svc_auth.c: Likewise.
41777 * sunrpc/svc_authux.c: Likewise.
41778 * sunrpc/svc_raw.c: Likewise.
41779 * sunrpc/svc_run.c: Likewise.
41780 * sunrpc/svc_simple.c: Likewise.
41781 * sunrpc/svc_tcp.c: Likewise.
41782 * sunrpc/svc_udp.c: Likewise.
41783 * sunrpc/svc_unix.c: Likewise.
41784 * sunrpc/svcauth_des.c: Likewise.
41785 * sunrpc/xcrypt.c: Likewise.
41786 * sunrpc/xdr.c: Likewise.
41787 * sunrpc/xdr_array.c: Likewise.
41788 * sunrpc/xdr_float.c: Likewise.
41789 * sunrpc/xdr_intXX_t.c: Likewise.
41790 * sunrpc/xdr_mem.c: Likewise.
41791 * sunrpc/xdr_rec.c: Likewise.
41792 * sunrpc/xdr_ref.c: Likewise.
41793 * sunrpc/xdr_sizeof.c: Likewise.
41794 * sunrpc/xdr_stdio.c: Likewise.
41796 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41799 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41800 * sysdeps/ia64/dl-tls.h: Likewise.
41801 * sysdeps/powerpc/dl-tls.h: Likewise.
41802 * sysdeps/s390/dl-tls.h: Likewise.
41803 * sysdeps/sh/dl-tls.h: Likewise.
41804 * sysdeps/sparc/dl-tls.h: Likewise.
41805 * sysdeps/x86_64/dl-tls.h: Likewise.
41806 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41808 2011-03-14 Andreas Schwab <schwab@redhat.com>
41810 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41811 rpath element also skip the following colon.
41812 (expand_dynamic_string_token): Add is_path parameter and pass
41813 down to DL_DST_REQUIRED and _dl_dst_substitute.
41814 (decompose_rpath): Call expand_dynamic_string_token with
41815 non-zero is_path. Ignore empty rpaths.
41816 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41819 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41824 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41827 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41828 Patch by Filipe David Manana <fdmanana@apache.org>.
41830 2011-04-07 Andreas Schwab <schwab@redhat.com>
41832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41833 Maintain aligned stack.
41834 (CHECK_RSP): Remove unused macro.
41836 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41838 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41841 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41843 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41845 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41847 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41850 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41851 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41852 * sysdeps/x86_64/memmove.c: New file.
41853 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41854 (memcpy): Renamed to ...
41855 (__new_memcpy): This.
41856 (memcpy): Provide GLIBC_2_14 memcpy.
41857 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41858 (memcpy): Provide GLIBC_2_2_5 memcpy.
41860 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41863 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41865 2011-03-30 Andreas Schwab <schwab@redhat.com>
41867 * misc/syncfs.c: New file.
41868 * misc/Makefile (routines): Add syncfs.
41869 * posix/unistd.h: Declare syncfs.
41870 * sysdeps/unix/syscalls.list: Add syncfs.
41872 2011-04-01 Andreas Schwab <schwab@redhat.com>
41874 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41877 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41879 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41881 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41884 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41888 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41894 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41895 sync_file_range.c with -fexceptions.
41896 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41897 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41898 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41899 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41900 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41901 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41903 sync_file_range as cancellation point
41904 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41905 now a wrapper around __call_sync_file_range with cancellation handling.
41906 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41907 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41908 function name to __call_sync_file_range.
41909 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41910 Add call_sync_file_range.
41912 2011-04-01 Andreas Schwab <schwab@redhat.com>
41914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41917 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41919 * iconv/iconv.h: Fix typo in comment.
41920 * io/fcntl.h: Likewise.
41921 * libio/stdio.h: Likewise.
41922 * posix/spawn.h: Likewise.
41923 * posix/unistd.h: Likewise.
41924 * stdlib/stdlib.h: Likewise.
41925 * time/time.h: Likewise.
41926 * wcsmbs/wchar.h: Likewise.
41928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41929 open_by_handle): Add.
41930 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41931 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41932 Augment a few comments.
41933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41938 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41941 * io/fcntl.h (AT_EMPTY_PATH): Define.
41943 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41945 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41946 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41947 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41949 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41950 * Versions.def: Add GLIBC_2.14.
41951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41954 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41960 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41963 * string/test-strncmp.c (do_page_test): New function.
41964 (check2): Likewise.
41965 (test_main): Call check2.
41966 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41968 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41971 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41972 Handle cache information in CPU leaf 4.
41973 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41975 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41978 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41979 character representation.
41980 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41982 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41984 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41985 END(__isnan) to END(__isnanf) to match function entry point/label
41986 EALIGN(__isnanf,...).
41988 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41990 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41992 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41995 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41996 copy from the symbol referenced in the relocation to initialize the
41998 Patch by Piotr Bury <pbury@goahead.com>.
41999 * elf/Makefile: Add rules to build and tst-unique3.
42000 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42001 * elf/tst-unique3.cc: New file.
42002 * elf/tst-unique3.h: New file.
42003 * elf/tst-unique3lib.cc: New file.
42004 * elf/tst-unique3lib2.cc: New file.
42006 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42008 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42010 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42011 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42014 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42016 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42017 to-be-loaded object along a path to loader is ld.so.
42019 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42020 Ulrich Drepper <drepper@gmail.com>
42022 * sysdeps/x86_64/memset.S: After aligning destination, code
42023 branches to different locations depending on the value of
42024 misalignment, when multiarch is enabled. Fix this.
42026 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42028 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42029 Set _x86_64_preferred_memory_instruction for AMD processsors.
42030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42031 Set bit_Prefer_SSE_for_memop for AMD processors.
42033 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42035 * libio/fmemopen.c (fmemopen): Optimize a bit.
42037 2011-03-03 Andreas Schwab <schwab@redhat.com>
42039 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42041 2011-03-03 Roland McGrath <roland@redhat.com>
42043 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42045 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42047 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42048 __bzero_ultra1 instead of __memset_ultra1.
42050 2011-02-23 Andreas Schwab <schwab@redhat.com>
42051 Ulrich Drepper <drepper@gmail.com>
42054 * include/link.h (struct link_map): Add l_orig_initfini.
42055 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42056 returning unsuccessfully.
42057 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42058 close of a file loaded at startup, restore the original l_initfini
42060 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42061 list, store the pointer.
42062 * elf/Makefile ($(objpfx)noload-mem): New rule.
42063 (noload-ENV): Define.
42064 (tests): Add $(objpfx)noload-mem.
42065 * elf/noload.c: Include <memcheck.h>.
42066 (main): Call mtrace. Close all opened handles.
42068 2011-02-17 Andreas Schwab <schwab@redhat.com>
42071 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42072 dependencies are missing.
42074 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42076 Fix __if_freereq crash: Unlike the generic version which uses free,
42078 * sysdeps/mach/hurd/ifreq.h: New file.
42080 2011-01-27 Petr Baudis <pasky@suse.cz>
42081 Ulrich Drepper <drepper@gmail.com>
42084 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42085 to extend_alloca().
42086 * stdio-common/bug23.c: New file.
42087 * stdio-common/Makefile (tests): Add bug23.
42089 2010-09-28 Andreas Schwab <schwab@redhat.com>
42090 Ulrich Drepper <drepper@gmail.com>
42093 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42094 before performing relro protection. At old place add assertion
42095 to make sure nothing changed.
42097 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42098 Glauber de Oliveira Costa <glommer@gmail.com>
42100 * elf/elf.h: Add new ARM TLS relocs.
42102 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42105 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42107 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42109 * sysdeps/wordsize-64/tst-writev.c: New file.
42111 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42113 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42114 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42115 insns in _dl_start to prevent a TOC reference before relocs are
42118 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42121 * Makeconfig: Remove RANLIB definition.
42122 * Makerules: Don't use RANLIB.
42123 * aclocal.m4: Remove ranlib test.
42124 * configure.in: No need to check for ranlib.
42125 * elf/rtld-Rules: Don't use RANLIB.
42127 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42129 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42131 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42132 inclusion protection macro.
42134 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42135 SIGRTMIN and SIGRTMAX and print information in that case only when
42136 SIGRTMIN is defined.
42138 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42140 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42141 arginfo fn returning -1.
42143 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42144 and thousands string is zero terminated.
42146 2011-02-03 Andreas Schwab <schwab@redhat.com>
42148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42149 sysdeps/unix/sysv/linux/bits/socket.h.
42151 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42153 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42154 (__CPU_COUNT): Remove old macros.
42155 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42156 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42157 (__CPU_ALLOC, __CPU_FREE): Add macros.
42158 (__sched_cpualloc, __sched_cpufree): Add declarations.
42160 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42162 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42163 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42164 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42165 (readdhstai): Return value of addhstaiX call.
42166 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42167 (addgrbyX): Return value returned by cache_addgr.
42168 (readdgrbyname): Return value returned by addgrbyX.
42169 (readdgrbygid): Likewise.
42170 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42171 (addpwbyX): Return value returned by cache_addpw.
42172 (readdpwbyname): Return value returned by addhstbyX.
42173 (readdpwbyuid): Likewise.
42174 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42175 (addservbyX): Return value returned by cache_addserv.
42176 (readdservbyname): Return value returned by addservbyX:
42177 (readdservbyport): Likewise.
42178 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42179 (addhstbyX): Return value returned by cache_addhst.
42180 (readdhstbyname): Return value returned by addhstbyX.
42181 (readdhstbyaddr): Likewise.
42182 (readdhstbynamev6): Likewise.
42183 (readdhstbyaddrv6): Likewise.
42184 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42185 (readdinitgroups): Return value returned by addinitgroupsX.
42186 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42187 (prune_cache): Keep track of timeout value of re-added entries.
42188 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42189 * nscd/nscd.h: Adjust prototypes of readd* functions.
42191 2011-02-04 Roland McGrath <roland@redhat.com>
42193 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42194 (nis_stats): Likewise.
42195 * nis/nis_modify.c (nis_modify): Likewise.
42196 * nis/nis_remove.c (nis_remove): Likewise.
42197 * nis/nis_add.c (nis_add): Likewise.
42199 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42201 * posix/fnmatch_loop.c: Add some consts.
42203 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42205 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42208 * config.make.in (config-cflags-novzeroupper): Define.
42209 * configure.in: Substitute libc_cv_cc_novzeroupper.
42210 * elf/Makefile (AVX-CFLAGS): Define.
42211 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42212 (CFLAGS-tst-auditmod4a.c): Likewise.
42213 (CFLAGS-tst-auditmod4b.c): Likewise.
42214 (CFLAGS-tst-auditmod6b.c): Likewise.
42215 (CFLAGS-tst-auditmod6c.c): Likewise.
42216 (CFLAGS-tst-auditmod7b.c): Likewise.
42217 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42219 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42221 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42222 function to the callback.
42223 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42225 2011-02-02 Andreas Schwab <schwab@redhat.com>
42227 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42230 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42233 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42235 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42237 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42240 * elf/Makefile: Add rules to build and run new test.
42241 * elf/tst-initorder.c: New file.
42242 * elf/tst-initorder.exp: New file.
42243 * elf/tst-initordera1.c: New file.
42244 * elf/tst-initordera2.c: New file.
42245 * elf/tst-initordera3.c: New file.
42246 * elf/tst-initordera4.c: New file.
42247 * elf/tst-initorderb1.c: New file.
42248 * elf/tst-initorderb2.c: New file.
42249 * elf/tst-order-a1.c: New file.
42250 * elf/tst-order-a2.c: New file.
42251 * elf/tst-order-a3.c: New file.
42252 * elf/tst-order-a4.c: New file.
42253 * elf/tst-order-b1.c: New file.
42254 * elf/tst-order-b2.c: New file.
42255 * elf/tst-order-main.c: New file.
42256 New test case by George Gensure <werkt0@gmail.com>.
42258 2010-10-01 Andreas Schwab <schwab@redhat.com>
42260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42261 decoding ACE if AI_CANONIDN.
42263 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42265 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42267 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42269 * version.h (RELEASE): Bump for 2.13 release.
42270 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42272 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42274 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42276 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42283 * posix/getconf.c: Update copyright year.
42284 * catgets/gencat.c: Likewise.
42285 * csu/version.c: Likewise.
42286 * debug/catchsegv.sh: Likewise.
42287 * debug/xtrace.sh: Likewise.
42288 * elf/ldconfig.c: Likewise.
42289 * elf/ldd.bash.in: Likewise.
42290 * elf/sprof.c (print_version): Likewise.
42291 * iconv/iconv_prog.c: Likewise.
42292 * iconv/iconvconfig.c: Likewise.
42293 * locale/programs/locale.c: Likewise.
42294 * locale/programs/localedef.c: Likewise.
42295 * malloc/memusage.sh: Likewise.
42296 * malloc/mtrace.pl: Likewise.
42297 * nscd/nscd.c (print_version): Likewise.
42298 * nss/getent.c: Likewise.
42300 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42301 PF_CAIF, and PF_ALG.
42302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42304 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42306 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42307 (modules-names): Use them.
42308 (ifunc-test-modules, ifunc-pie-tests): Define.
42309 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42310 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42311 (test-extras): Likewise.
42312 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42313 $(compile-command.c).
42314 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42315 (all-built-dso): Define.
42316 (check-textrel.out, check-execstack.out): Depend on it.
42318 * configure.in: Don't override --enable-multi-arch.
42320 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42323 * nscd/hstcache.c (tryagain): Define.
42324 (cache_addhst): Return tryagain not notfound for temporary errors.
42325 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42328 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42331 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42332 to make the syscall.
42333 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42336 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42337 and fall back to matching as normal character if the string ends before
42338 the matching ']' is found. This is what POSIX requires.
42339 * posix/testfnm.c: Adjust test result.
42340 * posix/globtest.sh: Adjust test result. Add new test.
42341 * posix/tst-fnmatch.input: Likewise.
42342 * posix/tst-fnmatch2.c: Add new test.
42344 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42346 * elf/Makefile (check-execstack): Revert last change. Depend on
42348 (check-execstack.h): New target.
42349 (generated): Add check-execstack.h.
42350 * elf/check-execstack.c: Include "check-execstack.h".
42351 (main): Revert last change.
42352 (handle_file): Return zero if GNU_STACK is absent and
42353 DEFAULT_STACK_PERMS doesn't include PF_X.
42355 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42357 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42358 in child fails because the descriptor is already closed.
42359 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42360 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42361 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42364 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42368 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42369 temporary buffer used to handle multi lookups locally.
42370 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42372 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42374 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42377 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42379 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42380 alignment for SSE2.
42382 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42385 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42386 characters. When rounding increased number of integer digits recompute
42388 * stdio-common/tst-grouping.c: New file.
42389 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42391 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42393 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42394 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42396 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42398 * bits/select.h: Likewise.
42400 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42402 * po/ja.po: Update from translation team.
42404 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42407 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42408 implementation just like for lxstat, fxstatat, et al.
42410 2010-12-27 Jim Meyering <meyering@redhat.com>
42413 * posix/regexec.c (build_trtable): Return failure indication upon
42414 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42416 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42419 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42420 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42421 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42425 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42428 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42429 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42431 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42433 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42434 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42435 script has SORT_BY_INIT_PRIORITY.
42436 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42437 NO_CTORS_DTORS_SECTIONS is defined.
42438 * elf/soinit.c: Likewise.
42439 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42440 NO_CTORS_DTORS_SECTIONS is defined.
42441 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42442 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42443 * sysdeps/sh/init-first.c: Likewise.
42444 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42446 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42448 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42449 always use the slow path.
42451 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42453 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42454 similar rule which adds the sysdep directories to the header search in
42455 order to pick up the correct platform stackinfo.h.
42456 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42457 perform test if it is, otherwise return successfully without testing.
42458 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42459 DEFAULT_STACK_PERMS define in stackinfo.h.
42460 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42461 defined in stackinfo.h.
42462 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42463 DEFAULT_STACK_PERMS defined in stackinfo.h.
42464 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42465 * sysdeps/ia64/stackinfo.h: Likewise.
42466 * sysdeps/s390/stackinfo.h: Likewise.
42467 * sysdeps/sh/stackinfo.h: Likewise.
42468 * sysdeps/sparc/stackinfo.h: Likewise.
42469 * sysdeps/x86_64/stackinfo.h: Likewise.
42470 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42471 PF_X for powerpc64. Retain PF_X for powerpc32.
42473 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42475 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42477 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42478 GETDENTS_64BIT_ALIGNED.
42480 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42482 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42484 2010-12-10 Andreas Schwab <schwab@redhat.com>
42486 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42489 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42490 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42492 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42493 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42495 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42498 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42501 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42503 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42505 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42507 * po/it.po: Update from translation team.
42509 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42514 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42516 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42518 2010-11-24 Andreas Schwab <schwab@redhat.com>
42520 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42522 (gaih_getanswer_slice): Likewise.
42524 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42528 2010-05-31 Petr Baudis <pasky@suse.cz>
42531 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42532 silently even in the chroot mode.
42534 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42536 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42537 last patch a bit. Pretty printing
42539 2010-05-31 Petr Baudis <pasky@suse.cz>
42542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42543 initialization of skip_initgroups_dyn.
42545 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42550 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42552 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42554 2010-11-11 Andreas Schwab <schwab@redhat.com>
42556 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42557 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42558 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42559 ($(objpfx)tst-fnmatch-mem): New rule.
42560 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42561 * posix/tst-fnmatch.c (main): Call mtrace.
42563 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42566 Support Intel processor model 6 and model 0x2c.
42568 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42573 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42576 * string/test-strncasecmp.c (check_result): New function.
42577 (do_one_test): Use it.
42578 (check1): New function.
42579 (test_main): Use it.
42580 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42581 Support strcasecmp and strncasecmp.
42583 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42586 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42589 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42591 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42595 * sysdeps/x86_64/multiarch/bzero.S: New file.
42596 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42597 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42598 * sysdeps/x86_64/multiarch/memset.S: New file.
42599 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42601 Set bit_Prefer_SSE_for_memop for Intel processors.
42602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42604 (index_Prefer_SSE_for_memop): Define.
42605 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42607 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42609 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42612 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42615 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42616 (__x86_64_raw_data_cache_size_half): Likewise.
42617 (__x86_64_raw_shared_cache_size): Likewise.
42618 (__x86_64_raw_shared_cache_size_half): Likewise.
42620 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42621 (__x86_64_raw_data_cache_size_half): Likewise.
42622 (__x86_64_raw_shared_cache_size): Likewise.
42623 (__x86_64_raw_shared_cache_size_half): Likewise.
42624 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42625 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42626 and __x86_64_raw_shared_cache_size_half. Round
42627 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42628 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42629 to multiple of 256 bytes.
42631 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42635 of inacessible symlinks. Verify result of symlink before returning it.
42636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42637 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42639 2010-10-28 Erich Ritz <erichritz@gmail.com>
42641 * math/math.h (isinf): Fix typo in comment.
42643 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42645 * po/da.po: Update from translation team.
42647 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42649 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42650 is added to the list.
42652 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42653 Ulrich Drepper <drepper@gmail.com>
42655 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42656 the global list here. Move code to...
42657 (_dl_add_to_namespace_list): ...here. New function.
42658 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42659 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42660 * elf/dl-load.c (lose): Don't remove the element from the list.
42661 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42662 (_dl_map_object): Likewise.
42664 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42667 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42668 into all bytes of SSE register.
42669 Patch by Richard Li <richardpku@gmail.com>.
42671 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42674 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42677 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42679 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42680 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42682 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42687 2010-10-22 Andreas Schwab <schwab@redhat.com>
42689 * include/dlfcn.h (__RTLD_SECURE): Define.
42690 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42691 mode & __RTLD_SECURE instead.
42692 (open_path): Rename preloaded parameter to secure.
42693 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42694 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42695 * elf/dl-deps.c (openaux): Likewise.
42696 * elf/rtld.c (struct map_args): Remove is_preloaded.
42697 (map_doit): Don't use it.
42698 (dl_main): Likewise.
42699 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42700 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42702 2010-09-09 Andreas Schwab <schwab@redhat.com>
42704 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42705 (sysd-rules-targets): Remove duplicates.
42706 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42707 rtld-%.$o dependency.
42709 2010-10-18 Andreas Schwab <schwab@redhat.com>
42711 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42712 _dl_map_object do it.
42714 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42716 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42717 fast fma builtins, define the macros in the C99 standard.
42718 (FP_FAST_FMAF): Likewise.
42719 (FP_FAST_FMAL): Likewise.
42720 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42722 * bits/mathdef.h: Update copyright year.
42723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42725 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42727 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42728 builtins, define the macros in the C99 standard.
42729 (FP_FAST_FMAF): Likewise.
42730 (FP_FAST_FMAL): Likewise.
42731 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42733 (FP_FAST_FMAF): Likewise.
42735 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42738 * math/libm-test.inc (fma_test): Some new testcases.
42739 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42741 y and infinite z. Do multiplication by C already in long double.
42742 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42744 y and infinite z. Do bitwise or of inexact bit into u.d.
42745 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42746 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42747 * sysdeps/i386/fpu/s_fma.S: Removed.
42748 * sysdeps/i386/fpu/s_fmal.S: Removed.
42750 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42753 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42755 computation is not scheduled after fetestexcept. Fix value
42756 of minimum denormal long double.
42758 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42761 * math/libm-test.inc (fma_test): Add some more tests.
42762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42765 2010-10-15 Andreas Schwab <schwab@redhat.com>
42767 * scripts/data/localplt-s390-linux-gnu.data: New file.
42768 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42770 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42773 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42774 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42776 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42778 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42780 if one of x and y is very large and the other is subnormal.
42781 * sysdeps/s390/fpu/s_fmaf.c: New file.
42782 * sysdeps/s390/fpu/s_fma.c: New file.
42783 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42784 * sysdeps/powerpc/fpu/s_fma.S: New file.
42785 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42786 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42787 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42789 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42792 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42795 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42796 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42797 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42798 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42799 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42802 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42805 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42806 * posix/bug-regex31.input: Add test case.
42808 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42810 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42811 * posix/bug-regex31.input: New file.
42814 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42815 (parse_sub_exp): Fix last change, use postorder.
42817 * posix/bug-regex31.c: New file.
42818 * posix/Makefile: Add rules to build and run bug-regex31.
42820 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42823 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42826 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42827 to have entries in sys_siglist.
42830 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42833 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42836 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42837 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42838 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42839 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42840 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42841 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42842 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42843 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42844 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42845 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42846 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42847 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42848 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42849 * math/ftestexcept.c (fetestexcept): Likewise.
42850 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42851 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42852 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42853 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42854 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42855 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42856 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42858 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42861 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42864 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42866 * string/bug-strstr1.c: New file.
42867 * string/Makefile: Add rules to build and run bug-strstr1.
42869 2010-10-05 Eric Blake <eblake@redhat.com>
42872 * string/str-two-way.h (two_way_long_needle): Always clear memory
42873 when skipping input due to the shift table.
42875 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42878 * malloc/mcheck.c: Handle large requests.
42881 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42882 for strncmp and strncasecmp.
42883 * string/stratcliff.c: Add tests for strcmp and strncmp.
42884 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42886 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42888 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42891 2010-09-30 Andreas Jaeger <aj@suse.de>
42893 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42894 (CGROUP_SUPER_MAGIC): Define.
42895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42896 Handle btrfs and cgroup file systems.
42897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42900 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42902 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42903 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42905 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42908 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42909 trying to locate the ELF header.
42911 2010-09-27 Andreas Schwab <schwab@redhat.com>
42914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42915 Mask out sign-bit copies when constructing f_fsid.
42917 2010-09-24 Petr Baudis <pasky@suse.cz>
42919 * debug/stack_chk_fail_local.c: Add missing licence exception.
42920 * debug/warning-nop.c: Likewise.
42922 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42925 implementing getdents64 using getdents syscall, set d_type if
42926 __ASSUME_GETDENTS32_D_TYPE.
42928 2010-09-16 Andreas Schwab <schwab@redhat.com>
42930 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42931 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42933 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42936 * posix/unistd.h: Undo change of feature selection for ftruncate from
42939 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42941 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42944 2010-09-20 Andreas Schwab <schwab@redhat.com>
42946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42948 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42950 2010-09-14 Andreas Schwab <schwab@redhat.com>
42952 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42953 variables after CHECK_SP call.
42954 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42956 2010-09-13 Andreas Schwab <schwab@redhat.com>
42957 Ulrich Drepper <drepper@redhat.com>
42959 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42960 re-relocationg ld.so.
42961 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42962 _dl_init_paths call.
42963 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42966 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42968 * resolv/res_init.c (__res_vinit): Count the default server we added.
42970 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42971 Ulrich Drepper <drepper@redhat.com>
42974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42975 (____longjmp_chk): Use %ebx for saving value across system call.
42978 2010-09-06 Andreas Schwab <schwab@redhat.com>
42980 * manual/Makefile: Don't mix pattern rules with normal rules.
42982 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42984 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42986 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42987 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42988 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42989 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42993 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42996 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42997 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42999 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43001 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43002 * sysdeps/x86_64/addmul_1.S: Likewise.
43003 * sysdeps/x86_64/lshift.S: Likewise.
43004 * sysdeps/x86_64/mul_1.S: Likewise.
43005 * sysdeps/x86_64/rshift.S: Likewise.
43006 * sysdeps/x86_64/sub_n.S: Likewise.
43007 * sysdeps/x86_64/submul_1.S: Likewise.
43009 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43011 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43012 Define __sched_param instead of SCHED_* and sched_param when
43013 <bits/sched.h> is included with __need_schedparam defined.
43014 * bits/sched.h [__need_schedparam]
43015 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43016 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43017 (__defined_schedparam): Define to 1.
43018 (__sched_param): New structure, identical to sched_param.
43019 (__need_schedparam): Undefine.
43021 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43024 (epoll_create1): Declare.
43026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43028 2010-08-31 Andreas Schwab <schwab@redhat.com>
43031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43032 shifting retval into place.
43034 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43036 * nis/rpcsvc/nis.h: Update copyright notice.
43037 * nis/rpcsvc/nis.x: Likewise.
43038 * nis/rpcsvc/nis_callback.h: Likewise.
43039 * nis/rpcsvc/nis_callback.x: Likewise.
43040 * nis/rpcsvc/nis_object.x: Likewise.
43041 * nis/rpcsvc/nis_tags.h: Likewise.
43042 * nis/rpcsvc/yp.h: Likewise.
43043 * nis/rpcsvc/yp.x: Likewise.
43044 * nis/rpcsvc/ypupd.h: Likewise.
43045 * nis/yp_xdr.c: Likewise.
43046 * nis/ypupdate_xdr.c: Likewise.
43048 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43049 mainly the body of pmap_getport. Add parameters to specify timeouts.
43050 (pmap_getport): Use __libc_rpc_getport.
43051 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43052 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43053 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43055 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43060 2010-08-27 Roland McGrath <roland@redhat.com>
43062 * sysdeps/i386/i686/multiarch/Makefile
43063 (CFLAGS-varshift.c): New variable.
43065 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43067 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43068 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43072 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43074 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43076 * sysdeps/x86_64/strlen.S: Unroll the loop.
43077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43078 strlen-sse2 strlen-sse2-bsf.
43079 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43080 __strlen_no_bsf if bit_Slow_BSF is set.
43081 (__strlen_sse42): Removed.
43082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43083 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43085 2010-08-25 Roland McGrath <roland@redhat.com>
43087 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43088 * sysdeps/x86_64/multiarch/varshift.c: New file.
43089 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43090 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43091 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43092 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43094 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43097 strlen-sse2 strlen-sse2-bsf.
43098 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43099 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43100 (__strlen_sse2): Removed.
43101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43104 bit_Slow_BSF for Atom.
43105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43106 (index_Slow_BSF): Define.
43107 (HAS_SLOW_BSF): Define.
43109 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43112 * resolv/res_init.c (__res_vinit): When no server address at all
43113 is given default to loopback.
43115 2010-08-24 Roland McGrath <roland@redhat.com>
43117 * configure.in: Remove config-name.h generation.
43118 * configure: Regenerated.
43119 * config-name.in: File removed.
43120 * scripts/config-uname.sh: New file.
43121 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43122 ($(objdir)config-name.h): New target.
43124 * sunrpc/rpc_parse.h: Avoid nested comment.
43126 2010-08-24 Richard Henderson <rth@redhat.com>
43127 Ulrich Drepper <drepper@redhat.com>
43128 H.J. Lu <hongjiu.lu@intel.com>
43130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43132 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43133 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43134 _mm_alignr_epi8 with _mm_loadu_si128.
43135 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43136 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43137 (__m128i_shift_right): Removed.
43138 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43139 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43140 * sysdeps/x86_64/multiarch/varshift.h: New file.
43141 * sysdeps/x86_64/multiarch/varshift.S: New file.
43143 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43145 * configure.in: Move assembler checks to before sysdep dir checking.
43147 2010-08-20 Petr Baudis <pasky@suse.cz>
43149 * LICENSES: Sync the sunrpc license.
43151 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43153 * sunrpc/auth_des.c: Update copyright notice once again.
43154 * sunrpc/auth_none.c: Likewise.
43155 * sunrpc/auth_unix.c: Likewise.
43156 * sunrpc/authdes_prot.c: Likewise.
43157 * sunrpc/authuxprot.c: Likewise.
43158 * sunrpc/bindrsvprt.c: Likewise.
43159 * sunrpc/clnt_gen.c: Likewise.
43160 * sunrpc/clnt_perr.c: Likewise.
43161 * sunrpc/clnt_raw.c: Likewise.
43162 * sunrpc/clnt_simp.c: Likewise.
43163 * sunrpc/clnt_tcp.c: Likewise.
43164 * sunrpc/clnt_udp.c: Likewise.
43165 * sunrpc/clnt_unix.c: Likewise.
43166 * sunrpc/des_crypt.c: Likewise.
43167 * sunrpc/des_soft.c: Likewise.
43168 * sunrpc/get_myaddr.c: Likewise.
43169 * sunrpc/getrpcport.c: Likewise.
43170 * sunrpc/key_call.c: Likewise.
43171 * sunrpc/key_prot.c: Likewise.
43172 * sunrpc/openchild.c: Likewise.
43173 * sunrpc/pm_getmaps.c: Likewise.
43174 * sunrpc/pm_getport.c: Likewise.
43175 * sunrpc/pmap_clnt.c: Likewise.
43176 * sunrpc/pmap_prot.c: Likewise.
43177 * sunrpc/pmap_prot2.c: Likewise.
43178 * sunrpc/pmap_rmt.c: Likewise.
43179 * sunrpc/rpc/auth.h: Likewise.
43180 * sunrpc/rpc/auth_unix.h: Likewise.
43181 * sunrpc/rpc/clnt.h: Likewise.
43182 * sunrpc/rpc/des_crypt.h: Likewise.
43183 * sunrpc/rpc/key_prot.h: Likewise.
43184 * sunrpc/rpc/netdb.h: Likewise.
43185 * sunrpc/rpc/pmap_clnt.h: Likewise.
43186 * sunrpc/rpc/pmap_prot.h: Likewise.
43187 * sunrpc/rpc/pmap_rmt.h: Likewise.
43188 * sunrpc/rpc/rpc.h: Likewise.
43189 * sunrpc/rpc/rpc_des.h: Likewise.
43190 * sunrpc/rpc/rpc_msg.h: Likewise.
43191 * sunrpc/rpc/svc.h: Likewise.
43192 * sunrpc/rpc/svc_auth.h: Likewise.
43193 * sunrpc/rpc/types.h: Likewise.
43194 * sunrpc/rpc/xdr.h: Likewise.
43195 * sunrpc/rpc_clntout.c: Likewise.
43196 * sunrpc/rpc_cmsg.c: Likewise.
43197 * sunrpc/rpc_common.c: Likewise.
43198 * sunrpc/rpc_cout.c: Likewise.
43199 * sunrpc/rpc_dtable.c: Likewise.
43200 * sunrpc/rpc_hout.c: Likewise.
43201 * sunrpc/rpc_main.c: Likewise.
43202 * sunrpc/rpc_parse.c: Likewise.
43203 * sunrpc/rpc_parse.h: Likewise.
43204 * sunrpc/rpc_prot.c: Likewise.
43205 * sunrpc/rpc_sample.c: Likewise.
43206 * sunrpc/rpc_scan.c: Likewise.
43207 * sunrpc/rpc_scan.h: Likewise.
43208 * sunrpc/rpc_svcout.c: Likewise.
43209 * sunrpc/rpc_tblout.c: Likewise.
43210 * sunrpc/rpc_util.c: Likewise.
43211 * sunrpc/rpc_util.h: Likewise.
43212 * sunrpc/rpcinfo.c: Likewise.
43213 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43214 * sunrpc/rpcsvc/key_prot.x: Likewise.
43215 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43216 * sunrpc/rpcsvc/mount.x: Likewise.
43217 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43218 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43219 * sunrpc/rpcsvc/rex.x: Likewise.
43220 * sunrpc/rpcsvc/rstat.x: Likewise.
43221 * sunrpc/rpcsvc/rusers.x: Likewise.
43222 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43223 * sunrpc/rpcsvc/spray.x: Likewise.
43224 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43225 * sunrpc/rtime.c: Likewise.
43226 * sunrpc/svc.c: Likewise.
43227 * sunrpc/svc_auth.c: Likewise.
43228 * sunrpc/svc_authux.c: Likewise.
43229 * sunrpc/svc_raw.c: Likewise.
43230 * sunrpc/svc_run.c: Likewise.
43231 * sunrpc/svc_simple.c: Likewise.
43232 * sunrpc/svc_tcp.c: Likewise.
43233 * sunrpc/svc_udp.c: Likewise.
43234 * sunrpc/svc_unix.c: Likewise.
43235 * sunrpc/svcauth_des.c: Likewise.
43236 * sunrpc/xcrypt.c: Likewise.
43237 * sunrpc/xdr.c: Likewise.
43238 * sunrpc/xdr_array.c: Likewise.
43239 * sunrpc/xdr_float.c: Likewise.
43240 * sunrpc/xdr_mem.c: Likewise.
43241 * sunrpc/xdr_rec.c: Likewise.
43242 * sunrpc/xdr_ref.c: Likewise.
43243 * sunrpc/xdr_sizeof.c: Likewise.
43244 * sunrpc/xdr_stdio.c: Likewise.
43246 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43249 2010-08-19 Andreas Schwab <schwab@redhat.com>
43251 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43253 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43255 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43257 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43258 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43259 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43260 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43261 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43262 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43263 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43264 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43265 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43266 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43267 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43268 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43270 2010-07-26 Anton Blanchard <anton@samba.org>
43272 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43273 * malloc/arena.c (heap_trim): Likewise.
43275 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43277 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43280 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43282 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43284 * sysdeps/i386/elf/Makefile: New file.
43286 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43288 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43289 from fanotify_init.
43290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43293 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43295 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43297 * sysdeps/multiarch/strcmp.S: Likewise.
43299 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43301 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43302 strncase_l-nonascii.
43303 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43304 Add strncase_l-ssse3.
43305 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43306 * sysdeps/x86_64/strcmp.S: Likewise.
43307 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43308 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43309 * sysdeps/x86_64/strncase.S: New file.
43310 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43311 * sysdeps/x86_64/strncase_l.S: New file.
43312 * string/Makefile (strop-tests): Add strncasecmp.
43313 * string/test-strncasecmp.c: New file.
43315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43318 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43319 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43321 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43323 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43325 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43327 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43328 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43329 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43331 2010-05-01 Alan Modra <amodra@gmail.com>
43333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43334 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43335 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43336 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43337 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43338 tidying. Don't tail-call __sigjmp_save for static lib.
43339 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43341 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43342 (CALL_MCOUNT): Add eh info, and nop after bl.
43343 (TAIL_CALL_SYSCALL_ERROR): New macro.
43344 (PSEUDO_RET): Use it.
43345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43346 Correct save location of integer regs and cr.
43347 (_dl_profile_resolve): Correct cr save location. Delete nops
43348 after bl when SHARED. Reduce cfi size a little by better
43349 placement of cfi directives.
43350 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43351 make a stack frame. Instead use parm save area as a temp.
43352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43353 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43355 Don't make a stack frame for parent, use parm save area.
43356 Increase child stack frame to 112 bytes. Don't save unused reg,
43357 and adjust reg usage. Set up cfi on error recovery and
43358 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43360 (__makecontext): Add dummy nop after jump to exit.
43361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43362 Use correct parm save area and cr save, reduce stack frame.
43363 Correct cfi for possible PSEUDO_RET frame setup.
43364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43365 Branch to local label emitted by PSEUDO_RET rather than
43368 2010-08-12 Andreas Schwab <schwab@redhat.com>
43371 * locale/programs/locale.c (print_assignment): New function.
43372 (show_locale_vars): Use it.
43374 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43376 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43378 (struct statfs64): Likewise.
43379 (_STATFS_F_FLAGS): Define.
43380 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43381 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43382 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43383 (ST_VALID): Define locally.
43384 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43385 __statvfs_getflags, use the provided value.
43386 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43387 __ASSUME_STATFS_F_FLAGS.
43389 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43391 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43392 Add sys/fanotify.h.
43393 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43394 fanotify_mask for GLIBC_2.13.
43395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43396 fanotify_init and fanotify_mark.
43397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43398 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43400 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43402 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43403 prlimit64 for GLIBC_2.13.
43404 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43409 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43410 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43414 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43417 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43418 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43420 * nss/Makefile: Add rules to build and run tst-nss-test1.
43421 * shlib-versions: Add entry for libnss_test1.
43422 * nss/nss_test1.c: New file.
43423 * nss/tst-nss-test1.c: New file.
43425 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43426 (__nss_configure_lookup): Set appropriate entry in
43427 __nss_configure_lookup to true.
43428 * nss/nsswitch.h: Define enum with indeces of databases in
43429 databases and __nss_database_custom arrays. Declare
43430 __nss_database_custom.
43431 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43432 to avoid using nscd when custom rules are installed.
43433 * nss/getXXbyYY_r.c: Likewise.
43434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43436 * nss/nss_files/files-parse.c: Whitespace fixes.
43438 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43441 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43442 * posix/fnmatch_loop.c: Likewise.
43444 2010-07-17 Andi Kleen <ak@linux.intel.com>
43446 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43447 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43448 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43449 * Versions.def [GLIBC_2.13]: Add.
43451 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43454 Also fail if tpwd after pwuid call is NULL.
43456 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43458 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43459 when converting to ms.
43461 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43463 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43464 EOPNOTSUPP errors with ENOTTY.
43465 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43466 EOPNOTSUPP errors with ENOTTY.
43468 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43470 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43471 Add strcasecmp_l-ssse3.
43472 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43474 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43475 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43476 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43478 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43480 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43482 * string/Makefile (strop-tests): Add strcasecmp.
43483 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43484 strcasecmp_l-nonascii.
43485 (gen-as-const-headers): Add locale-defines.sym.
43486 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43487 * sysdeps/x86_64/strcasecmp.S: New file.
43488 * sysdeps/x86_64/strcasecmp_l.S: New file.
43489 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43490 * sysdeps/x86_64/locale-defines.sym: New file.
43491 * string/test-strcasecmp.c: New file.
43493 * string/test-strcasestr.c: Test both ends of the range of characters.
43494 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43496 2010-07-29 Roland McGrath <roland@redhat.com>
43499 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43501 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43503 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43506 2010-07-27 Andreas Schwab <schwab@redhat.com>
43508 * manual/memory.texi (Malloc Tunable Parameters): Document
43511 2010-07-26 Roland McGrath <roland@redhat.com>
43514 * configure.in (-fgnu89-inline check): Set and substitute
43515 gnu89_inline, not libc_cv_gnu89_inline.
43516 * configure: Regenerated.
43517 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43519 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43521 * string/test-strnlen.c: New file.
43522 * string/Makefile (strop-tests): Add strnlen.
43523 * string/tester.c (test_strnlen): Add a few more test cases.
43524 * string/tst-strlen.c: Better error reporting.
43526 * sysdeps/x86_64/strnlen.S: New file.
43528 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43530 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43531 lower-latency instructions.
43533 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43535 * string/test-strcasestr.c: New file.
43536 * string/test-strstr.c: New file.
43537 * string/Makefile (strop-tests): Add strstr and strcasestr.
43538 * string/str-two-way.h: Don't undefine MAX.
43539 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43541 2010-07-21 Andreas Schwab <schwab@redhat.com>
43543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43544 strcasestr-nonascii.
43545 (CFLAGS-strcasestr-nonascii.c): Define.
43546 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43548 Remove unused attribute.
43550 2010-07-20 Roland McGrath <roland@redhat.com>
43552 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43553 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43554 ld.so.cache was broken. With it, there is no way to disable dsocaps
43555 like LD_HWCAP_MASK can disable hwcaps.
43557 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43559 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43561 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43563 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43564 call in strcasestr.
43565 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43566 __strcasestr_sse42_nonascii.
43567 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43568 strcasestr-nonascii.c.
43569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43571 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43573 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43574 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43576 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43578 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43583 2010-07-06 Andreas Schwab <schwab@redhat.com>
43586 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43589 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43592 _PC_PIPE_BUF using F_GETPIPE_SZ.
43594 2010-07-05 Roland McGrath <roland@redhat.com>
43596 * manual/arith.texi (Rounding Functions): Fix rint description
43597 implicit in round description.
43599 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43601 * elf/Makefile: Fix linking for a few tests to make recent linker
43604 2010-06-30 Andreas Schwab <schwab@redhat.com>
43606 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43607 $(common-objpfx)libc_nonshared.a.
43609 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43611 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43612 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43613 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43614 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43615 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43616 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43617 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43618 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43633 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43634 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43635 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43636 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43637 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43638 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43639 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43640 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43641 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43642 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43643 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43644 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43660 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43662 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43663 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43664 * string/memmove.c (memmove): Renamed to ...
43665 (MEMMOVE): ...this. Default to memmove.
43666 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43667 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43670 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43671 mempcpy-ssse3-back memmove-ssse3-back.
43672 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43675 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43676 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43677 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43678 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43679 * sysdeps/x86_64/multiarch/memmove.c: New file.
43680 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43681 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43682 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43683 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43684 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43687 (index_Fast_Copy_Backward): Define.
43688 (HAS_ARCH_FEATURE): Define.
43689 (HAS_FAST_REP_STRING): Define.
43690 (HAS_FAST_COPY_BACKWARD): Define.
43692 2010-06-21 Andreas Schwab <schwab@redhat.com>
43694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43695 Restore proper fallback handling.
43697 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43700 * posix/group_member.c (__group_member): Correct checking loop.
43702 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43703 OOM in getpwuid_r correctly. Return error number when the caller
43704 should return, otherwise -1.
43705 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43706 call returning > 0 value.
43707 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43709 2010-06-07 Andreas Schwab <schwab@redhat.com>
43711 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43712 libc_nonshared.a from targets in modules-names.
43714 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43716 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43719 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43726 2010-06-02 Andreas Schwab <schwab@redhat.com>
43728 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43730 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43732 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43741 2010-06-14 Roland McGrath <roland@redhat.com>
43743 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43745 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43747 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43748 __REDIRECT followed by __THROW.
43749 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43750 * posix/getopt.h (getopt): Likewise.
43752 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43754 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43755 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43756 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43758 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43759 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43761 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43763 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43765 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43769 Properly check family and model.
43771 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43773 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43775 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43777 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43779 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43781 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43784 2010-05-19 Andreas Schwab <schwab@redhat.com>
43786 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43789 2010-05-21 Andreas Schwab <schwab@redhat.com>
43791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43792 and internal_recvmmsg.
43793 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43795 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43796 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43798 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43799 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43800 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43802 2010-05-20 Andreas Schwab <schwab@redhat.com>
43804 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43806 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43808 POWER7 optimizations.
43809 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43810 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43812 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43814 * version.h: Update for 2.13 development version.
43816 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43818 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43819 exceptions. Return 0.
43821 2010-05-07 Roland McGrath <roland@redhat.com>
43823 * elf/ldconfig.c (main): Add a const.
43825 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43827 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43828 (args_options): Add no-idn option.
43829 (ahosts_keys_int): Add idn_flags to ai_flags.
43830 (parse_option): Handle 'i' option to clear idn_flags.
43832 * malloc/malloc.c (_int_free): Possible race in the most recently
43833 added check. Only act on the data if no current modification
43836 See ChangeLog.17 for earlier changes.