1 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4 Define unconditionally.
5 (__ASSUME_O_CLOEXEC): Likewise.
6 (__ASSUME_SOCK_CLOEXEC): Likewise.
7 (__ASSUME_IN_NONBLOCK): Likewise.
8 (__ASSUME_PIPE2): Likewise.
9 (__ASSUME_EVENTFD2): Likewise.
10 (__ASSUME_SIGNALFD4): Likewise.
11 (__ASSUME_DUP3): Likewise.
12 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13 (__ASSUME_DUP3): Do not define.
14 (__ASSUME_EVENTFD2): Likewise.
15 (__ASSUME_IN_NONBLOCK): Likewise.
16 (__ASSUME_O_CLOEXEC): Likewise.
17 (__ASSUME_PIPE2): Likewise.
18 (__ASSUME_SIGNALFD4): Likewise.
19 (__ASSUME_SOCK_CLOEXEC): Likewise.
20 (__ASSUME_UTIMES): Undefine.
21 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22 (__ASSUME_UTIMES): Do not define.
23 (__ASSUME_O_CLOEXEC): Likewise.
24 (__ASSUME_SOCK_CLOEXEC): Likewise.
25 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28 (__ASSUME_PIPE2): Likewise.
29 (__ASSUME_EVENTFD2): Likewise.
30 (__ASSUME_SIGNALFD4): Likewise.
31 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34 (__ASSUME_EVENTFD2): Likewise.
35 (__ASSUME_SIGNALFD4): Likewise.
36 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37 (__ASSUME_32BITUIDS): Likewise.
38 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39 (__ASSUME_IPC64): Likewise.
40 (__ASSUME_ST_INO_64_BIT): Likewise.
41 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44 (__ASSUME_UTIMES): Do not define.
45 (__ASSUME_PSELECT): Likewise.
46 (__ASSUME_PPOLL): Likewise.
47 (__ASSUME_O_CLOEXEC): Likewise.
48 (__ASSUME_SOCK_CLOEXEC): Likewise.
49 (__ASSUME_IN_NONBLOCK): Likewise.
50 (__ASSUME_PIPE2): Likewise.
51 (__ASSUME_EVENTFD2): Likewise.
52 (__ASSUME_SIGNALFD4): Likewise.
53 (__ASSUME_DUP3): Likewise.
54 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55 (__ASSUME_UTIMES): Likewise.
56 (__ASSUME_O_CLOEXEC): Likewise.
57 (__ASSUME_SOCK_CLOEXEC): Likewise.
58 (__ASSUME_IN_NONBLOCK): Likewise.
59 (__ASSUME_PIPE2): Likewise.
60 (__ASSUME_EVENTFD2): Likewise.
61 (__ASSUME_SIGNALFD4): Likewise.
62 (__ASSUME_DUP3): Likewise.
63 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
64 (__ASSUME_UTIMES): Likewise.
65 (__ASSUME_O_CLOEXEC): Likewise.
66 (__ASSUME_SOCK_CLOEXEC): Likewise.
67 (__ASSUME_IN_NONBLOCK): Likewise.
68 (__ASSUME_PIPE2): Likewise.
69 (__ASSUME_EVENTFD2): Likewise.
70 (__ASSUME_SIGNALFD4): Likewise.
71 (__ASSUME_DUP3): Likewise.
72 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
74 (__ASSUME_UTIMES): Likewise.
75 (__ASSUME_EVENTFD2): Likewise.
76 (__ASSUME_SIGNALFD4): Likewise.
77 * sysdeps/unix/sysv/linux/tile/kernel-features.h
78 (__ASSUME_O_CLOEXEC): Likewise.
79 (__ASSUME_SOCK_CLOEXEC): Likewise.
80 (__ASSUME_IN_NONBLOCK): Likewise.
81 (__ASSUME_PIPE2): Likewise.
82 (__ASSUME_EVENTFD2): Likewise.
83 (__ASSUME_SIGNALFD4): Likewise.
84 (__ASSUME_DUP3): Likewise.
85 (__ASSUME_UTIMES): Undefine.
87 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
88 feclearexcept. Remove symbol versioning code.
89 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
90 symbol versioning code.
91 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
92 symbol versioning code.
93 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
94 feupdateenv. Remove symbol versioning code.
95 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
96 fegetexceptflag. Remove symbol versioning code.
97 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
98 fesetexceptflag. Remove symbol versioning code.
99 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
100 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
101 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
102 (__posix_fadvise64_l32): Remove prototype.
103 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
106 2014-05-13 Roland McGrath <roland@hack.frob.com>
108 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
109 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
110 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
111 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
113 2014-05-13 Sami Kerola <kerolasa@iki.fi>
115 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
116 current working directory
118 2014-05-13 Roland McGrath <roland@hack.frob.com>
120 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
121 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
122 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
123 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
124 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
125 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
126 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
128 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
130 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
132 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
134 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
136 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
140 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
142 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
144 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
146 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
148 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
150 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
152 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
153 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
154 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
155 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
156 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
157 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
158 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
159 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
160 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
161 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
163 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
164 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
166 * sysdeps/unix/sysv/linux/arm/Makefile
167 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
168 Add rt-aeabi_unwind_cpp_pr1.
169 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
170 Add nptl-aeabi_unwind_cpp_pr1.
171 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
172 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
173 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
174 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
175 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
176 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
178 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
179 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
180 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
181 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
183 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
184 Deconditionalize the code that was previously under [RESET_PID].
185 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
187 * sysdeps/generic/exit-thread.h: New file.
188 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
189 * include/unistd.h (__exit_thread): Remove declaration.
190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
191 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
192 * csu/libc-start.c: Include <exit-thread.h>.
193 (LIBC_START_MAIN): Pass no argument to __exit_thread.
194 * nptl/pthread_create.c: Include <exit-thread.h>.
195 (start_thread): Call __exit_thread in place of __exit_thread_inline.
196 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
197 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
198 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
199 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
200 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
201 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
202 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
203 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
204 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
205 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
206 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
207 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
208 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
209 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
210 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
211 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
213 2014-05-13 Andreas Schwab <schwab@suse.de>
215 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
217 2014-05-12 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
220 (__ASSUME_UTIMES): Do not condition on kernel version.
221 (__ASSUME_PSELECT): Define unconditionally.
222 (__ASSUME_PPOLL): Likewise.
223 (__ASSUME_ATFCTS): Likewise.
224 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
225 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
226 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
227 (__ASSUME_UTIMENSAT): Define unconditionally.
228 (__ASSUME_PRIVATE_FUTEX): Likewise.
229 (__ASSUME_FALLOCATE): Likewise.
230 (__ASSUME_O_CLOEXEC): Likewise.
231 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
232 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
233 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
234 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
235 (__ASSUME_IN_NONBLOCK): Likewise.
236 (__ASSUME_PIPE2): Likewise.
237 (__ASSUME_EVENTFD2): Likewise.
238 (__ASSUME_SIGNALFD4): Likewise.
239 (__ASSUME_DUP3): Likewise.
240 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
241 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
242 (__ASSUME_AT_RANDOM): Likewise.
243 (__ASSUME_PREADV): Likewise.
244 (__ASSUME_PWRITEV): Likewise.
245 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
246 (__ASSUME_F_GETOWN_EX): Define unconditionally.
247 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
248 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
249 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
251 (__ASSUME_O_CLOEXEC): Define unconditionally.
252 (__ASSUME_PSELECT): Do not undefine conditionally.
253 (__ASSUME_PPOLL): Likewise.
254 (__ASSUME_ATFCTS): Likewise.
255 (__ASSUME_SET_ROBUST_LIST): Likewise.
256 (__ASSUME_UTIMENSAT): Likewise.
257 (__ASSUME_FDATASYNC): Define unconditionally.
258 * sysdeps/unix/sysv/linux/arm/kernel-features.h
259 (__ASSUME_SIGFRAME_V2): Likewise.
260 )__ASSUME_EVENTFD2): Likewise.
261 (__ASSUME_SIGNALFD4): Likewise.
262 (__ASSUME_PSELECT): Do not undefine conditionally.
263 (__ASSUME_PPOLL): Likewise.
264 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
265 (__ASSUME_PSELECT): Define unconditionally.
266 (__ASSUME_PPOLL): Likewise.
267 (__ASSUME_O_CLOEXEC): Likewise.
268 (__ASSUME_SOCK_CLOEXEC): Likewise.
269 (__ASSUME_IN_NONBLOCK): Likewise.
270 (__ASSUME_PIPE2): Likewise.
271 (__ASSUME_EVENTFD2): Likewise.
272 (__ASSUME_SIGNALFD4): Likewise.
273 (__ASSUME_DUP3): Likewise.
274 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
275 (__ASSUME_O_CLOEXEC): Likewise.
276 (__ASSUME_SOCK_CLOEXEC): Likewise.
277 (__ASSUME_IN_NONBLOCK): Likewise.
278 (__ASSUME_PIPE2): Likewise.
279 (__ASSUME_EVENTFD2): Likewise.
280 (__ASSUME_SIGNALFD4): Likewise.
281 (__ASSUME_DUP3): Likewise.
282 * sysdeps/unix/sysv/linux/mips/kernel-features.h
283 (__ASSUME_EVENTFD2): Likewise.
284 (__ASSUME_SIGNALFD4): Likewise.
285 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
287 2014-05-12 Andreas Schwab <schwab@suse.de>
290 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
291 (_nss_nis_gethostbyname4_r): Return error if item length is larger
292 than maximum RPC packet size.
293 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
294 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
295 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
296 (_nss_nis_getservbyport_r): Likewise.
298 2014-05-12 Will Newton <will.newton@linaro.org>
300 * malloc/Makefile (tests): Add tst-mallopt.
301 * malloc/tst-mallopt.c: New file.
303 2014-05-09 Roland McGrath <roland@hack.frob.com>
305 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
306 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
308 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
311 (tst-tlsmod6.so): Likewise.
313 2014-05-09 Roland McGrath <roland@hack.frob.com>
315 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
317 2014-05-09 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
322 (__fegetenv): Save SSE state in envp->__eip if supported.
323 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
324 envp->__eip if supported.
325 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
327 (__fesetenv): Always set __eip, __cs_selector, __opcode,
328 __data_offset and __data_selector in environment to 0. Set SSE
330 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
332 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
334 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
336 2014-05-09 Will Newton <will.newton@linaro.org>
338 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
339 and libc_relro_required for ARM.
340 * sysdeps/arm/preconfigure: Regenerate.
342 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
343 Stefan Liebler <stli@linux.vnet.ibm.com>
345 * config.make.in (enable-lock-elision): New Makefile variable.
346 * configure.ac: Likewise.
347 * configure: Regenerate.
348 * sysdeps/s390/configure.ac:
349 Add check for gcc transactions support.
350 * sysdeps/s390/configure: Regenerate.
351 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
352 Build elision files if enabled.
353 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
354 Add lock elision support for s390.
355 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
356 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
357 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
358 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
359 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
360 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
361 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
363 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
365 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
367 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
369 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
370 (__lll_timedlock_elision, __lll_lock_elision)
371 (__lll_unlock_elision, __lll_trylock_elision)
372 (lll_timedlock_elision, lll_lock_elision)
373 (lll_unlock_elision, lll_trylock_elision): Add.
374 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
375 (pthread_mutex_t): Add lock elision support for s390.
377 2014-05-09 Will Newton <will.newton@linaro.org>
379 * sysdeps/arm/armv7/strcmp.S: New file.
380 * NEWS: Mention addition of ARMv7 optimized strcmp.
382 2014-05-08 Roland McGrath <roland@hack.frob.com>
384 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
385 look for %.ac rather than %.in.
387 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
388 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
389 * sysdeps/mach/hurd/configure: Regenerated.
390 * sysdeps/unix/sysv/linux/configure: Regenerated.
392 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
394 2014-05-07 Steve Ellcey <sellcey@mips.com>
397 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
401 2014-05-07 Andreas Schwab <schwab@suse.de>
403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
404 when skipping over non-matching result from nscd.
406 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
409 * nptl/sockperf.c (client): Check socket return value.
412 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
415 2014-05-06 Roland McGrath <roland@hack.frob.com>
417 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
418 * sysdeps/arm/unwind.h: ... here.
420 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
423 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
426 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
428 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
429 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
430 multiarch strncpy for PPC64.
431 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
434 multiarch optimizations.
435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
436 (__libc_ifunc_impl_list): Likewise.
437 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
439 multiarch stpncpy for PPC64.
440 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
441 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
443 2014-05-06 Andreas Schwab <schwab@suse.de>
446 * gmon/mcount.c (_MCOUNT_DECL): Use
447 atomic_compare_and_exchange_bool_acq instead of
448 catomic_compare_and_exchange_bool_acq.
450 2014-05-05 Roland McGrath <roland@hack.frob.com>
452 * elf/Makefile (others, install-bin): Remove pldd.
453 (pldd-modules): Variable removed.
454 ($(objpfx)pldd): Target removed.
455 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
456 (others, install-bin): Append pldd here.
457 ($(objpfx)pldd): New target.
459 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
460 to 0, so the first #if test emitted later doesn't see it undefined.
461 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
462 * sysdeps/gnu/errlist.c: Regenerated.
464 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
467 [libc_hidden_builtin_def]: Define to empty value.
468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
469 [libc_hidden_builtin_def]: Likewise.
470 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
471 [libc_hidden_builtin_def]: Likewise.
472 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
473 [libc_hidden_builtin_def]: Likewise.
474 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
475 __redirect_memcpy and define ifunc as default hidden symbol.
476 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
477 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
479 2014-05-04 Adam Conrad <adconrad@0c3.net>
481 * locale/iso-4217.def: Reintroduce XDR currency.
483 2014-05-04 Allan McRae <allan@archlinux.org>
485 * po/eo.po: Update Esperanto translation from translation project.
487 2014-05-02 Carlos O'Donell <carlos@redhat.com>
489 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
490 and FEATURE_INDEX_MAX to 1.
491 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
493 2014-05-01 Steve Ellcey <sellcey@mips.com>
495 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
496 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
497 * iconvdata/big5.c (ONE_DIRECTION): Define.
498 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
499 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
500 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
501 * iconvdata/cp932.c (ONE_DIRECTION): Define.
502 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
503 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
504 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
505 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
506 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
507 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
508 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
509 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
510 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
511 * iconvdata/gbk.c (ONE_DIRECTION): Define.
512 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
513 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
514 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
515 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
516 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
517 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
518 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
519 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
520 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
521 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
522 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
523 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
524 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
525 * iconvdata/iso646.c (ONE_DIRECTION): Define.
526 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
527 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
528 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
529 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
530 * iconvdata/johab.c (ONE_DIRECTION): Define.
531 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
532 * iconvdata/sjis.c (ONE_DIRECTION): Define.
533 * iconvdata/t.61.c (ONE_DIRECTION): Define.
534 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
535 * iconvdata/tscii.c (ONE_DIRECTION): Define.
536 * iconvdata/uhc.c (ONE_DIRECTION): Define.
537 * iconvdata/unicode.c (ONE_DIRECTION): Define.
538 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
539 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
540 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
542 2014-05-01 Roland McGrath <roland@hack.frob.com>
544 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
545 (_IO_JUMPS_OFFSET): Define to 0.
547 * nptl/sysdeps/pthread/bits/libc-lock.h
548 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
549 (__libc_lock_define_initialized_recursive): Always define using
550 initializer. Modern compilers treat uninitialized (implicit zero) and
551 explicit zero initializers the same (i.e. put the datum in bss).
553 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
555 * nscd/nscd-client.h: Include <string.h>.
557 2014-05-01 David S. Miller <davem@davemloft.net>
560 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
561 multiple zero bytes exist at the end of a string.
562 Reported by Aurelien Jarno <aurelien@aurel32.net>
564 * string/test-strcmp.c (check): Add explicit test for situations where
565 there are multiple zero bytes after the first.
567 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
570 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
571 when compiling wprintf.
572 * stdio-common/tstdiomisc.c (t3): New function.
575 2014-05-01 Steve Ellcey <sellcey@mips.com>
577 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
578 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
579 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
580 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
582 2014-05-01 Steve Ellcey <sellcey@mips.com>
584 * stdlib/longlong.h: Updated from GCC.
586 2014-05-01 Will Newton <will.newton@linaro.org>
587 Bernard Ogden <bernie.ogden@linaro.org>
589 * NEWS: Update fixed bug list.
592 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
594 2014-04-30 David S. Miller <davem@davemloft.net>
596 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
597 (libc_feholdexcept_setround_sparc_ctx): New function.
598 (libc_fesetenv_sparc_ctx): Likewise.
599 (libc_feupdateenv_sparc_ctx): Likewise.
600 (libc_feholdsetround_sparc_ctx): Likewise.
601 (libc_feholdexcept_setround_ctx): Define.
602 (libc_feholdexcept_setroundf_ctx): Likewise.
603 (libc_feholdexcept_setroundl_ctx): Likewise.
604 (libc_fesetenv_ctx): Likewise.
605 (libc_fesetenvf_ctx): Likewise.
606 (libc_fesetenvl_ctx): Likewise.
607 (libc_feupdateenv_ctx): Likewise.
608 (libc_feupdateenvf_ctx): Likewise.
609 (libc_feupdateenvl_ctx): Likewise.
610 (libc_feresetround_ctx): Likewise.
611 (libc_feresetroundf_ctx): Likewise.
612 (libc_feresetroundl_ctx): Likewise.
613 (libc_feholdsetround_ctx): Likewise.
614 (libc_feholdsetroundf_ctx): Likewise.
615 (libc_feholdsetroundl_ctx): Likewise.
617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
618 with __USE_GNU instead of XOPEN cpp guards.
620 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
624 with XOPEN cpp guards.
626 2014-04-30 Julian Brown <julian@codesourcery.com>
629 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
632 2014-04-30 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
637 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
638 * sysdeps/unix/sysv/linux/configure: Regenerated.
639 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
640 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
641 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
642 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
643 * README: Update reference to required Linux kernel version.
644 * manual/install.texi (Linux): Update reference to required Linux
645 kernel headers version.
646 * INSTALL: Regenerated.
648 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
650 [POSIX] (limits.h): Likewise.
651 [POSIX] (math.h): Likewise.
652 [POSIX] (sys/wait.h): Likewise.
653 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
655 [POSIX] (stddef.h): Do not allow header inclusion.
657 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
659 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
661 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
663 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
664 Return immediately after lll_futex_wake.
666 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
669 * nscd/nscd-client.h (datahead_init_common): Initialize entire
671 (datahead_init_pos): Call datahead_init_common early.
672 (datahead_init_neg): Likewise.
674 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
675 datahead_init_neg): New functions.
676 * nscd/aicache.c (addhstaiX): Use them.
677 * nscd/grpcache.c (cache_addgr): Likewise.
678 * nscd/hstcache.c (cache_addhst): Likewise.
679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
680 * nscd/netgroupcache.c (do_notfound): Likewise.
681 (addgetnetgrentX): Likewise.
682 (addinnetgrX): Likewise.
683 * nscd/pwdcache.c (cache_addpw): Likewise.
684 * nscd/servicescache.c (cache_addserv): Likewise.
686 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
687 Atsushi Onoe <atsushi@onoe.org>
692 * resolv/res_query.c (__libc_res_nsearch): Return if at least
693 one response is valid.
694 * resolv/res_send.c (send_dg): Check for validity of other
695 response if the current response is a referral.
697 2014-04-29 Steve Ellcey <sellcey@mips.com>
699 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
701 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
704 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
705 Always divide by positive zero when computing -Inf result.
706 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
707 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
709 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
712 FPSCR if value do not change.
713 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
714 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
715 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
716 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
717 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
718 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
721 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
723 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
724 * sysdeps/unix/sysv/linux/hppa: Move directory from
725 ports/systeps/unix/sysv/linux/hppa.
726 * README: Update listing for hppa-*-linux-gnu.
728 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
731 * manual/stdio.texi (Hook functions): Fix types of stream hook
734 * socket/sys/socket.h: Fix typo in comment.
736 2014-04-28 Wilco <wdijkstr@arm.com>
738 * sysdeps/arm/fenv_private.h: New file.
739 * sysdeps/arm/math_private.h: New file.
740 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
742 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
744 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
746 (La_x86_64_retval): Likewise.
748 2014-04-24 Ian Bolton <ian.bolton@arm.com>
750 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
751 fpsr if value didn't change.
752 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
753 to fpcr if value didn't change.
754 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
755 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
756 fpsr or fpcr if value didn't change.
757 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
758 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
759 fpcr if value didn't change.
760 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
761 to fpsr if value didn't change.
763 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
765 * nptl/tst-sem3.c: Use test-skeleton.c
766 (main): Rename to do_test. Use return instead of
768 * nptl/tst-sem4.c: Use test-skeleton.c
769 (main): Rename to do_test.
771 2014-04-22 David S. Miller <davem@davemloft.net>
773 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
774 (struct sigaction): New struct member __glibc_reserved0, change
775 type of sa_flags to int.
777 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
779 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
780 (COUNT_LEADING_ZEROS_0): Define for AArch64.
782 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
784 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
785 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
787 2014-04-22 Will Newton <will.newton@linaro.org>
788 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
790 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
791 (__longjmp): Add longjmp and longjmp_target SystemTap
793 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
794 (__sigsetjmp): Add setjmp SystemTap probe.
796 2014-04-17 Carlos O'Donell <carlos@redhat.com>
798 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
801 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
805 * sysdeps/powerpc/fpu/fenv_private.h
806 (libc_feholdexcept_setroundl_ctx): Define to
807 libc_feholdexcept_setround_ppc_ctx.
808 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
809 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
810 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
811 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
813 2014-04-17 Ian Bolton <ian.bolton@arm.com>
815 * sysdeps/aarch64/math-tests.h: New file.
817 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
819 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
822 Check and set bit_AVX2_Usable.
823 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
825 (bit_AVX2): Likewise.
826 (index_AVX2_Usable): Likewise.
827 (CPUID_AVX2): Likewise.
828 (HAS_AVX2): Likewise.
830 2014-04-17 Will Newton <will.newton@linaro.org>
832 * manual/setjmp.texi (System V contexts): Add note that
833 calling setcontext on a context created by a call to a
834 signal handler is undefined. Update text to note that
835 setcontext from a signal handler is possible but not
839 * stdlib/tst-setcontext.c: Include signal.h.
840 (main): Check that the signal stack before and
841 after swapcontext is the same.
843 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
844 Re-implement to restore registers in user code and avoid
845 rt_sigreturn system call.
847 2014-04-17 Wilco <wdijkstr@arm.com>
849 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
850 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
851 * math/test-fenv.c: Skip exception trap tests on targets which only
852 support non-stop mode.
854 2014-04-17 Ian Bolton <ian.bolton@arm.com>
855 Wilco Dijkstra <wilco.dijkstra@arm.com>
857 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
858 (libc_feholdsetround_aarch64_ctx)
859 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
860 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
861 (libc_feresetround_ctx, libc_feresetroundf_ctx)
862 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
863 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
864 (libc_feresetround_noexl_ctx): Define.
866 2014-04-16 Richard Henderson <rth@redhat.com>
868 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
870 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
873 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
874 const from the non-libc, non-ldso copy.
876 * sysdeps/alpha/libm-test-ulps: Regenerate.
878 2014-04-16 Ian Bolton <ian.bolton@arm.com>
879 Wilco Dijkstra <wilco.dijkstra@arm.com>
881 * sysdeps/aarch64/fpu/math_private.h: New file.
883 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
885 * sysdeps/aarch64/libm-test-ulps: Regenerate.
887 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
889 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
890 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
892 Intel MPX bound registers before _dl_profile_fixup.
893 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
894 registers after _dl_profile_fixup. Save and restore bound
895 registers bnd0/bnd1 when calling _dl_call_pltexit.
896 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
897 (LR_BND_OFFSET): Likewise.
898 (LRV_BND0_OFFSET): Likewise.
899 (LRV_BND1_OFFSET): Likewise.
901 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
903 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
905 * sysdeps/mach/hurd/i386/tls.h: ... here.
906 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
907 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
910 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
912 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
914 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
916 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
918 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
921 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
922 * sysdeps/s390/configure: Regenerate.
925 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
926 Set round-to-nearest internally to reduce error accumulation.
928 2014-04-16 Alan Modra <amodra@gmail.com>
932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
933 * math/libm-test.inc (frexp_test_data): Add tests.
934 * NEWS: Update fixed bug list.
936 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
938 * benchtests/Makefile: Depend on libraries in build directory.
939 (bench-math): Separate out math tests.
940 (bench-pthread): Separate out pthread tests.
941 (bench): Include math and pthread tests.
943 2014-04-14 Carlos O'Donell <carlos@redhat.com>
946 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
947 _dl_debug_initialize.
949 * configure.ac: Remove SELinux header check.
950 * configure: Regenerate.
951 * nscd/selinux.c (perms): Array of const char* to permission names.
952 (nscd_request_avc_has_perm): Call security_deny_unknown to find
953 default policy. Call string_to_security_class and string_to_av_perm to
954 translate strings. Enforce default policy and call avs_has_perm with
955 results of translated strings.
957 2014-04-13 David S. Miller <davem@davemloft.net>
959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
961 2014-04-12 Allan McRae <allan@archlinux.org>
964 * manual/string.texi (Collation Functions): Fix qsort argument
966 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
968 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
970 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
971 Make the test a no-op if there are no exceptions defined.
973 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
975 * elf/Makefile (tests): make tst-dlopen-aout conditional on
976 enable-hardcoded-path-in-tests
978 2014-04-11 Will Newton <will.newton@linaro.org>
980 * benchtests/Makefile (extra-objs): Add json-lib.o.
981 (bench-func): Tidy up JSON output.
982 * benchtests/bench-skeleton.c: Include json-lib.h.
983 (main): Use JSON library functions to do output of
985 * benchtests/bench-timing-type.c (main): Output the
986 timing type simply, leaving formatting to the user.
987 * benchtests/json-lib.c: New file.
988 * benchtests/json-lib.h: Likewise.
990 2014-04-11 Torvald Riegel <triegel@redhat.com>
993 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
994 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
995 memory barriers. Add comments.
996 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
997 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
998 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
999 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1000 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1001 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1003 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1005 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1006 * sysdeps/s390/s390-64/configure.ac: ... this ...
1007 * sysdeps/s390/configure.ac: ... to here.
1008 * sysdeps/s390/s390-32/configure: Delete file.
1009 * sysdeps/s390/s390-64/configure: Delete file.
1010 * sysdeps/s390/configure: Regenerate.
1012 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1014 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1016 2014-04-11 Will Newton <will.newton@linaro.org>
1018 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1019 to zero if it is not defined elsewhere. (mtrim): Test
1020 the value of MALLOC_DEBUG with #if rather than #ifdef.
1022 2014-04-10 Torvald Riegel <triegel@redhat.com>
1024 * benchtests/pthread_once-inputs: New file.
1025 * benchtests/pthread_once-source.c: New file.
1026 * benchtests/README: Update documentation.
1028 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1029 H.J. Lu <hongjiu.lu@intel.com>
1031 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1032 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1033 * sysdeps/x86_64/configure: Regenerated.
1034 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1036 (REGISTER_SAVE_RAX): Likewise.
1037 (REGISTER_SAVE_RCX): Likewise.
1038 (REGISTER_SAVE_RDX): Likewise.
1039 (REGISTER_SAVE_RSI): Likewise.
1040 (REGISTER_SAVE_RDI): Likewise.
1041 (REGISTER_SAVE_R8): Likewise.
1042 (REGISTER_SAVE_R9): Likewise.
1043 (REGISTER_SAVE_BND0): Likewise.
1044 (REGISTER_SAVE_BND1): Likewise.
1045 (REGISTER_SAVE_BND2): Likewise.
1046 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1047 bound registers when calling _dl_fixup.
1049 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1052 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1054 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1055 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1056 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1057 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1058 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1059 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1060 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1062 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1065 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1066 pathconf(_PC_NAME_MAX).
1068 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1072 (__PTHREAD_SPINS): Move definition to ...
1073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1074 (__PTHREAD_SPINS): ... here.
1075 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1076 (__PTHREAD_SPIN): Likewise.
1077 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1078 (__PTHREAD_SPIN): Likewise.
1079 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1080 (__PTHREAD_SPIN): Likewise.
1081 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1082 (__PTHREAD_SPIN): Likewise.
1083 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1084 (__PTHREAD_SPIN): Likewise.
1085 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1086 (__PTHREAD_SPIN): Likewise.
1087 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1088 (__PTHREAD_SPIN): Likewise.
1089 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1090 (__PTHREAD_SPIN): Likewise.
1091 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1092 (__PTHREAD_SPIN): Likewise.
1093 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1094 (__PTHREAD_SPIN): Likewise.
1095 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1096 (__PTHREAD_SPIN): Likewise.
1097 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1098 (__PTHREAD_SPIN): Likewise.
1100 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1101 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1102 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1103 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1106 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1107 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1108 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1110 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1111 strlen symbol for non multi-arch builds.
1112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1113 missing hidden_def and weak_alias.
1115 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1117 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1119 2014-04-07 Will Newton <will.newton@linaro.org>
1121 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1122 and contents. [!_LIBC] Remove #ifndef and contents.
1123 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1124 * string/memccpy.c (__memccpy): Use ANSI prototype.
1125 * string/memfrob.c (memfrob): Likewise.
1126 * string/strcoll.c (STRCOLL): Likewise.
1127 * string/strlen.c (strlen): Likewise.
1128 * string/strtok.c (STRTOK): Likewise.
1129 * string/strcat.c: Remove unused #include of memcopy.h.
1130 (strcat): Use ANSI prototype.
1131 * string/strchr.c: Remove unused #include of memcopy.h.
1132 (strchr): Use ANSI prototype.
1133 * string/strcmp.c: Remove unused #include of memcopy.h.
1134 (strcmp): Use ANSI prototype.
1135 * string/strcpy.c: Remove unused #include of memcopy.h.
1136 (strcpy): Use ANSI prototype.
1138 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1141 * config.make.in (config-extra-cppflags): Set it from
1142 libc_extra_cppflags.
1143 * configure.ac (libc_extra_cflags): Make it accumulate over
1144 configure fragments.
1145 (libc_extra_cppflags): New flag.
1146 * configure. Regenerate.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1148 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1149 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1154 result for FE_DOWNWARD rounding mode.
1155 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1159 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1161 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1162 in function argument name.
1164 2014-04-03 David Svoboda <svoboda@cert.org>
1167 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1170 2014-04-03 Roland McGrath <roland@hack.frob.com>
1172 * elf/dl-unmap-segments.h: New file.
1173 * sysdeps/generic/ldsodefs.h
1174 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1175 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1176 * elf/dl-fptr.c: Likewise.
1177 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1178 * sysdeps/aarch64/tlsdesc.c: Likewise.
1179 * sysdeps/arm/tlsdesc.c: Likewise.
1180 * sysdeps/i386/tlsdesc.c: Likewise.
1181 * sysdeps/tile/dl-runtime.c: Likewise.
1182 * sysdeps/x86_64/tlsdesc.c: Likewise.
1183 * elf/dl-load.h: New file.
1184 * elf/dl-load.c: Include it.
1185 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1186 Macros moved to dl-load.h.
1187 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1188 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1189 Use _dl_unmap_segments in place of __munmap.
1190 Break out segment-mapping loop into ...
1191 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1193 2014-04-03 Will Newton <will.newton@linaro.org>
1195 * elf/dl-lookup.c (do_lookup_x): Remove comment
1196 referring to nested function and move variable
1197 declarations down to before first use.
1199 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1203 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1205 * math/s_catanf.c (__catanf): Likewise.
1206 * math/s_catanh.c (__catanh): Likewise.
1207 * math/s_catanhf.c (__catanhf): Likewise.
1208 * math/s_catanhl.c (__catanhl): Likewise.
1209 * math/s_catanl.c (__catanl): Likewise.
1210 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1211 by positive zero when computing -Inf result.
1212 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1213 (catanh_test): Likewise.
1214 * sysdeps/i386/fpu/libm-test-ulps: Update.
1215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1218 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1219 instead of using underflowing value in computing result.
1220 * math/s_clog10.c (__clog10): Likewise.
1221 * math/s_clog10f.c (__clog10f): Likewise.
1222 * math/s_clog10l.c (__clog10l): Likewise.
1223 * math/s_clogf.c (__clogf): Likewise.
1224 * math/s_clogl.c (__clogl): Likewise.
1225 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1226 (clog10_test): Likewise.
1227 * sysdeps/i386/fpu/libm-test-ulps: Update.
1228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230 2014-04-02 Alan Modra <amodra@gmail.com>
1233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1234 output when value is near a power of two. Use int64_t for lx and
1235 remove casts. Use decimal rather than hex exponent constants.
1236 Don't use long double multiplication when double will suffice.
1237 * math/libm-test.inc (nextafter_test_data): Add tests.
1238 * NEWS: Add 16739 and 16786 to bug list.
1240 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1242 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1244 2014-04-01 Will Newton <will.newton@linaro.org>
1246 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1247 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1249 2014-04-01 Florian Weimer <fweimer@redhat.com>
1252 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1253 * nptl/tst-setuid2.c: New file.
1254 * nptl/Makefile (xtests): Add tst-setuid2.
1256 2014-04-01 Alan Modra <amodra@gmail.com>
1259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1261 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1265 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1266 set errno as appropriate.
1267 * math/w_scalbf.c (__scalbf): Likewise.
1268 * math/w_scalbl.c (__scalbl): Likewise.
1269 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1270 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1271 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1275 * math/w_atan2.c: Include <errno.h>.
1276 (__atan2): Set errno for result underflowing to zero.
1277 * math/w_atan2f.c: Include <errno.h>.
1278 (__atan2f): Set errno for result underflowing to zero.
1279 * math/w_atan2l.c: Include <errno.h>.
1280 (__atan2l): Set errno for result underflowing to zero.
1281 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1283 * math/auto-libm-test-out: Regenerated.
1285 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1288 Encode instruction correctly in little endian.
1289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1298 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/linux/kernel-features.h
1302 [__sparc__ && !__arch64__ && !__sparc_v9__]
1303 (__ASSUME_SET_ROBUST_LIST): Do not define.
1304 [__sparc__ && !__arch64__ && !__sparc_v9__]
1305 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1306 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1308 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1309 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1310 (__ASSUME_REQUEUE_PI): Likewise.
1311 (__ASSUME_SET_ROBUST_LIST): Likewise.
1312 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1313 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1316 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1320 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1322 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1323 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1325 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1326 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1331 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1332 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1334 2014-03-31 Will Newton <will.newton@linaro.org>
1336 * benchtests/Makefile (bench): Add ffs and ffsll to list
1338 * benchtests/ffs-inputs: New file.
1339 * benchtests/ffsll-inputs: Likewise.
1341 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1344 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1345 too large before casting to int.
1346 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1347 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1348 * math/libm-test.inc (scalb_test_data): Add more tests.
1350 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 * benchtests/Makefile (DETAILED_OPT): New make option.
1353 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1355 * benchtests/bench-skeleton.c: Include stdbool.h.
1356 (main): Store and print timings per input.
1357 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1358 member to each argument value.
1359 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1360 (_print_arg_data): Initialize per-input timing to 0.
1362 * benchtests/Makefile (timing-type): New binary.
1363 (bench-clean): Also remove bench-timing-type.
1364 (bench): New target for timing-type.
1365 (bench-func): Print output in JSON format.
1366 * benchtests/bench-skeleton.c (main): Print output in JSON
1368 * benchtests/bench-timing-type.c: New file.
1369 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1370 (TIMING_PRINT_STATS): Remove.
1371 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1374 * benchtests/bench-modf.c: Remove.
1375 * benchtests/modf-inputs: New inputs file.
1377 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1380 * math/s_clog10.c (M_PI_LOG10E): New macro.
1381 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1382 imaginary parts are 0.
1383 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1384 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1385 imaginary parts are 0.
1386 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1387 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1388 imaginary parts are 0.
1389 * math/libm-test.inc (clog10_test_data): Update expected results
1390 for when real and imaginary parts are 0.
1392 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1394 * elf/dl-load.c: Finish conversion of __builtin_expect into
1397 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1400 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1401 1+x for argument with exponent below -67.
1402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1404 * math/auto-libm-test-in: Add more tests of exp.
1405 * math/auto-libm-test-out: Regenerated.
1407 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1410 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1411 (nscd_getnetgrent): Use it.
1414 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1417 2014-03-27 Andi Kleen <ak@linux.intel.com>
1419 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1420 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1421 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1422 (lll_robust_unlock): Remove out of line section. Use cfi
1424 (LLL_STUB_UNWIND_INFO*): Remove.
1425 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1426 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1427 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1428 (lll_robust_unlock): Remove out of line section. Use cfi
1430 (LLL_STUB_UNWIND_INFO*): Remove.
1432 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1435 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1438 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1440 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1442 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1445 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1447 * math/test-fenv-preserve.c: New file.
1448 * math/Makefile (tests): Add test-fenv-preserve.
1450 2014-03-26 Will Newton <will.newton@linaro.org>
1452 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1454 2014-03-25 Roland McGrath <roland@hack.frob.com>
1456 * scripts/versionlist.awk: Partition the version sets and emit all
1457 GLIBC_* (sorted) before all others (sorted).
1459 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1461 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1462 GLIBC_2.2.5 version.
1464 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1474 2014-03-25 Andreas Schwab <schwab@suse.de>
1476 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1477 label to be used after in6ailist is initialized.
1479 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1482 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1484 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1488 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1490 (fp_formats): Update initializers.
1491 (init_fp_formats): Initialize new field.
1492 (output_for_one_input_case): Allow underflow for results up to
1494 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1495 * math/auto-libm-test-in: Don't mark some underflows from asin and
1497 * math/auto-libm-test-out: Regenerated.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501 2014-03-25 Andreas Schwab <schwab@suse.de>
1503 * libio/Makefile (tst-ftell-partial-wide-ENV)
1504 (tst-ftell-active-handler-ENV): Define.
1506 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1508 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1510 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1512 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1514 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1516 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1517 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1518 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1520 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1523 * elf/dl-load.c (open_verify): Add mode parameter.
1524 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1525 (open_path): Change from boolean 'secure' to complete flag 'mode'
1526 (_dl_map_object): Adjust.
1527 * elf/Makefile (tests): Add tst-dlopen-aout.
1528 * elf/tst-dlopen-aout.c: New test.
1530 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1533 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1534 (struct stat): Rename member pad0 to __glibc_reserved0.
1537 * sysdeps/s390/s390-32/bits/wordsize.h
1538 (__WORDSIZE32_SIZE_ULONG): New define.
1539 * sysdeps/s390/s390-64/bits/wordsize.h
1540 (__WORDSIZE32_SIZE_ULONG): Likewise.
1541 * sysdeps/generic/stdint.h (SIZE_MAX):
1542 Define as UL if __WORDSIZE32_SIZE_ULONG.
1545 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1546 (__glibc_reserved0): New variable.
1547 (sa_flags): Change type to int.
1549 * posix/Makefile (before-compile): Use += before-compile instead
1552 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1553 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1555 2014-03-20 Andreas Schwab <schwab@suse.de>
1558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1559 non-matching result from nscd.
1561 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1563 * scripts/bench.py: Moved to ...
1564 * benchtests/scripts/bench.py: ... here.
1565 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1567 2014-03-24 Andreas Schwab <schwab@suse.de>
1570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1571 alloca_account and account alloca use for struct in6ailist.
1573 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1576 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1577 rounding mode to recompute results that overflow to infinity or
1579 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1581 * math/auto-libm-test-out: Regenerated.
1582 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1583 (ccosh_test): Likewise.
1584 (csin_test_data): Use plus_oflow.
1585 (csin_test): Use ALL_RM_TEST.
1586 (csinh_test_data): Use plus_oflow.
1587 (csinh_test): Use ALL_RM_TEST.
1588 * sysdeps/i386/fpu/libm-test-ulps: Update.
1589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1591 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1594 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1595 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1598 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1600 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1601 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1602 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1605 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1606 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1608 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1609 * sysdeps/i386/fpu/libm-test-ulps: Update.
1610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1612 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1614 * scripts/bench.pl: Remove file.
1615 * scripts/bench.py: New benchmark script.
1616 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1617 * benchtests/README: Mention python dependency.
1618 * scripts/pylintrc: New file.
1619 * scripts/pylint: New file.
1621 * bits/mathdef.h: Use #ifdef instead of #if.
1622 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1623 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1624 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1625 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1626 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1627 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1629 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1632 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1634 and strpbrk-ppc64 objects.
1635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1636 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1637 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1638 multiarch strpbrk for POWER7.
1639 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1640 multiarch strpbrk for PPC64.
1641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1643 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1646 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1648 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1649 (atan_test): Likewise.
1650 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1651 (atanh_test): Use ALL_RM_TEST.
1652 (atan2_test_data): Likewise.
1653 (cabs_test): Likewise.
1654 (cacosh_test): Likewise.
1655 (carg_test): Likewise.
1656 (casin_test): Likewise.
1657 (casinh_test): Likewise.
1658 (cbrt_test): Likewise.
1659 (csqrt_test): Likewise.
1660 (erf_test): Likewise.
1661 (erfc_test): Likewise.
1662 (pow10_test): Likewise.
1663 (exp2_test): Likewise.
1664 (hypot_test): Likewise.
1665 (j0_test): Likewise.
1666 (j1_test): Likewise.
1667 (lgamma_test): Likewise.
1668 (gamma_test): Likewise.
1669 (sincos_test): Likewise.
1670 (tanh_test): Likewise.
1671 (y0_test): Likewise.
1672 (y1_test): Likewise.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1676 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1680 and strcspn-ppc64 objects.
1681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1682 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1683 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1684 multiarch strcspn for POWER7.
1685 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1686 multiarch strcspn for PPC64.
1687 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1689 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1692 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1694 * math/gen-libm-test.pl (generate_testfile): Expect only function
1695 name as argument to AUTO_TESTS_* and pass results for all rounding
1696 modes to parse_args.
1697 (parse_auto_input): Separate inputs of automatic tests from
1698 outputs before storing in %auto_tests.
1699 * math/libm-test.inc (acos_test_data): Update call to
1701 (acos_test): Use ALL_RM_TEST.
1702 (acos_tonearest_test_data): Remove.
1703 (acos_test_tonearest): Likewise.
1704 (acos_towardzero_test_data): Likewise.
1705 (acos_test_towardzero): Likewise.
1706 (acos_downward_test_data): Likewise.
1707 (acos_test_downward): Likewise.
1708 (acos_upward_test_data): Likewise.
1709 (acos_test_upward): Likewise.
1710 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1711 (asin_test_data): Likewise.
1712 (asin_test): Use ALL_RM_TEST.
1713 (asin_tonearest_test_data): Remove.
1714 (asin_test_tonearest): Likewise.
1715 (asin_towardzero_test_data): Likewise.
1716 (asin_test_towardzero): Likewise.
1717 (asin_downward_test_data): Likewise.
1718 (asin_test_downward): Likewise.
1719 (asin_upward_test_data): Likewise.
1720 (asin_test_upward): Likewise.
1721 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1722 (atan_test_data): Likewise.
1723 (atanh_test_data): Likewise.
1724 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1725 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1726 (carg_test_data): Likewise.
1727 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1728 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1729 (ccosh_test_data): Likewise.
1730 (cexp_test_data): Likewise.
1731 (clog_test_data): Likewise.
1732 (clog10_test_data): Likewise.
1733 (cos_test_data): Update call to AUTO_TESTS_f_f.
1734 (cos_test): Use ALL_RM_TEST.
1735 (cos_tonearest_test_data): Remove.
1736 (cos_test_tonearest): Likewise.
1737 (cos_towardzero_test_data): Likewise.
1738 (cos_test_towardzero): Likewise.
1739 (cos_downward_test_data): Likewise.
1740 (cos_test_downward): Likewise.
1741 (cos_upward_test_data): Likewise.
1742 (cos_test_upward): Likewise.
1743 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1744 (cosh_test): Use ALL_RM_TEST.
1745 (cosh_tonearest_test_data): Remove.
1746 (cosh_test_tonearest): Likewise.
1747 (cosh_towardzero_test_data): Likewise.
1748 (cosh_test_towardzero): Likewise.
1749 (cosh_downward_test_data): Likewise.
1750 (cosh_test_downward): Likewise.
1751 (cosh_upward_test_data): Likewise.
1752 (cosh_test_upward): Likewise.
1753 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1754 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1755 (ctan_test_data): Likewise.
1756 (ctan_test): Use ALL_RM_TEST.
1757 (ctan_tonearest_test_data): Remove.
1758 (ctan_test_tonearest): Likewise.
1759 (ctan_towardzero_test_data): Likewise.
1760 (ctan_test_towardzero): Likewise.
1761 (ctan_downward_test_data): Likewise.
1762 (ctan_test_downward): Likewise.
1763 (ctan_upward_test_data): Likewise.
1764 (ctan_test_upward): Likewise.
1765 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1766 (ctanh_test): Use ALL_RM_TEST.
1767 (ctanh_tonearest_test_data): Remove.
1768 (ctanh_test_tonearest): Likewise.
1769 (ctanh_towardzero_test_data): Likewise.
1770 (ctanh_test_towardzero): Likewise.
1771 (ctanh_downward_test_data): Likewise.
1772 (ctanh_test_downward): Likewise.
1773 (ctanh_upward_test_data): Likewise.
1774 (ctanh_test_upward): Likewise.
1775 (erf_test_data): Update call to AUTO_TESTS_f_f.
1776 (erfc_test_data): Likewise.
1777 (exp_test_data): Likewise.
1778 (exp_test): Use ALL_RM_TEST.
1779 (exp_tonearest_test_data): Remove.
1780 (exp_test_tonearest): Likewise.
1781 (exp_towardzero_test_data): Likewise.
1782 (exp_test_towardzero): Likewise.
1783 (exp_downward_test_data): Likewise.
1784 (exp_test_downward): Likewise.
1785 (exp_upward_test_data): Likewise.
1786 (exp_test_upward): Likewise.
1787 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1788 (exp10_test): Use ALL_RM_TEST.
1789 (exp10_tonearest_test_data): Remove.
1790 (exp10_test_tonearest): Likewise.
1791 (exp10_towardzero_test_data): Likewise.
1792 (exp10_test_towardzero): Likewise.
1793 (exp10_downward_test_data): Likewise.
1794 (exp10_test_downward): Likewise.
1795 (exp10_upward_test_data): Likewise.
1796 (exp10_test_upward): Likewise.
1797 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1798 (expm1_test_data): Likewise.
1799 (expm1_test): Use ALL_RM_TEST.
1800 (expm1_tonearest_test_data): Remove.
1801 (expm1_test_tonearest): Likewise.
1802 (expm1_towardzero_test_data): Likewise.
1803 (expm1_test_towardzero): Likewise.
1804 (expm1_downward_test_data): Likewise.
1805 (expm1_test_downward): Likewise.
1806 (expm1_upward_test_data): Likewise.
1807 (expm1_test_upward): Likewise.
1808 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1809 (fma_test): Use ALL_RM_TEST.
1810 (fma_towardzero_test_data): Remove.
1811 (fma_test_towardzero): Likewise.
1812 (fma_downward_test_data): Likewise.
1813 (fma_test_downward): Likewise.
1814 (fma_upward_test_data): Likewise.
1815 (fma_test_upward): Likewise.
1816 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1817 (j0_test_data): Update call to AUTO_TESTS_f_f.
1818 (j1_test_data): Likewise.
1819 (jn_test_data): Update call to AUTO_TESTS_if_f.
1820 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1821 (log_test_data): Update call to AUTO_TESTS_f_f.
1822 (log10_test_data): Likewise.
1823 (log1p_test_data): Likewise.
1824 (log2_test_data): Likewise.
1825 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1826 (pow_tonearest_test_data): Likewise.
1827 (sin_test_data): Update call to AUTO_TESTS_f_f.
1828 (sin_test): Use ALL_RM_TEST.
1829 (sin_tonearest_test_data): Remove.
1830 (sin_test_tonearest): Likewise.
1831 (sin_towardzero_test_data): Likewise.
1832 (sin_test_towardzero): Likewise.
1833 (sin_downward_test_data): Likewise.
1834 (sin_test_downward): Likewise.
1835 (sin_upward_test_data): Likewise.
1836 (sin_test_upward): Likewise.
1837 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1838 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1839 (sinh_test): Use ALL_RM_TEST.
1840 (sinh_tonearest_test_data): Remove.
1841 (sinh_test_tonearest): Likewise.
1842 (sinh_towardzero_test_data): Likewise.
1843 (sinh_test_towardzero): Likewise.
1844 (sinh_downward_test_data): Likewise.
1845 (sinh_test_downward): Likewise.
1846 (sinh_upward_test_data): Likewise.
1847 (sinh_test_upward): Likewise.
1848 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1849 (sqrt_test): Use ALL_RM_TEST.
1850 (sqrt_tonearest_test_data): Remove.
1851 (sqrt_test_tonearest): Likewise.
1852 (sqrt_towardzero_test_data): Likewise.
1853 (sqrt_test_towardzero): Likewise.
1854 (sqrt_downward_test_data): Likewise.
1855 (sqrt_test_downward): Likewise.
1856 (sqrt_upward_test_data): Likewise.
1857 (sqrt_test_upward): Likewise.
1858 (tan_test_data): Update call to AUTO_TESTS_f_f.
1859 (tan_test): Use ALL_RM_TEST.
1860 (tan_tonearest_test_data): Remove.
1861 (tan_test_tonearest): Likewise.
1862 (tan_towardzero_test_data): Likewise.
1863 (tan_test_towardzero): Likewise.
1864 (tan_downward_test_data): Likewise.
1865 (tan_test_downward): Likewise.
1866 (tan_upward_test_data): Likewise.
1867 (tan_test_upward): Likewise.
1868 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1869 (tgamma_test_data): Likewise.
1870 (y0_test_data): Likewise.
1871 (y1_test_data): Likewise.
1872 (yn_test_data): Update call to AUTO_TESTS_if_f.
1873 (main): Do not call removed functions.
1875 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1877 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1878 (ldexp_test_data): Remove.
1879 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1881 (scalb_test): Use ALL_RM_TEST.
1883 2014-03-19 Andreas Schwab <schwab@suse.de>
1885 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1887 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1890 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1891 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1892 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1894 (__ASSUME_PREADV): Undefine.
1895 (__ASSUME_PWRITEV): Likewise.
1897 2014-03-18 Roland McGrath <roland@hack.frob.com>
1899 * bits/mman-linux.h: Add comment about non-Linux use.
1900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1901 bits/mman-linux.h resting place.
1903 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1904 * bits/mman-linux.h: ... here.
1906 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1908 * conform/conformtest.pl: Add standard definition when calling C
1909 preprocessor on data files.
1910 (checknamespace): Remove unused variable.
1912 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1914 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1915 minus_oflow, plus_uflow and minus_uflow in expected results.
1916 * math/libm-test.inc (scalbn_test_data): Add more tests of
1917 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1919 (scalbn_test): Use ALL_RM_TEST.
1920 (scalbln_test_data): Add more tests of negative arguments. Use
1921 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1922 (scalbln_test): Use ALL_RM_TEST.
1924 2014-03-18 Roland McGrath <roland@hack.frob.com>
1926 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1928 2014-03-18 Will Newton <will.newton@linaro.org>
1930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1933 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1935 * Makerules [!subdir] (check-abi): Exit with error status if a
1938 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1940 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1941 for rint. Include results for all rounding modes.
1942 (nearbyint_test): Use ALL_RM_TEST.
1943 (rint_test_data): Include all tests used for nearbyint.
1945 2014-03-17 Will Newton <will.newton@linaro.org>
1947 * nptl/sysdeps/pthread/pthread.h: Revert previous
1950 * sysdeps/generic/ldsodefs.h: Revert previous
1953 * libio/genops.c: Revert previous change.
1954 * libio/libioP.h: Likewise.
1955 * stdio-common/vfprintf.c: Likewise.
1957 * sysdeps/generic/math_private.h: Revert previous
1960 * sysdeps/generic/math_private.h: Check whether
1961 HAVE_RM_CTX is defined with #ifdef rather
1964 * argp/argp-fmtstream.h: Check whether
1965 __STRICT_ANSI__ is defined with #ifdef rather
1967 * argp/argp.h: Likewise.
1969 * libio/genops.c: Check whether
1970 _IO_JUMPS_OFFSET is defined with #ifdef rather
1972 * libio/libioP.h: Likewise.
1973 * stdio-common/vfprintf.c: Likewise.
1975 * sysdeps/generic/ldsodefs.h: Check whether
1976 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1979 * nptl/sysdeps/pthread/pthread.h: Check
1980 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1983 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1985 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1987 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1991 * libio/fileops.c (_IO_file_open): Seek to end of file but
1992 don't cache the offset.
1993 (get_file_offset): Remove function.
1994 (do_ftell): Use cached offset when available.
1995 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1996 don't cache the offset.
1997 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1999 (do_one_test): Call it.
2000 (do_ftell_test): Fix up expected old offset for a+ mode.
2001 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2004 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2005 up test status with function return status.
2006 (do_write_test): Likewise.
2007 (do_append_test): Likewise.
2009 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2010 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2013 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2015 * math/gen-libm-test.pl (parse_args): Handle results specified for
2016 each rounding mode separately.
2017 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2018 tests and results from lrint_tonearest_test_data,
2019 lrint_towardzero_test_data, lrint_downward_test_data and
2020 lrint_upward_test_data.
2021 (lrint_test): Use ALL_RM_TEST.
2022 (lrint_tonearest_test_data): Remove.
2023 (lrint_test_tonearest): Likewise.
2024 (lrint_towardzero_test_data): Likewise.
2025 (lrint_test_towardzero): Likewise.
2026 (lrint_downward_test_data): Likewise.
2027 (lrint_test_downward): Likewise.
2028 (lrint_upward_test_data): Likewise.
2029 (lrint_test_upward): Likewise.
2030 (llrint_test_data): Merge in per-rounding-mode tests and results
2031 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2032 llrint_downward_test_data and llrint_upward_test_data.
2033 (llrint_test): Use ALL_RM_TEST.
2034 (llrint_tonearest_test_data): Remove.
2035 (llrint_test_tonearest): Likewise.
2036 (llrint_towardzero_test_data): Likewise.
2037 (llrint_test_towardzero): Likewise.
2038 (llrint_downward_test_data): Likewise.
2039 (llrint_test_downward): Likewise.
2040 (llrint_upward_test_data): Likewise.
2041 (llrint_test_upward): Likewise.
2042 (rint_test_data): Merge in per-rounding-mode tests and results
2043 from rint_tonearest_test_data, rint_towardzero_test_data,
2044 rint_downward_test_data and rint_upward_test_data. Add
2045 per-rounding-mode results for tests not in those arrays.
2046 (rint_test): Use ALL_RM_TEST.
2047 (rint_tonearest_test_data): Remove.
2048 (rint_test_tonearest): Likewise.
2049 (rint_towardzero_test_data): Likewise.
2050 (rint_test_towardzero): Likewise.
2051 (rint_downward_test_data): Likewise.
2052 (rint_test_downward): Likewise.
2053 (rint_upward_test_data): Likewise.
2054 (rint_test_upward): Likewise.
2055 (main): Don't call removed functions.
2057 2014-03-14 Roland McGrath <roland@hack.frob.com>
2059 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2060 "Compiled on ..." crapola. It is anti-useful.
2062 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2064 * scripts/evaluate-test.sh: Handle fourth argument to determine
2065 whether test run should stop on failure.
2066 * Makeconfig (stop-on-test-failure): New variable.
2067 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2068 $(stop-on-test-failure).
2069 * Makefile (tests): Give a summary of results from testing and
2070 exit with failure status if they include an ERROR or FAIL.
2072 * manual/install.texi (Configuring and compiling): Mention
2073 stop-on-test-failure=y.
2074 * INSTALL: Regenerated.
2076 2014-03-14 Roland McGrath <roland@hack.frob.com>
2078 * scripts/versionlist.awk: New file.
2079 * Makerules [$(build-shared) = yes]
2080 (postclean-generated): Add Versions.def, not Versions.def.v and
2082 ($(common-objpfx)Versions.def.v.i): Target removed.
2083 ($(common-objpfx)Versions.def): New target.
2084 ($(common-objpfx)Versions.all): Depend on that rather that
2085 $(common-objpfx)Versions.def.v.
2086 * Versions.def: File removed.
2088 * Makeconfig (+gccwarn): Add -Wundef.
2089 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2090 a dl-sysdep.h breaking its contract.
2091 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2092 * include/stackinfo.h: New file.
2093 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2094 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2095 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2096 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2097 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2098 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2099 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2100 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2101 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2102 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2103 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2104 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2105 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2106 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2107 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2109 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2114 * math/libm-test.inc (round_test_data): Add more tests.
2117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2119 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2122 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2124 * math/libm-test.inc (ceil_test_data): Add more tests.
2126 * math/libm-test.inc (trunc_test_data): Add more tests related to
2129 2014-03-14 Roland McGrath <roland@hack.frob.com>
2131 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2132 with #if rather than #ifdef.
2133 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2135 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2137 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2138 first. Disable AVX-512 GCC support if assembler doesn't support
2140 * sysdeps/x86_64/configure: Regenerated.
2142 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2144 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2145 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2146 (__old_pthread_attr_setstack): Likewise.
2147 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2148 [!_STACK_GROWS_DOWN]: Likewise.
2150 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2152 * config.make.in (have-bash2): Delete.
2153 * configure.ac (libc_cv_have_bash2): Delete.
2154 * configure: Regenerate.
2155 * elf/Makefile (common-ldd-rewrite): Rename to ...
2156 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2157 (sh-ldd-rewrite): Delete.
2158 (bash-ldd-rewrite): Delete.
2159 (have-bash2): Delete checks.
2160 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2163 * config.make.in (have-ksh): Delete.
2165 * configure.ac (libc_cv_have_ksh): Delete.
2166 * configure: Regenerate.
2168 * elf/Makefile: Delete $(have-ksh) check.
2169 ($(objpfx)sotruss): Change KSH to BASH.
2170 * elf/sotruss.ksh: Rename to ...
2171 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2172 function style to match POSIX. Drop ksh vim mode setting.
2174 * manual/time.texi (Specifying the Time Zone with TZ): Change
2175 Tuesday to Thursday.
2177 * debug/tst-longjmp_chk2.c: Update header comment.
2178 (stackoverflow_handler): Add comment. Call assert on pass value.
2180 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2182 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2183 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2184 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2185 (La_x86_64_vector): Add zmm.
2186 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2187 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2188 ($(objpfx)tst-audit10): New target.
2189 ($(objpfx)tst-audit10.out): Likewise.
2190 (tst-audit10-ENV): New.
2191 (AVX512-CFLAGS): Likewise.
2192 (CFLAGS-tst-audit10.c): Likewise.
2193 (CFLAGS-tst-auditmod10a.c): Likewise.
2194 (CFLAGS-tst-auditmod10b.c): Likewise.
2195 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2196 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2197 * sysdeps/x86_64/configure: Regenerated.
2198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2199 AVX-512 zmm register support.
2200 (_dl_x86_64_save_sse): Likewise.
2201 (_dl_x86_64_restore_sse): Likewise.
2202 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2203 size vector registers.
2204 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2205 (ZMM_SIZE): Likewise.
2206 * sysdeps/x86_64/tst-audit10.c: New file.
2207 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2208 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2210 2014-03-13 Roland McGrath <roland@hack.frob.com>
2212 * configure.ac (HAVE_EHDR_START): New check.
2213 * configure: Regenerated.
2214 * config.h.in (HAVE_EHDR_START): New #undef.
2215 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2216 assuming the lowest-addressed segment maps the start of the file.
2218 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2220 * INSTALL: Regenerated.
2222 2014-03-13 Will Newton <will.newton@linaro.org>
2224 * manual/setjmp.texi (System V contexts): Improve
2225 clarity and grammar of documentation.
2227 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2230 * elf/Makefile (tests): Add tst-pie2.
2231 (tests-pie): Add tst-pie2.
2232 * elf/tst-pie2.c: New file.
2233 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2235 * elf/rtld.c (map_doit): Load executable as lt_executable.
2236 (dl_main): Likewise.
2238 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2242 (__ASSUME_PSELECT): Undefine.
2244 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2248 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2251 selector for static builds.
2253 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2256 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2259 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2262 IFUNC selector for static builds.
2264 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2266 * sysdeps/mips/math_private.h [__mips_hard_float]
2267 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2268 libc_feresetround_mips_ctx.
2269 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2270 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2271 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2274 * math/s_nextafter.c (__nextafter): Do not return value from
2275 overflowing computation.
2276 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2277 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2278 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2282 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2283 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2285 2014-03-11 Roland McGrath <roland@hack.frob.com>
2287 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2288 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2289 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2290 the new mov targetting sp.
2292 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2296 Define it for static builds as well.
2297 (NO_BZERO_IMPL): Likewise.
2299 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2301 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2302 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2303 multiarch strspn for PPC64.
2304 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2305 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2307 (__libc_ifunc_impl_list): Likewise.
2308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2309 multiarch optimizations
2310 * string/strspn.c (strspn): Using macro to redefine symbol name.
2312 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2313 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2316 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2317 multiarch strncat for PPC64.
2318 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2319 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2321 (__libc_ifunc_impl_list): Likewise.
2322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2323 multiarch optimizations
2325 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2328 * nscd/nscd.service: Make service type forking.
2330 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2333 sign in non default rounding modes.
2334 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2336 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2338 * math/libm-test.inc (ALL_RM_TEST): New macro.
2339 (ceil_test): Use ALL_RM_TEST.
2340 (cimag_test): Likewise.
2341 (conj_test): Likewise.
2342 (copysign_test): Likewise.
2343 (cproj_test): Likewise.
2344 (creal_test): Likewise.
2345 (fabs_test): Likewise.
2346 (floor_test): Likewise.
2347 (fmax_test): Likewise.
2348 (fmin_test): Likewise.
2349 (fmod_test): Likewise.
2350 (fpclassify_test): Likewise.
2351 (frexp_test): Likewise.
2352 (ilogb_test): Likewise.
2353 (isfinite_test): Likewise.
2354 (finite_test): Likewise.
2355 (isgreater_test): Likewise.
2356 (isgreaterequal_test): Likewise.
2357 (isinf_test): Likewise.
2358 (isless_test): Likewise.
2359 (islessequal_test): Likewise.
2360 (islessgreater_test): Likewise.
2361 (isnan_test): Likewise.
2362 (isnormal_test): Likewise.
2363 (issignaling_test): Likewise.
2364 (isunordered_test): Likewise.
2365 (logb_test): Likewise.
2366 (logb_downward_test_data): Remove.
2367 (logb_test_downward): Likewise.
2368 (lround_test): Use ALL_RM_TEST.
2369 (llround_test): Likewise.
2370 (modf_test): Likewise.
2371 (nexttoward_test): Likewise.
2372 (remainder_test): Likewise.
2373 (drem_test): Likewise.
2374 (remainder_tonearest_test_data): Likewise.
2375 (remainder_test_tonearest): Likewise.
2376 (drem_test_tonearest): Likewise.
2377 (remainder_towardzero_test_data): Likewise.
2378 (remainder_test_towardzero): Likewise.
2379 (drem_test_towardzero): Likewise.
2380 (remainder_downward_test_data): Likewise.
2381 (remainder_test_downward): Likewise.
2382 (drem_test_downward): Likewise.
2383 (remainder_upward_test_data): Likewise.
2384 (remainder_test_upward): Likewise.
2385 (drem_test_upward): Likewise.
2386 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2387 (round_test): Use ALL_RM_TEST.
2388 (signbit_test): Likewise.
2389 (trunc_test): Likewise.
2390 (significand_test): Likewise.
2391 (main): Don't call removed functions.
2393 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2396 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2398 (ILL_ILLOPN): Likewise.
2399 (ILL_ILLADR): Likewise.
2400 (ILL_ILLTRP): Likewise.
2401 (ILL_PRVOPC): Likewise.
2402 (ILL_PRVREG): Likewise.
2403 (ILL_COPROC): Likewise.
2404 (ILL_BADSTK): Likewise.
2405 (FPE_INTDIV): Likewise.
2406 (FPE_INTOVF): Likewise.
2407 (FPE_FLTDIV): Likewise.
2408 (FPE_FLTOVF): Likewise.
2409 (FPE_FLTUND): Likewise.
2410 (FPE_FLTRES): Likewise.
2411 (FPE_FLTINV): Likewise.
2412 (FPE_FLTSUB): Likewise.
2413 (SEGV_MAPERR): Likewise.
2414 (SEGV_ACCERR): Likewise.
2415 (BUS_ADRALN): Likewise.
2416 (BUS_ADRERR): Likewise.
2417 (BUS_OBJERR): Likewise.
2418 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2419 (TRAP_TRACE): Likewise.
2420 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2422 (CLD_KILLED): Likewise.
2423 (CLD_DUMPED): Likewise.
2424 (CLD_TRAPPED): Likewise.
2425 (CLD_STOPPED): Likewise.
2426 (CLD_CONTINUED): Likewise.
2427 (POLL_IN): Likewise.
2428 (POLL_OUT): Likewise.
2429 (POLL_MSG): Likewise.
2430 (POLL_ERR): Likewise.
2431 (POLL_PRI): Likewise.
2432 (POLL_HUP): Likewise.
2433 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2435 (ILL_ILLOPN): Likewise.
2436 (ILL_ILLADR): Likewise.
2437 (ILL_ILLTRP): Likewise.
2438 (ILL_PRVOPC): Likewise.
2439 (ILL_PRVREG): Likewise.
2440 (ILL_COPROC): Likewise.
2441 (ILL_BADSTK): Likewise.
2442 (FPE_INTDIV): Likewise.
2443 (FPE_INTOVF): Likewise.
2444 (FPE_FLTDIV): Likewise.
2445 (FPE_FLTOVF): Likewise.
2446 (FPE_FLTUND): Likewise.
2447 (FPE_FLTRES): Likewise.
2448 (FPE_FLTINV): Likewise.
2449 (FPE_FLTSUB): Likewise.
2450 (SEGV_MAPERR): Likewise.
2451 (SEGV_ACCERR): Likewise.
2452 (BUS_ADRALN): Likewise.
2453 (BUS_ADRERR): Likewise.
2454 (BUS_OBJERR): Likewise.
2455 (BUS_MCEERR_AR): Likewise.
2456 (BUS_MCEERR_AO): Likewise.
2457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2458 (TRAP_TRACE): Likewise.
2459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2461 (CLD_KILLED): Likewise.
2462 (CLD_DUMPED): Likewise.
2463 (CLD_TRAPPED): Likewise.
2464 (CLD_STOPPED): Likewise.
2465 (CLD_CONTINUED): Likewise.
2466 (POLL_IN): Likewise.
2467 (POLL_OUT): Likewise.
2468 (POLL_MSG): Likewise.
2469 (POLL_ERR): Likewise.
2470 (POLL_PRI): Likewise.
2471 (POLL_HUP): Likewise.
2472 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2473 (ILL_ILLOPN): Likewise.
2474 (ILL_ILLADR): Likewise.
2475 (ILL_ILLTRP): Likewise.
2476 (ILL_PRVOPC): Likewise.
2477 (ILL_PRVREG): Likewise.
2478 (ILL_COPROC): Likewise.
2479 (ILL_BADSTK): Likewise.
2480 (FPE_INTDIV): Likewise.
2481 (FPE_INTOVF): Likewise.
2482 (FPE_FLTDIV): Likewise.
2483 (FPE_FLTOVF): Likewise.
2484 (FPE_FLTUND): Likewise.
2485 (FPE_FLTRES): Likewise.
2486 (FPE_FLTINV): Likewise.
2487 (FPE_FLTSUB): Likewise.
2488 (SEGV_MAPERR): Likewise.
2489 (SEGV_ACCERR): Likewise.
2490 (BUS_ADRALN): Likewise.
2491 (BUS_ADRERR): Likewise.
2492 (BUS_OBJERR): Likewise.
2493 (BUS_MCEERR_AR): Likewise.
2494 (BUS_MCEERR_AO): Likewise.
2495 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2496 (TRAP_TRACE): Likewise.
2497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2499 (CLD_KILLED): Likewise.
2500 (CLD_DUMPED): Likewise.
2501 (CLD_TRAPPED): Likewise.
2502 (CLD_STOPPED): Likewise.
2503 (CLD_CONTINUED): Likewise.
2504 (POLL_IN): Likewise.
2505 (POLL_OUT): Likewise.
2506 (POLL_MSG): Likewise.
2507 (POLL_ERR): Likewise.
2508 (POLL_PRI): Likewise.
2509 (POLL_HUP): Likewise.
2510 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2512 (ILL_ILLOPN): Likewise.
2513 (ILL_ILLADR): Likewise.
2514 (ILL_ILLTRP): Likewise.
2515 (ILL_PRVOPC): Likewise.
2516 (ILL_PRVREG): Likewise.
2517 (ILL_COPROC): Likewise.
2518 (ILL_BADSTK): Likewise.
2519 (ILL_BADIADDR): Likewise.
2520 (ILL_BREAK): Likewise.
2521 (FPE_INTDIV): Likewise.
2522 (FPE_INTOVF): Likewise.
2523 (FPE_FLTDIV): Likewise.
2524 (FPE_FLTOVF): Likewise.
2525 (FPE_FLTUND): Likewise.
2526 (FPE_FLTRES): Likewise.
2527 (FPE_FLTINV): Likewise.
2528 (FPE_FLTSUB): Likewise.
2529 (FPE_DECOVF): Likewise.
2530 (FPE_DECDIV): Likewise.
2531 (FPE_DECERR): Likewise.
2532 (FPE_INVASC): Likewise.
2533 (FPE_INVDEC): Likewise.
2534 (SEGV_MAPERR): Likewise.
2535 (SEGV_ACCERR): Likewise.
2536 (SEGV_PSTKOVF): Likewise.
2537 (BUS_ADRALN): Likewise.
2538 (BUS_ADRERR): Likewise.
2539 (BUS_OBJERR): Likewise.
2540 (BUS_MCEERR_AR): Likewise.
2541 (BUS_MCEERR_AO): Likewise.
2542 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2543 (TRAP_TRACE): Likewise.
2544 (TRAP_BRANCH): Likewise.
2545 (TRAP_HWBKPT): Likewise.
2546 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2548 (CLD_KILLED): Likewise.
2549 (CLD_DUMPED): Likewise.
2550 (CLD_TRAPPED): Likewise.
2551 (CLD_STOPPED): Likewise.
2552 (CLD_CONTINUED): Likewise.
2553 (POLL_IN): Likewise.
2554 (POLL_OUT): Likewise.
2555 (POLL_MSG): Likewise.
2556 (POLL_ERR): Likewise.
2557 (POLL_PRI): Likewise.
2558 (POLL_HUP): Likewise.
2559 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2560 (ILL_ILLOPN): Likewise.
2561 (ILL_ILLADR): Likewise.
2562 (ILL_ILLTRP): Likewise.
2563 (ILL_PRVOPC): Likewise.
2564 (ILL_PRVREG): Likewise.
2565 (ILL_COPROC): Likewise.
2566 (ILL_BADSTK): Likewise.
2567 (FPE_INTDIV): Likewise.
2568 (FPE_INTOVF): Likewise.
2569 (FPE_FLTDIV): Likewise.
2570 (FPE_FLTOVF): Likewise.
2571 (FPE_FLTUND): Likewise.
2572 (FPE_FLTRES): Likewise.
2573 (FPE_FLTINV): Likewise.
2574 (FPE_FLTSUB): Likewise.
2575 (SEGV_MAPERR): Likewise.
2576 (SEGV_ACCERR): Likewise.
2577 (BUS_ADRALN): Likewise.
2578 (BUS_ADRERR): Likewise.
2579 (BUS_OBJERR): Likewise.
2580 (BUS_MCEERR_AR): Likewise.
2581 (BUS_MCEERR_AO): Likewise.
2582 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2583 (TRAP_TRACE): Likewise.
2584 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2586 (CLD_KILLED): Likewise.
2587 (CLD_DUMPED): Likewise.
2588 (CLD_TRAPPED): Likewise.
2589 (CLD_STOPPED): Likewise.
2590 (CLD_CONTINUED): Likewise.
2591 (POLL_IN): Likewise.
2592 (POLL_OUT): Likewise.
2593 (POLL_MSG): Likewise.
2594 (POLL_ERR): Likewise.
2595 (POLL_PRI): Likewise.
2596 (POLL_HUP): Likewise.
2597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2598 (ILL_ILLOPN): Likewise.
2599 (ILL_ILLADR): Likewise.
2600 (ILL_ILLTRP): Likewise.
2601 (ILL_PRVOPC): Likewise.
2602 (ILL_PRVREG): Likewise.
2603 (ILL_COPROC): Likewise.
2604 (ILL_BADSTK): Likewise.
2605 (FPE_INTDIV): Likewise.
2606 (FPE_INTOVF): Likewise.
2607 (FPE_FLTDIV): Likewise.
2608 (FPE_FLTOVF): Likewise.
2609 (FPE_FLTUND): Likewise.
2610 (FPE_FLTRES): Likewise.
2611 (FPE_FLTINV): Likewise.
2612 (FPE_FLTSUB): Likewise.
2613 (SEGV_MAPERR): Likewise.
2614 (SEGV_ACCERR): Likewise.
2615 (BUS_ADRALN): Likewise.
2616 (BUS_ADRERR): Likewise.
2617 (BUS_OBJERR): Likewise.
2618 (BUS_MCEERR_AR): Likewise.
2619 (BUS_MCEERR_AO): Likewise.
2620 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2621 (TRAP_TRACE): Likewise.
2622 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2624 (CLD_KILLED): Likewise.
2625 (CLD_DUMPED): Likewise.
2626 (CLD_TRAPPED): Likewise.
2627 (CLD_STOPPED): Likewise.
2628 (CLD_CONTINUED): Likewise.
2629 (POLL_IN): Likewise.
2630 (POLL_OUT): Likewise.
2631 (POLL_MSG): Likewise.
2632 (POLL_ERR): Likewise.
2633 (POLL_PRI): Likewise.
2634 (POLL_HUP): Likewise.
2635 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2636 (ILL_ILLOPN): Likewise.
2637 (ILL_ILLADR): Likewise.
2638 (ILL_ILLTRP): Likewise.
2639 (ILL_PRVOPC): Likewise.
2640 (ILL_PRVREG): Likewise.
2641 (ILL_COPROC): Likewise.
2642 (ILL_BADSTK): Likewise.
2643 (FPE_INTDIV): Likewise.
2644 (FPE_INTOVF): Likewise.
2645 (FPE_FLTDIV): Likewise.
2646 (FPE_FLTOVF): Likewise.
2647 (FPE_FLTUND): Likewise.
2648 (FPE_FLTRES): Likewise.
2649 (FPE_FLTINV): Likewise.
2650 (FPE_FLTSUB): Likewise.
2651 (SEGV_MAPERR): Likewise.
2652 (SEGV_ACCERR): Likewise.
2653 (BUS_ADRALN): Likewise.
2654 (BUS_ADRERR): Likewise.
2655 (BUS_OBJERR): Likewise.
2656 (BUS_MCEERR_AR): Likewise.
2657 (BUS_MCEERR_AO): Likewise.
2658 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2659 (TRAP_TRACE): Likewise.
2660 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2662 (CLD_KILLED): Likewise.
2663 (CLD_DUMPED): Likewise.
2664 (CLD_TRAPPED): Likewise.
2665 (CLD_STOPPED): Likewise.
2666 (CLD_CONTINUED): Likewise.
2667 (POLL_IN): Likewise.
2668 (POLL_OUT): Likewise.
2669 (POLL_MSG): Likewise.
2670 (POLL_ERR): Likewise.
2671 (POLL_PRI): Likewise.
2672 (POLL_HUP): Likewise.
2673 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2674 (ILL_ILLOPN): Likewise.
2675 (ILL_ILLADR): Likewise.
2676 (ILL_ILLTRP): Likewise.
2677 (ILL_PRVOPC): Likewise.
2678 (ILL_PRVREG): Likewise.
2679 (ILL_COPROC): Likewise.
2680 (ILL_BADSTK): Likewise.
2681 (ILL_DBLFLT): Likewise.
2682 (ILL_HARDWALL): Likewise.
2683 (FPE_INTDIV): Likewise.
2684 (FPE_INTOVF): Likewise.
2685 (FPE_FLTDIV): Likewise.
2686 (FPE_FLTOVF): Likewise.
2687 (FPE_FLTUND): Likewise.
2688 (FPE_FLTRES): Likewise.
2689 (FPE_FLTINV): Likewise.
2690 (FPE_FLTSUB): Likewise.
2691 (SEGV_MAPERR): Likewise.
2692 (SEGV_ACCERR): Likewise.
2693 (BUS_ADRALN): Likewise.
2694 (BUS_ADRERR): Likewise.
2695 (BUS_OBJERR): Likewise.
2696 (BUS_MCEERR_AR): Likewise.
2697 (BUS_MCEERR_AO): Likewise.
2698 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2699 (TRAP_TRACE): Likewise.
2700 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2702 (CLD_KILLED): Likewise.
2703 (CLD_DUMPED): Likewise.
2704 (CLD_TRAPPED): Likewise.
2705 (CLD_STOPPED): Likewise.
2706 (CLD_CONTINUED): Likewise.
2707 (POLL_IN): Likewise.
2708 (POLL_OUT): Likewise.
2709 (POLL_MSG): Likewise.
2710 (POLL_ERR): Likewise.
2711 (POLL_PRI): Likewise.
2712 (POLL_HUP): Likewise.
2713 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2714 (ILL_ILLOPN): Likewise.
2715 (ILL_ILLADR): Likewise.
2716 (ILL_ILLTRP): Likewise.
2717 (ILL_PRVOPC): Likewise.
2718 (ILL_PRVREG): Likewise.
2719 (ILL_COPROC): Likewise.
2720 (ILL_BADSTK): Likewise.
2721 (FPE_INTDIV): Likewise.
2722 (FPE_INTOVF): Likewise.
2723 (FPE_FLTDIV): Likewise.
2724 (FPE_FLTOVF): Likewise.
2725 (FPE_FLTUND): Likewise.
2726 (FPE_FLTRES): Likewise.
2727 (FPE_FLTINV): Likewise.
2728 (FPE_FLTSUB): Likewise.
2729 (SEGV_MAPERR): Likewise.
2730 (SEGV_ACCERR): Likewise.
2731 (BUS_ADRALN): Likewise.
2732 (BUS_ADRERR): Likewise.
2733 (BUS_OBJERR): Likewise.
2734 (BUS_MCEERR_AR): Likewise.
2735 (BUS_MCEERR_AO): Likewise.
2736 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2737 (TRAP_TRACE): Likewise.
2738 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2740 (CLD_KILLED): Likewise.
2741 (CLD_DUMPED): Likewise.
2742 (CLD_TRAPPED): Likewise.
2743 (CLD_STOPPED): Likewise.
2744 (CLD_CONTINUED): Likewise.
2745 (POLL_IN): Likewise.
2746 (POLL_OUT): Likewise.
2747 (POLL_MSG): Likewise.
2748 (POLL_ERR): Likewise.
2749 (POLL_PRI): Likewise.
2750 (POLL_HUP): Likewise.
2751 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2752 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2755 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2756 before #include of <time.h>.
2757 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2758 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2759 (test-xfail-UNIX98/sched.h/conform): Likewise.
2761 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2763 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2764 error absence of trapping exception support.
2765 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2767 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2769 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2770 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2771 * timezone/Makefile (testdata): Move definition above include of
2773 (test-zones): New variable.
2774 (tests-special): Add zone files.
2775 (build-testdata): Use $(evaluate-test).
2777 * elf/Makefile (tests-special): Rename tests to end with .out.
2778 ($(objpfx)noload-mem): Likewise.
2779 ($(objpfx)tst-leaks1-mem): Likewise.
2780 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2781 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2782 $(objpfx)test-iconvconfig.out.
2783 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2784 set -e inside subshell and redirect output to file.
2785 * iconvdata/Makefile (generated): Rename tests to end with .out.
2787 (tests-special): Rename tests to end with .out.
2788 ($(objpfx)mtrace-tst-loading): Likewise.
2789 * intl/Makefile (generated): Likewise.
2790 (tests-special): Likewise.
2791 ($(objpfx)mtrace-tst-gettext): Likewise.
2792 * misc/Makefile (generated): Likewise.
2793 (tests-special): Likewise.
2794 ($(objpfx)tst-error1-mem): Likewise.
2795 * nptl/Makefile (tests-special): Likewise.
2796 ($(objpfx)tst-stack3-mem): Likewise.
2797 (generated): Likewise.
2798 * posix/Makefile (generated): Likewise.
2799 (tests-special): Likewise.
2800 (xtests-special): Likewise.
2801 ($(objpfx)tst-fnmatch-mem): Likewise.
2802 ($(objpfx)bug-regex2-mem): Likewise.
2803 ($(objpfx)bug-regex14-mem): Likewise.
2804 ($(objpfx)bug-regex21-mem): Likewise.
2805 ($(objpfx)bug-regex31-mem): Likewise.
2806 ($(objpfx)tst-vfork3-mem): Likewise.
2807 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2808 ($(objpfx)tst-pcre-mem): Likewise.
2809 ($(objpfx)tst-boost-mem): Likewise.
2810 ($(objpfx)bug-ga2-mem): Likewise.
2811 ($(objpfx)bug-glob2-mem): Likewise.
2812 * resolv/Makefile (generate): Likewise.
2813 (tests-special): Likewise.
2814 (xtests-special): Likewise.
2815 (generated): Likewise.
2816 ($(objpfx)mtrace-tst-leaks): Likewise.
2817 ($(objpfx)mtrace-tst-leaks2): Likewise.
2819 * scripts/merge-test-results.sh: New file.
2820 * Makefile (tests-special-notdir): New variable.
2821 (tests): Run merge-test-results.sh.
2823 * Rules (tests-special-notdir): New variable.
2824 (xtests-special-notdir): Likewise.
2825 (tests): Run merge-test-results.sh
2828 * Makeconfig (test-xfail-name): New variable.
2829 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2830 compute variable name for expected failures.
2831 * conform/Makefile (conformtest-headers-data): New variable.
2832 (conformtest-standards): Likewise.
2833 (conformtest-headers-ISO): Likewise.
2834 (conformtest-headers-ISO99): Likewise.
2835 (conformtest-headers-ISO11): Likewise.
2836 (conformtest-headers-POSIX): Likewise.
2837 (conformtest-headers-XPG3): Likewise.
2838 (conformtest-headers-XPG4): Likewise.
2839 (conformtest-headers-UNIX98): Likewise.
2840 (conformtest-headers-XOPEN2K): Likewise.
2841 (conformtest-headers-POSIX2008): Likewise.
2842 (conformtest-headers-XOPEN2K8): Likewise.
2843 (conformtest-header-list-base): Likewise.
2844 (conformtest-header-list-tests): Likewise.
2845 (conformtest-header-base): Likewise.
2846 (conformtest-header-tests): Likewise.
2847 (tests-special): Add $(conformtest-header-list-tests). If
2848 [$(fast-check) && !$(cross-compiling)], add
2849 $(conformtest-header-tests) instead of
2850 $(objpfx)run-conformtest.out.
2851 (generated): Add $(conformtest-header-list-base). If
2852 [$(fast-check) && !$(cross-compiling)], add
2853 $(conformtest-header-base). Remove previous setting.
2854 ($(conformtest-header-list-tests)): New target.
2855 (test-xfail-run-conformtest): Remove variable.
2856 ($(objpfx)run-conformtest.out): Remove target.
2857 (test-xfail-ISO11/complex.h/conform): New variable.
2858 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2859 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2860 (test-xfail-XPG3/varargs.h/conform): Likewise.
2861 (test-xfail-XPG4/varargs.h/conform): Likewise.
2862 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2863 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2864 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2865 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2866 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2867 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2868 (test-xfail-XPG3/ftw.h/conform): Likewise.
2869 (test-xfail-XPG3/grp.h/conform): Likewise.
2870 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2871 (test-xfail-XPG3/limits.h/conform): Likewise.
2872 (test-xfail-XPG3/pwd.h/conform): Likewise.
2873 (test-xfail-XPG3/search.h/conform): Likewise.
2874 (test-xfail-XPG3/signal.h/conform): Likewise.
2875 (test-xfail-XPG3/stdio.h/conform): Likewise.
2876 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2877 (test-xfail-XPG3/string.h/conform): Likewise.
2878 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2879 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2880 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2881 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2882 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2883 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2884 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2885 (test-xfail-XPG3/termios.h/conform): Likewise.
2886 (test-xfail-XPG3/time.h/conform): Likewise.
2887 (test-xfail-XPG3/unistd.h/conform): Likewise.
2888 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2889 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2890 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2891 (test-xfail-XPG4/netdb.h/conform): Likewise.
2892 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2893 (test-xfail-XPG4/signal.h/conform): Likewise.
2894 (test-xfail-XPG4/stdio.h/conform): Likewise.
2895 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2896 (test-xfail-XPG4/stropts.h/conform): Likewise.
2897 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2898 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2899 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2900 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2901 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2902 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2903 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2904 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2905 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2906 (test-xfail-XPG4/termios.h/conform): Likewise.
2907 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2908 (test-xfail-XPG4/unistd.h/conform): Likewise.
2909 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2910 (test-xfail-POSIX/sched.h/conform): Likewise.
2911 (test-xfail-POSIX/signal.h/conform): Likewise.
2912 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2913 (test-xfail-POSIX/tar.h/conform): Likewise.
2914 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2915 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2916 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2917 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2918 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2919 (test-xfail-UNIX98/sched.h/conform): Likewise.
2920 (test-xfail-UNIX98/signal.h/conform): Likewise.
2921 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2922 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2923 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2924 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2925 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2926 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2927 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2928 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2929 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2930 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2931 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2932 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2933 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2934 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2935 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2936 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2937 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2938 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2939 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2940 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2941 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2942 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2943 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2944 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2945 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2946 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2947 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2948 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2949 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2950 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2951 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2952 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2953 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2954 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2955 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2956 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2957 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2958 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2959 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2960 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2961 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2962 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2963 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2964 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2965 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2966 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2967 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2968 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2969 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2970 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2971 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2972 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2973 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2974 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2975 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2976 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2977 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2978 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2979 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2980 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2981 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2982 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2983 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2984 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2985 (conformtest-cc-flags): Likewise.
2986 ($(conformtest-header-tests): New target.
2987 * conform/check-header-lists.sh: New file.
2988 * conform/run-conformtest.sh: Remove.
2990 * conform/conformtest.pl: Allow ' and \ in values given for
2992 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2994 [POSIX] (sys/types.h): Likewise.
2995 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2997 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2999 * conform/data/signal.h-data (SIGIO): Remove expectation.
3000 [XPG3] (SIGBUS): Do not expect.
3001 [POSIX || XPG3] (SIGPOLL): Likewise.
3002 [POSIX || XPG3] (SIGPROF): Likewise.
3003 [POSIX || XPG3] (SIGSYS): Likewise.
3004 [XPG3] (SIGTRAP): Likewise.
3005 [POSIX || XPG3] (SIGURG): Likewise.
3006 [POSIX || XPG3] (SIGVTALRM): Likewise.
3007 [POSIX || XPG3] (SIGXCPU): Likewise.
3008 [POSIX || XPG3] (SIGXFSZ): Likewise.
3009 [POSIX] (SA_SIGINFO): Expect.
3010 [XPG3] (siginfo_t): Do not expect type or contents.
3011 [POSIX] (si_pid): Do not expect element.
3012 [POSIX] (si_uid): Likewise.
3013 [POSIX] (si_addr): Likewise.
3014 [POSIX] (si_status): Likewise.
3015 [POSIX] (si_band): Likewise.
3016 [XPG4] (si_value): Likewise.
3017 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3018 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3019 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3020 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3021 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3022 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3023 [POSIX || XPG3] (ILL_COPROC): Likewise.
3024 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3025 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3026 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3027 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3028 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3029 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3030 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3031 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3032 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3033 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3034 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3035 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3036 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3037 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3038 [POSIX || XPG3] (CLD_EXITED): Likewise.
3039 [POSIX || XPG3] (CLD_KILLED): Likewise.
3040 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3041 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3042 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3043 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3044 [POSIX || XPG3] (POLL_IN): Likewise.
3045 [POSIX || XPG3] (POLL_OUT): Likewise.
3046 [POSIX || XPG3] (POLL_MSG): Likewise.
3047 [POSIX || XPG3] (POLL_ERR): Likewise.
3048 [POSIX || XPG3] (POLL_PRI): Likewise.
3049 [POSIX || XPG3] (POLL_HUP): Likewise.
3050 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3051 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3052 (SIG*): Do not allow.
3053 [XPG3] (si_*): Likewise.
3054 [XPG3] (SI_*): Likewise.
3055 [XPG3 || XPG4] (sigev_*): Likewise.
3056 [XPG3 || XPG4] (SIGEV_*): Likewise.
3057 [XPG3 || XPG4] (sival_*): Likewise.
3058 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3059 [POSIX || XPG3] (BUS_*): Likewise.
3060 [POSIX || XPG3] (CLD_*): Likewise.
3061 [POSIX || XPG3] (FPE_*): Likewise.
3062 [POSIX || XPG3] (ILL_*): Likewise.
3063 [POSIX || XPG3] (POLL_*): Likewise.
3064 [POSIX || XPG3] (SEGV_*): Likewise.
3065 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3066 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3067 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3068 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3069 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3070 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3071 Specify type and value.
3072 (TVERSLEN): Likewise.
3073 (REGTYPE): Likewise.
3074 (AREGTYPE): Likewise.
3075 (LNKTYPE): Likewise.
3076 (SYMTYPE): Likewise.
3077 (CHRTYPE): Likewise.
3078 (BLKTYPE): Likewise.
3079 (DIRTYPE): Likewise.
3080 (FIFOTYPE): Likewise.
3081 (CONTTYPE): Likewise.
3086 (TUWRITE): Likewise.
3089 (TGWRITE): Likewise.
3092 (TOWRITE): Likewise.
3094 [POSIX] (TSVTX): Expect constant.
3096 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3098 * Makefile (tests): Change dependencies to ....
3099 (tests-special): ... additions to this variable.
3100 (tests): Depend on $(tests-special).
3101 * Makerules (check-abi-list): New variable.
3102 (check-abi): Depend on $(check-abi-list).
3103 [$(subdir) = elf] (tests-special): Add
3104 $(objpfx)check-abi-libc.out.
3105 [$(build-shared) = yes && subdir] (tests-special): Add
3107 [$(build-shared) = yes && subdir] (tests): Do not depend on
3109 * Rules (tests): Depend on $(tests-special).
3110 (xtests): Depend on $(xtests-special).
3111 * catgets/Makefile (tests): Change dependencies to ....
3112 (tests-special): ... additions to this variable.
3113 * conform/Makefile (tests): Change dependencies to ....
3114 (tests-special): ... additions to this variable.
3115 * elf/Makefile (tests): Change dependencies to ....
3116 (tests-special): ... additions to this variable.
3117 * grp/Makefile (tests): Change dependencies to ....
3118 (tests-special): ... additions to this variable.
3119 * iconv/Makefile (xtests): Change dependencies to ....
3120 (xtests-special): ... additions to this variable.
3121 * iconvdata/Makefile (tests): Change dependencies to ....
3122 (tests-special): ... additions to this variable.
3123 * intl/Makefile (tests): Change dependencies to ....
3124 (tests-special): ... additions to this variable. Also add
3125 $(objpfx)tst-gettext.out.
3126 * io/Makefile (tests): Change dependencies to ....
3127 (tests-special): ... additions to this variable.
3128 * libio/Makefile (tests): Change dependencies to ....
3129 (tests-special): ... additions to this variable.
3130 * malloc/Makefile (tests): Change dependencies to ....
3131 (tests-special): ... additions to this variable.
3132 * misc/Makefile (tests): Change dependencies to ....
3133 (tests-special): ... additions to this variable.
3134 * nptl/Makefile (tests): Change dependencies to ....
3135 (tests-special): ... additions to this variable.
3136 * nptl_db/Makefile (tests): Change dependencies to ....
3137 (tests-special): ... additions to this variable.
3138 * posix/Makefile (tests): Change dependencies to ....
3139 (tests-special): ... additions to this variable.
3140 (xtests): Change dependencies to ....
3141 (xtests-special): ... additions to this variable.
3142 * resolv/Makefile (tests): Change dependencies to ....
3143 (tests-special): ... additions to this variable.
3144 (xtests): Change dependencies to ....
3145 (xtests-special): ... additions to this variable.
3146 * stdio-common/Makefile (tests): Change dependencies to ....
3147 (tests-special): ... additions to this variable.
3148 (do-tst-unbputc): Remove target.
3149 (do-tst-printf): Likewise.
3150 * stdlib/Makefile (tests): Change dependencies to ....
3151 (tests-special): ... additions to this variable.
3152 * string/Makefile (tests): Change dependencies to ....
3153 (tests-special): ... additions to this variable.
3154 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3155 (tests-special): ... additions to this variable.
3157 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3159 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3161 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3162 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3164 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3165 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3166 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3167 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3168 * conform/data/libgen.h-data [XPG3]: Likewise.
3169 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3170 * conform/data/ndbm.h-data [XPG3]: Likewise.
3171 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3172 * conform/data/netdb.h-data [XPG3]: Likewise.
3173 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3174 * conform/data/poll.h-data [XPG3]: Likewise.
3175 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3176 * conform/data/strings.h-data [XPG3]: Likewise.
3177 * conform/data/stropts.h-data [XPG3]: Likewise.
3178 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3179 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3180 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3182 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3183 * conform/data/sys/time.h-data [XPG3]: Likewise.
3184 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3185 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3186 * conform/data/sys/un.h-data [XPG3]: Likewise.
3187 * conform/data/syslog.h-data [XPG3]: Likewise.
3188 * conform/data/ucontext.h-data [XPG3]: Likewise.
3189 * conform/data/utmpx.h-data [XPG3]: Likewise.
3190 * conform/data/varargs.h-data [UNIX98]: Enable file.
3192 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3194 * math/libm-test.inc (struct test_f_f_data): Move expected results
3195 into structure for each rounding mode.
3196 (struct test_ff_f_data): Likewise.
3197 (struct test_ff_f_data_nexttoward): Likewise.
3198 (struct test_fi_f_data): Likewise.
3199 (struct test_fl_f_data): Likewise.
3200 (struct test_if_f_data): Likewise.
3201 (struct test_fff_f_data): Likewise.
3202 (struct test_c_f_data): Likewise.
3203 (struct test_f_f1_data): Likewise.
3204 (struct test_fF_f1_data): Likewise.
3205 (struct test_ffI_f1_data): Likewise.
3206 (struct test_c_c_data): Likewise.
3207 (struct test_cc_c_data): Likewise.
3208 (struct test_f_i_data): Likewise.
3209 (struct test_ff_i_data): Likewise.
3210 (struct test_f_l_data): Likewise.
3211 (struct test_f_L_data): Likewise.
3212 (struct test_fFF_11_data): Likewise.
3214 (RM_FE_DOWNWARD): Likewise.
3215 (RM_FE_TONEAREST): Likewise.
3216 (RM_FE_TOWARDZERO): Likewise.
3217 (RM_FE_UPWARD): Likewise.
3218 (RUN_TEST_LOOP_f_f): Update references to expected results.
3219 (RUN_TEST_LOOP_2_f): Likewise.
3220 (RUN_TEST_LOOP_fff_f): Likewise.
3221 (RUN_TEST_LOOP_c_f): Likewise.
3222 (RUN_TEST_LOOP_f_f1): Likewise.
3223 (RUN_TEST_LOOP_fF_f1): Likewise.
3224 (RUN_TEST_LOOP_fI_f1): Likewise.
3225 (RUN_TEST_LOOP_ffI_f1): Likewise.
3226 (RUN_TEST_LOOP_c_c): Likewise.
3227 (RUN_TEST_LOOP_cc_c): Likewise.
3228 (RUN_TEST_LOOP_f_i): Likewise.
3229 (RUN_TEST_LOOP_f_i_tg): Likewise.
3230 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3231 (RUN_TEST_LOOP_f_b): Likewise.
3232 (RUN_TEST_LOOP_f_b_tg): Likewise.
3233 (RUN_TEST_LOOP_f_l): Likewise.
3234 (RUN_TEST_LOOP_f_L): Likewise.
3235 (RUN_TEST_LOOP_fFF_11): Likewise.
3236 * math/gen-libm-test.pl (parse_args): Output four copies of
3237 expected results for each test.
3239 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3240 (__ASSUME_UTIMES): Remove.
3241 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3242 (__ASSUME_UTIMES): Likewise.
3244 * math/gen-auto-libm-tests.c: Update comment on output format.
3245 (output_for_one_input_case): Generate before-rounding and
3246 after-rounding information as conditions on output flags not
3247 floating-point format.
3248 * math/auto-libm-test-out: Regenerated.
3249 * math/gen-libm-test.pl (cond_value): New function.
3250 (or_cond_value): Use cond_value.
3251 (generate_testfile): Handle conditional exceptions.
3253 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3255 * math/libm-test.inc (max_valid_error): New variable.
3256 (init_max_error): Take new argument specifying whether function
3257 results are exactly determined. Set max_valid_error and bound
3258 other variables for errors based on this argument.
3259 (set_max_error): Do not record results above max_valid_error.
3260 (check_float_internal): Only accept errors of up to 0.5ulps if
3261 also at most max_valid_error.
3262 (START): Take new argument EXACT and pass it to init_max_error.
3263 (acos_test): Update call to START.
3264 (acos_test_tonearest): Likewise.
3265 (acos_test_towardzero): Likewise.
3266 (acos_test_downward): Likewise.
3267 (acos_test_upward): Likewise.
3268 (acosh_test): Likewise.
3269 (asin_test): Likewise.
3270 (asin_test_tonearest): Likewise.
3271 (asin_test_towardzero): Likewise.
3272 (asin_test_downward): Likewise.
3273 (asin_test_upward): Likewise.
3274 (asinh_test): Likewise.
3275 (atan_test): Likewise.
3276 (atanh_test): Likewise.
3277 (atan2_test): Likewise.
3278 (cabs_test): Likewise.
3279 (cacos_test): Likewise.
3280 (cacosh_test): Likewise.
3281 (carg_test): Likewise.
3282 (casin_test): Likewise.
3283 (casinh_test): Likewise.
3284 (catan_test): Likewise.
3285 (catanh_test): Likewise.
3286 (cbrt_test): Likewise.
3287 (ccos_test): Likewise.
3288 (ccosh_test): Likewise.
3289 (ceil_test): Likewise.
3290 (cexp_test): Likewise.
3291 (cimag_test): Likewise.
3292 (clog_test): Likewise.
3293 (clog10_test): Likewise.
3294 (conj_test): Likewise.
3295 (copysign_test): Likewise.
3296 (cos_test): Likewise.
3297 (cos_test_tonearest): Likewise.
3298 (cos_test_towardzero): Likewise.
3299 (cos_test_downward): Likewise.
3300 (cos_test_upward): Likewise.
3301 (cosh_test): Likewise.
3302 (cosh_test_tonearest): Likewise.
3303 (cosh_test_towardzero): Likewise.
3304 (cosh_test_downward): Likewise.
3305 (cosh_test_upward): Likewise.
3306 (cpow_test): Likewise.
3307 (cproj_test): Likewise.
3308 (creal_test): Likewise.
3309 (csin_test): Likewise.
3310 (csinh_test): Likewise.
3311 (csqrt_test): Likewise.
3312 (ctan_test): Likewise.
3313 (ctan_test_tonearest): Likewise.
3314 (ctan_test_towardzero): Likewise.
3315 (ctan_test_downward): Likewise.
3316 (ctan_test_upward): Likewise.
3317 (ctanh_test): Likewise.
3318 (ctanh_test_tonearest): Likewise.
3319 (ctanh_test_towardzero): Likewise.
3320 (ctanh_test_downward): Likewise.
3321 (ctanh_test_upward): Likewise.
3322 (erf_test): Likewise.
3323 (erfc_test): Likewise.
3324 (exp_test): Likewise.
3325 (exp_test_tonearest): Likewise.
3326 (exp_test_towardzero): Likewise.
3327 (exp_test_downward): Likewise.
3328 (exp_test_upward): Likewise.
3329 (exp10_test): Likewise.
3330 (exp10_test_tonearest): Likewise.
3331 (exp10_test_towardzero): Likewise.
3332 (exp10_test_downward): Likewise.
3333 (exp10_test_upward): Likewise.
3334 (pow10_test): Likewise.
3335 (exp2_test): Likewise.
3336 (expm1_test): Likewise.
3337 (expm1_test_tonearest): Likewise.
3338 (expm1_test_towardzero): Likewise.
3339 (expm1_test_downward): Likewise.
3340 (expm1_test_upward): Likewise.
3341 (fabs_test): Likewise.
3342 (fdim_test): Likewise.
3343 (floor_test): Likewise.
3344 (fma_test): Likewise.
3345 (fma_test_towardzero): Likewise.
3346 (fma_test_downward): Likewise.
3347 (fma_test_upward): Likewise.
3348 (fmax_test): Likewise.
3349 (fmin_test): Likewise.
3350 (fmod_test): Likewise.
3351 (fpclassify_test): Likewise.
3352 (frexp_test): Likewise.
3353 (hypot_test): Likewise.
3354 (ilogb_test): Likewise.
3355 (isfinite_test): Likewise.
3356 (finite_test): Likewise.
3357 (isgreater_test): Likewise.
3358 (isgreaterequal_test): Likewise.
3359 (isinf_test): Likewise.
3360 (isless_test): Likewise.
3361 (islessequal_test): Likewise.
3362 (islessgreater_test): Likewise.
3363 (isnan_test): Likewise.
3364 (isnormal_test): Likewise.
3365 (issignaling_test): Likewise.
3366 (isunordered_test): Likewise.
3367 (j0_test): Likewise.
3368 (j1_test): Likewise.
3369 (jn_test): Likewise.
3370 (ldexp_test): Likewise.
3371 (lgamma_test): Likewise.
3372 (gamma_test): Likewise.
3373 (lrint_test): Likewise.
3374 (lrint_test_tonearest): Likewise.
3375 (lrint_test_towardzero): Likewise.
3376 (lrint_test_downward): Likewise.
3377 (lrint_test_upward): Likewise.
3378 (llrint_test): Likewise.
3379 (llrint_test_tonearest): Likewise.
3380 (llrint_test_towardzero): Likewise.
3381 (llrint_test_downward): Likewise.
3382 (llrint_test_upward): Likewise.
3383 (log_test): Likewise.
3384 (log10_test): Likewise.
3385 (log1p_test): Likewise.
3386 (log2_test): Likewise.
3387 (logb_test): Likewise.
3388 (logb_test_downward): Likewise.
3389 (lround_test): Likewise.
3390 (llround_test): Likewise.
3391 (modf_test): Likewise.
3392 (nearbyint_test): Likewise.
3393 (nextafter_test): Likewise.
3394 (nexttoward_test): Likewise.
3395 (pow_test): Likewise.
3396 (pow_test_tonearest): Likewise.
3397 (pow_test_towardzero): Likewise.
3398 (pow_test_downward): Likewise.
3399 (pow_test_upward): Likewise.
3400 (remainder_test): Likewise.
3401 (drem_test): Likewise.
3402 (remainder_test_tonearest): Likewise.
3403 (drem_test_tonearest): Likewise.
3404 (remainder_test_towardzero): Likewise.
3405 (drem_test_towardzero): Likewise.
3406 (remainder_test_downward): Likewise.
3407 (drem_test_downward): Likewise.
3408 (remainder_test_upward): Likewise.
3409 (drem_test_upward): Likewise.
3410 (remquo_test): Likewise.
3411 (rint_test): Likewise.
3412 (rint_test_tonearest): Likewise.
3413 (rint_test_towardzero): Likewise.
3414 (rint_test_downward): Likewise.
3415 (rint_test_upward): Likewise.
3416 (round_test): Likewise.
3417 (scalb_test): Likewise.
3418 (scalbn_test): Likewise.
3419 (scalbln_test): Likewise.
3420 (signbit_test): Likewise.
3421 (sin_test): Likewise.
3422 (sin_test_tonearest): Likewise.
3423 (sin_test_towardzero): Likewise.
3424 (sin_test_downward): Likewise.
3425 (sin_test_upward): Likewise.
3426 (sincos_test): Likewise.
3427 (sinh_test): Likewise.
3428 (sinh_test_tonearest): Likewise.
3429 (sinh_test_towardzero): Likewise.
3430 (sinh_test_downward): Likewise.
3431 (sinh_test_upward): Likewise.
3432 (sqrt_test): Likewise.
3433 (sqrt_test_tonearest): Likewise.
3434 (sqrt_test_towardzero): Likewise.
3435 (sqrt_test_downward): Likewise.
3436 (sqrt_test_upward): Likewise.
3437 (tan_test): Likewise.
3438 (tan_test_tonearest): Likewise.
3439 (tan_test_towardzero): Likewise.
3440 (tan_test_downward): Likewise.
3441 (tan_test_upward): Likewise.
3442 (tanh_test): Likewise.
3443 (tgamma_test): Likewise.
3444 (trunc_test): Likewise.
3445 (y0_test): Likewise.
3446 (y1_test): Likewise.
3447 (yn_test): Likewise.
3448 (significand_test): Likewise.
3450 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3451 individual tests in comment.
3452 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3453 (prev_max_error): New variable.
3454 (prev_real_max_error): Likewise.
3455 (prev_imag_max_error): Likewise.
3456 (compare_ulp_data): Don't refer to test names in comment.
3457 (find_test_ulps): Remove function.
3458 (find_function_ulps): Likewise.
3459 (find_complex_function_ulps): Likewise.
3460 (init_max_error): Take function name as argument. Look up ulps
3462 (print_ulps): Remove function.
3463 (print_max_error): Use prev_max_error instead of calling
3465 (print_complex_max_error): Use prev_real_max_error and
3466 prev_imag_max_error instead of calling find_complex_function_ulps.
3467 (check_float_internal): Take max_ulp parameter instead of calling
3468 find_test_ulps. Don't call print_ulps.
3469 (check_float): Update call to check_float_internal.
3470 (check_complex): Update calls to check_float_internal.
3471 (START): Pass argument to init_max_error.
3472 * math/gen-libm-test.pl (%results): Don't include "kind"
3474 (parse_ulps): Don't handle ulps of individual tests.
3475 (print_ulps_file): Likewise.
3476 (output_ulps): Likewise.
3477 * math/README.libm-test: Update.
3478 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3480 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3481 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3482 * sysdeps/arm/libm-test-ulps: Likewise.
3483 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3484 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3485 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3486 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3487 * sysdeps/microblaze/libm-test-ulps: Likewise.
3488 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3489 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3490 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3491 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3492 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3493 * sysdeps/sh/libm-test-ulps: Likewise.
3494 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3495 * sysdeps/tile/libm-test-ulps: Likewise.
3496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3498 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3500 * math/libm-test.inc (print_complex_max_error): Check separately
3501 whether real and imaginary errors are within allowed range and
3502 pass 0 to print_complex_function_ulps instead of value within
3505 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3507 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3509 (get_handles_fopen): Likewise.
3510 (do_write_test): Likewise.
3512 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3514 * libio/fileops.c (do_ftell): Use cached offset when
3516 * libio/iofwide.c (do_ftell_wide): Likewise.
3517 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3519 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3522 * libio/libioP.h (get_file_offset): New function.
3523 * libio/fileops.c (get_file_offset): Likewise.
3524 (do_ftell): Likewise.
3525 (_IO_new_file_seekoff): Split out ftell logic.
3526 * libio/wfileops.c (do_ftell_wide): Likewise.
3527 (_IO_wfile_seekoff): Split out ftell logic.
3528 * libio/tst-ftell-active-handler.c: New test case.
3529 * libio/Makefile (tests): Add it.
3531 2014-03-03 Roland McGrath <roland@hack.frob.com>
3533 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3534 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3536 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3539 * nscd/connections.c (nscd_init): Call do_exit.
3540 (start_threads): Call do_exit and notify_parent.
3541 (begin_drop_privileges): Call do_exit.
3542 (finish_drop_privileges): Likewise.
3543 * nscd/selinux.c (preserve_capabilities): Likewise.
3544 (install_real_capabilities): Likewise.
3545 (nscd_selinux_enabled): Likewise.
3546 (avc_create_thread): Likewise.
3547 (avc_alloc_lock): Likewise.
3548 (nscd_avc_init): Likewise.
3549 * nscd/nscd.c (parent_fd): New static variable.
3550 (main): Create a pipe between parent and child processes.
3551 Skip closing parent_fd.
3552 (monitor_child): New function.
3553 (do_exit): Likewise.
3554 (notify_parent): Likewise.
3555 * nscd/nscd.h (notify_parent): Likewise.
3556 (do_exit): Likewise.
3558 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3560 * malloc/malloc.c (__libc_calloc): Revert last change.
3562 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3566 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3568 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3572 (__libc_ifunc_impl_list): Likewise.
3573 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3574 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3575 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3576 * string/strrchr.c: Define STRRCHR.
3578 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3580 * benchtest/bench-strtok.c (simple_strtok): Delete.
3581 (strtok_string): Use as benchmark.
3582 * string/strtok (STRTOK): New macro.
3584 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3586 * manual/threads.texi: Add header and standard comments to all
3589 * elf/dl-lookup.c (check_match): New function.
3590 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3591 (do_lookup_x): Remove nested function check_match. Use non-nested
3592 function check_match.
3594 2014-02-28 Roland McGrath <roland@hack.frob.com>
3596 * csu/Makefile (generated, before-compile): Use += rather than =.
3597 * catgets/Makefile (generated, generated-dirs): Likewise.
3598 * debug/Makefile (generated): Likewise.
3599 * dlfcn/Makefile (generated): Likewise.
3600 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3601 * iconvdata/Makefile (before-compile, generated): Likewise.
3602 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3603 * libio/Makefile (generated): Likewise.
3604 * malloc/Makefile (generated): Likewise.
3605 * manual/Makefile (generated, generated-dirs): Likewise.
3606 * misc/Makefile (generated): Likewise.
3607 * posix/Makefile (generated): Likewise.
3608 * resolv/Makefile (generated): Likewise.
3609 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3610 * timezone/Makefile (generated, generated-dirs): Likewise.
3612 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3614 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3617 power8 implementation.
3618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3619 file: POWER8 llround ifunc implementation.
3620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3621 (__lllround): Add POWER8 implementation.
3622 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3623 POWER8 llround implementation.
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3626 power8 implementation.
3627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3628 file: POWER8 llrint ifunc implementation.
3629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3630 Add POWER8 implementation.
3631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3632 POWER8 llrint implementation.
3634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3635 power8 implementation.
3636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3637 file: POWER8 finite ifunc implementation.
3638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3639 Add POWER8 implementation.
3640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3642 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3643 POWER8 finite implementation.
3644 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3647 power8 implementation.
3648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3649 file: POWER8 isinf ifunc implementation.
3650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3651 POWER8 implementation.
3652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3654 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3655 isinf implementation.
3656 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3659 (INIT_ARCH): Add hwcap2 initialization.
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3661 power8 implementation.
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3663 file: POWER8 isnan ifunc implementation.
3664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3665 POWER8 implementation.
3666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3668 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3669 isnan implementation.
3670 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3672 2014-02-27 Joey Ye <joey.ye@arm.com>
3674 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3675 (_FP_NANFRAC_Q): Set to zero.
3677 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3680 * math/auto-libm-test-in: New test inputs.
3681 * math/auto-libm-test-out: Regenerate.
3682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3687 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3689 * scripts/evaluate-test.sh: Take new argument indicating whether
3690 failure is expected.
3691 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3692 indicating whether failure is expected.
3693 * conform/Makefile (test-xfail-run-conformtest): New variable.
3694 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3696 * posix/Makefile (test-xfail-annexc): New variable.
3697 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3699 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3701 * argp/Makefile: Include Makeconfig immediately after defining
3703 * assert/Makefile: Likewise.
3704 * benchtests/Makefile: Likewise.
3705 * catgets/Makefile: Likewise.
3706 * conform/Makefile: Likewise.
3707 * crypt/Makefile: Likewise.
3708 * csu/Makefile: Likewise.
3709 (all): Remove target.
3710 * ctype/Makefile: Include Makeconfig immediately after defining
3712 * debug/Makefile: Likewise.
3713 * dirent/Makefile: Likewise.
3714 * dlfcn/Makefile: Likewise.
3715 * gmon/Makefile: Likewise.
3716 * gnulib/Makefile: Likewise.
3717 * grp/Makefile: Likewise.
3718 * gshadow/Makefile: Likewise.
3719 * hesiod/Makefile: Likewise.
3720 * hurd/Makefile: Likewise.
3721 (all): Remove target.
3722 * iconvdata/Makefile: Include Makeconfig immediately after
3724 * inet/Makefile: Likewise.
3725 * intl/Makefile: Likewise.
3726 * io/Makefile: Likewise.
3727 * libio/Makefile: Likewise.
3728 (all): Remove target.
3729 * locale/Makefile: Include Makeconfig immediately after defining
3731 * login/Makefile: Likewise.
3732 * mach/Makefile: Likewise.
3733 (all): Remove target.
3734 * malloc/Makefile: Include Makeconfig immediately after defining
3736 (all): Remove target.
3737 * manual/Makefile: Include Makeconfig immediately after defining
3739 * math/Makefile: Likewise.
3740 * misc/Makefile: Likewise.
3741 * nis/Makefile: Likewise.
3742 * nss/Makefile: Likewise.
3743 * po/Makefile: Likewise.
3744 (all): Remove target.
3745 * posix/Makefile: Include Makeconfig immediately after defining
3747 * pwd/Makefile: Likewise.
3748 * resolv/Makefile: Likewise.
3749 * resource/Makefile: Likewise.
3750 * rt/Makefile: Likewise.
3751 * setjmp/Makefile: Likewise.
3752 * shadow/Makefile: Likewise.
3753 * signal/Makefile: Likewise.
3754 * socket/Makefile: Likewise.
3755 * soft-fp/Makefile: Likewise.
3756 * stdio-common/Makefile: Likewise.
3757 * stdlib/Makefile: Likewise.
3758 * streams/Makefile: Likewise.
3759 * string/Makefile: Likewise.
3760 * sunrpc/Makefile: Likewise.
3761 (all): Remove target.
3762 * sysvipc/Makefile: Include Makeconfig immediately after defining
3764 * termios/Makefile: Likewise.
3765 * time/Makefile: Likewise.
3766 * timezone/Makefile: Likewise.
3767 (all): Remove target.
3768 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3770 * wctype/Makefile: Likewise.
3772 2014-02-26 Steve Ellcey <sellcey@mips.com>
3774 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3775 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3776 (libc_feholdexcept_setround_mips): Ditto.
3777 (libc_feholdsetround): New.
3778 (libc_feholdsetroundf): New.
3779 (libc_feholdsetroundl): New.
3780 (libc_feupdateenv_test_mips): New.
3781 (libc_feupdateenv_test): New.
3782 (libc_feupdateenv_testf): New.
3783 (libc_feupdateenv_testl): New.
3784 (libc_feresetround): New.
3785 (libc_feresetroundf): New.
3786 (libc_feresetroundl): New.
3787 (libc_fetestexcept_mips): New.
3788 (libc_fetestexcept): New.
3789 (libc_fetestexceptf): New.
3790 (libc_fetestexceptl): New.
3792 (libc_feholdexcept_setround_mips_ctx): New.
3793 (libc_feholdexcept_setround_ctx): New.
3794 (libc_feholdexcept_setroundf_ctx): New.
3795 (libc_feholdexcept_setroundl_ctx): New.
3796 (libc_fesetenv_mips_ctx): New.
3797 (libc_fesetenv_ctx): New.
3798 (libc_fesetenv_ctxf): New.
3799 (libc_fesetenv_ctxl): New.
3800 (libc_feupdateenv_mips_ctx): New.
3801 (libc_feupdateenv_ctx): New.
3802 (libc_feupdateenvf_ctx): New.
3803 (libc_feupdateenvl_ctx): New.
3804 (libc_feholdsetround_mips_ctx): New.
3805 (libc_feholdsetround_ctx): New.
3806 (libc_feholdsetroundf_ctx): New.
3807 (libc_feholdsetroundl_ctx): New.
3808 (libc_feresetround_mips_ctx): New.
3809 (libc_feresetround_ctx): New.
3810 (libc_feresetroundf_ctx): New.
3811 (libc_feresetroundl_ctx): New.
3813 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3815 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3817 * manual/ipc.texi: New file.
3818 * manual/Makefile (chapters): Add ipc.
3819 * manual/job.texi: Add "Inter-Process Communication" to next.
3820 * manual/process.texi: Add "Inter-Process Communication" to prev.
3822 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3826 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3828 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3830 * manual/arith.texi: Fix spaces after sentences.
3831 * manual/charset.texi: Likewise.
3832 * manual/errno.texi: Likewise.
3833 * manual/install.texi: Likewise.
3834 * manual/llio.texi: Likewise.
3835 * manual/locale.texi: Likewise.
3836 * manual/maint.texi: Likewise.
3837 * manual/math.texi: Likewise.
3838 * manual/memory.texi: Likewise.
3839 * manual/message.texi: Likewise.
3840 * manual/probes.texi: Likewise.
3841 * manual/resource.texi: Likewise.
3842 * manual/signal.texi: Likewise.
3843 * manual/socket.texi: Likewise.
3844 * manual/stdio.texi: Likewise.
3845 * manual/string.texi: Likewise.
3846 * manual/time.texi: Likewise.
3847 * manual/users.texi: Likewise.
3849 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3852 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3853 _DEFAULT_SOURCE is defined.
3855 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3856 Carlos O'Donell <carlos@redhat.com>
3859 * elf/dl-tls.c (_dl_count_modids): New function.
3860 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3861 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3862 audit library and increment generation counter.
3863 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3864 * elf/tst-audit9.c: New file.
3865 * elf/tst-auditmod9a.c: New file.
3866 * elf/tst-auditmod9b.c: New file.
3867 * elf/Makefile: Add rules to build and run tst-audit9.
3869 2014-02-25 Florian Weimer <fweimer@redhat.com>
3872 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3874 2014-02-25 Will Newton <will.newton@linaro.org>
3876 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3877 (__longjmp): Restore sp and lr before restoring callee
3878 saved registers. Add longjmp and longjmp_target
3879 SystemTap probe point.
3880 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3881 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3882 Define to zero to match jmpbuf layout.
3883 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3884 (__sigsetjmp): Save sp and lr before saving callee
3885 saved registers. Add setjmp SystemTap probe point.
3887 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3889 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3891 2014-02-24 Andreas Schwab <schwab@suse.de>
3894 * elf/pldd.c (wait_for_ptrace_stop): New function.
3895 (main): Call it after attaching.
3897 2014-02-22 Roland McGrath <roland@hack.frob.com>
3899 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3900 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3901 Versions files is now verboten.
3902 * hurd/Versions (libc: GLIBC_2.0):
3903 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3904 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3905 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3906 * mach/Versions: Likewise.
3908 * csu/Versions: Remove unused %include.
3909 * resolv/Versions: Likewise.
3911 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3913 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3914 ($(objpfx)check-local-headers.out): Likewise.
3915 ($(objpfx)begin-end-check.out): Likewise.
3916 * Makerules (check-abi-%.out): Likewise.
3917 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3918 ($(objpfx)test2.cat): Likewise.
3919 ($(objpfx)de/libc.cat): Likewise.
3920 ($(objpfx)test-gencat.out): Likewise.
3921 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3922 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3923 ($(objpfx)noload-mem): Likewise.
3924 ($(objpfx)tst-pathopt.out): Likewise.
3925 ($(objpfx)tst-rtld-load-self.out): Likewise.
3926 ($(objpfx)tst-array1-cmp.out): Likewise.
3927 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3928 ($(objpfx)tst-array2-cmp.out): Likewise.
3929 ($(objpfx)tst-array3-cmp.out): Likewise.
3930 ($(objpfx)tst-array4-cmp.out): Likewise.
3931 ($(objpfx)tst-array5-cmp.out): Likewise.
3932 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3933 ($(objpfx)check-textrel.out): Likewise.
3934 ($(objpfx)check-execstack.out): Likewise.
3935 ($(objpfx)check-localplt.out): Likewise.
3936 ($(objpfx)order2-cmp.out): Likewise.
3937 ($(objpfx)tst-leaks1-mem): Likewise.
3938 ($(objpfx)tst-leaks1-static-mem): Likewise.
3939 ($(objpfx)tst-initorder-cmp.out): Likewise.
3940 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3941 ($(objpfx)tst-unused-dep.out): Likewise.
3942 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3943 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3944 * iconv/Makefile (test-iconvconfig): Likewise.
3945 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3946 ($(objpfx)iconv-test.out): Likewise.
3947 ($(objpfx)tst-tables.out): Likewise.
3948 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3949 ($(objpfx)tst-gettext.out): Likewise.
3950 ($(objpfx)tst-translit.out): Likewise.
3951 ($(objpfx)tst-gettext2.out): Likewise.
3952 ($(objpfx)tst-gettext4.out): Likewise.
3953 ($(objpfx)tst-gettext6.out): Likewise.
3954 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3955 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3956 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3957 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3958 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3959 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3960 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3961 ($(objpfx)wordexp-tst.out): Likewise.
3962 ($(objpfx)annexc.out): Likewise.
3963 ($(objpfx)tst-fnmatch-mem): Likewise.
3964 ($(objpfx)bug-regex2-mem): Likewise.
3965 ($(objpfx)bug-regex14-mem): Likewise.
3966 ($(objpfx)bug-regex21-mem): Likewise.
3967 ($(objpfx)bug-regex31-mem): Likewise.
3968 ($(objpfx)tst-vfork3-mem): Likewise.
3969 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3970 ($(objpfx)tst-pcre-mem): Likewise.
3971 ($(objpfx)tst-boost-mem): Likewise.
3972 ($(objpfx)tst-getconf.out): Likewise.
3973 ($(objpfx)bug-ga2-mem): Likewise.
3974 ($(objpfx)bug-glob2-mem): Likewise.
3975 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3976 ($(objpfx)mtrace-tst-leaks2): Likewise.
3977 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3978 ($(objpfx)tst-printf.out): Likewise.
3979 ($(objpfx)tst-setvbuf1.out): Likewise.
3980 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3981 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3982 ($(objpfx)tst-fmtmsg.out): Likewise.
3983 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3984 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3986 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3987 * bits/sigaction.h [__USE_MISC]: Likewise.
3988 * bits/waitstatus.h: Update #endif comments.
3989 * ctype/ctype.h: Likewise.
3990 * dirent/dirent.h: Likewise.
3991 [__USE_MISC]: Remove redundant conditionals.
3992 * grp/grp.h: Update #endif comments.
3993 [__USE_GNU]: Remove redundant conditionals.
3994 [__USE_MISC]: Likewise.
3995 * inet/netinet/in.h [__USE_GNU]: Likewise.
3996 * io/sys/stat.h [__USE_MISC]: Likewise.
3997 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3998 * libio/bits/stdio.h: Update #endif comments.
3999 [__USE_MISC]: Remove redundant conditionals.
4000 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4001 * libio/stdio.h: Update #endif comments.
4002 [__USE_MISC]: Remove redundant conditionals.
4003 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4004 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4005 * math/math.h: Update #else and #endif comments.
4006 [__USE_MISC]: Remove redundant conditionals.
4007 * misc/sys/uio.h: Update #endif comments.
4008 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4009 * posix/glob.h [__USE_MISC]: Likewise.
4010 * posix/sys/types.h: Update #endif comments.
4011 [__USE_MISC]: Remove redundant conditionals.
4012 * posix/sys/wait.h: Update #endif comments.
4013 [__USE_MISC]: Remove redundant conditionals.
4014 * posix/unistd.h: Update #endif comments.
4015 [__USE_MISC]: Remove redundant conditionals.
4016 * pwd/pwd.h [__USE_GNU]: Likewise.
4017 [__USE_MISC]: Likewise.
4018 * resolv/netdb.h [__USE_GNU]: Likewise.
4019 * signal/signal.h: Update #endif comments.
4020 [__USE_MISC]: Remove redundant conditionals.
4021 * stdlib/stdlib.h: Update #else and #endif comments.
4022 [__USE_MISC]: Remove redundant conditionals.
4023 [__USE_GNU]: Likewise.
4024 * string/bits/string2.h [__USE_MISC]: Likewise.
4025 * string/string.h: Update #endif comments.
4026 [__USE_MISC]: Remove redundant conditionals.
4027 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4029 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4030 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4031 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4033 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4037 [__USE_MISC]: Remove redundant conditionals.
4038 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4039 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4040 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4041 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4042 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4044 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4045 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4047 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4048 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4050 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4052 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4053 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4055 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4057 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4058 * sysdeps/x86/bits/string.h: Update #endif comments.
4059 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4061 * time/sys/time.h: Update #endif comments.
4062 * time/time.h: Likewise.
4063 [__USE_MISC]: Remove redundant conditionals.
4065 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4068 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4070 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4072 * Versions.def (librt): Add GLIBC_2.17.
4074 2014-02-21 Adam Conrad <adconrad@0c3.net>
4076 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4077 synonym for _SYS_AUXV_H to allow direct inclusion.
4078 * sysdeps/sparc/bits/hwcap.h: Likewise.
4079 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4080 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4081 * sysdeps/sparc/sysdep.h: Likewise.
4083 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4085 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4087 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4089 * benchtests/bench-strrchr.c: Print length instead of position.
4091 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4094 * sysdeps/unix/sysv/linux/kernel-features.h
4095 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4096 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4097 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4098 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4100 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4101 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4102 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4103 (__ASSUME_SENDMMSG): Define instead of using previous
4104 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4105 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4106 (__ASSUME_SENDMMSG_SYSCALL): Define.
4107 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4108 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4110 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4111 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4113 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4114 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4117 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4118 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4119 [__ASSUME_SENDMMSG]: Change conditionals to
4120 [__ASSUME_SENDMMSG_SOCKETCALL].
4121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4122 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4124 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4125 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4127 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4128 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4129 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4130 [!__ASSUME_SENDMMSG]: Change conditional to
4131 [!__ASSUME_SENDMMSG_SOCKETCALL].
4132 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4133 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4137 * sysdeps/unix/sysv/linux/kernel-features.h
4138 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4139 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4140 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4141 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4142 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4143 [__i386__ || __sparc__]
4144 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4145 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4146 (__ASSUME_RECVMMSG): Define instead of using previous
4147 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4148 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4149 (__ASSUME_RECVMMSG_SYSCALL): Define.
4150 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4151 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4153 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4156 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4157 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4159 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4160 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4161 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4162 [__ASSUME_RECVMMSG]: Change condition to
4163 [__ASSUME_RECVMMSG_SOCKETCALL].
4164 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4165 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4167 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4168 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4169 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4171 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4172 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4173 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4174 [!__ASSUME_RECVMMSG]: Change condition to
4175 [!__ASSUME_RECVMMSG_SOCKETCALL].
4176 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4177 (__ASSUME_RECVMMSG_SYSCALL): Define.
4180 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4181 __powerpc__ || __s390__ || __sh__ || __sparc__]
4182 (__ASSUME_SOCKETCALL): Define.
4183 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4184 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4185 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4186 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4187 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4188 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4189 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4190 (__ASSUME_ACCEPT4): Define instead of using previous
4191 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4192 __powerpc__ || __sparc__ || __s390__)] condition.
4193 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4194 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4195 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4196 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4197 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4198 [!__ASSUME_ACCEPT4]: Change condition to
4199 [!__ASSUME_ACCEPT4_SOCKETCALL].
4200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4201 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4202 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4204 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4205 __ASSUME_ACCEPT4_SYSCALL.
4206 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4207 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4209 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4210 __ASSUME_ACCEPT4_SYSCALL.
4211 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4212 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4213 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4214 [__ASSUME_ACCEPT4]: Change condition to
4215 [__ASSUME_ACCEPT4_SOCKETCALL].
4216 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4217 (__ASSUME_SOCKETCALL): Define.
4218 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4220 (__ASSUME_SOCKETCALL): Define.
4221 (__ASSUME_ACCEPT4): Remove.
4222 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4224 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4225 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4228 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4230 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4232 (HWCAP_ARM_LPAE): Likewise.
4233 (HWCAP_ARM_EVTSTRM): Likewise.
4234 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4235 Add vpfd32, lpae and evtstrm.
4236 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4239 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4241 * math/auto-libm-test-in: Add tests of clog10.
4242 * math/auto-libm-test-out: Regenerated.
4243 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4244 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247 2014-02-18 Andreas Schwab <schwab@suse.de>
4250 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4251 Store non-zero if the second buffer was newly allocated.
4252 (send_dg): Likewise.
4253 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4254 to send_vc and send_dg.
4255 (res_nsend): Pass NULL for ansp2_malloced.
4256 * resolv/res_query.c (__libc_res_nquery): Add parameter
4257 answerp2_malloced and pass it down to __libc_res_nsend.
4258 (res_nquery): Pass additional NULL to __libc_res_nquery.
4259 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4260 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4261 second answer buffer if answerp2_malloced was set.
4262 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4263 (__libc_res_nquerydomain): Add parameter
4264 answerp2_malloced and pass it down to __libc_res_nquery.
4265 (res_nquerydomain): Pass additional NULL to
4266 __libc_res_nquerydomain.
4267 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4268 additional NULL to __libc_res_nsend and __libc_res_nquery.
4269 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4270 additional NULL to __libc_res_nsearch.
4271 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4272 parameter of __libc_res_nsearch to check for separately allocated
4274 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4276 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4277 additional NULL to __libc_res_nquery.
4278 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4280 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4281 * include/resolv.h: Update prototypes of __libc_res_nquery,
4282 __libc_res_nsearch, __libc_res_nsend.
4284 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4286 * math/auto-libm-test-in: Add tests of fma.
4287 * math/auto-libm-test-out: Regenerated.
4288 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4289 (fma_towardzero_test_data): Likewise.
4290 (fma_downward_test_data): Likewise.
4291 (fma_upward_test_data): Likewise.
4292 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4294 (rounding_modes): Add values for new field.
4295 (func_calc_method): Add value mpfr_fff_f.
4296 (func_calc_desc): Add mpfr_fff_f union field.
4297 (test_function): Add field exact_args.
4298 (FUNC): Add macro argument EXACT_ARGS.
4299 (FUNC_mpfr_f_f): Update call to FUNC.
4300 (FUNC_mpfr_f_f): Likewise.
4301 (FUNC_mpfr_ff_f): Likewise.
4302 (FUNC_mpfr_if_f): Likewise.
4303 (FUNC_mpc_c_f): Likewise.
4304 (FUNC_mpc_c_c): Likewise.
4305 (test_functions): Add fma. Update calls to FUNC.
4306 (handle_input_arg): Add argument exact_args.
4307 (add_test): Update call to handle_input_arg.
4308 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4309 (output_for_one_input_case): Update call to calc_generic_results.
4310 Recalculate exact zero results in each rounding mode.
4312 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4313 non-negative before setting low bit.
4314 * math/auto-libm-test-in: Mark one asin test possibly having
4316 * math/auto-libm-test-out: Regenerated.
4317 * sysdeps/i386/fpu/libm-test-ulps: Update.
4318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4320 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4322 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4323 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4324 ports/sysdeps/unix/sysv/linux/microblaze.
4325 * README: Add missing listing for microblaze*-*-linux-gnu.
4327 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4329 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4330 * sysdeps/unix/sysv/linux/ia64: Move directory from
4331 ports/sysdeps/unix/sysv/linux/ia64.
4332 * README: Update listing for ia64-*-linux-gnu.
4334 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4335 Joseph Myers <joseph@codesourcery.com>
4337 * Makeconfig (test-name): New variable.
4338 (evaluate-test): Likewise.
4339 * Makerules (do-test-clean): Remove .test-result files.
4340 (common-mostlyclean): Likewise.
4341 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4342 * scripts/evaluate-test.sh: New file.
4344 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4346 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4347 separate $(objpfx)tst-fopenloc-cmp.out and
4348 $(objpfx)tst-fopenloc-mem.out targets.
4349 (tests): Update dependencies.
4350 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4351 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4352 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4353 (tst-rxspencer-no-utf8-ARGS): New variable.
4354 (tst-rxspencer-no-utf8-ENV): Likewise.
4355 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4356 instead of $(objpfx)tst-rxspencer-mem.
4357 ($(objpfx)tst-rxspencer-mem): Change target to
4358 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4359 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4360 * posix/tst-rxspencer-no-utf8.c: New file.
4362 * elf/Makefile ($(objpfx)order.out): Remove rule.
4363 [$(run-built-tests) = yes] (tests): Depend on
4364 $(objpfx)order-cmp.out.
4365 ($(objpfx)order-cmp.out): New rule.
4366 [$(run-built-tests) = yes] (tests): Depend on
4367 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4368 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4369 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4370 $(objpfx)tst-array5-static-cmp.out.
4371 ($(objpfx)tst-array1.out): Remove rule.
4372 ($(objpfx)tst-array1-cmp.out): New rule.
4373 ($(objpfx)tst-array1-static.out): Remove rule.
4374 ($(objpfx)tst-array1-static-cmp.out): New rule.
4375 ($(objpfx)tst-array2.out): Remove rule.
4376 ($(objpfx)tst-array2-cmp.out): New rule.
4377 ($(objpfx)tst-array3.out): Remove rule.
4378 ($(objpfx)tst-array3-cmp.out): New rule.
4379 ($(objpfx)tst-array4.out): Remove rule.
4380 ($(objpfx)tst-array4-cmp.out): New rule.
4381 ($(objpfx)tst-array5.out): Remove rule.
4382 ($(objpfx)tst-array5-cmp.out): New rule.
4383 ($(objpfx)tst-array5-static.out): Remove rule.
4384 ($(objpfx)tst-array5-static-cmp.out): New rule.
4385 [$(run-built-tests) = yes] (tests): Depend on
4386 $(objpfx)order2-cmp.out.
4387 ($(objpfx)order2.out): Remove rule.
4388 ($(objpfx)order2-cmp.out): New rule.
4389 ($(objpfx)tst-initorder.out): Remove rule.
4390 [$(run-built-tests) = yes] (tests): Depend on
4391 $(objpfx)tst-initorder-cmp.out.
4392 ($(objpfx)tst-initorder-cmp.out): New rule.
4393 ($(objpfx)tst-initorder2.out): Remove rule.
4394 [$(run-built-tests) = yes] (tests): Depend on
4395 $(objpfx)tst-initorder2-cmp.out.
4396 ($(objpfx)tst-initorder2-cmp.out): New rule.
4397 [$(run-built-tests) = yes] (tests): Depend on
4398 $(objpfx)tst-unused-dep-cmp.out.
4399 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4400 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4401 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4402 on $(objpfx)tst-setvbuf1-cmp.out.
4403 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4404 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4405 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4406 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4407 ($(objpfx)tst-svc.out): Remove rule.
4408 ($(objpfx)tst-svc-cmp.out): New rule.
4410 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4412 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4413 * ctype/ctype.h [__USE_MISC]: Likewise.
4414 * dirent/dirent.h [__USE_MISC]: Likewise.
4415 * grp/grp.h [__USE_MISC]: Likewise.
4416 * io/fcntl.h [__USE_MISC]: Likewise.
4417 * io/sys/stat.h [__USE_MISC]: Likewise.
4418 * libio/stdio.h [__USE_MISC]: Likewise.
4419 * posix/unistd.h [__USE_MISC]: Likewise.
4420 * pwd/pwd.h [__USE_MISC]: Likewise.
4421 * stdlib.h [__USE_MISC]: Likewise.
4422 * string/bits/string2.h [__USE_MISC]: Likewise.
4423 * string/string.h [__USE_MISC]: Likewise.
4424 * time/time.h [__USE_MISC]: Likewise.
4426 2014-02-13 Andreas Schwab <schwab@suse.de>
4429 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4430 second answer buffer if it was separately allocated.
4432 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4434 * sysdeps/mips/math-tests.h: Include <features.h>.
4435 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4436 (ROUNDING_TESTS_long_double): Do not define.
4437 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4438 (EXCEPTION_TESTS_long_double): Likewise.
4439 * sysdeps/mips/mips64/libm-test-ulps: Update.
4441 * include/features.h (__USE_BSD): Remove macro definitions.
4442 (__USE_SVID): Likewise.
4443 (_BSD_SOURCE): Likewise.
4444 (_SVID_SOURCE): Likewise.
4445 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4446 from definition of _DEFAULT_SOURCE.
4447 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4449 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4450 * bits/mman.h [__USE_BSD]: Likewise.
4451 * bits/termios.h [__USE_BSD]: Likewise.
4452 * bits/waitstatus.h [__USE_BSD]: Likewise.
4453 * ctype/ctype.h [__USE_SVID]: Likewise.
4454 * dirent/dirent.h [__USE_BSD]: Likewise.
4455 * grp/grp.h [__USE_SVID]: Likewise.
4456 [__USE_BSD]: Likewise.
4457 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4458 * io/fcntl.h [__USE_BSD]: Likewise.
4459 * io/ftw.h [__USE_BSD]: Likewise.
4460 * io/sys/stat.h [__USE_BSD]: Likewise.
4461 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4462 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4463 * libio/stdio.h [__USE_SVID]: Likewise.
4464 [__USE_BSD]: Likewise.
4465 * math/math.h [__USE_SVID]: Likewise.
4466 [__USE_BSD]: Likewise.
4467 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4468 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4469 * misc/search.h [__USE_SVID]: Likewise.
4470 * misc/sys/mman.h [__USE_BSD]: Likewise.
4471 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4472 * misc/sys/uio.h [__USE_BSD]: Likewise.
4473 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4474 * posix/glob.h [__USE_BSD]: Likewise.
4475 * posix/regex.h [__USE_BSD]: Likewise.
4476 * posix/sys/types.h [__USE_BSD]: Likewise.
4477 [__USE_SVID]: Likewise.
4478 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4479 * posix/sys/wait.h [__USE_BSD]: Likewise.
4480 [__USE_SVID]: Likewise.
4481 * posix/unistd.h [__USE_BSD]: Likewise.
4482 [__USE_SVID]: Likewise.
4483 * pwd/pwd.h [__USE_SVID]: Likewise.
4484 * resolv/netdb.h [__USE_BSD]: Likewise.
4485 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4486 * signal/signal.h [__USE_BSD]: Likewise.
4487 [__USE_SVID]: Likewise.
4488 * socket/sys/socket.h [__USE_BSD]: Likewise.
4489 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4490 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4491 [__USE_SVID]: Likewise.
4492 * string/bits/string2.h [__USE_BSD]: Likewise.
4493 [__USE_SVID]: Likewise.
4494 * string/bits/string3.h [__USE_BSD]: Likewise.
4495 * string/endian.h [__USE_BSD]: Likewise.
4496 * string/string.h [__USE_SVID]: Likewise.
4497 [__USE_BSD]: Likewise.
4498 * string/strings.h [__USE_BSD]: Likewise.
4499 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4500 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4501 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4502 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4503 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4504 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4506 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4508 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4509 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4511 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4514 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4516 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4517 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4518 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4520 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4522 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4523 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4524 * termios/termios.h [__USE_BSD]: Likewise.
4525 * time/sys/time.h [__USE_BSD]: Likewise.
4526 * time/time.h [__USE_BSD]: Likewise.
4527 [__USE_SVID]: Likewise.
4529 * Makefile (subdir_targets): Remove subdir_lint.out.
4531 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4532 (do-tst-printf): Likewise.
4533 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4534 $(objpfx)tst-printf.out.
4536 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4538 * Makerules (check-abi-%): Change target to
4539 $(objpfx)check-abi-%.out.
4540 (check-abi target): Update dependencies.
4541 (check-abi-pattern variable): Redirect output of diff to $@.
4542 (check-abi variable): Likewise.
4543 * elf/Makefile (check-abi): Update dependencies.
4545 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4547 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4548 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4550 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4551 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4552 value has largest subnormal exponent.
4553 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4554 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4555 * sysdeps/aarch64/soft-fp/sfp-machine.h
4556 (_FP_TININESS_AFTER_ROUNDING): New macro.
4557 * sysdeps/alpha/soft-fp/sfp-machine.h
4558 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4559 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4561 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4562 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4563 * sysdeps/mips/soft-fp/sfp-machine.h
4564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4565 * sysdeps/powerpc/soft-fp/sfp-machine.h
4566 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4567 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4569 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4572 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4573 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4576 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4579 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4582 2014-02-12 Richard Henderson <rth@redhat.com>
4584 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4585 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4586 * sysdeps/unix/sysv/linux/alpha: Move directory from
4587 ports/sysdeps/unix/sysv/linux/alpha.
4588 * README: Update listing for alpha-*-linux-gnu.
4590 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4592 * include/features.h: Update comment documenting feature test
4594 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4596 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4597 (_SVID_SOURCE): Likewise.
4598 (_DEFAULT_SOURCE): Update description of default features.
4599 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4601 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4602 (S_ISVTX): Likewise.
4603 * manual/math.texi (Mathematical Constants): Likewise.
4604 * manual/signal.texi (Interrupted Primitives): Likewise.
4605 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4606 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4607 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4608 Don't refer to _SVID_SOURCE in warning text.
4610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4612 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4614 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4615 * sysdeps/mips/dl-lookup.c: Remove.
4616 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4618 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4621 * math/auto-libm-test-in: Add testcase for expl.
4622 * math/auto-libm-test-out: Regenerate.
4623 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4624 calculation of unsafe.
4625 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4627 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4629 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4630 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4631 ports/sysdeps/unix/sysv/linux/aarch64.
4632 * README: Update listing for aarch64*-*-linux-gnu.
4634 2014-02-11 Will Newton <will.newton@linaro.org>
4636 * manual/probes.texi (Mathematical Function Probes): Use
4637 "triggered" instead of "hit".
4639 * manual/probes.texi (Internal Probes): Add documentation
4640 of setjmp, longjmp and longjmp_target probes.
4642 * include/stap-probe.h: Add comment about probe argument
4645 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4646 definition. (tr_where, tr_freehook, tr_mallochook,
4647 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4649 2014-02-11 David S. Miller <davem@davemloft.net>
4651 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4652 processing int_tests.
4654 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4657 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4658 * sysdeps/unix/sysv/linux/mips: Move directory from
4659 ports/sysdeps/unix/sysv/linux/mips.
4660 * README: Update listing for mips-*-linux-gnu and
4663 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4665 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4666 * sysdeps/unix/sysv/linux/m68k: Move directory from
4667 ports/sysdeps/unix/sysv/linux/m68k.
4668 * README: Update listing for m68k-*-linux-gnu.
4670 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4672 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4673 * sysdeps/unix/sysv/linux/generic: Move directory from
4674 ports/sysdeps/unix/sysv/linux/generic.
4675 * sysdeps/unix/sysv/linux/tile: Move directory from
4676 ports/sysdeps/unix/sysv/linux/tile.
4677 * README: Update listing for tile*-*-linux-gnu.
4679 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4681 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4683 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4684 * catgets/open_catalog.c (__open_catalog): Likewise.
4685 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4686 * debug/confstr_chk.c: Likewise.
4687 * debug/fread_chk.c (__fread_chk): Likewise.
4688 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4689 * debug/getgroups_chk.c: Likewise.
4690 * debug/mbsnrtowcs_chk.c: Likewise.
4691 * debug/mbsrtowcs_chk.c: Likewise.
4692 * debug/mbstowcs_chk.c: Likewise.
4693 * debug/memcpy_chk.c: Likewise.
4694 * debug/memmove_chk.c: Likewise.
4695 * debug/mempcpy_chk.c: Likewise.
4696 * debug/memset_chk.c: Likewise.
4697 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4698 * debug/strcat_chk.c (__strcat_chk): Likewise.
4699 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4700 * debug/strncat_chk.c (__strncat_chk): Likewise.
4701 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4702 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4703 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4704 * debug/wcpncpy_chk.c: Likewise.
4705 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4706 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4707 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4708 * debug/wcsncpy_chk.c: Likewise.
4709 * debug/wcsnrtombs_chk.c: Likewise.
4710 * debug/wcsrtombs_chk.c: Likewise.
4711 * debug/wcstombs_chk.c: Likewise.
4712 * debug/wmemcpy_chk.c: Likewise.
4713 * debug/wmemmove_chk.c: Likewise.
4714 * debug/wmempcpy_chk.c: Likewise.
4715 * debug/wmemset_chk.c: Likewise.
4716 * dirent/scandirat.c (SCANDIRAT): Likewise.
4717 * dlfcn/dladdr1.c (dladdr1): Likewise.
4718 * dlfcn/dladdr.c (dladdr): Likewise.
4719 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4720 * dlfcn/dlerror.c (__dlerror): Likewise.
4721 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4722 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4723 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4724 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4725 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4726 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4727 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4728 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4730 * elf/dl-conflict.c: Likewise.
4731 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4732 * elf/dl-dst.h: Likewise.
4733 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4734 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4735 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4736 * elf/dl-init.c (call_init, _dl_init): Likewise.
4737 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4738 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4739 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4741 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4743 * elf/dl-minimal.c (__libc_memalign): Likewise.
4744 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4745 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4746 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4747 * elf/dl-sym.c (do_sym): Likewise.
4748 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4749 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4750 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4751 * elf/dl-writev.h (_dl_writev): Likewise.
4752 * elf/ldconfig.c (search_dir): Likewise.
4753 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4754 (dl_main): Likewise.
4755 * elf/setup-vdso.h (setup_vdso): Likewise.
4756 * grp/compat-initgroups.c (compat_call): Likewise.
4757 * grp/fgetgrent.c (fgetgrent): Likewise.
4758 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4759 * grp/putgrent.c (putgrent): Likewise.
4760 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4762 * hurd/hurdinit.c: Likewise.
4763 * iconvdata/8bit-gap.c (struct): Likewise.
4764 * iconvdata/ansi_x3.110.c : Likewise.
4765 * iconvdata/big5.c : Likewise.
4766 * iconvdata/big5hkscs.c : Likewise.
4767 * iconvdata/cp1255.c: Likewise.
4768 * iconvdata/cp1258.c : Likewise.
4769 * iconvdata/cp932.c : Likewise.
4770 * iconvdata/euc-cn.c: Likewise.
4771 * iconvdata/euc-jisx0213.c : Likewise.
4772 * iconvdata/euc-jp.c: Likewise.
4773 * iconvdata/euc-jp-ms.c : Likewise.
4774 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4775 * iconvdata/gb18030.c : Likewise.
4776 * iconvdata/gbbig5.c (const): Likewise.
4777 * iconvdata/gbgbk.c: Likewise.
4778 * iconvdata/gbk.c : Likewise.
4779 * iconvdata/ibm1364.c : Likewise.
4780 * iconvdata/ibm930.c : Likewise.
4781 * iconvdata/ibm932.c: Likewise.
4782 * iconvdata/ibm933.c : Likewise.
4783 * iconvdata/ibm935.c : Likewise.
4784 * iconvdata/ibm937.c : Likewise.
4785 * iconvdata/ibm939.c : Likewise.
4786 * iconvdata/ibm943.c: Likewise.
4787 * iconvdata/iso_11548-1.c: Likewise.
4788 * iconvdata/iso-2022-cn.c : Likewise.
4789 * iconvdata/iso-2022-cn-ext.c : Likewise.
4790 * iconvdata/iso-2022-jp-3.c: Likewise.
4791 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4792 * iconvdata/iso-2022-kr.c : Likewise.
4793 * iconvdata/iso646.c (gconv_end): Likewise.
4794 * iconvdata/iso_6937-2.c : Likewise.
4795 * iconvdata/iso_6937.c : Likewise.
4796 * iconvdata/iso8859-1.c: Likewise.
4797 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4798 * iconvdata/shift_jisx0213.c : Likewise.
4799 * iconvdata/sjis.c : Likewise.
4800 * iconvdata/t.61.c : Likewise.
4801 * iconvdata/tcvn5712-1.c : Likewise.
4802 * iconvdata/tscii.c: Likewise.
4803 * iconvdata/uhc.c : Likewise.
4804 * iconvdata/unicode.c (gconv_end): Likewise.
4805 * iconvdata/utf-16.c (gconv_end): Likewise.
4806 * iconvdata/utf-32.c (gconv_end): Likewise.
4807 * iconvdata/utf-7.c (base64): Likewise.
4808 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4809 * iconv/gconv_close.c (__gconv_close): Likewise.
4810 * iconv/gconv_open.c (__gconv_open): Likewise.
4811 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4812 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4813 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4814 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4815 (ucs4le_internal_loop_single): Likewise.
4816 * iconv/iconv.c (iconv): Likewise.
4817 * iconv/iconv_close.c: Likewise.
4818 * iconv/loop.c (SINGLE): Likewise.
4819 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4820 * include/atomic.h: Likewise.
4821 * inet/inet6_option.c (option_alloc): Likewise.
4822 * intl/bindtextdom.c (set_binding_values): Likewise.
4823 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4824 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4825 * intl/localealias.c (read_alias_file): Likewise.
4826 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4827 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4828 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4829 * libio/fmemopen.c (fmemopen): Likewise.
4830 * libio/iofgets.c (_IO_fgets): Likewise.
4831 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4832 * libio/iofgetws.c (fgetws): Likewise.
4833 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4834 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4835 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4836 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4837 * locale/findlocale.c (_nl_find_locale): Likewise.
4838 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4839 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4841 * locale/setlocale.c (setlocale): Likewise.
4842 * login/programs/pt_chown.c (main): Likewise.
4843 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4844 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4845 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4846 (mmap, mmap64, mremap, munmap): Likewise.
4847 * math/e_exp2l.c: Likewise.
4848 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4849 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4850 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4851 * math/s_catan.c (__catan): Likewise.
4852 * math/s_catanf.c (__catanf): Likewise.
4853 * math/s_catanh.c (__catanh): Likewise.
4854 * math/s_catanhf.c (__catanhf): Likewise.
4855 * math/s_catanhl.c (__catanhl): Likewise.
4856 * math/s_catanl.c (__catanl): Likewise.
4857 * math/s_ccosh.c (__ccosh): Likewise.
4858 * math/s_ccoshf.c (__ccoshf): Likewise.
4859 * math/s_ccoshl.c (__ccoshl): Likewise.
4860 * math/s_cexp.c (__cexp): Likewise.
4861 * math/s_cexpf.c (__cexpf): Likewise.
4862 * math/s_cexpl.c (__cexpl): Likewise.
4863 * math/s_clog10.c (__clog10): Likewise.
4864 * math/s_clog10f.c (__clog10f): Likewise.
4865 * math/s_clog10l.c (__clog10l): Likewise.
4866 * math/s_clog.c (__clog): Likewise.
4867 * math/s_clogf.c (__clogf): Likewise.
4868 * math/s_clogl.c (__clogl): Likewise.
4869 * math/s_csin.c (__csin): Likewise.
4870 * math/s_csinf.c (__csinf): Likewise.
4871 * math/s_csinh.c (__csinh): Likewise.
4872 * math/s_csinhf.c (__csinhf): Likewise.
4873 * math/s_csinhl.c (__csinhl): Likewise.
4874 * math/s_csinl.c (__csinl): Likewise.
4875 * math/s_csqrt.c (__csqrt): Likewise.
4876 * math/s_csqrtf.c (__csqrtf): Likewise.
4877 * math/s_csqrtl.c (__csqrtl): Likewise.
4878 * math/s_ctan.c (__ctan): Likewise.
4879 * math/s_ctanf.c (__ctanf): Likewise.
4880 * math/s_ctanh.c (__ctanh): Likewise.
4881 * math/s_ctanhf.c (__ctanhf): Likewise.
4882 * math/s_ctanhl.c (__ctanhl): Likewise.
4883 * math/s_ctanl.c (__ctanl): Likewise.
4884 * math/w_pow.c: Likewise.
4885 * math/w_powf.c: Likewise.
4886 * math/w_powl.c: Likewise.
4887 * math/w_scalb.c (sysv_scalb): Likewise.
4888 * math/w_scalbf.c (sysv_scalbf): Likewise.
4889 * math/w_scalbl.c (sysv_scalbl): Likewise.
4890 * misc/error.c (error_tail): Likewise.
4891 * misc/pselect.c (__pselect): Likewise.
4892 * nis/nis_callback.c (__nis_create_callback): Likewise.
4893 * nis/nis_call.c (__nisfind_server): Likewise.
4894 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4895 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4896 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4897 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4898 * nis/nis_lookup.c (nis_lookup): Likewise.
4899 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4900 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4901 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4902 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4903 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4904 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4905 * nis/nss_compat/compat-initgroups.c (add_group)
4906 (internal_getgrent_r): Likewise.
4907 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4908 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4909 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4910 (internal_getspnam_r): Likewise.
4911 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4912 (_nss_nis_getaliasbyname_r): Likewise.
4913 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4914 (_nss_nis_getntohost_r): Likewise.
4915 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4916 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4917 (_nss_nis_getgrgid_r): Likewise.
4918 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4919 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4920 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4921 (_nss_nis_gethostbyname4_r): Likewise.
4922 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4923 (initgroups_netid): Likewise.
4924 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4925 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4926 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4927 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4928 (_nss_nis_getprotobynumber_r): Likewise.
4929 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4930 (_nss_nis_getsecretkey): Likewise.
4931 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4932 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4933 (_nss_nis_getpwuid_r): Likewise.
4934 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4935 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4936 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4937 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4938 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4939 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4940 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4942 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4943 (_nss_nisplus_getntohost_r): Likewise.
4944 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4945 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4946 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4947 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4949 * nis/nss_nisplus/nisplus-initgroups.c
4950 (_nss_nisplus_initgroups_dyn): Likewise.
4951 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4952 (_nss_nisplus_getnetbyaddr_r): Likewise.
4953 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4954 (_nss_nisplus_getprotobynumber_r): Likewise.
4955 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4956 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4957 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4959 * nis/nss_nisplus/nisplus-service.c
4960 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4961 (_nss_nisplus_getservbyport_r): Likewise.
4962 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4963 (_nss_nisplus_getspnam_r): Likewise.
4964 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4966 * nscd/aicache.c (addhstaiX): Likewise.
4967 * nscd/cache.c (cache_search, prune_cache): Likewise.
4968 * nscd/connections.c (register_traced_file, send_ro_fd)
4969 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4970 (main_loop_epoll): Likewise.
4971 * nscd/grpcache.c (addgrbyX): Likewise.
4972 * nscd/hstcache.c (addhstbyX): Likewise.
4973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4974 * nscd/mem.c (gc, mempool_alloc): Likewise.
4975 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4976 (addinnetgrX): Likewise.
4977 * nscd/nscd-client.h (__nscd_acquire_maplock)
4978 (__nscd_drop_map_ref): Likewise.
4979 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4980 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4981 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4983 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4985 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4986 (__nscd_get_map_ref): Likewise.
4987 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4988 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4990 * nscd/pwdcache.c (addpwbyX): Likewise.
4991 * nscd/selinux.c (preserve_capabilities): Likewise.
4992 * nscd/servicescache.c (addservbyX): Likewise.
4993 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4994 * posix/fnmatch.c (fnmatch): Likewise.
4995 * posix/getopt.c (_getopt_internal_r): Likewise.
4996 * posix/glob.c (glob, glob_in_dir): Likewise.
4997 * posix/wordexp.c (exec_comm_child): Likewise.
4998 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4999 (getanswer_r, gaih_getanswer_slice): Likewise.
5000 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5001 * resolv/res_init.c: Likewise.
5002 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5003 * resolv/res_query.c (__libc_res_nquery): Likewise.
5004 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5006 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5007 * stdio-common/perror.c (perror): Likewise.
5008 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5009 * stdio-common/tmpnam.c (tmpnam): Likewise.
5010 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5011 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5012 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5014 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5015 * stdlib/putenv.c (putenv): Likewise.
5016 * stdlib/setenv.c (__add_to_environ): Likewise.
5017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5018 * stdlib/strtol_l.c (INTERNAL): Likewise.
5019 * string/memmem.c (memmem): Likewise.
5020 * string/strerror.c (strerror): Likewise.
5021 * string/strnlen.c (__strnlen): Likewise.
5022 * string/test-memmem.c (simple_memmem): Likewise.
5023 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5024 * sunrpc/pm_getport.c (__get_socket): Likewise.
5025 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5026 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5027 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5028 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5030 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5031 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5032 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5033 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5034 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5035 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5037 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5039 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5040 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5042 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5043 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5045 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5047 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5048 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5049 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5054 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5056 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5060 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5061 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5062 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5064 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5071 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5073 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5075 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5077 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5079 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5081 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5083 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5084 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5085 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5086 * sysdeps/posix/sleep.c: Likewise.
5087 * sysdeps/posix/tempname.c: Likewise.
5088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5089 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5091 * sysdeps/powerpc/powerpc32/dl-machine.h
5092 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5093 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5095 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5096 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5098 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5100 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5102 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5103 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5104 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5105 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5106 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5107 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5108 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5109 (elf_machine_lazy_rel): Likewise.
5110 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5112 (elf_machine_lazy_rel): Likewise.
5113 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5114 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5115 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5116 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5117 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5118 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5119 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5122 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5123 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5124 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5125 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5126 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5127 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5128 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5129 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5130 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5131 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5132 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5134 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5135 (__posix_fallocate64_l64): Likewise.
5136 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5137 (posix_fallocate): Likewise.
5138 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5140 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5141 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5142 (getifaddrs_internal): Likewise.
5143 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5144 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5145 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5146 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5147 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5148 (__posix_fallocate64_l64): Likewise.
5149 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5151 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5152 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5153 (__get_clockfreq): Likewise.
5154 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5155 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5156 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5159 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5160 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5161 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5163 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5164 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5165 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5166 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5167 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5168 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5169 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5171 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5172 (posix_fallocate): Likewise.
5173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5174 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5175 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5176 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5177 (elf_machine_rela, elf_machine_rela_relative)
5178 (elf_machine_lazy_rel): Likewise.
5179 * time/asctime.c (asctime_internal): Likewise.
5180 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5181 * time/tzset.c (__tzset_parse_tz): Likewise.
5182 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5183 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5184 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5185 * wcsmbs/wcsmbsload.h: Likewise.
5188 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5190 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5191 (arena_get2): Remove THREAD_STATS conditionals.
5192 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5193 (__malloc_stats, int): Likewise.
5195 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5197 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5198 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5200 * manual/setjmp.texi: Fix typos/grammar errors.
5202 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5203 Only return early when n is <= 0. Delete unused return statement.
5205 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5206 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5207 * debug/tst-longjmp_chk3.c: New file.
5209 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5210 (test_main): Replace code with set_fortify_handler call.
5211 * debug/test-strcpy_chk.c: Likewise.
5212 * debug/tst-chk1.c: Likewise.
5213 * debug/tst-longjmp_chk.c: Likewise.
5214 * test-skeleton.c: Include fcntl.h & paths.h
5215 (set_fortify_handler): Define.
5217 * debug/tst-longjmp_chk.c: Add header comment and include
5219 (do_test): Mark static.
5220 (TEST_FUNCTION): Define.
5222 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5223 (IP_PMTUDISC_INTERFACE): Likewise.
5224 (IP_MULTICAST_IF): Likewise.
5225 (IP_MULTICAST_TTL): Likewise.
5226 (IP_MULTICAST_LOOP): Likewise.
5227 (IP_ADD_MEMBERSHIP): Likewise.
5228 (IP_DROP_MEMBERSHIP): Likewise.
5229 (IP_UNBLOCK_SOURCE): Likewise.
5230 (IP_BLOCK_SOURCE): Likewise.
5231 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5232 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5233 (IP_MSFILTER): Likewise.
5234 (MCAST_JOIN_GROUP): Likewise.
5235 (MCAST_BLOCK_SOURCE): Likewise.
5236 (MCAST_UNBLOCK_SOURCE): Likewise.
5237 (MCAST_LEAVE_GROUP): Likewise.
5238 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5239 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5240 (MCAST_MSFILTER): Likewise.
5241 (IP_MULTICAST_ALL): Likewise.
5242 (IP_UNICAST_IF): Likewise.
5244 * timezone/Makefile: Delete $(have-ksh) check.
5245 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5246 * timezone/tzselect.ksh: Add +x mode bits.
5248 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5249 (ANON_INODE_FS_MAGIC): Likewise.
5250 (BDEVFS_MAGIC): Likewise.
5251 (BINFMTFS_MAGIC): Likewise.
5252 (BTRFS_TEST_MAGIC): Likewise.
5253 (CRAMFS_MAGIC_WEND): Likewise.
5254 (DEBUGFS_MAGIC): Likewise.
5255 (ECRYPTFS_SUPER_MAGIC): Likewise.
5256 (EXT3_SUPER_MAGIC): Likewise.
5257 (EXT4_SUPER_MAGIC): Likewise.
5258 (FUTEXFS_SUPER_MAGIC): Likewise.
5259 (HOSTFS_SUPER_MAGIC): Likewise.
5260 (HUGETLBFS_MAGIC): Likewise.
5261 (MINIX3_SUPER_MAGIC): Likewise.
5262 (MTD_INODE_FS_MAGIC): Likewise.
5263 (NILFS_SUPER_MAGIC): Likewise.
5264 (OPENPROM_SUPER_MAGIC): Likewise.
5265 (PIPEFS_MAGIC): Likewise.
5266 (PSTOREFS_MAGIC): Likewise.
5267 (QNX6_SUPER_MAGIC): Likewise.
5268 (RAMFS_MAGIC): Likewise.
5269 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5270 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5271 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5272 (SECURITYFS_MAGIC): Likewise.
5273 (SELINUX_MAGIC): Likewise.
5274 (SMACK_MAGIC): Likewise.
5275 (SOCKFS_MAGIC): Likewise.
5276 (SQUASHFS_MAGIC): Likewise.
5277 (STACK_END_MAGIC): Likewise.
5278 (TMPFS_MAGIC): Likewise.
5279 (USBDEVICE_SUPER_MAGIC): Likewise.
5280 (V9FS_MAGIC): Likewise.
5281 (XENFS_SUPER_MAGIC): Likewise.
5282 (CRAMFS_MAGIC): Fix typo in comment.
5283 (EXT2_SUPER_MAGIC): Update comment.
5284 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5286 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5289 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5290 * sysdeps/unix/sysv/linux/arm: Move directory from
5291 ports/sysdeps/unix/sysv/linux/arm.
5292 * README: Update listing for arm-*-linux-gnueabi.
5294 * README: Remove mention of am33.
5296 2014-02-07 Roland McGrath <roland@hack.frob.com>
5298 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5299 than the comma operator, to avoid "rhs of comma has no effect"
5301 (__sigfillset, __sigandset, __sigorset): Likewise.
5302 * include/signal.h (__sigemptyset): Likewise.
5303 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5305 2014-02-07 Allan McRae <allan@archlinux.org>
5307 * version.h (RELEASE): Set to "development".
5308 (VERSION): Set to "2.19.90"
5309 * NEWS: Add 2.20 section.
5311 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5314 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5316 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5318 * manual/contrib.texi: Update entry for Carlos O'Donell,
5319 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5321 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5323 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5325 * sysdeps/unix/sysv/linux/kernel-features.h
5326 [__LINUX_KERNEL_VERSION >= 0x020621]
5327 (__ASSUME_PROC_PID_TASK_COMM): Define.
5329 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5332 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5333 conversion when destination buffer does not have enough space.
5334 * libio/tst-ftell-partial-wide.c: New test case.
5335 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5337 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5338 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5339 Leonard and Allan McRae.
5341 2014-02-04 David S. Miller <davem@davemloft.net>
5343 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5346 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5375 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5377 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5378 * shlib-versions: Likewise.
5380 2014-02-04 Roland McGrath <roland@hack.frob.com>
5381 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5384 (abilist-pattern): New variable, set to %-le.abilist.
5386 * Makerules (abilist-pattern): New variable.
5387 (vpath): Use $(abilist-pattern) in place of %.abilist.
5388 (check-abi-% pattern rule): Likewise.
5389 (check-abi, update-abi): Likewise.
5391 2014-02-04 Eric Wong <normalperson@yhbt.net>
5393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5395 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5397 * manual/startup.texi: Add next, previous, and top entries for
5398 the `Program Arguments' and `Environment Variables' nodes.
5400 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5402 * manual/macros.texi: Add comments before MTASC-safety macros.
5404 * manual/users.texi: Document MTASC-safety properties.
5406 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5407 (pthread_getspecific, pthread_setspecific): Format with
5408 @deftypefun, and add @safety note.
5409 * manual/signal.texi: Move comments that analyze the above
5410 functions to their home place.
5412 2014-02-03 Allan McRae <allan@archlinux.org>
5414 * po/sl.po: Update Slovenian translation from translation project.
5416 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5418 * manual/time.texi (timegm): Add missing blank after @c.
5419 Reported by Joseph Myers <joseph@codesourcery.com>.
5421 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5423 * manual/check-safety.sh: New.
5424 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5426 * manual/terminal.texi: Document MTASC-safety properties.
5428 * manual/filesys.texi: Document MTASC-safety properties.
5430 * manual/errno.texi: Document MTASC-safety properties.
5432 * manual/intro.texi: Document safety identifiers and
5435 * manual/string.texi (wcstok): Fix prototype.
5436 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5438 * manual/time.texi: Document MTASC-safety properties.
5440 * manual/string.texi: Document MTASC-safety properties.
5442 * manual/threads.texi: Document MTASC-safety properties.
5444 * manual/stdio.texi: Document MTASC-safety properties.
5446 * manual/syslog.texi: Document MTASC-safety properties.
5448 * manual/sysinfo.texi: Document MTASC-safety properties.
5450 * manual/startup.texi: Document MTASC-safety properties.
5452 * manual/socket.texi: Document MTASC-safety properties.
5454 * manual/signal.texi: Document MTASC-safety properties.
5456 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5458 * manual/setjmp.texi: Document MTASC-safety properties.
5460 * manual/search.texi: Document MTASC-safety properties.
5462 * manual/resource.texi: Document MTASC-safety properties.
5464 * manual/process.texi: Document MTASC-safety properties.
5466 * manual/platform.texi: Document MTASC-safety properties.
5468 * manual/pipe.texi: Document MTASC-safety properties.
5470 * manual/pattern.texi: Document MTASC-safety properties.
5472 * manual/message.texi: Document MTASC-safety properties.
5475 * manual/memory.texi: Document MTASC-safety properties.
5477 * manual/math.texi: Document MTASC-safety properties.
5479 * manual/locale.texi: Document MTASC-safety properties.
5481 * manual/llio.texi: Document MTASC-safety properties.
5483 * manual/libdl.texi: New.
5485 * manual/lang.texi: Document MTASC-safety properties.
5487 * manual/job.texi: Document MTASC-safety properties.
5489 * manual/getopt.texi: Document MTASC-safety properties.
5491 * manual/ctype.texi: Document MTASC-safety properties.
5493 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5496 * csu/libc-tls.c (static_map): Remove variable.
5497 (__libc_setup_tls): Use main executable's link map for TLS data.
5498 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5499 casing for LM_ID_BASE and GL(dl_nns).
5500 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5501 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5502 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5503 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5504 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5506 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5509 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5511 * manual/debug.texi: Document MTASC-safety properties.
5513 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5516 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5517 of __x86_64__ when disabling x87 inline functions.
5519 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5521 * manual/charset.texi: Document MTASC-safety properties.
5523 * manual/crypt.texi: Document MTASC-safety properties.
5525 * manual/conf.texi: Document MTASC-safety properties.
5527 * manual/arith.texi: Document MTASC-safety properties.
5529 * manual/argp.texi: Document MTASC-safety properties.
5531 * manual/macros.texi: Introduce macros to document multi
5532 thread, asynchronous signal and asynchronous cancellation
5534 * manual/intro.texi: Introduce the properties themselves.
5536 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5538 * sysdeps/sh/sh4/Makefile: New file.
5540 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5542 * math/gen-libm-test.pl ($srcdir): New variable.
5543 ($auto_input): Use it.
5545 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5548 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5549 access beyond array bounds when parsing netgroups file.
5551 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5552 the old buffer before realloc.
5554 2014-01-27 Allan McRae <allan@archlinux.org>
5556 * po/fr.po: Update French translation from translation project.
5558 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5560 * sysdeps/sh/libm-test-ulps: Regenerate.
5562 2014-01-24 David S. Miller <davem@davemloft.net>
5564 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5566 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5568 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5569 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5571 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5574 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5575 string pointers after reallocation.
5577 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5579 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5580 __SH4A__ instead of __SH_FPU_ANY__.
5582 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5584 * sysdeps/sh/fpu_control.h: New file.
5585 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5586 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5587 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5588 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5589 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5590 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5591 * sysdeps/sh/sys/ucontext.h: Remove.
5592 * sysdeps/sh/sys: Remove directory.
5594 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5596 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5597 s390/sys/ucontext.h.
5598 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5599 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5601 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5604 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5606 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5610 Adjust the vDSO correctly for internal calls.
5611 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5613 2014-01-20 Allan McRae <allan@archlinux.org>
5615 * po/ca.po: Update Catalan translation from translation project.
5617 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5619 * sysdeps/s390/sotruss-lib.c: New file.
5621 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5625 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5626 local calls issues by not having a PLT stub required for IFUNC calls.
5627 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5629 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5631 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5632 * math/test-fpucw-static.c: Likewise.
5634 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5637 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5639 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5642 implementation for powerpc.
5644 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5647 * sysdeps/posix/system.c (__libc_system): Do not enable
5648 asynchronous cancellation.
5650 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5653 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5654 handling only for numbers special also in the IEEE case.
5656 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5658 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5660 2014-01-11 Allan McRae <allan@archlinux.org>
5662 * po/bg.po: Update Bulgarian translation from translation project.
5664 * po/de.po: Update German translation from translation project.
5666 2014-01-10 Roland McGrath <roland@hack.frob.com>
5668 * sysdeps/generic/gcc-compat.h: New file.
5670 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5672 * benchtests/asin-inputs: Correct slow inputs.
5673 * benchtests/acos-inputs: Likewise.
5675 2014-01-10 Allan McRae <allan@archlinux.org>
5677 * po:sv.po: Update Swedish translation from translation project.
5679 * po/vi.po: Update Vietnamese translation from translation project.
5681 * po/eo.po: Update Esperanto translation from translation project.
5683 * po/cs.po: Update Czech translation from translation project.
5685 * po/nl.po: Update Dutch translation from translation project.
5687 * po/pl.po: Update Polish translation from translation project.
5689 * po/ru.po: Update Russian translation from translation project.
5691 * po/uk.po: Update Ukrainian translation from translation project.
5693 2014-01-08 Brooks Moses <bmoses@google.com>
5695 * elf/dl-load.c: Fix comment typo.
5697 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5699 * po/header.pot: Rename to...
5700 * po/pot.header: ... this.
5701 * po/Makefile: Use pot.header.
5703 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5704 Maxim Kuvyrkov <maxim@kugelworks.com>
5707 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5708 SRC and DEST against LEN.
5710 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5713 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5715 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5717 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5721 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5725 for large positive arguments.
5727 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5729 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5731 * math/auto-libm-test-in: Mark various tests with
5732 xfail-rounding:ldbl-128ibm.
5733 * math/auto-libm-test-out: Regenerated.
5736 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5737 Increase overflow threshold.
5739 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5742 * stdio-common/vfprintf.c: Check for integer overflow.
5744 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5746 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5747 the first argument and return value of __tls_get_addr_internal.
5749 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5751 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5752 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5754 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5756 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5757 * sysdeps/s390/rtld-global-offsets.sym: New file.
5758 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5760 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5761 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5762 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5764 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5765 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5771 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5772 halfs of GPRs for high_gprs contexts.
5773 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5774 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5776 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5778 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5780 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5781 for high GPRs (uc_high_gprs) and for future extensions
5783 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5784 for future extensions (__reserved).
5785 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5787 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5788 SC_HIGHGPRS offset definition.
5789 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5790 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5792 * Versions.def: Add GLIBC_2.19 for libpthread.
5793 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5794 siglongjmp for libpthread with GLIBC_2.19 symver.
5795 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5796 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5797 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5798 * sysdeps/s390/__longjmp.c: New file.
5799 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5800 * sysdeps/s390/longjmp.c: New file.
5801 * sysdeps/s390/setjmp.S: New file.
5802 * sysdeps/s390/sigjmp.S: New file.
5803 * sysdeps/s390/v1-longjmp.c: New file.
5804 * sysdeps/s390/v1-setjmp.h: New file.
5805 * sysdeps/s390/v1-sigjmp.c: New file.
5806 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5807 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5809 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5810 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5811 versioned symbols for ____longjmp_chk.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5822 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5823 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5824 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5825 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5826 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5827 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5828 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5829 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5830 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5831 * sysdeps/s390/rtld-__longjmp.c: New file.
5832 * sysdeps/s390/rtld-setjmp.S: New file.
5834 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5837 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5838 Return -__logl (x) for small positive arguments without evaluating
5841 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5843 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5845 (__ptrace_peeksiginfo_args): ... this.
5846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5850 2014-01-06 Allan McRae <allan@archlinux.org>
5852 * inet/netinet/in.h: Fix typo in comment.
5854 2014-01-05 Andreas Jaeger <aj@suse.de>
5856 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 2014-01-05 Allan McRae <allan@archlinux.org>
5860 * po/libc.pot: Regenerated.
5862 * malloc/memusagestat.c: Fix gettext call formatting.
5864 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5866 * nscd/nscd.c: Improve usage() output.
5868 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5870 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5871 * sysdeps/unix/sysv/linux/configure: Regenerated.
5872 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5873 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5875 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5878 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5879 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5881 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5884 extra tokens at end of #undef directive.
5885 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5886 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5889 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5893 * math/auto-libm-test-in: Mark various tests with
5894 xfail-rounding:ldbl-128ibm.
5895 * math/auto-libm-test-out: Regenerated.
5897 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5900 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5901 numbers with subnormal high part when calculating exponent.
5904 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5910 (__ieee754_acoshl): Use __log1pl not __log1p.
5912 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5914 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5915 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5916 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5917 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5918 (reused_arena, arena_get2): Convert to GNU style.
5919 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5920 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5921 (memalign_check, __malloc_set_state): Likewise.
5922 * malloc/mallocbug.c (main): Likewise.
5923 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5924 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5925 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5926 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5927 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5928 (__posix_memalign, malloc_info): Likewise.
5929 * malloc/malloc.h: Likewise.
5930 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5931 (mallochook, memalignhook, reallochook, mabort): Likewise.
5932 * malloc/mcheck.h: Likewise.
5933 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5934 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5935 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5936 * malloc/morecore.c (__default_morecore): Likewise.
5937 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5938 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5939 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5940 (print_and_abort): Likewise.
5941 * malloc/obstack.h: Likewise.
5942 * malloc/set-freeres.c (__libc_freeres): Likewise.
5943 * malloc/tst-mallocstate.c (main): Likewise.
5944 * malloc/tst-mtrace.c (main): Likewise.
5945 * malloc/tst-realloc.c (do_test): Likewise.
5947 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5950 * nscd/netgroupcache.c (do_notfound): New function.
5951 (addgetnetgrentX): Use it.
5954 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5955 NSS_STATUS_NOTFOUND.
5957 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962 2014-01-01 Allan McRae <allan@archlinux.org>
5964 * scripts/update-copyrights: Update configure input file suffix.
5966 * NEWS: Update copyright year.
5967 * catgets/gencat.c: Likewise.
5968 * csu/version.c: Likewise.
5969 * debug/catchsegv.sh: Likewise.
5970 * debug/pcprofiledump.c: Likewise.
5971 * debug/xtrace.sh: Likewise.
5972 * elf/ldconfig.c: Likewise.
5973 * elf/ldd.bash.in: Likewise.
5974 * elf/pldd.c: Likewise.
5975 * elf/sotruss.ksh: Likewise.
5976 * elf/sprof.c: Likewise.
5977 * iconv/iconv_prog.c: Likewise.
5978 * iconv/iconvconfig.c: Likewise.
5979 * locale/programs/locale.c: Likewise.
5980 * locale/programs/localedef.c: Likewise.
5981 * login/programs/pt_chown.c: Likewise.
5982 * malloc/memusage.sh: Likewise.
5983 * malloc/memusagestat.c: Likewise.
5984 * malloc/mtrace.pl: Likewise.
5985 * manual/libc.texinfo: Likewise.
5986 * nscd/nscd.c: Likewise.
5987 * nss/getent.c: Likewise.
5988 * nss/makedb.c: Likewise.
5989 * posix/getconf.c: Likewise.
5990 * scripts/test-installation.pl: Likewise.
5992 * All files with FSF copyright notices: Update copyright dates
5993 using scripts/update-copyrights.
5994 * intl/plural.c: Regenerated.
5995 * locale/programs/charmap-kw.h: Likewise.
5996 * locale/programs/locfile-kw.h: Likewise.
5998 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6000 * sysdeps/unix/sysv/linux/configure: Regenerated.
6001 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6002 the linux/fanotify.h header.
6003 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6004 HAVE_LINUX_FANOTIFY_H is defined.
6006 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6008 * benchtests/cos-inputs: New inputs.
6009 * benchtests/sin-inputs: Likewise.
6011 * benchtests/atan-inputs: New inputs. Fix name of multiple
6012 precision fallback inputs.
6014 * benchtests/atanh-inputs: New inputs.
6015 * benchtests/tanh-inputs: Likewise.
6017 * benchtests/acosh-inputs: New inputs.
6018 * benchtests/asinh-inputs: Likewise.
6020 * benchtests/cosh-inputs: New inputs.
6021 * benchtests/sinh-inputs: Likewise.
6023 * benchtests/acos-inputs: Add more inputs.
6024 * benchtests/asin-inputs: Likewise.
6026 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6029 * manual/arith.texi: Fix spelling.
6030 * manual/charset.texi: Likewise.
6031 * manual/errno.texi: Likewise.
6032 * manual/filesys.texi: Likewise.
6033 * manual/lang.texi: Likewise.
6034 * manual/llio.texi: Likewise.
6035 * manual/locale.texi: Likewise.
6036 * manual/message.texi: Likewise.
6037 * manual/resource.texi: Likewise.
6038 * manual/search.texi: Likewise.
6039 * manual/setjmp.texi: Likewise.
6040 * manual/stdio.texi: Likewise.
6041 * manual/string.texi: Likewise.
6042 * manual/sysinfo.texi: Likewise.
6043 * manual/time.texi: Likewise.
6045 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6047 * po/sl.po: New file.
6049 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6051 * .gitignore: Add core/.gdbinit/.gdb_history.
6053 2013-12-27 Allan McRae <allan@archlinux.org>
6056 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6057 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6059 2013-12-24 Brooks Moses <bmoses@google.com>
6061 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6062 all compilers that claim C++98 compliance, not just GCC.
6063 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6066 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6068 * NEWS: Restore accidentally deleted bug-fix entries.
6070 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6071 Ondřej Bílka <neleai@seznam.cz>
6074 * malloc/malloc.c (_int_free): Perform sanity check only if we
6077 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6080 * manual/stdio.texi (String Input Conversions): Clarify that character
6081 classes are not supported.
6083 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6087 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6090 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6091 Calculate results for small negative arguments directly rather
6092 than using reflection formula with special underflow handling.
6094 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6095 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6096 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6097 (fchflags): Likewise.
6099 (setlogin): Likewise.
6100 (sigaltstack): Likewise.
6103 (sigsetmask): Likewise.
6105 (waitpid): Likewise.
6106 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6107 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6109 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6110 * sysdeps/unix/bsd/Makefile: ... here.
6111 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6112 * sysdeps/unix/bsd/Versions: ... here.
6113 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6114 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6115 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6116 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6117 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6118 * sysdeps/unix/bsd/sigblock.c: ... here.
6119 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6120 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6121 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6122 * sysdeps/unix/bsd/sigvec.c: ... here.
6123 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6124 * sysdeps/unix/bsd/tcdrain.c: ... here.
6125 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6126 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6127 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6128 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6129 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6130 * sysdeps/unix/bsd/wait.c: ... here.
6131 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6132 * sysdeps/unix/bsd/wait3.c: ... here.
6133 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6134 * sysdeps/unix/bsd/waitpid.c: ... here.
6136 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6140 round-to-nearest for [!USE_AS_EXPM1L].
6141 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6142 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6143 more tests of exp and exp10. Expect some exp10 tests to miss
6144 exceptions or fail in directed rounding modes.
6145 * math/auto-libm-test-out: Regenerated.
6146 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6147 (exp10_test_tonearest): New function.
6148 (exp10_towardzero_test_data): New array.
6149 (exp10_test_towardzero): New function.
6150 (exp10_downward_test_data): New array.
6151 (exp10_test_downward): New function.
6152 (exp10_upward_test_data): New array.
6153 (exp10_test_upward): New function.
6154 (main): Call the new functions.
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6158 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6160 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6161 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6162 * math/auto-libm-test-out: Regenerated.
6163 * math/libm-test.inc (acosh_test_data): Add more tests.
6164 (atanh_test_data): Likewise.
6165 (ceil_test_data): Likewise.
6166 (copysign_test_data): Likewise.
6167 * sysdeps/i386/fpu/libm-test-ulps: Update.
6168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170 * timezone/checktab.awk: Update from tzcode 2013i.
6171 * timezone/private.h: Likewise.
6172 * timezone/scheck.c: Likewise.
6173 * timezone/tzfile.h: Likewise.
6174 * timezone/tzselect.ksh: Likewise.
6175 * timezone/zdump.c: Likewise.
6176 * timezone/zic.c: Likewise.
6178 * math/auto-libm-test-in: Add tests of cpow.
6179 * math/auto-libm-test-out: Regenerated.
6180 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6183 (func_calc_desc): Add mpc_cc_c union field.
6184 (test_functions): Add cpow.
6185 (special_fill_2pi): New function.
6186 (special_real_inputs): Add 2pi.
6187 (calc_generic_results): Handle mpc_cc_c.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6192 csqrt, ctan and ctanh.
6193 * math/auto-libm-test-out: Regenerated.
6194 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6195 (TEST_COND_x86): Likewise.
6196 (ccos_test_data): Use AUTO_TESTS_c_c.
6197 (ccosh_test_data): Likewise.
6198 (cexp_test_data): Likewise.
6199 (clog_test_data): Likewise.
6200 (csqrt_test_data): Likewise.
6201 (ctan_test_data): Likewise.
6202 (ctan_tonearest_test_data): Likewise.
6203 (ctan_towardzero_test_data): Likewise.
6204 (ctan_downward_test_data): Likewise.
6205 (ctan_upward_test_data): Likewise.
6206 (ctanh_test_data): Likewise.
6207 (ctanh_tonearest_test_data): Likewise.
6208 (ctanh_towardzero_test_data): Likewise.
6209 (ctanh_downward_test_data): Likewise.
6210 (ctanh_upward_test_data): Likewise.
6211 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6213 (func_calc_desc): Add mpc_c_c union field.
6214 (FUNC_mpc_c_c): New macro.
6215 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6216 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6218 (special_fill_min_subnorm_p120): New function.
6219 (special_real_inputs): Add min_subnorm_p120.
6220 (calc_generic_results): Handle mpc_c_c.
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6224 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6226 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6227 (do_sin_slow): New functions.
6228 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6229 (cslow2, csloww1, csloww2): Use the new functions.
6231 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6232 Use M to change sign of result instead of X. Assume X is
6234 (csloww1): Likewise.
6238 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6245 (sloww1): Don't adjust sign of DX.
6246 (csloww1): Likewise.
6247 (sloww2): Use X directly and don't adjust sign of DX.
6248 (csloww2): Likewise.
6250 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6252 * math/auto-libm-test-in: Add tests of cabs and carg.
6253 * math/auto-libm-test-out: Regenerated.
6254 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6255 (carg_test_data): Likewise.
6256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6258 (func_calc_desc): Add mpc_c_f union field.
6259 (test_functions): Add cabs and carg.
6260 (calc_generic_results): Handle mpc_c_f.
6262 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6263 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6264 as a macro and a compat symbol.
6265 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6266 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6267 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6268 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6269 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6272 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6274 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6276 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6280 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6282 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6283 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6286 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6290 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6292 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6293 trailing whitespace removed.
6294 * scripts/config.guess: Update to version 2013-11-29.
6295 * scripts/config.sub: Update to version 2013-10-01.
6297 * math/auto-libm-test-in: Add tests of sincos.
6298 * math/auto-libm-test-out: Regenerated.
6299 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6300 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6302 (func_calc_desc): Add mpfr_f_11 union field.
6303 (test_functions): Add sincos.
6304 (calc_generic_results): Handle mpfr_f_11.
6305 * sysdeps/i386/fpu/libm-test-ulps: Update.
6306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6308 2013-12-19 Andreas Schwab <schwab@suse.de>
6310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6313 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6314 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6316 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6318 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6319 * sysdeps/i386/fpu/libm-test-ulps: Update.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6323 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6324 round-to-nearest mode when using frndint.
6325 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6326 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6329 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6331 * math/auto-libm-test-out: Regenerated.
6332 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6333 (TEST_COND_x86): Likewise.
6334 (expm1_tonearest_test_data): New array.
6335 (expm1_test_tonearest): New function.
6336 (expm1_towardzero_test_data): New array.
6337 (expm1_test_towardzero): New function.
6338 (expm1_downward_test_data): New array.
6339 (expm1_test_downward): New function.
6340 (expm1_upward_test_data): New array.
6341 (expm1_test_upward): New function.
6342 (main): Run the new test functions.
6343 * sysdeps/i386/fpu/libm-test-ulps: Update.
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6346 * include/features.h: Update comment documenting feature test
6347 macros. Mention _DEFAULT_SOURCE in comment.
6348 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6349 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6350 _BSD_SOURCE and _SVID_SOURCE.
6351 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6352 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6353 !_SVID_SOURCE]: Likewise.
6354 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6355 (__USE_POSIX_IMPLICITLY): Define.
6356 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6357 (_POSIX_SOURCE): Undefine and redefine.
6358 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6359 (_POSIX_C_SOURCE): Likewise.
6360 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6361 (Feature Test Macros): Update documentation of default features.
6363 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6365 * benchtests/Makefile: Add bench-strtok.
6366 * benchtests/bench-strtok.c: New file: strtok benchtest.
6368 2013-12-19 Allan McRae <allan@archlinux.org>
6370 * manual/install.texi: Suppress menu for plain text output.
6371 * INSTALL: Regenerated.
6373 2013-12-18 Brooks Moses <bmoses@google.com>
6376 * misc/getauxval.c: Include errno.h.
6377 (__getauxval): Set errno to ENOENT if the requested type is not
6379 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6380 don't declare with __attribute_const__.
6381 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6382 * manual/startup.texi: Document that getauxval sets errno.
6384 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6386 * math/auto-libm-test-in: Add tests of jn and yn.
6387 * math/auto-libm-test-out: Regenerated.
6388 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6389 (yn_test_data): Likewise.
6390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6392 (func_calc_desc): Add mpfr_if_f union field.
6393 (FUNC_mpfr_if_f): New macro.
6394 (test_functions): Add jn and yn.
6395 (calc_generic_results): Assert type of second input for
6396 mpfr_ff_f. Handle mpfr_if_f.
6397 (output_for_one_input_case): Disable all checking for arguments
6398 fitting floating-point types in case of an integer argument.
6399 * sysdeps/i386/fpu/libm-test-ulps: Update.
6400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6403 Don't expect fegetround reference in libm.so.
6405 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6407 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6408 $(config-cflags-nofma).
6410 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6412 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6413 * math/auto-libm-test-out: Regenerated.
6416 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6417 to determine exponent and adjust argument to have exponent of -1.
6418 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6420 * math/auto-libm-test-out: Regenerated.
6421 * sysdeps/i386/fpu/libm-test-ulps: Update.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6424 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6426 * manual/probes.texi: Remove cases when per-thread arenas are
6429 2013-12-18 Andreas Schwab <schwab@suse.de>
6431 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6432 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6433 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6434 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6435 * sysdeps/i386/i686/multiarch/Makefile: Update.
6436 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6438 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6440 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6441 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6443 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6446 Support TZ transition times < 00:00:00.
6447 This is needed for version-3 tz-format files; it supports time
6448 stamps past 2037 for America/Godthab (the only entry in the tz
6449 database for which this change is relevant).
6450 * manual/time.texi (TZ Variable): Document transition times
6451 from -167:59:59 through -00:00:01.
6452 * time/tzset.c (tz_rule): Time of day is now signed.
6453 (__tzset_parse_tz): Parse negative time of day.
6455 Document TZ transition times >= 25:00:00.
6456 * manual/time.texi (TZ Variable): Document transition times from
6457 25:00:00 through 167:59:59. These are already supported, and this
6458 support will help with version-3 tz-format files.
6460 * manual/time.texi (TZ Variable): Modernize North America example
6461 to reflect current (i.e., 2007-and-later) daylight saving rules.
6463 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6465 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6468 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6471 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6472 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6473 * sysdeps/unix/bsd/clock.c: Likewise.
6474 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6475 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6476 * sysdeps/unix/bsd/init-posix.c: Likewise.
6477 * sysdeps/unix/bsd/poll.c: Likewise.
6478 * sysdeps/unix/bsd/ptsname.c: Likewise.
6479 * sysdeps/unix/bsd/seekdir.c: Likewise.
6480 * sysdeps/unix/bsd/setegid.c: Likewise.
6481 * sysdeps/unix/bsd/seteuid.c: Likewise.
6482 * sysdeps/unix/bsd/setgid.c: Likewise.
6483 * sysdeps/unix/bsd/setrgid.c: Likewise.
6484 * sysdeps/unix/bsd/setruid.c: Likewise.
6485 * sysdeps/unix/bsd/setsid.c: Likewise.
6486 * sysdeps/unix/bsd/setuid.c: Likewise.
6487 * sysdeps/unix/bsd/sigaction.c: Likewise.
6488 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6489 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6490 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6491 * sysdeps/unix/bsd/telldir.c: Likewise.
6492 * sysdeps/unix/bsd/times.c: Likewise.
6493 * sysdeps/unix/bsd/usleep.c: Likewise.
6495 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6496 ($(objpfx)libbsd-compat.a): Remove rule.
6498 * include/features.h (__FAVOR_BSD): Do not define.
6499 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6500 features conflicting with POSIX.
6501 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6502 (_BSD_SOURCE): Remove description of not being a subset of other
6503 feature test macros.
6504 * manual/job.texi (getpgrp): Do not document BSD version.
6505 (getpgid): Do not document by reference to BSD getpgrp.
6506 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6507 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6508 * signal/signal.h [__FAVOR_BSD]: Likewise.
6509 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6510 instead of making contents conditional on [__FAVOR_BSD].
6511 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6513 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6517 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6520 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6521 values below 2**-450, not 2**-500.
6522 * math/auto-libm-test-in: Don't allow spurious underflow from
6524 * math/auto-libm-test-out: Regenerated.
6528 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6529 values of ha and hb and sort them after adjusting subnormal
6531 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6534 values of ea and eb and sort them after adjusting subnormal
6536 * math/auto-libm-test-in: Do not expect some hypot tests of
6537 subnormals to fail. Add more hypot tests.
6538 * math/auto-libm-test-out: Regenerated.
6540 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6543 * sysdeps/sh/s_fma.c: New file.
6544 * sysdeps/sh/s_fmaf.c: New file.
6545 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6547 * sysdeps/sh/Implies: Add sh/soft-fp.
6549 2013-12-16 Roland McGrath <roland@hack.frob.com>
6551 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6552 level of indirection to members `objname', `errstring', `malloced'.
6553 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6554 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6555 it as the __longjmp argument (just pass 1 instead).
6556 (_dl_catch_error): Initialize C with argument pointers and address of
6557 volatile local ERRCODE rather than copying values out of C at return.
6559 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6561 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6562 * math/auto-libm-test-out: Regenerated.
6563 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6564 (hypot_test_data): Likewise.
6565 (pow_test_data): Likewise.
6566 (pow_tonearest_test_data): Likewise.
6567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6569 (func_calc_desc): Add mpfr_ff_f union field.
6570 (FUNC_mpfr_ff_f): New macro.
6571 (test_functions): Add atan2, hypot and pow.
6572 (special_fill_min): New function.
6573 (special_fill_minus_min): Likewise.
6574 (special_fill_min_subnorm): Likewise.
6575 (special_fill_minus_min_subnorm): Likewise.
6576 (special_real_inputs): Add min, -min, min_subnorm and
6578 (calc_generic_results): Handle mpfr_ff_f.
6579 * sysdeps/i386/fpu/libm-test-ulps: Update.
6580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6582 2013-12-16 Will Newton <will.newton@linaro.org>
6584 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6585 (Aligned Memory Blocks): Add documentation for aligned_alloc
6586 and suggest it as an alternative to posix_memalign.
6587 (Hooks for Malloc): Document __memalign_hook is also called
6588 for aligned_alloc. (Summary of Malloc): Add summary for
6589 aligned alloc. Document __memalign_hook is also called
6592 2013-12-16 Will Newton <will.newton@linaro.org>
6594 * manual/memory.texi (Malloc Examples): Clarify default
6595 alignment documentation. Suggest posix_memalign rather
6596 than memalign or valloc.
6597 (Aligned Memory Blocks): Remove suggestion to use memalign
6598 or valloc. Remove obsolete comment about BSD.
6599 Document memalign errno values and mark the function obsolete.
6600 Document posix_memalign returned error codes. Mark valloc
6601 as obsolete. (Hooks for Malloc): __memalign_hook is also
6602 called for posix_memalign and valloc.
6603 (Summary of Malloc): Add posix_memalign to function summary.
6604 __memalign_hook is also called for posix_memalign and valloc.
6606 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6608 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6612 (sloww): Use mynumber union. Expand ternary operator into
6614 (cslow): use mynumber union.
6616 2013-12-16 Allan McRae <allan@archlinux.org>
6618 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6619 * configure: Regenerated.
6621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6624 * configure.ac: Added --enable-maintainer-mode. Check for
6625 autoconf when enabled.
6626 * configure: Regenerated.
6628 * nscd/nscd.service: New file.
6629 * nscd/nscd.tmpfiles: New file.
6631 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6634 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6635 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6636 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6637 (strstr): Add __strstr_sse2_unaligned ifunc.
6638 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6639 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6640 (strcasestr): Remove __strcasestr_sse42 ifunc.
6641 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6645 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6647 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6648 * sysdeps/sh/bits/fenv.h: ... here.
6649 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6651 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6656 hypotf multiarch implementations.
6657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6658 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6659 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6660 multiarch hypot for PPC64.
6661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6664 multiarch hypotf for PPC64.
6666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6667 modff multiarch implementations.
6668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6671 multiarch modf for PPC64.
6672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6675 multiarch modff for PPC64.
6677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6678 and logl multiarch implementations.
6679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6682 multiarch logb for PPC64.
6683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6686 multiarch logb for PPC64.
6687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6690 multiarch logb for PPC64.
6692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6693 isinff multiarch implementation.
6694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6698 multiarch isinf for PPC64.
6699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6702 multiarch isinff for PPC64.
6704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6705 finitef multiarch implementation.
6706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6710 multiarch finite for PPC64.
6711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6714 multiarch finitef for PPC64.
6716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6717 lrint multiarch implementation.
6718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6722 multiarch llrint for PPC64.
6723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6724 multiarch lrint for PPC64.
6726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6727 copysignf multiarch implementation.
6728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6733 multiarch copysign for PPC64.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6735 multiarch copysignf for PPC64.
6737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6738 multiarch implementation.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6747 multiarch llround for PPC64.
6748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6749 multiarch trunc for PPC64.
6750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6751 multiarch truncf for PPC64.
6753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6754 multiarch implementation.
6755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6763 multiarch llround for PPC64.
6764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6765 multiarch round for PPC64.
6766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6767 multiarch roundf for PPC64.
6769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6770 multiarch implementation.
6771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6779 multiarch llround for PPC64.
6780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6781 multiarch floor for PPC64.
6782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6783 multiarch floorf for PPC64.
6785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6786 multiarch implementation.
6787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6795 multiarch llround for PPC64.
6796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6797 multiarch ceil for PPC64.
6798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6799 multiarch ceilf for PPC64.
6801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6802 multiarch implementation.
6803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6810 multiarch llround for PPC64.
6811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6812 multiarch lround for PPC64.
6814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6815 multiarch implementation.
6816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6823 multiarch isnan for PPC64.
6824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6825 multiarch isnanf for PPC64.
6827 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6828 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6829 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6830 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6831 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6834 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6835 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6840 multiarch implementations.
6841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6842 (__libc_ifunc_impl_list): Likewise.
6843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6844 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6845 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6846 multiarch stpcpy for PPC64.
6848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6849 multiarch implementations.
6850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6851 (__libc_ifunc_impl_list): Likewise.
6852 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6853 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6854 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6855 multiarch strcpy for PPC64.
6857 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6858 redefine function name.
6859 (_wordcopy_fwd_dest_aligned): Likewise.
6860 (_wordcopy_bwd_aligned): Likewise.
6861 (_wordcopy_bwd_dest_aligned): Likewise.
6862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6863 multiarch implementations.
6864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6865 (__libc_ifunc_impl_list): Likewise.
6866 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6867 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6868 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6869 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6870 multiarch wcscpy for PPC64.
6872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6873 multiarch implementations.
6874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Likewise.
6876 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6877 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6878 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6879 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6880 multiarch wcscpy for PPC64.
6882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6883 multiarch implementations.
6884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6885 (__libc_ifunc_impl_list): Likewise.
6886 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6887 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6888 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6889 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6890 multiarch wcsrchr for PPC64.
6892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6893 multiarch implementations.
6894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6895 (__libc_ifunc_impl_list): Likewise.
6896 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6897 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6898 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6899 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6900 multiarch wcschr for PPC64.
6902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6903 multiarch implementations.
6904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6905 (__libc_ifunc_impl_list): Likewise.
6906 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6907 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6908 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6909 multiarch strchrnul for PPC64.
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6914 (__libc_ifunc_impl_list): Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6916 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6917 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6918 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6924 (__libc_ifunc_impl_list): Likewise.
6925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6926 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6927 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6928 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6932 multiarch implementations.
6933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6934 (__libc_ifunc_impl_list): Likewise.
6935 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6936 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6937 strncasecmp for PPC64.
6938 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6939 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6940 multiarch strncasecmp_l for PPC64.
6942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6943 multiarch implementations.
6944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6945 (__libc_ifunc_impl_list): Likewise.
6946 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6947 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6948 multiarch strcasecmp for PPC64.
6949 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6951 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6952 multiarch strcasecmp_l for PPC64.
6954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6957 (__libc_ifunc_impl_list): Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6959 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6960 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6966 (__libc_ifunc_impl_list): Likewise.
6967 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6968 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6969 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6975 (__libc_ifunc_impl_list): Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6977 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6978 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6979 rawmemrchr for PPC64.
6981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6984 (__libc_ifunc_impl_list): Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6986 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6987 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6993 (__libc_ifunc_impl_list): Likewise.
6994 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6995 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6996 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7002 (__libc_ifunc_impl_list): Likewise.
7003 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7004 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7005 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7008 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7009 avoid cretion of __bzero symbol.
7010 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7012 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7014 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7017 multiarch implementations.
7018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7019 (__libc_ifunc_impl_list): Likewise.
7020 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7021 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7022 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7023 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7025 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7026 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7027 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7028 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7029 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7031 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7033 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7037 (__libc_ifunc_impl_list): Likewise.
7038 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7039 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7040 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7041 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7045 multiarch for POWER/PPC64.
7046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7047 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7052 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7053 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7054 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7057 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7058 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7059 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7060 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7061 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7062 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7063 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7064 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7065 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7066 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7067 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7068 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7069 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7070 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7071 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7080 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7084 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7086 * benchtests/Makefile (bench): Add exp2 and log2.
7087 (LDLIBS-bench-exp2): Add -lm.
7088 (LDLIBS-bench-log2): Likewise.
7089 * benchtests/exp2-inputs: New inputs file.
7090 * benchtests/log2-inputs: New inputs file.
7091 * benchtests/log-inputs: Add new inputs.
7092 * benchtests/tan-inputs: Likewise.
7094 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7096 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7098 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7099 (csloww2): ... from here.
7101 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7102 instead of structures.
7103 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7104 (POLYNOMIAL): Likewise.
7105 (TAYLOR_SLOW): Likewise.
7113 (bsloww1): Likewise.
7114 (bsloww2): Likewise.
7117 (csloww1): Likewise.
7118 (csloww2): Likewise.
7120 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7122 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7123 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7124 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7125 * malloc/hooks.c (realloc_check): Likewise.
7127 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7128 * malloc/arena.c: Remove PER_THREAD conditional.
7129 [!PER_THREAD]: Remove code.
7130 (ptmalloc_unlock_all2): Likewise.
7131 (ptmalloc_init): Likewise.
7132 (_int_new_arena): Likewise.
7133 (arena_get2): Likewise.
7134 * malloc/hooks.c (__malloc_get_state): Likewise.
7135 (__malloc_set_state): Likewise.
7136 * malloc/malloc.c: Likewise.
7137 (struct malloc_state): Likewise.
7138 (struct malloc_par): Likewise.
7139 (__libc_realloc): Likewise.
7140 (__libc_mallopt): Likewise.
7142 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7144 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7146 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7148 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7149 macro to a function. Check for zero perturb_byte.
7150 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7152 * malloc/malloc.c: (force_reg): Remove.
7153 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7154 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7155 force_reg by atomic_forced_read.
7156 * malloc/arena.c (ptmalloc_init): Likewise.
7157 * malloc/hooks.c (top_check): Likewise.
7159 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7163 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7167 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7169 * math/auto-libm-test-in: Add tests of lgamma.
7170 * math/auto-libm-test-out: Regenerated.
7171 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7172 (M_LOG_2_SQRT_PIl): Likewise.
7173 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7174 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7176 (func_calc_desc): Add mpfr_f_f1 union field.
7185 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7186 (test_functions): Add lgamma.
7187 (calc_generic_results): Handle mpfr_f_f1.
7188 * sysdeps/i386/fpu/libm-test-ulps: Update.
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7194 __mpn_add_n for PowerPC64/POWER7.
7195 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7196 __mpn_sub_n for PowerPC64/POWER7.
7198 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7199 __mpn_addmul_1 for PowerPC64.
7200 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7201 __mpn_submul_1 for PowerPC64.
7202 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7204 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7207 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7210 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7212 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7214 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7216 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7217 add multiarch folders.
7218 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7219 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7220 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7221 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7222 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7223 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7224 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7225 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7226 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7227 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7228 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7237 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7243 multiarch __ieee754_hypot for PowerPC32.
7244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7249 multiarch __ieee754_hypotf for PowerPC32.
7251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7252 long_double_symbol only if __logbl is defined.
7253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7254 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7256 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7258 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7260 path for implementation.
7261 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7262 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7264 logb, and logbl multiarch implementations for PowerPC32.
7265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7270 multiarch logb for PowerPC32.
7271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7276 multiarch logbf for PowerPC32.
7277 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7281 multiarch logbl implementation for PowerPC32.
7283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7284 and modff multiarch implementations.
7285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7290 multiarch modf for PowerPC32.
7291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7296 multiarch modff for PowerPC32.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7299 and lrintf multiarch implementations.
7300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7305 multiarch lrint for PowerPC32.
7306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7307 file: multiarch lrintf for PowerPC32.
7309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7310 and lroundf multiarch implementations.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7318 multiarch lround for PowerPC32.
7319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7320 file: multiarch lroundf for PowerPC32.
7322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7323 copysign and copysignf multiarch implementations.
7324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7329 file: multiarch copysign for PowerPC32.
7330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7331 file: multiarch copysignf for PowerPC32.
7333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7334 and truncf multiarch implementations.
7335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7340 multiarch trunc for PowerPC32.
7341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7346 multiarch truncf for PowerPC32.
7348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7349 and roundf multiarch implementations.
7350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7355 multiarch round for PowerPC32.
7356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7361 multiarch roundf for PowerPC32.
7363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7364 and floorf multiarch implementations.
7365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7370 multiarch floor for PowerPC32.
7371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7376 multiarch floorf for PowerPC32.
7378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7379 and ceilf multiarch implementations.
7380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7385 multiarch ceil for PowerPC32.
7386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7391 multiarch ceilf for PowerPC32.
7393 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7395 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7398 and finitef multiarch implementations.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7404 multiarch finite for PowerPC32.
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7408 file: multiarch finitef for PowerPC32.
7410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7411 and isinff multiarch implementations.
7412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7417 multiarch isinf for PowerPC32.
7418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7421 multiarch isinff for PowerPC32.
7423 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7424 alias when __isnan is defined.
7425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7426 and isnanf multiarch implementations.
7427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7436 multiarch isnan for PowerPC32.
7437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7442 multiarch isnanf for PowerPC32.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7445 and sqrtf multiarch implementations.
7446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7451 multiarch sqrt for PowerPC32.
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7457 multiarch sqrtf for PowerPC32.
7459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7460 and llroundf multiarch implementations.
7461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7468 file: multiarch llround for PowerPC32.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7470 file: multiarch llroundf for PowerPC32.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7473 multiarch PowerPC32 fpu implementations.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7479 multiarch llrint for PowerPC32.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7491 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7493 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7496 multiarch wordcopy for PPC32.
7497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7500 (__libc_ifunc_impl_list): Likewise.
7501 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7502 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7504 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7505 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7506 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7508 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7516 multiarch wcscpy for PPC32.
7517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7520 (__libc_ifunc_impl_list): Likewise.
7521 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7522 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7523 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7524 sysdeps/powerpc/power6/wcscpy.c.
7526 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7534 multiarch wcsrchr for PPC32.
7535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7538 (__libc_ifunc_impl_list): Likewise.
7539 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7540 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7541 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7542 sysdeps/powerpc/power6/wcsrchr.c.
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7550 multiarch wcschr for PPc32.
7551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7554 (__libc_ifunc_impl_list): Likewise.
7555 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7556 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7557 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7558 sysdeps/powerpc/power6/wcschr.c.
7560 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7563 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7564 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7565 file: multiarch strchr for PPC32.
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7569 (__libc_ifunc_impl_list): Likewise.
7571 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7573 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7578 multiarch strchrnul for PPC32.
7579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7582 (__libc_ifunc_impl_list): Likewise.
7584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7587 multiarch strncasecmp for PPC32.
7588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7591 multiarch strncasecmp_l for PPC32.
7592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7593 strncasecmp multiarch objects.
7594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7595 (__libc_ifunc_impl_list): Likewise.
7597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7600 multiarch strncasecmp for PPC32.
7601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7604 multiarch strcasecmp_l for PPC32.
7605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7608 (__libc_ifunc_impl_list): Likewise.
7610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7615 multiarch strncmp for PPC32.
7616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7619 (__libc_ifunc_impl_list): Likewise.
7621 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7622 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7624 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7625 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7629 (__libc_ifunc_impl_list): Likewise.
7631 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7633 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7635 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7639 (__libc_ifunc_impl_list): Likewise.
7641 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7643 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7645 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7646 multiarch rawmemchr for PPC32.
7647 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7649 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7650 (__libc_ifunc_impl_list): Likewise.
7652 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7654 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7657 file: memrchr multiarch for PPC32.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7661 (__libc_ifunc_impl_list): Likewise.
7663 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7666 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7667 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7668 multiarch memchr for PPC32.
7669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7672 (__libc_ifunc_impl_list): Likewise.
7674 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7675 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7677 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7679 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7680 file: multiarch mempcpy for PPC32.
7681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7684 (__libc_ifunc_impl_list): Likewise.
7686 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7687 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7688 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7689 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7690 multiarch bzero for PPC32.
7691 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7693 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7695 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7696 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7697 file: multiarch memset for PPC32.
7698 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7700 memset multiarch objects.
7701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7702 (__libc_ifunc_impl_list): Likewise.
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7709 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7713 (__libc_ifunc_impl_list): Likewise.
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7716 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7724 multiarch memcpy for PPC32.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7728 (__libc_ifunc_impl_list): Likewise.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7731 support multiarch for POWER/PPC32.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7734 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7736 Implies file to make multiarch folder appers before the fpu and
7737 default folder for power4 configuration.
7739 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7741 * scripts/bench.pl: Append volatile keyword to type.
7743 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7745 * sysdeps/sh/sotruss-lib.c: New file.
7746 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7748 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7752 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7755 * math/w_tgamma.c: Include <errno.h>.
7756 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7757 * math/w_tgammaf.c: Include <errno.h>.
7758 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7759 * math/w_tgammal.c: Include <errno.h>.
7760 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7761 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7762 underflow. Add more tgamma tests.
7763 * math/auto-libm-test-out: Regenerated.
7764 * sysdeps/i386/fpu/libm-test-ulps: Update.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7768 sin, sinh, tan, tanh, tgamma, y0 and y1.
7769 * math/auto-libm-test-out: Regenerated.
7770 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7771 (TEST_COND_x86): Likewise.
7772 (M_E2l): Remove macro.
7774 (M_2_SQRT_PIl): Likewise.
7775 (M_SQRT_PIl): Likewise.
7776 (M_1_DIV_El): Likewise.
7777 (log_test_data): Use AUTO_TESTS_f_f.
7778 (log10_test_data): Likewise.
7779 (log1p_test_data): Likewise.
7780 (log2_test_data): Likewise.
7781 (sin_test_data): Likewise.
7782 (sin_tonearest_test_data): Likewise.
7783 (sin_towardzero_test_data): Likewise.
7784 (sin_downward_test_data): Likewise.
7785 (sin_upward_test_data): Likewise.
7786 (sinh_test_data): Likewise.
7787 (sinh_tonearest_test_data): Likewise.
7788 (sinh_towardzero_test_data): Likewise.
7789 (sinh_downward_test_data): Likewise.
7790 (sinh_upward_test_data): Likewise.
7791 (tan_test_data): Likewise.
7792 (tan_tonearest_test_data): Likewise.
7793 (tan_towardzero_test_data): Likewise.
7794 (tan_downward_test_data): Likewise.
7795 (tan_upward_test_data): Likewise.
7796 (tanh_test_data): Likewise.
7797 (tgamma_test_data): Likewise.
7798 (y0_test_data): Likewise.
7799 (y1_test_data): Likewise.
7800 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7801 (special_real_inputs): Add pi/4.
7802 * sysdeps/i386/fpu/libm-test-ulps: Update.
7803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7805 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7808 "longjmp_target" static probes.
7809 (__longjmp): Rename to __longjmp_symbol.
7810 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7811 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7812 on which longjmp to generate.
7813 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7814 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7816 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7817 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7818 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7819 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7820 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7821 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7823 __longjmp_symbol based on which __longjmp to generate.
7824 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7826 (setjmp): Rename to setjmp_symbol.
7827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7828 (_setjmp): Rename to _setjmp_symbol.
7829 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7830 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7831 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7832 which setjmp to generate.
7833 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7834 "longjmp_target" static probes.
7836 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7838 * benchtests/README: Add note about output arguments.
7839 * benchtests/bench-sincos.c: Remove file.
7840 * benchtests/sincos-inputs: New file.
7841 * scripts/bench.pl: Identify output arguments and define
7842 static variables for them.
7844 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7847 * Makefile (INSTALL): Add install-plain.texi as the primary
7849 * manual/install-plain.texi: New file.
7850 * manual/install.texi: Include node directive only for
7851 non-plaintext output.
7853 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7855 * stdlib/longlong.h: Update from GCC.
7859 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7860 * math/w_j0f.c (y0f): Likewise.
7861 * math/w_j0l.c (__y0l): Likewise.
7862 * math/w_j1.c (y1): Likewise.
7863 * math/w_j1f.c (y1f): Likewise.
7864 * math/w_j1l.c (__y1l): Likewise
7865 * math/w_jn.c (yn): Likewise.
7866 * math/w_jnf.c (ynf): Likewise.
7867 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7868 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7869 value for Bessel function domain errors outside _SVID_ mode.
7870 Adjust sign of return value for yn (negative integer, 0).
7871 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7872 by zero in return for negative x and set sign appropriately for
7874 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7876 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7877 expectations in error cases.
7878 (y1_test_data): Likewise.
7879 (yn_test_data): Likewise.
7880 * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7885 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7886 "64" to "64-v1". Add "64-v2".
7887 (abi-64-options): Rename to ...
7888 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7889 (abi-64-condition): Rename to ...
7890 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7891 (abi-64-ld-soname): Rename to ...
7892 (abi-64-v1-ld-soname): ... this.
7893 (abi-64-v2-options): Define.
7894 (abi-64-v2-condition): Likewise.
7895 (abi-64-v2-ld-soname): Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7897 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7902 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7903 Alan Modra <amodra@gmail.com>
7905 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7906 New versions for use with the ELFv2 ABI.
7907 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7908 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7910 (struct La_ppc64v2_retval): Likewise.
7911 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7912 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7913 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7914 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7915 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7916 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7917 Do not save or restore CR.
7918 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7919 (_dl_profile_resolve): Do no save or restore CR. Support extended
7920 return values for ELFv2 ABI. Fix location of FPR return registers.
7921 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7922 updated values for _CALL_ELF == 2.
7923 (La_regs, La_retval, int_retval): Likewise.
7925 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7927 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7928 (FRAME_MIN_SIZE_PARM): Likewise.
7929 (FRAME_BACKCHAIN): Likewise.
7930 (FRAME_CR_SAVE): Likewise.
7931 (FRAME_LR_SAVE): Likewise.
7932 (FRAME_TOC_SAVE): Likewise.
7933 (FRAME_PARM_SAVE): Likewise.
7934 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7935 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7936 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7937 (call_mcount_parm_offset): New macro.
7938 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7939 (PROF): Use symbolic stack frame offsets.
7940 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7941 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7942 Redefine in terms of FRAME_MIN_SIZE.
7943 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7944 (_dl_profile_resolve): Likewise. Update comment.
7945 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7946 symbols stack frame offsets.
7947 (__sigsetjmp): Likewise.
7948 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7949 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7950 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7951 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7954 (FRAME_BACKCHAIN): Remove.
7955 (FRAME_CR_SAVE): Likewise.
7956 (FRAME_LR_SAVE): Likewise.
7957 (FRAME_COMPILER_DW): Likewise.
7958 (FRAME_LINKER_DW): Likewise.
7959 (FRAME_TOC_SAVE): Likewise.
7960 (FRAME_PARM_SAVE): Likewise.
7961 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7962 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7963 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7965 (CHECK_SP): Use symbolic stack frame offsets.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7967 zone" instead of caller's parameter save area for temp storage.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7969 Likewise. Also, use symbolic stack frame offsets.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7971 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7972 our own stack frame instead of the caller's.
7973 (__socket): Use symbolic stack frame offsets.
7975 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7976 Alan Modra <amodra@gmail.com>
7978 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7980 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7981 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7982 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7984 (elf_machine_fixup_plt): Call it.
7985 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7987 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7988 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7989 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7990 r2 before calling target.
7992 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7993 Alan Modra <amodra@gmail.com>
7995 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7996 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7997 versions of macros to support ELFv2 ABI.
7998 (LOCALENTRY): New macro.
7999 (ENTRY, EALIGN): Use it.
8000 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8001 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8002 fall through into ENTRY entry point.
8003 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8004 Only define if _CALL_ELF != 2.
8006 (elf_machine_matches_host): Verify ABI version matches.
8007 (RTLD_START): Use LOCALENTRY.
8008 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8009 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8010 (PLT_ENTRY_WORDS): New macro.
8011 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8012 (elf_machine_runtime_setup): Support ELFv2 ABI.
8013 (elf_machine_fixup_plt): Likewise.
8014 (elf_machine_plt_conflict): Likewise.
8015 (resolve_ifunc): Likewise.
8016 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8020 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8022 (makecontext): Support ELFv2 ABI.
8023 * elf/elf.h (EF_PPC64_ABI): Define.
8025 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8027 * sysdeps/powerpc/powerpc64/sysdep.h
8028 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8029 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8030 (ENTRY) [ASSEMBLER]: ... but instead here ...
8031 (EALIGN) [ASSEMBLER]: ... and here.
8032 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8033 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8034 (ENTRY_2) [!ASSEMBLER]: Use it.
8035 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8036 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8038 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8039 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8041 Use PPC64_LOAD_FUNCPTR.
8043 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8045 2013-12-04 Alan Modra <amodra@gmail.com>
8047 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8048 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8049 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8050 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8053 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8054 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8055 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8056 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8057 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8059 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8062 (__makecontext): Fix incorrect CFI when backtracing out of
8063 context created via makecontext.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8065 (__setcontext): Fix incorrect CFI during switch to new context.
8066 (__novec_setcontext): Likewise.
8068 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8071 * time/strptime_l.c (__strptime_internal): Allow modifiers
8073 * time/tst-strptime.c (day_tests): Add testcase.
8075 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8077 * scripts/bench.pl: Skip over blank lines.
8079 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8082 * manual/time.texi (Calendar Time): Clarify what timezone functions
8085 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8089 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8091 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8093 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8094 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8095 * debug/memset_chk.c (__memset_chk): Likewise.
8096 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8097 * debug/strncpy_chk.c: Likewise.
8099 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8104 (__ieee754_exp): For possibly underflowing results, check size of
8105 result and force underflow exception if required.
8106 * math/auto-libm-test-in: Add more tests of exp.
8107 * math/auto-libm-test-out: Regenerated.
8108 * sysdeps/i386/fpu/libm-test-ulps: Update.
8109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8112 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8113 * math/w_exp2f.c (__exp2f): Likewise.
8114 * math/w_exp2l.c (__exp2l): Likewise.
8115 * math/auto-libm-test-in: Do not allow missing errno on exp2
8117 * math/auto-libm-test-out: Regenerated.
8119 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8122 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8123 handle filename validation.
8124 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8127 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8130 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8131 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8132 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8134 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8136 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8138 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8139 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8140 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8141 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8142 Add more erfc tests.
8143 * math/auto-libm-test-out: Regenerated.
8144 * sysdeps/i386/fpu/libm-test-ulps: Update.
8145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8147 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8148 exp2, expm1, j0 and j1.
8149 * math/auto-libm-test-out: Regenerated.
8150 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8151 (erfc_test_data): Likewise.
8152 (exp_test_data): Likewise.
8153 (exp_tonearest_test_data): Likewise.
8154 (exp_towardzero_test_data): Likewise.
8155 (exp_downward_test_data): Likewise.
8156 (exp_upward_test_data): Likewise.
8157 (exp10_test_data): Likewise.
8158 (exp2_test_data): Likewise.
8159 (expm1_test_data): Likewise.
8160 (j0_test_data): Likewise.
8161 (j1_test_data): Likewise.
8162 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8163 (input_flag_type): Add flag_xfail_rounding.
8164 (input_flags): Add xfail-rounding.
8165 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8166 (output_for_one_input_case): Handle flag_xfail_rounding.
8167 * sysdeps/i386/fpu/libm-test-ulps: Update.
8168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8173 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8176 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8179 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8180 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8181 (STAP_PROBE0): New macro.
8182 (STAP_PROBE1): Likewise.
8183 (STAP_PROBE2): Likewise.
8184 (STAP_PROBE3): Likewise.
8185 (STAP_PROBE4): Likewise.
8187 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8189 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8191 2013-12-02 Steve Ellcey <sellcey@mips.com>
8193 * benchtests/Makefile (bench): Add sqrt.
8194 (LDLIBS-bench-sqrt): New.
8195 * benchtests/sqrt-input: New.
8197 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8199 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8200 (GAIH_EAI): Likewise.
8201 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8202 (gaih_inet): Likewise.
8203 (getaddrinfo): Don't use GAIH_EAI.
8205 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8206 (struct gaih): Remove definition.
8208 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8210 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8211 Use HERRNOP directly.
8213 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8217 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8219 * math/gen-auto-libm-tests.c (test_functions): Add more
8220 single-argument functions.
8221 (special_fill_pi_2): New function.
8222 (special_fill_minus_pi_2): Likewise.
8223 (special_fill_pi_6): Likewise.
8224 (special_fill_minus_pi_6): Likewise.
8225 (special_fill_pi_3): Likewise.
8226 (special_fill_2pi_3): Likewise.
8227 (special_fill_e): Likewise.
8228 (special_fill_1_e): Likewise.
8229 (special_fill_e_minus_1): Likewise.
8230 (special_real_inputs): Add more special inputs.
8231 (output_for_one_input_case): Do not require ERANGE on underflow to
8232 zero if round-to-nearest result does not underflow to zero, unless
8233 exact results required.
8234 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8235 atan, atanh, cbrt, cos and cosh.
8236 * math/auto-libm-test-out: Regenerated.
8237 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8238 (acos_tonearest_test_data): Likewise.
8239 (acos_towardzero_test_data): Likewise.
8240 (acos_downward_test_data): Likewise.
8241 (acos_upward_test_data): Likewise.
8242 (acosh_test_data): Likewise.
8243 (asin_test_data): Likewise.
8244 (asin_tonearest_test_data): Likewise.
8245 (asin_towardzero_test_data): Likewise.
8246 (asin_upward_test_data): Likewise.
8247 (asinh_test_data): Likewise.
8248 (atan_test_data): Likewise.
8249 (atanh_test_data): Likewise.
8250 (cbrt_test_data): Likewise.
8251 (cos_test_data): Likewise.
8252 (cos_tonearest_test_data): Likewise.
8253 (cos_towardzero_test_data): Likewise.
8254 (cos_downward_test_data): Likewise.
8255 (cos_upward_test_data): Likewise.
8256 (cosh_test_data): Likewise.
8257 (cosh_tonearest_test_data): Likewise.
8258 (cosh_towardzero_test_data): Likewise.
8259 (cosh_downward_test_data): Likewise.
8260 (cosh_upward_test_data): Likewise.
8261 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8264 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8267 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8268 * math/w_exp10f.c (__exp10f): Likewise.
8269 * math/w_exp10l.c (__exp10l): Likewise.
8270 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8271 errno settings in existing tests.
8274 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8275 precision control set to double precision.
8276 * sysdeps/i386/fpu/w_sqrt.c: New file.
8277 * math/auto-libm-test-in: Add more tests.
8278 * math/auto-libm-test-out: Update.
8280 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8281 (sqrt_test_tonearest): New function.
8282 (sqrt_towardzero_test_data): New variable.
8283 (sqrt_test_towardzero): New function.
8284 (sqrt_downward_test_data): New variable.
8285 (sqrt_test_downward): New function.
8286 (sqrt_upward_test_data): New variable.
8287 (sqrt_test_upward): New function.
8288 (main): Call the new functions.
8290 * math/gen-auto-libm-tests.c: New file.
8291 * math/auto-libm-test-in: Likewise.
8292 * math/auto-libm-test-out: New generated file.
8293 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8295 (%beautify): Add generated representations of zero.
8296 (top level): Set $auto_input and call parse_auto_input.
8297 (beautify): Remove trailing "f" from hex float constants.
8298 (parse_args): Handle XFAIL_TEST.
8299 (convert_condition): New function.
8300 (or_value): Likewise.
8301 (or_cond_value): Likewise.
8302 (generate_testfile): Handle AUTO_TESTS_* lines.
8303 (parse_auto_input): New function.
8304 * math/libm-test.inc (XFAIL_TEST): New macro.
8305 (ERRNO_UNCHANGED): Update value.
8306 (ERRNO_EDOM): Likewise.
8307 (ERRNO_ERANGE): Likewise.
8308 (IGNORE_RESULT): Likewise.
8309 (TEST_COND_flt_32): New macro.
8310 (TEST_COND_dbl_64): Likewise.
8311 (TEST_COND_ldbl_96_intel): Likewise.
8312 (TEST_COND_ldbl_96_m68k): Likewise.
8313 (TEST_COND_ldbl_128): Likewise.
8314 (TEST_COND_ldbl_128ibm): Likewise.
8315 (TEST_COND_long32): Likewise.
8316 (TEST_COND_long64): Likewise.
8317 (TEST_COND_before_rounding): Likewise.
8318 (TEST_COND_after_rounding): Likewise.
8319 (enable_test): Handle XFAIL_TEST flag.
8320 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8321 with finite results.
8322 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8325 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8326 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8329 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8330 __tls_get_addr_internal instead of __tls_get_offset in order to
8331 avoid GOT pointer dependency. Make rtld export
8332 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8333 __tls_get_addr since we are a __tls_get_offset platform.
8334 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8335 GOT pointer being set up before.
8336 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8338 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8340 * manual/math.texi (Errors in Math Functions): Document accuracy
8344 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8345 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8361 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8362 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8363 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8364 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8365 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8367 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8369 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8371 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8372 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8373 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8374 atomic-feupdateenv and flt-rounds.
8375 * sysdeps/powerpc/nofpu/Versions (libc): Add
8376 __atomic_feholdexcept, __atomic_feclearexcept,
8377 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8378 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8379 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8380 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8381 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8386 * manual/arith.texi (FP Exceptions): Document that exceptions may
8387 not be raised when matherr is used.
8388 (Math Error Reporting): Document overflow in directed rounding
8389 modes. Document that errno may not be set when finite values are
8390 returned on overflow. Document intent to set errno on underflow
8391 only for underflow to zero.
8394 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8395 round-to-nearest then adjust result for other rounding modes.
8396 * include/fenv.h (fegetround): Use libm_hidden_proto.
8397 * math/fegetround.c (fegetround): Use libm_hidden_def.
8398 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8399 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8400 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8401 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8403 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8404 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8405 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8406 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8408 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8411 * nss/Versions (libnss_files): Add
8412 _nss_files_gethostbyname3_r.
8413 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8415 (HOST_DB_LOOKUP): Remove macro.
8416 (_nss_files_gethostbyname_r): Implement function without the
8417 HOST_DB_LOOKUP macro.
8418 (_nss_files_gethostbyname2_r): Likewise.
8420 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8422 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8424 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8426 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8427 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8430 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8433 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8435 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8436 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8437 __fe_nomask_env_priv and attribute_hidden.
8438 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8439 (libc_feupdateenv_test_ppc): Likewise.
8440 (libc_feresetround_ppc): Likewise.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8442 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8443 compat_symbol macro.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8445 (__fe_nomask_env): Likewise.
8446 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8448 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8450 * string/Makefile: Remove ifunc tests.
8451 * string/test-string.h: Define TEST_IFUNC.
8452 * string/test-bcopy-ifunc.c: Remove.
8453 * string/test-bzero-ifunc.c: Likewise.
8454 * string/test-memccpy-ifunc.c: Likewise.
8455 * string/test-memchr-ifunc.c: Likewise.
8456 * string/test-memcmp-ifunc.c: Likewise.
8457 * string/test-memcpy-ifunc.c: Likewise.
8458 * string/test-memmem-ifunc.c: Likewise.
8459 * string/test-memmove-ifunc.c: Likewise.
8460 * string/test-mempcpy-ifunc.c: Likewise.
8461 * string/test-memrchr-ifunc.c: Likewise.
8462 * string/test-memset-ifunc.c: Likewise.
8463 * string/test-rawmemchr-ifunc.c: Likewise.
8464 * string/test-stpcpy-ifunc.c: Likewise.
8465 * string/test-stpncpy-ifunc.c: Likewise.
8466 * string/test-strcasecmp-ifunc.c: Likewise.
8467 * string/test-strcasestr-ifunc.c: Likewise.
8468 * string/test-strcat-ifunc.c: Likewise.
8469 * string/test-strchr-ifunc.c: Likewise.
8470 * string/test-strchrnul-ifunc.c: Likewise.
8471 * string/test-strcmp-ifunc.c: Likewise.
8472 * string/test-strcpy-ifunc.c: Likewise.
8473 * string/test-strcspn-ifunc.c: Likewise.
8474 * string/test-strlen-ifunc.c: Likewise.
8475 * string/test-strncasecmp-ifunc.c: Likewise.
8476 * string/test-strncat-ifunc.c: Likewise.
8477 * string/test-strncmp-ifunc.c: Likewise.
8478 * string/test-strncpy-ifunc.c: Likewise.
8479 * string/test-strnlen-ifunc.c: Likewise.
8480 * string/test-strpbrk-ifunc.c: Likewise.
8481 * string/test-strrchr-ifunc.c: Likewise.
8482 * string/test-strspn-ifunc.c: Likewise.
8483 * string/test-strstr-ifunc.c: Likewise.
8485 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8487 * benchtests/Makefile: Remove ifunc tests.
8488 * benchtests/bench-string.h: Define TEST_IFUNC.
8489 * benchtests/bench-bcopy-ifunc.c: Remove.
8490 * benchtests/bench-bzero-ifunc.c: Likewise.
8491 * benchtests/bench-memccpy-ifunc.c: Likewise.
8492 * benchtests/bench-memchr-ifunc.c: Likewise.
8493 * benchtests/bench-memcmp-ifunc.c: Likewise.
8494 * benchtests/bench-memcpy-ifunc.c: Likewise.
8495 * benchtests/bench-memmem-ifunc.c: Likewise.
8496 * benchtests/bench-memmove-ifunc.c: Likewise.
8497 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8498 * benchtests/bench-memrchr-ifunc.c: Likewise.
8499 * benchtests/bench-memset-ifunc.c: Likewise.
8500 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8501 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8502 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8503 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8504 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8505 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8506 * benchtests/bench-strcat-ifunc.c: Likewise.
8507 * benchtests/bench-strchr-ifunc.c: Likewise.
8508 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8509 * benchtests/bench-strcmp-ifunc.c: Likewise.
8510 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8511 * benchtests/bench-strcpy-ifunc.c: Likewise.
8512 * benchtests/bench-strcspn-ifunc.c: Likewise.
8513 * benchtests/bench-strlen-ifunc.c: Likewise.
8514 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8515 * benchtests/bench-strncat-ifunc.c: Likewise.
8516 * benchtests/bench-strncmp-ifunc.c: Likewise.
8517 * benchtests/bench-strncpy-ifunc.c: Likewise.
8518 * benchtests/bench-strnlen-ifunc.c: Likewise.
8519 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8520 * benchtests/bench-strrchr-ifunc.c: Likewise.
8521 * benchtests/bench-strsep-ifunc.c: Likewise.
8522 * benchtests/bench-strspn-ifunc.c: Likewise.
8523 * benchtests/bench-strstr-ifunc.c: Likewise.
8525 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8527 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8529 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8531 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8532 * rt/aio.h: Likewise.
8533 * sysdeps/gnu/bits/utmp.h: Likewise.
8534 * sysdeps/gnu/bits/utmpx.h: Likewise.
8535 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8536 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8537 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8538 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8539 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8540 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8541 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8542 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8543 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8545 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8546 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8547 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8550 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8551 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8552 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8553 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8554 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8555 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8557 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8558 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8559 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8561 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8563 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8564 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8565 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8566 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8567 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8568 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8569 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8570 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8571 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8573 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8574 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8575 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8576 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8578 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8581 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8582 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8584 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8586 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8590 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8593 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8594 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8595 (__fesetround): Remove define.
8596 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8597 rounding and exceptions handling.
8598 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8599 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8600 (__fe_nomask_env): Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8602 __fegetround instead of fegetround.
8603 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8606 2013-11-21 Roland McGrath <roland@hack.frob.com>
8608 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8611 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8613 2013-11-21 Meador Inge <meadori@codesourcery.com>
8616 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8617 (encrypt_r): Likewise.
8618 * malloc/obstack.h (obstack_free): Likewise.
8619 * posix/unistd.h (encrypt): Likewise.
8621 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8623 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8624 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8625 DL_CALL_DT_FINI() that call the functions directly.
8626 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8627 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8628 * elf/dl-fini.c: Likewise.
8630 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8632 * malloc/hooks.c (memalign_check): Add alignment rounding.
8633 * malloc/malloc.c (_mid_memalign): New function.
8634 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8635 Implement by calling _mid_memalign.
8636 * manual/probes.texi (Memory Allocation Probes): Remove
8637 memory_valloc_retry and memory_pvalloc_retry.
8639 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8641 * locale/programs/locarchive.c (open_archive): Add const
8642 qualifier to ARCHIVEFNAME and copy default fname to
8646 * libio/tst-widetext.input: Rename Oriya to Odia.
8647 * locale/iso-639.def: Likewise.
8649 * manual/probes.texi (Mathematical Function Probes): Add
8650 documentation for sin, cos, asin and acos probes.
8651 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8652 (__sin32): Add slowasin probe.
8653 (__cos32): Add slowacos probe.
8654 (__mpsin): Add slowsin probe.
8655 (__mpcos): Add slowcos probe.
8657 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8660 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8661 thread-local __sim_exceptions_thread and global
8662 __sim_exceptions_global.
8663 (__sim_disabled_exceptions): Change to thread-local
8664 __sim_disabled_exceptions_thread and global
8665 __sim_disabled_exceptions_global.
8666 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8667 and global __sim_round_mode_global.
8668 (__simulate_exceptions): Use thread-local floating-point state and
8669 set global state from it as needed.
8670 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8671 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8672 __sim_round_mode_thread.
8673 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8674 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8675 and global __sim_exceptions_global.
8676 (__sim_disabled_exceptions): Change to thread-local
8677 __sim_disabled_exceptions_thread and global
8678 __sim_disabled_exceptions_global.
8679 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8680 and global __sim_round_mode_global.
8681 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8682 (SIM_SET_GLOBAL): Likewise.
8683 * sysdeps/powerpc/soft-fp/sfp-machine.h
8684 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8685 __sim_round_mode_thread.
8686 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8687 __sim_disabled_exceptions_thread.
8688 (__sim_exceptions): Change to __sim_exceptions_thread.
8689 (__sim_disabled_exceptions): Change to
8690 __sim_disabled_exceptions_thread.
8691 (__sim_round_mode): Change to __sim_round_mode_thread.
8692 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8693 thread-local floating-point state and set global state from it as
8695 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8696 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8697 (__sim_disabled_exceptions): Remove extern declaration.
8698 (feenableexcept): Use thread-local floating-point state and set
8699 global state from it as needed.
8700 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8702 (__sim_disabled_exceptions): Likewise.
8703 (__sim_round_mode): Likewise.
8704 (__fegetenv): Use thread-local floating-point state.
8705 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8706 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8707 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8708 floating-point state and set global state from it as needed.
8709 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8710 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8711 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8713 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8714 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8716 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8717 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8718 Use __sim_round_mode_thread.
8719 * math/test-fenv-tls.c: New file.
8720 * math/Makefile (tests): Add test-fenv-tls.
8721 ($(objpfx)test-fenv-tls): Depend on
8722 $(common-objpfx)nptl/libpthread.so.
8724 2013-11-19 Andreas Schwab <schwab@suse.de>
8726 * locale/programs/locale.c (show_info): Decode wordarray elements.
8727 * locale/categories.def (LC_MONETARY): Add element for
8728 _NL_MONETARY_CRNCYSTR.
8729 * locale/C-monetary.c (conversion_rate): New variable.
8730 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8733 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8735 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8736 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8738 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8740 * elf/Makefile (tst-auxv): New test.
8741 * elf/tst-auxv.c: New
8742 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8744 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8746 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8747 (hidden_proto): Caller changed.
8748 (hidden_tls_proto): New macro.
8749 (libc_hidden_tls_proto): Likewise.
8750 (rtld_hidden_tls_proto): Likewise.
8751 (libm_hidden_tls_proto): Likewise.
8752 (libresolv_hidden_tls_proto): Likewise.
8753 (librt_hidden_tls_proto): Likewise.
8754 (libdl_hidden_tls_proto): Likewise.
8755 (libnss_files_hidden_tls_proto): Likewise.
8756 (libnsl_hidden_tls_proto): Likewise.
8757 (libnss_nisplus_hidden_tls_proto): Likewise.
8758 (libutil_hidden_tls_proto): Likewise.
8760 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8763 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8764 (decompose_rpath): Defer expansion to fillin_rpath.
8765 (_dl_init_paths): Pass linkmap to fillin_rpath.
8767 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8769 * benchtests/Makefile: Add strsep.
8770 * benchtests/bench-strsep.c: New file: strsep benchtest.
8771 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8773 2013-11-18 Andreas Schwab <schwab@suse.de>
8775 * locale/programs/locale.c (show_info) [case byte]: Check for
8776 '\377' instead of '\177'.
8777 * locale/C-monetary.c (not_available): Always use "\377".
8778 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8779 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8780 detect unavailable sign_posn locale elements.
8781 * locale/localeconv.c (__localeconv): For grouping and
8782 mon_grouping handle "\177" and "\377" like no grouping.
8783 (INT_ELEM): New macro. Use it to set all numeric members.
8784 * locale/programs/ld-monetary.c (monetary_read)
8785 <tok_mon_grouping>: Normalize single -1 to the empty string.
8786 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8789 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8793 when we match (nil).
8794 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8796 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8798 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8799 (NO_TEST_INLINE): Update value.
8800 (ERRNO_UNCHANGED): Likewise.
8801 (ERRNO_EDOM): Likewise.
8802 (ERRNO_ERANGE): Likewise.
8803 (IGNORE_RESULT): Likewise.
8804 (check_float_internal): Check signs of NaN results if
8806 (check_complex): Pass TEST_NAN_SIGN flag through to second
8807 check_float_internal call.
8808 (copysign_test_data): Add tests with quiet NaNs as second
8809 argument. Use TEST_NAN_SIGN.
8810 (fabs_test_data): Add test of negative quiet NaN argument. Use
8812 (signbit_test_data): Add tests of quiet NaN argument.
8813 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8815 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8817 (parse_args): Handle function results specified as IGNORE.
8818 * math/libm-test.inc (IGNORE_RESULT): New macro.
8819 (check_float_internal): Do not check numerical result if flag
8821 (check_complex): Pass through IGNORE_RESULT to second
8822 check_float_internal call.
8823 (check_int): Do not check numerical result if flag IGNORE_RESULT
8825 (check_long): Likewise.
8826 (check_bool): Likewise.
8827 (check_longlong): Likewise.
8828 (lrint_test_data): Add tests of infinite and NaN arguments.
8829 (lrint_tonearest_test_data): Likewise.
8830 (lrint_towardzero_test_data): Likewise.
8831 (lrint_downward_test_data): Likewise.
8832 (lrint_upward_test_data): Likewise.
8833 (llrint_test_data): Likewise.
8834 (llrint_tonearest_test_data): Likewise.
8835 (llrint_towardzero_test_data): Likewise.
8836 (llrint_downward_test_data): Likewise.
8837 (llrint_upward_test_data): Likewise.
8838 (lround_test_data): Likewise.
8839 (llround_test_data): Likewise.
8841 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8842 (ERRNO_UNCHANGED): Update value.
8843 (ERRNO_EDOM): Likewise.
8844 (ERRNO_ERANGE): Likewise.
8845 (NO_TEST_INLINE_FLOAT): New macro.
8846 (NO_TEST_INLINE_DOUBLE): Likewise.
8847 (enable_test): New function.
8848 (RUN_TEST_f_f): Check enable_test before running test.
8849 (RUN_TEST_2_f): Likewise.
8850 (RUN_TEST_fff_f): Likewise.
8851 (RUN_TEST_c_f): Likewise.
8852 (RUN_TEST_f_f1): Likewise.
8853 (RUN_TEST_fF_f1): Likewise.
8854 (RUN_TEST_fI_f1): Likewise.
8855 (RUN_TEST_ffI_f1): Likewise.
8856 (RUN_TEST_c_c): Likewise.
8857 (RUN_TEST_cc_c): Likewise.
8858 (RUN_TEST_f_i): Likewise.
8859 (RUN_TEST_f_i_tg): Likewise.
8860 (RUN_TEST_ff_i_tg): Likewise.
8861 (RUN_TEST_f_b): Likewise.
8862 (RUN_TEST_f_b_tg): Likewise.
8863 (RUN_TEST_f_l): Likewise.
8864 (RUN_TEST_f_L): Likewise.
8865 (RUN_TEST_fFF_11): Likewise.
8866 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8868 (cosh_test_data): Likewise.
8869 (exp_test_data): Likewise.
8870 (expm1_test_data): Likewise.
8871 (hypot_test_data): Likewise.
8872 (pow_test_data): Likewise.
8873 (sinh_test_data): Likewise.
8874 (tanh_test_data): Likewise.
8875 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8878 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8879 tests with quiet NaN input and output.
8880 (acosh_test_data): Likewise.
8881 (asin_test_data): Likewise.
8882 (asinh_test_data): Likewise.
8883 (atan_test_data): Likewise.
8884 (atanh_test_data): Likewise.
8885 (atan2_test_data): Likewise.
8886 (cbrt_test_data): Likewise.
8887 (cos_test_data): Likewise.
8888 (cosh_test_data): Likewise.
8889 (erf_test_data): Likewise.
8890 (erfc_test_data): Likewise.
8891 (exp_test_data): Likewise.
8892 (exp10_test_data): Likewise.
8893 (exp2_test_data): Likewise.
8894 (expm1_test_data): Likewise.
8895 (hypot_test_data): Likewise.
8896 (j0_test_data): Likewise.
8897 (j1_test_data): Likewise.
8898 (jn_test_data): Likewise.
8899 (lgamma_test_data): Likewise.
8900 (log_test_data): Likewise.
8901 (log10_test_data): Likewise.
8902 (log1p_test_data): Likewise.
8903 (log2_test_data): Likewise.
8904 (pow_test_data): Likewise.
8905 (scalb_test_data): Likewise.
8906 (sin_test_data): Likewise.
8907 (sincos_test_data): Likewise.
8908 (sinh_test_data): Likewise.
8909 (tan_test_data): Likewise.
8910 (tanh_test_data): Likewise.
8911 (tgamma_test_data): Likewise.
8912 (y0_test_data): Likewise.
8913 (y1_test_data): Likewise.
8914 (yn_test_data): Likewise.
8917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8918 argument being NaN and avoid computations with second argument in
8920 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8921 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8922 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8924 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8926 * locale/iso-639.def: Add Chitwani Tharu (the).
8928 2013-11-14 Andreas Schwab <schwab@suse.de>
8930 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8931 word instead of empty string.
8933 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8936 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8938 (__fe_nomask_env): Likewise.
8940 2013-11-13 Steve Ellcey <sellcey@mips.com>
8942 * benchtests/bench-timing.h: Include time.h.
8944 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8947 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8949 * sysdeps/unix/sysv/linux/configure: Regenerated.
8951 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8954 * stdlib/strtod_l.c (round_and_return): Do not consider
8955 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8956 exponent one less than half the least subnormal exponent.
8957 * stdlib/test-strtod-round-data: Add more tests.
8958 * stdlib/tst-strtod-round.c (tests): Regenerated.
8960 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8964 (__fe_mask_env): Likewise.
8965 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8966 libm_hidden_proto and add function prototype.
8967 (__fe_mask_env): Add function prototype.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8969 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8971 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8973 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8975 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8977 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8978 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8980 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8982 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8983 of htab_find_slot().
8985 2013-11-11 David S. Miller <davem@davemloft.net>
8988 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8989 symbol in the non-vis3 case in static builds.
8990 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8991 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8992 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8993 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8995 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8998 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9001 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9003 * benchtests/Makefile: Add bench-strtod.
9004 * benchtests/bench-strtod.c: New file: strtod benchtest
9006 2013-11-11 Andreas Schwab <schwab@suse.de>
9009 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9010 terminating NUL in key length.
9012 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9014 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9015 Add artificial ODP entry for vDSO symbol for PPC64.
9016 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9017 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9019 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9022 * nss/getent.c (services_keys): Recognize services starting with digit.
9024 2013-11-06 David S. Miller <davem@davemloft.net>
9027 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9028 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9030 2013-11-06 Will Newton <will.newton@linaro.org>
9032 * manual/memory.texi (Malloc Examples): Remove register
9033 keyword from examples.
9035 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9037 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9039 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9042 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9043 depending on [__GCC_IEC_559 > 0].
9044 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9045 depending on [__GCC_IEC_559_COMPLEX > 0].
9047 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9049 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9052 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9054 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9056 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9059 * malloc/malloc (malloc_info): Do not handle first bin as
9062 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9064 * locale/iso-639.def: Add Central Nahuatl (nhn).
9066 2013-11-01 Bruno Haible <bruno@clisp.org>
9069 * manual/math.texi (BSD Random): Specify range upper bound as
9072 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9074 * locale/iso-639.def: Add Meadow Mari (mhr).
9076 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9078 [BZ #14752], [BZ #15763]
9079 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9081 * rt/tst_shm.c: Add test for escaping directory.
9083 2013-10-31 Andreas Schwab <schwab@suse.de>
9086 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9087 followed by 'x' as part of digit sequence.
9088 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9090 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9093 * configure.ac: allow GNU Make 4.0 and greater.
9094 * configure: Regenerated.
9096 2013-10-30 Will Newton <will.newton@linaro.org>
9099 * malloc/hooks.c (memalign_check): Limit alignment to the
9100 maximum representable power of two.
9101 * malloc/malloc.c (__libc_memalign): Likewise.
9102 * malloc/tst-memalign.c (do_test): Add test for very
9103 large alignment values.
9104 * malloc/tst-posix_memalign.c (do_test): Likewise.
9106 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9109 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9110 (munmap_chunk): Likewise.
9111 (mremap_chunk): Likewise.
9113 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9116 * stdlib/div.c (div): Remove obsolete code.
9117 * stdlib/ldiv.c (ldiv): Likewise.
9118 * stdlib/lldiv.c (lldiv): Likewise.
9120 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9123 * nss/nss_files/files-XXX.c (get_contents_ret): New
9125 (get_contents): New function.
9126 (internal_getent): Use it. Expand size of LINEBUFLEN.
9128 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9130 * configure.in: Moved to ...
9131 * configure.ac: ... here. Change reference to configure.in
9133 * sysdeps/arm/preconfigure.ac: ... here.
9134 configure.in to configure.ac.
9135 * sysdeps/gnu/configure.in: Moved to ...
9136 * sysdeps/gnu/configure.ac: ... here.
9137 * sysdeps/i386/configure.in: Moved to ...
9138 * sysdeps/i386/configure.ac: ... here.
9139 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9140 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9141 * sysdeps/mach/configure.in: Moved to ...
9142 * sysdeps/mach/configure.ac: ... here.
9143 * sysdeps/mach/hurd/configure.in: Moved to ...
9144 * sysdeps/mach/hurd/configure.ac: ... here.
9145 * sysdeps/powerpc/configure.in: Moved to ...
9146 * sysdeps/powerpc/configure.ac: ... here.
9147 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9148 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9149 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9150 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9151 * sysdeps/s390/s390-32/configure.in: Moved to ...
9152 * sysdeps/s390/s390-32/configure.ac: ... here.
9153 * sysdeps/s390/s390-64/configure.in: Moved to ...
9154 * sysdeps/s390/s390-64/configure.ac: ... here.
9155 * sysdeps/sh/configure.in: Moved to ...
9156 * sysdeps/sh/configure.ac: ... here.
9157 * sysdeps/sparc/configure.in: Moved to ...
9158 * sysdeps/sparc/configure.ac: ... here.
9159 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9160 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9161 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9162 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9163 * sysdeps/x86_64/configure.in: Moved to ...
9164 * sysdeps/x86_64/configure.ac: ... here.
9165 * sysdeps/x86_64/preconfigure.in: Moved to ...
9166 * sysdeps/x86_64/preconfigure.ac: ... here.
9167 * aclocal.m4: Change reference to configure.in to configure.ac.
9168 * config.h.in: Likewise.
9169 * manual/install.texi: Likewise.
9170 * manual/maint.texi: Likewise.
9171 * Makefile: Likewise.
9172 * malloc/Makefile: Likewise.
9173 * nscd/Makefile: Likewise.
9174 * Makeconfig: Change reference to configure.in and
9175 preconfigure.in to configure.ac and preconfigure.ac
9177 * INSTALL: Regenerated.
9178 * configure: Likewise.
9179 * sysdeps/gnu/configure: Likewise.
9180 * sysdeps/i386/configure: Likewise.
9181 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9182 * sysdeps/mach/configure: Likewise.
9183 * sysdeps/mach/hurd/configure: Likewise.
9184 * sysdeps/powerpc/configure: Likewise.
9185 * sysdeps/powerpc/powerpc32/configure: Likewise.
9186 * sysdeps/powerpc/powerpc64/configure: Likewise.
9187 * sysdeps/s390/s390-32/configure: Likewise.
9188 * sysdeps/s390/s390-64/configure: Likewise.
9189 * sysdeps/sh/configure: Likewise.
9190 * sysdeps/sparc/configure: Likewise.
9191 * sysdeps/unix/sysv/linux/configure: Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9193 * sysdeps/x86_64/configure: Likewise.
9194 * sysdeps/x86_64/preconfigure: Likewise.
9196 2013-10-29 Andreas Schwab <schwab@suse.de>
9198 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9200 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9202 * benchtests/pow-inputs: Add new inputs.
9204 * benchtests/exp-inputs: Add new inputs.
9206 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9207 conditional check for return value.
9208 (__cos32): Likewise.
9210 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9212 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9213 to provide a boost for large inputs with word alignment.
9214 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9215 implementation based on optimized PPC64 strcpy.
9216 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9217 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9218 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9219 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9221 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9224 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9226 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9229 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9230 * time/tst-strptime.c (day_tests): Add testcase.
9232 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9235 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9237 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9240 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9241 MAP_FAILED on error.
9243 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9246 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9247 heap for large requests.
9249 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9252 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9253 result if the result has no associated interface.
9254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9255 interface for all 127.X.Y.Z addresses.
9257 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9259 * locale/iso-639.def: Add Ligurian (lij)
9261 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9264 * sunrpc/rpc_main.c: Document rpcgen -5.
9266 2013-10-19 Michael Stahl <mstahl@redhat.com>
9268 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9270 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9273 * posix/glob.c: Match only directories when trailing slash is present.
9274 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9275 (main): Add testcase.
9277 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9280 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9282 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9284 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9285 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9286 AUTH_DES and cindex for FIPS 140-2.
9287 (DES Encryption): Add cindex FIPS 46-3.
9289 * locale/locarchive.h (struct locarhandle): Add fname.
9290 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9291 if an optional argument was specified to --list-archive,
9293 * locale/programs/locarchive.c (show_archive_content): Take new
9294 argument fname and pass it via ah.fname to open_archive.
9295 * locale/programs/localedef.h: Update decl.
9296 (open_archive): If AH->fname is non-null, open that file
9297 rather than the default file name, and don't ignore ENOENT.
9298 (create_archive): Set AH.fname to NULL.
9299 (delete_locales_from_archive): Likewise.
9300 (add_locales_to_archive): Likewise.
9301 * locale/programs/locfile.c (write_all_categories): Likewise.
9303 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9304 Aldy Hernandez <aldyh@redhat.com>
9306 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9307 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9308 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9309 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9310 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9311 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9312 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9313 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9314 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9315 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9316 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9317 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9318 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9319 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9320 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9322 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9324 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9326 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9328 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9329 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9331 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9332 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9333 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9334 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9336 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9337 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9338 * sysdeps/powerpc/preconfigure: Likewise.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9341 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9342 Replace contents of file by #include of <fenv_libc.h>.
9343 * sysdeps/powerpc/soft-fp/sfp-machine.h
9344 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9346 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9348 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9349 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9350 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9351 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9359 Allow copysignl PLT reference to be missing.
9361 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9362 Joseph Myers <joseph@codesourcery.com
9365 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9367 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9369 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9371 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9372 * elf/tst-tls1.c: Likewise.
9373 * elf/tst-tls10.h: Likewise.
9374 * elf/tst-tls14.c: Likewise.
9375 * elf/tst-tls2.c: Likewise.
9376 * elf/tst-tls3.c: Likewise.
9377 * elf/tst-tls4.c: Likewise.
9378 * elf/tst-tls5.c: Likewise.
9379 * elf/tst-tls6.c: Likewise.
9380 * elf/tst-tls7.c: Likewise.
9381 * elf/tst-tls8.c: Likewise.
9382 * elf/tst-tls9.c: Likewise.
9383 * elf/tst-tlsmod1.c: Likewise.
9384 * elf/tst-tlsmod13.c: Likewise.
9385 * elf/tst-tlsmod13a.c: Likewise.
9386 * elf/tst-tlsmod14a.c: Likewise.
9387 * elf/tst-tlsmod16a.c: Likewise.
9388 * elf/tst-tlsmod16b.c: Likewise.
9389 * elf/tst-tlsmod2.c: Likewise.
9390 * elf/tst-tlsmod3.c: Likewise.
9391 * elf/tst-tlsmod4.c: Likewise.
9392 * elf/tst-tlsmod5.c: Likewise.
9393 * elf/tst-tlsmod6.c: Likewise.
9395 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9398 * malloc/malloc.c: remove checks for statistics.
9400 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9403 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9404 * inet/tst-network.c: Add testcase.
9406 2013-10-17 Andreas Schwab <schwab@suse.de>
9409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9410 to determine canonical name.
9412 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9414 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9415 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9438 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9439 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9444 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9473 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9476 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9477 make result into a quiet NaN.
9479 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9481 * soft-fp/adddf3.c: Fix horizontal whitespace.
9482 * soft-fp/addsf3.c: Likewise.
9483 * soft-fp/addtf3.c: Likewise.
9484 * soft-fp/divdf3.c: Likewise.
9485 * soft-fp/divsf3.c: Likewise.
9486 * soft-fp/divtf3.c: Likewise.
9487 * soft-fp/double.h: Likewise.
9488 * soft-fp/eqdf2.c: Likewise.
9489 * soft-fp/eqsf2.c: Likewise.
9490 * soft-fp/eqtf2.c: Likewise.
9491 * soft-fp/extenddftf2.c: Likewise.
9492 * soft-fp/extended.h: Likewise.
9493 * soft-fp/extendsfdf2.c: Likewise.
9494 * soft-fp/extendsftf2.c: Likewise.
9495 * soft-fp/extendxftf2.c: Likewise.
9496 * soft-fp/fixdfdi.c: Likewise.
9497 * soft-fp/fixdfsi.c: Likewise.
9498 * soft-fp/fixdfti.c: Likewise.
9499 * soft-fp/fixsfdi.c: Likewise.
9500 * soft-fp/fixsfsi.c: Likewise.
9501 * soft-fp/fixsfti.c: Likewise.
9502 * soft-fp/fixtfdi.c: Likewise.
9503 * soft-fp/fixtfsi.c: Likewise.
9504 * soft-fp/fixtfti.c: Likewise.
9505 * soft-fp/fixunsdfdi.c: Likewise.
9506 * soft-fp/fixunsdfsi.c: Likewise.
9507 * soft-fp/fixunsdfti.c: Likewise.
9508 * soft-fp/fixunssfdi.c: Likewise.
9509 * soft-fp/fixunssfsi.c: Likewise.
9510 * soft-fp/fixunssfti.c: Likewise.
9511 * soft-fp/fixunstfdi.c: Likewise.
9512 * soft-fp/fixunstfsi.c: Likewise.
9513 * soft-fp/fixunstfti.c: Likewise.
9514 * soft-fp/floatdidf.c: Likewise.
9515 * soft-fp/floatdisf.c: Likewise.
9516 * soft-fp/floatditf.c: Likewise.
9517 * soft-fp/floatsidf.c: Likewise.
9518 * soft-fp/floatsisf.c: Likewise.
9519 * soft-fp/floatsitf.c: Likewise.
9520 * soft-fp/floattidf.c: Likewise.
9521 * soft-fp/floattisf.c: Likewise.
9522 * soft-fp/floattitf.c: Likewise.
9523 * soft-fp/floatundidf.c: Likewise.
9524 * soft-fp/floatundisf.c: Likewise.
9525 * soft-fp/floatunditf.c: Likewise.
9526 * soft-fp/floatunsidf.c: Likewise.
9527 * soft-fp/floatunsisf.c: Likewise.
9528 * soft-fp/floatunsitf.c: Likewise.
9529 * soft-fp/floatuntidf.c: Likewise.
9530 * soft-fp/floatuntisf.c: Likewise.
9531 * soft-fp/floatuntitf.c: Likewise.
9532 * soft-fp/fmadf4.c: Likewise.
9533 * soft-fp/fmasf4.c: Likewise.
9534 * soft-fp/fmatf4.c: Likewise.
9535 * soft-fp/gedf2.c: Likewise.
9536 * soft-fp/gesf2.c: Likewise.
9537 * soft-fp/getf2.c: Likewise.
9538 * soft-fp/ledf2.c: Likewise.
9539 * soft-fp/lesf2.c: Likewise.
9540 * soft-fp/letf2.c: Likewise.
9541 * soft-fp/muldf3.c: Likewise.
9542 * soft-fp/mulsf3.c: Likewise.
9543 * soft-fp/multf3.c: Likewise.
9544 * soft-fp/negdf2.c: Likewise.
9545 * soft-fp/negsf2.c: Likewise.
9546 * soft-fp/negtf2.c: Likewise.
9547 * soft-fp/op-1.h: Likewise.
9548 * soft-fp/op-2.h: Likewise.
9549 * soft-fp/op-4.h: Likewise.
9550 * soft-fp/op-8.h: Likewise.
9551 * soft-fp/op-common.h: Likewise.
9552 * soft-fp/quad.h: Likewise.
9553 * soft-fp/single.h: Likewise.
9554 * soft-fp/soft-fp.h: Likewise.
9555 * soft-fp/sqrtdf2.c: Likewise.
9556 * soft-fp/sqrtsf2.c: Likewise.
9557 * soft-fp/sqrttf2.c: Likewise.
9558 * soft-fp/subdf3.c: Likewise.
9559 * soft-fp/subsf3.c: Likewise.
9560 * soft-fp/subtf3.c: Likewise.
9561 * soft-fp/truncdfsf2.c: Likewise.
9562 * soft-fp/trunctfdf2.c: Likewise.
9563 * soft-fp/trunctfsf2.c: Likewise.
9564 * soft-fp/trunctfxf2.c: Likewise.
9565 * soft-fp/unorddf2.c: Likewise.
9566 * soft-fp/unordsf2.c: Likewise.
9567 * soft-fp/unordtf2.c: Likewise.
9569 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9571 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9572 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9574 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9576 * elf/dl-libc.c: Clear initfini list after freeing.
9578 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9580 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9581 * soft-fp/addsf3.c: Likewise.
9582 * soft-fp/addtf3.c: Likewise.
9583 * soft-fp/divdf3.c: Likewise.
9584 * soft-fp/divsf3.c: Likewise.
9585 * soft-fp/divtf3.c: Likewise.
9586 * soft-fp/double.h: Likewise.
9587 * soft-fp/eqdf2.c: Likewise.
9588 * soft-fp/eqsf2.c: Likewise.
9589 * soft-fp/eqtf2.c: Likewise.
9590 * soft-fp/extenddftf2.c: Likewise.
9591 * soft-fp/extended.h: Likewise.
9592 * soft-fp/extendsfdf2.c: Likewise.
9593 * soft-fp/extendsftf2.c: Likewise.
9594 * soft-fp/extendxftf2.c: Likewise.
9595 * soft-fp/fixdfdi.c: Likewise.
9596 * soft-fp/fixdfsi.c: Likewise.
9597 * soft-fp/fixdfti.c: Likewise.
9598 * soft-fp/fixsfdi.c: Likewise.
9599 * soft-fp/fixsfsi.c: Likewise.
9600 * soft-fp/fixsfti.c: Likewise.
9601 * soft-fp/fixtfdi.c: Likewise.
9602 * soft-fp/fixtfsi.c: Likewise.
9603 * soft-fp/fixtfti.c: Likewise.
9604 * soft-fp/fixunsdfdi.c: Likewise.
9605 * soft-fp/fixunsdfsi.c: Likewise.
9606 * soft-fp/fixunsdfti.c: Likewise.
9607 * soft-fp/fixunssfdi.c: Likewise.
9608 * soft-fp/fixunssfsi.c: Likewise.
9609 * soft-fp/fixunssfti.c: Likewise.
9610 * soft-fp/fixunstfdi.c: Likewise.
9611 * soft-fp/fixunstfsi.c: Likewise.
9612 * soft-fp/fixunstfti.c: Likewise.
9613 * soft-fp/floatdidf.c: Likewise.
9614 * soft-fp/floatdisf.c: Likewise.
9615 * soft-fp/floatditf.c: Likewise.
9616 * soft-fp/floatsidf.c: Likewise.
9617 * soft-fp/floatsisf.c: Likewise.
9618 * soft-fp/floatsitf.c: Likewise.
9619 * soft-fp/floattidf.c: Likewise.
9620 * soft-fp/floattisf.c: Likewise.
9621 * soft-fp/floattitf.c: Likewise.
9622 * soft-fp/floatundidf.c: Likewise.
9623 * soft-fp/floatundisf.c: Likewise.
9624 * soft-fp/floatunsidf.c: Likewise.
9625 * soft-fp/floatunsisf.c: Likewise.
9626 * soft-fp/floatuntidf.c: Likewise.
9627 * soft-fp/floatuntisf.c: Likewise.
9628 * soft-fp/floatuntitf.c: Likewise.
9629 * soft-fp/fmadf4.c: Likewise.
9630 * soft-fp/fmasf4.c: Likewise.
9631 * soft-fp/fmatf4.c: Likewise.
9632 * soft-fp/gedf2.c: Likewise.
9633 * soft-fp/gesf2.c: Likewise.
9634 * soft-fp/getf2.c: Likewise.
9635 * soft-fp/ledf2.c: Likewise.
9636 * soft-fp/lesf2.c: Likewise.
9637 * soft-fp/letf2.c: Likewise.
9638 * soft-fp/muldf3.c: Likewise.
9639 * soft-fp/mulsf3.c: Likewise.
9640 * soft-fp/multf3.c: Likewise.
9641 * soft-fp/negdf2.c: Likewise.
9642 * soft-fp/negsf2.c: Likewise.
9643 * soft-fp/negtf2.c: Likewise.
9644 * soft-fp/op-1.h: Likewise.
9645 * soft-fp/op-2.h: Likewise.
9646 * soft-fp/op-4.h: Likewise.
9647 * soft-fp/op-8.h: Likewise.
9648 * soft-fp/op-common.h: Likewise.
9649 * soft-fp/quad.h: Likewise.
9650 * soft-fp/single.h: Likewise.
9651 * soft-fp/soft-fp.h: Likewise.
9652 * soft-fp/sqrtdf2.c: Likewise.
9653 * soft-fp/sqrtsf2.c: Likewise.
9654 * soft-fp/sqrttf2.c: Likewise.
9655 * soft-fp/subdf3.c: Likewise.
9656 * soft-fp/subsf3.c: Likewise.
9657 * soft-fp/subtf3.c: Likewise.
9658 * soft-fp/truncdfsf2.c: Likewise.
9659 * soft-fp/trunctfdf2.c: Likewise.
9660 * soft-fp/trunctfsf2.c: Likewise.
9661 * soft-fp/trunctfxf2.c: Likewise.
9662 * soft-fp/unorddf2.c: Likewise.
9663 * soft-fp/unordsf2.c: Likewise.
9664 * soft-fp/unordtf2.c: Likewise.
9666 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9669 * misc/error.c (error_tail): Fix possible buffer overflow.
9671 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9674 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9677 2013-10-14 P. J. McDermott <pj@pehjota.net>
9680 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9681 testing pipefail option.
9683 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9685 * soft-fp/double.h: Indent preprocessor directives inside #if.
9686 * soft-fp/extended.h: Likewise.
9687 * soft-fp/op-2.h: Likewise.
9688 * soft-fp/op-4.h: Likewise.
9689 * soft-fp/op-common.h: Likewise.
9690 * soft-fp/quad.h: Likewise.
9691 * soft-fp/single.h: Likewise.
9692 * soft-fp/soft-fp.h: Likewise.
9694 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9696 * iconv/iconv_prog.c: Fix typos.
9697 * stdio-common/psiginfo-data.h: Likewise.
9699 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9702 * locale/setlocale.c: Fix typo.
9704 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9707 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9708 signaling NaN arguments.
9709 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9710 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9713 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9715 * soft-fp/gesf2.c (__gesf2): Likewise.
9716 * soft-fp/getf2.c (__getf2): Likewise.
9717 * soft-fp/ledf2.c (__ledf2): Likewise.
9718 * soft-fp/lesf2.c (__lesf2): Likewise.
9719 * soft-fp/letf2.c (__letf2): Likewise.
9721 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9722 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9723 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9724 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9725 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9726 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9727 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9728 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9729 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9730 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9731 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9732 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9733 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9734 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9735 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9736 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9737 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9738 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9739 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9740 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9741 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9742 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9743 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9744 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9745 * soft-fp/floattidf.c (__floattidf): Likewise.
9746 * soft-fp/floattisf.c (__floattisf): Likewise.
9747 * soft-fp/floattitf.c (__floattitf): Likewise.
9748 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9749 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9750 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9751 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9752 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9753 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9754 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9755 * soft-fp/gesf2.c (__gesf2): Likewise.
9756 * soft-fp/getf2.c (__getf2): Likewise.
9757 * soft-fp/ledf2.c (__ledf2): Likewise.
9758 * soft-fp/lesf2.c (__lesf2): Likewise.
9759 * soft-fp/letf2.c (__letf2): Likewise.
9761 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9762 Undefine and redefine.
9763 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9764 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9765 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9766 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9767 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9768 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9769 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9770 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9771 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9772 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9773 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9774 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9775 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9776 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9777 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9780 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9781 without decrementing exponent if mantissa >= that for the
9783 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9784 denominator, not >. Decrement exponent in < case instead of
9785 incrementing in >= case.
9786 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9787 without decrementing exponent if mantissa >= that for the
9790 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9791 computing saturated result for unsigned overflow.
9793 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9794 Jeff Law <law@redhat.com>
9796 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9797 (atan2Mp): Add systemtap probe marker.
9798 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9799 (__ieee754_log): Add systemtap probe marker.
9800 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9801 (atanMp): Add systemtap probe marker.
9802 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9803 (tanMp): Add systemtap probe marker.
9804 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9805 (__slowexp): Add systemtap probe marker.
9806 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9807 (__slowpow): Add systemtap probe marker.
9808 * manual/probes.texi: Document probes.
9810 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9813 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9815 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9817 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9818 written to buffer but not flushed.
9819 * libio/iofwrite_u.c: Likewise.
9820 * libio/iopadn.c: Return bytes returned even if EOF was
9822 * libio/iowpadn.c: Likewise.
9823 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9824 if _IO_padn does not write the whole buffer.
9825 [!COMPILE_WPRINTF] (PAD): Likewise.
9827 2013-10-10 David S. Miller <davem@davemloft.net>
9829 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9832 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9834 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9835 instead of FSF address.
9836 * soft-fp/fixdfti.c: Likewise.
9837 * soft-fp/fixsfti.c: Likewise.
9838 * soft-fp/fixtfti.c: Likewise.
9839 * soft-fp/fixunsdfti.c: Likewise.
9840 * soft-fp/fixunssfti.c: Likewise.
9841 * soft-fp/fixunstfti.c: Likewise.
9842 * soft-fp/floattidf.c: Likewise.
9843 * soft-fp/floattisf.c: Likewise.
9844 * soft-fp/floattitf.c: Likewise.
9845 * soft-fp/floatuntidf.c: Likewise.
9846 * soft-fp/floatuntisf.c: Likewise.
9847 * soft-fp/floatuntitf.c: Likewise.
9848 * soft-fp/trunctfxf2.c: Likewise.
9850 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9851 * soft-fp/fixdfti.c: Likewise.
9852 * soft-fp/fixsfti.c: Likewise.
9853 * soft-fp/fixtfti.c: Likewise.
9854 * soft-fp/fixunsdfti.c: Likewise.
9855 * soft-fp/fixunssfti.c: Likewise.
9856 * soft-fp/fixunstfti.c: Likewise.
9857 * soft-fp/floattidf.c: Likewise.
9858 * soft-fp/floattisf.c: Likewise.
9859 * soft-fp/floattitf.c: Likewise.
9860 * soft-fp/floatuntidf.c: Likewise.
9861 * soft-fp/floatuntisf.c: Likewise.
9862 * soft-fp/floatuntitf.c: Likewise.
9863 * soft-fp/trunctfxf2.c: Likewise.
9865 2013-10-10 David S. Miller <davem@davemloft.net>
9867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9869 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9871 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9872 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9873 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9874 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9875 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9880 for NaNs before doing comparisons on argument.
9881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9884 2013-10-10 Will Newton <will.newton@linaro.org>
9886 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9887 passed to _int_memalign does not overflow.
9889 2013-10-10 Torvald Riegel <triegel@redhat.com>
9891 * scripts/bench.pl: Add include-sources directive.
9892 * benchtests/README: Update documentation.
9894 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9896 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9897 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9898 instead of FP_INIT_ROUNDMODE.
9899 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9900 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9903 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9904 copy class of input value.
9905 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9906 not handle exceptions.
9907 * soft-fp/negsf2.c (__negsf2): Likewise.
9908 * soft-fp/negtf2.c (__negtf2): Likewise.
9909 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9911 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9913 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9914 semicolon. From Linux kernel.
9916 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9918 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9920 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9923 * manual/socket.texi: Added statement about buffer
9924 for gethostbyname2_r.
9926 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9928 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9929 Use .p2align directive instead, throughout.
9930 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9931 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9932 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9935 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9936 * sysdeps/x86_64/strchr.S: Likewise.
9937 * sysdeps/x86_64/strrchr.S: Likewise.
9939 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9941 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9943 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9945 * sysdeps/generic/math_private.h (__mpsin1): Remove
9947 (__mpcos1): Likewise.
9948 (__mpsin): New argument __range_reduce.
9949 (__mpcos): Likewise.
9950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9951 (slow): Use __mpsin and __mpcos.
9958 (bsloww1): Likewise.
9959 (bsloww2): Likewise.
9962 (csloww1): Likewise.
9963 (csloww2): Likewise.
9964 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9965 range_reduce. Merge in __mpsin1.
9966 (__mpcos): Likewise.
9968 (__mpcos1): Likewise.
9970 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9972 * locale/loadlocale.c (_nl_intern_locale_data): Use
9974 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9975 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9976 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9977 obstack data is appropriately aligned.
9978 (obstack_int32_grow_fast): Likewise.
9979 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9980 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9981 (add_locale_uint32_array): Likewise.
9983 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9985 * benchtests/Makefile: Remove ARGLIST and RET variables.
9986 ($(objpfx)bench-%.c): Pass only function name to the script.
9987 * benchtests/README: Update documentation.
9988 * benchtests/acos-inputs: Add new directives.
9989 * benchtests/acosh-inputs: Likewise.
9990 * benchtests/asin-inputs: Likewise.
9991 * benchtests/asinh-inputs: Likewise.
9992 * benchtests/atan-inputs: Likewise.
9993 * benchtests/atanh-inputs: Likewise.
9994 * benchtests/cos-inputs: Likewise.
9995 * benchtests/cosh-inputs: Likewise.
9996 * benchtests/exp-inputs: Likewise.
9997 * benchtests/log-inputs: Likewise.
9998 * benchtests/pow-inputs: Likewise.
9999 * benchtests/rint-inputs: Likewise.
10000 * benchtests/sin-inputs: Likewise.
10001 * benchtests/sinh-inputs: Likewise.
10002 * benchtests/tan-inputs: Likewise.
10003 * benchtests/tanh-inputs: Likewise.
10004 * scripts/bench.pl: Add support for new directives.
10006 2013-10-07 Alan Modra <amodra@gmail.com>
10008 * README: Fix careless merge.
10010 2013-10-05 Alan Modra <amodra@gmail.com>
10012 * NEWS: Mention powerpc64le support and bugs fixed.
10013 * README: Both big-endian and little-endian powerpc64 supported.
10015 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10017 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10018 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10019 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10020 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10022 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10024 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10027 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10029 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10030 Move -mhard-float appending from
10031 ports/sysdeps/powerpc/powerpc32/Makefile.
10032 [$(with-fp) = yes] (ASFLAGS): Likewise.
10033 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10034 * sysdeps/powerpc/nofpu: Move directory from
10035 ports/sysdeps/powerpc/nofpu.
10036 * sysdeps/powerpc/soft-fp: Move directory from
10037 ports/sysdeps/powerpc/soft-fp.
10038 * sysdeps/powerpc/powerpc32/405: Move directory from
10039 ports/sysdeps/powerpc/powerpc32/405.
10040 * sysdeps/powerpc/powerpc32/440: Move directory from
10041 ports/sysdeps/powerpc/powerpc32/440.
10042 * sysdeps/powerpc/powerpc32/464: Move directory from
10043 ports/sysdeps/powerpc/powerpc32/464.
10044 * sysdeps/powerpc/powerpc32/476: Move directory from
10045 ports/sysdeps/powerpc/powerpc32/476.
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10047 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10049 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10051 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10055 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10056 * README: Update for powerpc-*-linux-gnu software floating point
10059 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10060 case to powerpc/powerpc32*.
10061 * sysdeps/unix/sysv/linux/configure: Regenerated.
10063 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10064 (_FPU_MASK_OM): Define as 0x04.
10065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10073 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10076 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10079 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10080 and setcontext_e500.
10082 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10084 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10086 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10088 * manual/threads.texi (Default Thread Attributes): Fix typo.
10090 2013-10-04 Will Newton <will.newton@linaro.org>
10092 * malloc/Makefile: Add tst-memalign.
10093 * malloc/tst-memalign.c: New file.
10095 * malloc/tst-posix_memalign.c: Add comments.
10096 (do_test): Add comments and call free on all potentially
10097 allocated pointers. Add space after cast.
10099 * malloc/tst-pvalloc.c: Add comments.
10100 (do_test): Add comments and call free on all potentially
10101 allocated pointers. Remove duplicate check for NULL pointer.
10102 Add space after cast.
10104 * malloc/tst-valloc.c: Add comments.
10105 (do_test): Add comments and call free on all potentially
10106 allocated pointers. Remove duplicate check for NULL pointer.
10107 Add space after cast.
10109 2013-10-04 Alan Modra <amodra@gmail.com>
10111 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10112 Use stdint types in rather than __attribute__((mode())).
10113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10115 2013-10-04 Alan Modra <amodra@gmail.com>
10117 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10118 Correct handling of unaligned relocs for little-endian.
10119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10121 2013-10-04 Alan Modra <amodra@gmail.com>
10123 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10124 * configure: Regenerate.
10125 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10126 * shlib-versions: Likewise.
10128 2013-10-04 Alan Modra <amodra@gmail.com>
10130 * string/tester.c (test_memrchr): Increment reported test cycle.
10132 2013-10-04 Alan Modra <amodra@gmail.com>
10134 * string/test-memcpy.c (do_one_test): When reporting errors, print
10135 string address and don't overrun end of string.
10137 2013-10-04 Alan Modra <amodra@gmail.com>
10139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10140 insrdi. Make better use of reg selection to speed exit slightly.
10141 Schedule entry path a little better. Remove useless "are we done"
10142 checks on entry to main loop. Handle wrapping around zero address.
10143 Correct main loop count. Handle single left-over word from main
10144 loop inline rather than by using loop_small. Remove extra word
10145 case in loop_small caused by wrong loop count. Add little-endian
10147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10148 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10150 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10152 support. Avoid rlwimi.
10153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10155 2013-10-04 Alan Modra <amodra@gmail.com>
10157 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10158 insrdi. Formatting.
10159 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10161 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10162 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10163 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10164 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10166 2013-10-04 Alan Modra <amodra@gmail.com>
10168 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10171 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10172 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10173 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10176 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10177 use of regs. Use power7 mtocrf. Tidy function tails.
10179 2013-10-04 Alan Modra <amodra@gmail.com>
10181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10182 Formatting. Consistently use rXXX register defines or rN defines.
10183 Use early exit labels that avoid restoring unused non-volatile regs.
10184 Make cr field use more consistent with rWORDn compares. Rename
10185 regs used as shift registers for unaligned loop, using rN defines
10186 for short lifetime/multiple use regs.
10187 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10189 addi 1,1,64 to pop stack frame. Simplify return value code.
10190 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10192 2013-10-04 Alan Modra <amodra@gmail.com>
10194 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10195 support. Correct typos, formatting. Optimize tail. Use insrdi
10196 rather than rlwimi.
10197 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10198 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10199 little-endian support. Correct typos.
10200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10201 rather than rlwimi.
10202 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10203 in loop and entry code to keep "and." results.
10204 (strchr): Add little-endian support. Comment. Move cntlzd
10206 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10208 2013-10-04 Alan Modra <amodra@gmail.com>
10210 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10211 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10212 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10213 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10215 2013-10-04 Alan Modra <amodra@gmail.com>
10217 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10218 (rTMP): Define as r11.
10219 (strcmp): Add little-endian support. Optimise tail.
10220 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10221 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10222 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10223 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10225 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10228 2013-10-04 Alan Modra <amodra@gmail.com>
10230 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10231 little-endian support. Remove unnecessary "are we done" tests.
10232 Handle "s" wrapping around zero and extremely large "size".
10233 Correct main loop count. Handle single left-over word from main
10234 loop inline rather than by using small_loop. Correct comments.
10235 Delete "zero" tail, use "end_max" instead.
10236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10238 2013-10-04 Alan Modra <amodra@gmail.com>
10240 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10241 support. Don't branch over align.
10242 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10243 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10244 support. Rearrange tmp reg use to suit. Comment.
10245 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10247 2013-10-04 Alan Modra <amodra@gmail.com>
10249 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10251 2013-10-04 Alan Modra <amodra@gmail.com>
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10254 conditional form of branch and link when obtaining pc.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10257 2013-10-04 Alan Modra <amodra@gmail.com>
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10264 2013-10-04 Alan Modra <amodra@gmail.com>
10266 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10267 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10268 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10269 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10270 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10271 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10272 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10275 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10277 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10278 Alistair Popple <alistair@ozlabs.au.ibm.com>
10279 Alan Modra <amodra@gmail.com>
10282 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10284 _dl_hwcap access for little-endian.
10285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10286 destroy vmx regs when saving unaligned.
10287 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10288 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10289 destroy vmx regs when saving unaligned.
10291 2013-10-04 Alan Modra <amodra@gmail.com>
10293 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10294 Don't use a union to pack hi/low value.
10296 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10298 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10300 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10302 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10303 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10304 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10306 2013-10-04 Alan Modra <amodra@gmail.com>
10308 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10309 constants to usual value for .cst8 section, and remove redundant
10311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10312 constant for 0x1p52. Load little-endian words of double from
10313 correct stack offsets.
10315 2013-10-04 Alan Modra <amodra@gmail.com>
10317 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10318 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10319 words of double from correct stack offsets.
10320 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10321 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10325 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10326 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10327 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10328 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10330 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10332 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10333 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10334 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10335 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10336 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10338 2013-10-04 Alan Modra <amodra@gmail.com>
10340 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10341 64-bit int/double union.
10342 (_FPU_SETCW): Likewise.
10343 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10344 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10346 2013-10-04 Alan Modra <amodra@gmail.com>
10348 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10349 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10351 2013-10-04 Alan Modra <amodra@gmail.com>
10353 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10354 use vector int constants.
10355 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10357 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10359 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10360 array with long long.
10361 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10362 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10363 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10364 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10365 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10366 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10367 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10368 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10369 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10370 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10371 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10372 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10375 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10377 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10378 (__signbit): Likewise. Correct for little-endian.
10379 (__signbitl): Call __signbit.
10380 (lrint): Correct for little-endian.
10381 (lrintf): Call lrint.
10383 2013-10-04 Alan Modra <amodra@gmail.com>
10385 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10386 union 32-bit int array member with 64-bit int array.
10387 (t515, tm256): Double rather than long double.
10388 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10390 2013-10-04 Alan Modra <amodra@gmail.com>
10392 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10394 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10396 version of math_ldbl.h.
10398 2013-10-04 Alan Modra <amodra@gmail.com>
10400 [BZ #15734], [BZ #15735]
10401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10402 all uses of ieee875 long double macros and unions. Simplify test
10403 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10404 ldbl_extract_mantissa value for ix,iy exponents. Properly
10405 normalize after ldbl_extract_mantissa, and don't add hidden bit
10406 already handled. Don't treat low word of ieee854 mantissa like
10407 low word of IBM long double and mask off bit when testing for
10409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10410 all uses of ieee875 long double macros and unions. Simplify tests
10411 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10412 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10413 two1022, instead use their values. Recognise that tests for large
10414 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10415 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10416 Rewrite all uses of ieee875 long double macros and unions. Simplify
10417 test for 0.0L and nan. Correct negation.
10418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10419 ieee875 long double macros and unions. Correct output for large
10420 magnitude x. Correct absolute value calculation.
10421 (__erfcl): Likewise.
10422 * math/libm-test.inc: Add tests for errors discovered in IBM long
10423 double versions of fmodl, remainderl, erfl and erfcl.
10425 2013-10-04 Alan Modra <amodra@gmail.com>
10427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10428 all uses of ieee854 long double macros and unions. Simplify tests
10429 for long doubles that are fully specified by the high double.
10430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10432 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10433 Remove dead code too.
10434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10435 (__ieee754_ynl): Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10439 Remove dead code too.
10440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10450 Comment on variable precision.
10451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10454 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10460 2013-10-04 Alan Modra <amodra@gmail.com>
10462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10464 all uses of ieee854 long double macros and unions.
10465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10478 Simplify sign and nan test too.
10479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10484 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10494 2013-10-04 Alan Modra <amodra@gmail.com>
10496 * stdio-common/printf_size.c (__printf_size): Don't use
10497 union ieee854_long_double in fpnum union.
10498 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10499 signbit macro to retrieve sign from long double.
10500 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10501 retrieve sign from long double.
10502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10503 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10506 * math/test-misc.c (main): Don't use union ieee854_long_double.
10508 2013-10-04 Alan Modra <amodra@gmail.com>
10511 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10512 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10513 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10514 calculation. Remove unnecessary test for denormal exponent.
10515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10516 Correct handling of denormals. Avoid undefined shift behaviour.
10517 Correct normalisation of low mantissa when low double is denormal.
10518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10519 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10520 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10521 Correct normalisation of low mantissa. Test for overflow of high
10522 mantissa and normalise.
10523 (ldbl_nearbyint): Use more readable constant for two52.
10524 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10525 (__mpn_construct_long_double): Fix test for overflow of high
10526 mantissa and correct normalisation. Avoid undefined shift.
10528 2013-10-04 Alan Modra <amodra@gmail.com>
10530 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10531 (union ibm_extended_long_double): Define as an array of ieee754_double.
10532 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10533 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10534 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10544 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10546 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10547 page size instead of calling getpagesize.
10549 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10550 (LOCFILE_ALIGN_MASK): Likewise.
10551 (LOCFILE_ALIGN_UP): Likewise.
10552 (LOCFILE_ALIGNED_P): Likewise.
10553 * locale/programs/ld-collate.c (collate_output): Use the new
10554 macros instead of __alignof__ (int32_t).
10555 * locale/weight.h (findidx): Likewise.
10557 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10560 * manual/string.texi: Fix strncat and wcsncat.
10562 2013-10-03 Brooks Moses <bmoses@google.com>
10565 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10566 * Makerules: ...here, and adjust associated comments.
10568 2013-10-02 Will Newton <will.newton@linaro.org>
10570 * malloc/Makefile: Add tst-pvalloc.
10571 * malloc/tst-pvalloc.c: New file.
10573 2013-10-02 Will Newton <will.newton@linaro.org>
10575 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10576 improve test coverage.
10578 2013-10-02 Will Newton <will.newton@linaro.org>
10580 * malloc/Makefile: Add tst-posix_memalign.
10581 * malloc/tst-posix_memalign.c: New file.
10583 2013-10-01 Eric Blake <eblake@redhat.com>
10585 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10586 Use __THROWNL rather than __THROW on static functions.
10588 2013-09-30 Petr Machata <pmachata@redhat.com>
10590 * elf/elf.h (R_AARCH64_ABS16): New macro.
10591 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10592 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10593 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10594 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10595 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10596 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10597 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10598 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10599 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10600 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10601 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10602 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10603 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10604 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10605 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10606 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10607 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10608 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10609 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10610 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10611 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10612 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10613 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10614 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10615 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10616 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10617 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10618 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10619 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10620 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10621 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10622 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10623 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10624 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10625 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10626 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10627 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10628 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10629 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10630 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10631 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10632 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10633 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10634 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10635 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10636 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10637 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10638 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10639 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10640 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10641 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10642 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10643 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10644 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10645 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10646 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10647 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10648 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10649 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10650 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10651 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10652 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10653 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10654 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10655 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10656 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10657 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10658 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10659 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10660 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10661 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10662 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10663 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10664 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10665 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10666 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10667 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10668 (R_AARCH64_TLSDESC_LDR): Likewise.
10669 (R_AARCH64_TLSDESC_ADD): Likewise.
10670 (R_AARCH64_TLSDESC_CALL): Likewise.
10672 2013-09-30 Andreas Schwab <schwab@suse.de>
10675 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10676 the nss database lookup.
10677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10680 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10682 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10684 2013-09-28 P. J. McDermott <pj@pehjota.net>
10686 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10687 ${Bash-specific parameter/pattern/string} parameter expansion.
10688 * sysdeps/unix/make-syscalls.sh: Likewise.
10690 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10692 * sysdeps/sh/stackguard-macros.h: New file.
10694 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10698 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10699 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10701 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10703 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10706 Fix thread ID register.
10708 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10710 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10711 [POSIX || UNIX98]: Require rather than permitting all symbols from
10713 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10714 element of struct sched_param.
10715 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10716 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10717 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10718 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10721 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10723 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10724 argument calculation.
10726 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10728 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10730 [POSIX] (pthread_attr_t): Do not require type.
10731 [POSIX] (pthread_cond_t): Likewise.
10732 [POSIX] (pthread_condattr_t): Likewise.
10733 [POSIX] (pthread_key_t): Likewise.
10734 [POSIX] (pthread_mutex_t): Likewise.
10735 [POSIX] (pthread_mutexattr_t): Likewise.
10736 [POSIX] (pthread_once_t): Likewise.
10737 [POSIX] (pthread_t): Likewise.
10738 [POSIX-based standards] (pthread_atfork): Expect function.
10740 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10741 Richard Sandiford <richard@codesourcery.com>
10743 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10744 (swap_endianness_p): New extern variable.
10745 (set_big_endian): New inline function.
10746 (maybe_swap_uint32): Likewise.
10747 (maybe_swap_uint32_array): Likewise.
10748 (maybe_swap_uint32_obstack): Likewise.
10749 * locale/programs/locfile.c: Include <stdbool.h>.
10750 (swap_endianness_p): New variable.
10751 (add_locale_uint32): Call maybe_swap_uint32.
10752 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10753 (write_locale_data): Call maybe_swap_uint32_array.
10754 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10756 (obstack_int32_grow_fast): Likewise.
10757 (output_weightwc): Call maybe_swap_uint32_obstack.
10758 (collate_output): Likewise.
10759 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10760 (OPT_LITTLE_ENDIAN): Likewise.
10761 (options): Add --little-endian and --big-endian options.
10762 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10763 * locale/programs/locarchive.c: Include "locfile.h".
10767 (create_archive): Use the new macros to access fields of
10768 structures directly mapped from or written to locale archives.
10769 (oldlocrecentcmp): Likewise.
10770 (enlarge_archive): Likewise.
10771 (insert_name): Likewise.
10772 (add_alias): Likewise.
10773 (add_locale): Likewise.
10774 (delete_locales_from_archive): Likewise.
10775 (show_archive_content): Likewise.
10776 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10779 2013-09-24 Roland McGrath <roland@hack.frob.com>
10781 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10782 http://www.gnu.org/doc/freemanuals.texi.
10783 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10785 2013-09-24 Will Newton <will.newton@linaro.org>
10787 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10790 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10792 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10795 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10797 * manual/threads.texi (POSIX Threads): Fix a typo.
10799 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10802 * string/tst-strcoll-overflow.c: New test case.
10803 * string/Makefile (xtests): Add tst-strcoll-overflow.
10804 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10805 cache if string sizes may cause integer overflow.
10808 * string/strcoll_l.c (coll_seq): New members rule, idx,
10809 save_idx and back_us.
10810 (get_next_seq_nocache): New function.
10811 (do_compare_nocache): New function.
10812 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10815 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10818 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10819 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10820 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10823 * elf/Makefile (tests): Add tst-ptrguard1.
10824 (tests-static): Add tst-ptrguard1-static.
10825 (tst-ptrguard1-ARGS): Define.
10826 (tst-ptrguard1-static-ARGS): Define.
10827 * elf/tst-ptrguard1.c: New file.
10828 * elf/tst-ptrguard1-static.c: New file.
10829 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10830 * sysdeps/i386/stackguard-macros.h: Likewise.
10831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10838 2013-09-23 Hector Marco <hecmargi@upv.es>
10839 Ismael Ripoll <iripoll@disca.upv.es>
10840 Carlos O'Donell <carlos@redhat.com>
10843 * sysdeps/generic/stackguard-macros.h: Define
10844 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10845 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10846 Define __pointer_chk_guard_local.
10847 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10848 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10850 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10853 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10855 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10857 * include/string.h (__ffs): Declare as hidden.
10858 * string/ffs.c (__ffs): Define as hidden.
10859 * sysdeps/i386/ffs.c (__ffs): Likewise.
10860 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10861 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10862 * sysdeps/s390/ffs.c (__ffs): Likewise.
10863 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10865 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10867 * NEWS: Mention malloc probes.
10869 * malloc/arena.c (new_heap): New memory_heap_new probe.
10870 (grow_heap): New memory_heap_more probe.
10871 (shrink_heap): New memory_heap_less probe.
10872 (heap_trim): New memory_heap_free probe.
10873 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10874 (systrim): New memory_sbrk_less probe.
10875 * manual/probes.texi: Document them.
10877 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10878 * manual/probes.texi: Document it.
10880 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10881 (__libc_realloc): Add memory_realloc_retry probe.
10882 (__libc_memalign): Add memory_memalign_retry probe.
10883 (__libc_valloc): Add memory_valloc_retry probe.
10884 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10885 (__libc_calloc): Add memory_calloc_retry probe.
10886 * manual/probes.texi: Document them.
10888 * malloc/arena.c (get_free_list): Add probe
10889 memory_arena_reuse_free_list.
10890 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10891 and memory_arena_reuse.
10892 (arena_get2) [!PER_THREAD]: Likewise.
10893 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10894 memory_arena_reuse_realloc.
10895 * manual/probes.texi: Document them.
10897 * malloc/malloc.c (__libc_free): Add
10898 memory_mallopt_free_dyn_thresholds probe.
10899 (__libc_mallopt): Add multiple memory_mallopt probes.
10900 * manual/probes.texi: Document them.
10902 * malloc/malloc.c: Include stap-probe.h.
10903 (__libc_mallopt): Add memory_mallopt probe.
10904 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10905 * manual/probes.texi: New.
10906 * manual/Makefile (chapters): Add probes.
10907 * manual/threads.texi: Set next node.
10909 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10911 [BZ #15963, #13985]
10912 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10913 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10914 Add `Chinese' to `nan' entry name.
10916 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10918 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10919 (POLYNOMIAL): Likewise.
10920 (TAYLOR_SINCOS): Likewise.
10921 (TAYLOR_SLOW): Likewise.
10922 (__sin): Use TAYLOR_SINCOS.
10924 (slow): Use TAYLOR_SLOW.
10926 (bsloww): Likewise.
10927 (csloww): Likewise.
10929 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10931 * stdlib/strtod_l.c: Fix buffer overrun.
10933 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10935 * benchtests/Makefile (bench): Add sincos.
10936 * benchtests/bench-sincos.c: New file.
10938 * math/libm-test.inc (cos_test_data): New test inputs.
10939 (sin_test_data): Likewise.
10941 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10947 (sloww1): Likewise.
10948 (sloww2): Likewise.
10949 (bsloww1): Likewise.
10950 (bsloww2): Likewise.
10951 (cslow2): Likewise.
10952 (csloww1): Likewise.
10953 (csloww2): Likewise.
10955 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10964 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10966 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10967 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10968 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10969 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10970 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10971 * elf/cache.c (print_entry): Handle the new cache flags.
10973 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10974 Aldy Hernandez <aldyh@redhat.com>
10976 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10977 Change condition to [_SOFT_FLOAT].
10978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10990 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10993 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10996 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10999 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11000 (__longjmp): Use LOAD_GP to load saved GPRs.
11001 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11002 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11003 (__sigsetjmp): Use SAVE_GP to save GPRs.
11005 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11006 Do not append -msoft-float.
11007 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11009 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11011 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11013 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11016 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11017 (_FPU_GETCW): Use initial "__" on variable and field names but not
11018 on macro parameter name.
11019 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11020 parentheses around reference to macro parameter.
11022 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11024 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11026 (ctype_startup): Use uint32_t in cast and sizeof for
11029 2013-09-11 Jia Liu <proljc@gmail.com>
11031 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11033 [__FreeBSD__]: Likewise.
11035 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11038 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11039 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11040 (strchr): Remove __strchr_sse42 ifunc selection.
11041 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11042 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11044 2013-09-11 Will Newton <will.newton@linaro.org>
11046 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11047 parameter to RES. Remove hardcoded 1000 value.
11048 * benchtests/bench-skeleton.c (main): Pass RES parameter
11049 to TIMING_INIT and multiply result by 1000.
11051 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11055 2013-09-11 Andreas Schwab <schwab@suse.de>
11057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11059 (O_TMPFILE) [__USE_GNU]: Define.
11060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11063 2013-09-11 Will Newton <will.newton@linaro.org>
11066 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11069 2013-09-11 Will Newton <will.newton@linaro.org>
11072 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11075 2013-09-11 Will Newton <will.newton@linaro.org>
11078 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11081 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11083 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11089 2013-09-10 Allan McRae <allan@archlinux.org>
11092 * manual/arith.texi (Parsing of Floats): Clarify
11096 * manual/install.texi (Running make install): Mention
11098 * INSTALL: Regenerated.
11100 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11102 * csu/init-first.c (_init): Remove the !SHARED condition around
11103 FPU control word initialization.
11104 * elf/dl-support.c (_dl_fpu_control): New variable.
11105 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11106 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11107 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11108 * math/test-fpucw-static.c: New file.
11109 * math/test-fpucw-ieee.c: New file.
11110 * math/test-fpucw-ieee-static.c: New file.
11111 * math/Makefile (tests): Add `test-fpucw-ieee' and
11113 (tests-static): New variable.
11114 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11116 [($(build-shared),yes)]
11117 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11119 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11122 2013-09-09 Allan McRae <allan@archlinux.org>
11125 * manual/string.texi (Collation Functions): Fix typo in
11127 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11130 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11133 * libio/memstream.c (open_memstream): Fix memory leak.
11134 * libio/wmemstream.c (open_wmemstream): Likewise.
11137 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11139 2013-09-09 Will Newton <will.newton@linaro.org>
11141 * malloc/Makefile: Add tst-realloc to tests.
11142 * malloc/tst-realloc.c: New file.
11144 2013-09-09 Allan McRae <allan@archlinux.org>
11147 * COPYING: Update from GNU website to fix FSF address.
11148 * COPYING.LIB: Likewise.
11150 2013-09-06 David S. Miller <davem@davemloft.net>
11152 * po/zh_TW.po: Update Chinese (traditional) translation from
11153 translation project.
11155 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11156 Joseph Myers <joseph@codesourcery.com>
11158 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11160 (obstack_chunk_alloc): New macro.
11161 (obstack_chunk_free): Likewise.
11162 (record_offset): New function.
11163 (init_locale_data): Likewise.
11164 (align_locale_data): Likewise.
11165 (add_locale_empty): Likewise.
11166 (add_locale_raw_data): Likewise.
11167 (add_locale_raw_obstack): Likewise.
11168 (add_locale_string): Likewise.
11169 (add_locale_wstring): Likewise.
11170 (add_locale_uint32): Likewise.
11171 (add_locale_uint32_array): Likewise.
11172 (add_locale_char): Likewise.
11173 (start_locale_structure): Likewise.
11174 (end_locale_structure): Likewise.
11175 (start_locale_prelude): Likewise.
11176 (end_locale_prelude): Likewise.
11177 (write_locale_data): Take locale_file structure rather than an
11179 * locale/programs/locfile.h: Include "obstack.h".
11180 (struct locale_file): Change to store locale file contents instead
11182 (init_locale_data): New prototype.
11183 (align_locale_data): Likewise.
11184 (add_locale_empty): Likewise.
11185 (add_locale_raw_data): Likewise.
11186 (add_locale_raw_obstack): Likewise.
11187 (add_locale_string): Likewise.
11188 (add_locale_wstring): Likewise.
11189 (add_locale_uint32): Likewise.
11190 (add_locale_uint32_array): Likewise.
11191 (add_locale_char): Likewise.
11192 (start_locale_structure): Likewise.
11193 (end_locale_structure): Likewise.
11194 (start_locale_prelude): Likewise.
11195 (end_locale_prelude): Likewise.
11196 (write_locale_data): Update prototype.
11197 * locale/programs/3level.h (struct TABLE): Remove result field.
11198 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11199 Use new locale_file interface.
11200 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11201 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11202 * locale/programs/ld-address.c (address_output): Use new
11203 locale_file interface.
11204 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11206 (collate_finish): Don't call collseq_table_finalize.
11207 (collate_output): Use new locale_file interface.
11208 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11210 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11211 (TABLE): Move defines earlier in file.
11212 (ELEMENT): Likewise.
11213 (DEFAULT): Likewise.
11214 (wctrans_table_add): Move macro and inline function earlier in
11216 (struct wctype_table): Move type earlier in file.
11217 (add_locale_wctype_table): New static prototype.
11218 (struct locale_ctype_t): Use logical types instead of struct iovec
11219 pointers for members.
11220 (ctype_output): Use new locale_file interface.
11221 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11222 new locale_file interface.
11223 (allocate_arrays): Update for use of new locale_file interface.
11224 * locale/programs/ld-identification.c (identification_output): Use
11225 new locale_file interface.
11226 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11227 * locale/programs/ld-messages.c (messages_output): Likewise.
11228 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11229 * locale/programs/ld-name.c (name_output): Likewise.
11230 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11231 * locale/programs/ld-paper.c (paper_output): Likewise.
11232 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11233 * locale/programs/ld-time.c (time_output): Likewise.
11235 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237 * benchtests/Makefile: Add memrchr benchmark.
11238 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11239 benchmark as memrchr.
11240 * benchtests/bench-memrchr-ifunc.c: New file.
11241 * benchtests/bench-memrchr.c: New file.
11243 2013-09-06 Will Newton <will.newton@linaro.org>
11245 * benchtests/Makefile (string-bench): Add memcpy.
11247 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11248 Cong Wang <amwang@redhat.com>
11251 * sysdeps/unix/sysv/linux/bits/in.h
11252 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11253 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11254 before __USE_KERNEL_IPV6_DEFS uses.
11255 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11257 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11258 sockaddr_in6, or ipv6_mreq.
11260 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11262 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11263 memory access for final bytes in some large inputs.
11264 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11266 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11268 * string/test-memrchr.c: New file.
11269 * string/test-memrchr-ifunc.c: New file.
11270 * string/Makefile: Add new memrchr testcase.
11272 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11274 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11275 fanotify_init returns EPERM.
11277 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11279 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11281 (top level): Treat second token from macro or constant entries for
11282 allowed headers as allowed.
11283 * include/complex.h: Condition internal declarations on
11285 * include/fenv.h: Condition include of <stdbool.h> and internal
11286 declarations on [!_ISOMAC].
11288 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11291 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11293 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11295 * configure.in (--enable-versioning): Remove configure option.
11296 (libc_cv_asm_symver_directive): Remove configure test.
11297 (libc_cv_ld_version_script_option): Likewise.
11298 (VERSIONING): Remove variable and AC_SUBST.
11299 (DO_VERSIONING): Remove AC_DEFINE.
11300 * configure: Regenerated.
11301 * config.h.in (DO_VERSIONING): Remove macro.
11302 * Makerules [$(versioning) = yes]: Change conditionals to
11303 [$(build-shared) = yes].
11304 * config.make.in (versioning): Remove variable.
11305 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11306 [$(build-shared) = yes].
11307 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11308 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11309 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11310 [$(build-shared) = yes].
11311 * extra-lib.mk [$(versioning) = yes]: Likewise.
11312 * hurd/Makefile [$(versioning) = yes]: Likewise.
11313 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11315 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11317 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11318 [SHARED && !NO_HIDDEN].
11319 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11321 [SHARED && DO_VERSIONING]: Likewise..
11322 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11323 [$(build-shared) = yes].
11324 * manual/install.texi (--disable-versioning): Remove
11326 * INSTALL: Regenerated.
11327 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11329 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11330 [$(build-shared) = yes].
11331 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11332 * sysdeps/i386/i686/multiarch/strstr-c.c
11333 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11334 [SHARED && !NO_HIDDEN].
11335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11336 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11337 * sysdeps/powerpc/powerpc32/dl-machine.c
11338 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11339 * sysdeps/powerpc/powerpc32/sysdep.h
11340 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11341 to [SHARED && PIC && !NO_HIDDEN].
11342 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11343 conditional to [SHARED].
11345 2013-09-04 Will Newton <will.newton@linaro.org>
11347 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11348 * benchtests/bench-string.h: Include bench-timing.h instead
11349 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11350 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11351 call to HP_TIMING_DIFF_INIT.
11352 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11353 instead of hp-timing.h macros.
11354 * benchtests/bench-memchr.c: Likewise.
11355 * benchtests/bench-memcmp.c: Likewise.
11356 * benchtests/bench-memcpy.c: Likewise.
11357 * benchtests/bench-memmem.c: Likewise.
11358 * benchtests/bench-memmove.c: Likewise.
11359 * benchtests/bench-memset.c: Likewise.
11360 * benchtests/bench-rawmemchr.c: Likewise.
11361 * benchtests/bench-strcasecmp.c: Likewise.
11362 * benchtests/bench-strcasestr.c: Likewise.
11363 * benchtests/bench-strcat.c: Likewise.
11364 * benchtests/bench-strchr.c: Likewise.
11365 * benchtests/bench-strcmp.c: Likewise.
11366 * benchtests/bench-strcpy.c: Likewise.
11367 * benchtests/bench-strcpy_chk.c: Likewise.
11368 * benchtests/bench-strlen.c: Likewise.
11369 * benchtests/bench-strncasecmp.c: Likewise.
11370 * benchtests/bench-strncat.c: Likewise.
11371 * benchtests/bench-strncmp.c: Likewise.
11372 * benchtests/bench-strncpy.c: Likewise.
11373 * benchtests/bench-strnlen.c: Likewise.
11374 * benchtests/bench-strpbrk.c: Likewise.
11375 * benchtests/bench-strrchr.c: Likewise.
11376 * benchtests/bench-strspn.c: Likewise.
11377 * benchtests/bench-strstr.c: Likewise.
11379 2013-09-04 Will Newton <will.newton@linaro.org>
11381 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11383 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11386 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11387 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11388 * math/libm-test.inc (lgamma_test_data): Add more tests.
11389 * sysdeps/i386/fpu/libm-test-ulps: Update.
11390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11392 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11394 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11398 Add strcmp-sse2-unaligned
11399 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11401 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11403 * Versions.def (libc): Add GLIBC_2.19.
11405 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11407 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11408 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11410 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11413 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11414 intermediate calculations in recurrence.
11415 (__ieee754_ynf): Likewise.
11416 * math/libm-test.inc (jn_test_data): Do not allow spurious
11417 underflow exception. Add more tests.
11418 (yn_test_data): Add more tests.
11419 * sysdeps/i386/fpu/libm-test-ulps: Update.
11420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11422 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11426 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11428 * csu/init-first.c: Fix then/than typos.
11429 * locale/programs/ld-collate.c: Likewise.
11430 * locale/programs/linereader.h: Likewise.
11431 * manual/charset.texi: Likewise.
11432 * manual/filesys.texi: Likewise.
11433 * manual/stdio.texi: Likewise.
11434 * manual/string.texi: Likewise.
11435 * stdlib/fmtmsg.c: Likewise.
11436 * sysdeps/i386/stpncpy.S: Likewise.
11437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11438 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11442 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11444 * elf/dl-open.c: Fix typos.
11445 * iconvdata/gbbig5.c: Likewise.
11446 * iconvdata/iso-2022-jp.c: Likewise.
11447 * iconv/gconv_int.h: Likewise.
11448 * iconv/loop.c: Likewise.
11449 * nis/rpcsvc/nis.h: Likewise.
11450 * resolv/ns_name.c: Likewise.
11451 * stdio-common/vfscanf.c: Likewise.
11452 * streams/stropts.h: Likewise.
11453 * sunrpc/rpc_thread.c: Likewise.
11454 * sysdeps/i386/strpbrk.S: Likewise.
11455 * sysdeps/ieee754/k_standard.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11458 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11459 * sysdeps/mach/hurd/profil.c: Likewise.
11460 * sysdeps/s390/dl-procinfo.h: Likewise.
11461 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11464 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11467 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11469 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11472 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11474 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11475 aix specific files.
11476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11477 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11478 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11479 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11480 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11481 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11485 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11486 Roland McGrath <roland@hack.frob.com>
11488 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11489 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11491 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11493 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11494 __executable_start symbol instead of _start.
11496 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11498 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11499 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11501 * sysdeps/gnu/ldsodefs.h: ... this new file.
11503 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11504 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11505 instead of ELFOSABI_LINUX.
11507 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11508 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11509 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11510 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11512 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11513 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11516 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11517 (ibm_extended_long_double): Add ieee_nan member.
11518 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11519 (do_test): New function.
11521 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11523 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11524 functions, renamed from truncdfsf_test, trunctfsf_test,
11526 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11528 (do_test): Run all these.
11530 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11532 * argp/argp-help.c: Fix typos.
11533 * argp/argp-parse.c: Likewise.
11534 * debug/backtracesyms.c: Likewise.
11535 * elf/elf.h: Likewise.
11536 * malloc/malloc.c: Likewise.
11537 * nis/nis_print.c: Likewise.
11538 * resolv/res_comp.c: Likewise.
11539 * stdlib/stdlib.h: Likewise.
11540 * sunrpc/clnt_tcp.c: Likewise.
11541 * sunrpc/clnt_udp.c: Likewise.
11542 * sunrpc/clnt_unix.c: Likewise.
11543 * sysdeps/unix/bsd/ptsname.c: Likewise.
11544 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11552 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11554 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11556 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11559 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11562 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11563 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11564 ($(objpfx)bug-dl-leaf): New rule.
11565 ($(objpfx)bug-dl-leaf.so): Likewise.
11566 ($(objpfx)bug-dl-leaf.out): Likewise.
11567 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11568 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11569 * dlfcn/bug-dl-leaf.c: New test.
11570 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11571 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11572 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11573 (dlclose): Likewise.
11574 (dlmopen): Likewise.
11576 2013-08-27 Roland McGrath <roland@hack.frob.com>
11578 * include/netdb.h [!_ISOMAC]:
11579 Don't include <tls.h>.
11580 (h_errno, __libc_h_errno): Move declaration and macros out of
11583 * include/resolv.h [_RESOLV_H_]:
11584 Don't include <tls.h>.
11585 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11586 * resolv/res_libc.c: Don't include <tls.h>.
11587 (_res): Use __attribute__ ((nocommon)) in place of
11588 __attribute__ ((section (".bss"))).
11590 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11591 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11593 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11595 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11596 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11598 * resolv/res_mkquery.c: Include <sys/time.h>.
11600 * inet/ifreq.c: Moved to ...
11601 * sysdeps/unix/ifreq.c: ... here.
11602 * inet/ifreq.c: New file, true stub version.
11604 * socket/sa_len.c: New file.
11605 * socket/Makefile (aux): Add it.
11606 * sysdeps/unix/sysv/linux/Makefile
11607 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11608 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11609 and #include <socket/sa_len.c>.
11610 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11611 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11613 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11614 * bits/socket.h: ... here.
11616 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11617 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11618 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11620 2013-08-27 Andreas Schwab <schwab@suse.de>
11623 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11624 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11625 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11626 * string/test-strcasecmp.c (test_main): Run tests in several
11628 * string/test-strncasecmp.c (test_main): Likewise.
11630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11631 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11632 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11634 (__strncasecmp_ssse3) [PIC]: Likewise.
11636 2013-08-26 Roland McGrath <roland@hack.frob.com>
11638 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11640 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11641 instead of explicitly declaring xdecrypt.
11642 * nis/nss_nis/nis-publickey.c: Likewise.
11644 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11647 * nscd/aicache.c: Include res_hconf.h.
11648 (addhstaiX): Initialize res_hconf.
11650 2013-08-26 Andreas Schwab <schwab@suse.de>
11652 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11653 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11655 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11657 * nscd/aicache.c (addhstaiX): Fix indentation.
11659 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11661 * configure.ac: Quote $build_pt_chown test.
11662 * configure: Regenerated.
11664 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11667 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11668 * math/s_cexpf.c (__cexpf): Likewise.
11669 * math/s_cexpl.c (__cexpl): Likewise.
11670 * math/libm-test.inc (cexp_test_data): Correct expected return
11671 value for NaN + i0. Add another test.
11673 2013-08-22 David S. Miller <davem@davemloft.net>
11675 * po/ca.po: Update Catalan translation from translation project.
11676 * po/uk.po: Add Ukrainian translations from translation project.
11678 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11681 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11682 is infinite, not alongside NaN test.
11683 * math/s_fdimf.c (__fdimf): Likewise.
11684 * math/s_fdiml.c (__fdiml): Likewise.
11685 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11686 errno is unchanged.
11688 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11690 * argp/argp-help.c: Fix typos.
11691 * crypt/speeds.c: Likewise.
11692 * csu/check_fds.c: Likewise.
11693 * elf/dl-load.c: Likewise.
11694 * elf/dl-open.c: Likewise.
11695 * elf/reldep3.c: Likewise.
11696 * elf/reldep.c: Likewise.
11697 * elf/sprof.c: Likewise.
11698 * iconv/iconv_charmap.c: Likewise.
11699 * iconv/skeleton.c: Likewise.
11700 * iconv/strtab.c: Likewise.
11701 * io/lockf64.c: Likewise.
11702 * libio/libioP.h: Likewise.
11703 * resolv/gai_notify.c: Likewise.
11704 * resolv/ns_name.c: Likewise.
11705 * resolv/ns_samedomain.c: Likewise.
11706 * resolv/res_send.c: Likewise.
11707 * stdlib/random.c: Likewise.
11708 * sunrpc/rpc/xdr.h: Likewise.
11709 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11710 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11711 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11712 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11713 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11714 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11716 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11717 * sysdeps/mach/hurd/check_fds.c: Likewise.
11718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11719 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11720 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11722 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11723 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11724 * sysdeps/pthread/aio_notify.c: Likewise.
11725 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11726 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11727 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11729 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11731 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11733 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11734 version if bit_Slow_SSE4_2 is set.
11735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11738 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11741 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11742 trampoline stack frame information.
11743 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11745 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11746 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11747 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11748 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11749 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11750 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11752 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11753 interrupting a syscall and set with option SA_SIGINFO.
11755 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11758 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11759 argument is infinite.
11760 * math/s_cprojf.c (__cprojf): Likewise.
11761 * math/s_cprojl.c (__cprojl): Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11763 * math/libm-test.inc (cproj_test_data): Add more tests.
11765 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11767 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11768 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11769 size. Use __ffs to determine corresponding shift.
11771 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11772 Roland McGrath <roland@hack.frob.com>
11774 * Makefile (INSTALL): Remove trailing blank lines from output of
11777 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11779 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11780 Align 32 bit compat elf_greg to 8 bytes.
11782 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11784 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11786 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11788 * string/strcoll_l.c (coll_seq): New structure.
11789 (get_next_seq_cached): New function.
11790 (get_next_seq): New function.
11791 (do_compare): New function.
11792 (STRCOLL): Use GNU style definition. Simplify implementation
11793 by using get_next_seq, get_next_seq_cached and do_compare.
11795 2013-08-16 Florian Weimer <fweimer@redhat.com>
11799 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11801 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11803 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11804 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11805 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11807 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11808 GETDENTS_64BIT_ALIGNED.
11809 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11810 * manual/filesys.texi (Reading/Closing Directory): Document
11811 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11813 * manual/conf.texi (Limits for Files): Add portability note to
11814 NAME_MAX, PATH_MAX.
11815 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11817 2013-08-13 Andreas Schwab <schwab@suse.de>
11820 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11822 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11823 LDBL_MAX_EXP >= 16384]: Add tests for it.
11825 2013-08-12 David S. Miller <davem@davemloft.net>
11827 * version.h (RELEASE): Set to "development".
11828 (VERSION): Set to "2.18.90".
11829 * NEWS: Add 2.19 section.
11831 2013-08-03 David S. Miller <davem@davemloft.net>
11833 * po/ko.po: Update Korean translation from translation project.
11835 2013-08-01 David S. Miller <davem@davemloft.net>
11837 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11838 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11841 2013-07-30 David S. Miller <davem@davemloft.net>
11843 * po/fr.po: Update French translation from translation project.
11845 2013-07-28 David S. Miller <davem@davemloft.net>
11847 * po/cs.po: Update Czech translation from translation project.
11849 * po/sv.po: Update Swedish translation from translation project.
11851 2013-07-27 David S. Miller <davem@davemloft.net>
11853 * po/eo.po: Update Esperanto translation from translation project.
11855 * po/vi.po: Update Vietnamese translation from translation project.
11857 * po/de.po: Update German translation from translation project.
11859 2013-07-26 David S. Miller <davem@davemloft.net>
11861 * po/bg.po: Update Bulgarian translation from translation project.
11863 * po/nl.po: Update Dutch translation from translation project.
11864 * po/pl.po: Update Polish translation from translation project.
11865 * po/ru.po: Update Russian translation from translation project.
11867 2013-07-24 David S. Miller <davem@davemloft.net>
11869 * po/libc.pot: Update.
11871 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11873 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11874 variable page size.
11875 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11876 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11877 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11879 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11881 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11883 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11884 Andreas Schwab <schwab@suse.de>
11885 Roland McGrath <roland@hack.frob.com>
11886 Joseph Myers <joseph@codesourcery.com>
11887 Carlos O'Donell <carlos@redhat.com>
11890 * config.h.in: Define HAVE_PT_CHOWN.
11891 * config.make.in (build-pt-chown): New variable.
11892 * configure.in (--enable-pt_chown): New configure option.
11893 * configure: Regenerate.
11894 * login/Makefile: Include Makeconfig. Build pt_chown only if
11895 build-pt-chown is enabled.
11896 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11897 pt_chown to fix pty ownership.
11898 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11900 * manual/install.texi (Configuring and compiling): Mention
11901 --enable-pt_chown. Add @findex for grantpt.
11902 * INSTALL: Regenerate.
11904 2013-07-20 David S. Miller <davem@davemloft.net>
11906 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11907 difference between 32-bit and 64-bit.
11909 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11912 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11913 Avoid system header dependency with -ffreestanding.
11914 ($(objpfx)bits/syscall%d): Likewise.
11916 2013-07-13 David S. Miller <davem@davemloft.net>
11918 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11919 underflows from atanl/atan2l due to bug 15319.
11920 (casinh_test_data): Likewise.
11922 2013-07-07 David S. Miller <davem@davemloft.net>
11924 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11926 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11928 * sysdeps/i386/fpu/libm-test-ulps: Update.
11929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11931 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11933 * configure.in (--enable-lock-elision): Fix message text.
11934 * INSTALL: Regenerate.
11935 * configure: Regenerate.
11937 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11941 2013-07-03 Andreas Jaeger <aj@suse.de>
11943 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11945 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11946 (ptrace_peeksiginfo_args): Add.
11947 (__ptrace_peeksiginfo_flags): Add.
11948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11952 2013-07-03 Allan McRae <allan@archlinux.org>
11954 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 2013-07-02 David S. Miller <davem@davemloft.net>
11958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11960 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11964 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11966 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11969 2013-07-02 Andi Kleen <ak@linux.intel.com>
11971 * config.h.in (ENABLE_LOCK_ELISION): Add.
11972 * configure.in (--enable-lock-elision): Add option.
11973 * manual/install.texi: Document --enable lock elision.
11974 * configure: Regenerate
11975 * INSTALL: Regenerate.
11977 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11979 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11980 SSE4.2 strcasecmp for libc.a.
11981 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11983 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11986 * soft-fp/op-common.h (_FP_FMA): New macro.
11987 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11988 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11989 (_FP_MUL_MEAT_1_imm): ... here.
11990 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11991 (_FP_MUL_MEAT_1_wide): ... here.
11992 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11993 (_FP_MUL_MEAT_1_hard): ... here.
11994 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11995 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11996 (_FP_MUL_MEAT_2_wide): ... here.
11997 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11998 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11999 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12000 (_FP_MUL_MEAT_2_gmp): ... here.
12001 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12002 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12003 (_FP_MUL_MEAT_4_wide): ... here.
12004 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12005 (_FP_MUL_MEAT_4_gmp): ... here.
12006 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12007 (_FP_WFRACBITS_DW_S): Likewise.
12008 (_FP_WFRACXBITS_DW_S): Likewise.
12009 (_FP_HIGHBIT_DW_S): Likewise.
12010 (FP_FMA_S): Likewise.
12011 (_FP_FRAC_HIGH_DW_S): Likewise.
12012 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12013 (_FP_WFRACBITS_DW_D): Likewise.
12014 (_FP_WFRACXBITS_DW_D): Likewise.
12015 (_FP_HIGHBIT_DW_D): Likewise.
12016 (FP_FMA_D): Likewise.
12017 (_FP_FRAC_HIGH_DW_D): Likewise.
12018 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12019 (_FP_WFRACBITS_DW_E): Likewise.
12020 (_FP_WFRACXBITS_DW_E): Likewise.
12021 (_FP_HIGHBIT_DW_E): Likewise.
12022 (FP_FMA_E): Likewise.
12023 (_FP_FRAC_HIGH_DW_E): Likewise.
12024 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12025 (_FP_WFRACBITS_DW_Q): Likewise.
12026 (_FP_WFRACXBITS_DW_Q): Likewise.
12027 (_FP_HIGHBIT_DW_Q): Likewise.
12028 (FP_FMA_Q): Likewise.
12029 (_FP_FRAC_HIGH_DW_Q): Likewise.
12030 * soft-fp/fmasf4.c: New file.
12031 * soft-fp/fmadf4.c: Likewise.
12032 * soft-fp/fmatf4.c: Likewise.
12034 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12037 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12041 (index_Slow_SSE4_2): Likewise.
12042 (index_Prefer_PMINUB_for_stringop): Likewise.
12043 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12044 bit_Slow_SSE4_2 is set.
12045 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12048 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12050 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12051 rtld_global._dl_hwcap2.
12052 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12054 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12055 POWER8 feature descriptions defined in _dl_hwcap2.
12056 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12057 string handling for POWER8 feature bits.
12058 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12059 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12060 _dl_powerpc_cap_flags.
12061 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12062 * sysdeps/powerpc/rtld-global-offsets.sym
12063 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12064 _dl_hwcap2 in the rtld_global_ro structure.
12066 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12068 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12069 hardware capabilities in support of AT_HWCAP2.
12070 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12071 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12073 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12074 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12075 explicitly the unknown a_type display mechanism is used.
12076 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12077 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12079 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12080 to macro prototype for AT_HWCAP2 support.
12081 * sysdeps/i386/dl-procinfo.h: Likewise.
12082 * sysdeps/s390/dl-procinfo.h: Likewise.
12083 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12084 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12085 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12086 return -1 for unknown a_type display fallback.
12087 * sysdeps/sparc/dl-procinfo.h: Likewise.
12088 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12089 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12091 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12093 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12094 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12096 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12099 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12100 mprotect making __stack_prot writable.
12102 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12103 Joseph Myers <joseph@codesourcery.com>
12105 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12106 as being properly aligned.
12108 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12110 * dlfcn/modstatic5.c: New file.
12111 * dlfcn/tststatic5.c: New file.
12112 * dlfcn/Makefile (tests): Add tststatic5.
12113 (tests-static): Likewise.
12114 (modules-names): Add modstatic5.
12115 (tststatic5-ENV): New variable.
12116 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12119 * elf/dl-support.c (_dl_main_map): New variable.
12120 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12121 (_dl_nns, _dl_load_adds): Set to 1.
12122 (_dl_initial_searchlist): Refer to _dl_main_map.
12123 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12124 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12125 call to _dl_get_origin.
12126 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12128 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12129 * dlfcn/modstatic3.c: New file.
12130 * dlfcn/tststatic3.c: New file.
12131 * dlfcn/tststatic4.c: New file.
12132 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12133 (tests-static): Likewise.
12134 (modules-names): Add modstatic3.
12135 (tststatic3-ENV, tststatic4-ENV): New variables.
12136 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12137 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12139 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12141 * configure.in (CC): Require GCC version 4.4 or later.
12142 * configure: Regenerated.
12143 * manual/install.texi (Tools for Compilation): Update GCC version
12145 * INSTALL: Regenerated.
12147 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12150 * string/test-memcmp.c (check2): New.
12151 (main): Call check2.
12153 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12155 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12158 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12160 (dl_open_worker) [!SHARED]: ... here.
12162 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12164 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12166 2013-06-25 Richard Henderson <rth@redhat.com>
12168 * locale/programs/locarchive.c: Include <libc-internal.h>
12170 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12172 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12173 trailing whitespace removed.
12175 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12178 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12179 * locale/programs/locarchive.c: Include libc-mmap.h.
12180 (prepare_address_space): Take two new outputs (the mmap base and len).
12181 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12183 (create_archive): Declare new mmap base and len values for
12184 prepare_address_space, and store the result in ah.
12185 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12186 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12187 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12188 Declare new mmap base and len values for
12189 prepare_address_space, and store the result in new_ah.
12190 (open_archive): Declare new mmap base and len values for
12191 prepare_address_space, and store the result in ah.
12192 (close_archive): If ah->mmap_base is not NULL, use that and
12193 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12194 * sysdeps/generic/libc-mmap.h: New file.
12196 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12198 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12199 (ALIGN_UP): Likewise.
12200 (PTR_ALIGN_DOWN): Likewise.
12201 (PTR_ALIGN_UP): Likewise.
12203 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12205 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12206 entry mapped to PPC_PLATFORM_POWER8.
12207 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12209 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12210 (_dl_string_platform): Add case for exporting platform position for
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12213 search path to sysdeps/powerpc/powerpc32/power8 directory.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12215 search path to sysdeps/powerpc/powerpc64/power8 directory.
12216 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12217 power7 directories.
12218 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12219 power7 directories.
12221 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12223 * INSTALL: Regenerate.
12225 * nscd/connections.c (nscd_init): Fix comment.
12227 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12229 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12232 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12233 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12235 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12237 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12239 (DL_DST_REQ_STATIC): Remove macro.
12241 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12244 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12245 with a shift of 0 bits.
12247 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12249 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12252 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12255 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12257 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12260 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12261 accepts -fno-tree-loop-distribute-patterns.
12262 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12263 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12265 * string/memset.c (memset): Likewise.
12266 * string/test-memmove.c (simple_memmove): Disable loop transformation
12268 * string/test-memset.c (simple_memset): Likewise.
12269 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12270 * benchtests/bench-memset.c (simple_memset): Likewise.
12271 * configure: Regenerated.
12273 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12275 * math/test-misc.c (main): Ignore fesetround failure when failures
12276 of subsequent rounding tests would be ignored.
12279 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12280 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12281 * math/fegetenv.c (__fegetenv): Return 0.
12282 * math/fegetexcept.c (fegetexcept): Return 0.
12283 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12285 * math/feholdexcpt.c (feholdexcept): Return 0.
12286 * math/fesetenv.c (__fesetenv): Return 0.
12287 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12288 argument FE_TONEAREST.
12289 * math/feupdateenv.c (__feupdateenv): Return 0.
12290 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12292 2013-06-18 Roland McGrath <roland@hack.frob.com>
12294 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12295 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12296 ($(objpfx)rtld-%.os rules): Use them.
12298 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12303 2013-06-17 Roland McGrath <roland@hack.frob.com>
12305 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12306 length of target pattern, then descending length of dependency pattern.
12307 * configure.in (AWK): Require gawk 3.1.2 or newer.
12308 * manual/install.texi (Tools for Compilation): Say that we do.
12309 * configure: Regenerated.
12311 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12312 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12313 * scripts/sysd-rules.awk: ... this new script.
12314 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12315 than a glob-style pattern.
12317 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12319 * math/test-misc.c (main): Do not treat incorrectly rounded
12320 conversions as failure unless ROUNDING_TESTS passes.
12322 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12325 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12326 restore exception state around main square root computation, then
12327 check for inexactness explicitly.
12329 * math/libm-test.inc (fma_test_data): Add another test.
12331 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12333 * manual/threads.texi (Non-POSIX Extensions): New document
12334 node. Document pthread_getattr_default_np and
12335 pthread_setattr_default_np.
12337 * Versions.def (libpthread): Add GLIBC_2.18.
12338 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12347 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12358 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12361 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12363 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12364 H.J. Lu <hjl.tools@gmail.com>
12367 * sysdeps/x86_64/rtld-memset.c: Remove file.
12368 * sysdeps/x86_64/rtld-memset.S: New file.
12370 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12372 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12373 (test_in_one_mode): Take arguments for whether the rounding mode
12374 is supported for each floating-point type.
12375 (do_test): Pass new arguments to test_in_one_mode using
12378 2013-06-13 Roland McGrath <roland@hack.frob.com>
12380 * posix/tst-waitid.c (do_test): Distinguish different instances of
12381 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12382 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12383 before entering the kernel for waitpid.
12385 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12387 * NEWS: Fix note on clock function precision. Text by Roland
12390 2013-06-13 Roland McGrath <roland@hack.frob.com>
12392 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12393 it into place only when and if the sanity check passes.
12395 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12397 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12398 output for whether conversion result is exact. Take argument
12399 indicating whether type is IBM long double.
12400 (round_for_all): Change need_exact field to ibm_ld.
12401 * stdlib/tst-strtod-round.c (struct exactness): New type.
12402 (struct test): Change bool ld_ok field to struct exactness exact.
12403 (TEST): Update all definitions for change to field.
12404 (tests): Regenerate array contents.
12405 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12406 field value. Check for IBM long double here.
12407 (do_test): Update calls to test_in_one_mode.
12409 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12412 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12413 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12415 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12418 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12419 generated by the compiler on loop optimizations.
12420 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12421 general definitions.
12423 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12425 * math/bug-nextafter.c: Include <math-tests.h>.
12426 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12428 * math/bug-nexttoward.c: Include <math-tests.h>.
12429 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12431 * math/test-misc.c: Include <math-tests.h>.
12432 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12435 2013-06-12 Andreas Jaeger <aj@suse.de>
12437 * po/ia.po: Update Interlingua translation from translation
12440 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12442 * include/fenv.h: Include stdbool.h.
12443 (struct rm_ctx): New structure.
12444 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12446 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12447 (SET_RESTORE_ROUNDF): Likewise.
12448 (SET_RESTORE_ROUNDL): Likewise.
12449 (SET_RESTORE_ROUND_NOEX): Likewise.
12450 (SET_RESTORE_ROUND_NOEXF): Likewise.
12451 (SET_RESTORE_ROUND_NOEXL): Likewise.
12452 (SET_RESTORE_ROUND_53BIT): Likewise.
12453 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12454 (libc_feresetround_noexf_ctx): Likewise.
12455 (libc_feresetround_noexl_ctx): Likewise.
12456 (libc_feholdsetround_53bit_ctx): Likewise.
12457 (libc_feresetround_53bit_ctx): Likewise.
12458 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12459 (libc_feholdexcept_setround_sse_ctx): New function.
12460 (libc_fesetenv_sse_ctx): Likewise.
12461 (libc_feupdateenv_sse_ctx): Likewise.
12462 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12463 (libc_feholdexcept_setround_387_ctx): Likewise.
12464 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12465 (libc_feholdsetround_387_prec_ctx): Likewise.
12466 (libc_feholdsetround_387_ctx): Likewise.
12467 (libc_feholdsetround_387_53bit_ctx): Likewise.
12468 (libc_feholdsetround_sse_ctx): Likewise.
12469 (libc_feresetround_sse_ctx): Likewise.
12470 (libc_feresetround_387_ctx): Likewise.
12471 (libc_feupdateenv_387_ctx): Likewise.
12472 (libc_feholdexcept_setroundf_ctx): Define macro.
12473 (libc_fesetenvf_ctx): Likewise.
12474 (libc_feupdateenvf_ctx): Likewise.
12475 (libc_feholdsetroundf_ctx): Likewise.
12476 (libc_feresetroundf_ctx): Likewise.
12477 (libc_feholdexcept_setround_ctx): Likewise.
12478 (libc_fesetenv_ctx): Likewise.
12479 (libc_feupdateenv_ctx): Likewise.
12480 (libc_feholdsetround_ctx): Likewise.
12481 (libc_feresetround_ctx): Likewise.
12482 (libc_feholdexcept_setroundl_ctx): Likewise.
12483 (libc_feupdateenvl_ctx): Likewise.
12484 (libc_feholdsetroundl_ctx): Likewise.
12485 (libc_feresetroundl_ctx): Likewise.
12486 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12487 (libc_feresetround_53bit_ctx): Likewise.
12489 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12491 * locale/iso-639.def: Convert to UTF-8.
12493 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12495 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12496 (EXCEPTION_TESTS_double): Likewise.
12497 (EXCEPTION_TESTS_long_double): Likewise.
12498 (EXCEPTION_TESTS): Likewise.
12499 * math/libm-test.inc (test_exceptions): Only test exceptions if
12500 EXCEPTION_TESTS (FLOAT).
12502 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12504 * benchtests/Makefile (string-bench): Add strcpy_chk and
12506 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12507 * benchtests/bench-stpcpy_chk.c: New file.
12508 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12509 * benchtests/bench-strcpy_chk.c: New file.
12510 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12512 (do_test): Likewise.
12514 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12516 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12517 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12518 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12519 with tabs where appropriate.
12520 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12522 [PPC_PLATFORM_PPC440]: Likewise.
12523 [PPC_PLATFORM_PPC464]: Likewise.
12524 [PPC_PLATFORM_PPC476]: Likewise.
12525 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12526 ppc464, and ppc476 platform strings merging from ports/
12529 2013-06-11 Andreas Schwab <schwab@suse.de>
12532 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12533 (from_ucs4_idx): Regenerate.
12534 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12535 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12536 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12537 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12538 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12539 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12540 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12541 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12542 from FROM_LOOP and TO_LOOP specific macros.
12543 (BODY): Handle combining characters.
12544 * iconvdata/BIG5HKSCS.irreversible: Update.
12545 * iconvdata/BIG5HKSCS.precomposed: New file.
12546 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12548 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12550 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12552 * include/sys/time.h: Fix indentation and add copyright header.
12554 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12555 (do_test): Likewise.
12556 * string/test-memchr.c (do_one_test): Likewise.
12557 (do_test): Likewise.
12558 * string/test-memcmp.c (do_one_test): Likewise.
12559 (do_test): Likewise.
12560 * string/test-memcpy.c (do_one_test): Likewise.
12561 (do_test): Likewise.
12562 * string/test-memmem.c (do_one_test): Likewise.
12563 (do_test): Likewise.
12564 (do_random_tests): Likewise.
12565 * string/test-memmove.c (do_one_test): Likewise.
12566 (do_test): Likewise.
12567 * string/test-memset.c (do_one_test): Likewise.
12568 (do_test): Likewise.
12569 * string/test-rawmemchr.c (do_one_test): Likewise.
12570 (do_test): Likewise.
12571 * string/test-strcasecmp.c (do_one_test): Likewise.
12572 (do_test): Likewise.
12573 * string/test-strcasestr.c (do_one_test): Likewise.
12574 (do_test): Likewise.
12575 * string/test-strcat.c (do_one_test): Likewise.
12576 (do_test): Likewise.
12577 * string/test-strchr.c (do_one_test): Likewise.
12578 (do_test): Likewise.
12579 * string/test-strcmp.c (do_one_test): Likewise.
12580 (do_test): Likewise.
12581 * string/test-strcpy.c (do_one_test): Likewise.
12582 (do_test): Likewise.
12583 * string/test-string.h: Likewise.
12584 (test_init): Likewise.
12585 * string/test-strlen.c (do_one_test): Likewise.
12586 (do_test): Likewise.
12587 * string/test-strncasecmp.c (do_one_test): Likewise.
12588 (do_test): Likewise.
12589 * string/test-strncat.c (do_one_test): Likewise.
12590 (do_test): Likewise.
12591 * string/test-strncmp.c (do_one_test): Likewise.
12592 (do_test_limit): Likewise.
12593 (do_test): Likewise.
12594 * string/test-strncpy.c (do_one_test): Likewise.
12595 (do_test): Likewise.
12596 * string/test-strnlen.c (do_one_test): Likewise.
12597 (do_test): Likewise.
12598 * string/test-strpbrk.c (do_one_test): Likewise.
12599 (do_test): Likewise.
12600 * string/test-strrchr.c (do_one_test): Likewise.
12601 (do_test): Likewise.
12602 * string/test-strspn.c (do_one_test): Likewise.
12603 (do_test): Likewise.
12604 * string/test-strstr.c (do_one_test): Likewise.
12605 (do_test): Likewise.
12607 * benchtests/Makefile (string-bench): Add string benchmarks.
12608 * benchtests/bench-bcopy-ifunc.c: New file.
12609 * benchtests/bench-bcopy.c: New file.
12610 * benchtests/bench-bzero-ifunc.c: New file.
12611 * benchtests/bench-bzero.c: New file.
12612 * benchtests/bench-memccpy-ifunc.c: New file.
12613 * benchtests/bench-memccpy.c: New file.
12614 * benchtests/bench-memchr-ifunc.c: New file.
12615 * benchtests/bench-memchr.c: New file.
12616 * benchtests/bench-memcmp-ifunc.c: New file.
12617 * benchtests/bench-memcmp.c: New file.
12618 * benchtests/bench-memmem-ifunc.c: New file.
12619 * benchtests/bench-memmem.c: New file.
12620 * benchtests/bench-memmove-ifunc.c: New file.
12621 * benchtests/bench-memmove.c: New file.
12622 * benchtests/bench-mempcpy-ifunc.c: New file.
12623 * benchtests/bench-mempcpy.c: New file.
12624 * benchtests/bench-memset-ifunc.c: New file.
12625 * benchtests/bench-memset.c: New file.
12626 * benchtests/bench-rawmemchr-ifunc.c: New file.
12627 * benchtests/bench-rawmemchr.c: New file.
12628 * benchtests/bench-stpcpy-ifunc.c: New file.
12629 * benchtests/bench-stpcpy.c: New file.
12630 * benchtests/bench-stpncpy-ifunc.c: New file.
12631 * benchtests/bench-stpncpy.c: New file.
12632 * benchtests/bench-strcasecmp-ifunc.c: New file.
12633 * benchtests/bench-strcasecmp.c: New file.
12634 * benchtests/bench-strcasestr-ifunc.c: New file.
12635 * benchtests/bench-strcasestr.c: New file.
12636 * benchtests/bench-strcat-ifunc.c: New file.
12637 * benchtests/bench-strcat.c: New file.
12638 * benchtests/bench-strchr-ifunc.c: New file.
12639 * benchtests/bench-strchr.c: New file.
12640 * benchtests/bench-strchrnul-ifunc.c: New file.
12641 * benchtests/bench-strchrnul.c: New file.
12642 * benchtests/bench-strcmp-ifunc.c: New file.
12643 * benchtests/bench-strcmp.c: New file.
12644 * benchtests/bench-strcpy-ifunc.c: New file.
12645 * benchtests/bench-strcpy.c: New file.
12646 * benchtests/bench-strcspn-ifunc.c: New file.
12647 * benchtests/bench-strcspn.c: New file.
12648 * benchtests/bench-strlen-ifunc.c: New file.
12649 * benchtests/bench-strlen.c: New file.
12650 * benchtests/bench-strncasecmp-ifunc.c: New file.
12651 * benchtests/bench-strncasecmp.c: New file.
12652 * benchtests/bench-strncat-ifunc.c: New file.
12653 * benchtests/bench-strncat.c: New file.
12654 * benchtests/bench-strncmp-ifunc.c: New file.
12655 * benchtests/bench-strncmp.c: New file.
12656 * benchtests/bench-strncpy-ifunc.c: New file.
12657 * benchtests/bench-strncpy.c: New file.
12658 * benchtests/bench-strnlen-ifunc.c: New file.
12659 * benchtests/bench-strnlen.c: New file.
12660 * benchtests/bench-strpbrk-ifunc.c: New file.
12661 * benchtests/bench-strpbrk.c: New file.
12662 * benchtests/bench-strrchr-ifunc.c: New file.
12663 * benchtests/bench-strrchr.c: New file.
12664 * benchtests/bench-strspn-ifunc.c: New file.
12665 * benchtests/bench-strspn.c: New file.
12666 * benchtests/bench-strstr-ifunc.c: New file.
12667 * benchtests/bench-strstr.c: New file.
12669 * benchtests/Makefile: Disable parallel execution of targets.
12670 (string-bench): Add memcpy.
12671 (benchset): New variable to store a list of benchmark sets.
12672 (bench-func): Renamed from bench.
12673 (bench-set): New target.
12674 (bench): Depend on bench-func and bench-set.
12675 * benchtests/README: Add section on benchmark sets.
12676 * benchtests/bench-memcpy-ifunc.c: New file.
12677 * benchtests/bench-memcpy.c: New file.
12678 * benchtests/bench-string.h: New file.
12680 2013-06-11 Andreas Schwab <schwab@suse.de>
12683 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12684 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12685 values in the triple.
12686 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12687 terminator in the group key.
12689 2013-06-11 Andreas Jaeger <aj@suse.de>
12691 * po/zh_TW.po: Update Chinese (traditional) translation from
12692 translation project.
12694 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12696 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12697 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12698 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12699 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12700 (clock_getcpuclockid): Likewise.
12701 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12702 Add weak_alias and libc_hidden_def.
12703 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12704 * rt/clock_gettime.c (clock_gettime): Rename to
12705 __clock_gettime. Add weak_alias and libc_hidden_def.
12706 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12707 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12708 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12709 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12710 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12712 * rt/clock_settime.c (clock_settime): Rename to
12713 __clock_settime. Add weak_alias and libc_hidden_def.
12714 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12716 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12718 * mach/err_boot.sub: Remove trailing whitespace.
12719 * mach/err_ipc.sub: Likewise.
12720 * mach/err_mach.sub: Likewise.
12722 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12723 (ROUNDING_TESTS_double): Likewise.
12724 (ROUNDING_TESTS_long_double): Likewise.
12725 (ROUNDING_TESTS): Likewise.
12726 * math/libm-test.inc: Include <math-tests.h>.
12727 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12728 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12729 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12730 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12732 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12734 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12737 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12739 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12740 otherwise empty TRANS lines.
12741 * sysdeps/gnu/errlist.c: Regenerated.
12743 * catgets/gencat.c (error_print): Use (void) in function
12745 * crypt/crypt_util.c (__init_des): Likewise.
12746 * crypt/speeds.c (Stop): Likewise.
12748 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12749 * inet/ruserpass.c (token): Likewise.
12750 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12751 * intl/localealias.c (extend_alias_table): Likewise.
12752 * intl/plural-exp.c (init_germanic_plural): Likewise.
12753 * libio/fcloseall.c (__fcloseall): Likewise.
12754 * libio/genops.c (_IO_flush_all): Likewise.
12755 (_IO_flush_all_linebuffered): Likewise.
12756 (_IO_cleanup): Likewise.
12757 (_IO_iter_begin): Likewise.
12758 (_IO_iter_end): Likewise.
12759 (_IO_list_lock): Likewise.
12760 (_IO_list_unlock): Likewise.
12761 (_IO_list_resetlock): Likewise.
12762 * libio/getchar.c (getchar): Likewise.
12763 * libio/getchar_u.c (getchar_unlocked): Likewise.
12764 * libio/getwchar.c (getwchar): Likewise.
12765 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12766 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12767 * login/getpt.c (__getpt): Likewise.
12768 * login/tst-utmp.c (main): Likewise.
12769 * malloc/hooks.c (__malloc_check_init): Likewise.
12770 * malloc/malloc.c (__malloc_stats): Likewise.
12771 * malloc/mtrace.c (tr_break): Likewise.
12772 (mtrace): Likewise.
12773 (muntrace): Likewise.
12774 * misc/fstab.c (endfsent): Likewise.
12775 * misc/getclktck.c (__getclktck): Likewise.
12776 * misc/getdtsz.c (__getdtablesize): Likewise.
12777 * misc/gethostid.c (gethostid): Likewise.
12778 * misc/getpagesize.c (__getpagesize): Likewise.
12779 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12780 (__get_nprocs): Likewise.
12781 (__get_phys_pages): Likewise.
12782 (__get_avphys_pages): Likewise.
12783 * misc/getttyent.c (getttyent): Likewise.
12784 (setttyent): Likewise.
12785 (endttyent): Likewise.
12786 * misc/getusershell.c (getusershell): Likewise.
12787 (endusershell): Likewise.
12788 (setusershell): Likewise.
12789 (initshells): Likewise.
12790 * misc/hsearch.c (__hdestroy): Likewise.
12791 * misc/sync.c (sync): Likewise.
12792 * misc/syslog.c (closelog_internal): Likewise.
12793 (closelog): Likewise.
12794 * misc/ttyslot.c (ttyslot): Likewise.
12795 * misc/vhangup.c (vhangup): Likewise.
12796 * posix/fork.c (__fork): Likewise.
12797 * posix/getegid.c (__getegid): Likewise.
12798 * posix/geteuid.c (__geteuid): Likewise.
12799 * posix/getgid.c (__getgid): Likewise.
12800 * posix/getpid.c (__getpid): Likewise.
12801 * posix/getppid.c (__getppid): Likewise.
12802 * posix/getuid.c (__getuid): Likewise.
12803 * posix/pause.c (pause): Likewise.
12804 * posix/setpgrp.c (setpgrp): Likewise.
12805 * posix/setsid.c (__setsid): Likewise.
12806 * posix/test-vfork.c (noop): Likewise.
12807 * resolv/gethnamaddr.c (_endhtent): Likewise.
12808 (_gethtent): Likewise.
12809 (ht_endhostent): Likewise.
12810 (gethostent): Likewise.
12811 (dns_service): Likewise.
12812 * stdlib/drand48.c (drand48): Likewise.
12813 * stdlib/lrand48.c (lrand48): Likewise.
12814 * stdlib/mrand48.c (mrand48): Likewise.
12815 * stdlib/rand.c (rand): Likewise.
12816 * stdlib/random.c (__random): Likewise.
12817 * stdlib/setenv.c (clearenv): Likewise.
12818 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12819 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12820 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12821 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12822 (__get_nprocs): Likewise.
12823 (__get_phys_pages): Likewise.
12824 (__get_avphys_pages): Likewise.
12825 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12826 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12827 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12828 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12829 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12830 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12831 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12832 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12833 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12834 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12835 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12836 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12837 * sysdeps/posix/clock.c (clock): Likewise.
12838 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12839 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12840 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12841 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12842 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12844 (__get_nprocs_conf): Likewise.
12845 (__get_phys_pages): Likewise.
12846 (__get_avphys_pages): Likewise.
12847 * time/clock.c (clock): Likewise.
12848 * time/tzset.c (__tzname_max): Likewise.
12850 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12852 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12853 (__bswap_32): Do not use "register".
12854 * crypt/crypt.c (_ufc_doit_r): Likewise.
12855 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12856 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12857 * gmon/gmon.c (__monstartup): Likewise.
12858 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12859 * hurd/hurdmalloc.c (more_memory): Likewise.
12860 (malloc): Likewise.
12862 (realloc): Likewise.
12863 (malloc_fork_prepare): Likewise.
12864 (malloc_fork_parent): Likewise.
12865 (malloc_fork_child): Likewise.
12866 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12867 (_svcauth_des): Likewise.
12868 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12869 * inet/inet_net.c (inet_network): Likewise.
12870 * inet/inet_netof.c (inet_netof): Likewise.
12871 * inet/rcmd.c (__validuser2_sa): Likewise.
12872 * io/fts.c (fts_open): Likewise.
12873 (fts_load): Likewise.
12874 (fts_close): Likewise.
12875 (fts_read): Likewise.
12876 (fts_children): Likewise.
12877 (fts_build): Likewise.
12878 (fts_stat): Likewise.
12879 (fts_sort): Likewise.
12880 (fts_alloc): Likewise.
12881 (fts_lfree): Likewise.
12882 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12883 (_IO_file_xsgetn): Likewise.
12884 (_IO_file_xsgetn_mmap): Likewise.
12885 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12886 (_IO_cookie_write): Likewise.
12887 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12888 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12889 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12890 * malloc/obstack.c (_obstack_begin): Likewise.
12891 (_obstack_begin_1): Likewise.
12892 (_obstack_newchunk): Likewise.
12893 (_obstack_allocated_p): Likewise.
12894 (obstack_free): Likewise.
12895 (_obstack_memory_used): Likewise.
12896 * misc/getttyent.c (getttynam): Likewise.
12897 (getttyent): Likewise.
12900 * misc/getusershell.c (initshells): Likewise.
12901 * misc/syslog.c (__vsyslog_chk): Likewise.
12902 * misc/ttyslot.c (ttyslot): Likewise.
12903 * nis/nis_hash.c (__nis_hash): Likewise.
12904 * posix/fnmatch_loop.c (FCT): Likewise.
12905 * posix/getconf.c (print_all): Likewise.
12907 * posix/getopt.c (exchange): Likewise.
12908 * posix/glob.c (globfree): Likewise.
12909 (prefix_array): Likewise.
12910 (__glob_pattern_type): Likewise.
12911 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12912 (NS_GET32): Likewise.
12913 (NS_PUT16): Likewise.
12914 (NS_PUT32): Likewise.
12915 * resolv/gethnamaddr.c (getanswer): Likewise.
12916 (gethostbyname2): Likewise.
12917 (gethostbyaddr): Likewise.
12918 (_gethtent): Likewise.
12919 (_gethtbyname2): Likewise.
12920 (_gethtbyaddr): Likewise.
12921 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12922 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12923 * resolv/res_init.c (__res_vinit): Likewise.
12924 (net_mask): Likewise.
12925 * resolv/res_mkquery.c (outchar): Likewise.
12927 * stdio-common/printf_fp.c (outchar): Likewise.
12929 * stdio-common/printf_fphex.c (outchar): Likewise.
12931 * stdio-common/printf_size.c (outchar): Likewise.
12933 * stdio-common/test_rdwr.c (main): Likewise.
12934 * stdio-common/tfformat.c (matches): Likewise.
12935 * stdio-common/vfprintf.c (outchar): Likewise.
12936 (printf_unknown): Likewise.
12937 (buffered_vfprintf): Likewise.
12938 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12939 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12940 (ReadFile): Likewise.
12941 * stdlib/qsort.c (SWAP): Likewise.
12942 (_quicksort): Likewise.
12943 * stdlib/setenv.c (__add_to_environ): Likewise.
12944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12945 * stdlib/strtol_l.c (__strtol_l): Likewise.
12946 * stdlib/tst-strtod.c (main): Likewise.
12947 * stdlib/tst-strtol.c (main): Likewise.
12948 * stdlib/tst-strtoll.c (main): Likewise.
12949 * string/bits/string2.h (__strcmp_cc): Likewise.
12950 (__strcmp_cg): Likewise.
12951 (__strcspn_c1): Likewise.
12952 (__strcspn_c2): Likewise.
12953 (__strcspn_c3): Likewise.
12954 (__strspn_c1): Likewise.
12955 (__strspn_c2): Likewise.
12956 (__strspn_c3): Likewise.
12957 (__strsep_1c): Likewise.
12958 (__strsep_2c): Likewise.
12959 (__strsep_3c): Likewise.
12960 * string/memccpy.c (__memccpy): Likewise.
12961 * string/stpcpy.c (__stpcpy): Likewise.
12962 * string/strcmp.c (strcmp): Likewise.
12963 * string/strrchr.c (strrchr): Likewise.
12964 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12966 * sysdeps/mach/hurd/getcwd.c
12967 (_hurd_canonicalize_directory_name_internal): Likewise.
12968 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12969 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12970 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12971 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12972 Likewise, in both definitions.
12973 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12975 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12976 64] (__bswap_64): Likewise.
12977 * time/test_time.c (main): Likewise.
12978 * time/tzfile.c (__tzfile_read): Likewise.
12979 (__tzfile_compute): Likewise.
12980 * time/tzset.c (__tzset_parse_tz): Likewise.
12981 (tzset_internal): Likewise.
12982 (compute_change): Likewise.
12983 * wcsmbs/wcscat.c (__wcscat): Likewise.
12984 * wcsmbs/wcschr.c (wcschr): Likewise.
12985 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12986 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12987 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12988 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12989 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12990 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12991 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12992 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12993 * wcsmbs/wmemset.c (wmemset): Likewise.
12995 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12997 * scripts/config.guess: Update to version 2013-05-16.
12998 * scripts/config.sub: Update to version 2013-04-24.
12999 * scripts/install-sh: Update to version 2011-11-20.07.
13000 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13001 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13003 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13005 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13006 * elf/sln.c: Likewise.
13007 * hurd/hurd/ioctl.h: Likewise.
13008 * hurd/hurdmalloc.c: Likewise.
13009 * hurd/xattr.c: Likewise.
13010 * include/shlib-compat.h: Likewise.
13011 * inet/ruserpass.c: Likewise.
13012 * libio/iofgets_u.c: Likewise.
13013 * libio/iofgetws_u.c: Likewise.
13014 * locale/programs/ld-identification.c: Likewise.
13015 * locale/programs/ld-time.c: Likewise.
13016 * mach/msg-destroy.c: Likewise.
13017 * nss/nss_files/files-netgrp.c: Likewise.
13018 * resolv/res_data.c: Likewise.
13019 * soft-fp/op-1.h: Likewise.
13020 * soft-fp/op-2.h: Likewise.
13021 * soft-fp/op-4.h: Likewise.
13022 * soft-fp/op-common.h: Likewise.
13023 * stdio-common/printf_fphex.c: Likewise.
13024 * stdlib/strtod_l.c: Likewise.
13025 * sunrpc/rpc/clnt.h: Likewise.
13026 * sysdeps/generic/framestate.c: Likewise.
13027 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13028 * sysdeps/i386/bsd-setjmp.S: Likewise.
13029 * sysdeps/i386/__longjmp.S: Likewise.
13030 * sysdeps/i386/setjmp.S: Likewise.
13031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13032 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13049 * sysdeps/ieee754/support.c: Likewise.
13050 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13051 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13052 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13053 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13054 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13055 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13056 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13057 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13058 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13059 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13060 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13061 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13062 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13063 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13064 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13065 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13066 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13069 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13071 * posix/transbug.c: Remove executable mode.
13073 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13075 * crypt/speeds.c: Remove trailing whitespace.
13076 * dlfcn/default.c: Likewise.
13077 * elf/ifuncdep2.c: Likewise.
13078 * elf/ifuncmain1.c: Likewise.
13079 * elf/ifuncmain1vis.c: Likewise.
13080 * elf/testobj.h: Likewise.
13081 * elf/tst-stackguard1.c: Likewise.
13082 * gmon/sys/gmon.h: Likewise.
13083 * hurd/hurdmsg.c: Likewise.
13084 * hurd/new-fd.c: Likewise.
13085 * hurd/ports-get.c: Likewise.
13086 * iconvdata/ibm1008_420.c: Likewise.
13087 * inet/tst-getni1.c: Likewise.
13088 * inet/tst-getni2.c: Likewise.
13089 * libio/ioungetc.c: Likewise.
13090 * libio/wfiledoalloc.c: Likewise.
13091 * manual/libm-err-tab.pl: Likewise.
13092 * math/w_dremf.c: Likewise.
13093 * misc/ftruncate.c: Likewise.
13094 * posix/bug-glob2.c: Likewise.
13095 * posix/tst-pcre.c: Likewise.
13096 * posix/wait4.c: Likewise.
13097 * resolv/README: Likewise.
13098 * resolv/res_debug.h: Likewise.
13099 * resolv/tst-inet_ntop.c: Likewise.
13100 * setjmp/bug269-setjmp.c: Likewise.
13101 * soft-fp/extended.h: Likewise.
13102 * soft-fp/op-1.h: Likewise.
13103 * soft-fp/op-2.h: Likewise.
13104 * soft-fp/op-4.h: Likewise.
13105 * soft-fp/op-8.h: Likewise.
13106 * soft-fp/testit.c: Likewise.
13107 * stdio-common/bug16.c: Likewise.
13108 * stdlib/random.c: Likewise.
13109 * sunrpc/rpcsvc/rquota.x: Likewise.
13110 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13115 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13119 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13120 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13139 * sysdeps/ieee754/s_lib_version.c: Likewise.
13140 * sysdeps/mach/hurd/check_fds.c: Likewise.
13141 * sysdeps/mach/hurd/getsockname.c: Likewise.
13142 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13143 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13144 * sysdeps/powerpc/bits/link.h: Likewise.
13145 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13146 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13147 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13148 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13149 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13151 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13152 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13153 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13155 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13156 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13157 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13158 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13159 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13160 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13176 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13179 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13180 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13181 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13182 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13183 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13184 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13185 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13186 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13187 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13189 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13190 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13191 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13192 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13193 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13194 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13197 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13198 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13200 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13202 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13205 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13206 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13207 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13208 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13209 * sysdeps/powerpc/sysdep.h: Likewise.
13210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13211 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13212 * sysdeps/sh/dl-trampoline.S: Likewise.
13213 * sysdeps/sh/memset.S: Likewise.
13214 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13215 * sysdeps/sh/strlen.S: Likewise.
13216 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13217 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13218 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13219 * sysdeps/sparc/sparc32/rem.S: Likewise.
13220 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13221 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13222 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13223 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13224 * sysdeps/sparc/sparc32/urem.S: Likewise.
13225 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13226 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13227 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13228 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13229 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13230 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13231 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13232 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13233 * sysdeps/unix/bsd/times.c: Likewise.
13234 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13235 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13239 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13240 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13241 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13242 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13245 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13246 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13247 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13248 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13252 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13253 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13254 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13255 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13256 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13257 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13258 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13259 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13260 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13261 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13262 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13263 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13264 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13265 * sysdeps/x86_64/strcspn.S: Likewise.
13267 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13269 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13270 generated file. Regenerate properly from gen-translit.pl.
13271 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13272 locale/C-translit.h.
13274 2013-06-05 Andreas Schwab <schwab@suse.de>
13277 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13278 week as 6 instead of -1.
13279 * time/tst-strptime.c (day_tests): Add test case.
13281 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13283 * sysdeps/generic/math_private.h
13284 (libc_feholdexcept_setround_53bit): Replace with
13285 libc_feholdsetround_53bit.
13286 (libc_feupdateenv_53bit): Replace with
13287 libc_feresetround_53bit.
13288 (SET_RESTORE_ROUND_53BIT): Adjust.
13290 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13292 * string/test-strchrnul.c: Add copyright header.
13294 * posix/tst-getaddrinfo4.c: Increase test timeout.
13296 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13299 * math/libm-test.inc (MAX_EXP): Remove
13301 (ulp): Use MIN_EXP - MANT_DIG.
13302 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13304 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13306 * po/be.po: Revert last change.
13307 * po/zh_CN.po: Likewise.
13308 * po/header.pot: Likewise.
13310 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13312 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13313 link-libc-deps to empty as target-specific variable.
13314 * Makerules (link-libc-args): New variable.
13315 (libc-for-link): Likewise.
13316 (link-libc-deps): Likewise.
13317 (lib%.so): Depend on $(link-libc-deps). Link with
13319 (build-module): Link with $(link-libc-args).
13320 (build-module-asneeded): Likewise.
13321 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13323 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13324 target-specific variable.
13325 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13326 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13327 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13329 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13331 ($(objpfx)libpcprofile.so): Likewise.
13332 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13334 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13335 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13336 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13338 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13339 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13340 * login/Makefile ($(objpfx)libutil.so): Likewise.
13341 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13342 * math/Makefile ($(objpfx)libm.so): Likewise.
13343 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13344 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13345 variable instead of depending directly on libc.
13346 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13347 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13349 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13351 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13352 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13353 ($(objpfx)libanl.so): Likewise.
13354 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13356 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13358 * sysdeps/i386/fpu/Makefile: Remove file.
13359 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13360 ($(objpfx)libm.so): Remove dependency on ld.so.
13362 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13365 * nis/yp_xdr.c (XDRMAXNAME): Define.
13366 (XDRMAXRECORD): Define.
13367 (xdr_domainname): Use XDRMAXNAME.
13368 (xdr_mapname): Likewise.
13369 (xdr_peername): Likewise.
13370 (xdr_keydat): Use XDRMAXRECORD.
13371 (xdr_valdat): Likewise.
13373 2013-05-30 Jeff Law <law@redhat.com>
13376 * manual/errno.texi (ESTALE): Update to account for more than
13377 just NFS file systems.
13378 * sysdeps/gnu/errlist.c: Regenerated.
13380 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13383 * elf/Makefile (tests): Add tst-null-argv.
13384 (modules-names): Add tst-null-argv-lib.
13385 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13386 (tst-null-argv-ENV): Set environment for tst-null-argv.
13387 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13388 (RTLD_PROGNAME): New macro.
13389 * elf/tst-null-argv.c: New test case.
13390 * elf/tst-null-argv-lib.c: Library for test case.
13391 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13392 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13393 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13394 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13395 * elf/dl-init.c (call_init): Likewise.
13396 (_dl_init): Likewise.
13397 * elf/dl-load.c (print_search_path): Likewise.
13398 (_dl_map_object): Likewise.
13399 * elf/dl-lookup.c (do_lookup_x): Likewise.
13400 (add_dependency): Likewise.
13401 (_dl_lookup_symbol_x): Likewise.
13402 (_dl_debug_bindings): Likewise.
13403 * elf/dl-open.c (_dl_show_scope): Likewise.
13404 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13405 * elf/dl-version.c (match_symbol): Likewise.
13406 (_dl_check_map_versions): Likewise.
13407 * elf/rtld.c (dl_main): Likewise.
13408 (print_unresolved): Use RTLD_PROGNAME.
13409 (print_missing_version): Likewise.
13410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13411 (elf_machine_rela): Likewise.
13412 * sysdeps/powerpc/powerpc32/dl-machine.c
13413 (__process_machine_rela): Likewise.
13414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13416 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13418 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13420 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13427 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13429 * po/be.po: Add descriptive title.
13430 * po/zh_CN.po: Likewise.
13431 * po/header.pot: Likewise.
13433 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13435 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13437 (enlarge_archive): Likewise.
13439 2013-05-28 Ben North <ben@redfrontdoor.org>
13441 * manual/arith.texi (frexp): It is the magnitude of the return
13442 value which lies in [0.5, 1), not the return value itself.
13444 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13448 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13450 * stdio-common/bug26.c (main): Correct fscanf template.
13452 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13453 declare _dl_skip_args.
13455 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13458 * manual/platform.texi: Add missing @end deftypefun.
13460 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13463 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13464 bit of mantissa of 2^16382.
13465 * math/libm-test.inc (hypot_test_data): Add more tests.
13467 * math/libm-test.inc: Add drem and pow10 to list of tested
13469 (pow10_test): New function.
13470 (drem_test): Likewise.
13471 (drem_test_tonearest): Likewise.
13472 (drem_test_towardzero): Likewise.
13473 (drem_test_downward): Likewise.
13474 (drem_test_upward): Likewise.
13475 (main): Call the new functions.
13477 * math/libm-test.inc (finite_test_data): Remove.
13478 (finite_test): Run tests from isfinite_test_data.
13479 (gamma_test_data): Remove.
13480 (gamma_test): Run tests from lgamma_test_data.
13481 * sysdeps/i386/fpu/libm-test-ulps: Update.
13482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13484 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13486 * manual/platform.texi: Add PowerPC PPR function set documentation.
13487 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13490 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13492 * math/libm-test.inc (MAX_EXP): Define.
13494 (ulp): New function.
13495 (check_float_internal): Use ULPDIFF.
13496 (cpow_test): Disable failing test.
13497 (check_ulp): Test ulp() implemetnation.
13498 (main): Call check_ulp before starting tests.
13500 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13502 * math/gen-libm-test.pl (generate_testfile): Do not handle
13503 START_DATA and END_DATA.
13504 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13506 (acos_tonearest_test_data): Likewise.
13507 (acos_towardzero_test_data): Likewise.
13508 (acos_downward_test_data): Likewise.
13509 (acos_upward_test_data): Likewise.
13510 (acosh_test_data): Likewise.
13511 (asin_test_data): Likewise.
13512 (asin_tonearest_test_data): Likewise.
13513 (asin_towardzero_test_data): Likewise.
13514 (asin_downward_test_data): Likewise.
13515 (asin_upward_test_data): Likewise.
13516 (asinh_test_data): Likewise.
13517 (atan_test_data): Likewise.
13518 (atanh_test_data): Likewise.
13519 (atan2_test_data): Likewise.
13520 (cabs_test_data): Likewise.
13521 (cacos_test_data): Likewise.
13522 (cacosh_test_data): Likewise.
13523 (carg_test_data): Likewise.
13524 (casin_test_data): Likewise.
13525 (casinh_test_data): Likewise.
13526 (catan_test_data): Likewise.
13527 (catanh_test_data): Likewise.
13528 (cbrt_test_data): Likewise.
13529 (ccos_test_data): Likewise.
13530 (ccosh_test_data): Likewise.
13531 (ceil_test_data): Likewise.
13532 (cexp_test_data): Likewise.
13533 (cimag_test_data): Likewise.
13534 (clog_test_data): Likewise.
13535 (clog10_test_data): Likewise.
13536 (conj_test_data): Likewise.
13537 (copysign_test_data): Likewise.
13538 (cos_test_data): Likewise.
13539 (cos_tonearest_test_data): Likewise.
13540 (cos_towardzero_test_data): Likewise.
13541 (cos_downward_test_data): Likewise.
13542 (cos_upward_test_data): Likewise.
13543 (cosh_test_data): Likewise.
13544 (cosh_tonearest_test_data): Likewise.
13545 (cosh_towardzero_test_data): Likewise.
13546 (cosh_downward_test_data): Likewise.
13547 (cosh_upward_test_data): Likewise.
13548 (cpow_test_data): Likewise.
13549 (cproj_test_data): Likewise.
13550 (creal_test_data): Likewise.
13551 (csin_test_data): Likewise.
13552 (csinh_test_data): Likewise.
13553 (csqrt_test_data): Likewise.
13554 (ctan_test_data): Likewise.
13555 (ctan_tonearest_test_data): Likewise.
13556 (ctan_towardzero_test_data): Likewise.
13557 (ctan_downward_test_data): Likewise.
13558 (ctan_upward_test_data): Likewise.
13559 (ctanh_test_data): Likewise.
13560 (ctanh_tonearest_test_data): Likewise.
13561 (ctanh_towardzero_test_data): Likewise.
13562 (ctanh_downward_test_data): Likewise.
13563 (ctanh_upward_test_data): Likewise.
13564 (erf_test_data): Likewise.
13565 (erfc_test_data): Likewise.
13566 (exp_test_data): Likewise.
13567 (exp_tonearest_test_data): Likewise.
13568 (exp_towardzero_test_data): Likewise.
13569 (exp_downward_test_data): Likewise.
13570 (exp_upward_test_data): Likewise.
13571 (exp10_test_data): Likewise.
13572 (exp2_test_data): Likewise.
13573 (expm1_test_data): Likewise.
13574 (fabs_test_data): Likewise.
13575 (fdim_test_data): Likewise.
13576 (finite_test_data): Likewise.
13577 (floor_test_data): Likewise.
13578 (fma_test_data): Likewise.
13579 (fma_towardzero_test_data): Likewise.
13580 (fma_downward_test_data): Likewise.
13581 (fma_upward_test_data): Likewise.
13582 (fmax_test_data): Likewise.
13583 (fmin_test_data): Likewise.
13584 (fmod_test_data): Likewise.
13585 (fpclassify_test_data): Likewise.
13586 (frexp_test_data): Likewise.
13587 (gamma_test_data): Likewise.
13588 (hypot_test_data): Likewise.
13589 (ilogb_test_data): Likewise.
13590 (isfinite_test_data): Likewise.
13591 (isgreater_test_data): Likewise.
13592 (isgreaterequal_test_data): Likewise.
13593 (isinf_test_data): Likewise.
13594 (isless_test_data): Likewise.
13595 (islessequal_test_data): Likewise.
13596 (islessgreater_test_data): Likewise.
13597 (isnan_test_data): Likewise.
13598 (isnormal_test_data): Likewise.
13599 (issignaling_test_data): Likewise.
13600 (isunordered_test_data): Likewise.
13601 (j0_test_data): Likewise.
13602 (j1_test_data): Likewise.
13603 (jn_test_data): Likewise.
13604 (ldexp_test_data): Likewise.
13605 (lgamma_test_data): Likewise.
13606 (lrint_test_data): Likewise.
13607 (lrint_tonearest_test_data): Likewise.
13608 (lrint_towardzero_test_data): Likewise.
13609 (lrint_downward_test_data): Likewise.
13610 (lrint_upward_test_data): Likewise.
13611 (llrint_test_data): Likewise.
13612 (llrint_tonearest_test_data): Likewise.
13613 (llrint_towardzero_test_data): Likewise.
13614 (llrint_downward_test_data): Likewise.
13615 (llrint_upward_test_data): Likewise.
13616 (log_test_data): Likewise.
13617 (log10_test_data): Likewise.
13618 (log1p_test_data): Likewise.
13619 (log2_test_data): Likewise.
13620 (logb_test_data): Likewise.
13621 (logb_downward_test_data): Likewise.
13622 (lround_test_data): Likewise.
13623 (llround_test_data): Likewise.
13624 (modf_test_data): Likewise.
13625 (nearbyint_test_data): Likewise.
13626 (nextafter_test_data): Likewise.
13627 (nexttoward_test_data): Likewise.
13628 (pow_test_data): Likewise.
13629 (pow_tonearest_test_data): Likewise.
13630 (pow_towardzero_test_data): Likewise.
13631 (pow_downward_test_data): Likewise.
13632 (pow_upward_test_data): Likewise.
13633 (remainder_test_data): Likewise.
13634 (remainder_tonearest_test_data): Likewise.
13635 (remainder_towardzero_test_data): Likewise.
13636 (remainder_downward_test_data): Likewise.
13637 (remainder_upward_test_data): Likewise.
13638 (remquo_test_data): Likewise.
13639 (rint_test_data): Likewise.
13640 (rint_tonearest_test_data): Likewise.
13641 (rint_towardzero_test_data): Likewise.
13642 (rint_downward_test_data): Likewise.
13643 (rint_upward_test_data): Likewise.
13644 (round_test_data): Likewise.
13645 (scalb_test_data): Likewise.
13646 (scalbn_test_data): Likewise.
13647 (scalbln_test_data): Likewise.
13648 (signbit_test_data): Likewise.
13649 (sin_test_data): Likewise.
13650 (sin_tonearest_test_data): Likewise.
13651 (sin_towardzero_test_data): Likewise.
13652 (sin_downward_test_data): Likewise.
13653 (sin_upward_test_data): Likewise.
13654 (sincos_test_data): Likewise.
13655 (sinh_test_data): Likewise.
13656 (sinh_tonearest_test_data): Likewise.
13657 (sinh_towardzero_test_data): Likewise.
13658 (sinh_downward_test_data): Likewise.
13659 (sinh_upward_test_data): Likewise.
13660 (sqrt_test_data): Likewise.
13661 (tan_test_data): Likewise.
13662 (tan_tonearest_test_data): Likewise.
13663 (tan_towardzero_test_data): Likewise.
13664 (tan_downward_test_data): Likewise.
13665 (tan_upward_test_data): Likewise.
13666 (tanh_test_data): Likewise.
13667 (tgamma_test_data): Likewise.
13668 (trunc_test_data): Likewise.
13669 (y0_test_data): Likewise.
13670 (y1_test_data): Likewise.
13671 (yn_test_data): Likewise.
13672 (significand_test_data): Likewise.
13674 * math/gen-libm-test.pl (@functions): Remove variable.
13675 (generate_testfile): Don't handle START and END lines.
13676 * math/libm-test.inc (START): New macro.
13678 (END_COMPLEX): Likewise.
13679 (acos_test): Use END macro without arguments.
13680 (acos_test_tonearest): Likewise.
13681 (acos_test_towardzero): Likewise.
13682 (acos_test_downward): Likewise.
13683 (acos_test_upward): Likewise.
13684 (acosh_test): Likewise.
13685 (asin_test): Likewise.
13686 (asin_test_tonearest): Likewise.
13687 (asin_test_towardzero): Likewise.
13688 (asin_test_downward): Likewise.
13689 (asin_test_upward): Likewise.
13690 (asinh_test): Likewise.
13691 (atan_test): Likewise.
13692 (atanh_test): Likewise.
13693 (atan2_test): Likewise.
13694 (cabs_test): Likewise.
13695 (cacos_test): Use END_COMPLEX macro without arguments.
13696 (cacosh_test): Likewise.
13697 (carg_test): Use END macro without arguments.
13698 (casin_test): Use END_COMPLEX macro without arguments.
13699 (casinh_test): Likewise.
13700 (catan_test): Likewise.
13701 (catanh_test): Likewise.
13702 (cbrt_test): Use END macro without arguments.
13703 (ccos_test): Use END_COMPLEX macro without arguments.
13704 (ccosh_test): Likewise.
13705 (ceil_test): Use END macro without arguments.
13706 (cexp_test): Use END_COMPLEX macro without arguments.
13707 (cimag_test): Use END macro without arguments.
13708 (clog_test): Use END_COMPLEX macro without arguments.
13709 (clog10_test): Likewise.
13710 (conj_test): Likewise.
13711 (copysign_test): Use END macro without arguments.
13712 (cos_test): Likewise.
13713 (cos_test_tonearest): Likewise.
13714 (cos_test_towardzero): Likewise.
13715 (cos_test_downward): Likewise.
13716 (cos_test_upward): Likewise.
13717 (cosh_test): Likewise.
13718 (cosh_test_tonearest): Likewise.
13719 (cosh_test_towardzero): Likewise.
13720 (cosh_test_downward): Likewise.
13721 (cosh_test_upward): Likewise.
13722 (cpow_test): Use END_COMPLEX macro without arguments.
13723 (cproj_test): Likewise.
13724 (creal_test): Use END macro without arguments.
13725 (csin_test): Use END_COMPLEX macro without arguments.
13726 (csinh_test): Likewise.
13727 (csqrt_test): Likewise.
13728 (ctan_test): Likewise.
13729 (ctan_test_tonearest): Likewise.
13730 (ctan_test_towardzero): Likewise.
13731 (ctan_test_downward): Likewise.
13732 (ctan_test_upward): Likewise.
13733 (ctanh_test): Likewise.
13734 (ctanh_test_tonearest): Likewise.
13735 (ctanh_test_towardzero): Likewise.
13736 (ctanh_test_downward): Likewise.
13737 (ctanh_test_upward): Likewise.
13738 (erf_test): Use END macro without arguments.
13739 (erfc_test): Likewise.
13740 (exp_test): Likewise.
13741 (exp_test_tonearest): Likewise.
13742 (exp_test_towardzero): Likewise.
13743 (exp_test_downward): Likewise.
13744 (exp_test_upward): Likewise.
13745 (exp10_test): Likewise.
13746 (exp2_test): Likewise.
13747 (expm1_test): Likewise.
13748 (fabs_test): Likewise.
13749 (fdim_test): Likewise.
13750 (finite_test): Likewise.
13751 (floor_test): Likewise.
13752 (fma_test): Likewise.
13753 (fma_test_towardzero): Likewise.
13754 (fma_test_downward): Likewise.
13755 (fma_test_upward): Likewise.
13756 (fmax_test): Likewise.
13757 (fmin_test): Likewise.
13758 (fmod_test): Likewise.
13759 (fpclassify_test): Likewise.
13760 (frexp_test): Likewise.
13761 (gamma_test): Likewise.
13762 (hypot_test): Likewise.
13763 (ilogb_test): Likewise.
13764 (isfinite_test): Likewise.
13765 (isgreater_test): Likewise.
13766 (isgreaterequal_test): Likewise.
13767 (isinf_test): Likewise.
13768 (isless_test): Likewise.
13769 (islessequal_test): Likewise.
13770 (islessgreater_test): Likewise.
13771 (isnan_test): Likewise.
13772 (isnormal_test): Likewise.
13773 (issignaling_test): Likewise.
13774 (isunordered_test): Likewise.
13775 (j0_test): Likewise.
13776 (j1_test): Likewise.
13777 (jn_test): Likewise.
13778 (ldexp_test): Likewise.
13779 (lgamma_test): Likewise.
13780 (lrint_test): Likewise.
13781 (lrint_test_tonearest): Likewise.
13782 (lrint_test_towardzero): Likewise.
13783 (lrint_test_downward): Likewise.
13784 (lrint_test_upward): Likewise.
13785 (llrint_test): Likewise.
13786 (llrint_test_tonearest): Likewise.
13787 (llrint_test_towardzero): Likewise.
13788 (llrint_test_downward): Likewise.
13789 (llrint_test_upward): Likewise.
13790 (log_test): Likewise.
13791 (log10_test): Likewise.
13792 (log1p_test): Likewise.
13793 (log2_test): Likewise.
13794 (logb_test): Likewise.
13795 (logb_test_downward): Likewise.
13796 (lround_test): Likewise.
13797 (llround_test): Likewise.
13798 (modf_test): Likewise.
13799 (nearbyint_test): Likewise.
13800 (nextafter_test): Likewise.
13801 (nexttoward_test): Likewise.
13802 (pow_test): Likewise.
13803 (pow_test_tonearest): Likewise.
13804 (pow_test_towardzero): Likewise.
13805 (pow_test_downward): Likewise.
13806 (pow_test_upward): Likewise.
13807 (remainder_test): Likewise.
13808 (remainder_test_tonearest): Likewise.
13809 (remainder_test_towardzero): Likewise.
13810 (remainder_test_downward): Likewise.
13811 (remainder_test_upward): Likewise.
13812 (remquo_test): Likewise.
13813 (rint_test): Likewise.
13814 (rint_test_tonearest): Likewise.
13815 (rint_test_towardzero): Likewise.
13816 (rint_test_downward): Likewise.
13817 (rint_test_upward): Likewise.
13818 (round_test): Likewise.
13819 (scalb_test): Likewise.
13820 (scalbn_test): Likewise.
13821 (scalbln_test): Likewise.
13822 (signbit_test): Likewise.
13823 (sin_test): Likewise.
13824 (sin_test_tonearest): Likewise.
13825 (sin_test_towardzero): Likewise.
13826 (sin_test_downward): Likewise.
13827 (sin_test_upward): Likewise.
13828 (sincos_test): Likewise.
13829 (sinh_test): Likewise.
13830 (sinh_test_tonearest): Likewise.
13831 (sinh_test_towardzero): Likewise.
13832 (sinh_test_downward): Likewise.
13833 (sinh_test_upward): Likewise.
13834 (sqrt_test): Likewise.
13835 (tan_test): Likewise.
13836 (tan_test_tonearest): Likewise.
13837 (tan_test_towardzero): Likewise.
13838 (tan_test_downward): Likewise.
13839 (tan_test_upward): Likewise.
13840 (tanh_test): Likewise.
13841 (tgamma_test): Likewise.
13842 (trunc_test): Likewise.
13843 (y0_test): Likewise.
13844 (y1_test): Likewise.
13845 (yn_test): Likewise.
13846 (significand_test): Likewise.
13848 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13851 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13853 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13856 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13857 __ppc_mdoio and __ppc_mdoom.
13858 * manual/platform.texi: Document new functions __ppc_yield,
13859 __ppc_mdoio and __ppc_mdoom.
13861 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13863 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13864 (main): Mention "tls" pseudo-hwcap is legacy.
13865 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13867 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13869 * math/gen-libm-test.pl (parse_args): Output only string of
13870 arguments as text for test name, not full call or descriptions of
13871 tests for extra outputs.
13872 (generate_testfile): Do not pass function name to parse_args.
13873 Generate this_func variable from START.
13874 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13876 (struct test_ff_f_data): Likewise.
13877 (test_ff_f_data_nexttoward): Likewise.
13878 (struct test_fi_f_data): Likewise.
13879 (struct test_fl_f_data): Likewise.
13880 (struct test_if_f_data): Likewise.
13881 (struct test_fff_f_data): Likewise.
13882 (struct test_c_f_data): Likewise.
13883 (struct test_f_f1_data): Likewise. Remove field extra_name.
13884 (struct test_fF_f1_data): Likewise.
13885 (struct test_ffI_f1_data): Likewise.
13886 (struct test_c_c_data): Rename test_name field to arg_str.
13887 (struct test_cc_c_data): Likewise.
13888 (struct test_f_i_data): Likewise.
13889 (struct test_ff_i_data): Likewise.
13890 (struct test_f_l_data): Likewise.
13891 (struct test_f_L_data): Likewise.
13892 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13894 (COMMON_TEST_SETUP): New macro.
13895 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13896 (COMMON_TEST_CLEANUP): Likewise.
13897 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13898 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13900 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13901 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13903 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13904 (RUN_TEST_fff_f): Take argument string. Call new setup and
13906 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13907 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13909 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13910 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13912 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13913 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13915 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13916 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13918 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13919 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13921 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13922 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13924 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13925 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13927 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13928 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13930 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13931 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13933 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13934 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13936 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13937 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13939 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13940 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13942 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13943 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13945 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13946 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13948 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13949 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13951 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13953 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13955 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13956 to _sifields.sigfault.
13957 (si_addr_lsb): Define new macro.
13958 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13962 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13965 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13967 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13969 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13970 loading the domain.
13972 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13974 * math/gen-libm-test.pl (parse_args): Do not include expected
13975 result in test name.
13976 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13978 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13980 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13983 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13985 * benchtests/Makefile: Sort function entries.
13987 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13988 tanh, asinh, acosh, atanh.
13989 * benchtests/acos-inputs: New file.
13990 * benchtests/acosh-inputs: New file.
13991 * benchtests/asin-inputs: New file.
13992 * benchtests/asinh-inputs: New file.
13993 * benchtests/atanh-inputs: New file.
13994 * benchtests/cosh-inputs: New file.
13995 * benchtests/log-inputs: New file.
13996 * benchtests/sinh-inputs: New file.
13997 * benchtests/tanh-inputs: New file.
13999 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14002 * posix/tst-getaddrinfo4.c: New test.
14003 * posix/Makefile (tests): Add it.
14005 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14008 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14009 when no services were used.
14010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14011 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14013 2013-05-21 Andreas Schwab <schwab@suse.de>
14016 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14017 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14019 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14020 redundant variable declarations and reallocation of buffer when
14021 parsing as IPv6 address. Always set NSS status when called from
14022 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14023 buffer too small. Correct computation of needed size.
14024 * nss/Makefile (tests): Add test-digits-dots.
14025 * nss/test-digits-dots.c: New test.
14027 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14029 * benchtests/Makefile: Remove instructions for adding
14031 * benchtests/README: New file to explain how to execute and
14032 enhance the benchmark tests.
14034 2013-05-21 Andreas Schwab <schwab@suse.de>
14037 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14038 * setjmp/tst-sigsetjmp.c: New test.
14040 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14042 * sysdeps/x86_64/memset.S (memset): New implementation.
14043 (__bzero): Likewise.
14044 (__memset_tail): New function.
14046 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14048 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14049 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14050 __memcpy_sse2_unaligned ifunc selection.
14051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14052 Add memcpy-sse2-unaligned.S.
14053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14054 Add: __memcpy_sse2_unaligned.
14056 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14059 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14060 math_force_eval before restoring floating-point envrionment.
14061 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14062 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14064 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14066 (__nearbyintl): Use math_force_eval before restoring
14067 floating-point environment.
14068 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14070 * math/gen-libm-test.pl (special_functions): Remove.
14071 (parse_args): Don't handle TEST_extra. Handle functions with no
14073 * math/libm-test.inc (struct test_sincos_data): Replace with
14074 struct test_fFF_11_data.
14075 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14076 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14077 (sincos_test_data): Change element type to struct
14078 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14079 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14080 RUN_TEST_LOOP_sincos.
14081 * math/README.libm-test: Don't mention special handling of
14082 individual functions.
14083 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14085 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14086 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14087 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14090 * math/gen-libm-test.pl (get_variable): Remove function.
14091 (parse_args): Don't show pointer parameters to call in test
14092 names. Use "extra output N" in test names for extra outputs
14093 rather than naming variables.
14095 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14098 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14099 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14100 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14102 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14104 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14107 * math/gen-libm-test.pl (@tests): Remove variable.
14108 ($count): Likewise.
14109 (new_test): Remove function.
14110 (show_exceptions): New function.
14111 (special_functions): Use show_exceptions instead of new_test.
14112 (parse_args): Likewise.
14113 (generate_testfile): Pass only function name in generated call to
14114 print_max_error or print_complex_max_error.
14115 (get_ulps): Do not handle complex tests specially.
14116 (output_test): Rename to ...
14117 (get_all_ulps_for_test): ... this. Return a string rather than
14118 printing to a file. Require ulps to be present.
14119 (output_ulps): Generate arrays rather than #defines.
14120 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14121 (struct ulp_data): New type.
14122 (BUILD_COMPLEX_ULP): Remove macro.
14123 (compare_ulp_data): New function.
14124 (find_ulps): Likewise.
14125 (find_test_ulps): Likewise.
14126 (find_function_ulps): Likewise.
14127 (find_complex_function_ulps): Likewise.
14128 (print_max_error): Determine allowed ulps using
14129 find_function_ulps.
14130 (print_complex_max_error): Determine allowed ulps using
14131 find_complex_function_ulps.
14132 (check_float_internal): Determine max ulps using find_test_ulps.
14133 (check_float): Do not take max_ulp parameter. Update call to
14134 check_float_internal.
14135 (check_complex): Likewise.
14136 (check_int): Do not take max_ulp parameter.
14137 (check_long): Likewise.
14138 (check_bool): Likewise.
14139 (check_longlong): Likewise.
14140 (struct test_f_f_data): Remove max_ulp field.
14141 (struct test_ff_f_data): Likewise.
14142 (struct test_ff_f_data_nexttoward): Likewise.
14143 (struct test_fi_f_data): Likewise.
14144 (struct test_fl_f_data): Likewise.
14145 (struct test_if_f_data): Likewise.
14146 (struct test_fff_f_data): Likewise.
14147 (struct test_c_f_data): Likewise.
14148 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14149 (struct test_fF_f1_data): Likewise.
14150 (struct test_ffI_f1_data): Likewise.
14151 (struct test_c_c_data): Remove max_ulp field.
14152 (struct test_cc_c_data): Likewise.
14153 (struct test_f_i_data): Likewise.
14154 (struct test_ff_i_data): Likewise.
14155 (struct test_f_l_data): Likewise.
14156 (struct test_f_L_data): Likewise.
14157 (struct test_sincos_data): Likewise.
14158 (RUN_TEST_f_f): Do not handle ulps.
14159 (RUN_TEST_LOOP_f_f): Likewise.
14160 (RUN_TEST_2_f): Likewise.
14161 (RUN_TEST_LOOP_2_f): Likewise.
14162 (RUN_TEST_fff_f): Likewise.
14163 (RUN_TEST_LOOP_fff_f): Likewise.
14164 (RUN_TEST_c_f): Likewise.
14165 (RUN_TEST_LOOP_c_f): Likewise.
14166 (RUN_TEST_f_f1): Likewise.
14167 (RUN_TEST_LOOP_f_f1): Likewise.
14168 (RUN_TEST_fF_f1): Likewise.
14169 (RUN_TEST_LOOP_fF_f1): Likewise.
14170 (RUN_TEST_fI_f1): Likewise.
14171 (RUN_TEST_LOOP_fI_f1): Likewise.
14172 (RUN_TEST_ffI_f1): Likewise.
14173 (RUN_TEST_LOOP_ffI_f1): Likewise.
14174 (RUN_TEST_c_c): Likewise.
14175 (RUN_TEST_LOOP_c_c): Likewise.
14176 (RUN_TEST_cc_c): Likewise.
14177 (RUN_TEST_LOOP_cc_c): Likewise.
14178 (RUN_TEST_f_i): Likewise.
14179 (RUN_TEST_LOOP_f_i): Likewise.
14180 (RUN_TEST_f_i_tg): Likewise.
14181 (RUN_TEST_LOOP_f_i_tg): Likewise.
14182 (RUN_TEST_ff_i_tg): Likewise.
14183 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14184 (RUN_TEST_f_b): Likewise.
14185 (RUN_TEST_LOOP_f_b): Likewise.
14186 (RUN_TEST_f_b_tg): Likewise.
14187 (RUN_TEST_LOOP_f_b_tg): Likewise.
14188 (RUN_TEST_f_l): Likewise.
14189 (RUN_TEST_LOOP_f_l): Likewise.
14190 (RUN_TEST_f_L): Likewise.
14191 (RUN_TEST_LOOP_f_L): Likewise.
14192 (RUN_TEST_sincos): Likewise.
14193 (RUN_TEST_LOOP_sincos): Likewise.
14195 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14199 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14200 main case of finite arguments, set rounding mode to FE_TONEAREST
14201 and discard exceptions.
14202 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14204 (remainder_tonearest_test_data): New variable.
14205 (remainder_test_tonearest): New function.
14206 (remainder_towardzero_test_data): New variable.
14207 (remainder_test_towardzero): New function.
14208 (remainder_downward_test_data): New variable.
14209 (remainder_test_downward): New function.
14210 (remainder_upward_test_data): New variable.
14211 (remainder_test_upward): New function.
14212 (main): Call the new test functions.
14214 * math/libm-test.inc (struct test_f_f1_data): Remove field
14216 (struct test_fF_f1_data): Likewise.
14217 (struct test_ffI_f1_data): Likewise.
14218 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14219 based on value of EXTRA_EXPECTED.
14220 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14221 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14222 EXTRA_VAR based on value of EXTRA_EXPECTED.
14223 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14224 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14225 EXTRA_VAR based on value of EXTRA_EXPECTED.
14226 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14227 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14228 EXTRA_VAR based on value of EXTRA_EXPECTED.
14229 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14230 * math/gen-libm-test.pl (parse_args): Don't output initializers
14231 for extra output values.
14233 * math/libm-test.inc (check_int): Expect result to be exactly
14234 equal to expected value and do not handle ulps.
14235 (check_long): Likewise.
14236 (check_longlong): Likewise.
14238 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14240 (cimag_test_data): Likewise.
14241 (conj_test_data): Likewise.
14242 (copysign_test_data): Likewise.
14243 (cproj_test_data): Likewise.
14244 (creal_test_data): Likewise.
14245 (fabs_test_data): Likewise.
14246 (fdim_test_data): Likewise.
14247 (finite_test_data): Likewise.
14248 (floor_test_data): Likewise.
14249 (fmax_test_data): Likewise.
14250 (fmin_test_data): Likewise.
14251 (fmod_test_data): Likewise.
14252 (fpclassify_test_data): Likewise.
14253 (frexp_test_data): Likewise.
14254 (ilogb_test_data): Likewise.
14255 (isfinite_test_data): Likewise.
14256 (isgreater_test_data): Likewise.
14257 (isgreaterequal_test_data): Likewise.
14258 (isinf_test_data): Likewise.
14259 (isless_test_data): Likewise.
14260 (islessequal_test_data): Likewise.
14261 (islessgreater_test_data): Likewise.
14262 (isnan_test_data): Likewise.
14263 (isnormal_test_data): Likewise.
14264 (issignaling_test_data): Likewise.
14265 (isunordered_test_data): Likewise.
14266 (ldexp_test_data): Likewise.
14267 (lrint_test_data): Likewise.
14268 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14269 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14270 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14271 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14272 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14273 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14275 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14276 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14277 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14278 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14280 (lrint_downward_test_data): Test for "inexact" exceptions.
14281 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14282 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14283 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14285 (lrint_upward_test_data): Test for "inexact" exceptions.
14286 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14288 (llrint_test_data): Test for "inexact" exceptions.
14289 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14290 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14291 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14292 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14293 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14294 (llrint_downward_test_data): Test for "inexact" exceptions.
14295 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14296 (llrint_upward_test_data): Test for "inexact" exceptions.
14297 (logb_test_data): Likewise.
14298 (logb_downward_test_data): Likewise.
14299 (nextafter_test_data): Likewise.
14300 (nexttoward_test_data): Likewise.
14301 (remainder_test_data): Likewise.
14302 (remquo_test_data): Likewise.
14303 (scalbn_test_data): Likewise.
14304 (scalbln_test_data): Likewise.
14305 (signbit_test_data): Likewise.
14306 (sqrt_test_data): Likewise.
14307 (significand_test_data): Likewise.
14309 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14312 * benchtests/bench-modf.c (struct args): Mark arg0 as
14314 * scripts/bench.pl: Mark members of struct args as volatile.
14316 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14319 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14320 negative infinity on POWER6 or lower.
14321 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14323 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14326 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14327 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14328 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14329 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14330 (_FP_SETQNAN): New macro.
14331 (_FP_SETQNAN_SEMIRAW): Likewise.
14332 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14333 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14334 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14335 (FP_EXTEND): Use _FP_FRAC_SNANP.
14336 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14337 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14339 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14344 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14346 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14347 with DIVIDE_BY_ZERO_EXCEPTION.
14348 (gamma_test_data): Likewise.
14349 (lgamma_test_data): Likewise.
14350 (log_test_data): Likewise.
14351 (log10_test_data): Likewise.
14352 (log2_test_data): Likewise.
14353 (tgamma_test_data): Likewise.
14355 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14356 (acos_test_tonearest): Likewise.
14357 (acos_test_towardzero): Likewise.
14358 (acos_test_downward): Likewise.
14359 (acos_test_upward): Likewise.
14360 (acosh_test): Likewise.
14361 (asin_test): Likewise.
14362 (asin_test_tonearest): Likewise.
14363 (asin_test_towardzero): Likewise.
14364 (asin_test_downward): Likewise.
14365 (asin_test_upward): Likewise.
14366 (asinh_test): Likewise.
14367 (atan_test): Likewise.
14368 (atanh_test): Likewise.
14369 (atan2_test): Likewise.
14370 (cabs_test): Likewise.
14371 (cacos_test): Likewise.
14372 (cacosh_test): Likewise.
14373 (casin_test): Likewise.
14374 (casinh_test): Likewise.
14375 (catan_test): Likewise.
14376 (catanh_test): Likewise.
14377 (cbrt_test): Likewise.
14378 (ccos_test): Likewise.
14379 (ccosh_test): Likewise.
14380 (cexp_test): Likewise.
14381 (clog_test): Likewise.
14382 (clog10_test): Likewise.
14383 (cos_test): Likewise.
14384 (cos_test_tonearest): Likewise.
14385 (cos_test_towardzero): Likewise.
14386 (cos_test_downward): Likewise.
14387 (cos_test_upward): Likewise.
14388 (cosh_test): Likewise.
14389 (cosh_test_tonearest): Likewise.
14390 (cosh_test_towardzero): Likewise.
14391 (cosh_test_downward): Likewise.
14392 (cosh_test_upward): Likewise.
14393 (cpow_test): Likewise.
14394 (csin_test): Likewise.
14395 (csinh_test): Likewise.
14396 (csqrt_test): Likewise.
14397 (ctan_test): Likewise.
14398 (ctan_test_tonearest): Likewise.
14399 (ctan_test_towardzero): Likewise.
14400 (ctan_test_downward): Likewise.
14401 (ctan_test_upward): Likewise.
14402 (ctanh_test): Likewise.
14403 (ctanh_test_tonearest): Likewise.
14404 (ctanh_test_towardzero): Likewise.
14405 (ctanh_test_downward): Likewise.
14406 (ctanh_test_upward): Likewise.
14407 (erf_test): Likewise.
14408 (erfc_test): Likewise.
14409 (exp_test): Likewise.
14410 (exp_test_tonearest): Likewise.
14411 (exp_test_towardzero): Likewise.
14412 (exp_test_downward): Likewise.
14413 (exp_test_upward): Likewise.
14414 (exp10_test): Likewise.
14415 (exp2_test): Likewise.
14416 (expm1_test): Likewise.
14417 (fmod_test): Likewise.
14418 (gamma_test): Likewise.
14419 (hypot_test): Likewise.
14420 (j0_test): Likewise.
14421 (j1_test): Likewise.
14422 (jn_test): Likewise.
14423 (lgamma_test): Likewise.
14424 (log_test): Likewise.
14425 (log10_test): Likewise.
14426 (log1p_test): Likewise.
14427 (log2_test): Likewise.
14428 (logb_test_downward): Likewise.
14429 (pow_test): Likewise.
14430 (pow_test_tonearest): Likewise.
14431 (pow_test_towardzero): Likewise.
14432 (pow_test_downward): Likewise.
14433 (pow_test_upward): Likewise.
14434 (remainder_test): Likewise.
14435 (remquo_test): Likewise.
14436 (sin_test): Likewise.
14437 (sin_test_tonearest): Likewise.
14438 (sin_test_towardzero): Likewise.
14439 (sin_test_downward): Likewise.
14440 (sin_test_upward): Likewise.
14441 (sincos_test): Likewise.
14442 (sinh_test): Likewise.
14443 (sinh_test_tonearest): Likewise.
14444 (sinh_test_towardzero): Likewise.
14445 (sinh_test_downward): Likewise.
14446 (sinh_test_upward): Likewise.
14447 (sqrt_test): Likewise.
14448 (tan_test): Likewise.
14449 (tan_test_tonearest): Likewise.
14450 (tan_test_towardzero): Likewise.
14451 (tan_test_downward): Likewise.
14452 (tan_test_upward): Likewise.
14453 (tanh_test): Likewise.
14454 (tgamma_test): Likewise.
14455 (y0_test): Likewise.
14456 (y1_test): Likewise.
14457 (yn_test): Likewise.
14459 * math/gen-libm-test.pl (adjust_arg): Remove function.
14460 (special_function): Remove argument $in_func. Only handle
14461 generating output for tables of tests, not inside functions.
14462 (parse_args): Likewise.
14463 (generate_testfile): Remove variable $in_func. Update call to
14465 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14466 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14467 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14468 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14469 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14470 (MAX_VALUE_INIT): Rename macro to max_value.
14471 (MIN_VALUE_INIT): Rename macro to min_value.
14472 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14473 (plus_zero): Remove variable.
14474 (minus_zero): Likewise.
14475 (plus_infty): Likewise.
14476 (minus_infty): Likewise.
14477 (qnan_value): Likewise.
14478 (max_value): Likewise.
14479 (min_value): Likewise.
14480 (min_subnorm_value): Likewise.
14482 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14484 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14485 uint64_t or uint32_t usage.
14486 * crypt/sha256-block.c: Likewise.
14487 * crypt/sha256-crypt.c: Likewise.
14488 * crypt/sha256.c: Likewise.
14489 * crypt/sha512-block.c: Likewise.
14490 * crypt/sha512-crypt.c: Likewise.
14491 * crypt/sha512.c: Likewise.
14492 * debug/backtrace-tst.c: Likewise.
14493 * debug/pcprofiledump.c: Likewise.
14494 * elf/cache.c: Likewise.
14495 * elf/dl-cache.c: Likewise.
14496 * elf/dl-misc.c: Likewise.
14497 * elf/dl-profile.c: Likewise.
14498 * elf/dl-support.c: Likewise.
14499 * elf/ldconfig.c: Likewise.
14500 * elf/sprof.c: Likewise.
14501 * iconv/dummy-repertoire.c: Likewise.
14502 * iconv/iconv_charmap.c: Likewise.
14503 * iconv/skeleton.c: Likewise.
14504 * iconvdata/8bit-generic.c: Likewise.
14505 * iconvdata/cp737.h: Likewise.
14506 * iconvdata/cp775.h: Likewise.
14507 * iconvdata/ibm1008.h: Likewise.
14508 * iconvdata/ibm1025.h: Likewise.
14509 * iconvdata/ibm1046.h: Likewise.
14510 * iconvdata/ibm1097.h: Likewise.
14511 * iconvdata/ibm1112.h: Likewise.
14512 * iconvdata/ibm1122.h: Likewise.
14513 * iconvdata/ibm1123.h: Likewise.
14514 * iconvdata/ibm1124.h: Likewise.
14515 * iconvdata/ibm1129.h: Likewise.
14516 * iconvdata/ibm1130.h: Likewise.
14517 * iconvdata/ibm1132.h: Likewise.
14518 * iconvdata/ibm1133.h: Likewise.
14519 * iconvdata/ibm1137.h: Likewise.
14520 * iconvdata/ibm1140.h: Likewise.
14521 * iconvdata/ibm1141.h: Likewise.
14522 * iconvdata/ibm1142.h: Likewise.
14523 * iconvdata/ibm1143.h: Likewise.
14524 * iconvdata/ibm1144.h: Likewise.
14525 * iconvdata/ibm1145.h: Likewise.
14526 * iconvdata/ibm1146.h: Likewise.
14527 * iconvdata/ibm1147.h: Likewise.
14528 * iconvdata/ibm1148.h: Likewise.
14529 * iconvdata/ibm1149.h: Likewise.
14530 * iconvdata/ibm1153.h: Likewise.
14531 * iconvdata/ibm1154.h: Likewise.
14532 * iconvdata/ibm1155.h: Likewise.
14533 * iconvdata/ibm1156.h: Likewise.
14534 * iconvdata/ibm1157.h: Likewise.
14535 * iconvdata/ibm1158.h: Likewise.
14536 * iconvdata/ibm1160.h: Likewise.
14537 * iconvdata/ibm1161.h: Likewise.
14538 * iconvdata/ibm1162.h: Likewise.
14539 * iconvdata/ibm1163.h: Likewise.
14540 * iconvdata/ibm1164.h: Likewise.
14541 * iconvdata/ibm1166.h: Likewise.
14542 * iconvdata/ibm1167.h: Likewise.
14543 * iconvdata/ibm12712.h: Likewise.
14544 * iconvdata/ibm1390.h: Likewise.
14545 * iconvdata/ibm1399.h: Likewise.
14546 * iconvdata/ibm16804.h: Likewise.
14547 * iconvdata/ibm4517.h: Likewise.
14548 * iconvdata/ibm4899.h: Likewise.
14549 * iconvdata/ibm4909.h: Likewise.
14550 * iconvdata/ibm4971.h: Likewise.
14551 * iconvdata/ibm5347.h: Likewise.
14552 * iconvdata/ibm803.h: Likewise.
14553 * iconvdata/ibm856.h: Likewise.
14554 * iconvdata/ibm901.h: Likewise.
14555 * iconvdata/ibm902.h: Likewise.
14556 * iconvdata/ibm9030.h: Likewise.
14557 * iconvdata/ibm9066.h: Likewise.
14558 * iconvdata/ibm921.h: Likewise.
14559 * iconvdata/ibm922.h: Likewise.
14560 * iconvdata/ibm9448.h: Likewise.
14561 * iconvdata/isiri-3342.h: Likewise.
14562 * iconvdata/jis0201.h: Likewise.
14563 * include/link.h: Likewise.
14564 * include/netdb.h: Likewise.
14565 * inet/check_native.c: Likewise.
14566 * inet/check_pf.c: Likewise.
14567 * inet/getipv4sourcefilter.c: Likewise.
14568 * inet/getnameinfo.c: Likewise.
14569 * inet/getsourcefilter.c: Likewise.
14570 * inet/htonl.c: Likewise.
14571 * inet/setipv4sourcefilter.c: Likewise.
14572 * inet/setsourcefilter.c: Likewise.
14573 * inet/test-inet6_opt.c: Likewise.
14574 * inet/tst-network.c: Likewise.
14575 * locale/C-collate.c: Likewise.
14576 * locale/C-ctype.c: Likewise.
14577 * locale/C-time.c: Likewise.
14578 * locale/C-translit.h: Likewise.
14579 * locale/loadarchive.c: Likewise.
14580 * locale/programs/3level.h: Likewise.
14581 * locale/programs/charmap.c: Likewise.
14582 * locale/programs/charmap.h: Likewise.
14583 * locale/programs/ld-address.c: Likewise.
14584 * locale/programs/ld-collate.c: Likewise.
14585 * locale/programs/ld-ctype.c: Likewise.
14586 * locale/programs/ld-identification.c: Likewise.
14587 * locale/programs/ld-measurement.c: Likewise.
14588 * locale/programs/ld-messages.c: Likewise.
14589 * locale/programs/ld-monetary.c: Likewise.
14590 * locale/programs/ld-name.c: Likewise.
14591 * locale/programs/ld-numeric.c: Likewise.
14592 * locale/programs/ld-paper.c: Likewise.
14593 * locale/programs/ld-telephone.c: Likewise.
14594 * locale/programs/ld-time.c: Likewise.
14595 * locale/programs/linereader.c: Likewise.
14596 * locale/programs/locale.c: Likewise.
14597 * locale/programs/locarchive.c: Likewise.
14598 * locale/programs/locfile.h: Likewise.
14599 * locale/programs/repertoire.c: Likewise.
14600 * locale/programs/simple-hash.c: Likewise.
14601 * locale/programs/simple-hash.h: Likewise.
14602 * malloc/memusage.c: Likewise.
14603 * malloc/memusagestat.c: Likewise.
14604 * nis/nis_defaults.c: Likewise.
14605 * nis/nis_hash.c: Likewise.
14606 * nis/nis_print.c: Likewise.
14607 * nis/nis_xdr.c: Likewise.
14608 * nscd/connections.c: Likewise.
14609 * nscd/hstcache.c: Likewise.
14610 * nscd/nscd_gethst_r.c: Likewise.
14611 * nscd/nscd_getserv_r.c: Likewise.
14612 * nscd/nscd_helper.c: Likewise.
14613 * nscd/servicescache.c: Likewise.
14614 * nss/makedb.c: Likewise.
14615 * nss/nss_db/db-XXX.c: Likewise.
14616 * nss/nss_db/db-initgroups.c: Likewise.
14617 * nss/nss_db/db-netgrp.c: Likewise.
14618 * nss/nss_files/files-network.c: Likewise.
14619 * nss/nss_files/files-parse.c: Likewise.
14620 * posix/bug-regex5.c: Likewise.
14621 * posix/fnmatch_loop.c: Likewise.
14622 * posix/regcomp.c: Likewise.
14623 * posix/regexec.c: Likewise.
14624 * posix/tst-rfc3484-2.c: Likewise.
14625 * posix/tst-rfc3484-3.c: Likewise.
14626 * posix/tst-rfc3484.c: Likewise.
14627 * resolv/nss_dns/dns-canon.c: Likewise.
14628 * resolv/nss_dns/dns-network.c: Likewise.
14629 * resolv/res_init.c: Likewise.
14630 * resolv/res_mkquery.c: Likewise.
14631 * resolv/tst-aton.c: Likewise.
14632 * stdlib/cxa_atexit.c: Likewise.
14633 * stdlib/cxa_finalize.c: Likewise.
14634 * stdlib/gen-fpioconst.c: Likewise.
14635 * stdlib/strtol_l.c: Likewise.
14636 * string/tst-endian.c: Likewise.
14637 * sunrpc/auth_des.c: Likewise.
14638 * sunrpc/clnt_udp.c: Likewise.
14639 * sunrpc/rtime.c: Likewise.
14640 * sunrpc/svcauth_des.c: Likewise.
14641 * sunrpc/xdr.c: Likewise.
14642 * sunrpc/xdr_intXX_t.c: Likewise.
14643 * sunrpc/xdr_rec.c: Likewise.
14644 * sysdeps/generic/ldconfig.h: Likewise.
14645 * sysdeps/generic/ldsodefs.h: Likewise.
14646 * sysdeps/generic/memusage.h: Likewise.
14647 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14657 * sysdeps/posix/getaddrinfo.c: Likewise.
14658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14662 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14663 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14664 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14665 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14666 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14668 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14670 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14671 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14672 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14673 * sysdeps/x86_64/dl-tls.h: Likewise.
14674 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14675 * time/alt_digit.c: Likewise.
14676 * time/era.c: Likewise.
14677 * wcsmbs/tst-c16c32-1.c: Likewise.
14679 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14681 * math/libm-test.inc (struct test_sincos_data): New type.
14682 (RUN_TEST_LOOP_sincos): New macro.
14683 (sincos_test_data): New variable.
14684 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14686 2013-05-16 Richard Henderson <rth@redhat.com>
14688 * math/atest-exp2.c (LIMB64): New macro.
14689 (CONSTSZ): New macro.
14690 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14692 (print_mpn_fp): ... to function scope.
14693 (read_mpn_hex): Remove.
14694 (get_log2): Remove.
14695 (exp2_mpn): Use mp_log2.
14696 (main): Use mp_exp1.
14698 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14700 * math/libm-test.inc: Remove comment about not testing "inexact"
14702 (INEXACT_EXCEPTION): New macro.
14703 (NO_INEXACT_EXCEPTION): Likewise.
14704 (INVALID_EXCEPTION_OK): Update value.
14705 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14706 (OVERFLOW_EXCEPTION_OK): Likewise.
14707 (UNDERFLOW_EXCEPTION_OK): Likewise.
14708 (IGNORE_ZERO_INF_SIGN): Likewise.
14709 (ERRNO_UNCHANGED): Likewise.
14710 (ERRNO_EDOM): Likewise.
14711 (ERRNO_ERANGE): Likewise.
14712 (test_exceptions): Handle testing "inexact" exceptions.
14713 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14714 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14715 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14716 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14718 (rint_towardzero_test_data): Likewise.
14719 (rint_downward_test_data): Likewise.
14720 (rint_upward_test_data): Likewise.
14722 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14723 with OVERFLOW_EXCEPTION.
14724 (exp10_test_data): Likewise.
14725 (exp2_test_data): Likewise.
14726 (expm1_test_data): Likewise.
14727 (lgamma_test_data): Likewise.
14728 (pow_test_data): Likewise.
14729 (tgamma_test_data): Likewise.
14730 (yn_test_data): Remove duplicate test of overflow.
14732 * math/libm-test.inc (struct test_cc_c_data): New type.
14733 (RUN_TEST_LOOP_cc_c): New macro.
14734 (cpow_test_data): New variable.
14735 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14737 * math/libm-test.inc (struct test_f_L_data): New type.
14738 (RUN_TEST_LOOP_f_L): New macro.
14739 (llrint_test_data): New variable.
14740 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14741 (llrint_tonearest_test_data): New variable.
14742 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14743 (llrint_towardzero_test_data): New variable.
14744 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14745 (llrint_downward_test_data): New variable.
14746 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14747 (llrint_upward_test_data): New variable.
14748 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14749 (llround_test_data): New variable.
14750 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14752 2013-05-13 Peter Collingbourne <pcc@google.com>
14754 * math/atest-exp2.c (get_log2): Remove const attribute.
14756 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14758 * math/libm-test.inc (struct test_f_l_data): New type.
14759 (RUN_TEST_LOOP_f_l): New macro.
14760 (lrint_test_data): New variable.
14761 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14762 (lrint_tonearest_test_data): New variable.
14763 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14764 (lrint_towardzero_test_data): New variable.
14765 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14766 (lrint_downward_test_data): New variable.
14767 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14768 (lrint_upward_test_data): New variable.
14769 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14770 (lround_test_data): New variable.
14771 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14773 2013-05-15 Peter Collingbourne <pcc@google.com>
14775 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14776 (EXTRACT_WORDS64) Use where appropriate.
14777 (INSERT_WORDS64) Likewise.
14779 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14780 constraints with x constraints.
14781 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14783 * malloc/obstack.c (_obstack_compat): Add initializer.
14785 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14788 si_trapno and add si_addr_lsb to _sifields.sigfault.
14789 (si_trapno): Remove macro.
14790 (si_addr_lsb): Define new macro.
14791 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14793 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14795 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14796 instead of TEST_f_l.
14797 (llrint_test_tonearest): Likewise.
14798 (llrint_test_towardzero): Likewise.
14799 (llrint_test_downward): Likewise.
14800 (llrint_test_upward): Likewise.
14801 (llround_test): Likewise.
14803 * math/libm-test.inc (struct test_f_i_data): Add comment.
14804 (RUN_TEST_LOOP_f_b): New macro.
14805 (RUN_TEST_LOOP_f_b_tg): Likewise.
14806 (finite_test_data): New variable.
14807 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14808 (isfinite_test_data): New variable.
14809 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14810 (isinf_test_data): New variable.
14811 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14812 (isnan_test_data): New variable.
14813 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14814 (isnormal_test_data): New variable.
14815 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14816 (issignaling_test_data): New variable.
14817 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14818 (signbit_test_data): New variable.
14819 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14821 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14822 with INVALID_EXCEPTION.
14823 (acosh_test_data): Likewise.
14824 (asin_test_data): Likewise.
14825 (atanh_test_data): Likewise.
14826 (fmod_test_data): Likewise.
14827 (log_test_data): Likewise.
14828 (log10_test_data): Likewise.
14829 (log2_test_data): Likewise.
14830 (pow_test_data): Likewise.
14831 (sqrt_test_data): Likewise.
14832 (y0_test_data): Likewise.
14833 (y1_test_data): Likewise.
14834 (yn_test_data): Likewise.
14836 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14839 * math/libm-test.inc (struct test_ff_i_data): New type.
14840 (RUN_TEST_LOOP_ff_i_tg): New macro.
14841 (isgreater_test_data): New variable.
14842 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14843 (isgreaterequal_test_data): New variable.
14844 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14845 (isless_test_data): New variable.
14846 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14847 (islessequal_test_data): New variable.
14848 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14849 (islessgreater_test_data): New variable.
14850 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14851 (isunordered_test_data): New variable.
14852 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14854 2013-05-14 David S. Miller <davem@davemloft.net>
14856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14858 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14860 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14862 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14864 (struct test_f_i_data): Change type of max_ulp to int.
14866 * math/libm-test.inc (test_ffI_f1_data): New type.
14867 (RUN_TEST_LOOP_ffI_f1): New macro.
14868 (remquo_test_data): New variable.
14869 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14871 * setjmp/tst-setjmp-fp.c: New file.
14872 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14873 (link-libm): New variable.
14874 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14876 * math/libm-test.inc (struct test_f_i_data): New type.
14877 (RUN_TEST_LOOP_f_i): New macro.
14878 (RUN_TEST_LOOP_f_i_tg): Likewise.
14879 (fpclassify_test_data): New variable.
14880 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14881 (ilogb_test_data): New variable.
14882 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14884 * math/libm-test.inc (scalbln_test): Correct function name in END
14887 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14888 (RUN_TEST_LOOP_fI_f1): New macro.
14889 (frexp_test_data): New variable.
14890 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14892 * math/libm-test.inc (struct test_fF_f1_data): New type.
14893 (RUN_TEST_LOOP_fF_f1): New macro.
14894 (modf_test_data): New variable.
14895 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14897 * math/libm-test.inc (struct test_f_f1_data): New type.
14898 (RUN_TEST_LOOP_f_f1): New macro.
14899 (gamma_test_data): New variable.
14900 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14901 (lgamma_test_data): New variable.
14902 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14904 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14906 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14907 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14908 (main): Comment "tls" pseudo-hwcap.
14910 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14912 * math/libm-test.inc (struct test_fl_f_data): New type.
14913 (RUN_TEST_LOOP_fl_f): New variable.
14914 (scalbln_test_data): New variable.
14915 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14917 * math/libm-test.inc (struct test_fi_f_data): New type.
14918 (RUN_TEST_LOOP_fi_f): New macro.
14919 (ldexp_test_data): New variable.
14920 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14921 (scalbn_test_data): New variable.
14922 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14924 * math/libm-test.inc (struct test_c_f_data): New type.
14925 (RUN_TEST_LOOP_c_f): New macro.
14926 (cabs_test_data): New variable.
14927 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14928 (carg_test_data): New variable.
14929 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14930 (cimag_test_data): New variable.
14931 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14932 (creal_test_data): New variable.
14933 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14935 * math/libm-test.inc (struct test_if_f_data): New type.
14936 (RUN_TEST_LOOP_if_f): New macro.
14937 (jn_test_data): New variable.
14938 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14939 (yn_test_data): New variable.
14940 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14942 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14944 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14946 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14947 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14949 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14951 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14952 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14953 (bench-deps): Add bench-timing.h.
14954 * benchtests-bench-skeleton.c: Include bench-timing.h.
14955 (main): Use TIMING_* macros instead of clock_gettime.
14956 * benchtests/bench-timing.h: New file.
14959 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14960 Renamed from _LIB_VERSION.
14961 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14963 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14965 * math/libm-test.inc (struct test_fff_f_data): New type.
14966 (RUN_TEST_LOOP_fff_f): New macro.
14967 (fma_test_data): New variable.
14968 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14969 (fma_towardzero_test_data): New variable.
14970 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14971 (fma_downward_test_data): New variable.
14972 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14973 (fma_upward_test_data): New variable.
14974 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14976 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14977 (struct test_c_c_data): New type.
14978 (RUN_TEST_LOOP_c_c): New macro.
14979 (cacos_test_data): New variable.
14980 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14981 (cacosh_test_data): New variable.
14982 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14983 (casin_test_data): New variable.
14984 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14985 (casinh_test_data): New variable.
14986 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14987 (catan_test_data): New variable.
14988 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14989 (catanh_test_data): New variable.
14990 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14991 (ccos_test_data): New variable.
14992 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14993 (ccosh_test_data): New variable.
14994 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14995 (cexp_test_data): New variable.
14996 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14997 (clog_test_data): New variable.
14998 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14999 (clog10_test_data): New variable.
15000 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15001 (conj_test_data): New variable.
15002 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15003 (cproj_test_data): New variable.
15004 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15005 (csin_test_data): New variable.
15006 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15007 (csinh_test_data): New variable.
15008 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15009 (csqrt_test_data): New variable.
15010 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15011 (ctan_test_data): New variable.
15012 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15013 (ctan_tonearest_test_data): New variable.
15014 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15015 (ctan_towardzero_test_data): New variable.
15016 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15017 (ctan_downward_test_data): New variable.
15018 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15019 (ctan_upward_test_data): New variable.
15020 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15021 (ctanh_test_data): New variable.
15022 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15023 (ctanh_tonearest_test_data): New variable.
15024 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15025 (ctanh_towardzero_test_data): New variable.
15026 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15027 (ctanh_downward_test_data): New variable.
15028 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15029 (ctanh_upward_test_data): New variable.
15030 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15031 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15034 * math/libm-test.inc (struct test_ff_f_data): New type.
15035 (struct test_ff_f_data_nexttoward): Likewise.
15036 (RUN_TEST_LOOP_2_f): New macro.
15037 (RUN_TEST_LOOP_ff_f): Likewise.
15038 (atan2_test_data): New variable.
15039 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15040 (copysign_test_data): New variable.
15041 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15042 (fdim_test_data): New variable.
15043 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15044 (fmax_test_data): New variable.
15045 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15046 (fmin_test_data): New variable.
15047 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15048 (fmod_test_data): New variable.
15049 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15050 (hypot_test_data): New variable.
15051 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15052 (nextafter_test_data): New variable.
15053 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15054 (nexttoward_test_data): New variable.
15055 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15056 (pow_test_data): New variable.
15057 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15058 (pow_tonearest_test_data): New variable.
15059 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15060 (pow_towardzero_test_data): New variable.
15061 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15062 (pow_downward_test_data): New variable.
15063 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15064 (pow_upward_test_data): New variable.
15065 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15066 (remainder_test_data): New variable.
15067 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15068 (scalb_test_data): New variable.
15069 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15070 * sysdeps/i386/fpu/libm-test-ulps: Update.
15072 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15074 * math/libm-test.inc (fma_test): Use max_value instead of local
15076 (nextafter_test): Likewise.
15078 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15079 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15080 (acos_downward_test_data): New variable.
15081 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15082 (acos_upward_test_data): New variable.
15083 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15084 (acosh_test_data): New variable.
15085 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15086 (asin_test_data): New variable.
15087 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15088 (asin_tonearest_test_data): New variable.
15089 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15090 (asin_towardzero_test_data): New variable.
15091 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15092 (asin_downward_test_data): New variable.
15093 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15094 (asin_upward_test_data): New variable.
15095 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15096 (asinh_test_data): New variable.
15097 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15098 (atan_test_data): New variable.
15099 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15100 (atanh_test_data): New variable.
15101 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15102 (cbrt_test_data): New variable.
15103 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15104 (ceil_test_data): New variable.
15105 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15106 (cos_test_data): New variable.
15107 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15108 (cos_tonearest_test_data): New variable.
15109 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15110 (cos_towardzero_test_data): New variable.
15111 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15112 (cos_downward_test_data): New variable.
15113 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15114 (cos_upward_test_data): New variable.
15115 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15116 (cosh_test_data): New variable.
15117 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15118 (cosh_tonearest_test_data): New variable.
15119 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15120 (cosh_towardzero_test_data): New variable.
15121 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15122 (cosh_downward_test_data): New variable.
15123 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15124 (cosh_upward_test_data): New variable.
15125 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15126 (erf_test_data): New variable.
15127 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15128 (erfc_test_data): New variable.
15129 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15130 (exp_test_data): New variable.
15131 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15132 (exp_tonearest_test_data): New variable.
15133 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15134 (exp_towardzero_test_data): New variable.
15135 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15136 (exp_downward_test_data): New variable.
15137 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15138 (exp_upward_test_data): New variable.
15139 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15140 (exp10_test_data): New variable.
15141 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15142 (exp2_test_data): New variable.
15143 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15144 (expm1_test_data): New variable.
15145 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15146 (fabs_test_data): New variable.
15147 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15148 (floor_test_data): New variable.
15149 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15150 (j0_test_data): New variable.
15151 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15152 (j1_test_data): New variable.
15153 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15154 (log_test_data): New variable.
15155 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15156 (log10_test_data): New variable.
15157 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15158 (log1p_test_data): New variable.
15159 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15160 (log2_test_data): New variable.
15161 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15162 (logb_test_data): New variable.
15163 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15164 (logb_downward_test_data): New variable.
15165 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15166 (nearbyint_test_data): New variable.
15167 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15168 (rint_test_data): New variable.
15169 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15170 (rint_tonearest_test_data): New variable.
15171 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15172 (rint_towardzero_test_data): New variable.
15173 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15174 (rint_downward_test_data): New variable.
15175 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15176 (rint_upward_test_data): New variable.
15177 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15178 (round_test_data): New variable.
15179 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15180 (sin_test_data): New variable.
15181 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15182 (sin_tonearest_test_data): New variable.
15183 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15184 (sin_towardzero_test_data): New variable.
15185 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15186 (sin_downward_test_data): New variable.
15187 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15188 (sin_upward_test_data): New variable.
15189 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15190 (sinh_test_data): New variable.
15191 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15192 (sinh_tonearest_test_data): New variable.
15193 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15194 (sinh_towardzero_test_data): New variable.
15195 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15196 (sinh_downward_test_data): New variable.
15197 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15198 (sinh_upward_test_data): New variable.
15199 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15200 (sqrt_test_data): New variable.
15201 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15202 (tan_test_data): New variable.
15203 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15204 (tan_tonearest_test_data): New variable.
15205 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15206 (tan_towardzero_test_data): New variable.
15207 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15208 (tan_downward_test_data): New variable.
15209 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15210 (tan_upward_test_data): New variable.
15211 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15212 (tanh_test_data): New variable.
15213 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15214 (tgamma_test_data): New variable.
15215 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15216 (trunc_test_data): New variable.
15217 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15218 (y0_test_data): New variable.
15219 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15220 (y1_test_data): New variable.
15221 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15222 (significand_test_data): New variable.
15223 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15225 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15228 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15230 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15232 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15234 2013-05-10 Andreas Jaeger <aj@suse.de>
15237 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15238 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15240 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15242 * math/gen-libm-test.pl (adjust_arg): New function.
15243 (special_functions): Handle generating output in both functions
15245 (parse_args): Likewise.
15246 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15247 $in_func argument to parse_args.
15248 * math/libm-test.inc (struct test_f_f_data): New type.
15249 (IF_ROUND_INIT_): New macro.
15250 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15251 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15252 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15253 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15254 (ROUND_RESTORE_): Likewise.
15255 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15256 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15257 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15258 (ROUND_RESTORE_FE_UPWARD): Likewise.
15259 (RUN_TEST_LOOP_f_f): New macro.
15260 (acos_test_data): New variable.
15261 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15262 (acos_tonearest_test_data): New variable.
15263 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15265 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15267 * benchtests/bench-skeleton.c (startup): Fix coding style.
15269 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15272 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15273 negative infinity argument.
15274 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15275 negative infinity argument.
15276 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15277 negative infinity argument.
15278 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15281 2013-05-10 Florian Weimer <fweimer@redhat.com>
15283 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15284 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15285 * iconv/iconv_prog.c (main): Likewise.
15286 * locale/programs/charmap-dir.c (charmap_readdir)
15287 (fopen_uncompressed): Likewise.
15288 * locale/programs/locfile.c (siblings_uncached)
15289 (write_locale_data): Use lstat64 instead of lstat.
15290 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15293 2013-05-10 Andreas Jaeger <aj@suse.de>
15296 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15298 Include <locale.h>.
15300 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15302 * elf/dl-close.c (_dl_close_worker): Add comments.
15304 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15307 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15309 (__ieee754_rem_pio2l): Update comments.
15312 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15314 (__ieee754_rem_pio2l): Update comments.
15316 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15317 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15319 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15322 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15323 (M_PI_34_LOG10El): Likewise.
15324 (M_PI2_LOG10El): Likewise.
15325 (M_PI4_LOG10El): Likewise.
15326 (M_PI_LOG10El): Likewise.
15328 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15332 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15334 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15335 (MINUS_ZERO_INIT): Likewise.
15336 (PLUS_INFTY_INIT): Likewise.
15337 (MINUS_INFTY_INIT): Likewise.
15338 (QNAN_VALUE_INIT): Likewise.
15339 (MAX_VALUE_INIT): Likewise.
15340 (MIN_VALUE_INIT): Likewise.
15341 (MIN_SUBNORM_VALUE_INIT): Likewise.
15342 (plus_zero): Initialize with PLUS_ZERO_INIT.
15343 (minus_zero): Initialize with MINUS_ZERO_INIT.
15344 (plus_infty): Initialize with PLUS_INFTY_INIT.
15345 (minus_infty): Initialize with MINUS_INFTY_INIT.
15346 (qnan_value): Initialize with QNAN_VALUE_INIT.
15347 (max_value): Initialize with MAX_VALUE_INIT.
15348 (min_value): Initialize with MIN_VALUE_INIT.
15349 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15351 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15352 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15353 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15354 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15356 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15357 (RUN_TEST_2_f): Likewise.
15358 (RUN_TEST_ff_f): Likewise.
15359 (RUN_TEST_fi_f): Likewise.
15360 (RUN_TEST_fl_f): Likewise.
15361 (RUN_TEST_fff_f): Likewise.
15362 (RUN_TEST_c_f): Likewise.
15363 (RUN_TEST_f_f1): Likewise.
15364 (RUN_TEST_fF_f1): Likewise.
15365 (RUN_TEST_fI_f1): Likewise.
15366 (RUN_TEST_ffI_f1): Likewise.
15367 (RUN_TEST_c_c): Likewise.
15368 (RUN_TEST_cc_c): Likewise.
15369 (RUN_TEST_f_i): Likewise.
15370 (RUN_TEST_f_i_tg): Likewise.
15371 (RUN_TEST_ff_i_tg): Likewise.
15372 (RUN_TEST_f_b): Likewise.
15373 (RUN_TEST_f_b_tg): Likewise.
15374 (RUN_TEST_f_l): Likewise.
15375 (RUN_TEST_f_L): Likewise.
15376 (RUN_TEST_sincos): Likewise.
15377 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15378 whether to show exceptions. Do not include ");\n" in return
15380 (special_functions): Output call to RUN_TEST_sincos instead of
15381 check_float calls. Update calls to new_test.
15382 (parse_args): Output call to single RUN_TEST_* macro instead of
15383 check_* calls and other assignments. Update calls to new_test.
15389 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15390 input to result for tgamma overflow.
15391 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15392 (gamma_coeff): New variable.
15393 (NCOEFF): New macro.
15394 (gamma_positive): New function.
15395 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15396 underflow here. Use gamma_positive instead of exp (lgamma) for
15398 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15399 (gamma_coeff): New variable.
15400 (NCOEFF): New macro.
15401 (gammaf_positive): New function.
15402 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15403 underflow here. Use gamma_positive instead of exp (lgamma) for
15405 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15406 (gamma_coeff): New variable.
15407 (NCOEFF): New macro.
15408 (gammal_positive): New function.
15409 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15410 underflow here. Use gamma_positive instead of exp (lgamma) for
15412 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15413 (gamma_coeff): New variable.
15414 (NCOEFF): New macro.
15415 (gammal_positive): New function.
15416 (__ieee754_gammal_r): Handle positive infinity, overflow and
15417 underflow here. Handle NaN the same as positive infinity. Remove
15418 check x < 0xffffffff for negative integers. Use gamma_positive
15419 instead of exp (lgamma) for other arguments.
15420 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15421 (gamma_coeff): New variable.
15422 (NCOEFF): New macro.
15423 (gammal_positive): New function.
15424 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15425 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15429 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15430 * sysdeps/generic/math_private.h (__gamma_productf): New
15432 (__gamma_product): Likewise.
15433 (__gamma_productl): Likewise.
15434 * math/Makefile (libm-calls): Add gamma_product.
15435 * math/libm-test.inc (tgamma_test): Add more tests.
15436 * sysdeps/i386/fpu/libm-test-ulps: Update.
15437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15441 * benchtests/bench-skeleton.c (main): Preheat CPU.
15443 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15445 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15447 2013-05-07 Roland McGrath <roland@hack.frob.com>
15449 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15450 and _dl_skip_args_internal.
15452 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15454 * manual/message.texi (Message Translation): Talk about users.
15455 Message to key mapping impacts design.
15457 2013-05-06 Roland McGrath <roland@hack.frob.com>
15459 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15461 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15463 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15464 * sysdeps/wordsize-64/glob64.c: ... here.
15466 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15467 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15470 * debug/getlogin_r_chk.c: Moved to ...
15471 * login/getlogin_r_chk.c: ... here.
15472 * debug/Makefile (routines): Move getlogin_r_chk to ...
15473 * login/Makefile (routines): ... here.
15474 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15475 * login/Versions (libc: GLIBC_2.4): ... here.
15477 * io/poll.c (__poll): Renamed from poll.
15478 Add libc_hidden_def.
15479 (poll): Define as weak alias.
15481 * debug/ptsname_r_chk.c: Moved to ...
15482 * login/ptsname_r_chk.c: ... here.
15483 * debug/Makefile (routines): Move ptsname_r_chk to ...
15484 * login/Makefile (routines): ... here.
15485 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15486 * login/Versions (libc: GLIBC_2.4): ... here.
15488 * posix/getlogin.c: Moved to ...
15489 * login/getlogin.c: ... here.
15490 * posix/getlogin_r.c: Moved to ...
15491 * login/getlogin_r.c: ... here.
15492 * posix/getlogin_r.c: Moved to ...
15493 * login/getlogin_r.c: ... here.
15494 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15495 * login/Makefile (routines): ... here.
15496 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15497 * login/Versions (libc: GLIBC_2.0): ... here.
15499 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15500 (setrlimit): Define as weak alias.
15502 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15503 Call __ names for open, ftruncate, and close.
15504 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15505 (truncate): Define as weak alias.
15507 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15509 * math/gen-libm-test.pl (parse_args): Initialize x before each
15510 test of frexp, modf and remquo.
15512 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15513 test signgam value.
15515 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15519 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15521 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15523 2013-05-06 Roland McGrath <roland@hack.frob.com>
15525 * elf/dl-writev.h: New file.
15526 * elf/dl-misc.c: Include it.
15527 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15528 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15530 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15532 * math/libm-test.inc (noXFails): Remove variable.
15533 (noXPasses): Likewise.
15534 (BUILD_COMPLEX_INT): Remove macro.
15535 (print_screen): Remove xfail argument.
15536 (print_screen_max_error): Likewise.
15537 (update_stats): Likewise.
15538 (print_max_error): Likewise. Update calls to other affected
15540 (print_complex_max_error): Likewise.
15541 (test_single_exception): Update calls to print_screen.
15542 (test_single_errno): Likewise.
15543 (check_float_internal): Remove xfail argument. Update calls to
15544 other affected functions.
15545 (check_float): Likewise.
15546 (check_complex): Likewise.
15547 (check_int): Likewise.
15548 (check_long): Likewise.
15549 (check_bool): Likewise.
15550 (check_longlong): Likewise.
15551 (main): Don't print noXFails and noXPasses.
15552 * math/gen-libm-test.pl (top level): Don't mention expected
15553 failure handling in comment.
15554 (new_test): Don't handle expected failures.
15555 (parse_args): Don't mention expected failure handling in comment.
15556 (generate_testfile): Don't handle expected failures.
15557 (parse_ulps): Likewise.
15558 (print_ulps_file): Likewise.
15559 (get_failure): Remove function.
15560 (output_test): Don't handle expected failures.
15561 * make/README.libm-test: Don't mention expected failure handling.
15563 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15564 (minus_zero): Likewise.
15565 (plus_infty): Likewise.
15566 (minus_infty): Likewise.
15567 (qnan_value): Likewise.
15568 (max_value): Likewise.
15569 (min_value): Likewise.
15570 (min_subnorm_value): Likewise.
15571 (initialize): Do not initialize those variables dynamically.
15573 2013-05-03 Roland McGrath <roland@hack.frob.com>
15575 * io/open.c (__open_2): Moved to ...
15576 * io/open_2.c: ... this new file.
15577 * io/open64.c (__open64_2): Moved to ...
15578 * io/open64_2.c: ... this new file.
15579 * io/openat.c (__openat_2): Moved to ...
15580 * io/openat_2.c: ... this new file.
15581 * io/openat64.c (__openat64_2): Moved to ...
15582 * io/openat64_2.c: ... this new file.
15583 * io/Makefile (routines): Add them.
15584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15585 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15586 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15587 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15588 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15589 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15590 (__openat64): Add hidden_ver.
15591 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15592 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15594 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15595 Separately conditionalize setting of GLRO(dl_sysinfo) so
15596 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15597 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15599 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15602 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15604 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15605 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15606 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15607 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15608 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15610 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15612 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15613 test signgam value.
15615 * math/libm-test.inc (hypot_test): Do not use
15616 IGNORE_ZERO_INF_SIGN.
15618 2013-05-03 Andreas Jaeger <aj@suse.de>
15620 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15622 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15623 (PF_MAX): Adjust for VSOCK change.
15625 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15629 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15632 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15633 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15634 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15636 2013-05-02 David S. Miller <davem@davemloft.net>
15638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15640 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15642 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15644 2013-05-01 Roland McGrath <roland@hack.frob.com>
15646 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15648 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15651 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15652 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15653 Use __attribute__ ((__gnu_inline__)).
15654 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15655 Don't use __attribute__ ((__gnu_inline__)).
15657 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15660 * math/s_catan.c (__catan): Handle small real or imaginary part of
15661 input specially to avoid spurious underflow.
15662 * math/s_catanf.c (__catanf): Likewise.
15663 * math/s_catanh.c (__catanh): Likewise.
15664 * math/s_catanhf.c (__catanhf): Likewise.
15665 * math/s_catanhl.c (__catanhl): Likewise.
15666 * math/s_catanl.c (__catanl): Likewise.
15667 * math/libm-test.inc (catan_test): Add more tests.
15668 (catanh_test): Likewise.
15669 * sysdeps/i386/fpu/libm-test-ulps: Update.
15670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15672 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15676 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15679 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15680 accurately for denominator in atan2.
15681 * math/s_catanf.c (__catanf): Likewise.
15682 * math/s_catanh.c (__catanh): Likewise.
15683 * math/s_catanhf.c (__catanhf): Likewise.
15684 * math/s_catanhl.c (__catanhl): Likewise.
15685 * math/s_catanl.c (__catanl): Likewise.
15686 * math/libm-test.inc (catan_test): Add more tests.
15687 (catanh_test): Likewise.
15688 * sysdeps/i386/fpu/libm-test-ulps: Update.
15689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15691 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15693 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15695 * benchtests/Makefile (bench): Remove slow benchmarks.
15696 * benchtests/atan-inputs: Add slow benchmark inputs.
15697 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15698 (BENCH_FUNC): Accept variant offset.
15700 * benchtests/bench-skeleton.c (main): Run benchmark for each
15702 * benchtests/cos-inputs: Add slow benchmark inputs.
15703 * benchtests/exp-inputs: Likewise.
15704 * benchtests/pow-inputs: Likewise.
15705 * benchtests/sin-inputs: Likewise.
15706 * benchtests/slowatan-inputs: Remove.
15707 * benchtests/slowatan.c: Remove.
15708 * benchtests/slowcos-inputs: Remove.
15709 * benchtests/slowcos.c: Remove.
15710 * benchtests/slowexp-inputs: Remove.
15711 * benchtests/slowexp.c: Remove.
15712 * benchtests/slowpow-inputs: Remove.
15713 * benchtests/slowpow.c: Remove.
15714 * benchtests/slowsin-inputs: Remove.
15715 * benchtests/slowsin.c: Remove.
15716 * benchtests/slowtan-inputs: Remove.
15717 * benchtests/slowtan.c: Remove.
15718 * benchtests/tan-inputs: Add slow benchmark inputs.
15719 * scripts/bench.pl: Parse comments and directives.
15721 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15723 ($(objpfx)bench-%.c): Remove *-ITER.
15724 * benchtests/bench-modf.c: Remove definition of ITER.
15725 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15726 (main): Loop for DURATION seconds instead of fixed number of
15728 * scripts/bench.pl: Don't expect iterations in parameters.
15730 2013-04-29 Roland McGrath <roland@hack.frob.com>
15732 * io/fchdir.c (__fchdir): Renamed from fchdir.
15733 (fchdir): Define as weak alias.
15735 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15737 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15738 (ERRNO_EDOM): Likewise.
15739 (ERRNO_ERANGE): Likewise.
15740 (noErrnoTests): New variable.
15741 (init_max_error): Set errno to 0.
15742 (test_single_errno): New function.
15743 (test_errno): Likewise.
15744 (check_float_internal): Call test_errno. Set errno to 0.
15745 (check_complex): Refer to errno tests in comment.
15746 (check_int): Call test_errno. Set errno to 0.
15747 (check_long): Likewise.
15748 (check_bool): Likewise.
15749 (check_longlong): Likewise.
15750 (cos_test): Use ERRNO_* flags for errno tests instead of
15752 (expm1_test): Likewise.
15753 (fmod_test): Likewise.
15754 (ilogb_test): Likewise.
15755 (lgamma_test): Likewise.
15756 (pow_test): Likewise.
15757 (remainder_test): Likewise.
15758 (sin_test): Likewise.
15759 (tan_test): Likewise.
15760 (yn_test): Likewise.
15761 (initialize): Set errno to 0.
15762 (main): Print number of errno tests.
15763 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15765 2013-04-29 Andreas Jaeger <aj@suse.de>
15768 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15772 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15773 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15777 * stdlib/random.c (__initstate): Return NULL if
15781 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15782 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15785 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15789 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15791 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15792 of individual tests.
15793 (casin_test): Likewise.
15794 (casinh_test): Likewise.
15796 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15799 * math/s_catan.c (__catan): Handle arguments with large real or
15800 imaginary part separately without squaring.
15801 * math/s_catanf.c (__catanf): Likewise.
15802 * math/s_catanh.c (__catanh): Likewise.
15803 * math/s_catanhf.c (__catanhf): Likewise.
15804 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15806 (__catanhl): Handle arguments with large real or imaginary part
15807 separately without squaring.
15808 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15810 (__catanl): Handle arguments with large real or imaginary part
15811 separately without squaring.
15812 * math/libm-test.inc (catan_test): Add more tests.
15813 (catanh_test): Likewise.
15814 * sysdeps/i386/fpu/libm-test-ulps: Update.
15815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15817 2013-04-27 Andreas Jaeger <aj@suse.de>
15820 * stdlib/stdlib.h: Update guards for qecvt.
15821 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15824 2013-04-27 Allan McRae <allan@archlinux.org>
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15828 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15831 * math/s_catan.c: Include <float.h>.
15832 (__catan): Ensure underflow exception occurs for underflowed
15834 * math/s_catanf.c: Include <float.h>.
15835 (__catanf): Ensure underflow exception occurs for underflowed
15837 * math/s_catanh.c: Include <float.h>.
15838 (__catanh): Ensure underflow exception occurs for underflowed
15840 * math/s_catanhf.c: Include <float.h>.
15841 (__catanhf): Ensure underflow exception occurs for underflowed
15843 * math/s_catanhl.c: Include <float.h>.
15844 (__catanhl): Ensure underflow exception occurs for underflowed
15846 * math/s_catanl.c: Include <float.h>.
15847 (__catanl): Ensure underflow exception occurs for underflowed
15849 * math/libm-test.inc (catan_test): Add more tests.
15850 (catanh_test): Likewise.
15853 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15854 underflowed result.
15855 * math/s_ccoshf.c (__ccoshf): Likewise.
15856 * math/s_ccoshl.c (__ccoshl): Likewise.
15857 * math/s_csin.c (__csin): Likewise.
15858 * math/s_csinf.c (__csinf): Likewise.
15859 * math/s_csinh.c (__csinh): Likewise.
15860 * math/s_csinhf.c (__csinhf): Likewise.
15861 * math/s_csinhl.c (__csinhl): Likewise.
15862 * math/s_csinl.c (__csinl): Likewise.
15863 * math/libm-test.inc (ccos_test): Add more tests.
15864 (ccosh_test): Likewise.
15865 (csin_test): Likewise.
15866 (csinh_test): Likewise.
15868 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15870 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15871 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15872 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15873 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15874 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15875 powerpc/power5+/fpu folders.
15876 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15879 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15883 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15885 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15886 additions to variable.
15887 [$(config-machine) = x86_64] (modules-names): Likewise.
15888 ($(objpfx)tst-audit3): Remove dependency.
15889 ($(objpfx)tst-audit3.out): Likewise.
15890 ($(objpfx)tst-audit4): Likewise.
15891 ($(objpfx)tst-audit4.out): Likewise.
15892 ($(objpfx)tst-audit5): Likewise.
15893 ($(objpfx)tst-audit5.out): Likewise.
15894 ($(objpfx)tst-audit6): Likewise.
15895 ($(objpfx)tst-audit6.out): Likewise.
15896 ($(objpfx)tst-audit7): Likewise.
15897 ($(objpfx)tst-audit7.out): Likewise.
15898 (tst-audit3-ENV): Remove variable.
15899 (tst-audit4-ENV): Likewise.
15900 (tst-audit5-ENV): Likewise.
15901 (tst-audit6-ENV): Likewise.
15902 (tst-audit7-ENV): Likewise.
15903 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15904 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15905 addition to variable.
15906 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15907 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15909 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15910 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15911 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15912 tst-audit3, tst-audit4 and tst-audit5.
15913 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15914 tst-audit6 and tst-audit7.
15915 [$(subdir) = elf] (modules-names): Add audit modules for those
15917 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15918 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15919 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15920 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15921 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15922 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15923 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15924 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15925 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15926 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15927 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15928 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15929 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15930 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15931 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15932 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15934 [$(subdir) = elf && $(config-cflags-avx) = yes]
15935 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15936 [$(subdir) = elf && $(config-cflags-avx) = yes]
15937 (CFLAGS-tst-auditmod4a.c): Likewise.
15938 [$(subdir) = elf && $(config-cflags-avx) = yes]
15939 (CFLAGS-tst-auditmod4b.c): Likewise.
15940 [$(subdir) = elf && $(config-cflags-avx) = yes]
15941 (CFLAGS-tst-auditmod6b.c): Likewise.
15942 [$(subdir) = elf && $(config-cflags-avx) = yes]
15943 (CFLAGS-tst-auditmod6c.c): Likewise.
15944 [$(subdir) = elf && $(config-cflags-avx) = yes]
15945 (CFLAGS-tst-auditmod7b.c): Likewise.
15946 * elf/tst-audit3.c: Move to ...
15947 * sysdeps/x86_64/tst-audit3.c: ... here.
15948 * elf/tst-audit4.c: Move to ...
15949 * sysdeps/x86_64/tst-audit4.c: ... here.
15950 * elf/tst-audit5.c: Move to ...
15951 * sysdeps/x86_64/tst-audit5.c: ... here.
15952 * elf/tst-audit6.c: Move to ...
15953 * sysdeps/x86_64/tst-audit6.c: ... here.
15954 * elf/tst-audit7.c: Move to ...
15955 * sysdeps/x86_64/tst-audit7.c: ... here.
15956 * elf/tst-auditmod3a.c: Move to ...
15957 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15958 * elf/tst-auditmod3b.c: Move to ...
15959 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15960 * elf/tst-auditmod4a.c: Move to ...
15961 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15962 * elf/tst-auditmod4b.c: Move to ...
15963 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15964 * elf/tst-auditmod5a.c: Move to ...
15965 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15966 * elf/tst-auditmod5b.c: Move to ...
15967 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15968 * elf/tst-auditmod6a.c: Move to ...
15969 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15970 * elf/tst-auditmod6b.c: Move to ...
15971 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15972 * elf/tst-auditmod6c.c: Move to ...
15973 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15974 * elf/tst-auditmod7a.c: Move to ...
15975 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15976 * elf/tst-auditmod7b.c: Move to ...
15977 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15979 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15982 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15983 define unconditionally.
15984 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15985 define unconditionally.
15986 (INT8_C, INT16_C, etc.): Likewise.
15988 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15990 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15991 __ehdr_start with hidden visibility.
15993 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15995 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15997 * math/libm-test.inc (cos_test): Use accurate hex constants.
15998 (sincost_test): Likewise.
16000 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16002 * math/libm-test.inc (catan_test): Add more tests.
16003 (catanh_test): Likewise.
16005 * math/s_catanf.c (__catanf): Use suffixed floating-point
16007 * math/s_catanhf.c (__catanhf): Likewise.
16008 * math/s_catanhl.c (__catanhl): Likewise.
16009 * math/s_catanl.c (__catanl): Likewise.
16012 * math/s_catan.c (__catan): Calculate imaginary part of result
16013 with log1p not log unless computing log of number close to 0.
16014 * math/s_catanf.c (__catanf): Likewise.
16015 * math/s_catanl.c (__catanl): Likewise.
16016 * math/s_catanh.c (__catanh): Calculate real part of result with
16017 log1p not log unless computing log of number close to 0.
16018 * math/s_catanhf.c (__catanhf): Likewise.
16019 * math/s_catanhl.c (__catanhl): Likewise.
16020 * math/libm-test.inc (catan_test): Add more tests.
16021 (catanh_test): Likewise.
16022 * sysdeps/i386/fpu/libm-test-ulps: Update.
16023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16025 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16027 * benchtests/Makefile: Mention files in which fast and slow
16028 paths of math functions are implemented.
16030 2013-04-23 Roland McGrath <roland@hack.frob.com>
16032 * sysdeps/posix/timespec_get.c: New file.
16034 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16036 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16038 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16040 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16041 powerpc/power5/fpu folders.
16042 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16043 * benchtests/Makefile: Add modf testcase.
16044 * benchtests/bench-modf.c: New file: Benchmark test for mo
16046 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16049 * time/Makefile (tests): Add tst-strptime-whitespace.
16050 * time/strptime_l.c (get_number): Use ISSPACE.
16051 (__strptime_internal): Likewise.
16052 * time/tst-strptime-whitespace.c: New test case.
16054 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16056 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16058 (_nss_files_init): Set it here.
16060 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16062 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16063 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16066 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16068 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16070 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16075 2013-04-21 David S. Miller <davem@davemloft.net>
16077 * po/ru.po: Update Russion translation from translation project.
16079 2013-04-17 Adam Conrad <adconrad@0c3.net>
16081 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16084 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16086 * configure.in: Remove i386 configure warning. Remove i386 case.
16087 * configure: Regenerate.
16088 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16089 Add example to error message.
16090 * sysdeps/i386/configure: Regenerate.
16092 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16094 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16096 * benchtests/cos-inputs: New file.
16097 * benchtests/slowcos-inputs: New file.
16098 * benchtests/slowcos.c: New file.
16099 * benchtests/slowtan-inputs: New file.
16100 * benchtests/slowtan.c: New file.
16101 * benchtests/tan-inputs: New file.
16103 2013-04-16 Roland McGrath <roland@hack.frob.com>
16105 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16108 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16110 * benchtests/Makefile: Include cppflags-iterator.mk to add
16111 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16113 * Makefile.in (bench-clean): New target.
16114 * benchtests/Makefile (bench-clean): Likewise.
16116 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16118 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16120 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16122 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16124 2013-04-15 Andreas Schwab <schwab@suse.de>
16126 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16128 * nscd/pwdcache.c (cache_addpw): Likewise.
16129 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16132 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16134 * benchtests/Makefile (bench): Write all output to
16135 bench-out.tmp together.
16137 2013-04-15 Andreas Schwab <schwab@suse.de>
16139 * nscd/nscd.c (main): Don't fork again after closing files.
16141 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16143 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16145 * benchtests/Rules (bench-deps): Collect dependencies into a
16146 single variable. Add Makefile to dependencies.
16147 ($(objpfx)bench-%.c): Depend on bench-deps.
16149 2013-04-12 Roland McGrath <roland@hack.frob.com>
16150 Xavier Roche <roche+kml2@exalead.com>
16153 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16154 just that it's a file descriptor.
16155 * manual/llio.texi (Synchronizing AIO Operations): Update description
16156 for EBADF error from aio_fsync.
16158 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16160 * Rules (bench): Move target definition...
16161 * benchtests/Makefile: ... here.
16163 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16165 * math/libm-test.inc (cos_test): Fix PI/2 test.
16166 (sincos_test): Likewise.
16167 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16168 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16170 2013-04-11 Andreas Schwab <schwab@suse.de>
16173 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16174 accept exponent character only when digits were seen.
16175 * stdio-common/Makefile (tests): Add bug26.
16176 * stdio-common/bug26.c: New file.
16179 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16182 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16184 * Makeconfig (rtld-prefix): Define built linker prefix.
16185 * Rules (run-bench): Use it.
16186 * math/Makefile (run-regen-ulps): Likewise.
16188 * Rules (bench): Remove eval.
16190 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16191 Roland McGrath <roland@hack.frob.com>
16192 Ondrej Bilka <neleai@seznam.cz>
16195 * time/getdate.c: Include ctype.h and alloca.h.
16196 (__getdate_r): Trim leading and trailing spaces of input.
16197 * time/tst-getdate.c (tests): Add tests with leading and
16200 2013-04-08 Roland McGrath <roland@hack.frob.com>
16203 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16204 when computing value.
16206 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16208 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16209 Use testrun.sh to run libm tests.
16212 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16214 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16217 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16219 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16221 * Makefile.in (regen-ulps): New target.
16222 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16223 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16224 [ifneq (no,$(PERL)] (regen-ulps): New target.
16225 [ifeq (no,$(PERL)] (regen-ulps): New target.
16226 * math/libm-test.inc (ulps_file_name): Define.
16227 (output_dir): New variable.
16228 (options): Add "output-dir" option.
16229 (parse_opt): Handle 'o' case.
16230 (main): If output_dir is non-NULL use it as a prefix
16232 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16234 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16236 [BZ #10060, #10062]
16237 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16238 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16239 fail configure if __sync_val_compare_and_swap is not inlined.
16240 * sysdeps/i386/configure: Regenerate.
16241 * configure.in: Build for i686 when configured for i386.
16242 * configure: Regenerate.
16243 * README: Remove i386 reference.
16245 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16247 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16250 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16252 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16253 (lmsnanval): New variables.
16254 (F): Add conversion tests.
16255 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16256 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16258 * stdio-common/tstdiomisc.c (F): Properly collect individual
16261 [BZ #14686, #15336]
16262 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16263 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16264 Instead, use input NaN values or generate a qNaN by arithmetic
16265 operation. Also fix bugs to comply with the standard.
16266 * math/libm-test.inc (remainder_test): Add more tests.
16268 [BZ #15335, #15342]
16269 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16271 input NaN values or generate a qNaN by arithmetic operation.
16273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16276 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16279 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16282 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16283 underflowed result.
16284 * math/s_cexpf.c (__cexpf): Likewise.
16285 * math/s_cexpl.c (__cexpl): Likewise.
16286 * math/libm-test.inc (cexp_test): Add more tests.
16288 2013-04-03 Andreas Schwab <schwab@suse.de>
16291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16292 order arrays from heap if bigger than alloca cutoff.
16294 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16296 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16297 (SNAN_TESTS_double): Refer to GCC PR56831.
16298 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16301 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16303 * Rules (bench): Move bench.out after the run is complete.
16305 * Rules (bench): Echo currently running benchmark.
16307 * benchtests/Makefile (bench): Add atan and slowatan.
16308 * benchtests/atan-inputs: New file.
16309 * benchtests/slowatan-inputs: New file.
16310 * benchtests/slowatan.c: New file.
16312 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16317 * sysdeps/unix/sysv/linux/kernel-features.h
16318 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16319 __ASSUME_XFS_RESTRICTED_CHOWN.
16320 * sysdeps/unix/sysv/linux/pathconf.c
16321 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16322 Save and restore errno.
16324 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16327 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16328 arguments using __kernel_casinh.
16329 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16330 arguments using __kernel_casinhf.
16331 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16332 arguments using __kernel_casinhl.
16333 * math/libm-test.inc (cacosh_test): Add more tests.
16334 * sysdeps/i386/fpu/libm-test-ulps: Update.
16335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16337 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16339 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16342 * bench/Makefile (bench): Add sin and slowsin.
16343 * benchtests/sin-inputs: New file.
16344 * benchtests/slowsin-inputs: New file.
16345 * benchtests/slowsin.c: New file.
16347 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16348 (bench): Add slowexp and slowpow.
16349 (exp-ITER): Increase iterations.
16350 (pow-ITER): Likewise.
16351 * benchtests/exp-inputs: Change input.
16352 * benchtests/pow-inputs: Likewise.
16353 * benchtests/slowexp-inputs: New file.
16354 * benchtests/slowexp.c: New file.
16355 * benchtests/slowpow-inputs: New file.
16356 * benchtests/slowpow.c: New file.
16358 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16360 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16362 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16363 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16364 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16365 * benchtests/Makefile: Add rint benchtest.
16366 * benchtests/rint-inputs: Input for rint benchtest.
16368 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16370 * Versions.def (libm): Add GLIBC_2.18.
16371 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16372 hidden libm prototypes.
16373 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16374 * math/Makefile (libm-calls): Add s_issignaling.
16375 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16376 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16377 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16379 * math/math.h [__USE_GNU] (issignaling): New macro.
16380 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16381 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16382 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16386 * manual/arith.texi (issignaling): New section.
16387 * manual/libm-err-tab.pl (@all_functions): Update comment.
16388 * math/gen-libm-test.pl (parse_args): Apply special handling for
16390 * math/libm-test.inc (print_float, issignaling_test): New
16392 (check_float_internal): Add issignaling checks.
16393 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16394 default definition.
16395 * sysdeps/powerpc/math-tests.h: New file.
16396 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16398 * math/test-snan.c (TEST_FUNC): Likewise.
16400 2013-03-30 David S. Miller <davem@davemloft.net>
16402 * po/de.po: Update from translation team.
16404 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16407 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16408 imaginary part less than 1.0 and real part less than 0.5
16410 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16411 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16412 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16413 (cacos_test): Add more tests.
16414 (casin_test): Likewise.
16415 (casinh_test): Likewise.
16416 * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16419 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16421 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16422 ONE with its value.
16424 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16425 (__pow_mp): Replace ONE and MONE with their values.
16426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16427 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16428 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16429 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16430 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16431 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16433 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16435 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16436 (__pow_mp): Replace ZERO and MZERO with their values.
16437 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16440 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16441 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16442 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16445 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16447 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16449 2013-03-28 Roland McGrath <roland@hack.frob.com>
16451 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16452 Declare with __attribute__ ((weak)).
16453 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16454 Call __call_tls_dtors only if it's not NULL.
16456 2013-03-28 Roland McGrath <roland@hack.frob.com>
16458 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16459 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16460 magic __ehdr_start linker symbol if it's defined.
16461 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16462 them up here if it was already done.
16464 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16465 (_dl_aux_init): Use const in cast when setting it.
16466 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16467 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16468 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16470 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16472 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16473 * csu/libc-tls.c: Nor here.
16474 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16476 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16477 (__libc_message): Never call vsyslog.
16479 2013-03-28 Alan Modra <amodra@gmail.com>
16481 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16483 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16486 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16489 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16496 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16497 Don't add gid passed as argument.
16499 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16501 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16504 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16505 imaginary part between 1.0 and 1.5 and real part less than 0.5
16507 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16508 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16509 * math/libm-test.inc (cacos_test): Add more tests.
16510 (casin_test): Likewise.
16511 (casinh_test): Likewise.
16512 * sysdeps/i386/fpu/libm-test-ulps: Update.
16513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16515 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16517 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16520 (denorm): Likewise.
16521 (__dbl_mp): Likewise.
16522 (add_magnitudes): Likewise.
16523 (sub_magnitudes): Likewise.
16531 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16533 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16534 (__dubcos): Likewise.
16535 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16536 (__ieee754_acos): Likewise.
16537 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16538 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16539 (__exp1): Likewise.
16540 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16543 (my_log2): Likewise.
16544 (checkint): Likewise.
16545 * sysdeps/ieee754/dbl-64/e_remainder.c
16546 (__ieee754_remainder): Likewise.
16547 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16549 (bsloww): Likewise.
16550 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16552 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16553 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16554 MANTISSA_STORE_T to store computations on mantissa. Use
16555 macros for rounding and division.
16556 (denorm): Likewise.
16557 (__dbl_mp): Likewise.
16558 (add_magnitudes): Likewise.
16559 (sub_magnitudes): Likewise.
16562 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16563 powers of two in terms of TWOPOW macro.
16564 (mp_no): Make type of mantissa as MANTISSA_T.
16565 [!RADIXI]: Define RADIXI.
16566 [!TWO52]: Define TWO52.
16567 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16569 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16571 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16572 llroundl symbol when building for PPC32.
16574 2013-03-24 Mark H Weaver <mhw@netris.org>
16576 * manual/arith.texi (Normalization Functions): Fix prototypes for
16577 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16579 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16583 high value to check if expl overflow.
16584 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16585 to check for underflow and overflow.
16586 * math/libm-test.inc: Add exp test.
16588 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16591 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16594 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16596 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16599 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16601 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16602 wrap blocks consisting of several statements.
16604 * sysdeps/generic/math-tests.h: New file.
16605 * sysdeps/i386/fpu/math-tests.h: Likewise.
16606 * math/test-snan.c: Include it.
16607 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16609 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16613 (__ieee754_j0l): Do not improve calculations using cos of twice
16614 input for inputs above LDBL_MAX / 2.0L.
16615 (__ieee754_y0l): Likewise.
16616 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16617 (__ieee754_j1l): Do not improve calculations using cos of twice
16618 input for inputs above LDBL_MAX / 2.0L.
16619 (__ieee754_y1l): Likewise.
16620 * math/libm-test.inc (j0_test): Add another test.
16621 (j1_test): Likewise.
16622 (y0_test): Likewise.
16623 (y1_test): Likewise.
16624 * sysdeps/i386/fpu/libm-test-ulps: Update.
16626 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16628 * Rules ($(objpfx)bench-%.c): Include code from a C source
16631 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16634 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16635 imaginary part 1.0 and real part less than 0.5 specially.
16636 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16637 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16638 * math/libm-test.inc (cacos_test): Add more tests.
16639 (casin_test): Likewise.
16640 (casinh_test): Likewise.
16641 * sysdeps/i386/fpu/libm-test-ulps: Update.
16642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16644 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16646 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16647 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16649 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16651 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16652 * config.make.in (config-cflags-sse4): Remove variable.
16653 (config-cflags-avx): Likewise.
16654 (config-cflags-sse2avx): Likewise.
16655 (config-cflags-novzeroupper): Likewise.
16656 (config-asflags-i686): Likewise.
16657 (have-mfma4): Likewise.
16658 (have-as-vis3): Likewise.
16660 * configure.in (MIG): Do not AC_SUBST.
16661 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16662 (libc_cv_cc_sse4): Do not AC_SUBST.
16663 (libc_cv_cc_avx): Likewise.
16664 (libc_cv_cc_sse2avx): Likewise.
16665 (libc_cv_cc_novzeroupper): Likewise.
16666 (libc_cv_cc_fma4): Likewise.
16667 (libc_cv_as_i686): Likewise.
16668 (libc_cv_sparc_as_vis3): Likewise.
16669 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16671 (config-asflags-i686): Likewise.
16672 (config-cflags-avx): Likewise.
16673 (config-cflags-sse2avx): Likewise.
16674 (have-mfma4): Likewise.
16675 (config-cflags-novzeroupper): Likewise.
16676 * sysdeps/mach/configure.in (MIG): Likewise.
16677 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16678 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16680 (config-cflags-avx): Likewise.
16681 (config-cflags-sse2avx): Likewise.
16682 (have-mfma4): Likewise.
16683 (config-cflags-novzeroupper): Likewise.
16684 * configure: Regenerated.
16685 * sysdeps/i386/configure: Likewise.
16686 * sysdeps/mach/configure: Likewise.
16687 * sysdeps/sparc/configure: Likewise.
16688 * sysdeps/x86_64/configure: Likewise.
16690 2013-03-20 Roland McGrath <roland@hack.frob.com>
16693 * locale/programs/localedef.c (options): Put N_ translation marker
16694 on argument names, not just descriptions.
16696 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16698 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16700 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16703 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16705 2013-03-19 Roland McGrath <roland@hack.frob.com>
16707 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16708 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16709 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16710 [!BEFORE_ABORT] (before_abort): New function.
16711 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16712 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16713 (writev_for_fatal): New function.
16714 (WRITEV_FOR_FATAL): New macro; call that.
16715 (backtrace_and_maps): New function.
16716 (BEFORE_ABORT): New macro; call that.
16717 (struct str_list): Type removed.
16718 (__libc_message, __libc_fatal): Functions removed.
16719 Include <sysdeps/posix/libc_fatal.c> instead.
16721 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16723 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16725 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16728 2013-03-19 Andreas Schwab <schwab@suse.de>
16730 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16731 * sysdeps/gnu/configure: Regenerate.
16733 * configure.in: Substitute libc_cv_rtlddir.
16734 * configure: Regenerate.
16735 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16736 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16737 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16738 * elf/Makefile (install-others, CFLAGS-interp.c)
16739 (ldso_install, common-ldd-rewrite): Likewise.
16740 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16741 $(inst_slibdir)/$(rtld-installed-name).
16742 * scripts/rellns-sh: Add -p option.
16743 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16746 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16748 * manual/nptl.texi: Renamed to ...
16749 * manual/threads.texi: ... this.
16750 * manual/Makefile (chapters): Update.
16752 2013-03-18 Roland McGrath <roland@hack.frob.com>
16755 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16756 on argument names, not just descriptions.
16757 * malloc/memusagestat.c (options): Likewise.
16758 * nss/getent.c (options): Likewise.
16760 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16763 * iconv/iconv_prog.c (options): Put N_ translation marker
16764 on argument names, not just descriptions.
16765 * iconv/iconvconfig.c (options): Likewise.
16767 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16769 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16770 implementation which is faster on all x86_64 architectures.
16771 Tested on AMD, Intel Nehalem, SNB, IVB.
16772 * sysdeps/x86_64/strnlen.S: Likewise.
16774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16775 Remove all multiarch strlen and strnlen versions.
16776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16777 Remove strlen and strnlen related parts.
16779 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16780 Inline strlen part.
16781 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16783 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16784 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16785 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16786 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16787 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16788 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16790 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16792 * manual/memory.texi (Malloc Tunable Parameters):
16793 Sort parameters alphabetically. Add comments for missing entries.
16795 2013-03-17 David S. Miller <davem@davemloft.net>
16797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16799 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16802 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16803 for arguments at most half maximum finite value.
16804 * math/libm-test.inc (j0_test): Add more tests.
16805 (j1_test): Likewise.
16806 (y0_test): Likewise.
16807 (y1_test): Likewise.
16808 * sysdeps/i386/fpu/libm-test-ulps: Update.
16809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16813 1 / x and functions P and Q for arguments above 0x1p256L.
16814 (__ieee754_y0l): Likewise.
16815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16816 (__ieee754_y1l): Likewise.
16817 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16818 (j1_test): Likewise.
16819 (y0_test): Likewise.
16820 (y1_test): Likewise.
16822 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16824 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16827 2013-03-15 Roland McGrath <roland@hack.frob.com>
16829 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16830 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16831 zero since it's initialized to EXEC_PAGESIZE.
16833 * sysdeps/unix/sysv/linux/ldsodefs.h
16834 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16835 * sysdeps/generic/ldsodefs.h: ... here.
16837 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16839 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16841 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16843 * math/test-snan.c: Renamed from
16844 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16845 * math/Makefile (tests): Add test-snan.
16846 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16849 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16850 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16852 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16853 __builtin_nan family of functions.
16854 * math/libm-test.inc (initialize): Initialize qnan_value with
16855 __builtin_nan family of functions.
16856 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16858 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16860 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16861 storage class. Initialize qNaN_var and sNaN_var with
16862 __builtin_nan and __builtin_nans families of functions,
16865 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16866 (sqrt_test): Remove duplicate test with qNaN input.
16867 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16868 (round_test, signbit_test, significand_test): Note missing +/-Inf
16869 as well as qNaN tests.
16871 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16872 qNaN_var. Fix a few strings, too.
16873 * math/libm-test.inc (nan_value): Rename to qnan_value.
16874 * math/gen-libm-test.pl (%beautify): Adjust to that.
16875 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16876 * math/test-misc.c (main): Likewise.
16877 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16878 to __qnan_bytes, and __qnan_union, respectively.
16879 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16881 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16882 and lqnanval, respectively.
16883 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16884 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16885 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16886 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16888 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16889 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16892 * math/test-misc.c (main): Fix copy'n'pastos.
16893 * misc/tst-efgcvt.c (special): Likewise.
16895 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16896 Remove declarations.
16898 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16900 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16901 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16902 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16903 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16905 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16908 macro to return vdso values correctly in IFUNC implementations.
16909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16910 Optimization by using IFUNC.
16912 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16913 Richard Henderson <rth@redhat.com>
16914 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16916 * Makefile.in (bench): New target.
16917 * NEWS: Mention the benchmark framework.
16918 * Rules (bench): Likewise.
16919 (binaries-bench): Generate binaries for functions to
16921 * benchtests/Makefile: New makefile for benchmark tests.
16922 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16924 * benchtests/exp-inputs: New input file for EXP function.
16925 * benchtests/pow-inputs: New input file for POW function.
16926 * scripts/bench.pl: New script to generate source files for
16927 benchmark programs.
16929 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16931 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16932 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16933 computations on mantissa. Use macros for rounding and
16935 (denorm): Likewise.
16936 (__dbl_mp): Likewise.
16937 (add_magnitudes): Likewise.
16938 (sub_magnitudes): Likewise.
16941 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16942 powers of two in terms of TWOPOW macro.
16943 (mp_no): Make type of mantissa as MANTISSA_T.
16944 [!RADIXI]: Define RADIXI.
16945 [!TWO52]: Define TWO52.
16946 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16948 * manual/nptl.texi (cindex): Modify threads to pthreads.
16950 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16952 * sysdeps/x86_64/preconfigure: Regenerated.
16954 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16957 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16959 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16960 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16962 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16963 * math/libm-test.inc (j0_test): Do not allow one spurious
16964 underflow exception.
16965 (y1_test): Likewise.
16967 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16969 * manual/Makefile (chapters): Add nptl.
16970 * manual/debug.texi (Debugging Support): Add link to Threads
16972 * manual/nptl.texi: New file.
16974 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16976 2013-03-14 Petr Baudis <pasky@ucw.cz>
16978 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16979 for non-NULL pointer before the memory validity test. Pointed
16980 out by Holger Brunck <holger.brunck@keymile.com>.
16982 2013-03-13 Andreas Schwab <schwab@suse.de>
16984 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16987 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16989 * timezone/zic.c: Update from tzcode 2013b.
16991 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16993 * manual/install.texi (Configuring and compiling):
16994 Mention i686 and i586.
16995 * INSTALL: Regenerate.
16997 2013-03-12 Roland McGrath <roland@hack.frob.com>
16999 * sysdeps/init_array/elf-init.c: New file.
17001 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17002 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17004 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17005 __gmon_start__ as global, but as static with a .preinit_array pointer.
17006 * sysdeps/init_array/gmon-start.c: New file. Use that.
17007 * sysdeps/init_array/crti.S: New file, empty except for comments.
17008 * sysdeps/init_array/crtn.S: Likewise.
17010 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17012 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17015 Remove Prefer_SSE_for_memop.
17016 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17017 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17018 HAS_PREFER_SSE_FOR_MEMOP.
17019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17022 Remove bzero, memset ifunc support.
17023 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17024 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17025 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17026 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17028 2013-03-11 Andreas Schwab <schwab@suse.de>
17031 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17034 (GLIBC_2.16): Remove pthread_atfork.
17036 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17038 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17039 (ptestcases.h): Likewise.
17041 2013-03-08 Roland McGrath <roland@hack.frob.com>
17043 * Makeconfig ($(common-objpfx)config.status): Depend on
17044 sysdeps/*/preconfigure{,.in} too.
17046 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17048 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17049 (__free_hook): Use void * instead of __malloc_ptr_t.
17050 (__malloc_hook): Likewise.
17051 (__realloc_hook): Likewise.
17052 (__memalign_hook): Likewise.
17053 (__after_morecore_hook): Likewise.
17054 * malloc/arena.c (save_malloc_hook): Likewise.
17055 (save_free_hook): Likewise.
17056 * malloc/hooks.c (malloc_hook_ini): Likewise.
17057 (realloc_hook_ini): Likewise.
17058 (memalign_hook_ini): Likewise.
17059 * malloc/malloc.c (malloc_hook_ini): Likewise.
17060 (realloc_hook_ini): Likewise.
17061 (memalign_hook_ini): Likewise.
17062 (__free_hook): Likewise.
17063 (__malloc_hook): Likewise.
17064 (__realloc_hook): Likewise.
17065 (__memalign_hook): Likewise.
17066 (__libc_malloc): Likewise.
17067 (__libc_free): Likewise.
17068 (__libc_realloc): Likewise.
17069 (__libc_memalign): Likewise.
17070 (__libc_valloc): Likewise.
17071 (__libc_pvalloc): Likewise.
17072 (__libc_calloc): Likewise.
17073 (__posix_memalign): Likewise.
17074 * malloc/morecore.c (__sbrk): Likewise.
17075 (__default_morecore): Likewise.
17077 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17079 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17080 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17081 __malloc_ptrdiff_t.
17083 * malloc/malloc.h (__malloc_size_t): Remove macro.
17084 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17086 (old_memalign_hook): Likewise.
17087 (old_realloc_hook): Likewise.
17088 (struct hdr): Likewise.
17090 (mallochook): Likewise.
17091 (memalignhook): Likewise.
17092 (reallochook): Likewise.
17093 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17094 (tr_old_realloc_hook): Likewise.
17095 (tr_old_memalign_hook): Likewise.
17096 (tr_mallochook): Likewise.
17097 (tr_reallochook): Likewise.
17098 (tr_memalignhook): Likewise.
17100 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17103 default_ldbl_pack and using as default implementation.
17104 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17106 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17107 redundant definition.
17108 (ldbl_insert_mantissa): Likewise.
17109 (ldbl_canonicalize): Likewise.
17110 (ldbl_nearbyint): Likewise.
17111 (ldbl_pack): Rename to ldbl_pack_ppc.
17112 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17113 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17114 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17116 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17119 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17120 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17121 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17123 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17124 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17125 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17127 2013-03-07 Andreas Jaeger <aj@suse.de>
17129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17132 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17134 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17135 Include mpa.h and declare __MPEXP.
17136 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17137 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17138 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17139 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17141 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17142 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17144 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17145 (__slowpow): Use long double EXPL and LOGL functions to
17147 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17148 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17149 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17150 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17151 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17152 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17155 intermediate variable to calculate exponent.
17157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17161 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17162 [!NO__SQR]: Define __sqr.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17164 and NO__SQR. Remove all code except __mul and __sqr. Include
17165 sysdeps/ieee754/dbl-64/mpa.c.
17166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17169 * posix/Makefile (tests): Add tst-pathconf.
17170 * posix/tst-pathconf.c: New test case.
17171 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17173 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17175 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17177 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17179 2013-03-06 Andreas Jaeger <aj@suse.de>
17181 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17182 definition via __MAP_ANONYMOUS.
17184 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17185 it's not part of Linux headers.
17187 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17188 (MAP_HUGE_MASK): Define.
17190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17192 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17195 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17196 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17198 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17201 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17203 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17204 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17205 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17206 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17207 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17214 Handle f2fs and efivarfs.
17216 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17219 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17220 (EFIVARFS_MAGIC): Add.
17221 (F2FS_LINK_MAX): Add.
17223 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17225 * stdio-common/vfprintf.c: Replace __builtin_expect with
17228 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/generic/bp-sym.h: Remove file.
17232 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17233 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17234 <bp-sym.h> and <bp-asm.h>.
17235 (__longjmp): Don't use BP_SYM.
17236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17238 (memcpy): Don't use BP_SYM.
17239 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17240 <bp-sym.h> and <bp-asm.h>.
17241 (memcpy): Don't use BP_SYM.
17242 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17244 (memcpy): Don't use BP_SYM.
17245 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17247 (memset): Don't use BP_SYM.
17248 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17249 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17250 (__bzero): Don't use BP_SYM.
17251 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17253 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17254 <bp-sym.h> and <bp-asm.h>.
17255 (memcmp): Don't use BP_SYM. Remove comment about bounded
17257 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17258 <bp-sym.h> and <bp-asm.h>.
17259 (memcpy): Don't use BP_SYM.
17260 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17261 <bp-sym.h> and <bp-asm.h>.
17262 (memset): Don't use BP_SYM.
17263 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17264 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17265 (__bzero): Don't use BP_SYM.
17266 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17267 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17269 <bp-sym.h> and <bp-asm.h>.
17270 (strncmp): Don't use BP_SYM. Remove comment about bounded
17272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17273 <bp-sym.h> and <bp-asm.h>.
17274 (memcpy): Don't use BP_SYM.
17275 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17276 <bp-sym.h> and <bp-asm.h>.
17277 (memset): Don't use BP_SYM.
17278 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17279 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17280 (__bzero): Don't use BP_SYM.
17281 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17282 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17283 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17284 <bp-sym.h> and <bp-asm.h>.
17285 (__memchr): Don't use BP_SYM.
17286 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17287 <bp-sym.h> and <bp-asm.h>.
17288 (memcmp): Don't use BP_SYM. Remove comment about bounded
17290 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17291 <bp-sym.h> and <bp-asm.h>.
17292 (memcpy): Don't use BP_SYM.
17293 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17294 <bp-sym.h> and <bp-asm.h>.
17295 (__mempcpy): Don't use BP_SYM.
17296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17297 <bp-sym.h> and <bp-asm.h>.
17298 (__memrchr): Don't use BP_SYM.
17299 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17300 <bp-sym.h> and <bp-asm.h>.
17301 (memset): Don't use BP_SYM.
17302 (__bzero): Likewise.
17303 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17304 <bp-sym.h> and <bp-asm.h>.
17305 (__rawmemchr): Don't use BP_SYM.
17306 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17307 <bp-sym.h> and <bp-asm.h>.
17308 (__STRCMP): Don't use BP_SYM.
17309 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17310 <bp-sym.h> and <bp-asm.h>.
17311 (strchr): Don't use BP_SYM.
17312 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17313 <bp-sym.h> and <bp-asm.h>.
17314 (__strchrnul): Don't use BP_SYM.
17315 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17316 <bp-sym.h> and <bp-asm.h>.
17317 (strlen): Don't use BP_SYM.
17318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17319 <bp-sym.h> and <bp-asm.h>.
17320 (strncmp): Don't use BP_SYM. Remove comment about bounded
17322 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17323 <bp-sym.h> and <bp-asm.h>.
17324 (__strnlen): Don't use BP_SYM.
17325 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17326 <bp-sym.h> and <bp-asm.h>.
17327 (__GI__setjmp): Don't use BP_SYM.
17328 (_setjmp): Likewise.
17329 (__sigsetjmp): Likewise.
17330 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17331 (L(start_addresses)): Don't use BP_SYM.
17332 (_start): Likewise.
17333 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17335 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17336 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17337 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17338 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17339 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17341 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17342 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17343 about bounded pointers.
17344 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17345 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17346 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17348 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17349 about bounded pointers. Remove GKM FIXME comments.
17350 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17351 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17353 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17354 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17355 Remove GKM FIXME comments.
17356 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17357 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17358 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17360 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17361 about bounded pointers. Remove GKM FIXME comment.
17362 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17364 (strncmp): Don't use BP_SYM. Remove comment about bounded
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17367 <bp-sym.h> and <bp-asm.h>.
17368 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17370 <bp-sym.h> and <bp-asm.h>.
17371 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17374 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17376 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17379 2013-03-05 David S. Miller <davem@davemloft.net>
17381 * po/es.po: Update from translation team.
17383 2013-03-05 Andreas Jaeger <aj@suse.de>
17385 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17386 <bits/mman-linux.h>.
17387 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17389 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17390 <bits/mman-linux.h> to end of file.
17391 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17393 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17394 <bits/mman-linux.h> to end of file.
17395 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17398 <bits/mman-linux.h> to end of file.
17400 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17401 (MCL_CURRENT, MCL_FUTURE): Define here.
17403 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17408 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17410 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17412 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17413 fourth parameter needed for rt_sigprocmask syscall.
17414 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17415 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17416 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17417 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17418 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17419 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17421 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17424 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17425 comment about bounded pointers.
17426 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17427 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17429 2013-03-04 Andreas Jaeger <aj@suse.de>
17431 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17432 common definitions.
17434 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17435 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17436 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17437 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17438 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17439 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17441 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17445 __ieee754_sqrl instead of __sqrl.
17447 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17449 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17450 * sysdeps/powerpc/fpu_control.h: ... here.
17451 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17452 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17453 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17454 * sysdeps/powerpc/bits/mathinline.h: ... here.
17456 2013-03-01 Roland McGrath <roland@hack.frob.com>
17458 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17459 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17460 to just [NEED_DL_SYSINFO_DSO].
17461 * elf/dl-support.c: Likewise.
17462 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17463 * elf/rtld.c (dl_main): Likewise.
17464 * elf/setup-vdso.h (setup_vdso): Likewise.
17465 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17466 * sysdeps/unix/sysv/linux/dl-sysdep.c
17467 (_dl_discover_osversion): Likewise.
17469 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17471 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17472 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17474 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17476 * NEWS: Mention libm performance improvements and non-x86 PI
17479 * csu/libc-start.c (__pthread_initialize_minimal): Change
17480 function arguments.
17481 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17483 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17486 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17487 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17488 <bp-sym.h> and <bp-asm.h>.
17489 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17490 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17492 (memcpy): Don't use BP_SYM.
17493 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17495 (__mpn_add_n): Don't use BP_SYM.
17496 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17497 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17499 (__mpn_addmul_1): Don't use BP_SYM.
17500 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17501 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17503 (_setjmp): Don't use BP_SYM.
17504 (__novmx_setjmp): Likewise.
17505 (__GI__setjmp): Likewise.
17506 (__vmx_setjmp): Likewise.
17507 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17509 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17510 (__bzero): Don't use BP_SYM.
17511 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17513 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17514 <bp-sym.h> and <bp-asm.h>.
17515 (memcpy): Don't use BP_SYM.
17516 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17517 <bp-sym.h> and <bp-asm.h>.
17518 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17520 <bp-sym.h> and <bp-asm.h>.
17521 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17522 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17524 (__mpn_lshift): Don't use BP_SYM.
17525 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17526 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17528 (memset): Don't use BP_SYM.
17529 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17530 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17531 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17533 (__mpn_mul_1): Don't use BP_SYM.
17534 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17535 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17536 <bp-sym.h> and <bp-asm.h>.
17537 (memcmp): Don't use BP_SYM.
17538 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17539 <bp-sym.h> and <bp-asm.h>.
17540 (memcpy): Don't use BP_SYM.
17541 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17542 <bp-sym.h> and <bp-asm.h>.
17543 (memset): Don't use BP_SYM.
17544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17545 <bp-sym.h> and <bp-asm.h>.
17546 (strncmp): Don't use BP_SYM.
17547 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17548 <bp-sym.h> and <bp-asm.h>.
17549 (memcpy): Don't use BP_SYM.
17550 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17551 <bp-sym.h> and <bp-asm.h>.
17552 (memset): Don't use BP_SYM.
17553 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17554 <bp-sym.h> and <bp-asm.h>.
17555 (__memchr): Don't use BP_SYM.
17556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17557 <bp-sym.h> and <bp-asm.h>.
17558 (memcmp): Don't use BP_SYM.
17559 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17560 <bp-sym.h> and <bp-asm.h>.
17561 (memcpy): Don't use BP_SYM.
17562 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17563 <bp-sym.h> and <bp-asm.h>.
17564 (__mempcpy): Don't use BP_SYM.
17565 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17566 <bp-sym.h> and <bp-asm.h>.
17567 (__memrchr): Don't use BP_SYM.
17568 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17569 <bp-sym.h> and <bp-asm.h>.
17570 (memset): Don't use BP_SYM.
17571 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17572 <bp-sym.h> and <bp-asm.h>.
17573 (__rawmemchr): Don't use BP_SYM.
17574 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17575 <bp-sym.h> and <bp-asm.h>.
17576 (__STRCMP): Don't use BP_SYM.
17577 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17578 <bp-sym.h> and <bp-asm.h>.
17579 (strchr): Don't use BP_SYM.
17580 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17581 <bp-sym.h> and <bp-asm.h>.
17582 (__strchrnul): Don't use BP_SYM.
17583 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17584 <bp-sym.h> and <bp-asm.h>.
17585 (strlen): Don't use BP_SYM.
17586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17587 <bp-sym.h> and <bp-asm.h>.
17588 (strncmp): Don't use BP_SYM.
17589 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17590 <bp-sym.h> and <bp-asm.h>.
17591 (__strnlen): Don't use BP_SYM.
17592 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17594 (__mpn_rshift): Don't use BP_SYM.
17595 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17596 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17597 <bp-sym.h> and <bp-asm.h>.
17598 (__sigsetjmp): Don't use BP_SYM.
17599 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17600 (L(start_addresses)): Don't use BP_SYM.
17601 (_start): Likewise.
17602 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17604 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17605 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17606 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17607 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17609 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17610 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17611 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17612 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17614 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17616 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17619 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17621 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17622 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17623 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17625 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17627 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17629 (strncmp): Don't use BP_SYM,
17630 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17632 (__mpn_sub_n): Don't use BP_SYM.
17633 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17634 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17636 (__mpn_submul_1): Don't use BP_SYM.
17637 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17639 <bp-sym.h> and <bp-asm.h>.
17640 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17642 <bp-sym.h> and <bp-asm.h>.
17643 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17646 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17649 Use ZK to minimize writes to Z.
17650 (sub_magnitudes): Simplify code a bit.
17651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17652 Use ZK to minimize writes to Z.
17653 (sub_magnitudes): Simplify code a bit.
17655 2013-02-27 Roland McGrath <roland@hack.frob.com>
17657 * csu/gmon-start.c: Add special exception to license text.
17659 2013-02-27 Richard Henderson <rth@redhat.com>
17661 * scripts/config.guess: Update from config.git.
17662 * scripts/config.sub: Likewise.
17664 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17668 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17670 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17672 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17674 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17676 2013-02-26 Roland McGrath <roland@hack.frob.com>
17678 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17679 [$(build-shared = yes].
17681 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17683 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17684 (__mul): Reduce iterations for calculating mantissa.
17686 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17688 (__mpranred): Likewise.
17691 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17692 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17694 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17696 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17697 Define __attribute__.
17699 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17701 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17703 * posix/regex_internal.h (__attribute): Remove.
17704 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17705 (re_string_context_at): Likewise.
17706 (bitset_not): Use __attribute__ and mark function as possibly
17708 (bitset_merge): Likewise.
17709 (bitset_mask): Likewise.
17710 (re_string_char_size_at): Likewise.
17711 (re_string_wchar_at): Likewise.
17712 (re_string_elem_size_at): Likewise.
17714 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17716 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17720 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17724 (denorm): Likewise.
17725 (__dbl_mp): Likewise.
17726 (add_magnitudes): Likewise.
17727 (sub_magnitudes): Likewise.
17731 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17734 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17737 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17741 up changes with default code.
17742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17745 2013-02-24 Allan McRae <allan@archlinux.org>
17747 * manual/socket.texi (The Internet Namespace): Order menu items
17748 to match that in the file.
17750 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17751 node listing of the info page menu.
17753 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17756 * sysdeps/i386/bp-asm.h: Remove file.
17757 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17758 (PARMS): Do not use macros from bp-asm.h.
17762 (__mpn_add_n): Do not use BP_SYM
17763 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17765 (PARMS): Do not use macros from bp-asm.h.
17768 (__mpn_addmul_1): Do not use BP_SYM
17769 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17771 (PARMS): Do not use macros from bp-asm.h.
17772 (SIGMSK): Likewise.
17773 (_setjmp): Likewise. Do not use BP_SYM.
17774 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17776 (PARMS): Do not use macros from bp-asm.h.
17777 (SIGMSK): Likewise.
17778 (setjmp): Likewise. Do not use BP_SYM.
17779 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17781 (PARMS): Do not use macros from bp-asm.h.
17782 (__frexp): Do not use BP_SYM.
17784 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17786 (PARMS): Do not use macros from bp-asm.h.
17787 (__frexpf): Do not use BP_SYM.
17788 (frexpf): Likewise.
17789 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17791 (PARMS): Do not use macros from bp-asm.h.
17792 (__frexpl): Do not use BP_SYM.
17793 (frexpl): Likewise.
17794 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17796 (PARMS): Do not use macros from bp-asm.h.
17797 (__remquo): Do not use BP_SYM.
17798 (remquo): Likewise.
17799 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17801 (PARMS): Do not use macros from bp-asm.h.
17802 (__remquof): Do not use BP_SYM.
17803 (remquof): Likewise.
17804 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17806 (PARMS): Do not use macros from bp-asm.h.
17807 (__remquol): Do not use BP_SYM.
17808 (remquol): Likewise.
17809 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17811 (PARMS): Do not use macros from bp-asm.h.
17814 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17815 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17817 (PARMS): Do not use macros from bp-asm.h.
17818 (strlen): Do not use BP_SYM.
17819 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17821 (PARMS): Do not use macros from bp-asm.h.
17825 (__mpn_add_n): Do not use BP_SYM.
17826 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17828 (PARMS): Do not use macros from bp-asm.h.
17831 (__mpn_addmul_1): Do not use BP_SYM.
17832 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17835 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17837 (PARMS): Do not use macros from bp-asm.h.
17840 (__mpn_lshift): Do not use BP_SYM.
17841 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17843 (PARMS): Do not use macros from bp-asm.h.
17847 (memcpy): Likewise. Do not use BP_SYM.
17848 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17849 libc_hidden_def and weak_alias.
17850 (mempcpy): Do not use BP_SYM in weak_alias.
17851 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17853 (PARMS): Do not use macros from bp-asm.h.
17856 [!BZERO_P] (CHR): Likewise.
17857 (memset): Likewise. Do not use BP_SYM.
17858 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17860 (PARMS): Do not use macros from bp-asm.h.
17863 (__mpn_mul_1): Do not use BP_SYM.
17864 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17866 (PARMS): Do not use macros from bp-asm.h.
17869 (__mpn_rshift): Do not use BP_SYM.
17870 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17872 (PARMS): Do not use macros from bp-asm.h.
17875 (strchr): Likewise. Do not use BP_SYM.
17876 (index): Do not use BP_SYM in weak_alias.
17877 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17879 (PARMS): Do not use macros from bp-asm.h.
17882 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17883 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17885 (PARMS): Do not use macros from bp-asm.h.
17886 (strlen): Do not use BP_SYM.
17887 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17889 (PARMS): Do not use macros from bp-asm.h.
17893 (__mpn_sub_n): Do not use BP_SYM.
17894 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17896 (PARMS): Do not use macros from bp-asm.h.
17899 (__mpn_submul_1): Do not use BP_SYM.
17900 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17902 (PARMS): Do not use macros from bp-asm.h.
17906 (__mpn_add_n): Do not use BP_SYM.
17907 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17910 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17912 (PARMS): Do not use macros from bp-asm.h.
17915 (memcmp): Do not use BP_SYM.
17916 (bcmp): Do not use BP_SYM in weak_alias.
17917 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17919 (PARMS): Do not use macros from bp-asm.h.
17923 (memcpy): Likewise. Do not use BP_SYM.
17924 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17926 (PARMS): Do not use macros from bp-asm.h.
17930 (memmove): Likewise. Do not use BP_SYM.
17931 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17933 (PARMS): Do not use macros from bp-asm.h.
17937 (__mempcpy): Likewise. Do not use BP_SYM.
17938 (mempcpy): Do not use BP_SYM in weak_alias.
17939 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17941 (PARMS): Do not use macros from bp-asm.h.
17944 [!BZERO_P] (CHR): Likewise.
17945 (memset): Likewise. Do not use BP_SYM.
17946 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17948 (PARMS): Do not use macros from bp-asm.h.
17950 (strcmp): Do not use BP_SYM.
17951 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17953 (PARMS): Do not use macros from bp-asm.h.
17956 [USE_AS_STRTOK_R] (SAVE): Likewise.
17957 (FUNCTION): Likewise. Do not use BP_SYM.
17958 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17960 (strtok_r): Likewise.
17961 (__GI___strtok_r): Likewise.
17962 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17963 (PARMS): Do not use macros from bp-asm.h.
17966 (__mpn_lshift): Do not use BP_SYM.
17967 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17968 (PARMS): Do not use macros from bp-asm.h.
17971 (__memchr): Do not use BP_SYM.
17972 (memchr): Do not use BP_SYM in weak_alias.
17973 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17974 (PARMS): Do not use macros from bp-asm.h.
17977 (memcmp): Do not use BP_SYM.
17978 (bcmp): Do not use BP_SYM in weak_alias.
17979 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17980 (PARMS): Do not use macros from bp-asm.h.
17983 (__mpn_mul_1): Do not use BP_SYM.
17984 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17986 (PARMS): Do not use macros from bp-asm.h.
17989 (__rawmemchr): Do not use BP_SYM.
17990 (rawmemchr): Do not use BP_SYM in weak_alias.
17991 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17992 (PARMS): Do not use macros from bp-asm.h.
17995 (__mpn_rshift): Do not use BP_SYM.
17996 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17997 (PARMS): Do not use macros from bp-asm.h.
17998 (SIGMSK): Likewise.
17999 (__sigsetjmp): Likewise. Do not use BP_SYM.
18000 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18001 (_start): Do not use BP_SYM.
18002 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18003 (PARMS): Do not use macros from bp-asm.h.
18006 (__stpcpy): Likewise. Do not use BP_SYM.
18007 (stpcpy): Do not use BP_SYM in weak_alias.
18008 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18010 (PARMS): Do not use macros from bp-asm.h.
18014 (__stpncpy): Likewise. Do not use BP_SYM.
18015 (stpncpy): Do not use BP_SYM in weak_alias.
18016 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18017 (PARMS): Do not use macros from bp-asm.h.
18020 (strchr): Likewise. Do not use BP_SYM.
18021 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18023 (PARMS): Do not use macros from bp-asm.h.
18026 (__strchrnul): Likewise. Do not use BP_SYM.
18027 (strchrnul): Do not use BP_SYM in weak_alias.
18028 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18030 (PARMS): Do not use macros from bp-asm.h.
18032 (strcspn): Do not use BP_SYM.
18033 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18035 (PARMS): Do not use macros from bp-asm.h.
18038 (strpbrk): Likewise. Do not use BP_SYM.
18039 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18041 (PARMS): Do not use macros from bp-asm.h.
18044 (strrchr): Likewise. Do not use BP_SYM.
18045 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18046 (PARMS): Do not use macros from bp-asm.h.
18048 (strspn): Do not use BP_SYM.
18049 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18050 (PARMS): Do not use macros from bp-asm.h.
18054 (FUNCTION): Likewise. Do not use BP_SYM.
18055 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18057 (strtok_r): Likewise.
18058 (__GI___strtok_r): Likewise.
18059 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18060 (PARMS): Do not use macros from bp-asm.h.
18064 (__mpn_sub_n): Do not use BP_SYM.
18065 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18067 (PARMS): Do not use macros from bp-asm.h.
18070 (__mpn_submul_1): Do not use BP_SYM.
18071 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18073 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18075 (PARMS): Do not use macros from bp-asm.h.
18080 (__clone): Do not use BP_SYM.
18081 (clone): Do not use BP_SYM in weak_alias.
18082 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18084 (PARMS): Do not use macros from bp-asm.h.
18086 (__mmap64): Do not use BP_SYM.
18087 (mmap64): Do not use BP_SYM in weak_alias.
18088 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18089 <bp-sym.h> and <bp-asm.h>.
18090 (PARMS): Do not use macros from bp-asm.h.
18091 (__posix_fadvise64_l64): Do not use BP_SYM.
18092 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18093 (PARMS): Do not use macros from bp-asm.h.
18095 (semtimedop): Do not use BP_SYM.
18096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18099 2013-02-21 Allan McRae <allan@archlinux.org>
18101 * manual/message.texi (Charset conversion in gettext):
18102 Move @end statement to beginning of line.
18104 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18111 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18112 (denorm): Likewise.
18113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18116 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18118 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18119 tail-call to the resolved function if pltexit isn't needed.
18121 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18124 or Y being zero as being unlikely.
18125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18128 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18130 * manual/nss.texi (System Databases and Name Service Switch):
18131 Remove frobnicate @pxref.
18133 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18135 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18136 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18138 2013-02-20 Petr Machata <pmachata@redhat.com>
18140 * elf/elf.h (R_ARM_TARGET1): New macro.
18141 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18142 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18143 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18144 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18145 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18146 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18147 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18148 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18149 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18150 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18151 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18152 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18153 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18154 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18155 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18156 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18157 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18158 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18159 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18160 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18161 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18162 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18163 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18164 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18165 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18166 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18167 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18168 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18169 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18170 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18171 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18172 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18173 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18174 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18175 (R_ARM_THM_GOT_BREL12): Likewise.
18176 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18177 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18178 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18179 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18180 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18181 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18182 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18183 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18184 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18186 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18188 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18189 __attribute_used__ to __attribute__ ((unused)).
18191 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18193 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18196 comment formatting.
18197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18199 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18202 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18204 (ENTER): Remove both macro definitions.
18206 (CHECK_BOUNDS_LOW): Likewise.
18207 (CHECK_BOUNDS_HIGH): Likewise.
18208 (CHECK_BOUNDS_BOTH): Likewise.
18209 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18210 (RETURN_BOUNDED_POINTER): Likewise.
18211 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18212 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18213 (POP_ERRNO_LOCATION_RETURN): Likewise.
18214 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18215 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18216 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18218 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18219 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18220 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18221 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18222 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18223 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18224 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18225 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18226 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18227 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18228 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18229 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18230 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18231 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18233 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18234 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18236 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18237 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18238 * sysdeps/i386/i586/memset.S (memset): Likewise.
18239 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18240 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18241 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18243 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18244 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18245 Change uses of L(2) to L(out).
18246 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18247 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18248 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18249 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18250 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18252 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18253 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18255 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18256 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18257 (RETURN): Do not use macro LEAVE.
18258 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18259 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18260 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18261 * sysdeps/i386/i686/memset.S (memset): Likewise.
18262 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18263 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18264 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18265 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18267 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18268 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18269 L(1_2) and L(1_3) into L(1).
18270 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18271 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18272 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18273 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18274 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18275 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18276 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18278 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18280 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18281 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18282 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18283 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18284 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18285 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18286 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18287 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18288 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18289 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18290 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18291 * sysdeps/i386/strspn.S (strspn): Likewise.
18292 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18294 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18295 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18296 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18297 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18298 L(1_3) into L(1_1).
18299 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18300 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18301 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18303 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18305 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18307 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18310 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18312 * math/atest-exp.c (exp_mpn): Remove ROUND.
18313 * math/atest-exp2.c (exp_mpn): Likewise.
18314 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18316 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18317 * stdlib/tst-tls-atexit-lib.c: Likewise.
18318 * stdlib/tst-tls-atexit.c: Likewise.
18320 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18322 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18323 and __attribute_alloc_size__.
18325 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18327 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18328 __attribute_alloc_size__.
18329 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18330 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18332 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18334 * include/programs/xmalloc.h: New file.
18335 * catgets/gencat.c: Include it.
18336 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18337 * elf/pldd.c: Likewise.
18338 * iconv/iconv_charmap.c: Likewise.
18339 * iconv/iconvconfig.c: Likewise.
18340 * iconv/strtab.c: Likewise.
18341 * locale/programs/locale.c: Likewise.
18342 * locale/programs/localedef.h: Likewise.
18343 * locale/programs/simple-hash.c: Likewise.
18344 * nscd/nscd.h: Likewise.
18345 * nss/makedb.c: Likewise.
18346 * sysdeps/generic/ldconfig.h: Likewise.
18348 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18350 * Versions.def: Add GLIBC_2.18.
18351 * include/link.h (struct link_map): New member l_tls_dtor_count.
18352 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18353 (__call_tls_dtors): Likewise.
18354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18355 __cxa_thread_atexit_impl.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18372 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18373 (tests): Add test case tst-tls-atexit.
18374 (modules-names): Add shared library for tst-tls-atexit.
18375 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18376 (GLIBC_PRIVATE): Add __call_tls_dtors.
18377 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18379 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18380 * stdlib/tst-tls-atexit.c: New test case.
18381 * stdlib/tst-tls-atexit-lib.c: New test case.
18383 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18385 * elf/Versions (ld): Add _dl_find_dso_for_object.
18386 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18387 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18388 (dl_open_worker): Use _dl_find_dso_for_object.
18389 * elf/dl-sym.c (do_sym): Likewise.
18390 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18392 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18394 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18395 Syntactic changes only.
18396 (_dl_runtime_profile): Do a tail-call to the resolved function.
18398 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18401 * sysdeps/x86_64/bp-asm.h: Remove file.
18402 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18403 <bp-sym.h> and <bp-asm.h>.
18404 (__clone): Do not use BP_SYM.
18405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18406 <bp-sym.h> and <bp-asm.h>.
18407 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18408 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18410 (_setjmp): Do not use BP_SYM.
18411 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18413 (setjmp): Do not use BP_SYM.
18414 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18416 (mempcpy): Do not use BP_SYM in weak_alias.
18417 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18419 (strchr): Do not use BP_SYM.
18420 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18422 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18423 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18424 (_start): Do not use BP_SYM.
18425 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18427 (strcat): Do not use BP_SYM.
18428 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18430 (STRCMP): Do not use BP_SYM.
18431 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18433 (STRCPY): Do not use BP_SYM.
18434 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18436 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18438 (FUNCTION): Do not use BP_SYM.
18439 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18441 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18443 2013-02-17 Andreas Jaeger <aj@suse.de>
18445 * time/Versions: Sort entries.
18446 * string/Versions: Likewise.
18447 * resolv/Versions: Likewise.
18448 * posix/Versions: Likewise.
18449 * iconv/Versions: Likewise.
18450 * elf/Versions: Likewise.
18451 * wcsmbs/Versions: Likewise.
18453 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18455 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18456 loop termination condition.
18458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18459 variable to calculate EZ.
18462 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18463 the lower precision input.
18465 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18468 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18469 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18470 (run-via-rtld-prefix): Do not handle %-bp tests.
18471 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18472 (all-object-suffixes): Remove .ob.
18473 (bppfx): Remove variable.
18474 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18475 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18476 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18477 [$(build-bounded) = yes] (libtype.ob): Likewise.
18478 * Makerules (elide-routines.ob): Remove variable.
18479 (do-tests-clean): Do not handle *-bp.out.
18480 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18481 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18482 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18483 (tests): Do not include $(tests-bp.out).
18484 (xtests): Do not include $(xtests-bp.out).
18485 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18486 [$(build-bounded) = yes] ($(addprefix
18487 $(objpfx),$(binaries-bounded))): Remove rule.
18488 ($(objpfx)%-bp.out): Remove rule.
18489 * config.make.in (build-bounded): Remove variable.
18490 * crypt/Makefile [$(build-bounded) = yes]
18491 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18492 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18493 append to variable.
18494 [$(build-bounded) = yes] (install-lib): Likewise.
18495 [$(build-bounded) = yes] (generated): Likewise.
18496 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18498 * intl/Makefile [$(build-bounded) = yes]
18499 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18500 * math/Makefile [$(build-bounded) = yes]
18501 ($(tests:%=$(objpfx)%-bp): Likewise.
18502 * misc/Makefile [$(build-bounded) = yes]
18503 ($(objpfx)tst-tsearch-bp): Likewise.
18504 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18505 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18507 * string/Makefile (o-objects.ob): Remove variable.
18508 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18509 (CFLAGS-.ob): Remove variable.
18510 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18511 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18512 both definitions of variable.
18513 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18514 (ASFLAGS-.ob): Remove variable.
18516 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18519 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18520 Remove __BOUNDED_POINTERS__ from condition.
18521 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18522 * string/bits/string2.h [!__NO_STRING_INLINES &&
18523 !__BOUNDED_POINTERS__]: Likewise.
18524 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18526 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18527 Remove conditional code.
18528 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18529 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18530 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18534 * csu/libc-start.c: Do not include <bp-sym.h>.
18535 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18536 * elf/dl-open.c: Do not include <bp-sym.h>.
18537 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18538 * math/fegetenv.c: Do not include <bp-sym.h>.
18539 (fegetenv): Do not use BP_SYM in versioned symbols.
18540 * nptl/sysdeps/pthread/bits/libc-lockP.h
18541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18544 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18546 (__pthread_mutex_destroy): Likewise.
18547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18548 (__pthread_mutex_lock): Likewise.
18549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18550 (__pthread_mutex_trylock): Likewise.
18551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18552 (__pthread_mutex_unlock): Likewise.
18553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18554 (__pthread_mutexattr_init): Likewise.
18555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18556 (__pthread_mutexattr_destroy): Likewise.
18557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18558 (__pthread_mutexattr_settype): Likewise.
18559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18560 (__pthread_rwlock_init): Likewise.
18561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18562 (__pthread_rwlock_destroy): Likewise.
18563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18564 (__pthread_rwlock_rdlock): Likewise.
18565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18566 (__pthread_rwlock_tryrdlock): Likewise.
18567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18568 (__pthread_rwlock_wrlock): Likewise.
18569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18570 (__pthread_rwlock_trywrlock): Likewise.
18571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18572 (__pthread_rwlock_unlock): Likewise.
18573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18574 (__pthread_key_create): Likewise.
18575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18576 (__pthread_setspecific): Likewise.
18577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18578 (__pthread_getspecific): Likewise.
18579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18582 (_pthread_cleanup_push_defer): Likewise.
18583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18584 (_pthread_cleanup_pop_restore): Likewise.
18585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18586 (pthread_setcancelstate): Likewise.
18587 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18589 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18590 (memchr): Do not use BP_SYM in weak_alias.
18591 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18592 (fegetenv): Do not use BP_SYM in versioned symbols.
18593 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18594 (fesetenv): Do not use BP_SYM in versioned symbols.
18595 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18596 (feupdateenv): Do not use BP_SYM in versioned symbols.
18597 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18598 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18599 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18600 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18601 (open64): Do not use BP_SYM in weak_alias.
18602 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18603 (fegetenv): Do not use BP_SYM in versioned symbols.
18604 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18605 (fesetenv): Do not use BP_SYM in versioned symbols.
18606 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18607 (feupdateenv): Do not use BP_SYM in versioned symbols.
18608 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18609 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18610 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18611 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18612 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18613 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18614 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18616 (__libc_start_main): Do not use BP_SYM.
18618 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18621 redundant return line.
18623 (denorm): Likewise.
18624 (dbl_mp): Likewise.
18625 (sub_magnitudes): Likewise.
18631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18633 (denorm): Likewise.
18634 (dbl_mp): Likewise.
18635 (sub_magnitudes): Likewise.
18642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18645 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18649 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18651 of __mul for squares.
18652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18656 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18657 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18659 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18662 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18664 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18665 prototype or function definition. Rename ubp_* variables and
18666 parameters. Remove argv definitions conditional on
18667 [__BOUNDED_POINTERS__].
18668 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18669 * elf/dl-runtime.c (_dl_fixup): Likewise.
18670 * include/set-hooks.h (RUN_HOOK): Likewise.
18671 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18673 * string/strcpy.c (strcpy): Do not use __unbounded.
18674 * sysdeps/generic/frame.h (struct layout): Likewise.
18675 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18676 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18677 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18678 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18679 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18680 (__backtrace): Likewise.
18681 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18683 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18684 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18685 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18687 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18688 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18689 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18690 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18691 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18692 Do not use __unbounded.
18693 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18694 Rename __unboundedrlimits parameter to rlimits in prototype.
18695 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18696 Do not use __unbounded.
18697 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18698 not use __ptrvalue.
18699 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18700 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18701 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18702 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18703 __ptrvalue or __unbounded.
18704 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18705 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18707 (__new_msgctl): Do not use __ptrvalue.
18708 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18710 (__libc_msgrcv): Do not use __ptrvalue.
18711 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18712 startup_info): Do not use __unbounded.
18713 (__libc_start_main): Likewise. Rename ubp_* variables and
18714 parameters. Remove argv definitions conditional on
18715 [__BOUNDED_POINTERS__].
18716 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18718 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18722 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18724 (__new_shmctl): Do not use __ptrvalue.
18725 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18726 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18728 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18730 (__libc_sigaction): Likewise.
18731 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18732 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18734 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18736 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18738 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18740 * string/mempcpy.c: Implement by calling memcpy.
18742 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18749 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18750 values in the mantissa.
18752 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18753 minimize writes to Z.
18754 (sub_magnitudes): Simplify code a bit.
18756 2013-02-12 Roland McGrath <roland@hack.frob.com>
18758 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18759 from the message. The linker prefixes all warnings with that already.
18761 2013-02-12 Andreas Schwab <schwab@suse.de>
18764 * posix/regexec.c (extend_buffers): Add parameter min_len.
18765 (check_matching): Pass minimum needed length.
18766 (clean_state_log_if_needed): Likewise.
18767 (get_subexp): Likewise.
18768 * posix/Makefile (tests): Add bug-regex34.
18769 (bug-regex34-ENV): Define.
18770 * posix/bug-regex34.c: New file.
18773 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18774 elements compare against the byte sequence of it, not its name.
18775 * posix/Makefile (tests): Add bug-regex35.
18776 (bug-regex35-ENV): Define.
18777 * posix/bug-regex35.c: New file.
18779 2013-02-11 Tom de Vries <tom@codesourcery.com>
18781 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18783 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18784 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18785 (CHECK_EOL): Add undef.
18787 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18789 * bits/stdlib-bsearch.h: New file.
18790 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18791 * stdlib/stdlib.h: Likewise.
18793 2013-02-11 Roland McGrath <roland@hack.frob.com>
18795 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18796 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18798 * manual/search.texi (Array Search Function): Add missing const in
18800 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18801 declaration to use rlim_t.
18802 (Basic Scheduling Functions): Remove erroneous const from
18803 sched_getparam prototype. Remove erroneous * from
18804 sched_get_priority_max and sched_get_priority_min prototypes.
18805 (Resource Usage): Fix summary @comment on vtimes to refer to
18806 sys/vtimes.h rather than vtimes.h.
18807 Add missing *s in vtimes prototype.
18808 (Limits on Resources): Fix ulimit prototype to return long int.
18809 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18810 prototypes to use long int rather than double.
18811 (BSD Random): Fix initstate and setstate to use char *, not void *.
18812 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18813 prototype to make second argument 'struct aiocb64 *const[]'.
18814 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18815 (Status of AIO Operations): Remove erroneous const in aio_return and
18816 aio_return64 prototypes.
18817 (Synchronizing I/O): Fix sync prototype to return void.
18818 * manual/startup.texi (Suboptions): Remove an erroneous const in
18819 getsubopt prototype.
18820 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18821 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18822 use size_t rather than int.
18823 (Scanning All Users): Likewise for getpwent_r.
18824 (Setting Groups): Add missing const to setgroups prototype.
18825 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18826 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18827 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18828 'const void *' rather than 'const char *'.
18829 (Host Address Functions): Likewise for inet_ntop.
18830 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18831 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18832 ssize_t for return value.
18833 (Sending Data): Likewise for send, sendto, sendmsg.
18834 (Socket Option Functions): Add a missing const in setsockopt prototype.
18835 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18836 use wchar_t for the argument.
18837 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18838 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18840 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18841 double/float/long double for second argument.
18842 Fix return types of significand, significandf, significandl.
18843 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18844 argument in fchmod prototype.
18845 (File Owner): Use uid_t and gid_t in fchown prototype.
18846 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18847 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18848 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18849 use 'const struct dirent **' as argument types to CMP function pointer
18851 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18852 (File Times): Fix summary magic @comment for struct utimbuf and utime
18853 to refer to utime.h, not time.h.
18854 * manual/string.texi (Argz Functions): Add missing const in
18855 argz_extract and argz_next prototypes.
18856 (Finding Tokens in a String): Likewise for basename.
18857 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18858 (Copying and Concatenation): Fix typo in wmemmove prototype.
18859 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18860 (Signal Stack): Remove erroneous const in sigstack prototype.
18861 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18863 (Simple Calendar Time): Likewise for stime.
18864 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18866 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18867 say sys/sysctl.h instead.
18868 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18869 and vsyslog prototypes.
18871 2013-02-11 Tom de Vries <tom@codesourcery.com>
18873 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18876 2013-02-11 Roland McGrath <roland@hack.frob.com>
18878 * misc/sys/mman.h: Fix typo in mremap comment.
18880 2013-02-08 Roland McGrath <roland@hack.frob.com>
18882 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18883 the '\0' terminator.
18885 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18888 * debug/segfault.c: Don't include <bp-checks.h>.
18889 * sysdeps/generic/bp-checks.h: Remove file.
18890 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18891 (__GETDENTS): Don't use CHECK_N.
18892 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18893 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18894 (__getgroups): Don't use CHECK_N.
18895 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18896 (setgroups): Don't use CHECK_N.
18897 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18898 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18899 (__libc_msgrcv): Don't use CHECK_N.
18900 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18901 (__libc_msgsnd): Don't use CHECK_N.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18904 (__libc_pread): Don't use CHECK_N.
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18906 include <bp-checks.h>.
18907 (__libc_pread64): Don't use CHECK_N.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18909 include <bp-checks.h>.
18910 (__libc_pwrite): Don't use CHECK_N.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18912 include <bp-checks.h>.
18913 (__libc_pwrite64): Don't use CHECK_N.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18916 (__libc_pread): Don't use CHECK_N.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18918 include <bp-checks.h>.
18919 (__libc_pread64): Don't use CHECK_N.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18921 include <bp-checks.h>.
18922 (__libc_pwrite): Don't use CHECK_N.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18924 include <bp-checks.h>.
18925 (__libc_pwrite64): Don't use CHECK_N.
18926 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18927 (do_pread): Don't use CHECK_N.
18928 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18929 (do_pread64): Don't use CHECK_N.
18930 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18931 (do_pwrite): Don't use CHECK_N.
18932 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18933 (do_pwrite64): Don't use CHECK_N.
18934 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18935 (__libc_readv): Don't use CHECK_N.
18936 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18937 (semop): Don't use CHECK_N.
18938 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18940 (semtimedop): Don't use CHECK_N.
18941 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18942 (__libc_pread): Don't use CHECK_N.
18943 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18945 (__libc_pread64): Don't use CHECK_N.
18946 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18948 (__libc_pwrite): Don't use CHECK_N.
18949 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18951 (__libc_pwrite64): Don't use CHECK_N.
18952 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18954 (__libc_msgrcv): Don't use CHECK_N.
18955 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18956 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18957 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18958 (__libc_writev): Don't use CHECK_N.
18960 2013-02-08 Roland McGrath <roland@hack.frob.com>
18962 * string/strcpy.c: Removed unused variable.
18964 * Makeconfig (+sysdep-includes): Define with := rather than =.
18965 Use an existing include/ subdir of each sysdeps dir before it.
18967 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18969 * nscd/connection.c (register_traced_file): Comment function.
18970 [HAVE_INOTIFY] (union __inev): Define.
18971 [HAVE_INOTIFY] (inotify_check_files): New function.
18972 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18973 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18975 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18977 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18979 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18980 loaded if not already and that a failure is permanent.
18982 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18985 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18986 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18988 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18992 (CHECK_1_NULL_OK): Likewise.
18993 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18994 (__fxstat): Do not use CHECK_1.
18995 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18997 (___fxstat64): Do not use CHECK_1.
18998 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19000 (__fxstatat): Do not use CHECK_1.
19001 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19003 (__fxstatat64): Do not use CHECK_1.
19004 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19006 (__fxstat): Do not use CHECK_1.
19007 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19009 (__fxstatat): Do not use CHECK_1.
19010 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19012 (__getresgid): Do not use CHECK_1.
19013 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19015 (__getresuid): Do not use CHECK_1.
19016 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19018 (__lxstat): Do not use CHECK_1.
19019 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19021 (__old_msgctl): Do not use CHECK_1.
19022 (__new_msgctl): Likewise.
19023 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19025 (__new_setrlimit): Do not use CHECK_1.
19026 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19028 (__old_shmctl): Do not use CHECK_1.
19029 (__new_shmctl): Likewise.
19030 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19032 (__xstat): Do not use CHECK_1.
19033 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19034 (__lxstat): Do not use CHECK_1.
19035 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19037 (___lxstat64): Do not use CHECK_1.
19038 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19039 (__old_msgctl): Do not use CHECK_1.
19040 (__new_msgctl): Likewise.
19041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19043 (__gettimeofday): Do not use CHECK_1.
19044 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19045 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19046 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19048 (__gettimeofday): Do not use CHECK_1.
19049 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19050 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19051 (__new_shmctl): Do not use CHECK_1.
19052 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19054 (do_sigtimedwait): Do not use CHECK_1.
19055 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19057 (do_sigwaitinfo): Do not use CHECK_1.
19058 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19060 (msgctl): Do not use CHECK_1.
19061 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19063 (shmctl): Do not use CHECK_1.
19064 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19065 (ustat): Do not use CHECK_1.
19066 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19068 (__fxstat): Do not use CHECK_1.
19069 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19071 (__fxstatat): Do not use CHECK_1.
19072 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19074 (__lxstat): Do not use CHECK_1.
19075 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19077 (__xstat): Do not use CHECK_1.
19078 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19079 (__xstat): Do not use CHECK_1.
19080 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19081 (___xstat64): Do not use CHECK_1.
19084 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19086 (CHECK_BOUNDS_HIGH): Likewise.
19087 * string/strcpy.c: Do not include <bp-checks.h>.
19088 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19090 2013-02-07 Roland McGrath <roland@hack.frob.com>
19092 * nscd/nscd-client.h (__nscd_drop_map_ref):
19093 Add __attribute__ ((unused)).
19094 * nis/nss-nisplus.h (niserr2nss): Likewise.
19096 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19097 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19099 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19100 Remove inline keyword.
19101 * include/rounding-mode.h (round_away): Likewise.
19102 * libio/wfileops.c (adjust_wide_data): Likewise.
19103 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19104 (__m128i_strloadu_tolower): Likewise.
19105 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19106 (__m128i_strloadu_tolower): Likewise.
19107 * time/mktime.c (ydhms_diff): Likewise.
19108 * locale/elem-hash.h (elem_hash): Likewise.
19109 * locale/setlocale.c (setdata): Likewise.
19110 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19111 (re_string_wchar_at): Likewise.
19112 (bitset_not, bitset_merge, bitset_mask): Likewise.
19113 [!(__GNUC__ > 3)] (inline): Remove macro.
19114 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19115 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19116 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19117 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19118 * string/memcmp.c (memcmp_bytes): Likewise.
19119 * locale/programs/locarchive.c (compute_hashval): Likewise.
19120 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19121 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19122 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19123 * nss/getent.c (print_rpc, print_protocols): Likewise.
19124 (print_passwd, print_group, print_aliases): Likewise.
19125 * nis/nss-nisplus.h (niserr2nss): Likewise.
19126 * nscd/connections.c (restart_p): Likewise.
19127 Change return type to bool.
19129 2013-02-05 Roland McGrath <roland@hack.frob.com>
19131 * Makeconfig (all-Depend-files): Add existing
19132 $(sorted-subdirs:=/Depend) files.
19133 (all-subdirs): Remove nss.
19134 * sysdeps/unix/inet/Subdirs: Add it here instead.
19135 * hesiod/Depend: New file.
19137 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19138 instead of calling alloca.
19140 * io/lseek.c (__lseek): Rename to __libc_lseek.
19141 Define __lseek as an alias.
19143 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19145 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19147 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19148 else clause and remove check for non-standard endianness.
19150 2013-02-04 David S. Miller <davem@davemloft.net>
19152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19154 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19157 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19158 (__ubp_memchr): Remove prototype.
19159 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19160 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19161 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19162 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19163 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19165 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19166 (__ubp_memchr): Likewise.
19167 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19168 (__ubp_memchr): Likewise.
19169 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19170 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19171 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19172 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19174 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19175 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19176 (__getcwd): Do not use CHECK_STRING.
19177 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19179 (__real_chown): Do not use CHECK_STRING.
19180 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19182 (fchownat): Do not use CHECK_STRING.
19183 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19185 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19187 (__lchown): Do not use CHECK_STRING.
19188 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19189 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19190 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19191 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19193 include <bp-checks.h>.
19194 (truncate64): Do not use CHECK_STRING.
19195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19197 (__real_chown): Do not use CHECK_STRING.
19198 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19200 (__lchown): Do not use CHECK_STRING.
19201 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19203 (__chown): Do not use CHECK_STRING.
19204 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19206 (truncate64): Do not use CHECK_STRING.
19207 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19209 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19210 (__xmknod): Do not use CHECK_STRING.
19211 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19213 (__xmknodat): Do not use CHECK_STRING.
19214 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19215 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19217 2013-02-04 Andreas Schwab <schwab@suse.de>
19220 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19221 * include/netdb.h: Likewise for h_errno.
19222 * elf/tst-stackguard1.c: Include <tls.h>.
19224 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19226 * elf/link.h (struct link_map): Extend the l_addr comment.
19227 * include/link.h (struct link_map): Likewise.
19229 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19232 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19233 (BOUNDED_1): Remove macro.
19234 * debug/backtrace.c: Don't include <bp-checks.h>.
19235 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19236 (__backtrace): Likewise.
19237 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19239 (__backtrace): Don't use BOUNDED_1.
19240 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19242 (__backtrace): Don't use BOUNDED_1.
19243 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19244 (__backtrace): Don't use BOUNDED_1.
19245 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19246 (shmat): Don't use BOUNDED_N.
19248 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19251 * sysdeps/generic/bp-start.h: Remove file.
19252 * csu/libc-start.c: Don't include <bp-start.h>.
19253 (LIBC_START_MAIN): Set up __environ directly instead of using
19254 INIT_ARGV_and_ENVIRON.
19255 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19259 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19261 (CHECK_FCNTL): Likewise.
19262 (CHECK_N_PAGES): Likewise.
19265 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19267 (CHECK_SIGSET_NULL_OK): Likewise.
19268 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19270 (sigpending): Don't use CHECK_SIGSET.
19271 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19273 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19274 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19276 (do_sigsuspend): Don't use CHECK_SIGSET.
19277 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19279 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19280 (do_sigwait): Don't use CHECK_SIGSET.
19281 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19284 include <bp-checks.h>.
19285 (sigpending): Don't use CHECK_SIGSET.
19286 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19287 include <bp-checks.h>.
19288 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19289 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19291 (sigpending): Don't use CHECK_SIGSET.
19292 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19294 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19297 * sysdeps/generic/bp-semctl.h: Remove file.
19298 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19299 <bp-checks.h> and <bp-semctl.h>.
19300 (__old_semctl): Don't use CHECK_SEMCTL.
19301 (__new_semctl): Likewise.
19302 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19304 (__old_semctl): Don't use CHECK_SEMCTL.
19305 (__new_semctl): Likewise.
19306 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19307 <bp-checks.h> and <bp-semctl.h>.
19308 (__old_semctl): Don't use CHECK_SEMCTL.
19309 (__new_semctl): Likewise.
19310 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19311 <bp-checks.h> and <bp-semctl.h>.
19312 (semctl): Don't use CHECK_SEMCTL.
19315 * Makerules (elide-bp-thunks): Remove variable.
19316 (elide-routines.oS): Don't use $(elide-bp-thunks).
19317 (elide-routines.os): Likewise.
19318 (elide-routines.o): Likewise.
19319 (elide-routines.op): Likewise.
19320 (elide-routines.og): Likewise.
19321 (objects): Don't use $(bp-thunks).
19322 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19324 (common-generated): Do not add s-proto-bp.d.
19325 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19328 Do not generate makefile rules for bounded-pointer thunks.
19329 * sysdeps/generic/bp-thunks.h: Remove file.
19330 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19331 * sysdeps/unix/s-proto-bp.S: Likewise.
19334 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19335 parts of result separately when argument is not close to line from
19336 -i to i and one part of argument is small.
19337 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19338 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19339 * math/libm-test.inc (cacos_test): Add more tests.
19340 (casin_test): Likewise.
19341 (casinh_test): Likewise.
19342 * sysdeps/i386/fpu/libm-test-ulps: Update.
19343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345 2013-01-31 David S. Miller <davem@davemloft.net>
19347 * po/de.po: Update from translation team.
19349 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19351 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19353 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19355 * configure.in (_AC_PROG_CC_C89): New definition.
19356 * configure: Regenerate.
19358 * configure.in (AC_PROG_CPP): New definition.
19359 * configure: Regenerate.
19361 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19363 * debug/tst-backtrace.h: New file.
19364 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19365 (ret): Remove variable.
19367 (FAIL): Remove macro.
19368 (NO_INLINE): Likewise.
19369 (fn1): Use match function instead of strstr.
19370 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19371 (ret): Remove variable.
19373 (FAIL): Remove macro.
19374 (NO_INLINE): Likewise.
19375 (fn): Use match function instead of strstr.
19376 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19377 (ret): Remove variable.
19379 (FAIL): Remove macro.
19380 (NO_INLINE): Likewise.
19381 (handle_signal): Use match function instead of strstr.
19382 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19383 (ret): Remove variable.
19385 (FAIL): Remove macro.
19386 (NO_INLINE): Likewise.
19387 (handle_signal): Use match function instead of strstr.
19389 2013-01-23 Roland McGrath <roland@hack.frob.com>
19391 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19393 2013-01-23 David S. Miller <davem@davemloft.net>
19395 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19396 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19397 argument of CAS if possible.
19398 * sysdeps/sparc/sparc64/bits/atomic.h
19399 (__arch_compare_and_exchange_val_32_acq): Likewise.
19400 (__arch_compare_and_exchange_val_64_acq): Likewise.
19402 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19404 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19405 * sysdeps/posix/ulimit.c: ... this.
19406 Include <limits.h>.
19407 * sysdeps/unix/bsd/ulimit.c: Remove file.
19409 2013-01-23 Adam Conrad <adconrad@0c3.net>
19411 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19412 (LDFLAGS-tst-array5): Likewise.
19414 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19417 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19418 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19419 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19420 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19422 2013-01-21 David S. Miller <davem@davemloft.net>
19424 * sysdeps/sparc/backtrace.c: New file.
19425 * sysdeps/sparc/sparc32/backtrace.h: New file.
19426 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19427 * sysdeps/sparc/sparc64/backtrace.h: New file.
19428 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19429 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19432 2013-01-21 Andreas Schwab <schwab@suse.de>
19435 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19438 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19444 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19445 Mark Mitchell <mark@codesourcery.com>
19446 Tom de Vries <tom@codesourcery.com>
19447 Paul Pluzhnikov <ppluzhnikov@google.com>
19449 * debug/tst-backtrace2.c: New file.
19450 * debug/tst-backtrace3.c: Likewise.
19451 * debug/tst-backtrace4.c: Likewise.
19452 * debug/tst-backtrace5.c: Likewise.
19453 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19454 (CFLAGS-tst-backtrace3.c): Likewise.
19455 (CFLAGS-tst-backtrace4.c): Likewise.
19456 (CFLAGS-tst-backtrace5.c): Likewise.
19457 (LDFLAGS-tst-backtrace2): Likewise.
19458 (LDFLAGS-tst-backtrace3): Likewise.
19459 (LDFLAGS-tst-backtrace4): Likewise.
19460 (LDFLAGS-tst-backtrace5): Likewise.
19461 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19462 tst-backtrace4 and tst-backtrace5.
19464 2013-01-18 Anton Blanchard <anton@samba.org>
19465 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19467 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19468 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19469 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19470 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19472 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19473 "+r" and remove output regs list as redundant. Add explicit inline
19474 asm to specify register of return val to work around compiler codegen
19475 bug. Remove (int) cast on return value. Add return type parameter to
19476 use in macro so that this macro does not truncate return value for
19478 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19479 pass to INTERNAL_VSYSCALL_NCS.
19480 (INLINE_VSYSCALL): Add 'long int' as return type to
19481 INTERNAL_VSYSCALL_NCS macro invocation.
19482 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19483 INTERNAL_VSYSCALL_NCS macro invocation.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19486 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19490 Fix application of SIMD FP exception mask.
19492 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19493 mp_no from a power of two.
19494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19495 __mpexp_twomm1. Use __pow_mp.
19497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19500 2013-01-17 David S. Miller <davem@davemloft.net>
19502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19504 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19507 * include/complex.h: Condition contents on [!_COMPLEX_H].
19508 (__kernel_casinhf): New prototype.
19509 (__kernel_casinh): Likewise.
19510 (__kernel_casinhl): Likewise.
19511 * math/Makefile (libm_calls): Add k_casinh.
19512 * math/k_casinh.c: New file.
19513 * math/k_casinhf.c: Likewise.
19514 * math/k_casinhl.c: Likewise.
19515 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19516 finite nonzero arguments.
19517 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19518 finite nonzero arguments.
19519 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19520 finite nonzero arguments.
19521 * math/s_casinh.c: Do not include <float.h>.
19522 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19523 * math/s_casinhf.c: Do not include <float.h>.
19524 (__casinhf): Move code for finite nonzero arguments to
19526 * math/s_casinhl.c: Do not include <float.h>.
19527 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19529 (__casinhl): Move code for finite nonzero arguments to
19531 * math/libm-test.inc (cacos_test): Add more tests.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19537 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19538 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19539 [!HAVE_MREMAP]: Remove [defined linux] case.
19540 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19542 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19544 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19546 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19548 * elf/elf.h (R_386_SIZE32): New relocation.
19549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19551 (elf_machine_rela): Likewise.
19552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19553 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19555 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19557 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19558 (FP_FAST_FMA): Do not define.
19559 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19560 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19561 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19562 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19563 !_SOFT_FLOAT]: Likewise.
19564 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19565 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19567 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19568 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19569 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19570 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19571 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19572 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19575 2013-01-16 Andreas Schwab <schwab@suse.de>
19578 * include/stdlib.h (__mktemp): Add declaration.
19579 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19580 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19582 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19584 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19586 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19587 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19588 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19590 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19591 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19593 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19595 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19596 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19597 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19599 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19600 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19602 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19604 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19606 2013-01-15 David S. Miller <davem@davemloft.net>
19608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19609 trunc{,f} to libm-sysdep_routes.
19610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19620 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19621 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19622 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19623 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19624 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19625 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19628 nearbyint{,f} to libm-sysdep_routes.
19629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19640 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19642 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19643 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19645 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19646 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19647 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19649 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19650 libc_feholdexcept and libc_fesetenv.
19652 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19654 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19656 2013-01-14 David S. Miller <davem@davemloft.net>
19658 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19659 (SPARC_ASM_VIS2_IFUNC): Likewise.
19660 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19662 use of 'siam' instruction.
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19696 routines to libm-sysdep_routines.
19697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19700 fdim/fdimf to libm-sysdep_routines.
19701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19709 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19710 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19711 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19712 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19714 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19717 to optimize copies.
19719 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19724 local variable MPTWO.
19725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19728 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19730 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19733 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19735 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19737 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19739 * manual/pattern.texi (glob_t): Document gl_flags.
19740 (glob64_t): Likewise.
19742 2013-01-11 David S. Miller <davem@davemloft.net>
19744 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19745 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19746 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19747 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19748 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19749 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19750 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19751 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19752 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19753 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19754 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19755 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19756 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19759 sparc V9 rather than using V8 code.
19760 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19761 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19763 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19765 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19768 2013-01-11 Roland McGrath <roland@hack.frob.com>
19770 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19771 not in the main loop.
19772 * configure: Regenerated.
19774 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19776 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19777 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19779 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19780 [!__GLIBC_HAVE_LONG_LONG] case.
19781 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19782 condition to just #else.
19783 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19784 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19785 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19786 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19788 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19789 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19790 #elif condition to just #else.
19791 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19792 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19793 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19794 #elif condition to just #else.
19796 2013-01-11 Steve Ellcey <sellcey@mips.com>
19798 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19799 (EF_MIPS_ARCH_64): Fix value.
19800 (EF_MIPS_ARCH_32R2): New.
19801 (EF_MIPS_ARCH_64R2): New.
19803 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19805 * Makeconfig (+link-pie-before-libc): New.
19806 (+link-pie-after-libc): Likewise.
19807 (+link-pie-tests): Likewise.
19808 (+link-pie): Rewritten.
19809 (link-before-libc): Remove $(config-LDFLAGS).
19810 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19811 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19812 (config-LDFLAGS): Renamed to ...
19813 (rtld-LDFLAGS): This.
19814 (rtld-tests-LDFLAGS): New macro.
19815 (link-libc-rpath-link): Likewise.
19816 (link-libc-tests-rpath-link): Likewise.
19817 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19818 (link-libc): Prepand $(link-libc-rpath-link).
19819 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19820 (test-program-prefix): New macro.
19821 (test-via-rtld-prefix): Likewise.
19822 (test-program-cmd): Likewise.
19823 (host-test-program-cmd): Likewise.
19824 * Makefile ($(common-objpfx)testrun.sh): Replace
19825 $(run-program-prefix) with $(test-program-prefix).
19826 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19828 ($(common-objpfx)shlib.lds): Likewise.
19829 (build-module-helper): Likewise.
19830 ($(common-objpfx)format.lds): Likewise.
19831 * Rules (binaries-pie-tests): New.
19832 (binaries-pie-notests): Likewise.
19833 (binaries-pie): Rewritten.
19834 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19835 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19836 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19837 (make-test-out): Replace $(host-built-program-cmd) with
19838 $(host-test-program-cmd).
19839 * config.make.in (build-hardcoded-path-in-tests): New variable.
19840 * configure.in (--enable-hardcoded-path-in-tests): New configure
19842 (hardcoded_path_in_tests): New AC_SUBST.
19843 * configure: Regenerated.
19844 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19845 $(built-program-cmd) with $(test-program-cmd).
19846 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19847 (test_program_cmd): This.
19848 * elf/Makefile ($(objpfx)order.out): Run test with
19849 $(test-program-prefix).
19850 ($(objpfx)order2.out): Likewise.
19851 ($(objpfx)tst-initorder.out): Likewise.
19852 ($(objpfx)tst-initorder2.out): Likewise.
19853 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19854 $(test-program-cmd).
19855 ($(objpfx)tst-array1-static.out): Likewise.
19856 ($(objpfx)tst-array2.out): Likewise.
19857 ($(objpfx)tst-array3.out): Likewise.
19858 ($(objpfx)tst-array4.out): Likewise.
19859 ($(objpfx)tst-array5.out): Likewise.
19860 ($(objpfx)tst-array5-static.out): Likewise.
19861 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19862 $(test-program-cmd).
19863 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19864 $(run-program-prefix) with $(test-program-prefix).
19865 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19866 (test_program_prefix): This.
19867 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19868 $(run-program-prefix) with $(test-program-prefix).
19869 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19870 (test_program_prefix): This.
19871 * iconvdata/tst-tables.sh: Likewise.
19872 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19873 $(run-program-prefix) with $(test-program-prefix).
19874 ($(objpfx)tst-translit.out): Likewise.
19875 ($(objpfx)tst-gettext2.out): Likewise.
19876 ($(objpfx)tst-gettext4.out): Likewise.
19877 ($(objpfx)tst-gettext6.out): Likewise.
19878 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19879 (test_program_prefix): This.
19880 * intl/tst-gettext2.sh: Likewise.
19881 * intl/tst-gettext4.sh Likewise.
19882 * intl/tst-gettext6.sh: Likewise.
19883 * intl/tst-translit.sh: Likewise.
19884 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19885 with $(test-program-cmd).
19886 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19887 $(run-program-prefix) with $(test-program-prefix).
19888 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19889 (test_program_prefix): This.
19890 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19891 $(run-program-prefix) with $(test-program-prefix).
19892 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19893 (test_program_prefix): This.
19894 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19895 * posix/Makefile ($(objpfx)globtest.out): Replace
19896 $(run-via-rtld-prefix) and $(test-wrapper) with
19897 $(test-program-prefix) and $(test-via-rtld-prefix).
19898 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19899 $(test-program-prefix).
19900 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19901 $(host-test-program-cmd).
19902 (tst-spawn-ARGS): Likewise.
19903 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19904 $(test-program-prefix).
19905 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19906 (test_via_rtld_prefix): This.
19907 (test_wrapper): Renamed to ...
19908 (test_program_prefix): This.
19909 (run_program_prefix): Replaced by test_program_prefix.
19910 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19911 (test_program_prefix): This.
19912 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19913 with $(host-test-program-cmd).
19914 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19915 $(run-program-prefix) with $(test-program-prefix).
19916 ($(objpfx)tst-printf.out): Likewise.
19917 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19918 $(test-program-cmd).
19919 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19920 (test_program_prefix): This.
19921 * stdio-common/tst-unbputc.sh: Likewise.
19922 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19923 $(run-program-prefix) with $(test-program-prefix).
19924 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19925 (test_program_prefix): This.
19926 * string/Makefile ($(objpfx)tst-svc.out): Replace
19927 $(built-program-cmd) with $(test-program-cmd).
19929 2013-01-11 Andreas Jaeger <aj@suse.de>
19932 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19933 value. Sync with Linux 3.7.
19935 2013-01-10 David S. Miller <davem@davemloft.net>
19937 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19938 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19939 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19941 2013-01-10 Roland McGrath <roland@hack.frob.com>
19943 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19945 * configure: Regenerated.
19947 2013-01-10 David S. Miller <davem@davemloft.net>
19949 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19950 sparc V9 rather than using V8 code.
19951 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19952 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19954 2013-01-10 Roland McGrath <roland@hack.frob.com>
19956 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19957 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19958 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19959 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19960 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19961 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19962 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19963 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19964 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19965 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19966 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19967 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19968 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19969 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19970 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19971 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19972 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19973 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19974 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19975 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19976 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19977 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19978 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19979 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19980 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19981 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19982 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19984 2013-01-10 David S. Miller <davem@davemloft.net>
19986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19988 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19990 * posix/Makefile (tests-static): New variable.
19991 (tests): Add $(tests-static).
19992 (tst-exec-static-ARGS): New variable.
19993 (tst-spawn-static-ARGS): Likewise.
19994 * posix/tst-exec-static.c: New file.
19995 * posix/tst-spawn-static.c: Likewise.
19996 * posix/tst-exec.c: Support run directly.
19997 * posix/tst-spawn.c: Likewise.
19999 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20001 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20003 * math/bits/mathcalls.h (llrint): Likewise.
20004 (llround): Likewise.
20005 * stdlib/stdlib.h (struct drand48_data): Likewise.
20006 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20007 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20008 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20010 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20012 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20013 (elf_greg_t): Likewise.
20014 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20015 (__jmp_buf): Likewise.
20016 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20018 (llrint): Likewise, for all definitions.
20019 (llrintl): Likewise.
20021 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20022 Remove [__GNUC__] condition.
20023 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20024 condition to just [__USE_ISOC99].
20025 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20027 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20030 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20031 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20033 (_POSIX_V6_ILP32_OFF32): Likewise.
20034 (_XBS5_ILP32_OFF32): Likewise.
20035 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20036 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20038 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20040 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20043 doubles __mpexp_twomm1. Adjust usage.
20044 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20047 2013-01-10 Andreas Schwab <schwab@suse.de>
20050 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20051 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20053 2013-01-09 David S. Miller <davem@davemloft.net>
20056 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20057 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20058 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20059 (TCP_FASTOPEN): Define.
20060 (tcp_repair_opt): New structure.
20061 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20063 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20064 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20065 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20066 (tcp_cookie_transactions): New structure.
20068 2013-01-09 Anton Blanchard <anton@samba.org>
20070 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20071 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20072 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20075 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20077 * include/features.h (__USE_ANSI): Remove.
20079 2013-01-09 Roland McGrath <roland@hack.frob.com>
20081 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20083 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20085 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20087 * sysdeps/s390/fpu/libm-test-ulps: Update.
20089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20091 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20095 (denorm): Likewise.
20096 (__mp_dbl): Likewise.
20097 (__dbl_mp): Likewise.
20098 (add_magnitudes): Likewise.
20099 (sub_magnitudes): Likewise.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20109 (denorm): Likewise.
20110 (__mp_dbl): Likewise.
20111 (__dbl_mp): Likewise.
20112 (add_magnitudes): Likewise.
20113 (sub_magnitudes): Likewise.
20119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20123 (denorm): Likewise.
20124 (__mp_dbl): Likewise.
20125 (__dbl_mp): Likewise.
20126 (add_magnitudes): Likewise.
20127 (sub_magnitudes): Likewise.
20134 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20136 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20137 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20138 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20139 2 && __USE_EXTERN_INLINES]: Likewise.
20141 2013-01-08 Andreas Jaeger <aj@suse.de>
20144 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20146 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20147 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20149 2013-01-07 Anton Blanchard <anton@samba.org>
20151 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20152 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20153 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20154 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20155 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20157 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20158 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20160 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20161 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20163 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20164 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20166 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20167 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20169 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20171 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20172 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20173 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20174 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20175 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20176 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20177 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20178 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20179 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20181 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20183 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20184 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20185 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20186 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20187 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20190 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20193 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20195 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20197 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20198 (__MALLOC_PMT): Likewise.
20199 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20200 [__GNUC__], only on [_LIBC].
20201 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20202 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20203 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20204 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20205 forward declaration.
20206 (realloc_hook_ini): Likewise.
20207 (memalign_hook_ini): Likewise.
20208 (__libc_memalign): Do not use __MALLOC_PMT in variable
20210 (__libc_valloc): Likewise.
20211 (__libc_pvalloc): Likewise.
20212 (__libc_calloc): Likewise.
20213 (__posix_memalign): Likewise.
20216 * math/s_casinh.c: Include <float.h>.
20217 (__casinh): Do not do computation with squaring and square root
20218 for large arguments.
20219 * math/s_casinhf.c: Include <float.h>.
20220 (__casinhf): Do not do computation with squaring and square root
20221 for large arguments.
20222 * math/s_casinhl.c: Include <float.h>.
20223 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20224 (__casinhl): Do not do computation with squaring and square root
20225 for large arguments.
20226 * math/libm-test.inc (casin_test): Add more tests.
20227 (casinh_test): Likewise.
20228 * sysdeps/i386/fpu/libm-test-ulps: Update.
20229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20231 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20233 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20234 (__x86_64_raw_data_cache_size): Likewise.
20235 (__x86_64_data_cache_size_half): Likewise.
20236 (__x86_64_raw_data_cache_size_half): Likewise.
20237 (__x86_64_shared_cache_size): Likewise.
20238 (__x86_64_raw_shared_cache_size): Likewise.
20239 (__x86_64_shared_cache_size_half): Likewise.
20240 (__x86_64_raw_shared_cache_size_half): Likewise.
20241 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20243 (__x86_data_cache_size): This.
20244 (__x86_64_raw_data_cache_size): Renamed to ...
20245 (__x86_raw_data_cache_size): This.
20246 (__x86_64_data_cache_size_half): Renamed to ...
20247 (__x86_data_cache_size_half): This.
20248 (__x86_64_raw_data_cache_size_half): Renamed to ...
20249 (__x86_raw_data_cache_size_half): This.
20250 (__x86_64_shared_cache_size): Renamed to ...
20251 (__x86_shared_cache_size): This.
20252 (__x86_64_raw_shared_cache_size): Renamed to ...
20253 (__x86_raw_shared_cache_size): This.
20254 (__x86_64_shared_cache_size_half): Renamed to ...
20255 (__x86_shared_cache_size_half): This.
20256 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20257 (__x86_raw_shared_cache_size_half): This.
20258 * sysdeps/x86_64/memcpy.S: Updated.
20259 * sysdeps/x86_64/memset.S: Likewise.
20260 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20264 2013-01-04 David S. Miller <davem@davemloft.net>
20266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20268 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20270 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20271 1 to avoid redefinition warning.
20272 (__USE_GNU): Don't define.
20273 (init_signaling_nan): Protoize.
20275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20277 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20279 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20281 (__cpymn): Likewise.
20282 (norm): Remove commented code.
20283 (denorm): Likewise.
20284 (__mp_dbl): Likewise.
20286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20287 (__cpymn): Likewise.
20288 (norm): Remove commented code.
20289 (denorm): Likewise.
20290 (__mp_dbl): Likewise.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20294 mp_no value for 1.0 and 2.0.
20295 (norm): Use RADIXI instead of radixi.d.
20296 (denorm): Likewise.
20297 (__mul): Use 0.0 instead of zero.d.
20298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20299 mp_no value for 1.0 and 2.0.
20300 (norm): Use RADIXI instead of radixi.d.
20301 (denorm): Likewise.
20302 (__mul): Use 0.0 instead of zero.d.
20304 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20307 * math/s_casinh.c (__casinh): Reduce finite argument to first
20308 quadrant then set signs of results at the end.
20309 * math/s_casinhf.c (__casinhf): Likewise.
20310 * math/s_casinhl.c (__casinhl): Likewise.
20311 * math/libm-test.inc (casin_test): Add more tests.
20312 (casinh_test): Likewise.
20313 * sysdeps/i386/fpu/libm-test-ulps: Update.
20314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20318 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20320 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20322 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20324 (denorm): Likewise.
20325 (__mp_dbl): Likewise.
20328 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20329 and adjust the header comment.
20331 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20332 variable name from declaration.
20334 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20337 Initialize COMMON_CPUID_INDEX_7 element.
20338 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20339 (CPUID_RTM): Likewise.
20340 (HAS_RTM): Likewise.
20341 (COMMON_CPUID_INDEX_7): New enum.
20343 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20346 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20347 size is zero, record memory as freed.
20349 2013-01-03 Andreas Jaeger <aj@suse.de>
20351 * po/ia.po: Add new Interlingua translation.
20353 2012-01-03 Allan McRae <allan@archlinux.org>
20355 * locale/programs/localedef.c: Fix description of '--posix' flag.
20357 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20359 * NEWS: Update dates in second copyright notice.
20360 * README: Update copyright dates in example.
20361 * manual/libc.texinfo: Update copyright dates.
20362 * scripts/test-installation.pl: Update copyright date in --version
20365 * hurd/ctty-input.c: Fix copyright notice formatting.
20366 * hurd/ctty-output.c: Likewise.
20367 * hurd/dtable.c: Likewise.
20368 * hurd/hurd-raise.c: Likewise.
20369 * hurd/hurdprio.c: Likewise.
20370 * hurd/msgportdemux.c: Likewise.
20371 * misc/sys/file.h: Likewise.
20372 * misc/sys/ioctl.h: Likewise.
20373 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20374 * sysdeps/mach/hurd/chdir.c: Likewise.
20375 * sysdeps/mach/hurd/fchdir.c: Likewise.
20376 * sysdeps/mach/hurd/rename.c: Likewise.
20377 * sysdeps/mach/hurd/rmdir.c: Likewise.
20378 * sysdeps/mach/hurd/seekdir.c: Likewise.
20379 * sysdeps/mach/hurd/setsid.c: Likewise.
20380 * sysdeps/posix/wait3.c: Likewise.
20382 * All files with FSF copyright notices: Update copyright dates
20383 using scripts/update-copyrights.
20384 * intl/plural.c: Regenerated.
20385 * locale/programs/charmap-kw.h: Likewise.
20386 * locale/programs/locfile-kw.h: Likewise.
20388 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20394 calculation loop and add branch prediction.
20396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20397 check access beyond bounds of m1np.
20399 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20401 (__inv): Remove local variable MPTWO to use the global
20403 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20404 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20406 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20407 MP3HALFS static const.
20409 2013-01-01 David S. Miller <davem@davemloft.net>
20411 * po/ca.po: Update from translation team.
20413 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20415 * scripts/update-copyrights: New file.
20416 * Makeconfig: Reformat copyright notice.
20417 * ctype/ctype.h: Likewise.
20418 * debug/swprintf_chk.c: Likewise.
20419 * elf/dl-cache.c: Likewise.
20420 * elf/dl-debug.c: Likewise.
20421 * elf/dl-object.c: Likewise.
20422 * grp/initgroups.c: Likewise.
20423 * hurd/Makefile: Likewise.
20424 * hurd/hurd/signal.h: Likewise.
20425 * hurd/hurdfault.c: Likewise.
20426 * hurd/hurdioctl.c: Likewise.
20427 * hurd/hurdlookup.c: Likewise.
20428 * hurd/intr-msg.c: Likewise.
20429 * iconv/gconv_open.c: Likewise.
20430 * libio/swprintf.c: Likewise.
20431 * locale/lc-ctype.c: Likewise.
20432 * locale/nl_langinfo.c: Likewise.
20433 * mach/Machrules: Likewise.
20434 * mach/Makefile: Likewise.
20435 * malloc/obstack.h: Likewise.
20436 * manual/Makefile: Likewise.
20437 * manual/tsort.awk: Likewise.
20438 * misc/bits/stab.def: Likewise.
20439 * nis/nis_print_group_entry.c: Likewise.
20440 * nis/nis_table.c: Likewise.
20441 * nis/nss_compat/compat-pwd.c: Likewise.
20442 * nis/nss_compat/compat-spwd.c: Likewise.
20443 * po/Makefile: Likewise.
20444 * posix/fnmatch.c: Likewise.
20445 * posix/regex.h: Likewise.
20446 * resolv/Makefile: Likewise.
20447 * resolv/nss_dns/dns-network.c: Likewise.
20448 * resolv/res_hconf.c: Likewise.
20449 * scripts/gen-sorted.awk: Likewise.
20450 * soft-fp/soft-fp.h: Likewise.
20451 * stdio-common/printf.h: Likewise.
20452 * stdlib/monetary.h: Likewise.
20453 * stdlib/random.c: Likewise.
20454 * stdlib/random_r.c: Likewise.
20455 * sysdeps/generic/Makefile: Likewise.
20456 * sysdeps/gnu/Makefile: Likewise.
20457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20470 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20471 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20472 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20473 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20477 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20478 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20479 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20480 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20481 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20485 * sysdeps/mach/hurd/errnos.awk: Likewise.
20486 * sysdeps/mach/hurd/fork.c: Likewise.
20487 * sysdeps/mach/hurd/getcwd.c: Likewise.
20488 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20489 * sysdeps/mach/hurd/mmap.c: Likewise.
20490 * sysdeps/mach/hurd/utimes.c: Likewise.
20491 * sysdeps/mach/hurd/xmknod.c: Likewise.
20492 * sysdeps/posix/profil.c: Likewise.
20493 * sysdeps/posix/readdir_r.c: Likewise.
20494 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20495 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20496 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20497 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20499 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20500 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20501 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20503 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20505 * sysdeps/pthread/lio_listio.c: Likewise.
20506 * sysdeps/sparc/dl-procinfo.h: Likewise.
20507 * sysdeps/unix/i386/sysdep.S: Likewise.
20508 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20509 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20510 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20511 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20513 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20514 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20515 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20516 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20517 * sysdeps/wordsize-32/divdi3.c: Likewise.
20518 * time/sys/time.h: Likewise.
20519 * wcsmbs/Makefile: Likewise.
20521 2013-01-01 David S. Miller <davem@davemloft.net>
20523 * po/fr.po: Update from translation team.
20525 * catgets/gencat.c: Update copyright year.
20526 * csu/version.c: Likewise.
20527 * debug/catchsegv.sh: Likewise.
20528 * debug/pcprofiledump.c: Likewise.
20529 * debug/xtrace.sh: Likewise.
20530 * elf/ldconfig.c: Likewise.
20531 * elf/ldd.bash.in: Likewise.
20532 * elf/pldd.c: Likewise.
20533 * elf/sotruss.ksh: Likewise.
20534 * elf/sprof.c: Likewise.
20535 * iconv/iconv_prog.c: Likewise.
20536 * iconv/iconvconfig.c: Likewise.
20537 * locale/programs/locale.c: Likewise.
20538 * locale/programs/localedef.c: Likewise.
20539 * login/programs/pt_chown.c: Likewise.
20540 * malloc/memusage.sh: Likewise.
20541 * malloc/memusagestat.c: Likewise.
20542 * malloc/mtrace.pl: Likewise.
20543 * nscd/nscd.c: Likewise.
20544 * nss/getent.c: Likewise.
20545 * nss/makedb.c: Likewise.
20546 * posix/getconf.c: Likewise.
20548 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20550 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20553 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20555 * math/bits/mathcalls.h (modf): Use __nonnull.
20557 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20559 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20560 (split): Use macro CN instead of the bare value.
20561 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20564 instead of the bare value.
20565 (power1): Likewise.
20567 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20569 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20571 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20573 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20575 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20576 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20577 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20578 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20580 2012-12-28 Andreas Jaeger <aj@suse.de>
20582 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20583 values are from Linux 3.7.
20585 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20586 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20588 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20590 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20593 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20595 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20596 variables with preprocessor constants.
20597 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20598 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20599 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20601 2012-12-27 Bruno Haible <bruno@clisp.org>
20604 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20607 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20610 and use variable directly.
20611 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20613 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20615 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20616 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20618 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20620 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20621 include directive. Remove local variable MPONE.
20622 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20623 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20626 2012-12-25 David S. Miller <davem@davemloft.net>
20628 * version.h (RELEASE): Set to "development".
20629 (VERSION): Set to "2.17.90".
20630 * NEWS: Add 2.18 section.
20632 2012-12-21 David S. Miller <davem@davemloft.net>
20634 * po/hr.po: Update from translation team.
20636 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20638 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20640 2012-12-19 Steve Ellcey <sellcey@mips.com>
20642 * NEWS: Mention new memcpy for MIPS.
20644 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20646 * manual/contrib.texi (Contributors): Spelling correction.
20648 2012-12-15 David S. Miller <davem@davemloft.net>
20650 * po/ru.po: Update from translation team.
20652 2012-12-13 David S. Miller <davem@davemloft.net>
20654 * NEWS: Mention IFUNC testsuite enhancements.
20656 * po/pl.po: Update from translation team.
20657 * po/bg.po: Likewise.
20659 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20660 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20662 2012-12-11 David S. Miller <davem@davemloft.net>
20664 * po/sv.po: Update from translation team.
20666 * po/vi.po: Update from translation team.
20668 * po/cs.po: Update from translation team.
20670 * po/de.po: Update from translation team.
20671 * po/eo.po: Likewise.
20672 * po/nl.po: Likewise.
20674 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20677 * manual/argp.texi (Argp Helper Functions): Move node to follow
20678 Argp Parsing State.
20681 * manual/conf.texi (Limits on File System Capacity): Mention if
20682 terminating null is included in the max size.
20684 2012-12-10 Andreas Jaeger <aj@suse.de>
20686 * po/cs.po: Update from translation team.
20688 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20690 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20691 void pointer and cast to uintptr_t.
20692 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20694 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20695 * sysdeps/s390/s390-64/memset.S: Likewise.
20697 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20700 * menual/message.texi (Message Translation): Fix typos.
20701 (Helper programs for gettext): Likewise.
20703 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20706 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20709 2012-12-07 David S. Miller <davem@davemloft.net>
20711 * po/libc.pot: Update.
20713 2012-12-07 Richard Henderson <rth@redhat.com>
20716 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20717 normal/normal case to before the switch.
20718 (_FP_DIV): Likewise.
20720 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20721 Mike Frysinger <vapier@gentoo.org>
20723 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20724 check for __NR_fadvise64_64.
20726 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20728 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20729 0, not just to plain "0" as a statement.
20730 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20733 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20735 * NEWS: Use sourceware.org in Bugzilla URL.
20737 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20740 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20742 * stdio-common/tst-put-error.c (do_test): Add newline to the
20743 padded test to ensure flush.
20745 2012-12-05 Jeff Law <law@redhat.com>
20747 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20749 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20751 * README: Don't refer to ports add-on as distributed separately.
20752 Mention AArch64 in list of systems supported in the ports add-on.
20754 * LICENSES: Add more non-FSF copyright and license notices.
20756 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20759 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20761 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20762 10000 as width of padded output.
20764 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20766 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20769 variable LX with __attribute__ ((unused)).
20770 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20772 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20774 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20775 with __attribute__ ((unused)).
20777 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20779 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20781 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20783 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20784 (CFLAGS-nldbl-acos.c): New variable.
20785 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20786 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20787 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20788 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20789 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20790 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20791 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20792 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20793 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20794 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20795 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20796 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20797 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20798 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20799 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20800 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20801 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20802 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20803 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20804 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20805 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20806 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20807 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20808 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20809 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20810 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20811 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20812 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20813 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20814 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20815 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20816 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20817 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20818 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20819 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20820 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20821 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20822 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20823 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20824 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20825 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20826 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20827 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20828 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20829 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20830 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20831 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20832 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20833 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20834 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20835 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20836 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20837 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20838 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20839 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20840 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20841 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20842 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20843 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20844 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20845 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20846 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20847 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20848 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20849 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20850 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20851 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20852 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20853 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20854 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20855 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20856 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20857 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20858 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20859 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20860 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20861 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20862 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20863 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20864 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20865 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20866 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20867 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20868 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20869 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20870 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20871 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20876 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20877 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20878 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20879 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20880 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20881 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20884 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20887 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20888 whole low double instead of just low 47 bits when splitting values
20891 2012-12-03 Allan McRae <allan@archlinux.org>
20893 * manual/stdio.texi (Predefined Printf Handlers): Remove
20894 @hsep and @vsep usage.
20896 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20898 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20899 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20901 2012-12-03 Jeff Law <law@redhat.com>
20903 * time/sys/time.h (settimeofday): Do not mark TV argument
20906 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20908 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20909 when currently writing and seek to current position when not.
20910 * libio/Makefile (tests): Remove bug-fclose1.
20911 * libio/bug-fclose1.c: Delete.
20913 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20915 * manual/arith.texi (feenableexcept): Fix typo.
20916 (fedisableexcept): Likewise.
20918 2012-11-30 Roland McGrath <roland@hack.frob.com>
20920 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20921 second, differently-typed declaration, rather than a cast.
20923 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20925 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20926 * include/rpc/svc.h: ... here.
20928 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20931 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20932 depending n and resplen2 to catch cases where answer
20935 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20937 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20938 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20940 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20942 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20944 2012-11-29 Roland McGrath <roland@hack.frob.com>
20946 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20948 2012-11-28 Jeff Law <law@redhat.com>
20951 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20952 dataset_temporary. Track alloca usage into alloca_used.
20953 If dataset is large allocate and release it via malloc/free.
20955 2012-06-04 Florian Weimer <fweimer@redhat.com>
20958 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20960 2012-11-28 David S. Miller <davem@davemloft.net>
20962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20964 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20967 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20968 of pi/2 rounded to nearest to 64 bits.
20969 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20970 nearest to 64 bits.
20971 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20974 2012-11-28 Jeff Law <law@redhat.com>
20975 Martin Osvald <mosvald@redhat.com>
20978 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20979 * sunrpc/svc.c: Include time.h.
20980 (__svc_accept_failed): New function.
20981 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20982 any reason other than EINTR, call __svc_accept_failed.
20983 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20984 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20986 2012-11-28 Andreas Schwab <schwab@suse.de>
20988 * scripts/abilist.awk: Also handle indirect functions in .opd
20991 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20994 * sysdeps/x86/fpu/powl_helper.c: New file.
20995 * sysdeps/x86/fpu/Makefile: Likewise.
20996 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20998 (__ieee754_powl): Use __powl_helper for finite arguments except
20999 integer exponents below 8.
21000 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21002 (__ieee754_powl): Use __powl_helper for finite arguments except
21003 integer exponents below 8.
21004 * math/libm-test.inc (pow_test): Add more tests and enable some
21005 previously disabled tests.
21006 * sysdeps/i386/fpu/libm-test-ulps: Update.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21009 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21010 Carlos O'Donell <carlos_odonell@mentor.com>
21012 * nss/makedb.c (is_prime): Assert that input is odd and greater
21013 than 4. Note that fact in a comment too.
21014 (next_prime): Add 4 to input.
21016 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21019 * libio/Makefile (tests): Add test case tst-fwrite-error.
21020 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21021 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21022 * libio/tst-fwrite-error.c: New test case.
21024 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21026 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21027 before casting to void *.
21028 * include/libc-internal.h (__pointer_type): New macro.
21029 (__integer_if_pointer_type_sub): Likewise.
21030 (__integer_if_pointer_type): Likewise.
21031 (cast_to_integer): Likewise.
21032 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21033 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21034 before casting to atomic64_t.
21035 (atomic_exchange_acq): Likewise.
21036 (__arch_exchange_and_add_body): Likewise.
21037 (__arch_add_body): Likewise.
21038 (atomic_add_negative): Likewise.
21039 (atomic_add_zero): Likewise.
21041 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21043 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21044 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21045 (add_fdes): Likewise.
21046 (linear_search_fdes): Likewise.
21047 (binary_search_unencoded_fdes): Likewise.
21049 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21051 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21053 2012-11-24 Adam Conrad <adconrad@0c3.net>
21055 * configure.in: Autodetect C++ header directories.
21056 * configure: Regenerated.
21058 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21060 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21062 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21066 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21068 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21069 LDBL_MANT_DIG == 106]: Disable some tests.
21070 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21072 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21076 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21077 input for small inputs. Return +/- pi/2 for large inputs.
21078 * math/libm-test.inc (atan_test): Add more tests.
21080 * sysdeps/generic/unwind-dw2-fde-glibc.c
21081 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21082 __attribute__ ((unused)).
21085 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21086 x * y if x and y are nonzero and z is zero.
21089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21090 nonzero exponents with absolute value below 0x1p-117 to +/-
21094 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21095 up arguments below 2**-450, not just those below 2**-500.
21096 * math/libm-test.inc (hypot_test): Add another test.
21099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21100 Return a+b for ratio over 2**120, not 2**60.
21101 * math/libm-test.inc (hypot_test): Add another test.
21103 * math/libm-test.inc (clog_test): Use
21104 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21105 (clog10_test): Likewise.
21108 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21110 2012-11-22 Andreas Schwab <schwab@suse.de>
21112 * sysdeps/i386/fpu/libm-test-ulps: Update.
21114 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21116 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21117 printf output with newline.
21119 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21122 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21123 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21124 -z nodlopen, -z initfirst and -z execstack support.
21125 * configure: Regenerated.
21127 * elf/elf.h (DF_1_NODIRECT): New macro.
21128 (DF_1_IGNMULDEF): Likewise.
21129 (DF_1_NOKSYMS): Likewise.
21130 (DF_1_NOHDR): Likewise.
21131 (DF_1_EDITED): Likewise.
21132 (DF_1_NORELOC): Likewise.
21133 (DF_1_SYMINTPOSE): Likewise.
21134 (DF_1_GLOBAUDIT): Likewise.
21135 (DF_1_SINGLETON): Likewise.
21136 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21137 DT_1_SUPPORTED_MASK bits.
21138 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21140 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21142 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21144 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21146 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21149 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21150 (sendmmsg): Move declarations...
21151 * socket/sys/socket.h: ... here.
21152 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21153 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21155 * socket/recvmmsg.c: ... this new file.
21156 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21157 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21158 definition of __sendmmsg hidden.
21159 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21160 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21161 Move ENOSYS stub into and include it from...
21162 * socket/sendmmsg.c: ... this new file.
21163 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21164 (sysdep_routines): Move recvmmsg and sendmmsg...
21165 * socket/Makefile (routines): ... here.
21166 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21167 (GLIBC_PRIVATE): Add __sendmmsg.
21168 * include/sys/socket.h (__sendmmsg): Add declarations.
21169 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21172 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21175 variable I1 with __attribute__ ((unused)).
21176 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21178 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21180 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21181 DUMMY variables with __attribute__ ((unused)).
21183 * bits/byteswap.h: Include <bits/types.h>.
21184 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21186 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21188 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21189 string_t. Do not manually set errno.
21190 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21191 length with __strnlen. Make sure to both set errno and return it on
21194 2012-11-19 David S. Miller <davem@davemloft.net>
21196 With help from Joseph Myers.
21197 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21198 very large arguments properly.
21199 * math/libm-test.inc (atan_test): New tests.
21200 (atan2_test): New tests.
21201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21204 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21207 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21210 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21211 [POSIX] (EADDRNOTAVAIL): Likewise.
21212 [POSIX] (EAFNOSUPPORT): Likewise.
21213 [POSIX] (EALREADY): Likewise.
21214 [POSIX] (ECONNABORTED): Likewise.
21215 [POSIX] (ECONNREFUSED): Likewise.
21216 [POSIX] (ECONNRESET): Likewise.
21217 [POSIX] (EDESTADDRREQ): Likewise.
21218 [POSIX] (EDQUOT): Likewise.
21219 [POSIX] (EHOSTUNREACH): Likewise.
21220 [POSIX] (EIDRM): Likewise.
21221 [POSIX] (EISCONN): Likewise.
21222 [POSIX] (ELOOP): Likewise.
21223 [POSIX] (EMULTIHOP): Likewise.
21224 [POSIX] (ENETDOWN): Likewise.
21225 [POSIX] (ENETUNREACH): Likewise.
21226 [POSIX] (ENOBUFS): Likewise.
21227 [POSIX] (ENODATA): Likewise.
21228 [POSIX] (ENOLINK): Likewise.
21229 [POSIX] (ENOMSG): Likewise.
21230 [POSIX] (ENOPROTOOPT): Likewise.
21231 [POSIX] (ENOSR): Likewise.
21232 [POSIX] (ENOSTR): Likewise.
21233 [POSIX] (ENOTCONN): Likewise.
21234 [POSIX] (ENOTSOCK): Likewise.
21235 [POSIX] (EOPNOTSUPP): Likewise.
21236 [POSIX] (EOVERFLOW): Likewise.
21237 [POSIX] (EPROTO): Likewise.
21238 [POSIX] (EPROTONOSUPPORT): Likewise.
21239 [POSIX] (EPROTOTYPE): Likewise.
21240 [POSIX] (ESTALE): Likewise.
21241 [POSIX] (ETIME): Likewise.
21242 [POSIX] (ETXTBSY): Likewise.
21243 [POSIX] (EWOULDBLOCK): Likewise.
21244 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21245 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21246 [POSIX] (SEEK_CUR): Likewise.
21247 [POSIX] (SEEK_END): Likewise.
21248 [POSIX || UNIX98] (mode_t): Do not require.
21249 [POSIX] (off_t): Likewise.
21250 [POSIX] (pid_t): Likewise.
21251 [POSIX] (sys/stat.h): Do not allow header.
21252 [POSIX] (unistd.h): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21254 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21256 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21258 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21259 sigevent): Specify elements.
21260 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21262 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21263 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21265 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21266 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21267 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21268 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21269 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21270 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21271 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21272 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21273 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21274 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21275 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21276 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21277 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21278 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21280 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21282 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21284 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21286 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21287 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21288 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21289 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21290 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21291 Specify lower bound on value.
21292 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21293 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21294 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21295 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21296 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21297 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21298 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21299 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21301 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21303 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21304 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21307 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21308 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21309 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21320 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21322 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21323 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21324 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21325 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21326 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21327 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21329 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21330 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21331 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21332 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21333 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21334 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21335 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21341 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21342 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21343 specify as optional.
21344 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21345 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21346 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21347 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21348 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21349 [XPG3] (NL_LANGMAX): Likewise.
21350 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21351 [POSIX || XPG3] (NL_NMAX): Likewise.
21352 [POSIX || XPG3] (NL_SETMAX): Likewise.
21353 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21354 [XPG3] (NZERO): Likewise.
21355 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21356 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21357 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21358 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21359 (REG_ERANGE): Expect.
21360 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21362 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21363 Use (void) in prototype.
21364 [POSIX] (*_t): Allow.
21365 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21366 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21367 (WRDE_BADVAL): Expect.
21369 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21371 [XPG3 || XPG4] (O_RSYNC): Likewise.
21372 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21374 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21375 [XPG3 || XPG4] (sigqueue): Likewise.
21376 [XPG3 || XPG4] (sigtimedwait): Likewise.
21377 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21378 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21379 [XPG3 || XPG4] (vsnprintf): Likewise.
21380 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21382 [XPG3 || XPG4] (blksize_t): Likewise.
21383 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21385 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21386 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21387 [XPG3 || XPG4] (struct itimerspec): Likewise.
21388 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21389 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21390 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21391 [XPG3 || XPG4] (clockid_t): Likewise.
21392 [XPG3 || XPG4] (timer_t): Likewise.
21393 [XPG3 || XPG4] (clock_getres): Likewise.
21394 [XPG3 || XPG4] (clock_gettime): Likewise.
21395 [XPG3 || XPG4] (clock_settime): Likewise.
21396 [XPG3 || XPG4] (nanosleep): Likewise.
21397 [XPG3 || XPG4] (timer_create): Likewise.
21398 [XPG3 || XPG4] (timer_delete): Likewise.
21399 [XPG3 || XPG4] (timer_gettime): Likewise.
21400 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21401 [XPG3 || XPG4] (timer_settime): Likewise.
21402 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21403 [XPG3 || XPG4] (getlogin_r): Likewise.
21404 [XPG3 || XPG4] (pread): Likewise.
21405 [XPG3 || XPG4] (pthread_atfork): Likewise.
21406 [XPG3 || XPG4] (pwrite): Likewise.
21409 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21412 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21414 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21415 finalizing MALLSTREAM.
21417 * sysdeps/mach/hurd/syncfs.c: New file.
21419 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21422 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21423 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21424 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21425 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21426 (_nss_dns_gethostbyname4_r): Likewise.
21427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21428 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21430 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21433 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21435 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21437 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21438 * elf/cache.c (print_entry): Print ",AArch64" for
21441 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21442 * elf/cache.c (print_entry): Print ",hard-float" for
21445 2012-11-18 David S. Miller <davem@davemloft.net>
21447 With help from Joseph Myers.
21448 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21450 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21452 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21453 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21455 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21456 * math/libm-test.inc (y0_test): New tests.
21457 (y1_test): New tests.
21458 * sysdeps/i386/fpu/libm-test-ulps: Update.
21459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21462 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21464 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21466 * configure: Regenerated.
21468 2012-11-17 David S. Miller <davem@davemloft.net>
21471 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21472 nonzero exponents with absolute value below 0x1p-128 to +/-
21475 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21477 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21479 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21481 * posix/getconf-speclist.c: New file.
21482 * posix/posix-envs.def: Likewise.
21483 * posix/confstr.c (START_ENV_GROUP): New macro.
21484 (END_ENV_GROUP): Likewise.
21485 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21486 (KNOWN_PRESENT_ENV_STRING): Likewise.
21487 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21488 (UNKNOWN_ENVIRONMENT): Likewise.
21489 (confstr): Include posix-envs.def instead of handling
21490 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21491 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21492 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21493 (END_ENV_GROUP): Likewise.
21494 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21495 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21496 (UNKNOWN_ENVIRONMENT): Likewise.
21497 (__sysconf): Include posix-envs.def instead of handling associated
21498 cases directly here.
21499 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21500 preprocessing getconf-speclist.c rather than running getconf or
21501 generating empty file.
21503 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21505 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21507 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21510 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21512 2012-11-16 David S. Miller <davem@davemloft.net>
21514 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21515 smaller than LDBL_EPSILON/2.0L, just return xm1.
21517 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21519 * elf/tst-array1.c (init): Set constructor priority to 1000.
21520 (fini): Set destructor priority to 1000.
21521 * elf/tst-array2dep.c: Likewise.
21523 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21526 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21527 (_IO_new_file_xsputn): Also return EOF if none of the input
21528 data was written when overflow failed.
21529 * libio/iopadn.c (_IO_padn): Likewise.
21530 * libio/iowpadn.c (_IO_wpadn): Likewise.
21531 * stdio-common/tst-put-error.c: Add copyright notice.
21532 (do_test): Add case for printing padded string.
21533 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21534 _IO_padn returned error.
21535 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21536 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21539 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21541 * libio/libioP.h: Add comment note that the references to C++
21542 bits are now obsolete.
21544 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21546 * math/libm-test.inc (check_complex): Use asprintf.
21548 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21550 * debug/pcprofiledump.c (print_version): Update copyright year.
21551 * malloc/memusagestat.c (print_version): Likewise.
21553 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21556 * elf/Makefile (tests): Add tst-audit8.
21557 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21558 ($(objpfx)tst-audit8.out): New target.
21559 (tst-audit8-ENV): New variable.
21560 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21561 audit if l_reloc_result is NULL.
21562 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21563 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21564 * elf/tst-audit8.c: New file.
21566 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21568 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21569 * misc/Makefile (CFLAGS-select.c): Define.
21570 * posix/Makefile (CFLAGS-pause.c): Define.
21572 2012-11-13 David S. Miller <davem@davemloft.net>
21574 * crypt/Makefile: Move test targets after toplevel Rules
21575 inclusion. Grab any necessary sysdep routines when linking.
21576 * crypt/md5.c (md5_process_block): Remove define, we will always
21577 name it __md5_process_block.
21578 (md5_finish_ctx): Update md5_process_block call.
21579 (md5_stream): Likewise.
21580 (md5_process_bytes): Likewise.
21581 (md5_process_block): Rename to __md5_process_block and move to ...
21582 * crypt/md5-block.c: ... here.
21583 * crypt/sha256.c (sha256_process_block): Move to ...
21584 * crypt/sha256-block.c: ... here.
21585 * crypt/sha512.c (sha512_process_block): Move to ...
21586 * crypt/sha512-block.c: ... here.
21587 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21589 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21590 * sysdeps/sparc/sparc64/multiarch/Makefile
21591 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21593 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21594 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21596 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21597 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21598 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21599 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21600 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21601 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21602 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21603 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21604 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21606 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21607 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21609 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21611 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21613 * timezone/tzselect.ksh: Update from tzcode git revision
21614 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21615 * timezone/zdump.c: Likewise.
21616 * timezone/zic.c: Likewise.
21617 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21618 in TZVERSION setting, not $(PKGVERSION).
21619 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21620 REPORT_BUGS_TO settings.
21623 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21626 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21628 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21629 detection to immediately after _FP_ROUND().
21630 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21633 2012-11-11 David S. Miller <davem@davemloft.net>
21635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21637 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21638 __close rather than their public counterparts.
21640 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21642 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21644 [UNIX98] (sem_timedwait): Do not expect.
21645 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21646 [XPG4 || UNIX98] (sockatmark): Do not expect.
21647 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21648 (clock_getcpuclockid): Do not expect.
21649 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21650 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21652 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21653 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21654 [UNIX98] (vwscanf): Likewise.
21655 [UNIX98] (vswscanf): Likewise.
21657 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21659 * timezone/version.h: Remove file.
21660 * timezone/README: Do not refer to version.h.
21661 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21662 $(objpfx)version.h.
21663 ($(objpfx)zdump.o): Likewise.
21664 ($(objpfx)version.h): New target.
21666 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21668 * timezone/README: Don't mention modification to tzselect.ksh.
21669 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21670 work on unmodified tzselect.ksh. Substitute version numbers in
21673 * Makefile (format-me): Remove.
21674 (INSTALL): Adjust indentation. Use commands directly instead of
21675 using $(format-me).
21677 * aclocal.m4 (ACX_PKGVERSION): New macro.
21678 (ACX_BUGURL): Likewise.
21679 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21680 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21681 (REPORT_BUGS_TO): Likewise.
21682 * configure: Regenerated.
21683 * config.h.in (PKGVERSION): New macro.
21684 (REPORT_BUGS_TO): Likewise.
21685 * config.make.in (PKGVERSION): New variable.
21686 (PKGVERSION_TEXI): Likewise.
21687 (REPORT_BUGS_TO): Likewise.
21688 (REPORT_BUGS_TEXI): Likewise.
21689 * Makefile (format-me): Use -I$(common-objpfx)manual.
21690 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21691 ($(common-objpfx)manual/%): New target.
21692 (manual/%): Remove target.
21693 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21694 (print_version): Use PKGVERSION.
21695 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21696 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21697 and REPORT_BUGS_TO.
21698 ($(objpfx)xtrace): Likewise.
21699 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21700 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21701 (print_version): Use PKGVERSION.
21702 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21703 (do_version): Use PKGVERSION.
21704 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21706 (common-ldd-rewrite): Likewise.
21707 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21708 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21709 (print_version): Use PKGVERSION.
21710 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21711 * elf/pldd.c (argp_program_bug_address): Remove variable.
21712 (more_help): New function.
21713 (argp): Use more_help.
21714 (print_version): Use PKGVERSION.
21715 * elf/sln.c (main): Use PKGVERSION.
21716 (usage): Use REPORT_BUGS_TO.
21717 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21718 (top level): Use PKGVERSION.
21719 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21720 (print_version): Use PKGVERSION.
21721 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21722 (print_version): Use PKGVERSION.
21723 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21724 (print_version): Use PKGVERSION.
21725 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21726 (print_version): Use PKGVERSION.
21727 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21728 (print_version): Use PKGVERSION.
21729 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21730 (print_version): Use PKGVERSION.
21731 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21733 ($(objpfx)memusage): Likewise.
21734 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21735 (do_version): Use PKGVERSION.
21736 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21737 (print_version): Use PKGVERSION.
21738 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21739 ($PKGVERSION): New variable.
21740 ($REPORT_BUGS_TO): Likewise.
21741 (usage): Use $REPORT_BUGS_TO.
21742 (top level): Use $PKGVERSION.
21743 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21744 ($(objpfx)pkgvers.texi): New rule.
21745 ($(objpfx)stamp-pkgvers): Likewise.
21746 * manual/install.texi: Include pkgvers.texi.
21747 (--with-pkgversion): Document new configure option.
21748 (--with-bugurl): Likewise.
21749 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21750 than necessarily for this particular distribution. Use
21751 REPORT_BUGS_TO for where to report bugs.
21752 * INSTALL: Regenerated.
21753 * manual/libc.texinfo: Include pkgvers.texi.
21754 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21755 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21756 (print_version): Use PKGVERSION.
21757 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21758 (print_version): Use PKGVERSION.
21759 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21760 (print_version): Use PKGVERSION.
21761 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21762 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21764 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21765 (print_version): Use PKGVERSION.
21766 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21767 (print_version): Use PKGVERSION.
21768 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21771 * timezone/checktab.awk: Update from tzcode 2012i.
21772 * timezone/ialloc.c: Likewise.
21773 * timezone/private.h: Likewise.
21774 * timezone/scheck.c: Likewise.
21775 * timezone/tzfile.h: Likewise.
21776 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21777 (TZVERSION): Hardcode tzcode version number.
21778 * timezone/zdump.c: Update from tzcode 2012i.
21779 * timezone/zic.c: Likewise.
21780 * timezone/version.h: New file.
21781 * timezone/README: Describe version.h. Update upstream location.
21784 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21785 (mktemp): Enable declaration.
21786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21788 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21803 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21804 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21805 for copies of such integer values.
21806 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21807 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21809 2012-11-09 Andreas Jaeger <aj@suse.de>
21811 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21812 definitions and declarations that are provided by
21813 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21815 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21817 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21818 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21819 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21822 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21824 * elf/elf.h: Update comment before AArch64 relocations.
21826 2012-11-07 David S. Miller <davem@davemloft.net>
21828 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21829 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21830 (__start_context): Declare.
21831 (__makecontext_ret): Delete.
21832 (__makecontext): Hook up __start_context instead of
21834 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21835 (sysdep_routines): Add __start_context when in stdlib.
21837 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21839 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21840 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21841 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21843 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21844 (READELF): New variable. Use it instead of hardcoded "readelf".
21846 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21848 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21849 * sysdeps/x86/Makefile: Here.
21850 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21851 * sysdeps/x86/tst-xmmymm.sh: This.
21853 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21855 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21857 [UNIX98] (pthread_barrier_t): Do not expect.
21858 [UNIX98] (pthread_barrierattr_t): Likewise.
21859 [UNIX98] (pthread_spinlock_t): Likewise.
21860 [UNIX98] (pthread_barrier_destroy): Likewise.
21861 [UNIX98] (pthread_barrier_init): Likewise.
21862 [UNIX98] (pthread_barrier_wait): Likewise.
21863 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21864 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21865 [UNIX98] (pthread_barrierattr_init): Likewise.
21866 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21867 [UNIX98] (pthread_getcpuclockid): Likewise.
21868 [UNIX98] (pthread_mutex_timedlock): Likewise.
21869 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21870 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21871 [UNIX98] (pthread_sigmask): Likewise.
21872 [UNIX98] (pthread_spin_destroy): Likewise.
21873 [UNIX98] (pthread_spin_init): Likewise.
21874 [UNIX98] (pthread_spin_lock): Likewise.
21875 [UNIX98] (pthread_spin_trylock): Likewise.
21876 [UNIX98] (pthread_spin_unlock): Likewise.
21877 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21879 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21880 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21881 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21882 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21883 [XPG3 || XPG4] (pthread_key_t): Likewise.
21884 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21885 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21886 [XPG3 || XPG4] (pthread_once_t): Likewise.
21887 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21888 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21889 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21890 [XPG3 || XPG4] (pthread_t): Likewise.
21892 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21894 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21896 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21897 Change function return type to int.
21899 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21900 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21901 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21902 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21903 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21904 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21905 [!POSIX] (posix_madvise): Likewise.
21906 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21908 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21909 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21910 (mode_t): Likewise.
21911 (posix_mem_offset): Likewise.
21912 (posix_typed_mem_get_info): Likewise.
21913 (posix_typed_mem_open): Likewise.
21915 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21916 Change condition to [XOPEN2K8].
21918 * conform/conformtest.pl: Preprocess allow-header data with -x c
21919 instead of from stdin.
21920 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21921 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21922 [C99-based standards] (cerfc): Likewise.
21923 [C99-based standards] (cexp2): Likewise.
21924 [C99-based standards] (cexpm1): Likewise.
21925 [C99-based standards] (clog10): Likewise.
21926 [C99-based standards] (clog1p): Likewise.
21927 [C99-based standards] (clog2): Likewise.
21928 [C99-based standards] (clgamma): Likewise.
21929 [C99-based standards] (ctgamma): Likewise.
21930 [C99-based standards] (cerff): Likewise.
21931 [C99-based standards] (cerfcf): Likewise.
21932 [C99-based standards] (cexp2f): Likewise.
21933 [C99-based standards] (cexpm1f): Likewise.
21934 [C99-based standards] (clog10f): Likewise.
21935 [C99-based standards] (clog1pf): Likewise.
21936 [C99-based standards] (clog2f): Likewise.
21937 [C99-based standards] (clgammaf): Likewise.
21938 [C99-based standards] (ctgammaf): Likewise.
21939 [C99-based standards] (cerfl): Likewise.
21940 [C99-based standards] (cerfcl): Likewise.
21941 [C99-based standards] (cexp2l): Likewise.
21942 [C99-based standards] (cexpm1l): Likewise.
21943 [C99-based standards] (clog10l): Likewise.
21944 [C99-based standards] (clog1pl): Likewise.
21945 [C99-based standards] (clog2l): Likewise.
21946 [C99-based standards] (clgammal): Likewise.
21947 [C99-based standards] (ctgammal): Likewise.
21948 * conform/data/inttypes.h-data [C99-based standards]: Include
21949 stdint.h-data. Remove all expectations for stdint.h contents.
21950 [C99-based standards] (PRI*): Do not allow.
21951 [C99-based standards] (SCN*): Likewise.
21952 [C99-based standards] (*_t): Likewise.
21953 [C99-based-standards] (PRId8): Expect macro.
21954 [C99-based-standards] (PRIi8): Likewise.
21955 [C99-based-standards] (PRIo8): Likewise.
21956 [C99-based-standards] (PRIu8): Likewise.
21957 [C99-based-standards] (PRIx8): Likewise.
21958 [C99-based-standards] (PRIX8): Likewise.
21959 [C99-based-standards] (SCNd8): Likewise.
21960 [C99-based-standards] (SCNi8): Likewise.
21961 [C99-based-standards] (SCNo8): Likewise.
21962 [C99-based-standards] (SCNu8): Likewise.
21963 [C99-based-standards] (SCNx8): Likewise.
21964 [C99-based-standards] (PRIdLEAST8): Likewise.
21965 [C99-based-standards] (PRIiLEAST8): Likewise.
21966 [C99-based-standards] (PRIoLEAST8): Likewise.
21967 [C99-based-standards] (PRIuLEAST8): Likewise.
21968 [C99-based-standards] (PRIxLEAST8): Likewise.
21969 [C99-based-standards] (PRIXLEAST8): Likewise.
21970 [C99-based-standards] (SCNdLEAST8): Likewise.
21971 [C99-based-standards] (SCNiLEAST8): Likewise.
21972 [C99-based-standards] (SCNoLEAST8): Likewise.
21973 [C99-based-standards] (SCNuLEAST8): Likewise.
21974 [C99-based-standards] (SCNxLEAST8): Likewise.
21975 [C99-based-standards] (PRIdFAST8): Likewise.
21976 [C99-based-standards] (PRIiFAST8): Likewise.
21977 [C99-based-standards] (PRIoFAST8): Likewise.
21978 [C99-based-standards] (PRIuFAST8): Likewise.
21979 [C99-based-standards] (PRIxFAST8): Likewise.
21980 [C99-based-standards] (PRIXFAST8): Likewise.
21981 [C99-based-standards] (SCNdFAST8): Likewise.
21982 [C99-based-standards] (SCNiFAST8): Likewise.
21983 [C99-based-standards] (SCNoFAST8): Likewise.
21984 [C99-based-standards] (SCNuFAST8): Likewise.
21985 [C99-based-standards] (SCNxFAST8): Likewise.
21986 [C99-based-standards] (PRId16): Likewise.
21987 [C99-based-standards] (PRIi16): Likewise.
21988 [C99-based-standards] (PRIo16): Likewise.
21989 [C99-based-standards] (PRIu16): Likewise.
21990 [C99-based-standards] (PRIx16): Likewise.
21991 [C99-based-standards] (PRIX16): Likewise.
21992 [C99-based-standards] (SCNd16): Likewise.
21993 [C99-based-standards] (SCNi16): Likewise.
21994 [C99-based-standards] (SCNo16): Likewise.
21995 [C99-based-standards] (SCNu16): Likewise.
21996 [C99-based-standards] (SCNx16): Likewise.
21997 [C99-based-standards] (PRIdLEAST16): Likewise.
21998 [C99-based-standards] (PRIiLEAST16): Likewise.
21999 [C99-based-standards] (PRIoLEAST16): Likewise.
22000 [C99-based-standards] (PRIuLEAST16): Likewise.
22001 [C99-based-standards] (PRIxLEAST16): Likewise.
22002 [C99-based-standards] (PRIXLEAST16): Likewise.
22003 [C99-based-standards] (SCNdLEAST16): Likewise.
22004 [C99-based-standards] (SCNiLEAST16): Likewise.
22005 [C99-based-standards] (SCNoLEAST16): Likewise.
22006 [C99-based-standards] (SCNuLEAST16): Likewise.
22007 [C99-based-standards] (SCNxLEAST16): Likewise.
22008 [C99-based-standards] (PRIdFAST16): Likewise.
22009 [C99-based-standards] (PRIiFAST16): Likewise.
22010 [C99-based-standards] (PRIoFAST16): Likewise.
22011 [C99-based-standards] (PRIuFAST16): Likewise.
22012 [C99-based-standards] (PRIxFAST16): Likewise.
22013 [C99-based-standards] (PRIXFAST16): Likewise.
22014 [C99-based-standards] (SCNdFAST16): Likewise.
22015 [C99-based-standards] (SCNiFAST16): Likewise.
22016 [C99-based-standards] (SCNoFAST16): Likewise.
22017 [C99-based-standards] (SCNuFAST16): Likewise.
22018 [C99-based-standards] (SCNxFAST16): Likewise.
22019 [C99-based-standards] (PRId32): Likewise.
22020 [C99-based-standards] (PRIi32): Likewise.
22021 [C99-based-standards] (PRIo32): Likewise.
22022 [C99-based-standards] (PRIu32): Likewise.
22023 [C99-based-standards] (PRIx32): Likewise.
22024 [C99-based-standards] (PRIX32): Likewise.
22025 [C99-based-standards] (SCNd32): Likewise.
22026 [C99-based-standards] (SCNi32): Likewise.
22027 [C99-based-standards] (SCNo32): Likewise.
22028 [C99-based-standards] (SCNu32): Likewise.
22029 [C99-based-standards] (SCNx32): Likewise.
22030 [C99-based-standards] (PRIdLEAST32): Likewise.
22031 [C99-based-standards] (PRIiLEAST32): Likewise.
22032 [C99-based-standards] (PRIoLEAST32): Likewise.
22033 [C99-based-standards] (PRIuLEAST32): Likewise.
22034 [C99-based-standards] (PRIxLEAST32): Likewise.
22035 [C99-based-standards] (PRIXLEAST32): Likewise.
22036 [C99-based-standards] (SCNdLEAST32): Likewise.
22037 [C99-based-standards] (SCNiLEAST32): Likewise.
22038 [C99-based-standards] (SCNoLEAST32): Likewise.
22039 [C99-based-standards] (SCNuLEAST32): Likewise.
22040 [C99-based-standards] (SCNxLEAST32): Likewise.
22041 [C99-based-standards] (PRIdFAST32): Likewise.
22042 [C99-based-standards] (PRIiFAST32): Likewise.
22043 [C99-based-standards] (PRIoFAST32): Likewise.
22044 [C99-based-standards] (PRIuFAST32): Likewise.
22045 [C99-based-standards] (PRIxFAST32): Likewise.
22046 [C99-based-standards] (PRIXFAST32): Likewise.
22047 [C99-based-standards] (SCNdFAST32): Likewise.
22048 [C99-based-standards] (SCNiFAST32): Likewise.
22049 [C99-based-standards] (SCNoFAST32): Likewise.
22050 [C99-based-standards] (SCNuFAST32): Likewise.
22051 [C99-based-standards] (SCNxFAST32): Likewise.
22052 [C99-based-standards] (PRId64): Likewise.
22053 [C99-based-standards] (PRIi64): Likewise.
22054 [C99-based-standards] (PRIo64): Likewise.
22055 [C99-based-standards] (PRIu64): Likewise.
22056 [C99-based-standards] (PRIx64): Likewise.
22057 [C99-based-standards] (PRIX64): Likewise.
22058 [C99-based-standards] (SCNd64): Likewise.
22059 [C99-based-standards] (SCNi64): Likewise.
22060 [C99-based-standards] (SCNo64): Likewise.
22061 [C99-based-standards] (SCNu64): Likewise.
22062 [C99-based-standards] (SCNx64): Likewise.
22063 [C99-based-standards] (PRIdLEAST64): Likewise.
22064 [C99-based-standards] (PRIiLEAST64): Likewise.
22065 [C99-based-standards] (PRIoLEAST64): Likewise.
22066 [C99-based-standards] (PRIuLEAST64): Likewise.
22067 [C99-based-standards] (PRIxLEAST64): Likewise.
22068 [C99-based-standards] (PRIXLEAST64): Likewise.
22069 [C99-based-standards] (SCNdLEAST64): Likewise.
22070 [C99-based-standards] (SCNiLEAST64): Likewise.
22071 [C99-based-standards] (SCNoLEAST64): Likewise.
22072 [C99-based-standards] (SCNuLEAST64): Likewise.
22073 [C99-based-standards] (SCNxLEAST64): Likewise.
22074 [C99-based-standards] (PRIdFAST64): Likewise.
22075 [C99-based-standards] (PRIiFAST64): Likewise.
22076 [C99-based-standards] (PRIoFAST64): Likewise.
22077 [C99-based-standards] (PRIuFAST64): Likewise.
22078 [C99-based-standards] (PRIxFAST64): Likewise.
22079 [C99-based-standards] (PRIXFAST64): Likewise.
22080 [C99-based-standards] (SCNdFAST64): Likewise.
22081 [C99-based-standards] (SCNiFAST64): Likewise.
22082 [C99-based-standards] (SCNoFAST64): Likewise.
22083 [C99-based-standards] (SCNuFAST64): Likewise.
22084 [C99-based-standards] (SCNxFAST64): Likewise.
22085 [C99-based-standards] (PRIdMAX): Likewise.
22086 [C99-based-standards] (PRIiMAX): Likewise.
22087 [C99-based-standards] (PRIoMAX): Likewise.
22088 [C99-based-standards] (PRIuMAX): Likewise.
22089 [C99-based-standards] (PRIxMAX): Likewise.
22090 [C99-based-standards] (PRIXMAX): Likewise.
22091 [C99-based-standards] (SCNdMAX): Likewise.
22092 [C99-based-standards] (SCNiMAX): Likewise.
22093 [C99-based-standards] (SCNoMAX): Likewise.
22094 [C99-based-standards] (SCNuMAX): Likewise.
22095 [C99-based-standards] (SCNxMAX): Likewise.
22096 [C99-based-standards] (PRIdPTR): Likewise.
22097 [C99-based-standards] (PRIiPTR): Likewise.
22098 [C99-based-standards] (PRIoPTR): Likewise.
22099 [C99-based-standards] (PRIuPTR): Likewise.
22100 [C99-based-standards] (PRIxPTR): Likewise.
22101 [C99-based-standards] (PRIXPTR): Likewise.
22102 [C99-based-standards] (SCNdPTR): Likewise.
22103 [C99-based-standards] (SCNiPTR): Likewise.
22104 [C99-based-standards] (SCNoPTR): Likewise.
22105 [C99-based-standards] (SCNuPTR): Likewise.
22106 [C99-based-standards] (SCNxPTR): Likewise.
22107 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22109 * conform/data/stdint.h-data: Update comments to clarify
22111 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22113 [C99-based standards] (INT8_MAX): Likewise.
22114 [C99-based standards] (INT16_MIN): Likewise.
22115 [C99-based standards] (INT16_MAX): Likewise.
22116 [C99-based standards] (INT32_MIN): Likewise.
22117 [C99-based standards] (INT32_MAX): Likewise.
22118 [C99-based standards] (INT64_MIN): Likewise.
22119 [C99-based standards] (INT64_MAX): Likewise.
22120 [C99-based standards] (UINT8_MAX): Likewise.
22121 [C99-based standards] (UINT16_MAX): Likewise.
22122 [C99-based standards] (UINT32_MAX): Likewise.
22123 [C99-based standards] (UINT64_MAX): Likewise.
22124 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22125 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22126 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22127 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22128 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22129 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22130 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22131 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22132 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22133 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22134 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22135 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22136 [C99-based standards] (INT_FAST8_MIN): Likewise.
22137 [C99-based standards] (INT_FAST8_MAX): Likewise.
22138 [C99-based standards] (INT_FAST16_MIN): Likewise.
22139 [C99-based standards] (INT_FAST16_MAX): Likewise.
22140 [C99-based standards] (INT_FAST32_MIN): Likewise.
22141 [C99-based standards] (INT_FAST32_MAX): Likewise.
22142 [C99-based standards] (INT_FAST64_MIN): Likewise.
22143 [C99-based standards] (INT_FAST64_MAX): Likewise.
22144 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22145 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22146 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22147 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22148 [C99-based standards] (INTPTR_MIN): Likewise.
22149 [C99-based standards] (INTPTR_MAX): Likewise.
22150 [C99-based standards] (UINTPTR_MAX): Likewise.
22151 [C99-based standards] (INTMAX_MIN): Likewise.
22152 [C99-based standards] (INTMAX_MAX): Likewise.
22153 [C99-based standards] (UINTMAX_MAX): Likewise.
22154 [C99-based standards] (PTRDIFF_MIN): Likewise.
22155 [C99-based standards] (PTRDIFF_MAX): Likewise.
22156 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22157 [C99-based standards] (SIZE_MAX): Likewise.
22158 [C99-based standards] (WCHAR_MAX): Likewise.
22159 [C99-based standards] (WINT_MAX): Likewise.
22160 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22161 constraint on value.
22162 [C99-based standards] (WCHAR_MIN): Likewise.
22163 [C99-based standards] (WINT_MIN): Likewise.
22164 [C99-based standards] (*_t): Allow.
22165 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22166 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22167 Include math.h-data and complex.h-data. Remove all expectations
22168 of math.h and complex.h contents.
22169 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22171 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22172 (struct tm): Expect tag.
22173 [C99-based-standards] (wcstof): Expect function.
22174 [C99-based-standards] (wcstold): Likewise.
22175 [C99-based-standards] (wcstoll): Likewise.
22176 [C99-based-standards] (wcstoull): Likewise.
22177 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22178 macro-int-constant. Specify type.
22179 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22180 constraint on value.
22181 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22183 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22185 [ISO C standards]: Do not allow headers.
22186 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22187 wcs[abcdefghijklmnopqrstuvwxyz]*.
22188 [ISO C standards] (*_t): Do not allow.
22189 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22191 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22192 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22194 [ISO C standards]: Do not allow headers.
22195 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22196 is[abcdefghijklmnopqrstuvwxyz]*.
22197 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22198 to[abcdefghijklmnopqrstuvwxyz]*.
22199 [ISO C standards] (*_t): Do not allow.
22200 * conform/data/stdalign.h-data: New file.
22201 * conform/data/stdbool.h-data: Likewise.
22202 * conform/data/stdnoreturn.h-data: Likewise.
22204 2012-11-07 Roland McGrath <roland@hack.frob.com>
22207 * manual/filesys.texi (Directory Entries): Typo fix.
22208 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22210 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22212 * elf/elf.h (EM_AARCH64): New macro.
22213 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22214 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22215 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22216 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22217 (R_AARCH64_TLSDESC): Likewise.
22218 (NT_ARM_TLS): Likewise.
22219 (NT_ARM_HW_BREAK): Likewise.
22220 (NT_ARM_HW_WATCH): Likewise.
22222 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22225 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22226 (__ieee754_powl): Saturate nonzero exponents with absolute value
22227 below 0x1p-79 to +/- 0x1p-79.
22228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22229 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22230 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22231 nonzero exponents with absolute value below 0x1p-32 to +/-
22233 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22234 (__ieee754_powl): Saturate nonzero exponents with absolute value
22235 below 0x1p-79 to +/- 0x1p-79.
22236 * math/libm-test.inc (pow_test): Add more tests.
22238 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22240 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22241 _dl_s390_cap_flags with kernel. Increase string length.
22242 (_dl_s390_platforms): Add z196 and zEC12.
22244 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22246 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22247 Change XOPEN21K to XOPEN2K.
22249 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22251 * string/memmove.c: Use memcpy when possible.
22253 2012-11-06 Andreas Jaeger <aj@suse.de>
22255 * po/eo.po: Update from translation team.
22257 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22261 exponent and small x and y exponents, scale x or y up. Increase
22262 by 2 the exponent used in scaling up.
22263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22265 * math/libm-test.inc (fma_test): Add more tests.
22266 (fma_test_towardzero): Likewise.
22267 (fma_test_downward): Likewise.
22268 (fma_test_upward): Likewise.
22270 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22273 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22277 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22278 namespace for names of struct fields.
22279 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22281 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22282 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22284 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22287 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22289 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22291 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22295 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22298 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22302 definitely overflow as x * y not x * y + z.
22303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22305 * math/libm-test.inc (fma_test): Add more tests.
22306 (fma_test_towardzero): Likewise.
22307 (fma_test_downward): Likewise.
22308 (fma_test_upward): Likewise.
22310 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22314 * include/stub-tag.h: Remove file.
22315 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22317 * manual/maint.texi (Porting): Don't reference it.
22318 * Makerules ($(objpfx)stubs): Likewise.
22319 * dirent/closedir.c: Don't include <stub-tag.h>.
22320 * dirent/dirfd.c: Likewise.
22321 * dirent/fdopendir.c: Likewise.
22322 * dirent/getdents.c: Likewise.
22323 * dirent/getdents64.c: Likewise.
22324 * dirent/opendir.c: Likewise.
22325 * dirent/readdir.c: Likewise.
22326 * dirent/readdir64.c: Likewise.
22327 * dirent/readdir64_r.c: Likewise.
22328 * dirent/readdir_r.c: Likewise.
22329 * dirent/rewinddir.c: Likewise.
22330 * dirent/seekdir.c: Likewise.
22331 * dirent/telldir.c: Likewise.
22332 * gmon/profil.c: Likewise.
22333 * grp/setgroups.c: Likewise.
22334 * inet/if_index.c: Likewise.
22335 * io/access.c: Likewise.
22336 * io/chdir.c: Likewise.
22337 * io/chmod.c: Likewise.
22338 * io/chown.c: Likewise.
22339 * io/close.c: Likewise.
22340 * io/dup.c: Likewise.
22341 * io/dup2.c: Likewise.
22342 * io/dup3.c: Likewise.
22343 * io/euidaccess.c: Likewise.
22344 * io/faccessat.c: Likewise.
22345 * io/fchdir.c: Likewise.
22346 * io/fchmod.c: Likewise.
22347 * io/fchmodat.c: Likewise.
22348 * io/fchown.c: Likewise.
22349 * io/fchownat.c: Likewise.
22350 * io/fcntl.c: Likewise.
22351 * io/flock.c: Likewise.
22352 * io/fstatfs.c: Likewise.
22353 * io/fstatfs64.c: Likewise.
22354 * io/fstatvfs.c: Likewise.
22355 * io/fstatvfs64.c: Likewise.
22356 * io/futimens.c: Likewise.
22357 * io/fxstat.c: Likewise.
22358 * io/fxstat64.c: Likewise.
22359 * io/fxstatat.c: Likewise.
22360 * io/fxstatat64.c: Likewise.
22361 * io/getcwd.c: Likewise.
22362 * io/isatty.c: Likewise.
22363 * io/lchmod.c: Likewise.
22364 * io/lchown.c: Likewise.
22365 * io/link.c: Likewise.
22366 * io/linkat.c: Likewise.
22367 * io/lseek.c: Likewise.
22368 * io/lseek64.c: Likewise.
22369 * io/lxstat64.c: Likewise.
22370 * io/mkdir.c: Likewise.
22371 * io/mkdirat.c: Likewise.
22372 * io/mkfifo.c: Likewise.
22373 * io/mkfifoat.c: Likewise.
22374 * io/open.c: Likewise.
22375 * io/open64.c: Likewise.
22376 * io/openat.c: Likewise.
22377 * io/openat64.c: Likewise.
22378 * io/pipe.c: Likewise.
22379 * io/pipe2.c: Likewise.
22380 * io/poll.c: Likewise.
22381 * io/posix_fadvise.c: Likewise.
22382 * io/posix_fadvise64.c: Likewise.
22383 * io/posix_fallocate.c: Likewise.
22384 * io/posix_fallocate64.c: Likewise.
22385 * io/read.c: Likewise.
22386 * io/readlink.c: Likewise.
22387 * io/readlinkat.c: Likewise.
22388 * io/rmdir.c: Likewise.
22389 * io/sendfile.c: Likewise.
22390 * io/sendfile64.c: Likewise.
22391 * io/statfs.c: Likewise.
22392 * io/statfs64.c: Likewise.
22393 * io/statvfs.c: Likewise.
22394 * io/statvfs64.c: Likewise.
22395 * io/symlink.c: Likewise.
22396 * io/symlinkat.c: Likewise.
22397 * io/ttyname.c: Likewise.
22398 * io/ttyname_r.c: Likewise.
22399 * io/umask.c: Likewise.
22400 * io/unlink.c: Likewise.
22401 * io/unlinkat.c: Likewise.
22402 * io/utime.c: Likewise.
22403 * io/utimensat.c: Likewise.
22404 * io/write.c: Likewise.
22405 * io/xmknod.c: Likewise.
22406 * io/xmknodat.c: Likewise.
22407 * io/xstat.c: Likewise.
22408 * io/xstat64.c: Likewise.
22409 * login/getpt.c: Likewise.
22410 * login/grantpt.c: Likewise.
22411 * login/unlockpt.c: Likewise.
22412 * math/e_acoshl.c: Likewise.
22413 * math/e_acosl.c: Likewise.
22414 * math/e_asinl.c: Likewise.
22415 * math/e_atan2l.c: Likewise.
22416 * math/e_atanhl.c: Likewise.
22417 * math/e_coshl.c: Likewise.
22418 * math/e_expl.c: Likewise.
22419 * math/e_fmodl.c: Likewise.
22420 * math/e_gammal_r.c: Likewise.
22421 * math/e_hypotl.c: Likewise.
22422 * math/e_j0l.c: Likewise.
22423 * math/e_j1l.c: Likewise.
22424 * math/e_jnl.c: Likewise.
22425 * math/e_lgammal_r.c: Likewise.
22426 * math/e_log10l.c: Likewise.
22427 * math/e_log2l.c: Likewise.
22428 * math/e_logl.c: Likewise.
22429 * math/e_powl.c: Likewise.
22430 * math/e_rem_pio2l.c: Likewise.
22431 * math/e_sinhl.c: Likewise.
22432 * math/e_sqrtl.c: Likewise.
22433 * math/fclrexcpt.c: Likewise.
22434 * math/fedisblxcpt.c: Likewise.
22435 * math/feenablxcpt.c: Likewise.
22436 * math/fegetenv.c: Likewise.
22437 * math/fegetexcept.c: Likewise.
22438 * math/fegetround.c: Likewise.
22439 * math/feholdexcpt.c: Likewise.
22440 * math/fesetenv.c: Likewise.
22441 * math/fesetround.c: Likewise.
22442 * math/feupdateenv.c: Likewise.
22443 * math/fgetexcptflg.c: Likewise.
22444 * math/fraiseexcpt.c: Likewise.
22445 * math/fsetexcptflg.c: Likewise.
22446 * math/ftestexcept.c: Likewise.
22447 * math/k_cosl.c: Likewise.
22448 * math/k_rem_pio2l.c: Likewise.
22449 * math/k_sinl.c: Likewise.
22450 * math/k_tanl.c: Likewise.
22451 * math/s_asinhl.c: Likewise.
22452 * math/s_atanl.c: Likewise.
22453 * math/s_cbrtl.c: Likewise.
22454 * math/s_erfl.c: Likewise.
22455 * math/s_expm1l.c: Likewise.
22456 * math/s_log1pl.c: Likewise.
22457 * math/s_tanhl.c: Likewise.
22458 * misc/acct.c: Likewise.
22459 * misc/brk.c: Likewise.
22460 * misc/chflags.c: Likewise.
22461 * misc/chroot.c: Likewise.
22462 * misc/fchflags.c: Likewise.
22463 * misc/fgetxattr.c: Likewise.
22464 * misc/flistxattr.c: Likewise.
22465 * misc/fremovexattr.c: Likewise.
22466 * misc/fsetxattr.c: Likewise.
22467 * misc/fsync.c: Likewise.
22468 * misc/ftruncate.c: Likewise.
22469 * misc/futimes.c: Likewise.
22470 * misc/futimesat.c: Likewise.
22471 * misc/getdomain.c: Likewise.
22472 * misc/getdtsz.c: Likewise.
22473 * misc/gethostid.c: Likewise.
22474 * misc/gethostname.c: Likewise.
22475 * misc/getloadavg.c: Likewise.
22476 * misc/getpagesize.c: Likewise.
22477 * misc/getsysstats.c: Likewise.
22478 * misc/getxattr.c: Likewise.
22479 * misc/gtty.c: Likewise.
22480 * misc/ioctl.c: Likewise.
22481 * misc/lgetxattr.c: Likewise.
22482 * misc/listxattr.c: Likewise.
22483 * misc/llistxattr.c: Likewise.
22484 * misc/lremovexattr.c: Likewise.
22485 * misc/lsetxattr.c: Likewise.
22486 * misc/lutimes.c: Likewise.
22487 * misc/madvise.c: Likewise.
22488 * misc/mincore.c: Likewise.
22489 * misc/mlock.c: Likewise.
22490 * misc/mlockall.c: Likewise.
22491 * misc/mmap.c: Likewise.
22492 * misc/mprotect.c: Likewise.
22493 * misc/msync.c: Likewise.
22494 * misc/munlock.c: Likewise.
22495 * misc/munlockall.c: Likewise.
22496 * misc/munmap.c: Likewise.
22497 * misc/preadv.c: Likewise.
22498 * misc/preadv64.c: Likewise.
22499 * misc/ptrace.c: Likewise.
22500 * misc/pwritev.c: Likewise.
22501 * misc/pwritev64.c: Likewise.
22502 * misc/readv.c: Likewise.
22503 * misc/reboot.c: Likewise.
22504 * misc/remap_file_pages.c: Likewise.
22505 * misc/removexattr.c: Likewise.
22506 * misc/revoke.c: Likewise.
22507 * misc/select.c: Likewise.
22508 * misc/setdomain.c: Likewise.
22509 * misc/setegid.c: Likewise.
22510 * misc/seteuid.c: Likewise.
22511 * misc/sethostid.c: Likewise.
22512 * misc/sethostname.c: Likewise.
22513 * misc/setregid.c: Likewise.
22514 * misc/setreuid.c: Likewise.
22515 * misc/setxattr.c: Likewise.
22516 * misc/sstk.c: Likewise.
22517 * misc/stty.c: Likewise.
22518 * misc/swapoff.c: Likewise.
22519 * misc/swapon.c: Likewise.
22520 * misc/sync.c: Likewise.
22521 * misc/syncfs.c: Likewise.
22522 * misc/syscall.c: Likewise.
22523 * misc/truncate.c: Likewise.
22524 * misc/ualarm.c: Likewise.
22525 * misc/usleep.c: Likewise.
22526 * misc/ustat.c: Likewise.
22527 * misc/utimes.c: Likewise.
22528 * misc/vhangup.c: Likewise.
22529 * misc/writev.c: Likewise.
22530 * posix/_exit.c: Likewise.
22531 * posix/alarm.c: Likewise.
22532 * posix/execve.c: Likewise.
22533 * posix/fexecve.c: Likewise.
22534 * posix/fork.c: Likewise.
22535 * posix/fpathconf.c: Likewise.
22536 * posix/getaddrinfo.c: Likewise.
22537 * posix/getegid.c: Likewise.
22538 * posix/geteuid.c: Likewise.
22539 * posix/getgid.c: Likewise.
22540 * posix/getgroups.c: Likewise.
22541 * posix/getlogin.c: Likewise.
22542 * posix/getlogin_r.c: Likewise.
22543 * posix/getpgid.c: Likewise.
22544 * posix/getpid.c: Likewise.
22545 * posix/getppid.c: Likewise.
22546 * posix/getresgid.c: Likewise.
22547 * posix/getresuid.c: Likewise.
22548 * posix/getsid.c: Likewise.
22549 * posix/getuid.c: Likewise.
22550 * posix/glob64.c: Likewise.
22551 * posix/nanosleep.c: Likewise.
22552 * posix/pathconf.c: Likewise.
22553 * posix/pause.c: Likewise.
22554 * posix/posix_madvise.c: Likewise.
22555 * posix/pread.c: Likewise.
22556 * posix/pread64.c: Likewise.
22557 * posix/pwrite.c: Likewise.
22558 * posix/pwrite64.c: Likewise.
22559 * posix/sched_getaffinity.c: Likewise.
22560 * posix/sched_getp.c: Likewise.
22561 * posix/sched_gets.c: Likewise.
22562 * posix/sched_primax.c: Likewise.
22563 * posix/sched_primin.c: Likewise.
22564 * posix/sched_rr_gi.c: Likewise.
22565 * posix/sched_setaffinity.c: Likewise.
22566 * posix/sched_setp.c: Likewise.
22567 * posix/sched_sets.c: Likewise.
22568 * posix/sched_yield.c: Likewise.
22569 * posix/setgid.c: Likewise.
22570 * posix/setlogin.c: Likewise.
22571 * posix/setpgid.c: Likewise.
22572 * posix/setresgid.c: Likewise.
22573 * posix/setresuid.c: Likewise.
22574 * posix/setsid.c: Likewise.
22575 * posix/setuid.c: Likewise.
22576 * posix/sleep.c: Likewise.
22577 * posix/spawni.c: Likewise.
22578 * posix/sysconf.c: Likewise.
22579 * posix/times.c: Likewise.
22580 * posix/wait.c: Likewise.
22581 * posix/wait3.c: Likewise.
22582 * posix/wait4.c: Likewise.
22583 * posix/waitpid.c: Likewise.
22584 * resolv/gai_sigqueue.c: Likewise.
22585 * resource/getpriority.c: Likewise.
22586 * resource/getrlimit.c: Likewise.
22587 * resource/getrusage.c: Likewise.
22588 * resource/nice.c: Likewise.
22589 * resource/setpriority.c: Likewise.
22590 * resource/setrlimit.c: Likewise.
22591 * resource/ulimit.c: Likewise.
22592 * rt/aio_cancel.c: Likewise.
22593 * rt/aio_fsync.c: Likewise.
22594 * rt/aio_read.c: Likewise.
22595 * rt/aio_sigqueue.c: Likewise.
22596 * rt/aio_suspend.c: Likewise.
22597 * rt/aio_write.c: Likewise.
22598 * rt/clock_getres.c: Likewise.
22599 * rt/clock_gettime.c: Likewise.
22600 * rt/clock_nanosleep.c: Likewise.
22601 * rt/clock_settime.c: Likewise.
22602 * rt/lio_listio.c: Likewise.
22603 * rt/mq_close.c: Likewise.
22604 * rt/mq_getattr.c: Likewise.
22605 * rt/mq_notify.c: Likewise.
22606 * rt/mq_open.c: Likewise.
22607 * rt/mq_receive.c: Likewise.
22608 * rt/mq_send.c: Likewise.
22609 * rt/mq_setattr.c: Likewise.
22610 * rt/mq_timedreceive.c: Likewise.
22611 * rt/mq_timedsend.c: Likewise.
22612 * rt/mq_unlink.c: Likewise.
22613 * rt/shm_open.c: Likewise.
22614 * rt/shm_unlink.c: Likewise.
22615 * rt/timer_create.c: Likewise.
22616 * rt/timer_delete.c: Likewise.
22617 * rt/timer_getoverr.c: Likewise.
22618 * rt/timer_gettime.c: Likewise.
22619 * rt/timer_settime.c: Likewise.
22620 * setjmp/__longjmp.c: Likewise.
22621 * setjmp/setjmp.c: Likewise.
22622 * signal/kill.c: Likewise.
22623 * signal/killpg.c: Likewise.
22624 * signal/raise.c: Likewise.
22625 * signal/sigaction.c: Likewise.
22626 * signal/sigaltstack.c: Likewise.
22627 * signal/sigblock.c: Likewise.
22628 * signal/sigignore.c: Likewise.
22629 * signal/sigintr.c: Likewise.
22630 * signal/signal.c: Likewise.
22631 * signal/sigpause.c: Likewise.
22632 * signal/sigpending.c: Likewise.
22633 * signal/sigqueue.c: Likewise.
22634 * signal/sigreturn.c: Likewise.
22635 * signal/sigset.c: Likewise.
22636 * signal/sigsetmask.c: Likewise.
22637 * signal/sigstack.c: Likewise.
22638 * signal/sigsuspend.c: Likewise.
22639 * signal/sigtimedwait.c: Likewise.
22640 * signal/sigvec.c: Likewise.
22641 * signal/sigwait.c: Likewise.
22642 * signal/sigwaitinfo.c: Likewise.
22643 * signal/sysv_signal.c: Likewise.
22644 * socket/accept.c: Likewise.
22645 * socket/accept4.c: Likewise.
22646 * socket/bind.c: Likewise.
22647 * socket/connect.c: Likewise.
22648 * socket/getpeername.c: Likewise.
22649 * socket/getsockname.c: Likewise.
22650 * socket/getsockopt.c: Likewise.
22651 * socket/isfdtype.c: Likewise.
22652 * socket/listen.c: Likewise.
22653 * socket/recv.c: Likewise.
22654 * socket/recvfrom.c: Likewise.
22655 * socket/recvmsg.c: Likewise.
22656 * socket/send.c: Likewise.
22657 * socket/sendmsg.c: Likewise.
22658 * socket/sendto.c: Likewise.
22659 * socket/setsockopt.c: Likewise.
22660 * socket/shutdown.c: Likewise.
22661 * socket/sockatmark.c: Likewise.
22662 * socket/socket.c: Likewise.
22663 * socket/socketpair.c: Likewise.
22664 * stdio-common/ctermid.c: Likewise.
22665 * stdio-common/cuserid.c: Likewise.
22666 * stdio-common/remove.c: Likewise.
22667 * stdio-common/rename.c: Likewise.
22668 * stdio-common/renameat.c: Likewise.
22669 * stdio-common/tempname.c: Likewise.
22670 * stdlib/getcontext.c: Likewise.
22671 * stdlib/makecontext.c: Likewise.
22672 * stdlib/setcontext.c: Likewise.
22673 * stdlib/swapcontext.c: Likewise.
22674 * stdlib/system.c: Likewise.
22675 * streams/fattach.c: Likewise.
22676 * streams/fdetach.c: Likewise.
22677 * streams/getmsg.c: Likewise.
22678 * streams/getpmsg.c: Likewise.
22679 * streams/putmsg.c: Likewise.
22680 * streams/putpmsg.c: Likewise.
22681 * sysdeps/unix/bsd/getpt.c: Likewise.
22682 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22683 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22684 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22687 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22688 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22689 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22690 * sysvipc/msgctl.c: Likewise.
22691 * sysvipc/msgget.c: Likewise.
22692 * sysvipc/msgrcv.c: Likewise.
22693 * sysvipc/msgsnd.c: Likewise.
22694 * sysvipc/semctl.c: Likewise.
22695 * sysvipc/semget.c: Likewise.
22696 * sysvipc/semop.c: Likewise.
22697 * sysvipc/semtimedop.c: Likewise.
22698 * sysvipc/shmat.c: Likewise.
22699 * sysvipc/shmctl.c: Likewise.
22700 * sysvipc/shmdt.c: Likewise.
22701 * sysvipc/shmget.c: Likewise.
22702 * termios/tcdrain.c: Likewise.
22703 * termios/tcflow.c: Likewise.
22704 * termios/tcflush.c: Likewise.
22705 * termios/tcgetattr.c: Likewise.
22706 * termios/tcgetpgrp.c: Likewise.
22707 * termios/tcsendbrk.c: Likewise.
22708 * termios/tcsetattr.c: Likewise.
22709 * termios/tcsetpgrp.c: Likewise.
22710 * time/adjtime.c: Likewise.
22711 * time/clock.c: Likewise.
22712 * time/getitimer.c: Likewise.
22713 * time/gettimeofday.c: Likewise.
22714 * time/setitimer.c: Likewise.
22715 * time/settimeofday.c: Likewise.
22716 * time/stime.c: Likewise.
22717 * time/time.c: Likewise.
22719 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22721 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22724 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22726 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22728 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22732 FE_TONEAREST before applying Dekker multiplication and Knuth
22733 addition. Clear inexact exceptions and check for exact zero
22734 results afterwards.
22735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22738 * math/libm-test.inc (fma_test): Add more tests.
22739 (fma_test_towardzero): Likewise.
22740 (fma_test_downward): Likewise.
22741 (fma_test_upward): Likewise.
22742 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22744 (libc_fesetround): New macro.
22745 (libc_fesetroundf): Likewise.
22746 (libc_fesetroundl): Likewise.
22747 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22749 (libc_fesetround_387): Likewise.
22750 (libc_fesetroundf): New macro.
22751 (libc_fesetround): Likewise.
22752 (libc_fesetroundl): Likewise.
22753 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22755 (libc_fesetroundf): New macro.
22756 (libc_fesetround): Likewise.
22757 (libc_fesetroundl): Likewise.
22758 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22759 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22760 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22762 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22763 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22765 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22766 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22768 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22772 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22773 integer constant usable in #if and use that to give value to enum
22775 (FE_DIVBYZERO): Likewise.
22776 (FE_UNDERFLOW): Likewise.
22777 (FE_OVERFLOW): Likewise.
22778 (FE_INVALID): Likewise.
22779 (FE_INVALID_SNAN): Likewise.
22780 (FE_INVALID_ISI): Likewise.
22781 (FE_INVALID_IDI): Likewise.
22782 (FE_INVALID_ZDZ): Likewise.
22783 (FE_INVALID_IMZ): Likewise.
22784 (FE_INVALID_COMPARE): Likewise.
22785 (FE_INVALID_SOFTWARE): Likewise.
22786 (FE_INVALID_SQRT): Likewise.
22787 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22788 (FE_TONEAREST): Likewise.
22789 (FE_TOWARDZERO): Likewise.
22790 (FE_UPWARD): Likewise.
22791 (FE_DOWNWARD): Likewise.
22792 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22793 (FE_DIVBYZERO): Likewise.
22794 (FE_OVERFLOW): Likewise.
22795 (FE_UNDERFLOW): Likewise.
22796 (FE_INEXACT): Likewise.
22797 (FE_TONEAREST): Likewise.
22798 (FE_DOWNWARD): Likewise.
22799 (FE_UPWARD): Likewise.
22800 (FE_TOWARDZERO): Likewise.
22801 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22802 (FE_UNDERFLOW): Likewise.
22803 (FE_OVERFLOW): Likewise.
22804 (FE_DIVBYZERO): Likewise.
22805 (FE_INVALID): Likewise.
22806 (FE_TONEAREST): Likewise.
22807 (FE_TOWARDZERO): Likewise.
22808 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22809 (FE_OVERFLOW): Likewise.
22810 (FE_UNDERFLOW): Likewise.
22811 (FE_DIVBYZERO): Likewise.
22812 (FE_INEXACT): Likewise.
22813 (FE_TONEAREST): Likewise.
22814 (FE_TOWARDZERO): Likewise.
22815 (FE_UPWARD): Likewise.
22816 (FE_DOWNWARD): Likewise.
22817 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22818 (FE_DIVBYZERO): Likewise.
22819 (FE_OVERFLOW): Likewise.
22820 (FE_UNDERFLOW): Likewise.
22821 (FE_INEXACT): Likewise.
22822 (FE_TONEAREST): Likewise.
22823 (FE_DOWNWARD): Likewise.
22824 (FE_UPWARD): Likewise.
22825 (FE_TOWARDZERO): Likewise.
22827 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22829 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22831 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22833 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22834 commands. Quote $PWD.
22835 (blacklist_exports): Don't use remove_newlines. Replace "declare
22837 (remove_newlines): Remove.
22839 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22841 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22842 * stdlib/stdlib.h (atof): Moved to ...
22843 * include/bits/stdlib-float.h: Here. New file.
22844 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22845 * stdlib/bits/stdlib-float.h: New file.
22846 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22851 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22853 * conform/conformtest.pl (@headers): Add fenv.h.
22854 * conform/data/fenv.h-data: New file.
22855 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22856 include of <math/fenv.h>.
22858 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22859 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22860 && !UNIX98]. Enables tests for XOPEN2K8.
22861 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22862 POSIX2008]: Likewise.
22864 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22865 (struct rusage): Do not expect type or its members.
22868 * math/math.h (FP_NAN): Define macro to integer constant usable in
22869 #if and use that to give value to enum constant.
22870 (FP_INFINITE): Likewise.
22871 (FP_ZERO): Likewise.
22872 (FP_SUBNORMAL): Likewise.
22873 (FP_NORMAL): Likewise.
22875 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22877 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22878 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22881 2012-11-02 Roland McGrath <roland@hack.frob.com>
22883 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22884 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22885 autoconf-time if not.
22886 * configure.in: Remove AC_PREREQ.
22888 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22890 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22891 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22892 of the internal implementation.
22894 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22896 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22897 except include of <misc/sys/syslog.h>.
22899 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22902 function returns with a NULL context exit with zero.
22904 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22906 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22908 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22910 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22911 (run_program_cmd): This.
22912 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22913 (tst_langinfo): New variable. Use it.
22915 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22917 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22918 floating point opcodes.
22920 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22922 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22925 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22927 * sysdeps/mach/hurd/powerpc: Remove directory.
22928 * sysdeps/mach/powerpc: Likewise.
22930 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22932 * scripts/check-local-headers.sh: Ignore c++ headers.
22934 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22936 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22937 __libc_cleanup_region_start argument.
22939 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22944 x * y using scaling, not as x * y + z.
22945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22947 * math/libm-test.inc (fma_test): Add more tests.
22948 (fma_test_towardzero): Likewise.
22949 (fma_test_downward): Likewise.
22950 (fma_test_upward): Likewise.
22952 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22954 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22956 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22958 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22961 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22963 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22965 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22972 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22975 Fix the order of the list for glibc 2.17.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22979 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22983 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22986 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22987 for low part of x being zero before using __atanl (y).
22988 * math/libm-test.inc (atan2_test): Add another test.
22990 * manual/install.texi (Configuring and compiling): Document
22991 general use of test-wrapper and test-wrapper-env.
22992 * INSTALL: Regenerated.
22994 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22995 (__fma): Do not extract and scale down low bits on after-rounding
22996 systems when result rounded to normal precision would have normal
22998 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22999 (__fmal): Do not extract and scale down low bits on after-rounding
23000 systems when result rounded to normal precision would have normal
23002 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23003 (__fmal): Do not extract and scale down low bits on after-rounding
23004 systems when result rounded to normal precision would have normal
23006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23008 (fma_test): Add more tests.
23009 (fma_test_towardzero): Likewise.
23010 (fma_test_downward): Likewise.
23011 (fma_test_upward): Likewise.
23013 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23015 * sysdeps/i386/tininess.h: Renamed to ...
23016 * sysdeps/x86/tininess.h: This.
23017 * sysdeps/x86_64/tininess.h: Removed.
23019 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23021 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23022 input. Use $(build-program-cmd).
23023 ($(objpfx)tst-array1-static.out): Likewise.
23024 ($(objpfx)tst-array2.out): Likewise.
23025 ($(objpfx)tst-array3.out): Likewise.
23026 ($(objpfx)tst-array4.out): Likewise.
23027 ($(objpfx)tst-array5.out): Likewise.
23028 ($(objpfx)tst-array5-static.out): Likewise.
23030 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23032 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23035 * nss/nsswitch.h (nss_interface_function): Provide new
23036 macro for use with NSS functions.
23037 * grp/initgroups.c: Use new macro.
23038 * nss/getXXbyYY.c: Likewise.
23039 * nss/getXXbyYY_r.c: Likewise.
23040 * nss/getXXent.c: Likewise.
23041 * nss/getXXent_r.c: Likewise.
23042 * sysdeps/posix/getaddrinfo.c: Likewise.
23044 2012-10-30 Andreas Jaeger <aj@suse.de>
23046 * po/ru.po: Update Russion translation from translation project.
23048 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23053 result and shift together with sticky bit instead of replicating
23054 round-to-nearest rounding.
23055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23057 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23058 missing underflow exceptions.
23059 (fma_test_towardzero): Add more tests.
23060 (fma_test_downward): Likewise.
23061 (fma_test_upward): Likewise.
23064 * sysdeps/generic/tininess.h: New file.
23065 * sysdeps/i386/tininess.h: Likewise.
23066 * sysdeps/sh/tininess.h: Likewise.
23067 * sysdeps/x86_64/tininess.h: Likewise.
23068 * stdlib/tst-strtod-underflow.c: Likewise.
23069 * stdlib/tst-tininess.c: Likewise.
23070 * stdlib/strtod_l.c: Include <tininess.h>.
23071 (round_and_return): Do not set errno for exact underflow cases.
23072 Force an underflow exception when setting errno for underflow.
23073 Determine underflow based on rounding to normal precision if
23074 TININESS_AFTER_ROUNDING.
23075 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23076 ERANGE for exact underflow cases.
23077 * stdlib/Makefile (tests): Add tst-tininess and
23078 tst-strtod-underflow.
23079 ($(objpfx)tst-tininess): Use $(link-libm).
23080 ($(objpfx)tst-strtod-underflow): Likewise.
23082 2012-10-30 Andreas Jaeger <aj@suse.de>
23085 * elf/Makefile (tests): Remove conditional for have-initfini-array
23086 since this is now always required and the variable does not exist
23088 (tests-static): Likewise.
23089 (modules-names): Likewise.
23091 * po/eo.po: Add Esperanto translation from translation project.
23093 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23094 merged with constructor/destructor.
23095 (init_array): Likewise.
23096 * elf/tst-array2dep.c (fini_array): Likewise.
23097 (init_array): Likewise.
23099 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23101 * manual/message.texi: Delete @cartouche tags.
23103 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23105 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23107 * sysdeps/mach/hurd/fsync.c: Likewise.
23109 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23110 [_POSIX_REALTIME_SIGNALS]: Change condition to
23111 [_POSIX_REALTIME_SIGNALS > 0].
23113 2012-10-27 Andreas Jaeger <aj@suse.de>
23115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23116 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23118 [__WORDSIZE != 64]: Likewise.
23120 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23122 * iconvdata/tst-table.sh: Remove ${SHELL}.
23123 * iconvdata/tst-tables.sh: Likewise.
23125 2012-10-25 David S. Miller <davem@davemloft.net>
23127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23128 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23134 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23135 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23138 2012-10-25 Roland McGrath <roland@hack.frob.com>
23140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23141 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23144 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23145 Jim Blandy <jimb@codesourcery.com>
23147 * scripts/cross-test-ssh.sh: New file.
23148 * manual/install.texi (Configuring and compiling): Document use of
23150 * INSTALL: Regenerated.
23152 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23154 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23157 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23159 * Makeconfig (run-program-prefix): Fix comment.
23161 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23162 Jim Blandy <jimb@codesourcery.com>
23164 * Makeconfig (test-wrapper): New variable,
23165 (test-wrapper-env): Likewise.
23166 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23167 (run-built-tests): Define to yes.
23168 (run-program-prefix): Use $(test-wrapper).
23169 (built-program-cmd): Likewise.
23170 * Rules (make-test-out): Use $(test-wrapper-env) and
23171 $(host-built-program-cmd).
23172 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23173 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23175 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23176 $(test-wrapper-env) to tst-rtld-load-self.sh.
23177 ($(objpfx)order2.out): Use $(test-wrapper).
23178 ($(objpfx)tst-initorder.out): Likewise.
23179 ($(objpfx)tst-initorder2.out): Likewise.
23180 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23181 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23182 (test_wrapper_env): New variable. Use it to run ld.so.
23183 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23184 Use it to run ld.so.
23185 (test_wrapper_env): Likewise.
23186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23187 $(test-wrapper) to run-iconv-test.sh.
23188 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23189 (ICONV): Use $test_wrapper.
23190 * posix/Makefile ($(objpfx)globtest.out): Pass
23191 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23192 globtest.sh, not $(run-program-prefix).
23193 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23194 (test_wrapper): Likewise.
23195 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23196 set together with run_via_rtld_prefix.
23197 (run_program_prefix): Define in terms of test_wrapper and
23198 run_via_rtld_prefix.
23200 2012-10-24 Roland McGrath <roland@hack.frob.com>
23202 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23203 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23207 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23208 Declare __clock_getres, __clock_gettime, __clock_settime,
23209 __clock_nanosleep, and __clock_getcpuclockid.
23210 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23211 Remove librt_hidden_def (clock_gettime).
23212 * sysdeps/unix/clock_gettime.c: Likewise.
23213 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23214 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23215 * rt/clock_getres.c: Define __clock_getres as an alias.
23216 * sysdeps/posix/clock_getres.c: Likewise.
23217 * rt/clock_settime.c: Define __clock_settime as an alias.
23218 * sysdeps/unix/clock_settime.c: Likewise.
23219 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23220 * sysdeps/unix/clock_nanosleep.c: Likewise.
23221 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23222 * rt/clock-compat.c: New file.
23223 * rt/Makefile (librt-routines): Add clock-compat and move
23224 $(clock-routines) to ...
23225 (routines): ... here, new variable.
23226 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23227 Don't add get_clockfreq here.
23228 * rt/Versions (libc: GLIBC_2.17): New version set.
23229 Add clock_* symbols here.
23230 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23232 (GLIBC_2.17): Add clock_* symbols.
23233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23244 * NEWS: Mention the move.
23246 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23247 Use __open, __read, __close rather than their public counterparts.
23248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23249 (__get_clockfreq_via_cpuinfo): Likewise.
23250 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23251 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23253 * config.h.in (HAVE_IFUNC): New #undef.
23254 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23256 * configure: Regenerated.
23258 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23260 * configure.in: Move READELF check to start of file.
23261 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23262 libc_cv_asm_gnu_indirect_function in the process.
23263 * configure: Regenerated.
23265 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23267 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23268 send the output to /dev/null.
23269 (libc_cv_cc_with_libunwind): Likewise.
23270 (libc_cv_as_noexecstack): Likewise.
23271 * configure: Regenerate.
23273 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23275 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23277 * posix/globtest.sh (TMPDIR): Do not set.
23278 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23279 (testout): Likewise.
23281 2012-10-24 Andreas Jaeger <aj@suse.de>
23283 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23284 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23285 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23286 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23287 posix_fadvise64, posix_fallocate64.
23289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23290 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23291 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23293 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23295 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23298 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23299 <bits/fcntl-linux.h>.
23300 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23303 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23304 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23305 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23306 [__WORDSIZE != 64]: Likewise.
23308 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23310 * Makeconfig (run-built-tests): New variable.
23311 * Rules [$(cross-compiling) = yes]: Change condition to
23312 [$(run-built-tests) = no].
23313 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23314 to [$(run-built-tests) = yes].
23315 * elf/Makefile [$(cross-compiling) = no]: Likewise
23316 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23317 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23318 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23319 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23320 * io/Makefile [$(cross-compiling) = no]: Likewise.
23321 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23322 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23323 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23324 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23325 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23326 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23327 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23328 * string/Makefile [$(cross-compiling) = no]: Likewise.
23330 * posix/Makefile ($(objpfx)globtest.out): Pass
23331 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23332 $(rtld-installed-name).
23333 * posix/globtest.sh (elf_objpfx): Remove variable.
23334 (rtld_installed_name): Likewise.
23335 (library_path): Likewise.
23336 (run_program_prefix): New variable. Use for running globtest
23339 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23340 Joseph Myers <joseph@codesourcery.com>
23342 * Makeconfig (host-built-program-cmd): New variable.
23343 * elf/Makefile (tst-stackguard1-ARGS): Use
23344 $(host-built-program-cmd).
23345 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23346 (tst-spawn-ARGS): Likewise.
23347 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23349 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23350 Jim Blandy <jimb@codesourcery.com>
23352 * Makeconfig (run-via-rtld-prefix): New variable.
23353 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23354 (built-program-cmd): Likewise.
23356 2012-10-22 Andreas Jaeger <aj@suse.de>
23358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23359 __O_RSYNC if it exists, otherwise to O_SYNC.
23361 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23362 Joseph Myers <joseph@codesourcery.com>
23364 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23366 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23368 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23371 2012-10-22 Andreas Jaeger <aj@suse.de>
23373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23378 bits/fcntl-linux.h.
23380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23381 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23388 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23389 Joseph Myers <joseph@codesourcery.com>
23391 * config.make.in (NM): New variable.
23393 2012-10-21 Andreas Jaeger <aj@suse.de>
23395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23396 definitions and declarations that are provided by
23397 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23399 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23402 * elf/Makefile (tests-static): Add tst-leaks1-static.
23403 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23404 ($(objpfx)tst-leaks1-static): New rule.
23405 ($(objpfx)tst-leaks1-static-mem): Likewise.
23406 (tst-leaks1-static-ENV): New macro.
23407 * elf/dl-open.c (dl_open_worker): Check the main application
23408 only if SHARED is defined.
23409 * elf/tst-leaks1-static.c: New file.
23411 2012-10-20 Andreas Jaeger <aj@suse.de>
23413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23414 generic values for Linux.
23415 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23416 and declarations that are provided by <bits/fcntl-linux.h> and
23417 include <bits/fcntl-linux.h>.
23418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23421 2012-10-20 Roland McGrath <roland@hack.frob.com>
23423 * io/fcntl.h: Move include of <bits/types.h> to the top and
23424 include it unconditionally.
23426 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23428 * wcsmbs/Makefile (tests-ifunc): New variable.
23429 (tests): Add $(tests-ifunc).
23430 * wcsmbs/test-wcschr-ifunc.c: New file.
23431 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23432 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23433 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23434 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23435 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23437 * string/Makefile (tests-ifunc): New variable.
23438 (tests): Add $(tests-ifunc).
23439 * string/test-memccpy.c (TEST_NAME): New macro.
23440 * string/test-memchr.c (TEST_NAME): Likewise.
23441 * string/test-memcmp.c (TEST_NAME): Likewise.
23442 * string/test-memcpy.c (TEST_NAME): Likewise.
23443 * string/test-memmem.c (TEST_NAME): Likewise.
23444 * string/test-memmove.c (TEST_NAME): Likewise.
23445 * string/test-memset.c (TEST_NAME): Likewise.
23446 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23447 * string/test-stpcpy.c (TEST_NAME): Likewise.
23448 * string/test-stpncpy.c (TEST_NAME): Likewise.
23449 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23450 * string/test-strcasestr.c (TEST_NAME): Likewise.
23451 * string/test-strcat.c (TEST_NAME): Likewise.
23452 * string/test-strchr.c (TEST_NAME): Likewise.
23453 * string/test-strcmp.c(TEST_NAME): Likewise.
23454 * string/test-strcpy.c (TEST_NAME): Likewise.
23455 * string/test-strcspn.c (TEST_NAME): Likewise.
23456 * string/test-strlen.c (TEST_NAME): Likewise.
23457 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23458 * string/test-strncmp.c (TEST_NAME): Likewise.
23459 * string/test-strncpy.c (TEST_NAME): Likewise.
23460 * string/test-strnlen.c (TEST_NAME): Likewise.
23461 * string/test-strpbrk.c (TEST_NAME): Likewise.
23462 * string/test-strrchr.c (TEST_NAME): Likewise.
23463 * string/test-strspn.c (TEST_NAME): Likewise.
23464 * string/test-strstr.c (TEST_NAME): Likewise.
23465 * string/test-bcopy-ifunc.c: New file.
23466 * string/test-bzero-ifunc.c: Likewise.
23467 * string/test-memccpy-ifunc.c: Likewise.
23468 * string/test-memchr-ifunc.c: Likewise.
23469 * string/test-memcmp-ifunc.c: Likewise.
23470 * string/test-memcpy-ifunc.c: Likewise.
23471 * string/test-memmem-ifunc.c: Likewise.
23472 * string/test-memmove-ifunc.c: Likewise.
23473 * string/test-mempcpy-ifunc.c: Likewise.
23474 * string/test-memset-ifunc.c: Likewise.
23475 * string/test-rawmemchr-ifunc.c: Likewise.
23476 * string/test-stpcpy-ifunc.c: Likewise.
23477 * string/test-stpncpy-ifunc.c: Likewise.
23478 * string/test-strcasecmp-ifunc.c: Likewise.
23479 * string/test-strcasestr-ifunc.c: Likewise.
23480 * string/test-strcat-ifunc.c: Likewise.
23481 * string/test-strchr-ifunc.c: Likewise.
23482 * string/test-strchrnul-ifunc.c: Likewise.
23483 * string/test-strcmp-ifunc.c: Likewise.
23484 * string/test-strcpy-ifunc.c: Likewise.
23485 * string/test-strcspn-ifunc.c: Likewise.
23486 * string/test-strlen-ifunc.c: Likewise.
23487 * string/test-strncasecmp-ifunc.c: Likewise.
23488 * string/test-strncat-ifunc.c: Likewise.
23489 * string/test-strncmp-ifunc.c: Likewise.
23490 * string/test-strncpy-ifunc.c: Likewise.
23491 * string/test-strnlen-ifunc.c: Likewise.
23492 * string/test-strpbrk-ifunc.c: Likewise.
23493 * string/test-strrchr-ifunc.c: Likewise.
23494 * string/test-strspn-ifunc.c: Likewise.
23495 * string/test-strstr-ifunc.c: Likewise.
23497 * debug/Makefile (tests-ifunc): New variable.
23498 (tests): Add $(tests-ifunc).
23499 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23500 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23501 * debug/test-stpcpy_chk-ifunc.c: New file.
23502 * debug/test-strcpy_chk-ifunc.c: Likewise.
23504 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23507 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23508 header is not read in.
23510 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23512 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23513 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23514 directly. Pass built executable to script as
23515 $(built-program-cmd).
23516 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23517 $testprogram without using LD_LIBRARY_PATH and $ldso.
23519 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23520 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23521 $(rtld-installed-name).
23522 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23523 (rtld_installed_name): Likewise.
23524 (library_path): Likewise.
23525 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23526 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23527 $(run-program-prefix) to tst-tables.sh.
23528 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23529 it to run tst-table-from and tst-table-to.
23530 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23531 Pass it to tst-table.sh.
23532 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23533 $(run-program-prefix) to tst-gettext.sh.
23534 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23536 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23538 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23539 to run tst-gettext.
23540 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23541 to run tst-gettext2.
23542 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23543 to run tst-translit.
23544 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23545 $(run-program-prefix) to tst-mtrace.sh.
23546 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23548 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23549 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23550 $(rtld-installed-name).
23551 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23552 (rtld_installed_name): Likewise.
23553 (run_program_prefix): New variable. Use it to run wordexp-test.
23555 * Makeconfig (ARCH): Remove all definitions.
23556 (machine): Likewise.
23557 [ARCH]: Remove conditional code.
23558 [!objdir]: Give error.
23559 [!objdir] (objpfx): Remove.
23560 [!objdir] (common-objpfx): Likewise.
23561 [!objdir] (common-objdir): Likewise.
23562 * configure.in (config_makefile): Remove. Hardcode Makefile in
23563 AC_CONFIG_FILES call.
23564 * configure: Regenerated.
23567 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23569 (testout): Likewise.
23571 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23572 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23573 $(rtld-installed-name).
23574 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23575 (rtld_installed_name): Likwise.
23576 (runit): Remove function.
23577 (run_getconf): New variable, Use it for running getconf binary.
23579 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23582 * string/test-memmem.c (check_result): New function.
23583 (do_one_test): Use it.
23584 (check1): New function.
23585 (test_main): Use it.
23587 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23589 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23591 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23593 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23594 (_G_LSEEK64): Likewise.
23595 (_G_MMAP64): Likewise.
23596 (_G_FSTAT64): Likewise.
23597 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23598 (_G_LSEEK64): Likewise.
23599 (_G_MMAP64): Likewise.
23600 (_G_FSTAT64): Likewise.
23601 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23602 unconditional. Call __mmap64 directly.
23603 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23604 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23605 __lseek64 directly.
23606 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23607 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23609 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23610 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23611 __lseek64 directly.
23612 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23613 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23614 __lseek64 directly.
23615 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23616 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23617 __lseek64 directly.
23618 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23619 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23620 __fxstat64 directly.
23621 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23622 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23624 (freopen64) [!_G_OPEN64]: Remove conditional code.
23625 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23627 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23628 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23630 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23631 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23633 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23634 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23636 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23637 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23639 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23640 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23642 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23643 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23645 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23647 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23650 * manual/memory.texi (Malloc Tunable Parameters): Add note
23651 about free list pointers overwriting some perturb bytes.
23652 Wording suggested by Roland McGrath.
23654 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23656 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23657 (lgamma_test): Likewise.
23658 (tgamma_test): Likewise.
23660 2012-10-16 Florian Weimer <fweimer@redhat.com>
23663 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23664 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23666 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23668 * NEWS: Mention BZ #14716.
23669 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23670 when removing AVAILABLE1_USES_J macro.
23672 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23674 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23675 (__bswap_64): __uint64_t for unsigned 64-bit int.
23677 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23679 * include/string.h (memmem): Declare libc hidden alias.
23680 * string/memmem.c (memmem): Define libc hidden alias.
23681 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23682 __read, __close instead of open, read, close.
23684 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23687 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23689 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23690 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23691 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23693 (__rawmemchr_sse2): Likewise.
23694 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23695 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23696 (__strchr_sse2): Likewise.
23697 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23698 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23699 (__strcasecmp_sse2): Likewise.
23700 (__strncasecmp_sse2): Likewise.
23701 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23702 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23703 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23704 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23705 (__strrchr_sse2): Likewise.
23706 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23708 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23710 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23711 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23712 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23713 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23716 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23717 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23718 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23719 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23720 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23721 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23722 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23723 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23724 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23725 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23726 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23727 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23728 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23729 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23730 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23731 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23732 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23733 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23734 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23735 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23736 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23737 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23739 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23741 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23742 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23743 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23744 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23746 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23748 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23749 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23750 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23751 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23753 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23754 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23755 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23756 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23757 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23758 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23759 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23760 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23761 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23762 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23763 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23764 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23765 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23766 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23767 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23768 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23769 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23770 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23771 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23772 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23773 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23774 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23775 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23776 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23778 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23779 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23780 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23781 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23782 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23783 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23784 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23785 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23786 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23787 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23788 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23789 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23790 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23791 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23792 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23793 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23795 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23796 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23797 * include/ifunc-impl-list.h: New file.
23798 * misc/ifunc-impl-list.c: Likewise.
23799 * misc/Makefile (routines): Add ifunc-impl-list.
23800 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23801 * string/test-string.h: Include <ifunc-impl-list.h>.
23802 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23803 TEST_NAME]: New variables.
23804 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23806 (test_init): Call __libc_ifunc_impl_list to initialize
23807 func_list if TEST_IFUNC and TEST_NAME are defined.
23809 * string/Makefile (strop-tests): Add bcopy and bzero.
23810 * string/test-bcopy.c: New file.
23811 * string/test-bzero.c: Likewise.
23812 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23814 * string/test-memset.c: Support bzero test if TEST_BZERO is
23816 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23818 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23820 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23823 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23825 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23826 * configure: Regenerated.
23828 * Makeconfig (+link-static-before-libc): Don't include
23829 $(link-static-libc).
23831 * libio/libio.h (_IO_pos_t): Remove.
23833 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23835 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23838 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23840 * crypt/crypt-entry.c: Include fips-private.h.
23841 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23842 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23843 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23844 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23846 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23848 * crypt/crypt-private.h: Include stdbool.h.
23849 (_ufc_setup_salt_r): Return bool.
23850 * crypt/crypt-entry.c: Include errno.h.
23851 (__crypt_r): Return NULL with EINVAL for bad salt.
23852 * crypt/crypt_util.c (bad_for_salt): New.
23853 (_ufc_setup_salt_r): Check that salt is long enough and within
23854 the specified alphabet.
23855 * crypt/badsalttest.c: New file.
23856 * crypt/Makefile (tests): Add it.
23857 ($(objpfx)badsalttest): New.
23859 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23861 * NEWS: Add entry for BZ #14602.
23863 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23865 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23867 * math/libm-test.inc: Update comment listing what functions and
23869 (isgreater_test): New function.
23870 (isgreaterequal_test): Likewise.
23871 (isless_test): Likewise.
23872 (islessequal_test): Likewise.
23873 (islessgreater_test): Likewise.
23874 (isunordered_test): Likewise.
23875 (main): Call the new functions.
23877 2012-10-09 Roland McGrath <roland@hack.frob.com>
23879 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23880 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23881 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23882 * sysdeps/i386/configure: Regenerated.
23883 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23884 * sysdeps/mach/configure: Regenerated.
23885 * sysdeps/mach/hurd/configure: Regenerated.
23886 * sysdeps/powerpc/configure: Regenerated.
23887 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23888 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23889 * sysdeps/s390/s390-32/configure: Regenerated.
23890 * sysdeps/s390/s390-64/configure: Regenerated.
23891 * sysdeps/sh/configure: Regenerated.
23892 * sysdeps/sparc/configure: Regenerated.
23893 * sysdeps/unix/sysv/linux/configure: Regenerated.
23894 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23895 * sysdeps/x86_64/configure: Regenerated.
23897 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23898 defined. Don't check if MAP is NULL.
23900 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23902 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23903 (_G_stat64): Likewise.
23904 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23905 (_G_stat64): Likewise.
23906 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23907 instead of struct _G_stat64.
23908 * libio/fileops.c (mmap_remap_check): Likewise.
23909 (decide_maybe_mmap): Likewise.
23910 (_IO_new_file_seekoff): Likewise.
23911 (_IO_file_stat): Likewise.
23912 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23914 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23915 instead of struct _G_stat64.
23916 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23918 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23921 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23923 (CHECK_EOL): New macro.
23924 (two_way_short_needle): Check beginning of haystack for EOL. Use
23926 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23927 Replace with CHECK_EOL.
23928 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23929 Replace with CHECK_EOL.
23931 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23933 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23935 * math/libm-test.inc: Update comment listing what functions and
23937 (finite_test): New function.
23938 (isinf_test): Likewise.
23939 (isnan_test): Likewise.
23940 (fpclassify_test): Test subnormal input.
23941 (isfinite_test): Likewise.
23942 (isnormal_test): Likewise.
23943 (main): Call the new functions.
23945 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23948 * Makerules (%.dynsym): Force C locale when running
23949 $(OBJDUMP) --dynamic-syms.
23951 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23953 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23956 2012-10-06 David S. Miller <davem@davemloft.net>
23958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23959 upper 32-bits of the length value in %o2 since we use branch-on-register
23960 tests which consider the entire 64-bit register.
23962 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23964 * string/test-strstr.c (check2): Add a test for page boundary.
23966 2012-10-05 David S. Miller <davem@davemloft.net>
23968 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23969 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23971 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23973 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23974 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23975 and bzero when HWCAP_SPARC_CRYPTO is present.
23977 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23980 * string/test-strstr.c (check2): New function.
23981 (test_main): Call check2.
23983 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23985 * string/bug-strcasestr1.c (do_test): Moved to ...
23986 * string/test-strcasestr.c (check1): Here. New function.
23987 (do_one_test): Break out result checking code into ...
23988 (check_result): This. New function.
23989 (do_one_test): Call check_result.
23990 (test_main): Call check1.
23991 * string/bug-strchr1.c (do_test): Moved to ...
23992 * string/test-strchr.c (check1): Here. New function.
23993 (do_one_test): Break out result checking code into ...
23994 (check_result): This. New function.
23995 (do_one_test): Call check_result.
23996 (test_main): Call check1.
23997 * string/bug-strstr1.c (main): Moved to ...
23998 * string/test-strstr.c (check1): Here. New function.
23999 (do_one_test): Break out result checking code into ...
24000 (check_result): This. New function.
24001 (do_one_test): Call check_result.
24002 (test_main): Call check1.
24003 * string/bug-strcasestr1.c: Removed.
24004 * string/bug-strchr1.c: Likewise.
24005 * string/bug-strstr1.c: Likewise.
24007 * elf/Makefile (dl-routines): Add hwcaps.
24008 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24009 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24010 (_dl_important_hwcaps): Moved to ...
24011 * elf/dl-hwcaps.c: Here. New file.
24012 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24015 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24016 if IS_IN_rtld isn't defined.
24018 * elf/dl-support.c (_dl_sysinfo_map): New.
24019 Include "get-dynamic-info.h" and "setup-vdso.h".
24020 (_dl_non_dynamic_init): Call setup_vdso.
24021 * elf/dynamic-link.h: Don't include <assert.h>.
24022 (elf_get_dynamic_info): Moved to ...
24023 * elf/get-dynamic-info.h: Here. New file.
24024 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24025 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24026 * elf/setup-vdso.h: Here. New file.
24027 * elf/rtld.c: Include "setup-vdso.h".
24028 (dl_main): Call setup_vdso.
24030 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24032 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24033 creal in comment listing functions tested. List finite, isinf,
24034 isnan, isless, islessequal, isgreater, isgreaterequal,
24035 islessgreater, isunordered, lgamma_r and pow10 as functions and
24036 macros not tested. Mention which functions not tested are aliases
24037 for other functions. Fix typo. Note that signs of NaNs are not
24040 * scripts/config.guess: Update from config.git.
24041 * scripts/config.sub: Likewise.
24043 2012-10-04 Roland McGrath <roland@hack.frob.com>
24045 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24046 * misc/madvise.c (madvise): Renamed to __madvise.
24047 Make madvise a weak alias.
24048 * include/sys/mman.h: Declare __madvise.
24049 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24050 * sysdeps/unix/syscalls.list
24051 (madvise): Make __madvise the strong name, and madvise a weak alias.
24052 * sysdeps/unix/sysv/linux/syscalls.list
24053 (madvise, mmap): Remove redundant entries.
24054 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24055 * malloc/malloc.c (mtrim): Likewise.
24056 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24058 2012-10-03 Roland McGrath <roland@hack.frob.com>
24060 * sysdeps/mach/hurd/dl-cache.c: File removed.
24061 * config.h.in (USE_LDCONFIG): New #undef.
24062 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24063 * configure: Regenerated.
24064 * elf/Makefile (dl-routines): Add dl-cache only under
24065 [$(use-ldconfig) = yes].
24066 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24067 cache on [USE_LDCONFIG].
24068 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24070 * elf/rtld.c (dl_main): Likewise.
24072 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24074 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24075 _SC_LEVEL4_CACHE_LINESIZE.
24077 2012-10-03 Roland McGrath <roland@hack.frob.com>
24079 * sysdeps/unix/bsd/confstr.h: File removed.
24081 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24083 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24086 2012-10-02 Roland McGrath <roland@hack.frob.com>
24088 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24089 Make 'mapoff' field ElfW(Off) rather than off_t.
24091 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24093 * nscd/Makefile: Remove nscd-cflags and all its users.
24094 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24095 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24098 * malloc.c (malloc_printerr): Clarify error message.
24100 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24104 Set bit_FMA_Usable if FMA is supported.
24105 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24107 (bit_FMA4_Usable): Updated.
24108 (index_FMA_Usable): New macro.
24109 (CPUID_FMA): Likewise
24110 (HAS_FMA): Defined with bit_FMA_Usable.
24112 2012-10-01 Roland McGrath <roland@hack.frob.com>
24114 * bits/types.h (__swblk_t): Type removed.
24115 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24116 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24118 (__SWBLK_T_TYPE): Likewise.
24119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24120 (__SWBLK_T_TYPE): Likewise.
24121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24122 (__SWBLK_T_TYPE): Likewise.
24123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24124 (__SWBLK_T_TYPE): Likewise.
24126 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24127 Honza Horak <hhorak@redhat.com>
24129 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24130 (xdr_mapname): Use YPMAXMAP as maxsize.
24131 (xdr_peername): Use YPMAXPEER as maxsize.
24132 (xdr_keydat): Use YPAXRECORD as maxsize.
24133 (xdr_valdat): Use YPMAXRECORD as maxsize.
24135 2012-10-01 Roland McGrath <roland@hack.frob.com>
24137 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24139 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24140 * csu/init-first.c: ... here.
24141 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24142 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24144 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24145 * sysdeps/i386/init-first.c: File removed.
24146 * sysdeps/sh/init-first.c: File removed.
24148 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24152 if x * y might underflow to zero and z is zero.
24153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24155 * math/libm-test.inc (min_subnorm_value): New variable.
24156 (fma_test): Add more tests.
24157 (fma_test_towardzero): Likewise.
24158 (fma_test_downward): Likewise
24159 (fma_test_upward): Likewise.
24160 (initialize): Set min_subnorm_value.
24162 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24168 mode for addition resulting in exact zero.
24169 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24172 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24174 * math/libm-test.inc (fma_test): Add more tests.
24175 (fma_test_towardzero): New function.
24176 (fma_test_downward): Likewise.
24177 (fma_test_upward): Likewise.
24178 (main): Call the new functions.
24180 2012-09-28 David S. Miller <davem@davemloft.net>
24182 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24184 2012-09-28 Roland McGrath <roland@hack.frob.com>
24186 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24187 instead of SIGALRM.
24189 * sysdeps/gnu/_G_config.h: Moved to ...
24190 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24191 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24192 * sysdeps/generic/_G_config.h: ... here.
24194 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24196 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24198 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24199 Conditionalize target on [libnss_test1.so-version].
24201 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24203 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24204 (elfobjdir): Move out of conditionals.
24206 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24207 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24208 (__nss_lookup_function): Conditionalize label remove_from_tree on
24209 [!DO_STATIC_NSS || SHARED], matching its only use.
24211 2012-09-28 David S. Miller <davem@davemloft.net>
24213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24214 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24216 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24220 when HWCAP_SPARC_CRYPTO is present.
24222 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24224 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24226 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24229 * stdio-common/vfprintf.c (process_string_arg): Revert
24232 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24234 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24236 * stdio-common/tst-sprintf.c: Include <locale.h>
24237 (main): Test sprintf's handling of incomplete multibyte
24240 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24242 * elf/dl-runtime.c (VERSYMIDX): Removed.
24243 * elf/dl-version.c (VERSYMIDX): Likewise.
24244 * elf/do-rel.h (VERSYMIDX): Likewise.
24245 (VALIDX): Likewise.
24246 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24247 * elf/rtld.c (VALIDX): Likewise.
24248 (ADDRIDX): Likewise.
24249 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24250 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24251 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24252 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24253 (VALIDX): Likewise.
24254 (ADDRIDX): Likewise.
24256 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24258 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24260 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24263 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24265 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24266 addresses are in the same scope as 192.0.2/24.
24267 * posix/gai.conf: Document new scope table defaults.
24269 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24272 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24273 for ftell. Compute offsets from write pointers instead.
24274 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24276 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24279 * libio/Makefile (tests): New test case tst-fseek.
24280 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24281 combination works in wide mode.
24282 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24283 state when the external buffer state changes.
24285 2012-09-27 David S. Miller <davem@davemloft.net>
24288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24289 pass reloc->r_addend in as the 'high' argument to
24290 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24294 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24296 * rt/tst-aio2.c: Include <pthread.h>.
24297 * rt/tst-aio3.c: Likewise.
24299 2012-09-27 Steve Ellcey <sellcey@mips.com>
24301 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24303 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24305 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24306 contents on [SHARED].
24308 2012-09-26 Marek Polacek <polacek@redhat.com>
24312 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24313 for C++ and GCC <4.3 as well as for non GCC compilers.
24315 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24319 2012-09-25 Roland McGrath <roland@hack.frob.com>
24321 * Makefile.in (all, install): Declare with .PHONY.
24322 Reported by Michael Hope <michael.hope@linaro.org>.
24324 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24326 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24327 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24329 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24331 (sydep_routines): Add the new and the internal functions.
24332 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24333 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24335 (GLIBC_2.17): Add the new function.
24336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24337 (GLIBC_2.17): Likewise.
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24339 (GLIBC_2.17): Likewise.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24341 (GLIBC_2.17): Likewise.
24342 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24344 2012-09-25 Alan Modra <amodra@gmail.com>
24346 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24347 Add release barrier before setting once_control to say
24348 initialisation is done. Add hints on lwarx. Use macro in
24350 (clear_once_control): Add release barrier.
24352 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24355 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24357 * math/s_clog10.c (__clog10): Likewise.
24358 * math/s_clog10f.c (__clog10f): Likewise.
24359 * math/s_clog10l.c (__clog10l): Likewise.
24360 * math/s_clogf.c (__clogf): Likewise.
24361 * math/s_clogl.c (__clogl): Likewise.
24362 * math/Makefile (libm-calls): Add x2y2m1.
24363 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24364 (__x2y2m1): Likewise.
24365 (__x2y2m1l): Likewise.
24366 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24367 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24368 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24370 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24371 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24372 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24373 * sysdeps/i386/fpu/libm-test-ulps: Update.
24374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24377 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24378 int as type of variable DEPTH.
24379 (glob): Use size_t instead of int as type of variables NEWCOUNT
24382 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24384 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24385 Add s_sincosf-sse2.
24386 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24387 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24388 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24389 macros for using routine as __sincosf_ia32.
24390 Use macro for function declaration and weak_alias.
24391 * sysdeps/i386/fpu/libm-test-ulps: Update.
24393 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24396 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24397 subnormal argument.
24398 * math/s_cexpf.c (__cexpf): Likewise.
24399 * math/s_csinf.c (__csinf): Likewise.
24400 * math/s_csinhf.c (__csinhf): Likewise.
24401 * math/s_ctanf.c (__ctanf): Likewise.
24402 * math/s_ctanhf.c (__ctanhf): Likewise.
24403 * math/s_ccosh.c (__ccoshf): Likewise.
24404 * math/s_cexp.c (__cexpl): Likewise.
24405 * math/s_csin.c (__csin): Likewise.
24406 * math/s_csinh.c (__csinh): Likewise.
24407 * math/s_ctan.c (__ctan): Likewise.
24408 * math/s_ctanh.c (ctanh): Likewise.
24409 * math/s_ccoshl.c (__ccoshl): Likewise.
24410 * math/s_cexpl.c (__cexpl): Likewise.
24411 * math/s_csinl.c (__csinl): Likewise.
24412 * math/s_csinhl.c (__csinhl): Likewise.
24413 * math/s_ctanl.c (__ctanl): Likewise.
24414 * math/s_ctanhl.c (__ctanhl): Likewise.
24416 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24418 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24419 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24420 (_IO_off_t): Define to __off_t, not _G_off_t.
24421 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24422 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24423 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24424 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24425 type of __dummy and __dummy2 fields.
24426 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24427 (_G_ssize_t): Likewise.
24428 (_G_off_t): Likewise.
24429 (_G_pid_t): Likewise.
24430 (_G_uid_t): Likewise.
24431 (_G_wchar_t): Likewise.
24432 (_G_wint_t): Likewise.
24433 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24434 (_G_ssize_t): Likewise.
24435 (_G_off_t): Likewise.
24436 (_G_pid_t): Likewise.
24437 (_G_uid_t): Likewise.
24438 (_G_wchar_t): Likewise.
24439 (_G_wint_t): Likewise.
24440 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24441 (_G_ssize_t): Likewise.
24442 (_G_off_t): Likewise.
24443 (_G_pid_t): Likewise.
24444 (_G_uid_t): Likewise.
24445 (_G_wchar_t): Likewise.
24446 (_G_wint_t): Likewise.
24448 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24450 * malloc/arena.c: Include malloc-sysdep.h.
24451 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24452 is sufficient to shrink the heap or an unmap is needed.
24453 * sysdeps/generic/malloc-sysdep.h: New file. Define
24454 new function check_may_shrink_heap.
24455 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24456 new function check_may_shrink_heap.
24458 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24460 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24463 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24465 * catgets/test-gencat.sh: Add "set -e".
24466 * elf/tst-pathopt.sh: Likewise.
24467 * grp/tst_fgetgrent.sh: Likewise.
24468 * iconvdata/run-iconv-test.sh: Likewise.
24469 * intl/tst-gettext.sh: Likewise.
24470 * intl/tst-gettext2.sh: Likewise.
24471 * intl/tst-gettext4.sh: Likewise.
24472 * intl/tst-gettext6.sh: Likewise.
24473 * intl/tst-translit.sh: Likewise.
24474 * io/ftwtest-sh: Likewise.
24475 * libio/test-freopen.sh: Likewise.
24476 * malloc/tst-mtrace.sh: Likewise.
24477 * posix/globtest.sh: Likewise.
24478 * posix/tst-getconf.sh: Likewise.
24479 * posix/wordexp-tst.sh: Likewise.
24480 * stdio-common/tst-printf.sh: Likewise.
24481 * stdio-common/tst-unbputc.sh: Likewise.
24482 * stdlib/tst-fmtmsg.sh: Likewise.
24483 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24484 * catgets/Makefile: Do not specify -e option when running
24485 testsuite shell scripts.
24486 * elf/Makefile: Likewise.
24487 * grp/Makefile: Likewise.
24488 * iconvdata/Makefile: Likewise.
24489 * intl/Makefile: Likewise.
24490 * io/Makefile: Likewise.
24491 * libio/Makefile: Likewise.
24492 * malloc/Makefile: Likewise.
24493 * posix/Makefile: Likewise.
24494 * stdio-common/Makefile: Likewise.
24495 * stdlib/Makefile: Likewise.
24496 * sysdeps/x86_64/Makefile: Likewise.
24498 * io/ftwtest-sh: Add copyright header.
24499 * posix/globtest.sh: Likewise.
24500 * posix/tst-getconf.sh: Likewise.
24501 * posix/wordexp-tst.sh: Likewise.
24502 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24504 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24507 * Makeconfig (+link): Defined as $(+link-static) if
24508 $(build-shared) isn't yes.
24509 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24511 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24513 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24516 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24517 new chunk size with MALLOC_ALIGN_MASK.
24519 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24522 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24524 (__printf_fphex): Determine rounding using get_rounding_mode and
24526 * stdio-common/tst-printf-round.c (struct hex_test): New
24528 (hex_tests): New variable.
24529 (test_hex_in_one_mode): New function.
24530 (do_test): Also run tests for hex float output.
24532 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24534 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24535 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24536 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24537 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24538 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24539 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24540 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24541 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24543 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24545 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24546 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24547 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24548 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24550 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24553 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24555 * elf/tst-rtld-load-self.sh: New test.
24556 * elf/Makefile: Run it.
24558 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24560 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24561 (tst-writev-ENV): Remove.
24562 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24564 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24566 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24568 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24570 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24572 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24574 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24575 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24576 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24579 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24582 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24583 * config.make.in (have-cpp-asm-debuginfo): Removed.
24584 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24585 * configure: Regenerated.
24587 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24590 * stdio-common/printf_fp.c: Include <stdbool.h> and
24592 (___printf_fp): Determine rounding using get_rounding_mode and
24594 * stdio-common/tst-printf-round.c: New file.
24595 * stdio-common/Makefile (tests): Add tst-printf-round.
24596 (link-libm): New variable.
24597 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24599 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24602 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24603 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24605 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24608 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24610 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24611 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24612 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24613 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24615 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24618 * include/rounding-mode.h: New file.
24619 * sysdeps/generic/get-rounding-mode.h: Likewise.
24620 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24621 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24622 (MAX_VALUE): New macro.
24623 (MIN_VALUE): Likewise.
24624 (overflow_value): New function.
24625 (underflow_value): Likewise.
24626 (round_and_return): Use overflow_value and underflow_value to
24627 determine return values in overflow and underflow cases. Use
24628 round_away to determine rounding depending on rounding mode.
24629 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24630 determine return values in overflow and underflow cases.
24631 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24632 (struct test_results): New structure.
24633 (struct test): Use struct test_results to store expected results
24634 for all rounding modes.
24635 (TEST): Include expected results for all rounding modes.
24636 (test_in_one_mode): New function.
24637 (do_test): Use test_in_one_mode to compute and check results.
24638 Check results for all rounding modes.
24639 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24642 2012-12-09 Allan McRae <allan@archlinux.org>
24644 * sysdeps/i386/fpu/libm-test-ulps: Update
24646 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24648 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24649 (_G_int32_t): Likewise.
24650 (_G_uint16_t): Likewise.
24651 (_G_uint32_t): Likewise.
24652 (_G_HAVE_BOOL): Likewise.
24653 (_G_HAVE_ATEXIT): Likewise.
24654 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24655 (_G_HAVE_IO_FILE_OPEN): Likewise.
24656 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24657 (_G_int32_t): Likewise.
24658 (_G_uint16_t): Likewise.
24659 (_G_uint32_t): Likewise.
24660 (_G_HAVE_BOOL): Likewise.
24661 (_G_HAVE_ATEXIT): Likewise.
24662 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24663 (_G_HAVE_IO_FILE_OPEN): Likewise.
24664 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24665 (_G_int32_t): Likewise.
24666 (_G_uint16_t): Likewise.
24667 (_G_uint32_t): Likewise.
24668 (_G_HAVE_BOOL): Likewise.
24669 (_G_HAVE_ATEXIT): Likewise.
24670 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24671 (_G_HAVE_IO_FILE_OPEN): Likewise.
24673 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24675 * csu/libc-tls.c: Update copyright years.
24677 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24679 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24680 [!_G_USING_THUNKS]: Remove conditional code.
24681 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24682 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24684 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24685 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24686 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24687 (_G_VTABLE_LABEL_PREFIX): Likewise.
24688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24689 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24690 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24691 (_G_VTABLE_LABEL_PREFIX): Likewise.
24692 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24693 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24694 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24695 (_G_VTABLE_LABEL_PREFIX): Likewise.
24696 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24698 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24700 * libio/Makefile: Include ../Makeconfig before tests.
24701 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24702 only if $(build-shared) is yes.
24704 * iconv/gconv_db.c: Update copyright years.
24706 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24708 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24709 unwind info if defined PIC. Fix special cases description.
24710 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24712 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24714 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24716 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24718 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24720 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24723 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24724 (LDLIBS-tst-chk4): This.
24725 (LDFLAGS-tst-chk5): Renamed to ...
24726 (LDLIBS-tst-chk5): This.
24727 (LDFLAGS-tst-chk6): Renamed to ...
24728 (LDLIBS-tst-chk6): This.
24729 (LDFLAGS-tst-lfschk4): Renamed to ...
24730 (LDLIBS-tst-lfschk4): This.
24731 (LDFLAGS-tst-lfschk5): Renamed to ...
24732 (LDLIBS-tst-lfschk5): This.
24733 (LDFLAGS-tst-lfschk6): Renamed to ...
24734 (LDLIBS-tst-lfschk6): This.
24736 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24737 on $(common-objpfx)soversions.mk.
24739 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24742 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24745 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24747 * malloc/arena.c (arena_get_retry): New function that gets
24748 another arena for the caller to try its request on.
24749 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24750 current arena cannot fulfill the request.
24751 (__libc_memalign): Likewise.
24752 (__libc_memalign): Likewise.
24753 (__libc_pvalloc): Likewise.
24754 (__libc_calloc): Likewise.
24756 2012-09-05 John Tobey <john.tobey@gmail.com>
24759 * manual/arith.texi (Operations on Complex): Fix description
24760 of carg branch cut.
24762 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24765 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24769 * manual/memory.texi (Memory): Make order of menu items match
24772 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24774 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24775 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24776 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24778 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24780 * csu/libc-tls.c (static_dtv): Renamed to ...
24781 (_dl_static_dtv): This. Make it global.
24782 (_dl_initial_dtv): Removed.
24783 (__libc_setup_tls): Updated.
24784 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24785 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24788 2012-09-06 Petr Machata <pmachata@redhat.com>
24790 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24791 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24792 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24793 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24795 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24798 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24799 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24802 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24805 * Makeconfig (link-static-before-libc): Replace $(+prector)
24807 (link-static-after-libc): Replace $(+postctor) with
24809 (link-bounded): Replace $(+prector)/$(+postctor) with
24810 $(+prectorT)/$(+postctorT).
24811 (+prectorT): New macro.
24812 (+postctorT): Likewise.
24814 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24816 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24817 (round_str): Handle values above the maximum for IBM long double
24819 * stdlib/tst-strtod-round.c (tests): Regenerated.
24821 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24823 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24825 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24826 zarch_nohighgprs around the zarch optimized routines.
24827 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24828 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24832 2012-09-05 David S. Miller <davem@davemloft.net>
24834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24836 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24837 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24838 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24839 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24842 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24844 * malloc/arena.c: Fold copyright years.
24845 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24847 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24849 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24851 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24853 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24855 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24857 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24858 change internal state upon failure.
24860 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24862 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24863 * malloc/memusage.c (mmap): Likewise.
24864 (mmap64, mremap): Likewise. Adjust name in comment.
24866 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24868 * libio/fileops.c: Fix typos in comments.
24869 * libio/oldfileops.c: Likewise.
24870 * libio/wfileops.c: Likewise.
24872 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24875 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24876 (tst-malloc-usable-ENV): Set environment for test case.
24877 * malloc/hooks.c (malloc_check_get_size): New function to get
24879 * malloc/malloc.c (musable): Use malloc_check_get_size.
24880 * malloc/tst-malloc-usable.c: New test case.
24882 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24884 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24886 2012-09-05 Allan McRae <allan@archlinux.org>
24889 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24890 determine header location.
24891 * configure: Regenerated.
24893 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24895 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24897 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24898 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24900 (test): Regenerate.
24902 2012-09-04 David S. Miller <davem@davemloft.net>
24904 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24905 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24906 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24908 2012-09-04 Florian Weimer <fweimer@redhat.com>
24910 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24913 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24915 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24918 * libio/iogetdelim.c: Include <limits.h>.
24919 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24920 + len + 1 would overflow.
24922 2012-09-03 Andreas Jaeger <aj@suse.de>
24924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24925 * sysdeps/i386/fpu/libm-test-ulps: Update.
24927 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24929 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24930 Add s_sinf-sse2, s_conf-sse2.
24932 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24933 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24934 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24935 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24937 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24938 for using routine as __sinf_ia32.
24939 Use macro for function declaration and weak_alias.
24940 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24941 for using routine as __cosf_ia32.
24942 Use macro for function declaration and weak_alias.
24944 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24945 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24947 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24948 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24951 * math/libm-test.inc (cos_test): Add more test cases.
24952 (sin_test): Likewise.
24953 (sincos_test): Likewise.
24955 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24957 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24958 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24960 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24962 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24965 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24966 first element of the GOT.
24967 (elf_machine_load_address): Return the difference between
24968 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24970 2012-09-01 Allan McRae <allan@archlinux.org>
24973 * configure.in (AWK): Require gawk version 3.0 or later.
24974 * configure: Regenerated.
24976 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24978 * sysdeps/unix/sysv/linux/kernel-features.h
24979 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24981 [__NR_clock_getres]: Make code unconditional.
24982 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24983 (clock_getcpuclockid): Remove code left unreachable by removal of
24985 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24986 code unconditional.
24987 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24988 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24989 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24990 Make code unconditional.
24991 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24992 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24993 * sysdeps/unix/sysv/linux/clock_settime.c
24994 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24996 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24997 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24999 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25002 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25003 scripts/test-installation.pl.
25005 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25006 and $ld_so_version if it is set.
25008 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25011 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25012 failure if reading from procfs failed.
25013 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25015 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25017 * sysdeps/unix/sysv/linux/kernel-features.h
25018 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25019 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25020 Remove conditional code.
25021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25022 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25023 Remove conditional code.
25024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25025 * sysdeps/unix/sysv/linux/i386/fxstat.c
25026 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25028 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25029 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25031 * sysdeps/unix/sysv/linux/i386/lxstat.c
25032 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25034 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25035 Remove conditional code.
25036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25037 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25038 Remove conditional code.
25039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25040 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25041 <kernel-features.h>.
25042 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25044 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25045 Remove conditional code.
25046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25047 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25048 Remove conditional.
25050 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25053 * NEWS: Add fixed bug number.
25055 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25058 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25059 underflowing exponent in case of negative sign.
25060 * stdlib/tst-strtod-round-data: Add more tests.
25061 * stdlib/tst-strtod-round.c (tests): Regenerated.
25064 * stdlib/strtod_l.c (NDIG): Remove.
25065 (HEXNDIG): Likewise.
25066 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25067 smallest representable value.
25068 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25069 lie within an exact representation of 1/2 ulp of the result.
25070 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25072 (TENS_P9_IDX): Define unconditionally.
25073 (TENS_P9_SIZE): Likewise.
25074 (TENS_P10_IDX): Likewise.
25075 (TENS_P10_SIZE): Likewise.
25076 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25077 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25078 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25079 entries for 10^2^13 and 10^2^14.
25080 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25081 (TENS_P13_IDX): Define.
25082 (TENS_P13_SIZE): Likewise.
25083 (TENS_P14_IDX): Likewise.
25084 (TENS_P14_SIZE): Likewise.
25085 (_fpioconst_pow10): Change array size to
25086 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25088 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25089 1024]: Add entries for 10^2^13 and 10^2^14.
25090 [LAST_POW10 > _LAST_POW10]: Remove #error.
25091 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25092 (_fpioconst_pow10): Change array size to
25093 FPIOCONST_POW10_ARRAY_SIZE.
25094 * stdlib/gen-fpioconst.c: New file.
25095 * stdlib/gen-tst-strtod-round.c: Likewise.
25096 * stdlib/tst-strtod-round-data: Likewise.
25097 * stdlib/tst-strtod-round.c: Likewise.
25098 * stdlib/Makefile (tests): Add tst-strtod-round.
25101 * stdlib/strtod_l.c: Include <stdint.h>.
25102 (NDEBUG): Do not define.
25103 (round_and_return): Change EXPONENT parameter to type intmax_t.
25104 Rearrange calculations to avoid internal overflow possibilities.
25105 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25106 Rearrange calculations to avoid internal overflow possibilities.
25107 Assert that number fits inside MPNSIZE limbs.
25108 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25109 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25110 calculations and add assertions to avoid internal overflow
25111 possibilities. Add casts to avoid signed/unsigned operations.
25112 * stdlib/tst-strtod-overflow.c: New file.
25113 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25115 2012-08-25 Marek Polacek <polacek@redhat.com>
25117 * time/time.h: Fix some typos in comments.
25119 2012-08-23 Roland McGrath <roland@hack.frob.com>
25121 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25122 * posix/tst-rfc3484-2.c: Likewise.
25123 * posix/tst-rfc3484-3.c: Likewise.
25125 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25127 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25128 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25130 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25132 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25133 #include of fxstatat64.c.
25135 2012-08-22 Roland McGrath <roland@hack.frob.com>
25137 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25138 * shadow/getspent_r.c: Likewise.
25139 * shadow/getspnam.c: Likewise.
25140 * shadow/getspnam_r.c: Likewise.
25141 * gshadow/getsgent.c: Likewise.
25142 * gshadow/getsgent_r.c: Likewise.
25143 * gshadow/getsgnam.c: Likewise.
25144 * gshadow/getsgnam_r.c: Likewise.
25145 * inet/getnetbyad.c: Likewise.
25146 * inet/getnetbyad_r.c: Likewise.
25147 * inet/getnetbynm.c: Likewise.
25148 * inet/getnetbynm_r.c: Likewise.
25149 * inet/getnetent.c: Likewise.
25150 * inet/getnetent_r.c: Likewise.
25151 * inet/getproto.c: Likewise.
25152 * inet/getproto_r.c: Likewise.
25153 * inet/getprtent.c: Likewise.
25154 * inet/getprtent_r.c: Likewise.
25155 * inet/getprtname.c: Likewise.
25156 * inet/getprtname_r.c: Likewise.
25157 * inet/getrpcbyname.c: Likewise.
25158 * inet/getrpcbyname_r.c: Likewise.
25159 * inet/getrpcbynumber.c: Likewise.
25160 * inet/getrpcbynumber_r.c: Likewise.
25161 * inet/getrpcent.c: Likewise.
25162 * inet/getrpcent_r.c: Likewise.
25163 * inet/getaliasent.c: Likewise.
25164 * inet/getaliasent_r.c: Likewise.
25165 * inet/getaliasname.c: Likewise.
25166 * inet/getaliasname_r.c: Likewise.
25167 * nscd/getgrgid_r.c: Likewise.
25168 * nscd/getgrnam_r.c: Likewise.
25169 * nscd/gethstbyad_r.c: Likewise.
25170 * nscd/gethstbynm3_r.c: Likewise.
25171 * nscd/getpwnam_r.c: Likewise.
25172 * nscd/getpwuid_r.c: Likewise.
25173 * nscd/getsrvbynm_r.c: Likewise.
25174 * nscd/getsrvbypt_r.c: Likewise.
25175 * nscd/gai.c: Likewise.
25177 * configure.in (build_nscd): New substituted variable, set
25178 by --disable-build-nscd and defaults to $use_nscd.
25179 * configure: Regenerated.
25180 * config.make.in (build-nscd): New substituted variable.
25181 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25182 Change conditional to require [$(build-nscd) = yes] as well.
25183 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25186 * configure.in (use_nscd): New substituted variable, set by
25187 --disable-nscd. If enabled, define USE_NSCD.
25188 * configure: Regenerated.
25189 * config.h.in: Add USE_NSCD.
25190 * config.make.in (use-nscd): New substituted variable.
25191 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25192 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25193 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25194 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25195 (CFLAGS-getgrnam_r.c): Likewise.
25196 (CFLAGS-initgroups.c): Likewise.
25197 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25198 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25200 * inet/getnetgrent_r.c
25201 (nscd_setnetgrent): New function, broken out of ...
25202 (setnetgrent): ... here. Call it.
25203 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25204 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25205 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25206 * nscd/Makefile (routines, aux): Move definitions after include of
25207 Makeconfig. Conditionalize on [$(use-nscd) != no].
25208 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25209 Conditionalize on [USE_NSCD].
25210 (is_nscd, nscd_init_cb): Likewise.
25211 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25212 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25213 * nss/nss_db/db-init.c: Likewise.
25214 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25216 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25217 (make_request): Use it.
25218 (cache_valid_p): New function.
25219 (__check_pf): Use it.
25220 * NEWS: Add item for --disable-nscd.
25222 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25224 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25225 to support sed >= 4.2.1-20-ga9bf076.
25226 * configure: Regenerated.
25228 2012-08-22 Roland McGrath <roland@hack.frob.com>
25230 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25231 Conditionalize whole body on [IREL].
25233 2012-08-22 Jeff Law <law@redhat.com>
25236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25237 if the family is PF_UNSPEC.
25239 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25241 * Makerules (lib-version): Rename from V.
25242 (install-lib-nosubdir): Change V to lib-version.
25244 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25247 * powerpc32/power6/wcschr.c: New file.
25248 * powerpc32/power6/wcscpy.c: New file.
25249 * powerpc32/power6/wcsrchr.c: New file.
25250 * powerpc64/power6/wcschr.c: New file.
25251 * powerpc64/power6/wcscpy.c: New file.
25252 * powerpc64/power6/wcsrchr.c: New file.
25254 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25256 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25257 (two_way_short_needle): Use it.
25258 * string/strstr.c (AVAILABLE1_USES_J): Define.
25259 * string/strcasestr.c: Likewise.
25261 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25263 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25266 * NEWS: Add an entry.
25267 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25268 define their defaults.
25269 (two_way_short_needle): Detect end-of-string on-the-fly.
25270 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25271 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25272 * string/bug-strcasestr1.c: New test.
25273 * string/Makefile: Run it.
25275 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25278 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25279 the first character.
25281 2012-08-21 Roland McGrath <roland@hack.frob.com>
25283 * csu/elf-init.c (__libc_csu_irel): Function removed.
25284 * csu/libc-start.c (apply_irel): New function.
25285 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25287 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/unix/sysv/linux/kernel-features.h
25290 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25291 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25292 <kernel-features.h>.
25293 [__NR_fadvise64_64]: Make code unconditional.
25294 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25295 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25296 !__NR_fadvise64_64)]: Likewise.
25297 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25298 !__NR_fadvise64_64))]: Likewise.
25299 [__NR_fadvise64]: Make code unconditional.
25300 [!__NR_fadvise64]: Remove conditional code.
25301 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25302 <kernel-features.h>.
25303 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25305 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25308 not include <kernel-features.h>.
25309 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25311 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25313 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25314 include <kernel-features.h>.
25315 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25317 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25320 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25323 slight instruction rearrangements per scrollpipe analysis.
25324 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25326 2012-08-20 Roland McGrath <roland@hack.frob.com>
25328 * manual/syslog.texi (syslog; vsyslog, closelog):
25329 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25330 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25332 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25333 DSOCAPS to match condition on defining it.
25335 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25337 * sysdeps/unix/sysv/linux/kernel-features.h
25338 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25340 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25341 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25343 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25344 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25346 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25347 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25349 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25350 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25352 * sysdeps/unix/sysv/linux/kernel-features.h
25353 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25354 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25356 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25357 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25358 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25359 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25360 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25361 Make code unconditional.
25362 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25363 (__mmap64) [!__NR_mmap2]: Likewise.
25364 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25365 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25366 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25367 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25368 [__NR_mmap2]: Make code unconditional.
25369 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25370 (__mmap64) [!__NR_mmap2]: Likewise.
25372 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25374 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25376 2012-08-18 Andreas Jaeger <aj@suse.de>
25378 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25380 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25382 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25383 * include/unistd.h (__have_sock_cloexec): Likewise.
25384 (__have_pipe2): Likewise.
25385 (__have_dup3): Likewise.
25387 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25390 * include/unistd.h (__have_pipe2): Change define into an extern int.
25391 (__have_dup3): Likewise.
25392 * socket/have_sock_cloexec.c: Include fcntl.h.
25393 (__have_pipe2): New variable.
25394 (__have_dup3): Likewise.
25396 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25398 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25400 2012-08-17 Marek Polacek <polacek@redhat.com>
25402 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25403 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25405 2012-08-17 Roland McGrath <roland@hack.frob.com>
25407 * configure.in: Add AC_SUBST for sysheaders.
25408 * configure: Regenerated.
25409 * config.make.in (sysheaders): New substituted variable.
25411 * sysdeps/unix/mkfifo.c: Moved ...
25412 * sysdeps/posix/mkfifo.c: ... here.
25413 * sysdeps/unix/mkfifoat.c: Moved ...
25414 * sysdeps/posix/mkfifoat.c: ... here.
25416 * sysdeps/unix/utime.c: Moved ...
25417 * sysdeps/posix/utime.c: ... here.
25419 * sysdeps/unix/time.c: Moved ...
25420 * sysdeps/posix/time.c: ... here.
25421 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25422 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25424 * sysdeps/unix/nice.c: Moved ...
25425 * sysdeps/posix/nice.c: ... here.
25427 * sysdeps/unix/alarm.c: Moved ...
25428 * sysdeps/posix/alarm.c: ... here.
25430 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25432 2012-08-17 Jeff Law <law@redhat.com>
25434 * intl/Makefile (codeset_mo): New variable.
25435 ($(codeset_mo)): New target.
25436 (tst-codeset.out): Depend on that. Remove explicit rule.
25437 (tst-gettext3.out, tst-gettext5.out): Likewise.
25438 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25439 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25440 * intl/tst-codeset.sh: Remove.
25441 * intl/tst-gettext3.sh: Likewise.
25442 * intl/tst-gettext5.sh: Likewise.
25444 2012-08-17 Roland McGrath <roland@hack.frob.com>
25446 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25447 * sysdeps/unix/syscalls.list: ... here.
25449 * sysdeps/posix/getaddrinfo.c
25450 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25451 (gaiconf_init, gaiconf_reload): Use them.
25452 [!_STATBUF_ST_NSEC]
25453 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25454 Define using time_t rather than struct timespec.
25456 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25457 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25459 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25461 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25462 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25465 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25466 __libc_cleanup_push argument.
25468 * bits/param.h: New file.
25469 * misc/sys/param.h: New file.
25470 * include/sys/param.h: New file.
25471 * misc/Makefile (headers): Add bits/param.h.
25472 * sysdeps/generic/sys/param.h: File removed.
25473 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25474 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25475 * sysdeps/mach/hurd/bits/param.h: New file.
25476 * sysdeps/mach/hurd/sys/param.h: File removed.
25478 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25481 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25483 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25484 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25487 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25488 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25489 rather than -D_IO_MTSAFE_IO conditionally.
25490 * stdio-common/Makefile (CPPFLAGS): Likewise.
25491 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25492 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25493 Use $(libio-mtsafe).
25494 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25495 of -D_IO_MTSAFE_IO.
25496 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25497 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25498 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25499 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25500 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25501 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25502 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25503 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25504 (CFLAGS-fread_u_chk.c): Likewise.
25505 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25506 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25507 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25508 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25509 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25510 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25511 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25512 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25513 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25515 * libio/Makefile: Test [$(libc-reentrant) = yes]
25516 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25519 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25520 * sysdeps/pthread/configure: File removed.
25521 * sysdeps/pthread/Makeconfig: New file.
25522 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25523 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25525 2012-08-16 Gary Benson <gbenson@redhat.com>
25527 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25528 unmapping the first object in a namespace.
25530 2012-08-16 Roland McGrath <roland@hack.frob.com>
25532 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25533 (__internal_setnetgrent): ... this. Add internal_function to
25534 definition. Add libc_hidden_def.
25535 (setnetgrent): Update caller.
25536 (internal_endnetgrent): Renamed to ...
25537 (__internal_endnetgrent): ... this. Add internal_function to
25538 definition. Add libc_hidden_def.
25539 (endnetgrent): Update caller.
25540 (internal_getnetgrent_r): Renamed to ...
25541 (__internal_getnetgrent_r): ... this. Add internal_function to
25542 definition. Add libc_hidden_def.
25543 (__getnetgrent_r): Update caller.
25544 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25546 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25548 * stdlib/longlong.h: Update from GCC.
25550 2012-08-16 Roland McGrath <roland@hack.frob.com>
25552 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25553 on _QL, which is set by umul_ppmm but never used.
25554 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25555 variables, which are set by GMP macros but never used.
25556 * stdio-common/_itowa.c (_itowa): Likewise.
25557 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25558 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25560 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25562 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25563 struct La_sh_regs is not constant.
25564 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25565 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25566 and struct La_sparc64_regs are not constant.
25568 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25570 * sysdeps/unix/sysv/linux/kernel-features.h
25571 (__ASSUME_POSIX_TIMERS): Remove.
25572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25573 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25574 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25575 Make code unconditional.
25576 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25577 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25578 Make code unconditional.
25579 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25580 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25581 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25583 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25584 Make code unconditional.
25585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25587 (__libc_missing_posix_timers): Remove.
25589 2012-08-15 Roland McGrath <roland@hack.frob.com>
25591 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25592 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25594 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25596 * elf/dl-sym.c: Include <stdlib.h>.
25598 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25599 constants, which avoids warnings in 32-bit builds.
25601 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25602 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25604 * misc/lseek.c: File moved to ...
25605 * io/lseek.c: ... here.
25607 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25609 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25610 shifting LEN more than 31 bits at once.
25612 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25615 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25616 segmentation fault for a case of two empty input strings.
25617 * string/test-strncasecmp.c (check1): Renamed to...
25618 (bz12205): ...this.
25619 (bz14195): Add new testcase for two empty input strings and N > 0.
25620 (test_main): Call new testcase, adapt for renamed function.
25622 2012-08-15 Andreas Jaeger <aj@suse.de>
25625 * crypt/md5test2.c: New test, based on test supplied by Serge
25626 Belyshev <belyshev@depni.sinp.msu.ru>.
25627 * crypt/Makefile (xtests): Add md5test-giant..
25628 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25630 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25633 * crypt/md5.c (md5_process_block): Don't assume the buffer
25634 length is less than 2**32.
25635 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25636 length is less than 2**64.
25638 2012-08-15 Roland McGrath <roland@hack.frob.com>
25640 * string/str-two-way.h: Include <sys/param.h>.
25641 (MAX): Macro removed.
25643 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25644 Move #define and #undef of memmove to just before and after
25645 including <string.h>.
25647 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25648 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25649 and after including <string.h>. Move declarations of
25650 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25651 to before #include "string/memmove.c".
25653 * include/dirent.h: Declare __getdirentries.
25655 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25656 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25658 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25660 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25661 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25662 * sysdeps/i386/configure: Regenerated.
25663 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25664 STABS_CURRENT_FILE, and STABS_FUN.
25665 (END): Remove call to STABS_FUN_END.
25666 (STABS_CURRENT_FILE1): Delete.
25667 (STABS_CURRENT_FILE): Likewise.
25668 (STABS_FUN): Likewise.
25669 (STABS_FUN_END): Likewise.
25670 (STABS_FUN2): Likewise.
25671 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25672 * sysdeps/x86_64/configure: Regenerated.
25674 2012-08-14 Roland McGrath <roland@hack.frob.com>
25676 * elf/dl-open.c: Include <atomic.h>.
25677 * elf/dl-lookup.c: Likewise.
25679 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25681 * sysdeps/unix/sysv/linux/kernel-features.h
25682 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25683 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25685 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25687 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25688 condition on __ASSUME_CLONE_THREAD_FLAGS.
25690 2012-08-14 Andreas Jaeger <aj@suse.de>
25692 * sysdeps/i386/fpu/libm-test-ulps: Update.
25694 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25696 * include/atomic.h (atomic_exchange_and_add): Split into ...
25697 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25700 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25704 2012-08-13 Jeff Law <law@redhat.com>
25706 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25707 null byte in the output string.
25709 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25711 * sysdeps/unix/sysv/linux/kernel-features.h
25712 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25713 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25714 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25715 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25716 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25717 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25718 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25720 2012-08-09 Jeff Law <law@redhat.com>
25723 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25724 When avoid_arena is set, don't retry in the that arena. Pick the
25725 next one, whatever it might be.
25726 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25727 (arena_lock): Pass in new parameter to arena_get2.
25728 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25730 (__libc_malloc): Unify retrying after main arena failure with
25731 __libc_memalign version.
25732 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25734 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25737 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25738 to __redirect_strstr.
25739 (__strstr_sse42): Use typeof __redirect_strstr.
25740 (__strstr_ia32): Likewise.
25741 (__libc_strstr): New prototype.
25742 (strstr): Renamed to ...
25743 (__libc_strstr): This.
25744 (strstr): New strong alias of __libc_strstr.
25745 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25746 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25749 (__libc_time): New prototype.
25750 (time_ifunc): Replace time with __libc_time.
25751 (time): New strong alias and hidden definition of __libc_time.
25752 (__GI_time): Remove strong alias.
25753 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25754 Include <stddef.h>.
25755 (memmove): Redefined to __redirect_memmove.
25756 (__memmove_sse2): Use typeof __redirect_memmove.
25757 (__memmove_ssse3): Likewise.
25758 (__memmove_ssse3_back): Likewise.
25759 (__libc_memmove): New prototype.
25760 (memmove): Renamed to ...
25761 (__libc_memmove): This.
25762 (memmove): New strong alias of __libc_memmove.
25764 2012-08-08 Mark Salter <msalter@redhat.com>
25767 (R_MN10300_TLS_GD): Define.
25768 (R_MN10300_TLS_LD): Likewise.
25769 (R_MN10300_TLS_LDO): Likewise.
25770 (R_MN10300_TLS_GOTIE): Likewise.
25771 (R_MN10300_TLS_IE): Likewise.
25772 (R_MN10300_TLS_LE): Likewise.
25773 (R_MN10300_TLS_DTPMOD): Likewise.
25774 (R_MN10300_TLS_DTPOFF): Likewise.
25775 (R_MN10300_TLS_TPOFF): Likewise.
25776 (R_MN10300_SYM_DIFF): Likewise.
25777 (R_MN10300_ALIGN): Likewise.
25778 (R_MN10300_NUM): Update.
25780 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25785 2012-08-08 Roland McGrath <roland@hack.frob.com>
25787 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25789 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25790 sysdeps/unix -> sysdeps/posix move.
25791 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25793 2012-08-07 Allan McRae <allan@archlinux.org>
25796 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25797 (SUNOS_CPP): Likewise.
25798 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25800 (open_input): Call CPP using execvp.
25802 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/unix/sysv/linux/kernel-features.h
25805 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25806 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25807 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25808 (__ASSUME_WAITID_SYSCALL): Likewise.
25809 * sysdeps/unix/sysv/linux/dl-execstack.c
25810 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25811 code unconditional.
25812 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25814 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25815 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25816 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25818 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25820 [__ASSUME_WAITID_SYSCALL]: Likewise.
25821 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25823 2012-08-07 Roland McGrath <roland@hack.frob.com>
25825 * sysdeps/unix/closedir.c: Renamed to ...
25826 * sysdeps/posix/closedir.c: ... here.
25827 * sysdeps/unix/dirfd.c: Renamed to ...
25828 * sysdeps/posix/dirfd.c: ... here.
25829 * sysdeps/unix/dirstream.h: Renamed to ...
25830 * sysdeps/posix/dirstream.h: ... here.
25831 * sysdeps/unix/fdopendir.c: Renamed to ...
25832 * sysdeps/posix/fdopendir.c: ... here.
25833 * sysdeps/unix/opendir.c: Renamed to ...
25834 * sysdeps/posix/opendir.c: ... here.
25835 * sysdeps/unix/readdir.c: Renamed to ...
25836 * sysdeps/posix/readdir.c: ... here.
25837 * sysdeps/unix/readdir_r.c: Renamed to ...
25838 * sysdeps/posix/readdir_r.c: ... here.
25839 * sysdeps/unix/rewinddir.c: Renamed to ...
25840 * sysdeps/posix/rewinddir.c: ... here.
25841 * sysdeps/unix/seekdir.c: Renamed to ...
25842 * sysdeps/posix/seekdir.c: ... here.
25843 * sysdeps/unix/telldir.c: Renamed to ...
25844 * sysdeps/posix/telldir.c: ... here.
25845 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25846 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25847 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25848 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25850 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25851 * bits/fcntl.h: ... here.
25853 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25855 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25856 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25857 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25858 (struct flock): Move l_start, l_len to the beginning.
25859 Use __pid_t for l_pid.
25860 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25861 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25862 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25863 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25864 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25865 [__USE_LARGEFILE64] (struct flock64): New type.
25866 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25868 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25869 * bits/dirent.h: ... here.
25871 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25872 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25874 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25877 Change from 2.6.0 to 2.6.16.
25878 * sysdeps/unix/sysv/linux/configure: Regenerated.
25879 * sysdeps/unix/sysv/linux/kernel-features.h
25880 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25881 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25883 (__ASSUME_UTIMES): Likewise.
25884 (__ASSUME_CLONE_STOPPED): Remove.
25885 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25886 architectures, not kernel version.
25887 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25888 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25889 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25890 (__ASSUME_WAITID_SYSCALL): Likewise.
25891 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25892 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25893 * README: State 2.6.16 as minimum Linux kernel version. Do not
25894 refer to older versions.
25896 2012-08-06 Roland McGrath <roland@hack.frob.com>
25898 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25899 Define alphasort64 as an alias.
25900 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25901 Define versionsort64 as an alias.
25902 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25903 Define scandir64 as an alias.
25904 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25905 Define scandirat64 as an alias.
25906 * dirent/alphasort64.c (alphasort64):
25907 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25908 * dirent/versionsort64.c: Likewise.
25909 * dirent/scandir64.c: Likewise.
25910 * dirent/scandirat64.c: Likewise.
25911 * sysdeps/wordsize-64/alphasort.c: File removed.
25912 * sysdeps/wordsize-64/alphasort64.c: File removed.
25913 * sysdeps/wordsize-64/scandir.c: File removed.
25914 * sysdeps/wordsize-64/scandir64.c: File removed.
25915 * sysdeps/wordsize-64/scandirat.c: File removed.
25916 * sysdeps/wordsize-64/scandirat64.c: File removed.
25917 * sysdeps/wordsize-64/versionsort.c: File removed.
25918 * sysdeps/wordsize-64/versionsort64.c: File removed.
25919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25928 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25930 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25932 [defined __arch64__ || defined __sparcv9]
25933 (__INO_T_MATCHES_INO64_T): New macro.
25934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25935 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25936 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25937 * sysdeps/unix/sysv/linux/bits/dirent.h
25938 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25939 (_DIRENT_MATCHES_DIRENT64): New macro.
25941 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25942 Define lockf64 as an alias.
25943 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25944 Define fseeko64 as an alias.
25945 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25946 Define ftello64 as an alias.
25947 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25948 Define _IO_fgetpos64 and fgetpos64 as aliases.
25949 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25950 Define _IO_fsetpos64 and fsetpos64 as aliases.
25951 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25952 Conditionalize body on this.
25953 * libio/fseeko64.c: Likewise.
25954 * libio/ftello64.c: Likewise.
25955 * libio/iofgetpos64.c: Likewise.
25956 * libio/iofsetpos64.c: Likewise.
25957 * sysdeps/wordsize-64/lockf.c: File removed.
25958 * sysdeps/wordsize-64/lockf64.c: File removed.
25959 * sysdeps/wordsize-64/fseeko.c: File removed.
25960 * sysdeps/wordsize-64/fseeko64.c: File removed.
25961 * sysdeps/wordsize-64/ftello.c: File removed.
25962 * sysdeps/wordsize-64/ftello64.c: File removed.
25963 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25964 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25965 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25966 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25967 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25968 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25970 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25972 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25975 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25976 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25978 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25980 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25982 [defined __arch64__ || defined __sparcv9]
25983 (__OFF_T_MATCHES_OFF64_T): New macro.
25984 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25985 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25987 (__OFF_T_MATCHES_OFF64_T): New macro.
25989 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25991 * stdlib/secure-getenv.c (__secure_getenv): Replace
25992 GLIBC_2_16 with GLIBC_2_17.
25994 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25996 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25997 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25999 2012-08-03 David S. Miller <davem@davemloft.net>
26001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26003 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26007 (__ASSUME_CORRECT_SI_PID): Likewise.
26008 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26009 (__ASSUME_TMPFS_NAME): Likewise.
26010 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26011 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26012 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26013 (HAVE_AUX_SECURE): Make definition unconditional.
26014 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26015 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26017 2012-08-03 Roland McGrath <roland@hack.frob.com>
26019 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26020 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26021 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26022 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26023 __eloop_threshold instead of SYMLOOP_MAX.
26025 * sysdeps/generic/eloop-threshold.h: New file.
26026 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26028 * elf/chroot_canon.c (chroot_canon): Likewise.
26030 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26034 Change to 2.6.0 everywhere.
26035 * sysdeps/unix/sysv/linux/configure: Regenerated.
26036 * sysdeps/unix/sysv/linux/kernel-features.h
26037 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26038 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26040 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26041 (__ASSUME_FUTEX_REQUEUE): Remove.
26042 (__ASSUME_STATFS64): Define unconditionally.
26043 (__ASSUME_AT_SECURE): Likewise.
26044 (__ASSUME_CORRECT_SI_PID): Likewise.
26045 (__ASSUME_TGKILL): Define without depending on kernel version for
26047 (__ASSUME_UTIMES): Likewise.
26048 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26050 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26051 (__ASSUME_TMPFS_NAME): Likewise.
26052 * README: Update reference to Linux kernel versions.
26054 2012-08-02 Marek Polacek <polacek@redhat.com>
26057 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26058 libc_cv_asm_type_prefix with %.
26059 * configure: Regenerated.
26060 * include/libc-symbols.h: Remove comment about
26061 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26062 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26063 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26064 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26065 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26066 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26067 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26068 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26069 * elf/tst-unique2mod1.c: Likewise.
26070 * elf/tst-unique1mod2.c: Likewise.
26071 * elf/tst-unique1mod1.c: Likewise.
26072 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26073 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26074 Replace ASM_TYPE_DIRECTIVE with .type.
26075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26076 * sysdeps/i386/sysdep.h: Likewise.
26077 * sysdeps/x86_64/sysdep.h: Likewise.
26078 * sysdeps/sh/sysdep.h: Likewise.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26080 Do not define ASM_TYPE_DIRECTIVE.
26081 * sysdeps/powerpc/sysdep.h: Likewise.
26082 * sysdeps/powerpc/powerpc32/sysdep.h:
26083 Replace ASM_TYPE_DIRECTIVE with .type.
26084 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26085 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26086 * sysdeps/i386/fpu/e_powf.S: Likewise.
26087 * sysdeps/i386/fpu/e_expl.S: Likewise.
26088 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26090 * sysdeps/i386/fpu/e_pow.S: Likewise.
26091 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26092 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26093 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26094 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26095 * sysdeps/i386/fpu/e_log2.S: Likewise.
26096 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26097 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26098 * sysdeps/i386/fpu/e_powl.S: Likewise.
26099 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26100 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26101 * sysdeps/i386/fpu/e_logl.S: Likewise.
26102 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26103 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26104 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26107 * sysdeps/i386/fpu/e_log.S: Likewise.
26108 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26109 * sysdeps/i386/fpu/e_logf.S: Likewise.
26110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26112 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26113 * sysdeps/i386/fpu/e_log10.S: Likewise.
26114 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26116 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26117 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26118 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26119 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26120 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26121 * sysdeps/i386/i686/strtok.S: Likewise.
26122 * sysdeps/i386/i386-mcount.S: Likewise.
26123 * sysdeps/i386/strtok.S: Likewise.
26124 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26128 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26129 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26130 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26131 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26133 * sysdeps/x86_64/_mcount.S: Likewise.
26134 * sysdeps/x86_64/strtok.S: Likewise.
26135 * sysdeps/sh/_mcount.S: Likewise.
26137 2012-08-01 Roland McGrath <roland@hack.frob.com>
26139 * libio/iofopen.c: Include <fcntl.h>.
26140 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26141 (_IO_fopen64, fopen64): Define as aliases.
26142 * libio/iofopen64.c: Include <fcntl.h>.
26143 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26144 Conditionalize body on this.
26145 * sysdeps/wordsize-64/iofopen.c: File removed.
26146 * sysdeps/wordsize-64/iofopen64.c: File removed.
26148 2012-08-01 Marek Polacek <polacek@redhat.com>
26150 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26151 Use dlfcn directly instead of a variable.
26152 (binfmt-subdir): Do not define.
26155 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26158 Remove all definitions.
26159 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26160 <kernel-features.h>.
26161 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26162 (miss_F_GETOWN_EX): Remove all definitions.
26163 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26165 [!__ASSUME_FCNTL64]: Remove conditional code.
26166 [__ASSUME_FCNTL64]: Make code unconditional.
26167 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26168 <kernel-features.h>.
26169 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26170 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26171 (lockf64) [__NR_fcntl64]: Make code unconditional.
26172 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26174 * sysdeps/unix/sysv/linux/kernel-features.h
26175 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26176 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26177 Make code unconditional.
26178 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26179 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26181 [__NR_vfork]: Make code unconditional.
26182 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26183 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26185 [__NR_vfork]: Make code unconditional.
26186 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26187 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26189 2012-08-01 Roland McGrath <roland@hack.frob.com>
26191 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26192 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26194 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26195 Define mkstemp64 as an alias.
26196 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26197 Define mkstemps64 as an alias.
26198 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26199 Define mkostemp64 as an alias.
26200 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26201 Define mkostemps64 as an alias.
26202 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26203 Conditionalize body on this.
26204 * misc/mkostemp64.c: Likewise.
26205 * misc/mkostemps64.c: Likewise.
26206 * misc/mkstemps64.c: Likewise.
26207 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26208 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26209 * sysdeps/wordsize-64/mkostemp.c: File removed.
26210 * sysdeps/wordsize-64/mkstemp.c: File removed.
26211 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26212 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26213 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26214 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26217 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26218 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26219 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26220 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26222 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26223 compat_symbol macros from <shlib-compat.h> rather than the underlying
26224 default_symbol_version and symbol_version macros, so that DEFAULT
26225 lines in shlib-versions are respected.
26226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26228 2012-08-01 Florian Weimer <fweimer@redhat.com>
26230 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26231 Declare with warn_unused_result.
26232 (setgid, setregid, setegid, setresgid): Likewise.
26233 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26235 * WUR-REPORT: Remove set*id functions.
26237 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26239 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26241 2012-07-31 Roland McGrath <roland@hack.frob.com>
26244 * include/sys/socket.h (__libc_accept, __libc_accept4):
26245 Add attribute_hidden.
26246 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26250 * inet/getnetgrent_r.c (setup): Likewise.
26252 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26254 2012-07-31 David S. Miller <davem@davemloft.net>
26256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26258 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26261 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26262 value between 1.0 and 2.0 and smaller part has absolute value less
26264 * math/s_clog10.c (__clog10): Likewise.
26265 * math/s_clog10f.c (__clog10f): Likewise.
26266 * math/s_clog10l.c (__clog10l): Likewise.
26267 * math/s_clogf.c (__clogf): Likewise.
26268 * math/s_clogl.c (__clogl): Likewise.
26269 * math/libm-test.inc (clog_test): Add more tests.
26270 (clog10_test): Likewise.
26271 * sysdeps/i386/fpu/libm-test-ulps: Update.
26272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26274 2012-07-31 Florian Weimer <fweimer@redhat.com>
26276 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26277 Exit with zero in case no suitable GID is found, and write a
26278 message to standard error.
26280 2012-07-30 Roland McGrath <roland@hack.frob.com>
26282 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26284 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26285 (MAXPATHLEN): Removed.
26286 (NOGROUP, NODEV): New macros.
26287 (setbit, clrbit, isset, isclr): New macros.
26288 (howmany, roundup, powerof2): New macros.
26289 (DEV_BSIZE): New macro.
26291 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26292 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26294 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26295 definition on [!__NO_LONG_DOUBLE_MATH].
26297 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26298 PTR_MANGLE and PTR_DEMANGLE.
26300 * socket/accept4.c (accept4): Rename to __libc_accept4.
26301 Define accept4 as a weak alias.
26303 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26304 on [_DIRENT_HAVE_D_TYPE].
26305 * io/ftw.c (ftw_dir): Likewise.
26307 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26309 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26311 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26312 Use the BSD numbers rather than the arbitrary ones we had.
26313 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26314 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26315 (SIGXCPU, SIGXFSZ): New macros.
26318 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26319 initializer on [_LIBC_REENTRANT].
26321 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26322 definitions inside [_POSIX_MAPPED_FILES].
26324 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26326 * dirent/opendir.c: Include <fcntl.h>.
26328 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26329 (__libc_getspecific): Likewise.
26330 (__libc_key_create): Likewise.
26332 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26333 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26334 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26335 (tmpfile64): Define as alias.
26336 * sysdeps/wordsize-64/tmpfile.c: File removed.
26337 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26339 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26341 * stdio-common/vfscanf.c: Include <stdbool.h>.
26342 * nss/makedb.c: Likewise.
26343 * stdio-common/_i18n_number.h: Likewise.
26344 * argp/argp-help.c: Likewise.
26345 * posix/wordexp.c: Likewise.
26346 * sysdeps/posix/spawni.c: Likewise.
26347 * nss/nss_files/files-initgroups.c: Likewise.
26348 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26349 * nss/nss_files/files-initgroups.c: Likewise.
26350 * nss/nss_db/db-netgrp.c: Likewise.
26351 * nss/nss_db/db-initgroups.c: Likewise.
26352 * io/fchmodat.c: Include <sys/stat.h>.
26354 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26355 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26357 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26360 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26361 Add multiple inclusion protection.
26363 2012-07-27 David S. Miller <davem@davemloft.net>
26365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26367 2012-07-27 Gary Benson <gbenson@redhat.com>
26370 * elf/rtld.c: Include <stap-probe.h>.
26371 (dl_main): Added static probes "init_start" and "init_complete".
26372 * elf/dl-load.c: Include <stap-probe.h>.
26373 (lose): Take new parameter "nsid".
26374 Added static probe "map_failed".
26375 (_dl_map_object_from_fd): Pass namespace id to lose.
26376 Added static probe "map_start".
26377 (open_verify): Pass namespace id to lose.
26378 * elf/dl-open.c: Include <stap-probe.h>.
26379 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26380 and "reloc_complete".
26381 * elf/dl-close.c: Include <stap-probe.h>.
26382 (_dl_close_worker): Added static probes "unmap_start" and
26384 * elf/rtld-debugger-interface.txt: New file documenting the above.
26386 2012-07-26 Roland McGrath <roland@hack.frob.com>
26388 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26389 rather than a string variable.
26390 * sunrpc/rpc_main.c (h_output): Likewise.
26391 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26393 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26395 * inet/check_native.c: New file.
26397 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26400 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26401 if larger part has absolute value 1.0.
26402 * math/s_clog10.c (__clog10): Likewise.
26403 * math/s_clog10f.c (__clog10f): Likewise.
26404 * math/s_clog10l.c (__clog10l): Likewise.
26405 * math/s_clogf.c (__clogf): Likewise.
26406 * math/s_clogl.c (__clogl): Likewise.
26407 * math/libm-test.inc (clog_test): Add more tests.
26408 (clog10_test): Likewise.
26409 * sysdeps/i386/fpu/libm-test-ulps: Update.
26410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26413 (pltexit): Likewise.
26414 (La_regs): Likewise.
26415 (La_retval): Likewise.
26416 (int_retval): Likewise.
26417 Update #error for removed macros to refer only to definitions in
26419 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26421 (pltexit): Likewise.
26422 (La_regs): Likewise.
26423 (La_retval): Likewise.
26424 (int_retval): Likewise.
26425 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26427 (pltexit): Likewise.
26428 (La_regs): Likewise.
26429 (La_retval): Likewise.
26430 (int_retval): Likewise.
26431 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26433 (pltexit): Likewise.
26434 (La_regs): Likewise.
26435 (La_retval): Likewise.
26436 (int_retval): Likewise.
26437 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26439 (pltexit): Likewise.
26440 (La_regs): Likewise.
26441 (La_retval): Likewise.
26442 (int_retval): Likewise.
26443 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26445 (pltexit): Likewise.
26446 (La_regs): Likewise.
26447 (La_retval): Likewise.
26448 (int_retval): Likewise.
26449 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26451 (pltexit): Likewise.
26452 (La_regs): Likewise.
26453 (La_retval): Likewise.
26454 (int_retval): Likewise.
26455 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26456 macro definitions in tst-audit.h.
26457 * sysdeps/i386/tst-audit.h: New file.
26458 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26459 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26460 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26461 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26462 * sysdeps/sh/tst-audit.h: Likewise.
26463 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26464 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26465 * sysdeps/x86_64/tst-audit.h: Likewise.
26467 2012-07-26 Andreas Jaeger <aj@suse.de>
26469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26472 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26473 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26474 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26476 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26477 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26478 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26480 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26483 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26485 (si_call_addr, si_syscall, si_arch): Define new macro.
26486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26488 (si_call_addr, si_syscall, si_arch): Define new marcro.
26489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26491 (si_call_addr, si_syscall, si_arch): Define new macro.
26492 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26494 (si_call_addr, si_syscall, si_arch): Define new macro.
26496 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26500 Change to 2.4.21 where previously 2.4.1.
26501 * sysdeps/unix/sysv/linux/configure: Regenerated.
26502 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26503 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26504 Linux kernel version.
26505 (__ASSUME_STD_AUXV): Remove.
26506 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26508 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26509 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26510 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26511 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26512 (__ASSUME_NETLINK_SUPPORT): Likewise.
26513 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26514 (__no_netlink_support): Remove conditional definition.
26515 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26517 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26518 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26519 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26520 (if_nameindex_ioctl): Remove.
26521 (if_nameindex_netlink): Do not handle __no_netlink_support.
26522 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26524 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26525 Remove conditional code.
26526 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26528 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26530 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26531 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26532 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26534 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26535 [!__ASSUME_STD_AUXV]: Remove conditional code.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26537 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26538 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26540 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26541 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26543 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26545 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26546 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26548 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26550 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26553 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26556 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26557 code unconditional.
26558 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26560 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26562 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26565 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26567 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26570 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26571 code unconditional.
26572 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26574 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26576 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26579 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26580 code unconditional.
26581 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26583 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26585 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26588 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26590 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26591 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26592 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26593 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26594 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26595 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26596 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26597 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26598 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26599 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26600 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26601 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26602 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26603 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26604 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26605 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26606 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26607 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26608 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26610 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26611 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26614 2012-07-25 Florian Weimer <fweimer@redhat.com>
26616 * Versions.def: Add GLIBC_2.17.
26617 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26618 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26619 Introduce __libc_secure_getenv.
26620 * stdlib/Versions (2.17): Add secure_getenv
26621 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26622 * stdlib/secure-getenv.c: Rename __secure_getenv to
26623 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26624 symbol __secure_getenv for GLIBC_2.0.
26625 * stdlib/tst-secure-getenv.c: New.
26626 * stdlib/Makefile (tests): Add testcase.
26627 * manual/startup.texi (Environment Access): Document
26629 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26630 __libc_secure_getenv.
26631 * inet/ruserpass.c (ruserpass): Likewise.
26632 * malloc/mtrace.c (mtrace): Likewise.
26633 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26634 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26635 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26636 * sysdeps/posix/tempname.c: Likewise. Evaluate
26637 HAVE_SECURE_GETENV.
26638 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26639 __secure_getenv to __libc_secure_getenv.
26640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26653 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26655 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26656 (struct La_i86_retval): Likewise.
26657 (struct La_x86_64_regs): Likewise.
26658 (struct La_x86_64_retval): Likewise.
26659 (struct La_x32_regs): Likewise.
26660 (struct La_x32_retval): Likewise.
26661 (struct La_ppc32_regs): Likewise.
26662 (struct La_ppc32_retval): Likewise.
26663 (struct La_ppc64_regs): Likewise.
26664 (struct La_ppc64_retval): Likewise.
26665 (struct La_sh_regs): Likewise.
26666 (struct La_sh_retval): Likewise.
26667 (struct La_s390_32_regs): Likewise.
26668 (struct La_s390_32_retval): Likewise.
26669 (struct La_s390_64_regs): Likewise.
26670 (struct La_s390_64_retval): Likewise.
26671 (struct La_sparc32_regs): Likewise.
26672 (struct La_sparc32_retval): Likewise.
26673 (struct La_sparc64_regs): Likewise.
26674 (struct La_sparc64_retval): Likewise.
26675 (struct audit_ifaces): Remove architecture-specific pltenter and
26677 * sysdeps/i386/ldsodefs.h: New file.
26678 * sysdeps/powerpc/ldsodefs.h: Likewise.
26679 * sysdeps/s390/ldsodefs.h: Likewise.
26680 * sysdeps/sh/ldsodefs.h: Likewise.
26681 * sysdeps/sparc/ldsodefs.h: Likewise.
26682 * sysdeps/x86_64/ldsodefs.h: Likewise.
26684 2012-07-25 Marek Polacek <polacek@redhat.com>
26687 * math/libm-test.inc (yn_test): Add another test.
26688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26689 to ERANGE when the result is +-Inf.
26690 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26691 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26692 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26693 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26695 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26697 * conform/data/time.h-data (NULL): Use macro-constant. Require
26699 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26701 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26703 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26705 * configure.in <sysdeps resolving>: Correct printing
26707 * configure: Regenerate.
26709 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26711 * math/w_ilogb.c: Include <limits.h>.
26712 * math/w_ilogbl.c: Likewise.
26714 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26716 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26717 va_copy. Document allowing for unavailable va_copy only as
26718 pre-C99 compatibility.
26719 * manual/string.texi (Copying and Concatenation): Use va_copy
26720 instead of __va_copy in concat example.
26722 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26724 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26725 (__sendto): Use create_address_port. Initialize APORT and deallocate
26728 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26729 with O_NOLINK passed to __file_name_lookup.
26731 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26732 with O_NOLINK passed to __file_name_lookup.
26734 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26735 negative N or less than NGIDS.
26737 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26738 type to string_t. Set ERANGE as errno and return it if NAME is not big
26739 enough. Use memcpy instead of strncpy.
26741 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26743 * elf/Makefile (check-data): Remove.
26744 (localplt.data): New vpath directive.
26745 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26746 instead of $(check-data).
26747 * scripts/data/localplt-generic.data: Move to ...
26748 * sysdeps/generic/localplt.data: ... here.
26749 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26750 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26751 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26754 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26757 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26760 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26763 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26766 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26770 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26772 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26773 PPC32 and PPC64 files.
26774 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26775 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26777 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26779 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26780 __makecontext_ret to ...
26781 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26782 ... here and call exit if uc_link is NULL. New file.
26783 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26784 __makecontext_ret.S.
26785 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26786 __makecontext_ret to ...
26787 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26788 ... here and call exit if uc_link is NULL. New file.
26789 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26790 __makecontext_ret.S.
26792 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26794 * elf/elf.h (R_390_IRELATIVE): New definition.
26795 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26796 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26797 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26799 (elf_machine_lazy_rel): Likewise.
26800 * sysdeps/s390/dl-irel.h: New file.
26801 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26802 * sysdeps/s390/s390-64/memset.S: New asm code.
26803 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26804 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26805 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26806 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26807 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26808 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26810 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26811 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26812 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26813 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26814 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26815 * sysdeps/s390/s390-32/memset.S: New asm code.
26816 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26818 2012-07-17 Marek Polacek <polacek@redhat.com>
26821 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26822 * sysdeps/s390/s390-64/configure.in: Likewise.
26823 * sysdeps/sparc/configure.in: Likewise.
26824 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26825 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26826 * sysdeps/i386/configure.in: Likewise.
26827 * sysdeps/x86_64/configure.in: Likewise.
26828 * sysdeps/sh/configure.in: Likewise.
26829 * sysdeps/s390/s390-32/configure: Regenerated.
26830 * sysdeps/s390/s390-64/configure: Likewise.
26831 * sysdeps/x86_64/configure: Likewise.
26832 * sysdeps/sh/configure: Likewise.
26833 * sysdeps/powerpc/powerpc64/configure: Likewise.
26834 * sysdeps/powerpc/powerpc32/configure: Likewise.
26835 * sysdeps/sparc/configure: Likwise.
26836 * sysdeps/i386/configure: Likewise.
26838 * elf/dl-open.c: Comment fixes.
26840 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26842 * Makefile [CXX] (check-data): Remove.
26843 [CXX] (c++-types.data): New vpath directive.
26844 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26845 vpath. Do not allow for C++ type data being missing.
26846 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26847 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26848 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26849 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26850 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26851 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26852 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26855 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26858 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26861 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26864 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26867 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26870 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26873 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26876 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26877 definitions to architecture-specific files.
26878 (TLS_IE): Likewise.
26879 (TLS_LD): Likewise.
26880 (TLS_GD): Likewise.
26881 * sysdeps/i386/tls-macros.h: New file.
26882 * sysdeps/powerpc/tls-macros.h: Likewise.
26883 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26884 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26885 * sysdeps/sh/tls-macros.h: Likewise.
26886 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26887 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26888 * sysdeps/x86_64/tls-macros.h: Likewise.
26890 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26893 zero value for regular exit case.
26895 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26896 (__start_context): Preserve zero value for regular exit case.
26898 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26899 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26901 * manual/setjmp.texi (setcontext): Clarify normal process
26902 termination when uc_link is the null pointer.
26903 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26906 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26908 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26909 preprocessor. Test for each exception mask separately.
26911 2012-07-16 Andreas Jaeger <aj@suse.de>
26913 * po/ru.po: Update from translation team.
26915 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26917 * conform/data/string.h-data (NULL): Use macro-constant. Require
26919 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26920 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26921 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26922 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26925 2012-07-13 Andreas Jaeger <aj@suse.de>
26927 * po/fr.po: Update from translation team.
26929 2012-07-12 Marek Polacek <polacek@redhat.com>
26932 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26933 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26936 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26940 Change to 2.4.1 where previously 2.4.0.
26941 * sysdeps/unix/sysv/linux/configure: Regenerated.
26942 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26943 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26945 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26946 (__ASSUME_AT_CLKTCK): Remove.
26947 (__ASSUME_AT_PAGESIZE): Likewise.
26948 (__ASSUME_AT_XID): Likewise.
26949 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26950 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26951 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26953 (HAVE_AUX_PAGESIZE): Likewise.
26954 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26955 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26956 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26958 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26962 the temporary buffer used to invoke __gethostbyname2_r,
26963 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26964 host_data / struct gaih_addrtuple.
26965 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26966 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26967 header file nss/nsswitch.h.
26968 * nss/nsswitch.h (global scope): Add definition of implementation
26969 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26970 resolv/nss_dns/dns-host.c).
26972 2012-07-11 Andreas Jaeger <aj@suse.de>
26974 * po/fr.po: Update from translation team.
26976 * po/sv.po: Update from translation team
26977 * po/fr.po: Another update from translation team.
26979 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26982 for subnormals or multiply small sinh result by itself.
26983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26986 2012-07-11 David S. Miller <davem@davemloft.net>
26988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26990 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26993 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26994 (INTERNAL_MARK): Shift it here.
26996 2012-07-10 Marek Polacek <polacek@redhat.com>
26999 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27000 libc_cv_asm_global_directive with .globl.
27001 * configure: Regenerated.
27002 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27004 * sysdeps/i386/configure: Regenerated.
27005 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27007 * sysdeps/x86_64/configure: Regenerated.
27008 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27009 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27010 * elf/tst-unique2mod2.c: Likewise.
27011 * elf/tst-unique2mod1.c: Likewise.
27012 * elf/tst-unique1mod2.c: Likewise.
27013 * elf/tst-unique1mod1.c: Likewise.
27014 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27015 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27018 * sysdeps/mach/sysdep.h: Likewise.
27019 * sysdeps/i386/sysdep.h: Likewise.
27020 * sysdeps/i386/i386-mcount.S: Likewise.
27021 * sysdeps/x86_64/_mcount.S: Likewise.
27022 * sysdeps/x86_64/sysdep.h: Likewise.
27023 * sysdeps/sh/_mcount.S: Likewise.
27024 * sysdeps/sh/sysdep.h: Likewise.
27025 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27026 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27027 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27028 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27029 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27030 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27031 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27032 * locale/localeinfo.h: Likewise.
27033 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27034 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27036 2012-07-09 Roland McGrath <roland@hack.frob.com>
27039 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27041 * manual/message.texi (The Uniforum approach): Likewise.
27042 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27043 (glibc iconv Implementation): Likewise.
27045 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27048 * math/s_clog.c (__clog): Avoid scaling a value down where that
27049 could result in underflow.
27050 * math/s_clog10.c (__clog10): Likewise.
27051 * math/s_clog10f.c (__clog10f): Likewise.
27052 * math/s_clog10l.c (__clog10l): Likewise.
27053 * math/s_clogf.c (__clogf): Likewise.
27054 * math/s_clogl.c (__clogl): Likewise.
27055 * math/libm-test.inc (clog_test): Add more tests.
27056 (clog10_test): Likewise.
27057 * sysdeps/i386/fpu/libm-test-ulps: Update.
27058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27060 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27063 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27064 by 7 not 8 to examine high bit of fractional part.
27067 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27068 for call to __mcount_internal.
27069 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27070 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27071 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27073 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27076 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27077 approximation for values within 0x1p-13f of an odd multiple of
27079 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27080 exception. Add more tests.
27081 * sysdeps/i386/fpu/libm-test-ulps: Update.
27084 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27085 inputs and return -1 for them. Do not check for +Inf in case not
27086 reachable for +Inf.
27087 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27088 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27090 and return -1 for them. Do not check for +Inf in case not
27091 reachable for +Inf.
27092 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27095 and return -1 for them. Do not check for +Inf in case not
27096 reachable for +Inf.
27097 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27098 spurious underflow.
27099 * sysdeps/i386/fpu/libm-test-ulps: Update.
27100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27102 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27104 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27106 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27110 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27111 could result in spurious underflow. Scale down values above
27112 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27113 * math/s_csqrtf.c (__csqrtf): Likewise.
27114 * math/s_csqrtl.c (__csqrtl): Likewise.
27115 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27116 spurious underflow.
27117 * sysdeps/i386/fpu/libm-test-ulps: Update.
27118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27120 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27122 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27124 * catgets/xopen-msg.awk: New file.
27125 * catgets/xopen-msg.sed: Removed.
27127 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27129 * intl/po2test.awk: New file.
27130 * intl/po2test.sed: Removed.
27132 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27135 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27136 or multiply small sinh result by itself.
27137 * math/s_ctanf.c (__ctanf): Likewise.
27138 * math/s_ctanh.c (__ctanh): Likewise.
27139 * math/s_ctanhf.c (__ctanhf): Likewise.
27140 * math/s_ctanhl.c (__ctanhl): Likewise.
27141 * math/s_ctanl.c (__ctanl): Likewise.
27142 * math/libm-test.inc (ctan_test_tonearest): New function.
27143 (ctan_test_towardzero): Likewise.
27144 (ctan_test_downward): Likewise.
27145 (ctan_test_upward): Likewise.
27146 (ctanh_test_tonearest): Likewise.
27147 (ctanh_test_towardzero): Likewise.
27148 (ctanh_test_downward): Likewise.
27149 (ctanh_test_upward): Likewise.
27150 (main): Call these new functions.
27151 * sysdeps/i386/fpu/libm-test-ulps: Update.
27152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27154 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27156 * .gitignore: Delete /ports entry.
27158 2012-07-03 Andreas Jaeger <aj@suse.de>
27160 * po/bg.po: Update from translation team.
27161 * po/cs.po: Likewise.
27162 * po/de.po: Likewise.
27163 * po/hr.po: Likewise.
27164 * po/nl.pl: Likewise.
27165 * po/pl.po: Likewise.
27166 * po/vi.po: Likewise.
27168 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27170 * Makeconfig [!+link] (+link-before-libc): New variable.
27171 [!+link] (+link-after-libc): Likewise.
27172 [!+link] (+link-tests): Likewise.
27173 [!+link] (+link): Define in terms of $(+link-before-libc) and
27174 $(+link-after-libc).
27175 [!+link-static] (+link-static-before-libc): New variable.
27176 [!+link-static] (+link-static-after-libc): Likewise.
27177 [!+link-static] (+link-static-tests): Likewise.
27178 [!+link-static] (+link-static): Define in terms of
27179 $(+link-static-before-libc) and $(+link-static-after-libc).
27180 [build-shared] (link-libc-before-gnulib): New variable.
27181 [build-shared] (link-libc-tests): Likewise.
27182 [build-shared] (link-libc): Define in terms of
27183 $(link-libc-before-gnulib).
27184 [!build-shared] (link-libc-tests): New variable.
27185 (link-libc-static-tests): New variable.
27186 [!gnulib] (gnulib-arch): New variable.
27187 [!gnulib] (gnulib-tests): Likewise.
27188 [!gnulib] (static-gnulib-arch): Likewise.
27189 [!gnulib] (static-gnulib-tests): Likewise.
27190 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27191 Define with "=" instead of ":=".
27192 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27193 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27194 * Rules (binaries-all-notests): New variable.
27195 (binaries-all-tests): Likewise.
27196 (binaries-static-notests): Likewise.
27197 (binaries-static-tests): Likewise.
27198 (binaries-all): Define using $(binaries-all-notests) and
27199 $(binaries-all-tests).
27200 (binaries-static): Define using $(binaries-static-notests) and
27201 $(binaries-static-tests).
27202 (binaries-shared-tests): New variable.
27203 (binaries-shared-notests): Likewise.
27204 (binaries-shared): Remove variable.
27205 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27206 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27207 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27208 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27209 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27210 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27211 * elf/Makefile (sln-modules): New variable.
27212 (extra-objs): Add $(sln-modules:=.o).
27213 (ldconfig-modules): Add static-stubs.
27214 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27215 * elf/static-stubs.c: New file.
27218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27219 by 7 not 8 to examine high bit of fractional part. Use volatile
27220 variables when splitting into final array of floats if
27221 __FLT_EVAL_METHOD__ != 0.
27222 * math/libm-test.inc (cos_test): Add another test.
27223 (sin_test): Likewise.
27224 * sysdeps/i386/fpu/libm-test-ulps: Update.
27227 * math/libm-test.inc (cosh_test): Add more tests.
27229 * version.h (RELEASE): Set to "development".
27230 (VERSION): Set to "2.16.90".
27232 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27234 * NEWS: Update copyright. Remove last-updated date.
27235 Mention math library bug fixes and timezone data changes.
27236 * README: Mention GNU/Hurd, x32, and HPPA support status.
27238 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27240 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27242 2012-06-27 Andreas Jaeger <aj@suse.de>
27244 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27246 2012-06-25 Andreas Jaeger <aj@suse.de>
27248 * sysdeps/s390/fpu/libm-test-ulps: Update.
27250 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27251 Thomas Schwinge <thomas@codesourcery.com>
27253 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27254 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27258 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27260 * sysdeps/mach/start.c: Remove file.
27261 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27262 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27263 * sysdeps/sh/init-first.c: Likewise.
27265 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27266 registers for frame unwinding purposes, add CFI directives.
27267 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27268 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27269 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27272 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27273 __fortify_fail returning.
27274 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27276 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27277 sysdeps/sh/____longjmp_chk.S.
27278 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27279 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27280 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27281 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27283 * sysdeps/sh/abort-instr.h: New file.
27284 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27285 process in case exit returns.
27287 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27288 initialize the GOT register before use.
27290 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27291 calculation of ARGC > 4.
27293 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27294 meaningful names to some local labels.
27296 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27297 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27299 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27300 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27301 (__arch_compare_and_exchange_val_16_acq): Likewise.
27302 (__arch_compare_and_exchange_val_32_acq): Likewise.
27303 (atomic_exchange_and_add): Fix gUSA sequence.
27304 (atomic_add): Likewise.
27305 (atomic_add_negative): Likewise.
27306 (atomic_add_zero): Likewise.
27307 (atomic_bit_test_set): Likewise.
27309 2012-06-22 Andreas Schwab <schwab@redhat.com>
27312 * include/link.h (struct link_map): Add l_free_initfini.
27313 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27315 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27316 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27317 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27320 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27322 * configure.in: Use AC_LANG_SOURCE.
27323 * configure: Regenerate.
27325 2012-06-22 Roland McGrath <roland@hack.frob.com>
27327 * configure.in (libc_cv_localstatedir): New substituted variable.
27328 * configure: Regenerated.
27329 * config.make.in (localstatedir): New variable, substituted from
27330 libc_cv_localstatedir.
27331 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27332 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27333 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27334 * sysdeps/gnu/configure: Regenerated.
27336 2012-06-21 Jeff Law <law@redhat.com>
27339 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27340 free. Simplify list management for _LIBC case.
27342 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27346 Clear sign bit of 64-bit integer value before comparing against
27349 * sysdeps/mach/configure: Regenerated.
27351 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27354 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27356 2012-06-21 Jeff Law <law@redhat.com>
27359 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27360 uint16_t for elements in the "seen" array to avoid char overflows.
27361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27362 * elf/dl-open.c (dl_open_worker): Likewise.
27364 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27366 * scripts/list-sources.sh: Scan PORTS for translations.
27367 * po/libc.pot: Regenerated.
27369 2012-06-21 Andreas Jaeger <aj@suse.de>
27372 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27374 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27375 * bits/byteswap-16.h (__bswap_16): Likewise.
27376 * bits/byteswap.h (__bswap_constant_16): Likewise.
27378 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27381 * sysdeps/i386/fpu_control.h: Removed.
27382 * sysdeps/x86_64/fpu_control.h: Moved to ...
27383 * sysdeps/x86/fpu_control.h: Here.
27385 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27386 (_FPU_SETCW): Likewise.
27388 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27391 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27392 * sysdeps/x86/fpu/bits/mathinline.h: This.
27393 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27397 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27398 functions if __x86_64__ is defined.
27400 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27402 * string/endian.h: Add !__ASSEMBLER__ condition for including
27403 conversion interfaces.
27405 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27409 of ABS(x) in calculating zero to negative powers other than odd
27411 * math/libm-test.inc (pow_test): Add more tests.
27413 2012-06-15 Andreas Jaeger <aj@suse.de>
27415 * manual/contrib.texi (Contributors): Update entry of Liubov
27416 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27419 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27421 * string/string.h: Add __wur to GNU version of strerror_r.
27423 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27426 * string/Makefile (tests): Add tst-strtok_r.
27427 * string/tst-strtok_r.c: New file.
27428 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27429 RAX_LP/RDX_LP on SAVE_PTR.
27431 2012-06-14 Roland McGrath <roland@hack.frob.com>
27433 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27435 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27437 * libm_test.inc (csqrt_test): Allow more spurious underflow
27439 (j0_test): Likewise.
27440 (j1_test): Likewise.
27441 (y0_test): Likewise.
27442 (y1_test): Likewise.
27444 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27446 * po/Makefile (libc.pot): Use UTF-8 charset.
27448 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27451 Suppress sign-conversion warning from FD_SET.
27452 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27453 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27454 not unsigned long int.
27455 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27457 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27461 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27462 __extern_always_inline instead of __extern_inline.
27463 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27464 (__signbit): Likewise.
27465 (__signbitl): Support C++ namespace.
27466 (lrintf): New inline function.
27468 (llrintf): Likewise.
27469 (llrint): Likewise.
27479 (floorf): Likewise.
27480 (nearbyint): Likewise.
27481 (nearbyintf): Likewise.
27483 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27486 non-default versions.
27488 2012-06-11 Roland McGrath <roland@hack.frob.com>
27491 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27493 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27495 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27496 (FE_UPWARD, FE_DOWNWARD): Don't define.
27497 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27498 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27500 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27502 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27503 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27505 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27507 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27509 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27510 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27512 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27515 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27516 * sysdeps/i386/fpu/Implies: New file.
27517 * sysdeps/x86_64/fpu/Implies: Likewise.
27518 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27519 * sysdeps/x86/fpu/bits/fenv.h: This.
27521 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27524 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27527 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27528 character 0xffff that matches the last element of the
27531 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27536 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27539 values higher than 25.6283.
27541 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27544 subnormal exponent extraction and add some __builtin_expect.
27545 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27546 Fix for subnormal mantissa calculation.
27548 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27550 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27551 cpu2 is -1 and errno is not ENOSYS.
27553 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27556 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27557 * sysdeps/x86/bits/string.h: This.
27558 * sysdeps/x86_64/bits/string.h: Removed.
27560 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27561 if not compiling for x86-64, but compiling for >= i486.
27563 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27564 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27566 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27567 New macro from Linux kernel 3.4.0.
27568 (FP_XSTATE_MAGIC2): Likewise.
27569 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27570 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27571 (struct _fpx_sw_bytes): New struct.
27572 (struct _xsave_hdr): Likewise.
27573 (struct _ymmh_state): Likewise.
27574 (struct _xstate): Likewise.
27576 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27577 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27579 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27581 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27583 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27584 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27585 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27586 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27587 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27588 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27590 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27593 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27594 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27595 (sysdep_headers): Include sys/platform/ppc.h.
27596 * sysdeps/powerpc/test-gettimebase.c: Test for
27597 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27598 * manual/Makefile (appendices): Include platform.texi.
27599 * manual/contrib.texi (Contributors): Update @node pointers.
27600 * manual/maint.texi (Maintenance): Likewise.
27601 (Platform): New node.
27602 * manual/platform.texi: New file. Document the new features.
27604 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27605 Jakub Jelinek <jakub@redhat.com>
27608 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27609 where __builtin_expect is unavailable.
27611 2012-06-03 David S. Miller <davem@davemloft.net>
27613 * stdlib/longlong.h: Updated from GCC.
27615 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27618 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27619 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27622 (GLIBC_2.16): Likewise.
27624 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27626 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27628 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27631 (default-abi): New variable.
27632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27633 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27635 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27637 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27639 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27642 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27643 definition. Document in comment.
27645 2012-06-01 David S. Miller <davem@davemloft.net>
27647 * stdlib/longlong.h: Updated from GCC.
27649 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27652 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27653 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27654 sys/debugreg.h sys/io.h here.
27655 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27656 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27658 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27659 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27660 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27661 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27662 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27663 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27665 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27666 Define only if __x86_64__ is defined.
27668 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27672 Use int64_t for variable i.
27673 * math/libm-test.inc (fmod_test): Add more tests.
27675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27676 z computation is not scheduled after fetestexcept.
27677 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27678 Use math_force_eval instead of asm to ensure calculation scheduled
27679 before exception test.
27680 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27681 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27683 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27686 computation is not scheduled after fetestexcept.
27688 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27691 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27692 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27694 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27696 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27697 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27699 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27704 (__WCHAR_MIN): Support __WORDSIZE == 64.
27705 (__WCHAR_MAX): Likewise.
27707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27712 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27715 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27716 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27718 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27719 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27721 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27722 Defined to 1 if __x86_64__ isn't defined.
27723 (_STAT_VER_LINUX_OLD): New.
27724 (st_atime): Remove duplicate.
27725 (st_mtime): Likewise.
27726 (st_ctime): Likewise.
27728 2012-05-31 David S. Miller <davem@davemloft.net>
27730 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27733 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27735 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27739 * elf/dl-reloc.c: Include <_itoa.h>.
27740 (_dl_reloc_bad_type): Remove use of INTUSE.
27741 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27742 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27743 * stdio-common/psiginfo.c (psiginfo): Likewise.
27744 * stdio-common/psignal.c (psignal): Likewise.
27745 * string/strsignal.c (strsignal): Likewise.
27746 * include/signal.h (_sys_siglist): Declare hidden proto.
27747 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27748 INTVARDEF with libc_hidden_data_def.
27749 * stdio-common/itoa-udigits.c: Likewise.
27750 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27751 (_itoa_lower_digits_internal): Remove declaration.
27752 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27753 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27754 (_sys_sigabbrev_internal): Remove aliases.
27755 (_sys_siglist): Define hidden alias.
27757 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27762 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27766 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27768 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27770 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27771 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27772 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27773 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27775 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27776 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27777 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27779 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27791 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27792 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27794 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27796 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27798 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27799 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27801 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27802 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27808 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27809 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27811 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27813 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27814 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27815 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27817 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27819 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27821 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27823 * math/math.h (M_El): Use two more decimal places.
27824 (M_LOG2El): Likewise.
27825 (M_LOG10El): Likewise.
27826 (M_LN2l): Likewise.
27827 (M_LN10l): Likewise.
27829 (M_PI_2l): Likewise.
27830 (M_PI_4l): Likewise.
27831 (M_1_PIl): Likewise.
27832 (M_2_PIl): Likewise.
27833 (M_2_SQRTPIl): Likewise.
27834 (M_SQRT2l): Likewise.
27835 (M_SQRT1_2l): Likewise.
27837 2012-05-31 David S. Miller <davem@davemloft.net>
27839 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27840 values between float registers.
27841 * sysdeps/sparc/sparc64/memset.S: Likewise.
27842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27844 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27846 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27847 -D_FORTIFY_SOURCE=1.
27848 (CPPFLAGS-tst-longjmp_chk.c): Define.
27849 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27850 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27851 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27852 CFLAGS-tst-wchar-h.c.
27854 2012-05-31 Marek Polacek <polacek@redhat.com>
27857 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27858 __endmntent_internal): Remove declaration.
27859 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27860 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27861 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27863 2012-05-30 David S. Miller <davem@davemloft.net>
27865 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27866 (___Q_simulate_exceptions): Use real FP ops rather than writing
27868 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27871 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27874 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27875 * sysdeps/x86/bits/xtitypes.h: This.
27877 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27878 * sysdeps/x86/bits/wordsize.h: This.
27880 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27881 * sysdeps/x86/bits/huge_vall.h: This.
27883 * sysdeps/i386/bits/select.h: Removed.
27884 * sysdeps/x86_64/bits/select.h: Renamed to ...
27885 * sysdeps/x86/bits/select.h: This.
27887 * sysdeps/i386/bits/setjmp.h: Removed.
27888 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27889 * sysdeps/x86/bits/setjmp.h: This.
27891 * sysdeps/i386/bits/mathdef.h: Removed.
27892 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27893 * sysdeps/x86/bits/mathdef.h: This.
27895 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27898 * include/sys/socket.h (__connect_internal)
27899 (__libc_sa_len_internal): Remove declaration.
27900 (__connect, __libc_sa_len): Declare hidden_proto.
27901 (SA_LEN): Remove use of INTUSE.
27902 * socket/connect.c: Add libc_hidden_def.
27903 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27904 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27905 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27907 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27908 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27909 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27910 of adding _internal alias.
27912 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27915 * sysdeps/i386/bits/link.h: Removed.
27916 * sysdeps/i386/bits/linkmap.h: Likewise.
27917 * sysdeps/x86_64/bits/link.h: Renamed to ...
27918 * sysdeps/x86/bits/link.h: This.
27919 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27920 * sysdeps/x86/bits/linkmap.h: This.
27922 * sysdeps/i386/bits/endian.h: Removed.
27923 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27924 * sysdeps/x86/bits/endian.h: This.
27926 * sysdeps/i386/bits/byteswap.h: Removed.
27927 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27928 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27929 * sysdeps/x86/bits/byteswap.h: This.
27930 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27931 * sysdeps/x86/bits/byteswap-16.h: This.
27932 * sysdeps/i386/Implies: Add x86.
27933 * sysdeps/x86_64/Implies: Likewise.
27935 2012-05-30 David S. Miller <davem@davemloft.net>
27937 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27938 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27939 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27940 (FP_TRAPPING_EXCEPTIONS): Define.
27941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27942 (FP_TRAPPING_EXCEPTIONS): Define.
27943 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27944 subnormals only when inexact has been signalled or underflow
27945 exceptions are enabled.
27946 (_FP_PACK_CANONICAL): Likewise.
27948 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27952 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27954 2012-05-30 Richard Henderson <rth@twiddle.net>
27956 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27957 with #ifndef NOT_IN_libc.
27959 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27960 marked to avoid plt entry.
27962 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27965 * Makeconfig (default-abi): New macro.
27966 (abi-includes): Likewise.
27967 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27968 $(abi-$(default-abi)-lib-soname) for soname if defined.
27969 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27971 * Makefile (installed-stubs): Likewise.
27972 * include/stubs-biarch.h: Removed.
27973 * scripts/lib-names.awk: Only handle one library at a time.
27974 * scripts/soversions.awk: Remove WORDSIZE support.
27975 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27977 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27979 (syscall-list-default-condition): Likewise.
27980 (syscall-list-default-condition): Likewise.
27981 (syscall-list-includes): Likewise.
27982 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27983 syscall-list-* with abi-*. Handle undefined abi-variants.
27984 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27985 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27986 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27987 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27988 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27989 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27991 (syscall-list-32-options): Likewise.
27992 (syscall-list-32-condition): Likewise.
27993 (syscall-list-64-options): Likewise.
27994 (syscall-list-64-condition): Likewise.
27995 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27997 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28000 (abi-64-ld-soname): New macro.
28001 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28002 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28005 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28006 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28008 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28010 * sysdeps/unix/sysv/linux/kernel-features.h
28011 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28012 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28013 include <kernel-features.h>.
28014 [!__NR_ftruncate64]: Remove conditional code.
28015 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28016 [__NR_ftruncate64]: Make code unconditional.
28017 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28018 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28019 include <kernel-features.h>.
28020 [!__NR_ftruncate64]: Remove conditional code.
28021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28022 [__NR_ftruncate64]: Make code unconditional.
28023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28025 include <kernel-features.h>.
28026 [!__NR_ftruncate64]: Remove conditional code.
28027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28028 [__NR_ftruncate64]: Make code unconditional.
28029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28031 include <kernel-features.h>.
28032 [!__NR_ftruncate64]: Remove conditional code.
28033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28034 [__NR_ftruncate64]: Make code unconditional.
28035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28037 * configure.in (libc_cv_fpie): Weaken to a compile test using
28038 LIBC_TRY_CC_OPTION.
28039 * configure: Regenerated.
28041 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28056 2012-05-27 David S. Miller <davem@davemloft.net>
28058 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28060 (__Q_simulate_exceptions): Return void. Change to simulate
28061 exceptions by writing into the %fsr.
28062 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28063 (__Qp_handle_exceptions): Likewise.
28065 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28066 __Qp_handle_exceptions.
28067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28068 __Qp_handle_exceptions.
28069 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28070 as unused and give dummy FP_RND_NEAREST initializer.
28071 (FP_INHIBIT_RESULTS): Define.
28072 (___Q_simulate_exceptions): Update declaration.
28073 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28076 as unused and give dummy FP_RND_NEAREST initializer.
28077 (__Qp_handle_exceptions): Update declaration.
28078 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28081 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28083 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28084 the temporary FPU control word.
28085 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28086 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28087 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28088 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28089 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28090 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28091 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28093 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28094 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28097 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28099 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28102 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28104 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28105 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28106 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28107 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28109 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28110 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28113 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28115 * po/h.po: Update from translation team.
28117 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28119 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28122 handling of denormals.
28123 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28124 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28125 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28126 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28132 2012-05-26 Marek Polacek <polacek@redhat.com>
28135 * math/libm-test.inc (fma_test): Don't always expect underflow
28138 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28141 * elf/tst-execstack.c: Include stackinfo.h.
28142 (do_test): Adjust test case to ensure that pthread_getattr_np
28143 behaviour remains the same after marking stack executable.
28145 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28147 * sysdeps/unix/sysv/linux/kernel-features.h
28148 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28149 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28151 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28152 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28153 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28155 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28156 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28158 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28160 * configure.in: Define the default includes to being none.
28161 * configure: Regenerated.
28163 2012-05-25 Roland McGrath <roland@hack.frob.com>
28165 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28166 * sysdeps/x86_64/setjmp.S: Likewise.
28167 * sysdeps/i386/bsd-setjmp.S: Likewise.
28168 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28169 * sysdeps/i386/setjmp.S: Likewise.
28170 * sysdeps/i386/__longjmp.S: Likewise.
28171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28172 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28174 * include/stap-probe.h: New file.
28175 * configure.in: Handle --enable-systemtap.
28176 * configure: Regenerated.
28177 * config.h.in (USE_STAP_PROBE): New #undef.
28178 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28179 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28180 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28182 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28186 to 2.4.0 where earlier.
28187 * sysdeps/unix/sysv/linux/configure: Regenerated.
28188 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28189 <kernel-features.h>.
28190 [__ASSUME_32BITUIDS]: Make code unconditional.
28191 [!__ASSUME_32BITUIDS]: Remove conditional code.
28192 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28193 <kernel-features.h>.
28194 [__ASSUME_32BITUIDS]: Make code unconditional.
28195 [!__ASSUME_32BITUIDS]: Remove conditional code.
28196 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28197 [__ASSUME_32BITUIDS]: Make code unconditional.
28198 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28199 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28200 <kernel-features.h>.
28201 [__ASSUME_32BITUIDS]: Make code unconditional.
28202 [!__ASSUME_32BITUIDS]: Remove conditional code.
28203 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28204 <kernel-features.h>.
28205 [__ASSUME_32BITUIDS]: Make code unconditional.
28206 [!__ASSUME_32BITUIDS]: Remove conditional code.
28207 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28208 <kernel-features.h>.
28209 [__ASSUME_32BITUIDS]: Make code unconditional.
28210 [!__ASSUME_32BITUIDS]: Remove conditional code.
28211 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28212 <kernel-features.h>.
28213 [__ASSUME_32BITUIDS]: Make code unconditional.
28214 [!__ASSUME_32BITUIDS]: Remove conditional code.
28215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28216 <kernel-features.h>.
28217 [__ASSUME_32BITUIDS]: Make code unconditional.
28218 [!__ASSUME_32BITUIDS]: Remove conditional code.
28219 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28220 <kernel-features.h>.
28221 [__ASSUME_32BITUIDS]: Make code unconditional.
28222 [!__ASSUME_32BITUIDS]: Remove conditional code.
28223 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28224 <kernel-features.h>.
28225 [__ASSUME_32BITUIDS]: Make code unconditional.
28226 [!__ASSUME_32BITUIDS]: Remove conditional code.
28227 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28228 <kernel-features.h>.
28229 [__ASSUME_32BITUIDS]: Make code unconditional.
28230 [!__ASSUME_32BITUIDS]: Remove conditional code.
28231 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28232 <kernel-features.h>.
28233 [__ASSUME_32BITUIDS]: Make code unconditional.
28234 [!__ASSUME_32BITUIDS]: Remove conditional code.
28235 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28236 <kernel-features.h>.
28237 [__ASSUME_32BITUIDS]: Make code unconditional.
28238 [!__ASSUME_32BITUIDS]: Remove conditional code.
28239 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28240 <kernel-features.h>.
28241 [__NR_setresgid] (__setresgid): Do not declare.
28242 [__ASSUME_32BITUIDS]: Make code unconditional.
28243 [!__ASSUME_32BITUIDS]: Remove conditional code.
28244 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28245 <kernel-features.h>.
28246 [__NR_setresuid] (__setresuid): Do not declare.
28247 [__ASSUME_32BITUIDS]: Make code unconditional.
28248 [!__ASSUME_32BITUIDS]: Remove conditional code.
28249 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28250 <kernel-features.h>.
28251 [__ASSUME_32BITUIDS]: Make code unconditional.
28252 [!__ASSUME_32BITUIDS]: Remove conditional code.
28253 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28254 <kernel-features.h>.
28255 [__ASSUME_32BITUIDS]: Make code unconditional.
28256 [!__ASSUME_32BITUIDS]: Remove conditional code.
28257 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28258 <kernel-features.h>.
28259 [__ASSUME_32BITUIDS]: Make code unconditional.
28260 [!__ASSUME_32BITUIDS]: Remove conditional code.
28261 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28262 <kernel-features.h>.
28263 [__ASSUME_32BITUIDS]: Make code unconditional.
28264 [!__ASSUME_32BITUIDS]: Remove conditional code.
28265 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28266 <kernel-features.h>.
28267 [__ASSUME_32BITUIDS]: Make code unconditional.
28268 [!__ASSUME_32BITUIDS]: Remove conditional code.
28269 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28270 <kernel-features.h>.
28271 [__ASSUME_32BITUIDS]: Make code unconditional.
28272 [!__ASSUME_32BITUIDS]: Remove conditional code.
28273 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28274 <kernel-features.h>.
28275 [__ASSUME_32BITUIDS]: Make code unconditional.
28276 [!__ASSUME_32BITUIDS]: Remove conditional code.
28277 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28278 <kernel-features.h>.
28279 [__ASSUME_32BITUIDS]: Make code unconditional.
28280 [!__ASSUME_32BITUIDS]: Remove conditional code.
28281 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28282 <kernel-features.h>.
28283 [__ASSUME_32BITUIDS]: Make code unconditional.
28284 [!__ASSUME_32BITUIDS]: Remove conditional code.
28285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28286 <kernel-features.h>.
28287 [__ASSUME_32BITUIDS]: Make code unconditional.
28288 [!__ASSUME_32BITUIDS]: Remove conditional code.
28289 * sysdeps/unix/sysv/linux/kernel-features.h
28290 (__ASSUME_SETRESUID_SYSCALL): Remove.
28291 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28292 (__ASSUME_32BITUIDS): Likewise.
28293 (__ASSUME_LDT_WORKS): Likewise.
28294 (__ASSUME_O_DIRECTORY): Likewise.
28295 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28296 architecture but not kernel version.
28297 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28298 (__ASSUME_MMAP2_SYSCALL): Likewise.
28299 (__ASSUME_STAT64_SYSCALL): Likewise.
28300 (__ASSUME_IPC64): Likewise.
28301 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28302 <kernel-features.h>.
28303 [__ASSUME_32BITUIDS]: Make code unconditional.
28304 [!__ASSUME_32BITUIDS]: Remove conditional code.
28305 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28306 <kernel-features.h>.
28307 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28308 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28309 132096]: Remove conditional code.
28310 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28311 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28312 <kernel-features.h>.
28313 [__ASSUME_32BITUIDS]: Make code unconditional.
28314 [!__ASSUME_32BITUIDS]: Remove conditional code.
28315 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28316 <kernel-features.h>.
28317 [__ASSUME_32BITUIDS]: Make code unconditional.
28318 [!__ASSUME_32BITUIDS]: Remove conditional code.
28319 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28320 <kernel-features.h>.
28321 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28323 (__setresgid): Do not declare.
28324 [__ASSUME_32BITUIDS]: Make code unconditional.
28325 [!__ASSUME_32BITUIDS]: Remove conditional code.
28326 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28327 <kernel-features.h>.
28328 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28330 (__setresuid): Do not declare.
28331 [__ASSUME_32BITUIDS]: Make code unconditional.
28332 [!__ASSUME_32BITUIDS]: Remove conditional code.
28333 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28334 <kernel-features.h>.
28335 [__ASSUME_32BITUIDS]: Make code unconditional.
28336 [!__ASSUME_32BITUIDS]: Remove conditional code.
28337 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28338 <kernel-features.h>.
28339 [__ASSUME_32BITUIDS]: Make code unconditional.
28340 [!__ASSUME_32BITUIDS]: Remove conditional code.
28342 2012-05-25 Richard Henderson <rth@twiddle.net>
28344 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28345 dl_hwcap to ifunc resolver.
28346 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28348 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28349 dl_hwcap to ifunc resolver.
28350 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28352 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28355 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28356 for |x| <= 2**-26, not 2**-57.
28357 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28360 2012-05-24 Jeff Law <law@redhat.com>
28362 * stdio-common/Makefile (tests): Add bug25.
28363 * stdio-common/bug25.c: New test.
28365 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28368 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28369 multiple of MALLOC_ALIGNMENT in size.
28370 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28372 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28374 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28376 (FILENAME_MAX): Use macro-int-constant.
28377 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28378 (_IOFBF): Use macro-int-constant.
28379 (_IOLBF): Likewise.
28380 (_IONBF): Likewise.
28381 (SEEK_CUR): Likewise.
28382 (SEEK_END): Likewise.
28383 (SEEK_SET): Likewise.
28384 (TMP_MAX): Likewise.
28385 (EOF): Use macro-int-constant. Require < 0.
28386 (NULL): Use macro-constant. Require == 0.
28387 (stdin): Require type to be FILE *.
28388 (stdout): Likewise.
28389 (stderr): Likewise.
28390 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28391 macro-int-constant.
28392 (EXIT_SUCCESS): Likewise.
28393 (NULL): Use macro-constant. Require == 0.
28394 (RAND_MAX): Use macro-int-constant.
28395 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28396 [C99-based standards] (strtof): Require function.
28397 [C99-based standards] (strtold): Likewise.
28398 [C99-based standards] (strtoll): Likewise.
28399 [C99-based standards] (strtoull): Likewise.
28400 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28401 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28402 [ISO || ISO99 || ISO11] (math.h): Likewise.
28403 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28404 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28407 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28410 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28411 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28412 * intl/dgettext.c (DCGETTEXT): Likewise.
28413 * intl/gettext.c (DCGETTEXT): Likewise.
28414 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28415 * posix/regex_internal.h (gettext): Likewise.
28416 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28417 Remove declaration.
28418 * include/argz.h (__argz_count_internal)
28419 (__argz_stringify_internal): Remove declaration.
28420 (__argz_count, __argz_stringify): Declare hidden proto.
28421 * intl/dcgettext.c: Remove use of INTDEF.
28422 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28423 * string/argz-stringify.c: Likewise.
28424 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28425 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28426 Declare hidden proto.
28427 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28428 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28429 Declare hidden proto.
28430 * include/stdio.h (__asprintf_internal): Don't declare.
28431 (__asprintf): Don't define as macro. Declare hidden proto.
28432 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28433 (__fsetlocking): Declare hidden proto.
28434 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28435 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28437 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28438 (_IO_setlinebuf): Remove use of INTUSE.
28439 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28440 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28441 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28442 Remove declaration.
28443 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28444 (_IO_do_flush): Remove use of INTUSE.
28445 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28446 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28447 (_IO_adjust_column, _IO_least_wmarker)
28448 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28449 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28450 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28451 (_IO_default_doallocate, _IO_wdefault_doallocate)
28452 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28453 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28454 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28455 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28456 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28457 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28458 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28459 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28460 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28461 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28462 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28463 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28464 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28466 (_IO_flush_all_internal, _IO_adjust_column_internal)
28467 (_IO_default_uflow_internal, _IO_default_finish_internal)
28468 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28469 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28470 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28471 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28472 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28473 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28474 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28475 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28476 (_IO_file_close_internal, _IO_file_close_it_internal)
28477 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28478 (_IO_file_init_internal, _IO_file_attach_internal)
28479 (_IO_file_fopen_internal, _IO_file_read_internal)
28480 (_IO_file_sync_internal, _IO_file_seek_internal)
28481 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28482 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28483 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28484 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28485 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28486 (_IO_list_all_internal, _IO_link_in_internal)
28487 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28488 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28489 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28490 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28491 (_IO_do_write_internal, _IO_padn_internal)
28492 (_IO_getline_info_internal, _IO_getline_internal)
28493 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28494 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28495 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28496 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28497 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28498 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28499 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28500 with libc_hidden_ver, remove use of INTUSE.
28501 * libio/genops.c: Likewise.
28502 * libio/freopen.c: Likewise.
28503 * libio/freopen64.c: Likewise.
28504 * libio/iofclose.c: Likewise.
28505 * libio/iofdopen.c: Likewise.
28506 * libio/iofflush.c: Likewise.
28507 * libio/iofflush_u.c: Likewise.
28508 * libio/iofgets.c: Likewise.
28509 * libio/iofgets_u.c: Likewise.
28510 * libio/iofopen.c: Likewise.
28511 * libio/iofopncook.c: Likewise.
28512 * libio/iofread.c: Likewise.
28513 * libio/iofread_u.c: Likewise.
28514 * libio/ioftell.c: Likewise.
28515 * libio/iofwrite.c: Likewise.
28516 * libio/iogetline.c: Likewise.
28517 * libio/iogets.c: Likewise.
28518 * libio/iogetwline.c: Likewise.
28519 * libio/iopadn.c: Likewise.
28520 * libio/iopopen.c: Likewise.
28521 * libio/ioseekoff.c: Likewise.
28522 * libio/ioseekpos.c: Likewise.
28523 * libio/iosetbuffer.c: Likewise.
28524 * libio/iosetvbuf.c: Likewise.
28525 * libio/ioungetc.c: Likewise.
28526 * libio/ioungetwc.c: Likewise.
28527 * libio/iovdprintf.c: Likewise.
28528 * libio/iovsprintf.c: Likewise.
28529 * libio/iovsscanf.c: Likewise.
28530 * libio/memstream.c: Likewise.
28531 * libio/obprintf.c: Likewise.
28532 * libio/oldfileops.c: Likewise.
28533 * libio/oldiofclose.c: Likewise.
28534 * libio/oldiofdopen.c: Likewise.
28535 * libio/oldiofopen.c: Likewise.
28536 * libio/oldiopopen.c: Likewise.
28537 * libio/oldstdfiles.c: Likewise.
28538 * libio/putc.c: Likewise.
28539 * libio/setbuf.c: Likewise.
28540 * libio/setlinebuf.c: Likewise.
28541 * libio/stdfiles.c: Likewise.
28542 * libio/strops.c: Likewise.
28543 * libio/vasprintf.c: Likewise.
28544 * libio/vscanf.c: Likewise.
28545 * libio/vsnprintf.c: Likewise.
28546 * libio/vswprintf.c: Likewise.
28547 * libio/wfiledoalloc.c: Likewise.
28548 * libio/wfileops.c: Likewise.
28549 * libio/wgenops.c: Likewise.
28550 * libio/wmemstream.c: Likewise.
28551 * libio/wstrops.c: Likewise.
28552 * libio/__fpurge.c: Likewise.
28553 * libio/__fsetlocking.c: Likewise.
28554 * assert/assert.c: Likewise.
28555 * debug/fgets_chk.c: Likewise.
28556 * debug/fgets_u_chk.c: Likewise.
28557 * debug/fread_chk.c: Likewise.
28558 * debug/fread_u_chk.c: Likewise.
28559 * debug/gets_chk.c: Likewise.
28560 * debug/obprintf_chk.c: Likewise.
28561 * debug/vasprintf_chk.c: Likewise.
28562 * debug/vdprintf_chk.c: Likewise.
28563 * debug/vsnprintf_chk.c: Likewise.
28564 * debug/vsprintf_chk.c: Likewise.
28565 * malloc/mtrace.c: Likewise.
28566 * misc/error.c: Likewise.
28567 * misc/syslog.c: Likewise.
28568 * stdio-common/asprintf.c: Likewise.
28569 * stdio-common/fxprintf.c: Likewise.
28570 * stdio-common/getw.c: Likewise.
28571 * stdio-common/isoc99_fscanf.c: Likewise.
28572 * stdio-common/isoc99_scanf.c: Likewise.
28573 * stdio-common/isoc99_vfscanf.c: Likewise.
28574 * stdio-common/isoc99_vscanf.c: Likewise.
28575 * stdio-common/isoc99_vsscanf.c: Likewise.
28576 * stdio-common/printf-prs.c: Likewise.
28577 * stdio-common/printf_fp.c: Likewise.
28578 * stdio-common/printf_fphex.c: Likewise.
28579 * stdio-common/printf_size.c: Likewise.
28580 * stdio-common/putw.c: Likewise.
28581 * stdio-common/scanf.c: Likewise.
28582 * stdio-common/sprintf.c: Likewise.
28583 * stdio-common/tmpfile.c: Likewise.
28584 * stdio-common/vfprintf.c: Likewise.
28585 * stdio-common/vfscanf.c: Likewise.
28586 * stdlib/strfmon_l.c: Likewise.
28587 * sunrpc/openchild.c: Likewise.
28588 * sunrpc/xdr_stdio.c: Likewise.
28589 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28590 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28592 2012-05-24 Roland McGrath <roland@hack.frob.com>
28594 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28596 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28597 in the third column, to generate for the shared library an IFUNC
28598 that uses _dl_vdso_vsym.
28599 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28600 * Makeconfig (object-suffixes-noshared): New variable.
28602 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28603 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28604 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28605 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28608 * include/sys/time.h (__gettimeofday): Remove macro.
28609 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28610 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28612 (__gettimeofday): Add libc_hidden_def.
28613 (gettimeofday): Add libc_hidden_weak.
28614 * sysdeps/mach/gettimeofday.c: Likewise.
28615 * sysdeps/posix/gettimeofday.c: Likewise.
28616 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28617 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28619 (__gettimeofday_internal): Remove strong_alias.
28620 (__gettimeofday): Add libc_hidden_def.
28621 (gettimeofday): Add libc_hidden_weak.
28622 * sysdeps/unix/syscalls.list (gettimeofday):
28623 Remove __gettimeofday_internal alias.
28625 2012-05-24 Daniel Jacobowitz <drow@false.org>
28626 H.J. Lu <hongjiu.lu@intel.com>
28629 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28630 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28631 (largebin_index_32_big): New.
28632 (largebin_index): Use it for 16-byte alignment.
28633 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28634 correction with front_misalign.
28636 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28664 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28665 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28667 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28671 * math/libm-test.inc (exp_test): Add test from bug 14036.
28672 (pow_test): Add test from bug 10846.
28674 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28676 (special_function): Do not include flags in test name.
28677 (parse_args): Likewise.
28678 * sysdeps/i386/fpu/libm-test-ulps: Update.
28679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28680 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28686 * math/libm-test.inc ("Philosophy"): Update comment about
28688 (UNDERFLOW_EXCEPTION): New macro.
28689 (UNDERFLOW_EXCEPTION_OK): Likewise.
28690 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28691 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28692 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28693 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28694 (INVALID_EXCEPTION_OK): Update value.
28695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28696 (OVERFLOW_EXCEPTION_OK): Likewise.
28697 (IGNORE_ZERO_INF_SIGN): Likewise.
28698 (test_exceptions): Handle underflow exceptions.
28699 (acos_test): Update for underflow exception expectations.
28700 (cexp_test): Likewise.
28701 (clog_test): Likewise.
28702 (clog10_test): Likewise.
28703 (csqrt_test): Likewise.
28704 (ctan_test): Likewise.
28705 (ctanh_test): Likewise.
28706 (exp_test): Likewise.
28707 (exp10_test): Likewise.
28708 (exp2_test): Likewise.
28709 (expm1_test): Likewise.
28710 (fma_test): Likewise.
28711 (j0_test): Likewise.
28712 (jn_test): Likewise.
28713 (nexttoward_test): Likewise.
28714 (pow_test): Likewise.
28715 (scalbn_test): Likewise.
28716 (scalbln_test): Likewise.
28717 (tan_test): Likewise.
28718 (y1_test): Likewise.
28719 * sysdeps/i386/fpu/libm-test-ulps: Update.
28720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722 2012-05-23 David S. Miller <davem@davemloft.net>
28724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28725 (__libc_sigaction): Remove unused local variables.
28727 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28729 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28731 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28733 mktime: avoid signed integer overflow
28734 * time/mktime.c (__mktime_internal): Do not mishandle the case
28735 where diff == INT_MIN.
28737 mktime: simplify computation of average
28738 * time/mktime.c (ranged_convert): Use new time_t_avg function
28739 instead of rolling our own (probably-slower) code.
28741 mktime: do not assume signed right shift propagates sign bit
28742 * time/mktime.c (isdst_differ): New static function.
28743 (__mktime_internal): No need to normalize tm_isdst now.
28744 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28747 mktime: merge another wrapv change from gnulib
28748 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28749 from some compilers.
28751 mktime: remove incorrect attempt at unusual arithmetics
28752 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28753 The code didn't really work on such machines anyway.
28754 (TYPE_MINIMUM): Assume two's complement.
28755 (twos_complement_arithmetic): Verify that long_int and time_t
28756 are two's complement (or unsigned, in the latter case).
28758 mktime: check signed shifts on long_int and time_t, too
28759 * time/mktime.c (SHR): Check that shifts work as desired
28760 on the types long_int and time_t too, as SHR is used on
28763 mktime: do not assume 'long' is wide enough
28764 * time/mktime.c (verify): Move decl up.
28765 (long_int): New type.
28766 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28767 to remove assumption in the code that 'long' is wide enough to
28768 store year values. This assumption is not true on x32 and on
28769 some non-glibc platforms.
28771 mktime: merge wrapv change from gnulib
28772 * time/mktime.c (WRAPV): New macro.
28773 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28774 (guess_time_tm, __mktime_internal): Do not assume that signed
28775 integer overflow wraps around; modern compilers generate code
28776 where this assumption is no longer valid.
28778 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28780 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28781 Replace "jmp L(pseudo_end)" with "ret".
28782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28785 2012-05-23 Andreas Jaeger <aj@suse.de>
28787 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28788 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28790 2012-05-23 Andreas Jaeger <aj@suse.de>
28791 Maximilian Attems <max@stro.at>
28793 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28796 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28799 code so that pseudo_end is just ret and the stack pointer is
28800 correct also for static library in error case.
28802 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28804 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28805 move to syscalls.list.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28811 * manual/install.texi (Running make install): Do not mention Linux
28812 kernel version for which pt_chown is not needed.
28813 (Linux): Do not mention problems with nscd with 2.0 kernels.
28814 * INSTALL: Regenerated.
28816 2012-05-23 Andreas Jaeger <aj@suse.de>
28818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28819 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28821 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28823 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28825 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28827 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28829 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28831 * sysdeps/unix/sysv/linux/bits/in.h
28832 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28834 2012-05-22 Roland McGrath <roland@hack.frob.com>
28836 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28837 (PREPARE_VERSION): Just use assert instead, it will be elided
28838 under [NDEBUG] anyway.
28840 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28842 * sysdeps/unix/sysv/linux/Makefile: Include
28843 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28844 (sysdep_routines): Remove sysctl.
28845 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28846 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28848 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28849 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28851 2012-05-22 Andreas Jaeger <aj@suse.de>
28853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28854 that pseudo_end is just ret and the stack pointer is correct also
28855 for static library in error case.
28857 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28860 * nss/nsswitch.c (defconfig_entries): New variable.
28861 (__nss_database_lookup): Don't leak defconfig entries.
28862 (nss_parse_service_list): Don't leak on error paths.
28863 (free_database_entries): New function.
28864 (free_defconfig): New function.
28865 (free_mem): Move common code to free_database_entries.
28867 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28869 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28871 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28873 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28874 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28877 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28878 (INTERNAL_SYSCALL_TYPES): Likewise.
28879 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28880 (LOAD_REGS_TYPES_[1-6]): Likewise.
28881 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28882 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28884 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28886 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28887 copysignl for GLIBC_2_0.
28888 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28889 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28891 logbl for GLIBC_2_0.
28892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28893 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28895 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28897 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28900 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28903 * time/mktime.c: Update copyright years.
28905 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28907 mktime: merge comment-quoting-style change from gnulib
28908 * time/mktime.c: Quote 'like this' in comments.
28909 The GNU coding standards suggest that we no longer quote `like this',
28910 as "`" and "'" are typically rendered asymmetrically nowadays.
28911 The typical gnulib style is to quote 'like this' when quoting
28912 code, and "like this" when quoting English.
28914 * time/mktime.c (compile-command): Add "-I.".
28916 mktime: merge mktime-internal.h change from gnulib
28917 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28919 mktime: merge time_r change from gnulib
28920 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28922 mktime: merge DEBUG change from gnulib
28923 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28924 case system <time.h> has a #define.
28926 mktime: merge <sys/types.h> change from gnulib
28927 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28928 since <time.t> is now guaranteed to define time_t.
28930 mktime: merge HAVE_CONFIG_H change from gnulib
28931 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28933 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28938 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28940 (struct rusage): Use anonymous union to pad each field to
28943 2012-05-21 David S. Miller <davem@davemloft.net>
28945 * Makefules (o-iterator): Remove .s cases.
28946 (compile-command.s): Delete.
28947 (COMPILE.s): Delete.
28948 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28950 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28952 * configure.in (libc_cv_predef_stack_protector): Only consider
28953 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28954 * configure: Regenerated.
28956 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28959 New macro. Use R*LP on int and pointer.
28960 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28965 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28966 [__WORDSIZE_TIME64_COMPAT32] instead of
28967 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28968 (struct utmp): Likewise.
28969 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28970 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28972 (__WORDSIZE_TIME64_COMPAT32): This.
28973 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28974 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28975 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28976 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28977 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28978 (__WORDSIZE_TIME64_COMPAT32): New macro.
28980 2012-05-21 Andreas Jaeger <aj@suse.de>
28982 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28983 only if [SHARED]. Add prototype for __wcschr_ia32.
28985 2012-05-21 Roland McGrath <roland@hack.frob.com>
28987 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28988 of %rbp unmolested in the jmp_buf while mangling the low bits.
28989 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28990 unmolested high bits of %rbp while demangling the low bits.
28991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28993 2012-05-21 Andreas Jaeger <aj@suse.de>
28995 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28996 * sunrpc/svc_simple.c: Use it for registerrpc.
28997 * sunrpc/xcrypt.c: Use it for passwd2des.
28999 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29001 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29004 Don't define if [__SYSCALL_WORDSIZE != 32].
29005 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29008 2012-05-21 Bruno Haible <bruno@clisp.org>
29009 Andreas Jaeger <aj@suse.de>
29011 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29012 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29013 inptr and inend for must_buffer_ch.
29014 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29015 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29016 * stdio-common/Makefile (tests): Remove bug15.
29017 (bug15-ENV): Remove macro.
29018 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29021 2012-05-19 Andreas Jaeger <aj@suse.de>
29022 Roland McGrath <roland@hack.frob.com>
29024 * manual/contrib.texi: Completely rewritten. It contains now an
29025 alphabetical list of contributors and their contributions.
29027 2012-05-21 Richard Henderson <rth@twiddle.net>
29029 * misc/getauxval.c (__getauxval): Use unsigned long int.
29030 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29031 (getauxval): Use unsigned long int.
29033 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29035 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29037 2012-05-21 Roland McGrath <roland@hack.frob.com>
29039 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29040 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29041 __alignof__ (long double).
29043 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29047 2012-05-20 Richard Henderson <rth@twiddle.net>
29049 * misc/getauxval.c: New file.
29050 * misc/sys/auxv.h: New file.
29051 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29052 (routines): Add getauxval.
29053 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29054 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29055 * elf/dl-sysdep.c (_dl_auxv): Remove.
29056 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29057 * elf/dl-support.c (_dl_auxv): New variable.
29058 (_dl_aux_init): Initialize it.
29059 * manual/startup.texi (Auxiliary Vector): New node.
29060 * sysdeps/generic/bits/hwcap.h: New file.
29061 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29062 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29063 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29064 * sysdeps/sparc/sysdep.h: ... here. Include it.
29065 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29072 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29078 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29082 2012-05-19 David S. Miller <davem@davemloft.net>
29084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29086 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29089 * math/s_ccosh.c: Include <float.h>
29090 (__ccosh): Avoid internal overflow calculating sinh and cosh
29091 values before multiplying by sin and cos values.
29092 * math/s_ccoshf.c: Likewise.
29093 * math/s_ccoshl.c: Likewise.
29094 * math/s_csin.c: Likewise.
29095 * math/s_csinf.c: Likewise.
29096 * math/s_csinl.c: Likewise.
29097 * math/s_csinh.c: Likewise.
29098 * math/s_csinhf.c: Likewise.
29099 * math/s_csinhl.c: Likewise.
29100 * math/libm-test.inc (ccos_test): Add more tests.
29101 (ccosh_test): Likewise.
29102 (csin_test): Likewise.
29103 (csinh_test): Likewise.
29104 * sysdeps/i386/fpu/libm-test-ulps: Update.
29105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29107 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29109 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29110 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29112 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29114 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29116 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29117 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29118 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29119 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29120 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29121 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29122 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29123 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29124 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29125 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29126 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29127 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29128 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29129 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29130 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29131 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29132 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29133 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29134 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29135 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29136 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29137 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29138 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29139 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29140 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29141 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29142 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29143 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29144 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29145 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29146 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29148 2012-05-18 Andreas Jaeger <aj@suse.de>
29150 * csu/.gitignore: Delete.
29152 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29154 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29155 (timex): Use __syscall_slong_t.
29157 2012-05-18 Andreas Jaeger <aj@suse.de>
29158 Carlos O'Donell <carlos_odonell@mentor.com>
29160 * manual/install.texi (Configuring and compiling): Update
29161 description about files modified in the source directory.
29162 * INSTALL: Regenerated.
29164 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29166 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29167 value. Use "or" to set return value to -1.
29168 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29169 negate return value.
29171 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29173 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29174 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29175 failure if the compiler has Graphite support disabled.
29176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29178 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29179 (CFLAGS-memmove.c): Likewise.
29180 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29183 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29185 * sysdeps/x86_64/x32/_itoa.h: New file.
29187 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29188 getdents system call only if kernel and user dirents have the
29189 same d_ino and d_off.
29191 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29192 LLONG_MAX != LONG_MAX.
29193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29194 (_fitoa_word): Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29203 include <bits/wordsize.h>. Check __x86_64__ instead of
29205 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29206 if __x86_64__ is defined. Use anonymous union on fpstate.
29208 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29211 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29213 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29214 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29216 Refer to _rtld_local_ro instead of _rtld_global_ro.
29217 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29219 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29221 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29223 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29224 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29225 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29227 * sysdeps/powerpc/powerpc32/dl-machine.c
29228 (__elf_machine_runtime_setup) [PROF]: Don't reference
29231 2012-05-18 Andreas Jaeger <aj@suse.de>
29233 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29234 function only available for GCCs before 3.4 since GCC 3.4
29235 introduced a builtin.
29237 (llrintf): Likewise.
29238 (llrint): Likewise.
29245 (nearbyint): Likewise.
29246 (nearbyintf): Likewise.
29250 (floorf): Likewise.
29252 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29254 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29255 on both fields and cast pointer to __syscall_ulong_t.
29257 * bits/types.h (__fsword_t): New type.
29258 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29259 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29261 (__FSWORD_T_TYPE): Likewise.
29262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29263 (__FSWORD_T_TYPE): Likewise.
29264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29265 (__FSWORD_T_TYPE): Likewise.
29266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29267 (__FSWORD_T_TYPE): Likewise.
29268 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29269 __SWORD_TYPE with __fsword_t.
29270 (statfs64): Likewise.
29272 2012-05-17 David S. Miller <davem@davemloft.net>
29274 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29276 2012-05-17 Andreas Jaeger <aj@suse.de>
29278 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29281 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29283 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29285 2012-05-17 Andreas Jaeger <aj@suse.de>
29287 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29290 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29292 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29294 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29297 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29299 2012-05-17 Andreas Jaeger <aj@suse.de>
29300 Carlos O'Donell <carlos_odonell@mentor.com>
29303 * sysdeps/x86_64/multiarch/init-arch.h
29304 (bit_YMM_Usable): Rename to...
29305 (bit_AVX_Usable): ... this.
29306 (bit_FMA4_Usable): New macro.
29307 (bit_XMM_state): New macro.
29308 (bit_YMM_state): New macro.
29309 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29310 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29311 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29312 (CPUID_OSXSAVE): New macro.
29313 (CPUID_AVX): New macro.
29314 (CPUID_FMA4): New macro.
29315 (index_YMM_Usable): Rename to...
29316 (index_AVX_Usable): ... this.
29317 (HAS_AVX): Use HAS_ARCH_FEATURE.
29318 (HAS_FMA4): Likewise.
29319 (HAS_YMM_USABLE): Remove.
29320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29321 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29323 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29324 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29325 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29326 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29327 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29329 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29331 * math/libm-test.c: Support platforms without multiple rounding modes.
29332 * math/bug-nextafter.c: Support platforms without FP exceptions.
29333 * math/bug-nexttoward.c: Likewise.
29334 * math/test-fenv.c: Likewise.
29335 * math/test-misc.c: Likewise.
29336 * stdlib/bug-getcontext.c: Likewise.
29338 2012-05-17 Andreas Jaeger <aj@suse.de>
29340 * manual/examples/search.c (critter_cmp): Change signature to
29342 * manual/string.texi (Collation Functions): Likewise.
29344 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29346 * bits/types.h: Fold copyright years.
29347 * bits/typesizes.h: Likewise.
29348 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29352 * time/time.h: Likewise.
29354 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29357 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29358 in instead of returning them. Return void.
29359 (__libc_mallinfo): Accumulate over all arenas.
29360 (__malloc_stats): Adjust for change in int_mallinfo interface.
29362 2012-05-16 Roland McGrath <roland@hack.frob.com>
29365 * configure.in (NM): Add AC_CHECK_TOOL for it.
29366 (libc_extra_cflags): New substituted variable.
29367 Check for -fstack-protector being used implicitly.
29368 * configure: Regenerated.
29369 * config.make.in (config-extra-cflags): New variable,
29370 gets @libc_extra_cflags@.
29371 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29374 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29375 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29376 * configure: Regenerated.
29377 * config.make.in (CPPUNDEFS): New substituted variable.
29378 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29379 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29380 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29382 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29384 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29385 (mq_attr): Use __syscall_slong_t.
29387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29389 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29390 Check __x86_64__ instead of __WORDSIZE.
29391 (_STAT_VER_LINUX): Likewise.
29392 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29393 __syscall_ulong_t and __syscall_slong_t.
29394 (stat64): Likewise.
29396 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29400 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29402 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29404 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29406 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29409 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29410 include <bits/wordsize.h>. Check __x86_64__ instead of
29412 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29414 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29417 include <bits/wordsize.h>. Check __x86_64__ instead of
29419 (user_regs_struct): Use "__extension__ unsigned long long"
29420 instead of "unsigned long" if __x86_64__ is defined.
29421 (user): Likewise. Pad after pointer field if __ILP32__ is
29424 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29426 * configure.in (makeinfo): Require version 4.5 or later. Allow
29428 * configure: Regenerated.
29429 * manual/install.texi (texinfo): Increase version requirement to
29431 * INSTALL: Regenerated.
29433 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29435 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29437 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29439 * sysdeps/x86_64/x32/ffs.c: New file.
29441 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29443 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29444 defined. Use __syscall_ulong_t.
29445 (shminfo): Use __syscall_ulong_t.
29446 (shm_info): Likewise.
29448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29451 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29453 (msgqnum_t): Use __syscall_ulong_t.
29454 (msglen_t): Likewise.
29455 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29458 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29459 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29461 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29463 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29464 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29466 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29470 include <bits/wordsize.h>. Check __x86_64__ instead of
29473 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29474 "unsigned long long int" if __x86_64__ is defined.
29475 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29478 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29479 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29481 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29483 (GET_PC): Cast to uintptr_t first.
29484 (GET_FRAME): Likewise.
29485 (GET_STACK): Likewise.
29487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29488 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29489 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29490 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29491 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29492 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29493 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29494 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29495 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29497 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29499 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29503 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29507 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29508 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29509 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29510 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29513 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29517 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29519 * Makerules (+depfiles): Also collect depfiles from .oS in
29521 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29522 .oS, $(libnldbl-routines)).
29524 * Makerules (native-compile-mkdep-flags): Define.
29525 * sunrpc/Makefile (extra-objs): Add $(addprefix
29526 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29527 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29528 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29529 calling $(make-target-directory).
29531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29533 * bits/types.h (__snseconds_t): Removed.
29534 * time/time.h (struct timespec): Replace __snseconds_t with
29536 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29537 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29540 (__SNSECONDS_T_TYPE): Likewise.
29541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29542 (__SNSECONDS_T_TYPE): Likewise.
29543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29544 (__SNSECONDS_T_TYPE): Likewise.
29546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29548 * sysdeps/mach/hurd/bits/typesizes.h
29549 (__SYSCALL_SLONG_TYPE): New macro.
29550 (__SYSCALL_ULONG_TYPE): Likewise.
29552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29554 * bits/types.h (__syscall_slong_t): New type.
29555 (__syscall_ulong_t): Likewise.
29557 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29558 (__SYSCALL_ULONG_TYPE): Likewise.
29559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29560 (__SYSCALL_SLONG_TYPE): Likewise.
29561 (__SYSCALL_ULONG_TYPE): Likewise.
29562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29563 (__SYSCALL_SLONG_TYPE): Likewise.
29564 (__SYSCALL_ULONG_TYPE): Likewise.
29565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29566 (__SYSCALL_SLONG_TYPE): Likewise.
29567 (__SYSCALL_ULONG_TYPE): Likewise.
29569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29571 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29572 Add sigaltstack-offsets.sym.
29573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29574 <sigaltstack-offsets.h>.
29575 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29576 longjmp_msg pointer.
29577 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29578 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29580 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29582 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29584 * elf/stackguard-macros.h: Remove file.
29585 * sysdeps/generic/stackguard-macros.h: New file.
29586 * sysdeps/i386/stackguard-macros.h: Likewise.
29587 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29588 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29589 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29590 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29591 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29592 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29593 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29594 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29595 <elf/stackguard-macros.h>.
29598 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29599 __aligned__ in attribute.
29600 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29601 (gregset_t): Likewise.
29603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29605 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29606 * sysdeps/x86_64/64/Implies-after: Here. New file.
29607 * sysdeps/x86_64/x32/Implies-after: New file.
29609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29611 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29612 and access return value for _dl_profile_fixup. Use R10_LP to
29615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29617 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29621 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29622 * sysdeps/x86_64/x32/sysdep.h: New file.
29624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29626 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29627 * sysdeps/x86_64/setjmp.S: Likewise.
29629 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29632 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29633 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29635 remove unused global constant.
29637 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29639 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29640 include of <not-cancel.h>.
29642 2012-05-15 Roland McGrath <roland@hack.frob.com>
29644 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29646 2012-05-15 Jeff Law <law@redhat.com>
29647 Andreas Jaeger <aj@suse.de>
29650 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29652 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29653 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29654 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29655 code changing __hst_map_handle.map.
29657 2012-05-15 Roland McGrath <roland@hack.frob.com>
29659 * configure.in (sysnames): Look for Implies-before and Implies-after
29661 * configure: Regenerated.
29663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29665 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29666 8-byte data alignment with LP_SIZE alignment.
29668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29670 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29675 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29679 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29680 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29687 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29688 (stackinfo_sub_sp): Likewise.
29690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29707 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29711 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29712 into R11_LP and load __x86_64_shared_cache_size_half into
29715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29720 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29729 powerpc32/power7/fpu/s_logb.c via #include.
29730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29731 powerpc32/power7/fpu/s_logbf.c via #include.
29732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29733 powerpc32/power7/fpu/s_logbl.c via #include.
29735 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29737 * README.libm: Remove file.
29739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29741 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29742 count for x32. Use R*_LP and omit operand-size suffix.
29744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29746 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29747 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29748 * sysdeps/x86_64/x32/shlib-versions: New file.
29750 2012-05-14 Roland McGrath <roland@hack.frob.com>
29752 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29753 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29754 Use _dl_fatal_printf instead.
29756 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29758 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29759 set if not set by the user. Do not allow for being unset.
29760 * sysdeps/unix/sysv/linux/configure: Regenerated.
29762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29764 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29765 the `q' suffix from lea and replace .quad with ASM_ADDR.
29767 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29770 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29772 (PTR_DEMANGLE): Likewise.
29774 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29776 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29778 (ASM_ADDR): Likewise.
29779 (RAX_LP): Likewise.
29780 (RBP_LP): Likewise.
29781 (RBX_LP): Likewise.
29782 (RCX_LP): Likewise.
29783 (RDI_LP): Likewise.
29784 (RSI_LP): Likewise.
29785 (RSP_LP): Likewise.
29788 (R10_LP): Likewise.
29789 (R10_LP): Likewise.
29790 (R11_LP): Likewise.
29791 (R12_LP): Likewise.
29792 (R13_LP): Likewise.
29793 (R14_LP): Likewise.
29794 (R15_LP): Likewise.
29796 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29798 * sysdeps/x86_64/x32/dl-machine.h: New file.
29800 2012-05-14 Andreas Jaeger <aj@suse.de>
29802 * manual/Makefile (subdir): Remove export of subdir.
29803 (all): Remove target.
29804 (.PHONY): Remove all from list.
29805 (mkinstalldirs): Remove.
29806 (.PHONY): Remove installdirs from list.
29807 ($(inst_infodir)/libc.info): Use make-target-directory.
29808 (installdirs): Remove.
29809 (subdir_%): Remove.
29810 (glibc-targets): Remove.
29813 ($(objpfx)stubs ../po/manual.pot): Remove.
29814 ($(objpfx)stamp%): Remove.
29815 (make-target-directory): Remove.
29816 (subdir_install): Remove.
29817 (routines): Remove.
29824 * manual/.gitignore: Remove, it's not needed anymore.
29825 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29827 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29829 (texis): Renamed to $(objpfx)texis.
29830 (texis-path): New, contains path to generated files.
29831 (chapters.%): Use texis-path for complete path, add extra argument
29833 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29834 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29835 (summary,texi, stamp-summary): Use complete path of
29836 files. Generate files in build dir.
29837 (dir-add.texi): Build in build dir.
29838 (libm-err.texi,stamp-libm-err): Likewise.
29839 (version.texi, stamp-version): Likewise.
29840 (.%c.texi): Likewise.
29841 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29842 (mostlyclean): Remove target.
29843 (realclean): Remove target.
29844 (generated): Add new variable with contents from mostlyclean and
29845 realclean, remove entries duplicated in common-mostlyclean, add
29846 stamp-libm-err and stamp-version.
29847 (generated-dirs): Add libc directory.
29848 ($(inst_infodir)/libc.info): Install files from build dir.
29850 * manual/install.texi (Configuring and compiling): Adjust since
29851 the info files are not part of the tar ball anymore.
29853 2012-05-14 Andreas Jaeger <aj@suse.de>
29855 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29858 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29862 to 2.2.0 where earlier.
29863 * sysdeps/unix/sysv/linux/configure: Regenerated.
29864 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29865 Remove conditional code.
29866 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29867 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29868 Remove conditional code.
29869 [!__NR_lchown]: Likewise.
29870 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29871 [__NR_lchown]: Likewise.
29872 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29873 comment referencing __ASSUME_LCHOWN_SYSCALL.
29874 * sysdeps/unix/sysv/linux/i386/sigaction.c
29875 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29876 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29877 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29878 Remove conditional code.
29879 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29880 (__protocol_available): Remove #if 0 code.
29881 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29883 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29884 * sysdeps/unix/sysv/linux/kernel-features.h
29885 (__ASSUME_GETCWD_SYSCALL): Don't define.
29886 (__ASSUME_REALTIME_SIGNALS): Likewise.
29887 (__ASSUME_PREAD_SYSCALL): Likewise.
29888 (__ASSUME_PWRITE_SYSCALL): Likewise.
29889 (__ASSUME_POLL_SYSCALL): Likewise.
29890 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29891 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29893 (__ASSUME_SIOCGIFNAME): Don't define.
29894 (__ASSUME_MSG_NOSIGNAL): Likewise.
29895 (__ASSUME_SENDFILE): Define unconditionally.
29896 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29897 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29899 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29900 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29901 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29902 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29903 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29904 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29905 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29910 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29916 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29919 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29922 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29923 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29928 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29929 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29930 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29931 Remove conditional code.
29932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29934 Remove conditional code.
29935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29936 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29937 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29938 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29939 Remove conditional code.
29940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29941 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29942 Remove conditional code.
29943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29944 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29945 Remove conditional code.
29946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29947 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29948 Remove conditional code.
29949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29950 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29951 Remove conditional code.
29952 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29953 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29956 * sysdeps/unix/sysv/linux/sigaction.c
29957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29959 * sysdeps/unix/sysv/linux/sigpending.c
29960 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29961 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29962 * sysdeps/unix/sysv/linux/sigprocmask.c
29963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29965 * sysdeps/unix/sysv/linux/sigsuspend.c
29966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29969 (__libc_missing_rt_sigs): Remove.
29970 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29971 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29972 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29973 Remove conditional code.
29974 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29975 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29977 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29978 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29979 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29980 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29982 2012-05-14 Andreas Jaeger <aj@suse.de>
29984 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29985 it's not used in glibc.
29986 (__coshm1): Likewise.
29987 (__acosh1p): Likewise.
29990 * manual/string.texi (Copying and Concatenation): Add missing
29991 variable in concat example.
29992 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29997 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29998 __builtin_clzl with __builtin_clzll.
30000 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30003 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30006 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30008 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30009 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30010 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30011 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30013 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30015 * NEWS: Update ia64 info.
30017 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30019 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30022 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30024 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30025 * sysdeps/unix/syscalls.list (dup3): Likewise.
30026 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30027 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30029 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30031 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30032 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30034 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30036 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30038 (TLS_IE): Use mov/add instead of movq/addq to load thread
30040 (TLS_GD_PREFIX): New.
30043 2012-05-11 David S. Miller <davem@davemloft.net>
30045 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30046 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30047 (_FPU_SETCW): Likewise.
30049 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30051 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30052 is 32-byte aligned.
30054 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30057 * iconvdata/gb18030.c: Update tables.
30058 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30059 characters specially.
30060 (BODY for TO_LOOP): Add encoding of missing ranges.
30062 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30065 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30066 * sysdeps/mach/hurd/dup3.c: Likewise.
30067 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30068 * sysdeps/powerpc/memmove.c:: Likewise.
30070 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30073 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30075 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30077 * elf/elf.h (R_X86_64_RELATIVE64): New.
30078 (R_X86_64_NUM): Updated.
30079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30080 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30081 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30082 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30083 tst-quad1pie tst-quad2pie
30084 (modules-names): Add tst-quadmod1 tst-quadmod2.
30085 ($(objpfx)tst-quad1): New dependency.
30086 ($(objpfx)tst-quad2): Likewise.
30087 ($(objpfx)tst-quad1pie): Likewise.
30088 ($(objpfx)tst-quad2pie): Likewise.
30089 * sysdeps/x86_64/tst-quad1.c: New file.
30090 * sysdeps/x86_64/tst-quad1pie.c: New file.
30091 * sysdeps/x86_64/tst-quad2.c: Likewise.
30092 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30093 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30094 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30095 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30096 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30100 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30101 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30102 * streams/stropts.h (t_scalar_t): Define type.
30104 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30105 (_PATH_PRESERVE): Set to "/var/lib".
30106 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30108 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30111 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30112 if __dir_mkfile succeeded.
30114 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30115 checking for _hurd_dtablesize. Unlock it right after having
30116 finished _hurd_dtable allocation.
30118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30120 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30121 * sysdeps/mach/hurd/configure: Regenerated.
30122 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30123 special-casing to...
30124 * sysdeps/gnu/configure.in: ... this new file.
30125 * sysdeps/unix/sysv/linux/configure: Regenerated.
30126 * sysdeps/gnu/configure: New generated file.
30128 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30129 for Linux: use nsec instead of usec, as well as:
30130 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30131 members of type struct timespec.
30132 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30134 (struct stat64): Likewise.
30135 (_STATBUF_ST_NSEC): New macro.
30136 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30138 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30139 __strtoul_internal rather than strtoul.
30141 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30143 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30148 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30149 which preserves existing values.
30150 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30152 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30154 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30155 TIMEOUT values. Return EINVAL for NFDS values either negative or
30156 greater than FD_SETSIZE.
30158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30160 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30161 allocated, call __vm_protect to finish enabling the existing space, and
30162 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30163 allocate the remainder.
30165 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30167 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30168 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30172 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30173 sysdeps/mach/hurd/readlink.c.
30175 * posix/tst-sysconf.c (posix_options): Only use
30176 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30177 _POSIX_SYNCHRONIZED_IO when they are defined
30178 * sysdeps/mach/hurd/bits/posix_opt.h:
30179 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30180 (_XOPEN_REALTIME): Undefine macro.
30181 (_XOPEN_REALTIME_THREADS): Undefine macro.
30182 (_XOPEN_SHM): Undefine macro.
30183 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30185 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30187 (_POSIX_ASYNC_IO): Undefine macro.
30188 (_POSIX_PRIORITIZED_IO): Undefine macro.
30189 (_POSIX_SPIN_LOCKS): Define macro to -1.
30191 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30192 SA_NODEFER, SA_RESETHAND.
30193 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30194 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30199 * elf/Makefile (pldd-modules): Define unconditionally.
30201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30203 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30207 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30208 Return ENOENT when name is empty.
30209 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30213 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30215 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30219 Fix mlock in all cases except non-readable pages.
30220 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30221 instead of VM_PROT_ALL as parameter to __vm_wire function.
30223 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30224 (__mkdir): When path is `/', just fail with EEXIST.
30225 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30229 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30230 <sys/uio.h> (for writev).
30231 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30232 and <sys/param.h> (for MIN).
30234 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30236 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30237 REQUESTED_TIME. Properly set the remaining time and return EINTR
30240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30242 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30243 Depend on against $(link-rpcuserlibs).
30245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30247 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30248 (__libc_stack_end): Do not use attribute_relro.
30249 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30250 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30251 to libthread-provided value.
30252 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30258 * bits/libc-lock.h (__libc_once_get): New macro.
30259 * sysdeps/mach/bits/libc-lock.h: Likewise.
30260 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30262 instead of using implementation details.
30264 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30265 * libio/freopen.c: Likewise.
30266 * libio/freopen64.c: Likewise.
30267 * misc/syslog.c: Likewise.
30268 * nscd/connections.c: Likewise.
30269 * nscd/netgroupcache.c: Likewise.
30270 * sysdeps/posix/getcwd.c: Likewise.
30272 2012-05-10 Roland McGrath <roland@hack.frob.com>
30274 * math/w_ilogbf.c: Add #include <limits.h>.
30276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30278 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30279 path instead of returning without unlocking.
30281 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30282 immediate-write ioctls.
30283 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30287 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30288 __builtin_frame_address instead of making assumptions about the
30289 location of the return address relative to DATA. Force early load of
30290 the return address.
30291 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30292 __builtin_frame_address.
30295 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30296 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30297 implement dup3 and do some further code clean-ups.
30298 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30299 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30303 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30305 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30306 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30307 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30308 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30309 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30312 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30313 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30314 when handler == SIG_ERR, not when handler != SIG_ERR.
30316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30318 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30319 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30322 accept4 for GNU Hurd.
30323 * include/sys/socket.h (__libc_accept4): New prototype.
30324 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30325 to implement __libc_accept4.
30326 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30328 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30330 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30331 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30332 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30333 signal-defines.sym.
30335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30337 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30339 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30341 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30342 assertion on O_CLOEXEC flag.
30343 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30344 * hurd/intern-fd.c: Likewise.
30345 * hurd/port2fd.c: Likewise.
30347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30350 * bits/in.h (IPV6_PKTINFO): Define new macro.
30351 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30353 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30358 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30360 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30364 * math/libm-test.inc (logb_test) : Additional logb tests.
30366 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30367 Andreas Jaeger <aj@suse.de>
30369 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30370 * configure: Regenerated.
30371 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30372 * config.make.in (link-obsolete-rpc): New substituted variable.
30373 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30374 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30375 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30376 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30377 so that libc.a contains the symbols.
30378 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30379 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30380 * sunrpc/auth_none.c: Likewise.
30381 * sunrpc/auth_unix.c: Likewise.
30382 * sunrpc/authdes_prot.c: Likewise.
30383 * sunrpc/authuxprot.c: Likewise.
30384 * sunrpc/clnt_gen.c: Likewise.
30385 * sunrpc/clnt_perr.c: Likewise.
30386 * sunrpc/clnt_raw.c: Likewise.
30387 * sunrpc/clnt_simp.c: Likewise.
30388 * sunrpc/clnt_tcp.c: Likewise.
30389 * sunrpc/clnt_udp.c: Likewise.
30390 * sunrpc/clnt_unix.c: Likewise.
30391 * sunrpc/des_crypt.c: Likewise.
30392 * sunrpc/des_soft.c: Likewise.
30393 * sunrpc/get_myaddr.c: Likewise.
30394 * sunrpc/key_call.c: Likewise.
30395 * sunrpc/key_prot.c: Likewise.
30396 * sunrpc/netname.c: Likewise.
30397 * sunrpc/pm_getmaps.c: Likewise.
30398 * sunrpc/pm_getport.c: Likewise.
30399 * sunrpc/pmap_clnt.c: Likewise.
30400 * sunrpc/pmap_prot.c: Likewise.
30401 * sunrpc/pmap_prot2.c: Likewise.
30402 * sunrpc/pmap_rmt.c: Likewise.
30403 * sunrpc/publickey.c: Likewise.
30404 * sunrpc/rpc_cmsg.c: Likewise.
30405 * sunrpc/rpc_common.c: Likewise.
30406 * sunrpc/rpc_dtable.c: Likewise.
30407 * sunrpc/rpc_prot.c: Likewise.
30408 * sunrpc/rpc_thread.c: Likewise.
30409 * sunrpc/rtime.c: Likewise.
30410 * sunrpc/svc.c: Likewise.
30411 * sunrpc/svc_auth.c: Likewise.
30412 * sunrpc/svc_raw.c: Likewise.
30413 * sunrpc/svc_run.c: Likewise.
30414 * sunrpc/svc_tcp.c: Likewise.
30415 * sunrpc/svc_udp.c: Likewise.
30416 * sunrpc/svc_unix.c: Likewise.
30417 * sunrpc/svcauth_des.c: Likewise.
30418 * sunrpc/xcrypt.c: Likewise.
30419 * sunrpc/xdr.c: Likewise.
30420 * sunrpc/xdr_array.c: Likewise.
30421 * sunrpc/xdr_float.c: Likewise.
30422 * sunrpc/xdr_intXX_t.c: Likewise.
30423 * sunrpc/xdr_mem.c: Likewise.
30424 * sunrpc/xdr_rec.c: Likewise.
30425 * sunrpc/xdr_ref.c: Likewise.
30426 * sunrpc/xdr_sizeof.c: Likewise.
30427 * sunrpc/xdr_stdio.c: Likewise.
30429 2012-05-10 Roland McGrath <roland@hack.frob.com>
30431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30432 change. Update copyright years.
30434 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30436 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30438 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30439 Joseph Myers <joseph@codesourcery.com>
30440 Paul Pluzhnikov <ppluzhnikov@google.com>
30443 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30445 [cross-compiling] (extra-libs): Likewise.
30446 [cross-compiling] (extra-libs-others): Likewise.
30447 [cross-compiling] (librpcsvc-routines): Likewise.
30448 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30449 [cross-compiling] (omit-deps): Likewise.
30450 (sunrpc-CPPFLAGS): New variable.
30451 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30452 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30453 (cross-rpcgen-objs): New variable.
30454 (extra-objs): Append $(cross-rpcgen-objs).
30455 ($(cross-rpcgen-objs)): New rule.
30456 ($(objpfx)cross-rpcgen): Likewise.
30457 (rpcgen-cmd): Define to use $(built-program-file). Expand
30459 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30460 ($(objpfx)x%.stmp): Likewise.
30461 * sunrpc/proto.h [IS_IN_build] (_): Define.
30462 [IS_IN_build] (_libc_intl_domainname): Likewise.
30464 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30466 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30467 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30468 and R_X86_64_TPOFF64.
30470 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30472 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30473 sysdeps/unix/sysv/syscalls.list.
30476 * sysdeps/unix/sysv/syscalls.list: Remove file.
30478 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30481 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30482 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30483 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30484 (__LC_IDENTIFICATION): Make these macros useful in #if
30485 expressions, as required by C99.
30487 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30489 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30490 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30493 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30495 * stdlib/longlong.h: Updated from GCC.
30497 2012-05-09 Andreas Jaeger <aj@suse.de>
30499 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30500 default is first entry.
30501 (run_mode): Set type.
30502 (main): Remove informal message about syslog.
30503 (options): Fix typo.
30506 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30509 (llrintf): Likewise.
30510 (llrint): Likewise.
30513 (nearbyint): Likewise.
30514 (nearbyintf): Likewise.
30516 2012-05-09 Andreas Jaeger <aj@suse.de>
30517 Pedro Alves <palves@redhat.com>
30519 * nscd/nscd.c (run_mode): Use enum.
30520 (main): Cleanup coding style issue.
30522 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30523 Andreas Jaeger <aj@suse.de>
30525 * nscd/nscd.c (go_background): Replaced with...
30526 (run_mode): ... this.
30527 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30528 (options): Add -F --foreground.
30529 (main): Implement it.
30530 (parse_opt): Parse it.
30532 2012-05-09 Andreas Jaeger <aj@suse.de>
30535 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30536 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30537 -Wconversion warning.
30538 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30541 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30543 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30545 (LC_ALL): Use macro-int-constant.
30546 (LC_COLLATE): Likewise.
30547 (LC_CTYPE): Likewise.
30548 (LC_MESSAGES): Likewise.
30549 (LC_MONETARY): Likewise.
30550 (LC_NUMERIC): Likewise.
30551 (LC_TIME): Likewise.
30552 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30553 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30555 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30557 [C99-based standards] (float_t): Expect type.
30558 [C99-based standards] (double_t): Expect type.
30559 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30561 [C99-based standards] (HUGE_VALL): Likewise.
30562 [C99-based standards] (INFINITY): Likewise.
30563 [C99-based standards] (NAN): Likewise.
30564 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30565 [C99-based standards] (FP_NAN): Likewise.
30566 [C99-based standards] (FP_NORMAL): Likewise.
30567 [C99-based standards] (FP_SUBNORMAL): Likewise.
30568 [C99-based standards] (FP_ZERO): Likewise.
30569 [C99-based standards] (FP_FAST_FMA): Use
30570 optional-macro-int-constant. Specify type. Require == 1.
30571 [C99-based standards] (FP_FAST_FMAF): Likewise.
30572 [C99-based standards] (FP_FAST_FMAL): Likewise.
30573 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30574 [C99-based standards] (FP_ILOGBNAN): Likewise.
30575 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30577 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30578 [C99-based standards] (math_errhandling): Specify type.
30579 [ISO99 || ISO11] (signgam): Do not allow.
30580 [non-C99-based standards] (copysignf): Do not allow.
30581 [non-C99-based standards] (exp2f): Likewise.
30582 [non-C99-based standards] (log2f): Likewise.
30583 [non-C99-based standards] (modff): Allow.
30584 [non-C99-based standards] (erff): Do not allow.
30585 [non-C99-based standards] (erfcf): Likewise.
30586 [non-C99-based standards] (gammaf): Likewise.
30587 [non-C99-based standards] (hypotf): Likewise.
30588 [non-C99-based standards] (j0f): Likewise.
30589 [non-C99-based standards] (j1f): Likewise.
30590 [non-C99-based standards] (jnf): Likewise.
30591 [non-C99-based standards] (lgammaf): Likewise.
30592 [non-C99-based standards] (tgammaf): Likewise.
30593 [non-C99-based standards] (y0f): Likewise.
30594 [non-C99-based standards] (y1f): Likewise.
30595 [non-C99-based standards] (ynf): Likewise.
30596 [non-C99-based standards] (isnanf): Likewise.
30597 [non-C99-based standards] (acoshf): Likewise.
30598 [non-C99-based standards] (asinhf): Likewise.
30599 [non-C99-based standards] (atanhf): Likewise.
30600 [non-C99-based standards] (cbrtf): Likewise.
30601 [non-C99-based standards] (expm1f): Likewise.
30602 [non-C99-based standards] (ilogbf): Likewise.
30603 [non-C99-based standards] (log1pf): Likewise.
30604 [non-C99-based standards] (logbf): Likewise.
30605 [non-C99-based standards] (nextafterf): Likewise.
30606 [non-C99-based standards] (remainderf): Likewise.
30607 [non-C99-based standards] (rintf): Likewise.
30608 [non-C99-based standards] (scalbf): Likewise.
30609 [non-C99-based standards] (copysignl): Likewise.
30610 [non-C99-based standards] (exp2l): Likewise.
30611 [non-C99-based standards] (log2l): Likewise.
30612 [non-C99-based standards] (modfl): Allow.
30613 [non-C99-based standards] (erfl): Do not allow.
30614 [non-C99-based standards] (erfcl): Likewise.
30615 [non-C99-based standards] (gammal): Likewise.
30616 [non-C99-based standards] (hypotl): Likewise.
30617 [non-C99-based standards] (j0l): Likewise.
30618 [non-C99-based standards] (j1l): Likewise.
30619 [non-C99-based standards] (jnl): Likewise.
30620 [non-C99-based standards] (lgammal): Likewise.
30621 [non-C99-based standards] (tgammal): Likewise.
30622 [non-C99-based standards] (y0l): Likewise.
30623 [non-C99-based standards] (y1l): Likewise.
30624 [non-C99-based standards] (ynl): Likewise.
30625 [non-C99-based standards] (isnanl): Likewise.
30626 [non-C99-based standards] (acoshl): Likewise.
30627 [non-C99-based standards] (asinhl): Likewise.
30628 [non-C99-based standards] (atanhl): Likewise.
30629 [non-C99-based standards] (cbrtl): Likewise.
30630 [non-C99-based standards] (expm1l): Likewise.
30631 [non-C99-based standards] (ilogbl): Likewise.
30632 [non-C99-based standards] (log1pl): Likewise.
30633 [non-C99-based standards] (logbl): Likewise.
30634 [non-C99-based standards] (nextafterl): Likewise.
30635 [non-C99-based standards] (remainderl): Likewise.
30636 [non-C99-based standards] (rintl): Likewise.
30637 [non-C99-based standards] (scalbl): Likewise.
30638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30639 [non-C99-based standards] (FP_*): Do not allow.
30640 [C99-based standards] (FP_*): Change to
30641 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30642 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30644 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30645 (SIG_ERR): Likewise.
30646 [X/Open-based standards] (SIG_HOLD): Likewise.
30647 (SIG_IGN): Likewise.
30648 (SIGABRT): Use macro-int-constant. Specify type. Require
30650 (SIGFPE): Likewise.
30651 (SIGILL): Likewise.
30652 (SIGINT): Likewise.
30653 (SIGSEGV): Likewise.
30654 (SIGTER): Likewise.
30655 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30656 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30657 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30658 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30659 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30660 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30661 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30662 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30663 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30664 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30665 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30673 [X/Open-based standards] (SIGTRAP): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30678 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30681 2012-05-08 Ian Wienand <ianw@vmware.com>
30684 * time/tzset.c (__tzset_parse_tz): Update default rules for
30685 daylight time changes in the Energy Policy Act of 2005.
30687 2012-05-09 Andreas Jaeger <aj@suse.de>
30690 * elf/ldconfig.c (parse_conf): Change string to make clear that
30691 ldconfig only issued a warning if ld.so.conf does not exist.
30693 2012-05-08 David S. Miller <davem@davemloft.net>
30695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30696 movxtod instead of popping the value on the stack.
30698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30700 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30702 * config.h.in: Add HAVE_ARM_PCS_VFP.
30704 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30707 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30708 checking but the checks are disabled for any reason.
30710 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30712 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30713 and ELF64_R_TYPE with ELFW(R_TYPE).
30715 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30717 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30718 (ulimit): Likewise.
30720 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30721 (settimeofday): Likewise.
30723 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30725 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30726 a struct th_u2 inside the union, and move tu_block/tu_code into
30727 a new th_u3 union of tu_block/tu_code inside of that. Move
30728 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30729 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30730 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30731 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30732 (th_stuff): Change to th_u1.tu_stuff.
30734 (th_msg): Change to th_u1.th_u2.tu_data.
30736 2012-05-07 David S. Miller <davem@davemloft.net>
30738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30741 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30742 (SETUP_PIC_REG): Use it.
30743 (SETUP_PIC_REG_LEAF): Use it.
30745 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30751 (EXPL_FINITE): Likewise.
30752 (FLDLOG): Likewise.
30753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30754 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30758 (EXPL_FINITE): Likewise.
30759 (FLDLOG): Likewise.
30760 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30761 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30763 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30764 test of -max_value argument for long double.
30765 * sysdeps/i386/fpu/libm-test-ulps: Update.
30766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30768 2012-05-06 David S. Miller <davem@davemloft.net>
30770 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30771 quad soft-float symbols whose references which are compiler
30773 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30775 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30781 (EXPL_FINITE): Likewise.
30782 (FLDLOG): Likewise.
30785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30786 Adjust comments for base varying.
30787 (__expl_finite): Change alias to EXPL_FINITE.
30788 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30790 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30791 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30793 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30794 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30796 (EXPL_FINITE): Likewise.
30797 (FLDLOG): Likewise.
30800 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30801 Adjust comments for base varying.
30802 (__expl_finite): Change alias to EXPL_FINITE.
30803 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30808 * math/libm-test.inc (check_float_internal): Correct ulp
30809 calculation for subnormal expected results.
30811 2012-05-06 Andreas Jaeger <aj@suse.de>
30813 * Makeconfig (+math-flags): New, set to -frounding-math.
30814 (+cflags): Add +math-flags so that all of glibc gets compiled with
30817 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30819 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30821 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30827 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30828 (__ieee754_expl): Allow for and saturate large arguments.
30829 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30830 (u_threshold): Likewise.
30831 (__exp): Call __ieee754_exp before checking for overflow and
30833 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30834 (u_threshold): Likewise.
30835 (__expf): Call __ieee754_expf before checking for overflow and
30837 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30838 (u_threshold): Likewise.
30839 (__expl): Call __ieee754_expl before checking for overflow and
30841 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30842 (__ieee754_expl): Allow for and saturate large arguments.
30843 * math/libm-test.inc (exp_test): Add another test. Do not allow
30844 missing overflow exception on overflow.
30845 (expm1_test): Do not allow missing overflow exception on overflow.
30847 * sysdeps/i386/fpu/e_expl.c: Move to ...
30848 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30849 rather than using inline asm.
30850 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30851 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30852 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30854 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30857 (signal): Likewise.
30861 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30863 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30864 sysdeps/unix/common/syscalls.list.
30865 (fchmod): Likewise.
30866 (fchown): Likewise.
30867 (ftruncate): Likewise.
30868 (getrusage): Likewise.
30869 (gettimeofday): Likewise.
30870 (setpgid): Likewise.
30871 (setregid): Likewise.
30872 (setreuid): Likewise.
30873 (sigaction): Likewise.
30874 (truncate): Likewise.
30875 (vhangup): Likewise.
30876 * sysdeps/unix/common/syscalls.list: Remove file.
30877 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30878 * sysdeps/unix/sysv/linux/Implies: Likewise.
30880 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30882 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30884 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30888 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30891 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30894 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30897 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30900 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30903 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30906 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30910 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30914 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30917 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30921 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30925 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30927 * sysdeps/unix/common/bits/dirent.h: Remove file.
30928 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30930 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30931 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30932 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30933 * sysdeps/unix/bsd/isatty.c: Likewise.
30934 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30935 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30936 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30938 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30942 long double comparison inaccuracies.
30943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30946 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30948 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30951 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30955 nonzero digits before rounding a hex value.
30956 * stdlib/tst-strtod.c (tests): Add another test.
30958 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30960 * sysdeps/s390/fpu/libm-test-ulps: Update.
30962 2012-05-03 Andreas Jaeger <aj@suse.de>
30964 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30965 does not get optimized out.
30966 (malloc_opt_barrier): New.
30968 2012-05-03 Andreas Jaeger <aj@suse.de>
30969 Roland McGrath <roland@hack.frob.com>
30971 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30972 intermediate file deletion.
30973 (generated): Add .symlist files.
30975 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30978 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30979 Redirect under this condition.
30980 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30981 [__USE_GNU] (__dprintf_chk): Not under this condition.
30982 [__USE_GNU] (__vdprintf_chk): Likewise.
30983 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30984 under this condition.
30985 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30986 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30987 [__USE_XOPEN2K8] (vdprintf): Likewise.
30988 [__USE_GNU] (__dprintf_chk): Not under this condition.
30989 [__USE_GNU] (__vdprintf_chk): Likewise.
30990 [__USE_GNU] (dprintf): Likewise.
30991 [__USE_GNU] (vdprintf): Likewise.
30993 2012-05-03 Roland McGrath <roland@hack.frob.com>
30995 * elf/Makefile (common-generated): Set this instead of generated for
30996 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30997 $(all-built-dso)-derived lists.
30999 2012-05-03 Andreas Jaeger <aj@suse.de>
31001 * sysdeps/i386/fpu/libm-test-ulps: Update.
31004 * FAQ.in: Likewise.
31005 * scripts/gen-FAQ.pl: Likewise.
31006 * manual/install.texi (Installation): Point to online location of
31008 * Makefile (files-for-dist): Remove FAQ.
31011 2012-05-02 Allan McRae <allan@archlinux.org>
31013 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31014 (LDFLAGS-reldepmod5.so): Likewise.
31015 (LDFLAGS-reldep6mod1.so): Likewise.
31016 (LDFLAGS-reldep6mod4.so): Likewise.
31017 (LDFLAGS-reldep8mod3.so): Likewise.
31018 (LDFLAGS-unload4mod1.so): Likewise.
31019 (LDFLAGS-unload4mod2.so): Likewise.
31020 (LDFLAGS-tst-initorder): Likewise.
31021 (LDFLAGS-tst-initordera2.so): Likewise.
31022 (LDFLAGS-tst-initordera3.so): Likewise.
31023 (LDFLAGS-tst-initordera4.so): Likewise.
31024 (LDFLAGS-tst-initorderb2.so): Likewise.
31025 (LDFLAGS-noload): Likewise.
31026 (LDFLAGS-next): Likewise.
31027 (LDFLAGS-order2mod1.so): Likewise.
31028 (LDFLAGS-order2mod2.so): Likewise.
31029 (LDFLAGS-tst-initorder2): Likewise.
31030 (LDFLAGS-tst-initorder2a.so): Likewise.
31031 (LDFLAGS-tst-initorder2b.so): Likewise.
31032 (LDFLAGS-tst-initorder2c.so): Likewise.
31033 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31035 2012-05-02 David S. Miller <davem@davemloft.net>
31037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31039 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31042 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31044 2012-05-02 Andreas Jaeger <aj@suse.de>
31046 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31047 since we manipulate rounding mode.
31048 (CPPFLAGS-test-idouble.c): Likewise.
31049 (CPPFLAGS-test-ifloat.c): Likewise.
31050 (CFLAGS-test-ldouble.c): Likewise.
31051 (CFLAGS-test-double.c): Likewise.
31052 (CFLAGS-test-float.c): Likewise.
31053 (CFLAGS-test-misc.c): Likewise.
31054 (CFLAGS-test-test-fenv.c): Likewise.
31056 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31061 comparisons to determine direction to adjust input.
31063 2012-05-01 Roland McGrath <roland@hack.frob.com>
31065 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31066 output to the target.
31068 * scripts/localplt.awk: New file.
31069 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31070 (check-localplt-CFLAGS): Variable removed.
31071 ($(all-built-dso:=.jmprel)): New static pattern rule.
31072 (generated): Add those targets.
31073 (localplt-built-dso): New variable.
31074 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31076 * elf/check-localplt.c: File removed.
31078 * scripts/check-execstack.awk: New file.
31079 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31080 (check-execstack-CFLAGS): Variable removed.
31081 ($(objpfx)check-execstack.h): Target removed.
31082 ($(objpfx)execstack-default): New target.
31083 (generated): Add that instead of check-execstack.h.
31084 ($(all-built-dso:=.phdr)): New static pattern rule.
31085 (generated): Add those targets.
31086 * elf/check-execstack.c: File removed.
31088 * scripts/check-textrel.awk: New file.
31089 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31090 (check-textrel-CFLAGS): Variable removed.
31091 (all-built-dso): Use := to define.o
31092 ($(all-built-dso:=.dyn)): New static pattern rule.
31093 (generated): Add those targets.
31094 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31095 * config.make.in (READELF): New substituted variable.
31096 * elf/check-textrel.c: File removed.
31098 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31100 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31102 * conform/data/ctype.h-data [C99-based standards] (isblank):
31104 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31105 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31107 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31108 Specify type. Require positive value.
31109 (EILSEQ): Likewise.
31110 (ERANGE): Likewise.
31111 [ISO || POSIX] (EILSEQ): Do not expect.
31112 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31113 Specify type. Require positive value.
31114 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31115 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31116 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31117 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31118 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31119 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31120 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31121 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31122 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31123 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31124 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31125 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31126 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31127 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31128 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31129 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31130 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31131 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31132 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31133 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31134 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31135 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31136 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31137 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31138 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31139 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31140 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31141 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31142 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31143 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31144 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31145 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31146 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31147 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31148 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31149 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31150 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31151 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31152 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31153 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31154 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31155 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31156 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31157 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31159 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31160 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31166 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31167 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31168 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31169 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31170 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31171 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31187 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31188 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31189 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31190 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31192 (FLT_ROUNDS): Expect as macro, not constant.
31193 (FLT_MANT_DIG): Use macro-int-constant.
31194 (DBL_MANT_DIG): Likewise.
31195 (LDBL_MANT_DIG): Likewise.
31196 (FLT_DIG): Likewise.
31197 (DBL_DIG): Likewise.
31198 (LDBL_DIG): Likewise.
31199 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31200 (DBL_MIN_EXP): Likewise.
31201 (LDBL_MIN_EXP): Likewise.
31202 (FLT_MAX_EXP): Use macro-int-constant.
31203 (DBL_MAX_EXP): Likewise.
31204 (LDBL_MAX_EXP): Likewise.
31205 (FLT_MAX_10_EXP): Likewise.
31206 (DBL_MAX_10_EXP): Likewise.
31207 (LDBL_MAX_10_EXP): Likewise.
31208 (FLT_MAX): Use macro-constant.
31209 (DBL_MAX): Likewise.
31210 (LDBL_MAX): Likewise.
31211 (FLT_EPSILON): Use macro-constant. Give upper bound.
31212 (DBL_EPSILON): Likewise.
31213 (LDBL_EPSILON): Likewise.
31214 (FLT_MIN): Likewise.
31215 (DBL_MIN): Likewise.
31216 (LDBL_MIN): Likewise.
31217 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31218 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31219 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31220 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31221 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31222 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31223 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31224 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31225 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31226 [ISO11] (FLT_TRUE_MIN): Likewise.
31227 [ISO11] (LDBL_TRUE_MIN): Likewise.
31228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31229 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31230 (SCHAR_MIN): Use macro-int-constant. Specify type.
31231 (SCHAR_MAX): Likewise.
31232 (UCHAR_MAX): Likewise.
31233 (CHAR_MIN): Likewise.
31234 (CHAR_MAX): Likewise.
31235 (MB_LEN_MAX): Use macro-int-constant.
31236 (SHRT_MIN): Use macro-int-constant. Specify type.
31237 (SHRT_MAX): Likewise.
31238 (USHRT_MAX): Likewise.
31239 (INT_MAX): Likewise.
31240 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31242 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31244 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31246 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31247 bound negative. Suffix upper bound with "L".
31248 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31250 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31252 [C99-based standards] (LLONG_MAX): Likewise.
31253 [C99-based standards] (ULLONG_MAX): Likewise.
31254 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31256 [ISO11] (max_align_t): Require type.
31257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31259 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31260 from $CFLAGS, without defining away __attribute__ calls.
31261 (checknamespace): Use $CFLAGS_namespace.
31263 * conform/conformtest.pl (@keywords): Only include C99 keywords
31264 for standards based on C99 or C11.
31266 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31268 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31271 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31272 usability of symbols in #if.
31274 * conform/conformtest.pl: If macro or constant types start
31275 "promoted:", expect the symbol to be of the following type
31276 promoted by the integer promotions.
31278 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31279 in one place. Also handle "macro-constant".
31281 * conform/conformtest.pl: Only accept expected macro values with
31282 "==". Parse all "macro" lines in one place.
31283 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31285 * conform/conformtest.pl: Handle braced types on "constant" lines
31286 instead of handling "typed-constant".
31287 * conform/data/signal.h-data: Use "constant" instead of
31290 * conform/conformtest.pl: Handle "optional-" at start of lines in
31291 one place rather than duplicating several cases. Handle each
31292 format of "macro" line with initial "optional-".
31294 * conform/conformtest.pl: Only accept expected constant or
31295 optional-constant values with "==". Parse all "constant" lines in
31296 one place. Parse all "optional-constant" lines in one place.
31297 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31298 * conform/data/fmtmsg.h-data: Likewise.
31299 * conform/data/netinet/in.h-data: Likewise.
31300 * conform/data/tar.h-data: Likewise.
31301 * conform/data/limits.h-data: Use "==" form on "constant" and
31302 "optional-constant" lines.
31304 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31305 Use -std=c99 for XOPEN2K.
31306 (@knownproblems): Remove.
31307 (newtoken): Don't check %isknown.
31309 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31310 Do not expect macro.
31311 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31312 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31313 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31314 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31315 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31316 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31317 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31318 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31319 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31320 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31322 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31323 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31324 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31325 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31326 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31327 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31328 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31329 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31330 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31331 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31333 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31334 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31336 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31337 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31338 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31339 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31340 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31341 [XPG3] (acosh): Likewise.
31342 [XPG3] (asinh): Likewise.
31343 [XPG3] (atanh): Likewise.
31344 [XPG3] (cbrt): Likewise.
31345 [XPG3] (expm1): Likewise.
31346 [XPG3] (ilogb): Likewise.
31347 [XPG3] (log1p): Likewise.
31348 [XPG3] (logb): Likewise.
31349 [XPG3] (nextafter): Likewise.
31350 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31351 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31352 [XPG3] (remainder): Likewise.
31353 [XPG3] (rint): Likewise.
31354 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31355 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31356 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31357 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31358 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31359 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31360 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31361 [UNIX98 || XOPEN2K] (scalb): Expect.
31362 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31363 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31364 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31365 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31366 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31367 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31368 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31369 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31370 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31371 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31372 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31373 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31374 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31375 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31376 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31377 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31378 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31379 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31380 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31381 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31382 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31383 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31384 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31385 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31386 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31387 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31388 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31389 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31390 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31391 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31392 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31393 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31394 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31395 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31396 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31397 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31398 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31399 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31400 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31401 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31402 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31403 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31404 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31405 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31406 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31407 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31408 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31409 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31410 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31411 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31412 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31413 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31414 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31415 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31416 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31417 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31418 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31419 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31420 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31421 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31422 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31423 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31424 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31425 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31426 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31427 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31428 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31429 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31430 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31431 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31432 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31433 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31434 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31435 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31436 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31437 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31438 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31439 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31440 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31441 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31442 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31443 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31444 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31445 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31446 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31447 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31448 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31449 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31450 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31451 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31452 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31453 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31454 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31455 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31456 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31457 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31458 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31459 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31460 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31461 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31462 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31463 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31464 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31465 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31466 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31467 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31468 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31469 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31470 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31471 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31472 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31484 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31485 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31500 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31501 _XOPEN_SOURCE_EXTENDED for XPG4.
31503 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31505 * Makeconfig (localtime): Remove variable.
31506 (inst_localtime-file): Likewise.
31508 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31529 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31533 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31534 comparisons to determine direction to adjust input.
31535 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31536 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31539 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31541 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31546 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31548 * math/libm-test.inc (nexttoward_test): Add more tests.
31550 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31553 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31554 in version GLIBC_2.1, not GLIBC_2.0.
31555 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31558 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31561 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31563 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31564 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31565 * math/libm-test.inc (acos_test): Add more tests.
31566 (asin_test): Likewise.
31567 * sysdeps/i386/fpu/libm-test-ulps: Update.
31568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31571 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31573 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31574 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31575 * math/libm-test.inc (acos_test_tonearest): New function.
31576 (acos_test_towardzero): Likewise.
31577 (acos_test_downward): Likewise.
31578 (acos_test_upward): Likewise.
31579 (asin_test_tonearest): Likewise.
31580 (asin_test_towardzero): Likewise.
31581 (asin_test_downward): Likewise.
31582 (asin_test_upward): Likewise.
31583 (main): Call the new functions.
31584 * sysdeps/i386/fpu/libm-test-ulps: Update.
31585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31589 * math/e_exp10.c: Include <float.h>.
31590 (__ieee754_exp10): Handle underflow here rather than multiplying
31591 large negative argument by M_LN10.
31592 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31594 * math/e_exp10l.c: Include <float.h>.
31595 (__ieee754_exp10l): Handle underflow here rather than multiplying
31596 large negative argument by M_LN10l.
31597 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31598 spurious overflow exception on underflow.
31600 2012-04-29 Marek Polacek <polacek@redhat.com>
31602 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31603 (__fortify_function): New macro.
31604 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31605 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31606 __extern_always_inline.
31607 * libio/bits/stdio2.h: Likewise.
31608 * libio/bits/stdio.h: Likewise.
31609 * string/string.h: Likewise.
31610 * string/bits/string3.h: Likewise.
31611 * include/stdio.h: Likewise.
31612 * stdlib/bits/stdlib.h: Likewise.
31613 * stdlib/stdlib.h: Likewise.
31614 * rt/bits/mqueue2.h: Likewise.
31615 * rt/mqueue.h: Likewise.
31616 * posix/bits/unistd.h: Likewise.
31617 * posix/unistd.h: Likewise.
31618 * io/bits/poll2.h: Likewise.
31619 * io/bits/fcntl2.h: Likewise.
31620 * io/fcntl.h: Likewise.
31621 * io/sys/poll.h: Likewise.
31622 * misc/bits/syslog.h: Likewise.
31623 * misc/bits/syslog-ldbl.h: Likewise.
31624 * misc/sys/syslog.h: Likewise.
31625 * socket/bits/socket2.h: Likewise.
31626 * socket/sys/socket.h: Likewise.
31627 * debug/tst-chk1.c: Likewise.
31628 * wcsmbs/bits/wchar2.h: Likewise.
31629 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31630 * wcsmbs/wchar.h: Likewise.
31632 2012-04-29 Andreas Jaeger <aj@suse.de>
31634 * Makerules (tests): Remove enable-check-abi protection.
31635 (check-abi-warn): Remove.
31636 (check-abi-%): Remove check-abi-warn usage.
31638 * configure.in: Remove check-abi configure option.
31639 * configure: Regenerated.
31640 * config.make.in (enable-check-abi): Remove.
31642 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31645 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31646 double functions to double *_finite functions.
31649 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31650 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31652 * stdio-common/Makefile (tests): Add tst-sprintf3.
31653 * stdio-common/tst-sprintf3.c: New file.
31655 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31656 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31658 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31660 * conform/conformtest.pl: Remove duplicate typed-constant
31663 2012-04-28 David S. Miller <davem@davemloft.net>
31665 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31666 (check-abi-%): Remove AWK script prerequisite and explicit
31668 (check-abi): Rewrite to just diff the symlist with the abilist.
31669 (config-tls, config-abi-config): Delete, no longer used.
31670 (update-abi-%): Remove AWK script and explicit abilist directory.
31671 (update-abi): Rewrite to simply compare and conditionally copy the
31672 symlist and the sysdep abilist file. Remove update-abi-config
31674 * abilist/ld.abilist: Remove.
31675 * abilist/libBrokenLocale.abilist: Remove.
31676 * abilist/libanl.abilist: Remove.
31677 * abilist/libcrypt.abilist: Remove.
31678 * abilist/libdl.abilist: Remove.
31679 * abilist/librt.abilist: Remove.
31680 * abilist/libthread_db.abilist: Remove.
31681 * abilist/libutil.abilist: Remove.
31682 * scripts/extract-abilist.awk: Remove.
31683 * scripts/merge-abilist.awk: Remove.
31684 * sysdeps/generic/libcidn.abilist: New file.
31685 * sysdeps/generic/libnss_compat.abilist: New file.
31686 * sysdeps/generic/libnss_db.abilist: New file.
31687 * sysdeps/generic/libnss_dns.abilist: New file.
31688 * sysdeps/generic/libnss_files.abilist: New file.
31689 * sysdeps/generic/libnss_hesiod.abilist: New file.
31690 * sysdeps/generic/libnss_nis.abilist: New file.
31691 * sysdeps/generic/libnss_nisplus.abilist: New file.
31692 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31693 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31694 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31697 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31698 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31699 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31700 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31701 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31702 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31703 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31704 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31706 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31707 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31708 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31709 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31711 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31713 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31714 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31715 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31716 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31718 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31719 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31720 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31722 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31825 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31826 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31827 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31830 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31831 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31832 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31833 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31834 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31835 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31836 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31837 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31838 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31890 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31892 * conform/conformtest.pl: Fix typo in handling typed-constant from
31895 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31897 * README: Cut down references to pre-2.6 Linux kernels and
31898 Linuxthreads. Update lists of configurations in libc and ports
31899 and sort alphabetically. Say "or newer" with Linux kernel version
31902 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31904 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31907 * math/libm-test.inc (logb_test_downward): New test to expose
31908 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31911 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31914 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31916 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31917 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31919 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31921 * sysdeps/unix/i386/brk.S: Remove file.
31922 * sysdeps/unix/i386/dl-brk.S: Likewise.
31923 * sysdeps/unix/i386/pipe.S: Likewise.
31924 * sysdeps/unix/i386/sigreturn.S: Likewise.
31925 * sysdeps/unix/i386/syscall.S: Likewise.
31926 * sysdeps/unix/i386/vfork.S: Likewise.
31927 * sysdeps/unix/i386/wait.S: Likewise.
31929 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31930 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31932 * configure.in (arm*-none*): Do not allow without
31933 --enable-hacker-mode.
31934 (netbsd*): Remove case setting base_os.
31935 (386bsd*): Likewise.
31936 (freebsd*): Likewise.
31939 (sunos*): Likewise.
31940 (ultrix*): Likewise.
31941 (newsos*): Likewise.
31942 (dynix*): Likewise.
31948 (minix*): Likewise.
31949 (irix4*): Likewise.
31950 (irix6*): Likewise.
31951 (solaris[2-9]*): Likewise.
31953 * configure: Regenerated.
31955 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31958 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31959 overflow or cancellation in calculating denominator.
31960 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31961 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31962 down expression to avoid unexpected rounding in newer GCCs.
31963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31965 2012-04-26 David S. Miller <davem@davemloft.net>
31967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31968 long-double compat symbols.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31983 2012-04-25 David S. Miller <davem@davemloft.net>
31985 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31986 HWCAP_* values only after the memory barriers have been defined.
31987 (atomic_full_barrier): Define.
31988 (atomic_read_barrier): Define.
31989 (atomic_write_barrier): Define.
31991 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31993 * shlib-versions: Add libgcc_s version information.
31994 * sysdeps/generic/libgcc_s.h: Remove.
31995 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31997 * sysdeps/gnu/unwind-resume.c: Likewise.
31998 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32000 2012-04-25 David S. Miller <davem@davemloft.net>
32002 * sysdeps/unix/sparc/brk.S: Delete.
32003 * sysdeps/unix/sparc/dl-brk.S: Delete.
32004 * sysdeps/unix/sparc/pipe.S: Delete.
32005 * sysdeps/unix/sparc/sysdep.S: Delete.
32006 * sysdeps/unix/sparc/sysdep.h: Delete.
32007 * sysdeps/unix/sparc/vfork.S: Delete.
32008 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32009 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32011 (ret_ERRVAL, r0, r1, MOVE): Define.
32012 (JUMPTARGET): Remove.
32013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32014 sysdeps/unix/sparc/sysdep.h
32015 (ENTRY, END): Remove.
32016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32018 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32020 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32021 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32024 * timezone/README: Update upstream location and email address for
32026 * timezone/zdump.c: Update from tzcode 2012b.
32027 * timezone/zic.c: Likewise.
32029 * configure.in (libc_cv_as_needed): Remove test.
32030 * configure: Regenerated.
32031 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32032 conditional definition.
32033 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32034 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32035 * config.make.in (have-as-needed): Remove variable.
32037 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32038 Paul Pluzhnikov <ppluzhnikov@google.com>
32040 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32043 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32045 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32046 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32047 * sysdeps/sh/strlen.S: Likewise.
32049 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32051 * sysdeps/unix/fork.S: Remove file.
32052 * sysdeps/unix/i386/fork.S: Likewise.
32053 * sysdeps/unix/sparc/fork.S: Likewise.
32055 * sysdeps/unix/system.c: Remove file.
32056 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32058 * sysdeps/unix/getegid.S: Remove file.
32059 * sysdeps/unix/geteuid.S: Likewise.
32061 2012-04-24 Roland McGrath <roland@hack.frob.com>
32063 * scripts/check-localplt.awk: New file.
32064 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32066 * scripts/data/localplt-generic.data: Add a comment.
32068 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32069 NODE when __dir_mkfile failed.
32070 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32071 Reported by Ludovic Courtès <ludo@gnu.org>.
32073 2012-04-24 Andreas Jaeger <aj@suse.de>
32075 * Makerules (common-clean): Also remove gen-as-const-headers
32078 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32080 * Makerules (native-compile): Do not change working directory for
32081 build. Use $(OUTPUT_OPTION) in command.
32082 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32084 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32087 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32088 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32089 * math/libm-test.inc (floor_test): Add more tests.
32090 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32094 * sysdeps/unix/getdents.c: Remove file.
32095 * sysdeps/unix/sysv/getdents.c: Likewise.
32096 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32098 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32099 sysdeps/unix/mman/syscalls.list.
32101 (mprotect): Likewise.
32103 (munmap): Likewise.
32104 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32105 * sysdeps/unix/mman/syscalls.list: Remove.
32106 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32108 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32109 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32110 * configure: Regenerated.
32111 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32112 $(libgcc_s_suffix).
32113 * config.make.in (libgcc_s_suffix): Remove variable.
32115 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32117 * sysdeps/unix/sysv/gethostname.c: Move to ...
32118 * sysdeps/posix/gethostname.c: ... here.
32120 * sysdeps/unix/execve.S: Remove file.
32122 * sysdeps/unix/_exit.S: Remove file.
32124 2012-04-23 Andreas Jaeger <aj@suse.de>
32127 * manual/Makefile: Remove make dist support, there's no
32128 need for a stand-alone documentation tar ball.
32129 (TEXI2DVI): Define always, it's not in Makeconfig.
32132 (edition): Removed.
32133 (glibc-doc-$(edition).tar): Removed
32137 (ETAGS): Remove, it's in Makeconfig.
32138 (move-if-change): Remove, it's in Makeconfig.
32140 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32143 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32144 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32145 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32146 (strtod_l, strtof_l, strtold_l): Remove __wur.
32147 It is not necessarily an error to ignore strtol's return value.
32148 One can reliably look at the stored endptr to decide whether
32149 the number had valid syntax.
32151 2012-04-21 Andreas Jaeger <aj@suse.de>
32154 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32156 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32159 * sysdeps/unix/sysv/Versions: Remove file.
32161 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32166 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32170 version from __vm86.
32172 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32174 * sysdeps/unix/common/lxstat.c: Remove file.
32175 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32177 * sysdeps/unix/sysv/Makefile: Remove file.
32179 * sysdeps/unix/sysv/direct.h: Remove file.
32181 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32182 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32183 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32184 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32185 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32186 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32187 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32189 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32191 * sysdeps/unix/xmknod.c: Remove file.
32192 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32194 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32196 * sysdeps/unix/sysv/i386/time.S: Remove file.
32198 * sysdeps/unix/fxstat.c: Remove file.
32199 * sysdeps/unix/xstat.c: Likewise.
32200 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32202 * sysdeps/unix/sysv/sigaction.c: Remove file.
32204 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32205 (sysdep_headers): Remove variable.
32206 [termio.h not in sysdep_headers] (generated): Likewise.
32207 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32208 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32209 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32210 * sysdeps/unix/sysv/tcflow.c: Likewise.
32211 * sysdeps/unix/sysv/tcflush.c: Likewise.
32212 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32213 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32214 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32215 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32216 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32218 * sysdeps/unix/siglist.c: Remove file.
32220 * sysdeps/unix/getppid.S: Remove file.
32222 * sysdeps/unix/mkdir.c: Remove file.
32223 * sysdeps/unix/rmdir.c: Likewise.
32225 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32227 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32229 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32230 errlist-compat value.
32232 2012-04-18 David S. Miller <davem@davemloft.net>
32234 * sysdeps/generic/memcopy.h (reg_char): Delete.
32235 * debug/strcat_chk.c: Use char, not reg_char.
32236 * debug/strcpy_chk.c: Likewise.
32237 * debug/strncat_chk.c: Likewise.
32238 * debug/strncpy_chk.c: Likewise.
32239 * string/memchr.c: Likewise.
32240 * string/memrchr.c: Likewise.
32241 * string/rawmemchr.c: Likewise.
32242 * string/strcat.c: Likewise.
32243 * string/strchr.c: Likewise.
32244 * string/strchrnul.c: Likewise.
32245 * string/strcmp.c: Likewise.
32246 * string/strcpy.c: Likewise.
32247 * string/strncat.c: Likewise.
32248 * string/strncmp.c: Likewise.
32249 * string/strncpy.c: Likewise.
32251 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32253 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32254 __builtin_memcopy is called when src and dest ranges are known to not
32257 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32259 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32260 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32261 fwd_align_merge macro call.
32262 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32263 bwd_align_merge macro call.
32264 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32266 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32269 bwd_align_merge macros.
32270 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32271 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32274 2012-04-18 David S. Miller <davem@davemloft.net>
32276 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32278 2012-04-18 Andreas Jaeger <aj@suse.de>
32281 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32282 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32283 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32286 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32287 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32289 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32290 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32291 Adjust for changed ldbl-128 files.
32293 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32294 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32297 2012-04-17 David S. Miller <davem@davemloft.net>
32299 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32301 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32303 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32304 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32305 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32306 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32307 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32308 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32310 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32313 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32314 * math/libm-test.inc: Add ilogb errno and exception tests.
32315 * math/w_ilogb.c: New file: ilogb wrapper.
32316 * math/w_ilogbf.c: New file: ilogbf wrapper.
32317 * math/w_ilogbl.c: New file: ilogbl wrapper.
32318 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32319 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32320 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32321 exception being thrown with 0.0 as argument.
32322 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32323 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32324 exception being thrown with 0.0 as argument.
32325 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32326 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32327 exception being thrown with 0.0 as argument.
32328 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32329 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32330 exception being thrown with 0.0 as argument.
32331 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32332 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32334 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32335 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32336 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32337 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32338 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32339 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32341 2012-04-17 Petr Baudis <pasky@ucw.cz>
32343 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32346 2012-04-16 Marek Polacek <polacek@redhat.com>
32348 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32350 2012-04-16 Marek Polacek <polacek@redhat.com>
32352 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32353 operands of fdivp instruction.
32355 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32357 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32358 * elf/tst-auditmod3b.c: Likewise.
32359 * elf/tst-auditmod4b.c: Likewise.
32360 * elf/tst-auditmod5b.c: Likewise.
32361 * elf/tst-auditmod6b.c: Likewise.
32362 * elf/tst-auditmod6c.c: Likewise.
32363 * elf/tst-auditmod7b.c: Likewise.
32364 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32365 * sysdeps/x86_64/preconfigure.in: Likewise.
32366 * sysdeps/x86_64/preconfigure: Regenerated.
32368 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32370 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32373 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32376 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32378 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32381 * locale/iso-639.def: Fix gl language name. Spotted by
32384 2012-04-12 Roland McGrath <roland@hack.frob.com>
32387 * libio/libio.h (__io_write_fn): Update comment.
32389 2012-04-12 Petr Baudis <pasky@ucw.cz>
32392 * stdio.texi (Hook Functions): The user provided writer function
32393 is not allowed to return -1.
32395 2012-04-11 David S. Miller <davem@davemloft.net>
32397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32399 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32401 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32402 Add a leading slash to rtkaio.
32404 2012-04-11 Jim Meyering <meyering@redhat.com>
32407 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32408 It is not necessarily an error to ignore fwrite's return
32409 value. One can reliably use ferror to test for errors after
32412 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32414 * bits/types.h (__snseconds_t): New type.
32415 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32417 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32419 (__SNSECONDS_T_TYPE): Likewise.
32420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32421 (__SNSECONDS_T_TYPE): Likewise.
32422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32423 (__SNSECONDS_T_TYPE): Likewise.
32425 2012-04-10 Andreas Jaeger <aj@suse.de>
32428 * manual/time.texi (Processor Time): Return type of times is
32429 elapsed real time since an arbitrary point in the past.
32430 (CPU Time): Move CLK_TCK from here...
32431 (Processor Time): ...to here. Correct description.
32432 * manual/conf.texi (Constants for Sysconf): Correct description of
32435 2012-04-10 David S. Miller <davem@davemloft.net>
32438 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32439 where the is a gap between DT_REL(A) and DT_JMPREL.
32441 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32443 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32444 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32445 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32447 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32449 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32450 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32451 (dl_main): Handle --inhibit-cache.
32452 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32454 * elf/dl-load.c (_dl_map_object): Use it.
32455 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32457 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32460 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32461 (__ieee754_powl): Saturate large exponents rather than testing for
32462 overflow of y*log2(x).
32463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32464 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32468 * math/s_ctan.c: Include <float.h>.
32469 (__ctan): Avoid internal overflow or cancellation in calculating
32471 * math/s_ctanf.c: Likewise.
32472 * math/s_ctanl.c: Likewise.
32473 * math/s_ctanh.c: Likewise.
32474 * math/s_ctanhf.c: Likewise.
32475 * math/s_ctanhl.c: Likewise.
32476 * math/libm-test.inc (ctan_test): Add more tests.
32477 (ctanh_test): Likewise.
32478 * sysdeps/i386/fpu/libm-test-ulps: Update.
32479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32481 2012-04-09 Andreas Jaeger <aj@suse.de>
32484 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32485 is an optional BSD extension.
32488 * manual/stdio.texi (Opening Streams): Document additional fopen
32491 2012-04-09 Roland McGrath <roland@hack.frob.com>
32493 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32494 %eax without telling the compiler.
32496 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32499 * manual/install.texi: Use sourceware.org.
32501 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32504 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32505 (__ieee754_pow): Generate overflow and underflow using huge*huge
32506 and tiny*tiny rather than just returning constant infinity or zero
32507 for large exponents.
32508 * math/libm-test.inc (pow_test): Require overflow exceptions for
32509 applicable cases of large exponents.
32512 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32513 (__ieee754_pow): Use iterative multiplication algorithm only for
32514 integer exponents with absolute value below 1024. Check for odd
32515 integer exponents when using algorithm for real exponents.
32516 * math/libm-test.inc (pow_test): Add more tests.
32517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32519 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32522 * math/libm-test.inc (exp_test): Do not allow overflow exception
32525 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32528 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32529 instead of __kernel_standard_f.
32531 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32533 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32534 * sysdeps/x86_64/memset_chk.S: Likewise.
32536 2012-04-08 Andreas Jaeger <aj@suse.de>
32539 * manual/startup.texi (Environment Access): Describe return value
32540 for putenv and setenv.
32543 * manual/filesys.texi (Directory Entries): Add description for
32547 * manual/filesys.texi (Directory Entries): Clarify that it's file
32548 system not operating system in the description of DT_UNKNOWN.
32551 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32553 2012-04-08 Stephen Compall <s11@member.fsf.org>
32556 * manual/llio.texi (Opening and Closing Files): Add cross
32557 reference to explain mode argument.
32559 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32561 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32562 * sysdeps/x86_64/memset_chk.S: Likewise.
32564 2012-04-07 David S. Miller <davem@davemloft.net>
32566 * elf/elf.h (R_SPARC_WDISP10): Define.
32567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32570 R_SPARC_SIZE64 and R_SPARC_H34.
32572 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32574 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32575 conditions and remove no longer applicable assertion.
32577 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32579 * bits/byteswap.h: Include <features.h>.
32580 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32581 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32583 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32585 * bits/byteswap.h (__bswap_16): Removed.
32586 Include <bits/byteswap-16.h> to get __bswap_16.
32587 * sysdeps/i386/bits/byteswap.h: Likewise.
32588 * sysdeps/s390/bits/byteswap.h: Likewise.
32589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32590 * bits/byteswap-16.h: New file.
32591 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32592 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32593 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32594 * string/Makefile (headers): Add bits/byteswap-16.h.
32596 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32599 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32601 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32602 * nss/tst-nss-static.c: New.
32604 2012-04-06 Robert Millan <rmh@gnu.org>
32607 * manual/llio.texi (File Position Primitive): lseek
32608 refers to WHENCE when it really means OFFSET.
32610 2012-04-06 Andreas Jaeger <aj@suse.de>
32612 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32613 strncmp declarations.
32615 * abilist/libc.abilist: Add __poll and __ppoll.
32617 2012-04-05 David S. Miller <davem@davemloft.net>
32619 * scripts/check-local-headers.sh: Accept a host triplet in the
32620 path matched by the exclude regexp.
32622 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32624 * sysdeps/powerpc/powerpc32/dl-machine.h
32625 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32626 * sysdeps/s390/s390-32/dl-machine.h
32627 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32628 * sysdeps/sparc/sparc32/dl-machine.h
32629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32630 * sysdeps/sparc/sparc64/dl-machine.h
32631 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32633 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32635 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32636 undefined symbol errors.
32638 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32641 2012-04-05 Michael Matz <matz@suse.de>
32644 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32646 2012-04-05 Andreas Jaeger <aj@suse.de>
32649 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32652 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32654 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32655 which ROUND is no valid rounding mode.
32657 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32659 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32661 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32663 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32665 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32666 an exception using FPU order intentionally.
32668 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32670 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32671 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32672 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32673 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32675 2012-04-05 Simon Josefsson <simon@josefsson.org>
32678 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32679 EINVAL when BUFLEN is too smal.
32681 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32684 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32685 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32687 2012-04-03 Andreas Jaeger <aj@suse.de>
32690 * manual/setjmp.texi (System V contexts): Fix sentence.
32693 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32694 New macro for this case.
32695 [!__GNUC__] (__bswap_64): New inline function for this case.
32696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32697 * bits/byteswap.h: Likewise.
32698 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32699 ull, guard with __GLIBC_HAVE_LONG_LONG.
32701 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32702 __GLIBC_HAVE_LONG_LONG.
32704 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32705 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32707 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32710 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32711 inptr and inend, rather than using last_ch.
32713 2012-04-02 David S. Miller <davem@davemloft.net>
32715 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32716 * stdio-common/printf-parse.h (read_int): Change return type to
32717 'int', return -1 on INT_MAX overflow.
32718 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32719 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32720 overflows INT_MAX. Check for overflow of in-format-string precision
32721 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32722 SIZE_MAX not INT_MAX for integer overflow test.
32723 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32724 skip the construct in the format string but do not record anything.
32725 * stdio-common/bug22.c: Adjust to test both width/prevision
32726 INT_MAX overflow as well as total length INT_MAX overflow. Check
32727 explicitly for proper errno values.
32729 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32731 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32733 * string/test-strcmp.c [! WIDE]: Likewise.
32734 * time/tst-mktime2.c: Likewise for INT_MAX.
32735 * string/test-string.h: #include <sys/param.h> for MIN.
32737 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32738 * sysdeps/i386/init-first.c (init): Likewise.
32739 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32740 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32741 * sysdeps/sh/init-first.c (init): Likewise.
32743 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32745 * po/ru.po: Update from translation team.
32746 * po/vi.po: Likewise.
32748 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32750 * resolv/nss_dns/dns-host.c: Merge copyright years.
32752 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32754 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32755 Optimize memcpy with prefetch if
32756 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32757 src, dst pointers have unequal 16 byte alignments.
32759 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32762 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32763 from a CNAME entry and return the minimum ttl for the query.
32764 (gaih_getanswer_slice): Likewise.
32766 2012-03-30 Jeff Law <law@redhat.com>
32768 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32770 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32771 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32773 * resolv/nss_dns/dns-host.c: Update copyright year.
32775 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32777 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32778 requests to save a system call. Fix check that all bytes are sent.
32780 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32781 comments for sendmmsg.
32783 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32786 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32787 with only 1 character between 0x0041 and 0x01b0.
32788 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32789 * wcsmbs/tst-mbsnrtowcs.c: New file.
32791 2012-03-29 David S. Miller <davem@davemloft.net>
32793 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32794 small copies by hand.
32796 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32799 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32800 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32803 2012-03-28 David S. Miller <davem@davemloft.net>
32805 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32806 that branches into memcpy.
32807 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32810 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32813 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32814 implementation too.
32815 * sysdeps/sparc/mempcpy.S: New file.
32817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32818 the IFUNC routine in the libc case.
32819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32821 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32822 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32823 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32824 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32825 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32826 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32827 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32828 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32830 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32831 loop to 256 bytes instead of 64 bytes and fix test signedness.
32833 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32834 * sysdeps/sparc/sparc32/Makefile: rather than here...
32835 * sysdeps/sparc/sparc64/Makefile: and here.
32837 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32839 * malloc/mallocbug.c: Avoid warnings about unused variables.
32841 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32844 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32845 in the right place. Discard and retry query if response is
32846 larger than input buffer size.
32848 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32853 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32854 x for large integer exponent.
32855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32856 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32857 sign of result as needed afterwards.
32858 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32859 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32860 result for underflowing pow the same as for overflow.
32861 (__kernel_standard_l): Handle powl overflow and underflow here
32862 rather than calling __kernel_standard.
32863 * math/libm-test.inc (pow_test): Add more tests.
32878 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32879 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32880 (__kernel_standard_l): New function.
32881 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32883 * math/w_acosl.c (__acosl): Likewise.
32884 * math/w_asinl.c (__asinl): Likewise.
32885 * math/w_atan2l.c (__atan2l): Likewise.
32886 * math/w_atanhl.c (__atanhl): Likewise.
32887 * math/w_coshl.c (__coshl): Likewise.
32888 * math/w_exp10l.c (__exp10l): Likewise.
32889 * math/w_exp2l.c (__exp2l): Likewise.
32890 * math/w_fmodl.c (__fmodl): Likewise.
32891 * math/w_hypotl.c (__hypotl): Likewise.
32892 * math/w_j0l.c (__j0l, __y0l): Likewise.
32893 * math/w_j1l.c (__j1l, __y1l): Likewise.
32894 * math/w_jnl.c (__jnl, __ynl): Likewise.
32895 * math/w_lgammal.c (__lgammal): Likewise.
32896 * math/w_log10l.c (__log10l): Likewise.
32897 * math/w_log2l.c (__log2l): Likewise.
32898 * math/w_logl.c (__logl): Likewise.
32899 * math/w_powl.c (__powl): Likewise.
32900 * math/w_remainderl.c (__remainderl): Likewise.
32901 * math/w_scalbl.c (sysv_scalbl): Likewise.
32902 * math/w_sinhl.c (__sinhl): Likewise.
32903 * math/w_sqrtl.c (__sqrtl): Likewise.
32904 * math/w_tgammal.c (__tgammal): Likewise.
32905 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32906 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32907 * math/libm-test.inc (acos_test): Add more tests.
32908 (acosh_test): Likewise.
32909 (asin_test): Likewise.
32910 (atanh_test): Likewise.
32911 (exp_test): Likewise.
32912 (exp10_test): Likewise.
32913 (exp2_test): Likewise.
32914 (expm1_test): Likewise.
32915 (lgamma_test): Likewise.
32916 (log_test): Likewise.
32917 (log10_test): Likewise.
32918 (log1p_test): Likewise.
32919 (log2_test): Likewise.
32920 (pow_test): Do not allow some spurious overflow exceptions.
32921 (sqrt_test): Add more tests.
32922 (tgamma_test): Likewise.
32923 (y0_test): Likewise.
32924 (y1_test): Likewise.
32925 (yn_test): Likewise.
32927 2012-03-27 Anton Blanchard <anton@samba.org>
32929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32931 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32935 2012-03-27 David S. Miller <davem@davemloft.net>
32937 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32939 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32940 have-as-vis3 check.
32942 2012-03-27 Andreas Jaeger <aj@suse.de>
32944 * sysdeps/x86_64/elf/configure.in: Moved to ...
32945 * sysdeps/x86_64/configure.in: ... here.
32946 * sysdeps/x86_64/elf/start.S: Moved to ...
32947 * sysdeps/x86_64/start.S: ... here.
32948 * sysdeps/x86_64/elf/configure: Delete.
32950 * sysdeps/x86_64/configure.in: Merge contents from
32951 sysdeps/i386/configure.in (without i686 check).
32953 * sysdeps/i386/elf/Versions: Merge into ...
32954 * sysdeps/i386/Versions: ... this.
32955 * sysdeps/i386/elf/Versions: Delete file.
32956 * sysdeps/i386/elf/start.S: Moved to ...
32957 * sysdeps/i386/start.S: ...here.
32958 * sysdeps/i386/elf/configure.in: Merge into...
32959 * sysdeps/i386/configure.in: ...here.
32960 * sysdeps/i386/elf/configure.in: Delete file.
32961 * sysdeps/i386/elf/configure: Delete file.
32963 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32964 * debug/backtracesyms.c: ... here.
32965 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32966 * debug/backtracesymsfd.c: ... here.
32967 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32968 * sysdeps/generic/ifunc-sel.h: ... here.
32970 * sysdeps/unix/i386/start.c: Delete file.
32971 * sysdeps/unix/sparc/start.c: Delete file.
32972 * sysdeps/unix/start.c: Delete file.
32974 * sysdeps/sh/elf/configure.in: Moved to ...
32975 * sysdeps/sh/configure.in: ... here.
32976 * sysdeps/sh/elf/start.S: Moved to ...
32977 * sysdeps/sh/start.S: ... here.
32978 * sysdeps/sh/elf/configure: Delete file.
32980 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32981 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32982 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32983 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32984 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32985 * sysdeps/powerpc/powerpc64/start.S: here.
32986 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32987 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32988 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32989 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32990 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32992 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32993 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32994 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32995 * sysdeps/powerpc/powerpc32/start.S: ... here.
32996 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32997 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32998 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33000 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33001 * sysdeps/powerpc/ifunc-sel.h: ... here.
33002 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33003 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33005 * sysdeps/sparc/elf/configure.in: Moved to ...
33006 * sysdeps/sparc/configure.in: ... here.
33007 * sysdeps/sparc/elf/configure: Delete file.
33008 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33009 * sysdeps/sparc/sparc32/start.S: ... here.
33010 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33011 * sysdeps/sparc/sparc64/start.S: ... here.
33012 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33013 * sysdeps/sparc/sparc32/Makefile: ... this.
33014 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33015 * sysdeps/sparc/sparc64/Makefile: ... this.
33017 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33018 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33019 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33020 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33021 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33022 * sysdeps/s390/s390-32/setjmp.S: ... here.
33023 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33024 * sysdeps/s390/s390-32/configure.in: ... here.
33025 * sysdeps/s390/s390-32/elf/configure: Delete file.
33026 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33027 * sysdeps/s390/s390-32/start.S: ... here.
33029 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33030 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33031 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33032 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33033 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33034 * sysdeps/s390/s390-64/setjmp.S: ... here.
33035 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33036 * sysdeps/s390/s390-64/configure.in: ... here
33037 * sysdeps/s390/s390-64/elf/configure: Delete file.
33038 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33039 * sysdeps/s390/s390-64/start.S: ... here.
33040 * sysdeps/s390/s390-64/elf/configure: Delete.
33042 * configure.in: Remove support for elf directories in sysdeps.
33044 * configure: Regenerated.
33045 * sysdeps/i386/configure: Regenerated.
33046 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33047 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33048 * sysdeps/s390/s390-32/configure: Regenerated.
33049 * sysdeps/s390/s390-64/configure: Regenerated.
33050 * sysdeps/sh/configure: Regenerated.
33051 * sysdeps/sparc/configure: Regenerated.
33052 * sysdeps/x86_64/configure: Regenerated.
33054 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33059 denormal result into account.
33061 2012-03-25 Roland McGrath <roland@hack.frob.com>
33063 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33064 Reported by Allan McRae <allan@archlinux.org>.
33066 2012-03-23 Jeff Law <law@redhat.com>
33068 * nss/getnssent.c (__nss_getent): Fix typo.
33070 2012-03-23 David S. Miller <davem@davemloft.net>
33072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33074 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33077 to pad to uint64_t for each field.
33078 (dl_tls_index): Replace unsigned long with uint64_t.
33080 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33081 Paul Pluzhnikov <ppluzhnikov@google.com>
33084 * grp/Makefile (otherlibs): Don't set it.
33085 * inet/Makefile (otherlibs): Likewise.
33086 * login/Makefile (otherlibs): Likewise.
33087 * nscd/Makefile (otherlibs): Likewise.
33088 * posix/Makefile (otherlibs): Likewise.
33089 * pwd/Makefile (otherlibs): Likewise.
33090 * rt/Makefile (otherlibs): Likewise.
33091 * sunrpc/Makefile (otherlibs): Likewise.
33092 * nss/Makefile (otherlibs): Likewise.
33093 Add libnss_files to routines and static-only-routines.
33094 ($(objpfx)getent): Remove rule.
33095 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33096 static-only-routines.
33098 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33101 * math/s_cexp.c: Include <float.h>.
33102 (__cexp): Handle exp result overflowing not necessarily
33103 overflowing both real and imaginary parts of result.
33104 * math/s_cexpf.c: Likewise.
33105 * math/s_cexpl.c: Likewise.
33106 * math/libm-test.inc (cexp_test): Add more tests.
33107 * sysdeps/i386/fpu/libm-test-ulps: Update.
33108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33110 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33112 * include/link.h (ELFW): New macro.
33113 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33114 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33116 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33121 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33123 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33125 (struct La_x32_retval): Likewise.
33127 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33129 * sysdeps/x86_64/preconfigure.in: New file.
33130 * sysdeps/x86_64/preconfigure: New generated file.
33132 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33135 * math/e_exp2l.c: Include <float.h>.
33136 (__ieee754_exp2l): Handle overflow and underflow cases
33137 separately. Only pass fractional part of argument to
33139 * math/libm-test.inc (exp2_test): Add more tests.
33141 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33142 negating x to take absolute value.
33143 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33148 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33149 computing low part if x was negated.
33150 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33152 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33154 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33155 la_x32_gnu_pltexit.
33156 (pltexit): Cast int_retval to ptrdiff_t.
33157 * elf/tst-auditmod3b.c: Likewise.
33158 * elf/tst-auditmod4b.c: Likewise.
33159 * elf/tst-auditmod5b.c: Likewise.
33160 * elf/tst-auditmod6b.c: Likewise.
33161 * elf/tst-auditmod6c.c: Likewise.
33162 * elf/tst-auditmod7b.c: Likewise.
33164 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33165 and x32_gnu_pltexit.
33167 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33168 __ELF_NATIVE_CLASS.
33169 (La_x32_regs): New macro.
33170 (La_x32_retval): Likewise.
33171 (la_x32_gnu_pltenter): New function prototype.
33172 (la_x32_gnu_pltexit): Likewise.
33174 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33181 * configure.in (libc_cv_cc_nofma): Check for option to disable
33182 generation of FMA instructions.
33183 * configure: Regenerate.
33184 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33185 * sysdeps/ieee754/dbl-64/Makefile: New file.
33186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33187 Remove brandred-fma4.
33188 (CFLAGS-brandred-fma4.c): Remove.
33189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33197 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33198 LLONG_MAX != LONG_MAX.
33199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33200 (_fitoa_word): Likewise.
33201 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33202 LLONG_MAX != LONG_MAX.
33203 * stdio-common/_itowa.h: Include <_itoa.h>.
33204 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33205 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33206 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33207 only if not defined.
33208 (_ITOA_WORD_TYPE): Likewise.
33209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33210 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33212 2012-03-21 David S. Miller <davem@davemloft.net>
33214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33216 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33218 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33219 of x86_64 when setting libc_cv_slibdir, libdir and
33221 * sysdeps/unix/sysv/linux/configure: Regenerated.
33223 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33225 * manual/lang.texi (Old Varargs): Remove section.
33226 (How Variadic): Update menu.
33227 (va_start): Do not mention varargs.h.
33229 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33230 Joseph Myers <joseph@codesourcery.com>
33232 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33234 * configure: Regenerated.
33236 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33238 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33239 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33242 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33245 * Makefile (files-for-dist): Remove NOTES.
33246 (NOTES): Remove rule.
33247 * README: Don't refer to NOTES.
33248 * manual/creature.texi: Don't include macros.texi.
33249 * manual/intro.texi (creature.texi): Remove comment referring to
33252 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33253 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33254 * configure: Regenerated.
33255 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33256 LIBC_TRY_CC_OPTION.
33257 (libc_cv_as_i686): Likewise.
33258 (libc_cv_cc_avx): Likewise.
33259 (libc_cv_cc_sse2avx): Likewise.
33260 (libc_cv_cc_fma4): Likewise.
33261 (libc_cv_cc_novzeroupper): Likewise.
33262 * sysdeps/i386/configure: Regenerated.
33265 * sysdeps/i386/fpu/s_cexp.S: Remove.
33266 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33267 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33268 * math/libm-test.inc (cexp_test): Add more tests.
33269 * sysdeps/i386/fpu/libm-test-ulps: Update.
33270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33272 2012-03-21 Allan McRae <allan@archlinux.org>
33274 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33276 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33279 * math/w_exp2.c: Do not include <float.h>.
33280 (o_threshold, u_threshold): Remove.
33281 (__exp2): Calculate result before checking finiteness and calling
33283 * math/w_exp2f.c: Likewise.
33284 * math/w_exp2l.c: Likewise.
33285 * math/libm-test.inc (exp2_test): Require overflow exception for
33289 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33290 range of signed 64-bit integers before using fistpll. Remove
33291 checks for whether integers fit in mantissa bits.
33292 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33293 the range of signed 32-bit integers before using fistpl. Remove
33294 checks for whether integers fit in mantissa bits.
33295 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33296 (__ieee754_powl): Test for y outside the range of signed 64-bit
33297 integers before using fistpll. Reduce 64-bit values to 63-bit
33299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33300 divide-by-zero is raised for zero to large negative powers.
33301 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33302 (__ieee754_powl): Test for y outside the range of signed 64-bit
33303 integers before using fistpll. Reduce 64-bit values to 63-bit
33305 * math/libm-test.inc (pow_test): Add more tests.
33307 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33309 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33310 <stdio-common/_itoa.h>.
33311 * debug/segfault.c: Likewise.
33312 * elf/dl-cache.c: Likewise.
33313 * elf/dl-minimal.c: Likewise.
33314 * elf/dl-misc.c: Likewise.
33315 * elf/dl-sysdep.c: Likewise.
33316 * elf/dl-version.c: Likewise.
33317 * elf/rtld.c: Likewise.
33318 * hurd/hurdsock.c: Likewise.
33319 * hurd/lookup-retry.c: Likewise.
33320 * malloc/malloc.c: Likewise.
33321 * malloc/mtrace.c: Likewise.
33322 * nscd/nscd_getgr_r.c: Likewise.
33323 * nscd/nscd_getpw_r.c: Likewise.
33324 * nscd/nscd_getserv_r.c: Likewise.
33325 * posix/getopt_init.c: Likewise.
33326 * posix/wordexp.c: Likewise.
33327 * stdio-common/_itoa.c: Likewise.
33328 * stdio-common/printf_fphex.c: Likewise.
33329 * stdio-common/vfprintf.c: Likewise.
33330 * string/_strerror.c: Likewise.
33331 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33332 * sysdeps/i386/i686/hp-timing.h: Likewise.
33333 * sysdeps/mach/_strerror.c: Likewise.
33334 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33335 * sysdeps/mach/hurd/sethostid.c: Likewise.
33336 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33337 * sysdeps/mach/xpg-strerror.c: Likewise.
33338 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33340 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33341 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33342 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33343 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33344 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33345 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33346 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33347 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33348 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33349 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33350 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33351 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33352 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33353 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33354 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33355 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33356 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33357 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33358 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33360 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33362 * stdio-common/_itoa.h: Moved to ...
33363 * sysdeps/generic/_itoa.h: Here.
33365 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33367 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33368 instead of "_itoa.h" and "_itowa.h".
33369 * stdio-common/vfprintf.: Likewise.
33371 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33373 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33375 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33376 (__signbit): Likwise.
33377 (llrintf): Likwise.
33380 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33382 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33385 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33387 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33388 OVERFLOW_EXCEPTION_OK.
33389 * math/libm-test.inc ("Philosophy"): Update comment about
33391 (OVERFLOW_EXCEPTION): Define.
33392 (OVERFLOW_EXCEPTION_OK): Likewise.
33393 (INVALID_EXCEPTION_OK): Renumber.
33394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33395 (IGNORE_ZERO_INF_SIGN): Likewise.
33396 (test_exceptions): Handle FE_OVERFLOW.
33397 (exp10_test): Expect overflow exceptions.
33398 (exp2_test): Likewise.
33399 (expm1_test): Likewise.
33400 (nextafter_test): Likewise.
33401 (pow_test): Likewise.
33402 (scalbn_test): Likewise.
33403 (scalbln_test): Likewise.
33405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33407 * sysdeps/x86_64/bits/atomic.h
33408 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33410 (atomic_exchange_acq): Likewise.
33411 (__arch_exchange_and_add_body): Likewise.
33412 (__arch_add_body): Likewise.
33413 (atomic_add_negative): Likewise.
33414 (atomic_add_zero): Likewise.
33416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33418 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33419 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33421 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33423 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33424 Check __x86_64__ instead of __WORDSIZE.
33426 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33428 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33430 2012-03-19 David S. Miller <davem@davemloft.net>
33432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33434 * sysdeps/sparc/fpu/fenv_private.h: New file.
33435 * sysdeps/sparc/fpu/math_private.h: Use it.
33436 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33438 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33439 (libc_feholdexcept_setroundl): Remove.
33440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33442 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33443 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33445 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33447 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33448 int64_t instead of long int.
33449 (INSERT_WORDS64): Likwise.
33451 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33453 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33454 _Unwind_GetCFA return to _Unwind_Ptr first.
33456 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33459 * math/s_clog.c: Include <float.h>.
33460 (__clog): Scale large or subnormal inputs.
33461 * math/s_clogf.c: Likewise.
33462 * math/s_clogl.c: Likewise.
33463 * math/s_clog10.c: Include <float.h>.
33464 (M_LOG10_2): Define.
33465 (__clog10): Scale large or subnormal inputs.
33466 * math/s_clog10f.c: Likewise.
33467 * math/s_clog10l.c: Likewise.
33468 * math/libm-test.inc (clog_test): Add more tests.
33469 (clog10_test): Likewise.
33470 * sysdeps/i386/fpu/libm-test-ulps: Update.
33471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33474 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33476 * math/libm-test.inc (atan2_test): Add another test.
33478 * Makerules (common-objdir-compile): Remove.
33479 * sysdeps/unix/Makefile (config-generated): Do not add
33480 $(unix-generated) to variable.
33481 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33482 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33484 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33486 [generic bits/local_lim.h] (before-compile): Do not append to
33488 [generic bits/local_lim.h] (common-generated): Likewise.
33489 [generic sys/param.h] (before-compile): Do not append to variable.
33490 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33491 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33492 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33493 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33495 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33496 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33497 [generic sys/param.h] ($(addprefix
33498 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33499 [generic sys/param.h] (common-generated): Do not append to
33501 [generic sys/param.h] (sysdep_headers): Likewise.
33502 [generic bits/errno.h] (before-compile): Do not append to
33504 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33506 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33507 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33508 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33509 [generic bits/errno.h] (common-generated): Do not append to
33511 [generic bits/ioctls.h] (before-compile): Do not append to
33513 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33515 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33516 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33517 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33519 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33520 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33521 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33522 [generic bits/ioctls.h] (common-generated): Do not append to
33524 [generic sys/syscall.h] (syscall.h): Remove variable.
33525 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33527 [generic sys/syscall.h] (before-compile): Do not append to
33529 [generic sys/syscall.h] (common-generated): Likewise.
33530 * sysdeps/unix/errnos-tmpl.c: Remove file.
33531 * sysdeps/unix/errnos.awk: Likewise.
33532 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33533 * sysdeps/unix/ioctls.awk: Likewise.
33534 * sysdeps/unix/mk-local_lim.c: Likewise.
33535 * sysdeps/unix/snarf-ioctls: Likewise.
33537 2012-03-19 Richard Henderson <rth@twiddle.net>
33539 * sysdeps/i386/fpu/fenv_private.h: New file.
33540 * sysdeps/i386/fpu/math_private.h: Use it.
33541 (math_opt_barrier, math_force_eval): Remove.
33542 (libc_feholdexcept_setround_53bit): Remove.
33543 (libc_feupdateenv_53bit): Remove.
33544 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33545 (math_opt_barrier, math_force_eval): Remove.
33546 (libc_feholdexcept): Remove.
33547 (libc_feholdexcept_setround): Remove.
33548 (libc_fetestexcept, libc_fesetenv): Remove.
33549 (libc_feupdateenv_test): Remove.
33550 (libc_feupdateenv, libc_feholdsetround): Remove.
33551 (libc_feresetround): Remove.
33553 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33554 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33556 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33557 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33558 (libc_feupdateenv_testl): New.
33559 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33560 (libc_feupdateenv_testf): New.
33561 (libc_feupdateenv): Use libc_feupdateenv_test.
33562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33565 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33566 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33567 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33568 (libc_feresetround_noex): New.
33569 (libc_feresetround_noexf): New.
33570 (libc_feresetround_noexl): New.
33571 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33572 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33573 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33574 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33579 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33581 SET_RESTORE_ROUND_NOEX.
33582 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33583 SET_RESTORE_ROUND_NOEXF.
33584 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33585 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33586 (libc_feholdsetroundf): New.
33587 (libc_feresetround, libc_feresetroundf): New.
33589 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33590 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33591 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33593 * sysdeps/generic/math_private.h: Include <fenv.h>.
33594 (default_libc_feholdexcept): New.
33595 (default_libc_feholdexcept_setround): New.
33596 (default_libc_fesetenv, default_libc_feupdateenv): New.
33597 (libc_feholdexcept): Only define if undefined.
33598 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33600 (libc_feholdexcept_setroundl): Likewise.
33601 (libc_feholdexcept_setround_53bit): Likewise.
33602 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33605 (libc_feupdateenv_53bit): Likewise.
33606 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33607 (libc_feholdexcept): Convert from macro to inline function.
33608 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33609 (libc_fesetenv, libc_feupdateenv): Likewise.
33611 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33612 not previously defined.
33613 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33614 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33615 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33616 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33617 * sysdeps/ieee754/flt-32/math_private.h: New file.
33618 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33619 math_private.h below SET_FLOAT_WORD.
33620 (__isnan, __isinf_ns, __finite): Remove.
33621 (__isnanf, __isinf_nsf, __finitef): Remove.
33623 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33627 2012-03-17 David S. Miller <davem@davemloft.net>
33630 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33633 2012-03-16 David S. Miller <davem@davemloft.net>
33635 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33639 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33641 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33642 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33643 sysdep_routines when subdir is sysvipc.
33644 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33645 __getshmlba helper.
33647 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33651 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33654 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33656 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33657 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33658 (__lround): Renamed to ...
33659 (__llround): This. Replace long int with long long int.
33660 Define lround functions as aliases of llround functions.
33661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33665 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33666 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33667 adresses to uintptr_t. Replace "long int" and "unsigned long
33668 int" with "greg_t" on va_arg.
33670 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33672 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33673 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33675 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33676 Move e_machine check before EI_CLASS check. Handle x32
33677 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33678 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33679 SKIP_EM_IA_64 and include
33680 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33682 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33683 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33684 (add_system_dir): New macro.
33686 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33687 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33689 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33700 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33702 * math/w_j0f.c (j0f): Likewise.
33704 * math/w_j0l.c (__j0l): Likewise.
33706 * math/w_j1.c (j1): Likewise.
33708 * math/w_j1f.c (j1f): Likewise.
33710 * math/w_j1l.c (__j1l): Likewise.
33712 * math/w_jn.c (jn): Likewise.
33714 * math/w_jnf.c (jnf): Likewise.
33716 * math/w_jnl.c (__jnl): Likewise.
33718 * math/libm-test.inc (j0_test): Add more tests.
33719 (j1_test): Likewise.
33720 (jn_test): Likewise. Add trailing semicolon to existing test.
33721 (y0_test): Likewise.
33722 (y1_test): Likewise.
33723 * sysdeps/i386/fpu/libm-test-ulps: Update.
33724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33729 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33730 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33731 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33732 (__tanl): Set errno for infinite argument.
33733 * sysdeps/i386/fpu/mptan.c: Remove.
33734 * sysdeps/i386/fpu/s_tan.S: Likewise.
33735 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33736 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33737 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33738 * math/libm-test.inc (tan_test): Add more tests and enable more
33739 tests for double and long double.
33740 * sysdeps/i386/fpu/libm-test-ulps: Update.
33741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33743 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33745 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33746 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33748 2012-03-16 Roland McGrath <roland@hack.frob.com>
33750 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33751 * configure.in: Use it for both main tree and add-ons.
33752 * configure: Regenerated.
33754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33756 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33758 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33760 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33764 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33765 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33770 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33771 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33772 != 0 for prec == 2.
33773 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33774 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33775 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33776 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33777 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33778 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33779 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33780 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33781 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33782 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33783 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33784 * math/libm-test.inc (cos_test): Add more tests and enable more
33785 tests for long double.
33786 (sin_test): Likewise.
33787 (sincos_test): Likewise.
33788 * sysdeps/i386/fpu/libm-test-ulps: Update.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791 2012-03-16 David S. Miller <davem@davemloft.net>
33793 * sysdeps/sparc/fpu/math_private.h: New file.
33795 2012-03-15 David S. Miller <davem@davemloft.net>
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33811 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33812 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33814 * sysdeps/sparc/sparc-ifunc.h: New file.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33860 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33862 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33866 2012-03-15 Andreas Jaeger <aj@suse.de>
33869 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33870 ieee754/flt-32 implementation for sin, cos and sincos.
33871 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33872 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33873 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33874 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33875 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33876 ieee754/flt-32 implementation for tan.
33878 * math/libm-test.inc (cos_test): Enable some large input tests for
33880 (sin_test): Likewise.
33881 (sincos_test): Likewise.
33882 (tan_test): Add tests for large input.
33884 * sysdeps/i386/fpu/libm-test-ulps: Update.
33886 2012-03-15 Andreas Jaeger <aj@suse.de>
33889 * math/libm-test.inc (cos_test): Add more test cases.
33890 (sin_test): Likewise.
33891 (sincos_test): Likewise.
33893 2012-03-15 Andreas Jaeger <aj@suse.de>
33896 * math/libm-test.inc (cos_test): Add a test case for large input
33898 (sin_test): Likewise.
33899 (sincos_test): Likewise.
33901 2012-03-15 Andreas Jaeger <aj@suse.de>
33902 Joseph Myers <joseph@codesourcery.com>
33905 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33906 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33907 * sysdeps/i386/fpu/branred.c: Likewise.
33908 * sysdeps/i386/fpu/dosincos.c: Likewise.
33909 * sysdeps/i386/fpu/mpa.c: Likewise.
33910 * sysdeps/i386/fpu/s_cos.S: Likewise.
33911 * sysdeps/i386/fpu/s_sin.S: Likewise.
33912 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33913 * sysdeps/i386/fpu/sincos32.c: Likewise.
33915 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33917 (libc_feupdateenv_53bit): Define.
33918 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33920 (libc_feupdateenv_53bit): Define.
33922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33923 53 bit (without extend i386 double precision).
33925 * math/libm-test.inc (sincos_test): Add tests for large input.
33929 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33931 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33935 2012-03-15 David S. Miller <davem@davemloft.net>
33937 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33938 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33939 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33940 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33965 fmin/fmax sysdep routines.
33966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33968 2012-03-14 David S. Miller <davem@davemloft.net>
33970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34042 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34047 * sysdeps/sparc/configure.in: New file.
34048 * sysdeps/sparc/configure: Generate.
34049 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34050 * configure: Regenerate.
34051 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34052 * config.make.in (have-as-vis3): New.
34053 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34054 available use -Av9d instead of -Av9a.
34055 * sysdeps/sparc/sparc64/Makefile: Likewise.
34056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34069 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34071 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34072 fzeros/fnegs to load 0x80000000 into a float register instead of
34074 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34076 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34080 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34081 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34082 ($(inst_includedir)/bits/syscall.h): Remove rule.
34083 ($(objpfx)bits/syscall.d): Include instead of
34084 $(objpfx)syscall-list.d.
34085 (generated): Change syscall-list.h and syscall-list.d to
34086 bits/syscall.h and bits/syscall.d.
34088 2012-03-14 Roland McGrath <roland@hack.frob.com>
34091 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34093 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34096 * math/s_csqrt.c: Include <float.h>.
34097 (__csqrt): Scale large or subnormal inputs.
34098 * math/s_csqrtf.c: Likewise.
34099 * math/s_csqrtl.c: Likewise.
34100 * math/libm-test.inc (csqrt_test): Add more tests.
34101 * sysdeps/i386/fpu/libm-test-ulps: Update.
34102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105 * math/libm-test.inc (hypot_test): Add more tests.
34107 2012-03-13 David S. Miller <davem@davemloft.net>
34110 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34111 double-precision for the calculation instead of scaling.
34113 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34115 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34116 manipulate bits before adding and subtracting TWO52[sx].
34117 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34122 2012-03-13 David S. Miller <davem@davemloft.net>
34124 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34125 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34127 rtld-global-offsets.h
34128 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34133 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34135 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34136 'err' in the ifdef scope in which it is actually used.
34138 * nss/nss_db/db-init.c: Include string.h
34140 2012-03-12 David S. Miller <davem@davemloft.net>
34142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34143 masking out of the most significant byte of random value used.
34144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34145 Fix coding style in previous change.
34147 * sysdeps/unix/sysv/linux/kernel-features.h
34148 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34149 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34151 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34154 2012-03-11 David S. Miller <davem@davemloft.net>
34156 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34157 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34159 for 'resultvar' otherwise things get truncated on 64-bit.
34161 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34162 Fix masking out of the most significant byte of random value used.
34164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34166 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34170 2012-03-09 David S. Miller <davem@davemloft.net>
34172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34173 variables with appropriate CPP guards.
34174 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34175 from the frame pointer, not the stack pointer. Correct layout
34176 comments. Fix test on resulting framesize and the management of
34177 the outregs buffer for pltexit. Preserve floating point return
34178 values across _dl_call_pltexit call.
34179 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34180 framesize and the management of the outregs buffer for pltexit.
34181 Preserve floating point return values across _dl_call_pltexit
34183 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34184 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34185 (la_sparc64_gnu_pltexit): New functions.
34186 (print_exit): Fix format string for return register value.
34188 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34190 * sunrpc/Makefile (others): Add rpcgen.
34191 ($(objpfx)rpcgen): Remove special build rule and dependency on
34193 * sunrpc/rpcgen.c: New file.
34195 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34198 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34199 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34200 * sysdeps/i386/crti.S: Likewise.
34201 * sysdeps/i386/crtn.S: Likewise.
34202 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34203 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34204 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34205 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34206 * sysdeps/sh/crti.S: Likewise.
34207 * sysdeps/sh/crtn.S: Likewise.
34208 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34211 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34213 * locale/programs/locfile-kw.gperf: Likewise.
34214 * locale/programs/charmap-kw.h: Regenerated.
34215 * locale/programs/locfile-kw.h: Likewise.
34218 * intl/plural.y: Replace FSF snail mail address with URL.
34219 * intl/plural.c: Regenerated.
34221 2012-03-09 Richard Henderson <rth@twiddle.net>
34223 * include/math_private.h: Remove file.
34224 * math/math_private.h: Move file ...
34225 * sysdeps/generic/math_private.h: ... here.
34227 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34228 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34229 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34231 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34232 and <math_private.h>.
34233 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34234 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34235 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34236 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34237 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34238 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34239 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34241 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34242 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34251 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34258 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34266 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34270 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34273 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34277 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34278 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34280 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34282 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34291 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34292 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34293 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34294 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34320 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34321 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34322 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34323 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34324 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34326 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34327 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34328 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34329 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34330 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34331 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34332 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34333 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34334 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34335 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34336 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34338 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34339 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34340 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34341 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34343 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34344 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34345 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34346 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34347 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34352 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34355 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34357 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34358 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34359 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34360 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34361 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34362 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34363 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34364 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34365 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34367 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34371 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34372 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34375 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34376 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34378 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34379 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34381 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34382 * sysdeps/ieee754/k_standard.c: Likewise.
34383 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34388 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34400 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34402 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34403 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34404 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34405 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34406 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34407 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34408 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34409 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34410 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34411 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34412 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34413 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34414 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34415 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34416 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34417 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34437 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34438 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34440 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34441 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34442 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34444 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34445 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34499 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34503 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34505 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34516 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34543 * sysdeps/ieee754/s_lib_version.c: Likewise.
34544 * sysdeps/ieee754/s_matherr.c: Likewise.
34545 * sysdeps/ieee754/s_signgam.c: Likewise.
34546 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34547 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34548 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34549 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34550 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34551 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34552 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34553 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34554 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34555 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34556 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34557 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34558 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34559 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34560 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34561 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34562 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34563 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34568 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34570 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34571 * sunrpc/rpc_main.c: Likewise.
34572 * sunrpc/rpc_svcout.c: Likewise.
34574 2012-03-09 David S. Miller <davem@davemloft.net>
34576 * include/math_private.h: New file.
34578 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34580 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34581 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34582 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34583 from <bits/socket_type.h>.
34584 (enum __socket_type): Don't define here.
34585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34587 bits/socket_type.h.
34590 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34591 checking __USE_GNU.
34593 * Makerules ($(inst_includedir)/%.h): New rule.
34594 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34595 (install-others): Remove variable setting.
34596 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34598 2012-03-08 Richard Henderson <rth@twiddle.net>
34600 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34601 from macro to inline function; merge with the
34602 !__LIBC_INTERNAL_MATH_INLINES version.
34603 (__ieee754_sqrtf): Likewise.
34605 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34606 to inline function.
34607 (__rintf, __floor, __floorf): Likewise.
34609 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34610 macro to inline function.
34611 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34613 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34614 not <math/math_private.h>.
34616 2012-03-08 David S. Miller <davem@davemloft.net>
34618 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34620 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34622 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34624 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34626 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34627 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34629 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34631 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34632 be defined individually, they must be defined as a block. Define
34633 S for printing a string instead of hidint the different by using a
34634 macro for adding the 'l'.
34635 * stdio-common/tst-fphex-wide.c: Adjust.
34637 2012-03-07 Marek Polacek <polacek@redhat.com>
34639 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34641 2012-03-08 Marek Polacek <polacek@redhat.com>
34644 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34645 * stdio-common/tst-fphex.c: Define a few macros to make the
34646 test reusable. Use them.
34647 * stdio-common/tst-fphex-wide.c: New file.
34649 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34652 * manual/macros.texi (gnusystems): New macro.
34653 (nongnusystems): Likewise.
34654 (gnulinuxhurdsystems): Likewise.
34655 (gnuhurdsystems): Likewise..
34656 (gnulinuxsystems): Likewise.
34657 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34658 variants of the GNU system, not "GNU system".
34659 * manual/conf.texi: Likewise.
34660 * manual/errno.texi: Likewise. Update example of errno macro
34662 * manual/filesys.texi: Likewise.
34663 (getumask): Document as specific to GNU/Hurd.
34664 * manual/install.texi: Likewise. Reword some references to
34666 * manual/intro.texi: Likewise.
34667 * manual/io.texi: Likewise.
34668 (File Name Portability): Detail which constraints are inapplicable
34669 to all GNU systems and which are only inapplicable to GNU/Hurd.
34670 * manual/job.texi: Likewise.
34671 * manual/llio.texi: Likewise.
34672 (O_NOCTTY): Document as present on GNU/Linux.
34673 * manual/maint.texi: Likewise.
34674 * manual/memory.texi: Likewise.
34675 * manual/pattern.texi: Likewise.
34676 * manual/pipe.texi: Likewise.
34677 * manual/process.texi: Likewise.
34678 * manual/resource.texi: Likewise.
34679 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34681 * manual/setjmp.texi: Likewise.
34682 * manual/signal.texi: Likewise.
34683 * manual/startup.texi: Likewise.
34684 * manual/stdio.texi: Likewise.
34685 * manual/terminal.texi: Likewise.
34686 (ONLCR): Document as POSIX.
34687 (OXTABS): Document availability on GNU/Linux as XTABS.
34688 (ONOEOT): Document availability separately from other bits.
34689 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34690 * manual/time.texi: Likewise.
34691 * manual/users.texi: Likewise.
34692 * INSTALL: Regenerated.
34693 * sysdeps/gnu/errlist.c: Regenerated.
34695 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34696 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34697 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34699 * configure: Regenerated.
34701 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34703 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34704 default includes instead of AC_HEADER_CHECK.
34705 * sysdeps/i386/configure: Regenerated.
34708 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34709 * math/s_cacoshf.c (__cacoshf): Likewise.
34710 * math/s_cacoshl.c (__cacoshl): Likewise.
34711 * math/s_casinh.c (__casinh): Set signs of result from argument.
34712 * math/s_casinhf.c (__casinhf): Likewise.
34713 * math/s_casinhl.c (__casinhl): Likewise.
34714 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34715 (casinh_test): Add more tests.
34716 * sysdeps/i386/fpu/libm-test-ulps: Update.
34717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34719 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34721 * po/zh_TW.po: Update from translation team.
34723 * login/Makefile (distribute): Remove variable.
34724 * catgets/Makefile: Likewise.
34725 * mach/Makefile: Likewise.
34726 * malloc/Makefile: Likewise.
34727 * misc/Makefile: Likewise.
34728 * iconv/Makefile: Likewise.
34729 * nscd/Makefile: Likewise.
34730 * hurd/Makefile: Likewise.
34731 * manual/Makefile: Likewise.
34732 * locale/Makefile: Likewise.
34733 * intl/Makefile: Likewise.
34734 * conform/Makefile: Likewise.
34735 * nss/Makefile: Likewise.
34736 * time/Makefile: Likewise.
34737 * soft-fp/Makefile: Likewise.
34738 * dirent/Makefile: Likewise.
34739 * gmon/Makefile: Likewise.
34740 * po/Makefile: Likewise.
34741 * rt/Makefile: Likewise.
34742 * socket/Makefile: Likewise.
34743 * math/Makefile: Likewise.
34744 * signal/Makefile: Likewise.
34745 * debug/Makefile: Likewise.
34746 * elf/Makefile: Likewise.
34747 * timezone/Makefile: Likewise.
34748 * stdlib/Makefile: Likewise.
34749 * iconvdata/Makefile: Likewise.
34750 * sunrpc/Makefile: Likewise.
34751 * io/Makefile: Likewise.
34752 * argp/Makefile: Likewise.
34753 * inet/Makefile: Likewise.
34754 * hesiod/Makefile: Likewise.
34755 * grp/Makefile: Likewise.
34756 * csu/Makefile: Likewise.
34757 * wctype/Makefile: Likewise.
34758 * crypt/Makefile: Likewise.
34759 * libio/Makefile: Likewise.
34760 * string/Makefile: Likewise.
34761 * nis/Makefile: Likewise.
34762 * resolv/Makefile: Likewise.
34763 * stdio-common/Makefile: Likewise.
34764 * wcsmbs/Makefile: Likewise.
34765 * dlfcn/Makefile: Likewise.
34766 * posix/Makefile: Likewise.
34769 * timezone/Makefile: Don't install timezone files, just the programs
34772 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34774 * nss/databases.def: Add missing gshadow entry.
34776 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34778 2012-03-06 Marek Polacek <polacek@redhat.com>
34781 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34782 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34783 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34784 * stdio-common/tst-long-dbl-fphex.c: New file.
34786 2012-03-06 David S. Miller <davem@davemloft.net>
34788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34789 (set_obp_int): New function.
34790 (get_obp_int): New function.
34791 (__get_clockfreq_via_dev_openprom): Likewise.
34792 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34793 Avoid unused variable warnings on 'val' and use builtin_expect.
34794 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34796 (INLINE_CLONE_SYSCALL): Likewise.
34798 2012-03-05 David S. Miller <davem@davemloft.net>
34800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34802 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34807 only for |x| >= 40.
34808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34810 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34813 Replace gettimeofday with __vdso_gettimeofday.
34815 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34816 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34817 __vdso_clock_gettime and __vdso_getcpu.
34819 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34820 time with __vdso_time.
34822 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34824 * manual/lang.texi (size_t): Note types to which size_t may be
34825 equivalent with the GNU C Library, but do not describe when
34826 differences between them are significant.
34828 2012-03-05 Andreas Jaeger <aj@suse.de>
34830 * sysdeps/i386/fpu/libm-test-ulps: Update.
34832 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34835 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34836 (__ieee754_pow): Save and restore rounding mode and use
34837 round-to-nearest for main computations.
34838 * math/libm-test.inc (pow_test_tonearest): New function.
34839 (pow_test_towardzero): Likewise.
34840 (pow_test_downward): Likewise.
34841 (pow_test_upward): Likewise.
34842 (main): Call the new functions.
34843 * sysdeps/i386/fpu/libm-test-ulps: Update.
34844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34847 * math/libm-test.inc (cosh_test_tonearest): New function.
34848 (cosh_test_towardzero): Likewise.
34849 (cosh_test_downward): Likewise.
34850 (cosh_test_upward): Likewise.
34851 (sinh_test_tonearest): Likewise.
34852 (sinh_test_towardzero): Likewise.
34853 (sinh_test_downward): Likewise.
34854 (sinh_test_upward): Likewise.
34855 (main): Call the new functions.
34856 * sysdeps/i386/fpu/libm-test-ulps: Update.
34857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34859 2012-03-05 Tom de Vries <tom@codesourcery.com>
34861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34862 default stack guard is set in last bytes.
34863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34865 2012-03-05 Kees Cook <keescook@chromium.org>
34867 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34870 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34871 possibly allocate from heap instead of stack.
34872 * stdio-common/bug-vfprintf-nargs.c: New file.
34873 * stdio-common/Makefile (tests): Add nargs overflow test.
34875 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34879 2012-03-03 Marek Polacek <polacek@redhat.com>
34881 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34882 * math/math_private.h: Likewise.
34883 * stdlib/tst-strtod.c: Likewise.
34884 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34885 * sysdeps/x86_64/bits/atomic.h: Likewise.
34887 2012-03-02 David S. Miller <davem@davemloft.net>
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34893 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34894 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34895 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34896 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34898 2012-03-02 Roland McGrath <roland@hack.frob.com>
34901 * manual/examples/README: New file, says the example source files
34902 can be used under GPL>=2.
34903 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34904 line containing just "*/".
34905 * manual/examples/add.c: Add copyright header (GPL>=2).
34906 * manual/examples/argp-ex1.c: Likewise.
34907 * manual/examples/argp-ex2.c: Likewise.
34908 * manual/examples/argp-ex3.c: Likewise.
34909 * manual/examples/argp-ex4.c: Likewise.
34910 * manual/examples/atexit.c: Likewise.
34911 * manual/examples/db.c: Likewise.
34912 * manual/examples/dir.c: Likewise.
34913 * manual/examples/dir2.c: Likewise.
34914 * manual/examples/execinfo.c: Likewise.
34915 * manual/examples/filecli.c: Likewise.
34916 * manual/examples/filesrv.c: Likewise.
34917 * manual/examples/fmtmsgexpl.c: Likewise.
34918 * manual/examples/genpass.c: Likewise.
34919 * manual/examples/inetcli.c: Likewise.
34920 * manual/examples/inetsrv.c: Likewise.
34921 * manual/examples/isockad.c: Likewise.
34922 * manual/examples/longopt.c: Likewise.
34923 * manual/examples/memopen.c: Likewise.
34924 * manual/examples/memstrm.c: Likewise.
34925 * manual/examples/mkfsock.c: Likewise.
34926 * manual/examples/mkisock.c: Likewise.
34927 * manual/examples/mygetpass.c: Likewise.
34928 * manual/examples/pipe.c: Likewise.
34929 * manual/examples/popen.c: Likewise.
34930 * manual/examples/rprintf.c: Likewise.
34931 * manual/examples/search.c: Likewise.
34932 * manual/examples/select.c: Likewise.
34933 * manual/examples/setjmp.c: Likewise.
34934 * manual/examples/sigh1.c: Likewise.
34935 * manual/examples/sigusr.c: Likewise.
34936 * manual/examples/stpcpy.c: Likewise.
34937 * manual/examples/strdupa.c: Likewise.
34938 * manual/examples/strftim.c: Likewise.
34939 * manual/examples/strncat.c: Likewise.
34940 * manual/examples/subopt.c: Likewise.
34941 * manual/examples/swapcontext.c: Likewise.
34942 * manual/examples/termios.c: Likewise.
34943 * manual/examples/testopt.c: Likewise.
34944 * manual/examples/testpass.c: Likewise.
34945 * manual/examples/timeval_subtract.c: Likewise.
34948 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34950 * manual/timeval_subtract.c.texi: ... here, new file.
34952 2012-03-02 David S. Miller <davem@davemloft.net>
34954 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34956 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34959 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34960 (__sin): Save and restore rounding mode and use round-to-nearest
34961 for all computations.
34962 (__cos): Save and restore rounding mode and use round-to-nearest
34963 for all computations.
34964 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34966 (tan): Save and restore rounding mode and use round-to-nearest for
34968 * math/libm-test.inc (cos_test_tonearest): New function.
34969 (cos_test_towardzero): Likewise.
34970 (cos_test_downward): Likewise.
34971 (cos_test_upward): Likewise.
34972 (sin_test_tonearest): Likewise.
34973 (sin_test_towardzero): Likewise.
34974 (sin_test_downward): Likewise.
34975 (sin_test_upward): Likewise.
34976 (tan_test_tonearest): Likewise.
34977 (tan_test_towardzero): Likewise.
34978 (tan_test_downward): Likewise.
34979 (tan_test_upward): Likewise.
34980 (main): Call the new functions.
34981 * sysdeps/i386/fpu/libm-test-ulps: Update.
34982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34985 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34986 small n, then large n, before computing and testing k+n.
34987 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34992 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34993 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34994 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34995 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34996 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34997 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34998 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34999 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35000 * math/libm-test.inc (scalbn_test): Add more tests.
35001 (scalbln_test): Likewise.
35003 * manual/filesys.texi (mode_t): Describe constraints on size and
35004 signedness, not exact equivalence to a particular type.
35006 (ino64_t): Likewise.
35008 (nlink_t): Likewise.
35009 (blkcnt_t): Likewise.
35010 (blkcnt64_t): Likewise.
35011 * manual/llio.texi (off_t): Likewise.
35014 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35015 (__ieee754_exp): Save and restore rounding mode and use
35016 round-to-nearest for all computations.
35017 * math/libm-test.inc (exp_test_tonearest): New function.
35018 (exp_test_towardzero): Likewise.
35019 (exp_test_downward): Likewise.
35020 (exp_test_upward): Likewise.
35021 (main): Call the new functions.
35022 * sysdeps/i386/fpu/libm-test-ulps: Update.
35023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025 2012-03-01 Chris Demetriou <cgd@google.com>
35027 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35028 have predictable order.
35030 2012-03-01 David S. Miller <davem@davemloft.net>
35032 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35034 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35035 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35036 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35037 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35039 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35040 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35041 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35043 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35044 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35045 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35046 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35047 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35052 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35055 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35056 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35057 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35058 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35059 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35060 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35062 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35063 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35069 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35071 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35072 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35073 * sysdeps/sparc/elf/configure: Regenerated.
35075 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35077 * configure.in (AS, LD): Require binutils 2.20 or later.
35078 * configure: Regenerated.
35079 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35080 as required minimum version.
35081 * INSTALL: Regenerated.
35085 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35086 before squaring exponent.
35087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35088 bottom long double and 27 bits of top long double before squaring
35090 * math/libm-test.inc (erfc_test): Add more tests.
35091 * sysdeps/i386/fpu/libm-test-ulps: Update.
35092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35095 2012-03-01 Kai Tietz <ktietz@redhat.com>
35097 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35098 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35099 containing bit-fields.
35100 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35101 * soft-fp/single.h (_FP_UNION_S): Likewise.
35102 * soft-fp/double.h (_FP_UNION_D): Likewise.
35104 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35107 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35108 not include ../strcmp.S.
35109 [USE_AS_STRNCASECMP_L]: Likewise.
35110 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35111 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35112 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35113 (__strncasecmp_l_ia32): Define as alias to
35114 __strncasecmp_l_nonascii.
35117 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35118 * sysdeps/i386/fpu/libm-test-ulps: Update.
35119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35121 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35124 2012-02-29 Jeff Law <law@redhat.com>
35126 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35127 out of bounds read.
35129 2012-02-29 Marek Polacek <polacek@redhat.com>
35132 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35133 * elf/Makefile: Add rules to run tst-unused-dep.out.
35135 2012-02-28 David S. Miller <davem@davemloft.net>
35137 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35138 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35141 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35142 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35144 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35146 * math/libm-test.inc (llround_test): Move one test from
35147 lround_test. Use TEST_f_L in moved test.
35148 (lround_test): Move misplaced test to llround_test. Add testcase
35151 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35153 * sysdeps/x86_64/fpu/e_expf.S: New file.
35154 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35156 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35159 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35160 of remain_len that may cause incomplete multi-byte character and
35162 * posix/bug-regex33.c: New file.
35163 * posix/Makefile (tests): Add bug-regex33.
35165 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35167 * manual/macros.texi: New file.
35168 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35169 * manual/libc.texinfo: Include macros.texi.
35170 * manual/creatute.texi: Likewise.
35171 * manual/install.texi: Likewise.
35172 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35173 @glibcadj{} in references to the GNU C Library.
35174 * manual/charset.texi: Likewise.
35175 * manual/conf.texi: Likewise.
35176 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35177 when not using those macros.
35178 * manual/creature.texi: Likewise.
35179 * manual/crypt.texi: Likewise.
35180 * manual/errno.texi: Likewise.
35181 * manual/filesys.texi: Likewise.
35182 * manual/header.texi: Likewise.
35183 * manual/install.texi: Likewise.
35184 * manual/intro.texi: Likewise.
35185 * manual/io.texi: Likewise.
35186 * manual/job.texi: Likewise.
35187 * manual/lang.texi: Likewise.
35188 * manual/libc.texiinfo: Likewise.
35189 * manual/llio.texi: Likewise.
35190 * manual/locale.texi: Likewise.
35191 * manual/maint.texi: Likewise.
35192 * manual/math.texi: Likewise.
35193 * manual/memory.texi: Likewise.
35194 * manual/message.texi: Likewise.
35195 * manual/nss.texi: Likewise.
35196 * manual/pattern.texi: Likewise.
35197 * manual/process.texi: Likewise.
35198 * manual/resource.texi: Likewise.
35199 * manual/search.texi: Likewise.
35200 * manual/setjmp.texi: Likewise.
35201 * manual/signal.texi: Likewise.
35202 * manual/socket.texi: Likewise.
35203 * manual/startup.texi: Likewise.
35204 * manual/stdio.texi: Likewise.
35205 * manual/string.texi: Likewise.
35206 * manual/sysinfo.texi: Likewise.
35207 * manual/syslog.texi: Likewise.
35208 * manual/terminal.texi: Likewise.
35209 * manual/time.texi: Likewise.
35210 * manual/users.texi: Likewise.
35211 * INSTALL: Regenerated.
35212 * NOTES: Regenerated.
35213 * sysdeps/gnu/errlist.c: Regenerated.
35215 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35217 * include/dirent.h: Include <dirstream.h> before
35220 2012-02-28 David S. Miller <davem@davemloft.net>
35222 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35223 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35224 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35225 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35227 2012-02-27 David S. Miller <davem@davemloft.net>
35229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35231 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35232 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35235 frame pointer instead of stack pointer relative arg slot.
35236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35240 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35243 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35245 2012-02-27 David S. Miller <davem@davemloft.net>
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35253 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35254 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35256 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35258 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35259 later. Allow versions 5-9.
35260 * configure: Regenerated.
35261 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35262 required minimum version and 4.6 as recommended version. Do not
35263 mention bugs in GCC 2.7 and 2.8.
35264 * INSTALL: Regenerated.
35266 2012-02-27 David S. Miller <davem@davemloft.net>
35268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35272 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35273 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35274 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35275 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35278 manipulate bits before adding and subtracting TWO112[sx].
35279 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35281 2012-02-27 Roland McGrath <roland@hack.frob.com>
35284 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35285 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35286 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35287 being in POSIX, because they are in 1003.1-2008.
35289 * rt/tst-aio.c: Include <fcntl.h>.
35290 * rt/tst-aio7.c: Likewise.
35291 * rt/tst-aio64.c: Likewise.
35293 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35295 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35297 * manual/install.texi (--with-headers): Describe headers as
35298 interface headers, not private headers.
35299 (Specific advice for GNU/Linux systems): Describe use of headers
35300 from "make headers_install", not private headers from older
35302 * INSTALL: Regenerated.
35303 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35305 * sysdeps/unix/sysv/linux/configure: Regenerated.
35307 * manual/llio.texi (fclean): Remove documentation.
35309 * manual/Makefile (libc-texi-generated): New variable. Include
35311 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35312 $(libc-texi-generated), not duplicated list of files.
35313 (version.texi, stamp-version): New rules.
35314 (realclean): Remove $(libc-texi-generated), not individual files
35315 from that list. Do not remove dir-add.texinfo.
35316 * manual/libc.texinfo: Comment out uses of edition numbers and
35317 references to printed manual. Remove last-updated dates.
35318 (EDITION): Comment out.
35320 (VERSION, UPDATED): Remove.
35321 (version.texi): Include.
35323 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35325 * sysdeps/posix/spawni.c: Include <signal.h>.
35326 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35327 * sysdeps/pthread/aio_fsync.c: Likewise.
35329 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35331 * conform/Makefile (tests): Run only when not cross-compiling and
35332 when fast-check is not defined.
35334 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35335 * conform/data/limits.h-data: Fixes for POSIX2008.
35336 * conform/run-conformtest.sh: Run all tests.
35337 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35339 * include/bits/dlfcn.h: Likewise.
35340 * include/langinfo.h: Likewise.
35341 * include/monetary.h: Likewise.
35342 * include/sys/poll.h: Likewise.
35344 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35346 * posix/spawn.h: Define __need_sigset_t.
35347 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35348 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35349 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35350 to get sigevent_t only.
35351 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35352 only for __USE_GNU.
35353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35354 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35355 process_vm_writev only for __USE_GNU.
35356 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35358 * conform/Makefile: For now ignore errors from run-conformtest.
35359 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35360 POSIX to avoid namespace pollution. Don't prepend headers.
35361 * conform/data/aio.h-data: Fixes for POSIX testing.
35362 * conform/data/fcntl.h-data: Likewise.
35363 * conform/data/glob.h-data: Likewise.
35364 * conform/data/grp.h-data: Likewise.
35365 * conform/data/pthread.h-data: Likewise.
35366 * conform/data/pwd.h-data: Likewise.
35367 * conform/data/signal.h-data: Likewise.
35368 * conform/data/spawn.h-data: Likewise.
35369 * conform/data/stdio.h-data: Likewise.
35370 * conform/data/stdlib.h-data: Likewise.
35371 * conform/data/stropts.h-data: Likewise.
35372 * conform/data/sys/mman.h-data: Likewise.
35373 * conform/data/sys/stat.h-data: Likewise.
35374 * conform/data/sys/types.h-data: Likewise.
35375 * conform/data/sys/wait.h-data: Likewise.
35376 * conform/data/time.h-data: Likewise.
35377 * conform/data/unistd.h-data: Likewise.
35378 * conform/data/utime.h-data: Likewise.
35380 * io/sys/stat.h: fchmod was always in POSIX.
35381 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35382 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35383 * rt/aio.h: Define __need_timespec before including <time.h>.
35384 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35385 struct. Add forward declaration of pthread_attr_t and use it in
35387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35389 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35390 always remove CLK_TCK definition.
35392 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35394 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35396 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35398 * conform/run-conformtest.sh: New file.
35399 * conform/Makefile: Run run-conformtest for tests.
35400 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35403 * conform/data/uchar.h-data: New file.
35404 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35405 * conform/data/arpa/inet.h-data: Likewise.
35406 * conform/data/assert.h-data: Likewise.
35407 * conform/data/complex.h-data: Likewise.
35408 * conform/data/cpio.h-data: Likewise.
35409 * conform/data/ctype.h-data: Likewise.
35410 * conform/data/dirent.h-data: Likewise.
35411 * conform/data/dlfcn.h-data: Likewise.
35412 * conform/data/errno.h-data: Likewise.
35413 * conform/data/fcntl.h-data: Likewise.
35414 * conform/data/float.h-data: Likewise.
35415 * conform/data/fmtmsg.h-data: Likewise.
35416 * conform/data/fnmatch.h-data: Likewise.
35417 * conform/data/ftw.h-data: Likewise.
35418 * conform/data/glob.h-data: Likewise.
35419 * conform/data/grp.h-data: Likewise.
35420 * conform/data/iconv.h-data: Likewise.
35421 * conform/data/inttypes.h-data: Likewise.
35422 * conform/data/langinfo.h-data: Likewise.
35423 * conform/data/libgen.h-data: Likewise.
35424 * conform/data/limits.h-data: Likewise.
35425 * conform/data/locale.h-data: Likewise.
35426 * conform/data/math.h-data: Likewise.
35427 * conform/data/monetary.h-data: Likewise.
35428 * conform/data/mqueue.h-data: Likewise.
35429 * conform/data/ndbm.h-data: Likewise.
35430 * conform/data/net/if.h-data: Likewise.
35431 * conform/data/netdb.h-data: Likewise.
35432 * conform/data/netinet/in.h-data: Likewise.
35433 * conform/data/nl_types.h-data: Likewise.
35434 * conform/data/poll.h-data: Likewise.
35435 * conform/data/pthread.h-data: Likewise.
35436 * conform/data/pwd.h-data: Likewise.
35437 * conform/data/regex.h-data: Likewise.
35438 * conform/data/sched.h-data: Likewise.
35439 * conform/data/search.h-data: Likewise.
35440 * conform/data/semaphore.h-data: Likewise.
35441 * conform/data/setjmp.h-data: Likewise.
35442 * conform/data/signal.h-data: Likewise.
35443 * conform/data/spawn.h-data: Likewise.
35444 * conform/data/stdarg.h-data: Likewise.
35445 * conform/data/stdio.h-data: Likewise.
35446 * conform/data/stdlib.h-data: Likewise.
35447 * conform/data/string.h-data: Likewise.
35448 * conform/data/strings.h-data: Likewise.
35449 * conform/data/stropts.h-data: Likewise.
35450 * conform/data/sys/ipc.h-data: Likewise.
35451 * conform/data/sys/mman.h-data: Likewise.
35452 * conform/data/sys/msg.h-data: Likewise.
35453 * conform/data/sys/resource.h-data: Likewise.
35454 * conform/data/sys/select.h-data: Likewise.
35455 * conform/data/sys/sem.h-data: Likewise.
35456 * conform/data/sys/shm.h-data: Likewise.
35457 * conform/data/sys/socket.h-data: Likewise.
35458 * conform/data/sys/stat.h-data: Likewise.
35459 * conform/data/sys/statvfs.h-data: Likewise.
35460 * conform/data/sys/time.h-data: Likewise.
35461 * conform/data/sys/timeb.h-data: Likewise.
35462 * conform/data/sys/times.h-data: Likewise.
35463 * conform/data/sys/types.h-data: Likewise.
35464 * conform/data/sys/uio.h-data: Likewise.
35465 * conform/data/sys/un.h-data: Likewise.
35466 * conform/data/sys/utsname.h-data: Likewise.
35467 * conform/data/sys/wait.h-data: Likewise.
35468 * conform/data/syslog.h-data: Likewise.
35469 * conform/data/tar.h-data: Likewise.
35470 * conform/data/termios.h-data: Likewise.
35471 * conform/data/utime.h-data: Likewise.
35472 * conform/data/utmpx.h-data: Likewise.
35473 * conform/data/varargs.h-data: Likewise.
35474 * conform/data/wchar.h-data: Likewise.
35475 * conform/data/wctype.h-data: Likewise.
35476 * conform/data/wordexp.h-data: Likewise.
35478 * include/stropts.h: New file.
35479 * include/uchar.h: New file.
35480 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35481 * include/assert.h: Likewise.
35482 * include/ctype.h: Likewise.
35483 * include/dirent.h: Likewise.
35484 * include/dlfcn.h: Likewise.
35485 * include/fcntl.h: Likewise.
35486 * include/fnmatch.h: Likewise.
35487 * include/glob.h: Likewise.
35488 * include/grp.h: Likewise.
35489 * include/libio.h: Likewise.
35490 * include/locale.h: Likewise.
35491 * include/math.h: Likewise.
35492 * include/net/if.h: Likewise.
35493 * include/netdb.h: Likewise.
35494 * include/netinet/in.h: Likewise.
35495 * include/pthread.h: Likewise.
35496 * include/pwd.h: Likewise.
35497 * include/regex.h: Likewise.
35498 * include/sched.h: Likewise.
35499 * include/search.h: Likewise.
35500 * include/setjmp.h: Likewise.
35501 * include/signal.h: Likewise.
35502 * include/stdio.h: Likewise.
35503 * include/stdlib.h: Likewise.
35504 * include/string.h: Likewise.
35505 * include/sys/cdefs.h: Likewise.
35506 * include/sys/mman.h: Likewise.
35507 * include/sys/msg.h: Likewise.
35508 * include/sys/resource.h: Likewise.
35509 * include/sys/select.h: Likewise.
35510 * include/sys/socket.h: Likewise.
35511 * include/sys/stat.h: Likewise.
35512 * include/sys/statvfs.h: Likewise.
35513 * include/sys/time.h: Likewise.
35514 * include/sys/times.h: Likewise.
35515 * include/sys/uio.h: Likewise.
35516 * include/sys/utsname.h: Likewise.
35517 * include/sys/wait.h: Likewise.
35518 * include/termios.h: Likewise.
35519 * include/time.h: Likewise.
35520 * include/ulimit.h: Likewise.
35521 * include/unistd.h: Likewise.
35522 * include/utime.h: Likewise.
35523 * include/wchar.h: Likewise.
35524 * include/wctype.h: Likewise.
35525 * include/wordexp.h: Likewise.
35527 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35529 * time/time.h: TIME_UTC must be a macro.
35530 Make timespec_get available for ISO C11 only as well.
35532 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35534 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35535 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35537 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35539 * configure.in: Use -o not -a in test for unsupported multi-arch.
35541 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35543 * manual/texinfo.tex: Update to version 2012-01-19.16.
35545 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35547 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35549 2012-02-24 Roland McGrath <roland@hack.frob.com>
35552 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35553 * manual/fdl-1.3.texi: New file.
35554 * manual/fdl-1.1.texi: File removed.
35557 * manual/libc.texinfo (FDL_VERSION): New @set.
35558 Use it for mention of FDL in cover text.
35559 (Documentation License): Use it in @include file name.
35561 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35562 Roland McGrath <roland@hack.frob.com>
35565 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35566 (not LONG_LONG_MAX and LONG_LONG_MIN.
35567 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35568 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35570 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35572 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35576 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35577 manipulate bits before adding and subtracting TWO23[sx].
35578 * math/libm-test.inc (nearbyint_test): Add more tests.
35580 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35583 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35584 bits before adding and subtracting TWO23[sx].
35585 * math/libm-test.inc (rint_test): Add more tests.
35586 (rint_test_tonearest): Likewise.
35587 (rint_test_towardzero): Likewise.
35588 (rint_test_downward): Likewise.
35589 (rint_test_upward: Likewise.
35591 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35594 * include/stdc-predef.h: New file. Extracted from features.h.
35595 * include/features.h: Include stdc-predef.h.
35596 * Makefile (headers): Add stdc-predef.h.
35597 * CONFORMANCE (Compiler limitations): Update.
35599 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35601 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35603 2012-02-21 David S. Miller <davem@davemloft.net>
35605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35606 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35608 2012-02-20 David S. Miller <davem@davemloft.net>
35610 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35611 using a normal save/restore sequence, rather than allocating a
35612 dummy stack frame just to store a frame pointer and restore.
35613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35615 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35617 * manual/install.texi: Fix stray word in line-wrapped comment.
35619 2012-02-20 David S. Miller <davem@davemloft.net>
35621 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35622 both binutils and gcc support GOTDATA.
35624 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35625 "rd %pc" in the PIC register setup sequences.
35627 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35628 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35629 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35630 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35631 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35636 (SYSCALL_ERROR_HANDLER): Likewise.
35637 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35638 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35640 (SYSCALL_ERROR_HANDLER): Likewise.
35642 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35643 (HAVE_GCC_GOTDATA): New.
35644 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35645 relocation support in both binutils and gcc.
35646 * sysdeps/sparc/elf/configure: Regenerate.
35648 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35649 * sysdeps/sparc/sparc32/elf/configure: Delete.
35650 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35651 * sysdeps/sparc/sparc64/elf/configure: Delete.
35652 * sysdeps/sparc/elf/configure.in: New file.
35653 * sysdeps/sparc/elf/configure: Generate.
35655 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35656 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35657 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35658 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35659 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35661 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35663 * manual/install.texi: Do not mention specific glibc version
35665 * manual/libc.texinfo (VERSION, UPDATED): Update.
35666 (@copying): Use @copyright{} and range of years.
35668 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35671 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35672 [crti.S not in sysdirs] (generated): Do not append.
35673 [crti.S not in sysdirs] (omit-deps): Likewise.
35674 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35675 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35676 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35677 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35678 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35680 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35681 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35682 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35683 * csu/defs.awk: Remove file.
35684 * sysdeps/generic/initfini.c: Likewise.
35685 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35687 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35690 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35692 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35693 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35694 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35699 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35700 (__EPOLL_PACKED): Define to empty if not defined by
35702 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35706 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35708 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35709 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35710 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35711 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35713 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35717 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35719 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35726 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35728 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35729 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35731 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35733 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35734 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35736 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35738 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35741 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35743 * math/w_acos.c: Use non-signaling floating-point comparisons.
35744 * math/w_acosf.c: Likewise.
35745 * math/w_acosh.c: Likewise.
35746 * math/w_acoshf.c: Likewise.
35747 * math/w_acoshl.c: Likewise.
35748 * math/w_acosl.c: Likewise.
35749 * math/w_asin.c: Likewise.
35750 * math/w_asinf.c: Likewise.
35751 * math/w_asinl.c: Likewise.
35752 * math/w_atanh.c: Likewise.
35753 * math/w_atanhf.c: Likewise.
35754 * math/w_atanhl.c: Likewise.
35755 * math/w_exp2.c: Likewise.
35756 * math/w_exp2f.c: Likewise.
35757 * math/w_exp2l.c: Likewise.
35758 * math/w_j0.c: Likewise.
35759 * math/w_j0f.c: Likewise.
35760 * math/w_j0l.c: Likewise.
35761 * math/w_j1.c: Likewise.
35762 * math/w_j1f.c: Likewise.
35763 * math/w_j1l.c: Likewise.
35764 * math/w_jn.c: Likewise.
35765 * math/w_jnf.c: Likewise.
35766 * math/w_log.c: Likewise.
35767 * math/w_log10.c: Likewise.
35768 * math/w_log10f.c: Likewise.
35769 * math/w_log10l.c: Likewise.
35770 * math/w_log2.c: Likewise.
35771 * math/w_log2f.c: Likewise.
35772 * math/w_log2l.c: Likewise.
35773 * math/w_logf.c: Likewise.
35774 * math/w_logl.c: Likewise.
35775 * math/w_sqrt.c: Likewise.
35776 * math/w_sqrtf.c: Likewise.
35777 * math/w_sqrtl.c: Likewise.
35778 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35779 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35780 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35781 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35782 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35784 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35787 * manual/string.texi (strnlen): Use correct parameter name in
35788 equivalent expression.
35790 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35793 * manual/users.texi (seteuid): Consistently use neweuid for
35796 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35799 * manual/nss.texi (Services in the NSS configuration): Correct
35800 list of services in example configuration file.
35802 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35805 * manual/arith.texi: Remove statements about negative zero
35806 behaving identically to zero.
35808 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35811 * manual/install.texi: Do not document upgrading from libc5.
35813 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35816 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35818 2012-02-18 David S. Miller <davem@davemloft.net>
35820 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35821 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35822 %o7 across the call.
35823 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35826 SETUP_PIC_REG_LEAF.
35827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35828 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35829 * sysdeps/sparc/crtn.S: Likewise.
35831 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35833 * aout/Makefile: Remove.
35835 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35838 * manual/examples/argp-ex1.c (main): Format definition in GNU
35840 * manual/examples/argp-ex2.c (main): Likewise.
35841 * manual/examples/argp-ex3.c (main): Likewise.
35842 * manual/examples/argp-ex4.c (main): Likewise.
35843 * manual/examples/longopt.c (main): Use new-style prototype
35845 * manual/examples/strncat.c (main): Specify return type and use
35846 (void) for arguments.
35847 * manual/examples/subopt.c (main): Use char **argv argument.
35849 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35852 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35855 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35858 * manual/string.texi (strchr): Change when strchrnul is
35861 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35864 * manual/locale.texi (setlocale): Document LOCPATH.
35866 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35869 * manual/process.texi (execle): Move @dots{} before last argument.
35871 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35874 * manual/charset.texi (Generic Charset Conversion): Fix typo
35875 (LC_TYPE -> LC_CTYPE).
35877 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35880 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35881 (scalbnf): Likewise.
35882 (scalbnl): Likewise.
35883 (scalbln): Likewise.
35884 (scalblnf): Likewise.
35885 (scalblnl): Likewise.
35886 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35887 (vwarnx): Likewise.
35890 * manual/filesys.texi (telldir): Use braces around return type.
35891 * manual/llio.texi (mmap): Add space after comma.
35892 (mmap64): Likewise.
35893 * manual/math.texi (jn): Use @var{} on parameter names.
35899 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35901 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35903 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35904 (sched_get_priority_max): Likewise.
35905 * manual/signal.texi (sigvec): Add space after comma.
35906 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35908 (if_indextoname): Likewise.
35909 (if_freenameindex): Likewise.
35910 (sendto): Use ',' instead of '.' in prototype.
35911 * manual/startup.texi (syscall): Use @dots{} instead of literal
35913 * manual/stdio.texi (__fpending): Separate initial words of
35914 paragraph from @deftypefun line.
35915 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35917 (vsyslog): Use @var{} on parameter names.
35918 * manual/terminal.texi (stty): Use @var{} on parameter names.
35919 * manual/users.texi (getutmp): Use @var{} on parameter names.
35920 (getutmpx): Likewise.
35922 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35925 * manual/stdio.texi (fopen): Fix typos in description of
35928 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35931 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35932 get clock_id definition.
35934 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35937 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35938 (madvise): Cast every argument to void on its own.
35940 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35943 * manual/startup.texi (Exit Status): Fix typo.
35945 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35948 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35949 * manual/examples/argp-ex2.c: Likewise.
35950 * manual/examples/argp-ex3.c: Likewise.
35952 2012-02-16 Richard Henderson <rth@redhat.com>
35954 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35955 * sysdeps/s390/s390-32/initfini.c: Remove.
35956 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35957 * sysdeps/s390/s390-64/initfini.c: Remove.
35959 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35961 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35962 compiler output for sysdeps/generic/initfini.c.
35963 * sysdeps/sh/elf/initfini.c: Remove file.
35965 2012-02-16 David S. Miller <davem@davemloft.net>
35968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35970 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35971 * sysdeps/sparc/crti.S: New file.
35972 * sysdeps/sparc/crtn.S: New file.
35973 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35974 * sysdeps/sparc/sparc64/Makefile: Likewise.
35976 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35979 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35981 2012-02-15 Roland McGrath <roland@hack.frob.com>
35984 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35986 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35987 (write, read, close): Likewise.
35988 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35990 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35992 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35993 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35994 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35995 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35997 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36001 2012-02-14 Marek Polacek <polacek@redhat.com>
36003 * sysdeps/x86_64/crti.S: New file.
36004 * sysdeps/x86_64/crtn.S: New file.
36005 * sysdeps/x86_64/elf/initfini.c: Remove file.
36007 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36009 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36010 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36011 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36012 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36014 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36018 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36020 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36021 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36022 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36023 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36025 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36029 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36031 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36032 __feraiseexcept instead of feraiseexcept.
36034 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36035 nanosleep invocations.
36036 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36037 strings, and add error checking for a nanosleep invocations.
36039 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36041 Replace FSF snail mail address with URLs, as per GNU coding standards.
36042 Most of the snail mail addresses were wrong anyway, and omitting
36043 them makes the source code easier to maintain. Almost all of the
36044 changes are to license notices and to locale LC_IDENTIFICATION
36045 addresses, except for this one:
36046 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36047 not its snail mail address.
36049 2012-02-09 Richard Henderson <rth@twiddle.net>
36051 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36052 of kernel-features.h.
36054 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36056 2012-02-08 Marek Polacek <polacek@redhat.com>
36058 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36059 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36060 * sysdeps/gnu/_G_config.h: Likewise.
36061 * sysdeps/generic/_G_config.h: Likewise.
36063 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36065 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36069 * sysdeps/powerpc/powerpc32/crti.S: New file.
36070 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36071 * sysdeps/powerpc/powerpc64/crti.S: New file.
36072 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36074 * Makeconfig (have-initfini): Don't set.
36075 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36076 * configure.in (nopic_initfini): Don't substitute.
36077 * config.h.in (HAVE_INITFINI): Don't #undef.
36078 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36079 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36081 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36083 Support crti.S and crtn.S provided directly by architectures.
36084 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36085 [crti.S in sysdirs] (omit-deps): Likewise.
36086 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36087 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36088 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36089 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36090 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36091 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36092 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36093 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36094 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36095 compiler output for sysdeps/generic/initfini.c.
36096 * sysdeps/i386/elf/Makefile: Remove file.
36097 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36099 2012-02-07 Marek Polacek <polacek@redhat.com>
36101 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36102 * sysdeps/gnu/_G_config.h: Likewise.
36103 * sysdeps/mach/hurd/_G_config.h: Likewise.
36105 2012-02-07 Marek Polacek <polacek@redhat.com>
36107 * math/Makefile (tests): Add tst-CMPLX2.
36108 * math/tst-CMPLX2.c: New file.
36110 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36114 * math/libm-test.inc (jn_test): Add missing L suffix.
36116 2012-02-06 Marek Polacek <polacek@redhat.com>
36118 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36119 * sysdeps/i386/fpu/e_powf.S: Likewise.
36120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36121 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36122 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36123 * sysdeps/i386/fpu/e_pow.S: Likewise.
36124 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36126 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36127 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36128 * sysdeps/i386/fpu/e_log2.S: Likewise.
36129 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36130 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36131 * sysdeps/i386/fpu/e_powl.S: Likewise.
36132 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36133 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36134 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36135 * sysdeps/i386/fpu/e_logl.S: Likewise.
36136 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36137 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36138 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36139 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36140 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36141 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36142 * sysdeps/i386/fpu/e_log.S: Likewise.
36143 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36144 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36145 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36146 * sysdeps/i386/fpu/e_logf.S: Likewise.
36147 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36148 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36149 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36150 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36151 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36152 * sysdeps/i386/fpu/e_log10.S: Likewise.
36153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36158 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36159 * sysdeps/i386/asm-syntax.h: Likewise.
36160 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36162 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36163 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36164 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36165 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36166 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36167 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36168 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36169 * sysdeps/powerpc/sysdep.h: Likewise.
36170 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36171 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36173 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36176 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36178 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36180 * sysdeps/i386/sysdep.h: Include <features.h>.
36181 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36184 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36186 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36188 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36191 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36193 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36194 (SETUP_PIC_REG): Use GET_PC_THUNK.
36195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36198 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36200 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36201 for non-PIC compilation.
36202 (SETUP_PIC_REG): Add .p2align directive.
36203 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36204 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36205 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36206 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36207 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36208 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36209 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36218 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36219 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36220 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36221 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36222 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36233 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36235 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36236 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36237 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36240 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36241 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36242 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36243 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36245 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36247 * math/tst-CMPLX.c: Include <stdio.h>.
36249 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36251 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36253 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36254 * sysdeps/sparc/bits/mathdef.h: Likewise.
36256 2012-01-31 Marek Polacek <polacek@redhat.com>
36258 * libio/libio.h: Don't define _PARAMS.
36259 * locale/programs/config.h: Don't define PARAMS.
36260 * stdlib/strtol_l.c: Likewise.
36261 (__strtol_l): Remove PARAMS from the prototype.
36263 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36265 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36266 names. Just use the correct names. Remove unnecessary wrapper
36268 * malloc/arena.c: Likewise.
36269 * malloc/hooks.c: Likewise.
36271 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36272 ARENA_TEST says not to. Simplify test for creation of a new arena.
36273 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36275 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36277 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36279 (update_get_addr): New function.
36280 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36281 GET_ADDR_MODULE parameter.
36283 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36285 * crypt/cert.c: Remove __STDC__ conditionals.
36286 * crypt/crypt-entry.c: Likewise.
36287 * crypt/crypt_util.c: Likewise.
36288 * libio/filedoalloc.c: Likewise.
36289 * libio/fileops.c: Likewise.
36290 * libio/genops.c: Likewise.
36291 * libio/iofclose.c: Likewise.
36292 * libio/iofdopen.c: Likewise.
36293 * libio/iofopen.c: Likewise.
36294 * libio/iofopen64.c: Likewise.
36295 * libio/iogetdelim.c: Likewise.
36296 * libio/iopopen.c: Likewise.
36297 * libio/obprintf.c: Likewise.
36298 * libio/oldfileops.c: Likewise.
36299 * libio/oldiofclose.c: Likewise.
36300 * libio/oldiofdopen.c: Likewise.
36301 * libio/oldiofopen.c: Likewise.
36302 * libio/oldiopopen.c: Likewise.
36303 * libio/wfiledoalloc.c: Likewise.
36304 * libio/wgenops.c: Likewise.
36305 * locale/programs/xmalloc.c: Likewise.
36306 * misc/syslog.c: Likewise.
36307 * stdio-common/xbug.c: Likewise.
36308 * string/memchr.c: Likewise.
36309 * string/memcmp.c: Likewise.
36310 * string/memrchr.c: Likewise.
36311 * string/rawmemchr.c: Likewise.
36312 * sysdeps/posix/getcwd.c: Likewise.
36313 * time/strftime_l.c: Likewise.
36315 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36317 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36318 * config.make.in (config-cflags-sse2avx): Define.
36319 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36322 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36324 * scripts/config.guess: Update from upstream config git repository.
36325 * scripts/config.sub: Likewise.
36327 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36329 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36331 (R_TILEPRO_*, R_TILEGX_*): New macros.
36333 * scripts/firstversions.awk: Fix bug in version range handling.
36335 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36337 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36339 * include/sys/epoll.h: New file.
36340 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36343 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36345 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36346 Avoid unnecessary __WORDSIZE == 64 test.
36347 (fmaxf): Use VEX format if possible.
36352 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36353 * math/math_private.h: Remove libc_fegetround* and
36355 * sysdeps/i386/configure.in: Check for -msse2avx.
36356 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36357 also if SSE2AVX is defined.
36358 Remove libc_fegetround* and libc_fesetround*.
36359 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36360 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36369 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36371 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36373 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36375 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36377 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36380 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36382 * Makeconfig (libm): Define.
36383 * elf/Makefile: Add rules to build and run tst-relsort1.
36384 * elf/tst-relsort1.c: New file.
36385 * elf/tst-relsort1mod1.c: New file.
36386 * elf/tst-relsort1mod2.c: New file.
36388 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36390 * math/s_ldexp.c: Remove __STDC__ conditionals.
36391 * math/s_ldexpf.c: Likewise.
36392 * math/s_ldexpl.c: Likewise.
36393 * math/s_nextafter.c: Likewise.
36394 * math/s_nexttowardf.c: Likewise.
36395 * math/s_significand.c: Likewise.
36396 * math/s_significandf.c: Likewise.
36397 * math/s_significandl.c: Likewise.
36398 * math/w_jnl.c: Likewise.
36399 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36400 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36401 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36402 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36403 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36405 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36418 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36419 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36420 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36427 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36428 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36429 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36430 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36431 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36432 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36433 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36434 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36435 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36436 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36437 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36438 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36439 * sysdeps/ieee754/k_standard.c: Likewise.
36440 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36442 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36443 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36444 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36445 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36446 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36447 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36448 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36449 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36450 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36453 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36454 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36459 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36462 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36464 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36465 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36469 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36471 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36472 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36473 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36475 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36476 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36477 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36478 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36479 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36480 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36482 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36483 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36484 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36485 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36486 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36487 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36488 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36489 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36490 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36491 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36492 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36493 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36494 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36495 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36496 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36499 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36500 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36501 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36502 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36503 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36504 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36506 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36510 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36516 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36517 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36518 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36519 * sysdeps/ieee754/s_matherr.c: Likewise.
36520 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36521 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36522 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36525 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36527 * crypt/md5.h: Remove __STDC__ conditionals.
36528 * libio/libioP.h: Likewise.
36529 * locale/programs/config.h: Likewise.
36530 * sysdeps/generic/sysdep.h: Likewise.
36531 * sysdeps/i386/asm-syntax.h: Likewise.
36532 * sysdeps/s390/asm-syntax.h: Likewise.
36533 * sysdeps/unix/sysdep.h: Likewise.
36534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36537 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36539 * libio/libio.h: Remove __STDC__ conditionals.
36540 * malloc/obstack.h: Likewise.
36541 * math/complex.h: Likewise.
36542 * math/math.h: Likewise.
36543 * sysdeps/generic/_G_config.h: Likewise.
36544 * sysdeps/gnu/_G_config.h: Likewise.
36545 * sysdeps/mach/hurd/_G_config.h: Likewise.
36546 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36547 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36548 * sysdeps/sparc/bits/mathdef.h: Likewise.
36550 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36553 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36554 Clean up HAS_* macros.
36555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36556 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36558 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36560 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36561 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36563 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36566 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36568 * elf/tst-unique3.cc (gets): Remove declaration.
36569 * elf/tst-unique3lib.cc (gets): Likewise.
36570 * elf/tst-unique3lib2.cc (gets): Likewise.
36571 * elf/tst-unique4.cc (gets): Likewise.
36573 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36575 * include/stdio.h: Add C++ protection. Add gets declarations and
36577 * debug/tst-chk1.c: Don't declare gets here.
36578 * stdio-common/tst-gets.c: Likewise.
36580 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36582 * posix/glob: Remove directory.
36584 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36586 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36588 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36590 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36591 of the non-standard EPFNOSUPPORT.
36593 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36595 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36596 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36597 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36599 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36601 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36603 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36605 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36607 * nscd/grpcache.c (cache_addgr): Likewise.
36608 * nscd/hstcache.c (cache_addhst): Likewise.
36609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36610 * nscd/pwdcache.c (cache_addpw): Likewise.
36611 * nscd/servicescache.c (cache_addserv): Likewise.
36613 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36615 * malloc/malloc.c: Various cleanups.
36616 * malloc/hooks.c: Likewise.
36618 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36619 * stdlib/bug-fmtmsg1.c: New file.
36621 * stdlib/fmtmsg.c (init): Add missing unlock.
36622 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36624 2012-01-12 Marek Polacek <polacek@redhat.com>
36626 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36629 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36631 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36632 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36633 macro to ensure uniqueness of label name.
36634 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36635 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36637 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36639 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36641 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36642 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36646 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36648 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36650 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36651 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36652 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36654 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36656 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36657 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36661 * math/bits/math-finite.h: Add ldexp support.
36663 2012-01-10 Marek Polacek <polacek@redhat.com>
36665 * locale/programs/localedef.h (show_archive_content): Add noreturn
36668 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36670 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36672 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36674 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36676 * io/Makefile (headers): Add bits/poll2.h.
36678 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36681 typo #include statement.
36683 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36685 * include/sys/cdefs.h: Define __attribute_alloc_size.
36686 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36687 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36688 * elf/pldd.c: Likewise.
36689 * iconv/iconv_charmap.c: Likewise.
36690 * iconv/iconvconfig.c: Likewise.
36691 * iconv/strtab.c: Likewise.
36692 * locale/programs/locale.c: Likewise.
36693 * locale/programs/localedef.h: Likewise.
36694 * locale/programs/simple-hash.c: Likewise.
36695 * nscd/nscd.h: Likewise.
36696 * nss/makedb.c: Likewise.
36697 * sysdeps/generic/ldconfig.h: Likewise.
36698 * locale/programs/localedef.c: Remove xmalloc prototype.
36699 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36701 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36706 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36708 * math/Makefile (tests): Add tst-CMPLX.
36709 * math/tst-CMPLX.c: New file.
36711 * math/complex.h (CMPLXL): Fix typo.
36713 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36714 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36716 * debug/tst-chk1.c: Add poll and ppoll tests.
36717 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36718 * include/sys/poll.h: Add hidden proto for ppoll.
36719 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36720 * sysdeps/mach/hurd/ppoll.c: Likewise.
36721 * io/ppoll.c: Likewise.
36722 * debug/poll_chk.c: New file.
36723 * debug/ppoll_chk.c: New file.
36724 * include/bits/poll2.h: New file.
36725 * io/bits/poll2.h: New file.
36728 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36730 * configure.in: static is always set to yes. Remove.
36731 * config.make.in: Don't set build-static.
36732 * Makeconfig: Remove use of build-static.
36733 * dlfcn/Makefile: Likewise.
36734 * elf/Makefile: Likewise.
36735 * math/Makefile: Likewise.
36736 * misc/Makefile: Likewise.
36737 * nptl/Makefile: Likewise.
36738 * sysdeps/mach/hurd/Makefile: Likewise.
36740 * configure.in: PWD_P is not used anymore.
36741 * config.make.in: Remove PWD_P entry.
36743 * configure.in: Remove last remnants of RANLIB.
36744 No need to check for signed size_t anymore.
36745 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36747 Remove __builtin_expect test because we require at least gcc 3.4.
36748 * aclocal.m4: Likewise.
36750 * wcsmbs/mbrtoc16.c: Implement using towc function.
36751 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36752 * wcsmbs/wcsmbsload.c: Likewise.
36753 * iconv/gconv_simple.c: Likewise.
36754 * iconv/gconv_int.h: Likewise.
36755 * iconv/gconv_builtin.h: Likewise.
36756 * iconv/iconv_prog.c: Remove CHAR16 handling.
36758 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36760 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36762 * configure.in: Remove --with-elf and --enable-bounded options.
36763 Dont set base_machine for ia64. More non-ELF conditions removed.
36764 Remove testing and setting of leading underscore information.
36765 * config.make.in (build-bounded): Set to no.
36766 * config.h.in: Remove NO_UNDERSCORES entry.
36767 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36769 * csu/start.c: Remove !NO_UNDERSCORE code.
36770 * locale/localeinfo.h: Likewise.
36771 * sysdeps/generic/machine-gmon.h: Likewise.
36772 * sysdeps/generic/sysdep.h: Likewise.
36773 * sysdeps/i386/sysdep.h: Likewise.
36774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36775 * sysdeps/mach/sysdep.h: Likewise.
36776 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36778 * sysdeps/sh/sysdep.h: Likewise.
36779 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36780 * sysdeps/unix/i386/sysdep.S: Likewise.
36781 * sysdeps/unix/sparc/start.c: Likewise.
36782 * sysdeps/unix/sparc/sysdep.S: Likewise.
36783 * sysdeps/unix/sparc/sysdep.h: Likewise.
36784 * sysdeps/unix/start.c: Likewise.
36785 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36786 * sysdeps/x86_64/sysdep.h: Likewise.
36788 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36791 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36793 * argp/argp-fmtstream.h: Use const instead __const.
36794 * argp/argp.h: Likewise.
36795 * assert/assert.h: Likewise.
36796 * bits/fenv.h: Likewise.
36797 * bits/sched.h: Likewise.
36798 * bits/sigset.h: Likewise.
36799 * bits/sigthread.h: Likewise.
36800 * catgets/nl_types.h: Likewise.
36801 * conform/data/pthread.h-data: Likewise.
36802 * crypt/crypt-private.h: Likewise.
36803 * crypt/crypt.h: Likewise.
36804 * crypt/crypt_util.c: Likewise.
36805 * ctype/ctype.h: Likewise.
36806 * debug/execinfo.h: Likewise.
36807 * debug/mbsnrtowcs_chk.c: Likewise.
36808 * debug/mbsrtowcs_chk.c: Likewise.
36809 * debug/wcsnrtombs_chk.c: Likewise.
36810 * debug/wcsrtombs_chk.c: Likewise.
36811 * debug/wcstombs_chk.c: Likewise.
36812 * dirent/dirent.h: Likewise.
36813 * dlfcn/dlfcn.h: Likewise.
36814 * elf/neededtest4.c: Likewise.
36815 * grp/grp.h: Likewise.
36816 * gshadow/gshadow.h: Likewise.
36817 * iconv/gconv.h: Likewise.
36818 * iconv/gconv_int.h: Likewise.
36819 * iconv/gconv_simple.c: Likewise.
36820 * iconv/iconv.h: Likewise.
36821 * iconv/loop.c: Likewise.
36822 * iconv/skeleton.c: Likewise.
36823 * include/aio.h: Likewise.
36824 * include/aliases.h: Likewise.
36825 * include/argz.h: Likewise.
36826 * include/arpa/inet.h: Likewise.
36827 * include/assert.h: Likewise.
36828 * include/dirent.h: Likewise.
36829 * include/dlfcn.h: Likewise.
36830 * include/execinfo.h: Likewise.
36831 * include/fcntl.h: Likewise.
36832 * include/fenv.h: Likewise.
36833 * include/glob.h: Likewise.
36834 * include/grp.h: Likewise.
36835 * include/libintl.h: Likewise.
36836 * include/mntent.h: Likewise.
36837 * include/netdb.h: Likewise.
36838 * include/pwd.h: Likewise.
36839 * include/rpc/netdb.h: Likewise.
36840 * include/sched.h: Likewise.
36841 * include/search.h: Likewise.
36842 * include/shadow.h: Likewise.
36843 * include/signal.h: Likewise.
36844 * include/stdio.h: Likewise.
36845 * include/stdlib.h: Likewise.
36846 * include/string.h: Likewise.
36847 * include/sys/socket.h: Likewise.
36848 * include/sys/stat.h: Likewise.
36849 * include/sys/statfs.h: Likewise.
36850 * include/sys/statvfs.h: Likewise.
36851 * include/sys/syslog.h: Likewise.
36852 * include/sys/time.h: Likewise.
36853 * include/sys/uio.h: Likewise.
36854 * include/time.h: Likewise.
36855 * include/unistd.h: Likewise.
36856 * include/utmp.h: Likewise.
36857 * include/wchar.h: Likewise.
36858 * include/wctype.h: Likewise.
36859 * inet/aliases.h: Likewise.
36860 * inet/arpa/inet.h: Likewise.
36861 * inet/netinet/ether.h: Likewise.
36862 * inet/netinet/in.h: Likewise.
36863 * intl/libintl.h: Likewise.
36864 * io/bits/fcntl2.h: Likewise.
36865 * io/fcntl.h: Likewise.
36866 * io/ftw.h: Likewise.
36867 * io/sys/poll.h: Likewise.
36868 * io/sys/stat.h: Likewise.
36869 * io/sys/statfs.h: Likewise.
36870 * io/sys/statvfs.h: Likewise.
36871 * io/utime.h: Likewise.
36872 * libio/bits/stdio.h: Likewise.
36873 * libio/bits/stdio2.h: Likewise.
36874 * libio/libio.h: Likewise.
36875 * libio/libioP.h: Likewise.
36876 * libio/stdio.h: Likewise.
36877 * locale/lc-ctype.c: Likewise.
36878 * locale/locale.h: Likewise.
36879 * login/utmp.h: Likewise.
36880 * malloc/arena.c: Likewise.
36881 * malloc/malloc.c: Likewise.
36882 * malloc/malloc.h: Likewise.
36883 * malloc/mcheck.c: Likewise.
36884 * malloc/mtrace.c: Likewise.
36885 * math/bits/mathcalls.h: Likewise.
36886 * math/fenv.h: Likewise.
36887 * math/math_private.h: Likewise.
36888 * misc/bits/error.h: Likewise.
36889 * misc/bits/syslog.h: Likewise.
36890 * misc/err.h: Likewise.
36891 * misc/error.h: Likewise.
36892 * misc/fstab.h: Likewise.
36893 * misc/mntent.h: Likewise.
36894 * misc/regexp.h: Likewise.
36895 * misc/search.h: Likewise.
36896 * misc/sgtty.h: Likewise.
36897 * misc/sys/mman.h: Likewise.
36898 * misc/sys/syslog.h: Likewise.
36899 * misc/sys/uio.h: Likewise.
36900 * misc/sys/xattr.h: Likewise.
36901 * misc/ttyent.h: Likewise.
36902 * nis/rpcsvc/ypclnt.h: Likewise.
36903 * nss/nss.h: Likewise.
36904 * posix/bits/unistd.h: Likewise.
36905 * posix/fnmatch.h: Likewise.
36906 * posix/glob.h: Likewise.
36907 * posix/sched.h: Likewise.
36908 * posix/spawn.h: Likewise.
36909 * posix/sys/wait.h: Likewise.
36910 * posix/unistd.h: Likewise.
36911 * posix/wordexp.h: Likewise.
36912 * pwd/pwd.h: Likewise.
36913 * resolv/netdb.h: Likewise.
36914 * resource/sys/resource.h: Likewise.
36915 * rt/aio.h: Likewise.
36916 * rt/bits/mqueue2.h: Likewise.
36917 * rt/mqueue.h: Likewise.
36918 * shadow/shadow.h: Likewise.
36919 * signal/signal.h: Likewise.
36920 * socket/send.c: Likewise.
36921 * socket/sendto.c: Likewise.
36922 * socket/sys/socket.h: Likewise.
36923 * stdio-common/printf.h: Likewise.
36924 * stdlib/bits/stdlib.h: Likewise.
36925 * stdlib/fmtmsg.h: Likewise.
36926 * stdlib/monetary.h: Likewise.
36927 * stdlib/stdlib.h: Likewise.
36928 * stdlib/ucontext.h: Likewise.
36929 * streams/stropts.h: Likewise.
36930 * string/argz.h: Likewise.
36931 * string/bits/string2.h: Likewise.
36932 * string/string.h: Likewise.
36933 * string/strings.h: Likewise.
36934 * sunrpc/rpc/auth.h: Likewise.
36935 * sunrpc/rpc/auth_des.h: Likewise.
36936 * sunrpc/rpc/clnt.h: Likewise.
36937 * sunrpc/rpc/netdb.h: Likewise.
36938 * sunrpc/rpc/pmap_clnt.h: Likewise.
36939 * sunrpc/rpc/xdr.h: Likewise.
36940 * sysdeps/generic/inttypes.h: Likewise.
36941 * sysdeps/generic/net/if.h: Likewise.
36942 * sysdeps/generic/sys/swap.h: Likewise.
36943 * sysdeps/gnu/net/if.h: Likewise.
36944 * sysdeps/gnu/utmpx.h: Likewise.
36945 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36946 * sysdeps/i386/i486/bits/string.h: Likewise.
36947 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36948 * sysdeps/s390/bits/string.h: Likewise.
36949 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36950 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36951 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36952 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36953 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36954 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36955 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36956 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36957 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36958 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36959 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36960 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36961 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36962 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36963 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36964 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36965 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36967 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36969 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36970 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36971 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36972 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36973 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36974 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36977 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36979 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36980 * sysvipc/sys/ipc.h: Likewise.
36981 * sysvipc/sys/msg.h: Likewise.
36982 * sysvipc/sys/sem.h: Likewise.
36983 * sysvipc/sys/shm.h: Likewise.
36984 * termios/termios.h: Likewise.
36985 * time/sys/time.h: Likewise.
36986 * time/time.h: Likewise.
36987 * wcsmbs/bits/wchar2.h: Likewise.
36988 * wcsmbs/uchar.h: Likewise.
36989 * wcsmbs/wchar.h: Likewise.
36990 * wctype/wctype.h: Likewise.
36993 * Makeconfig: Remove all but ELF support including AIX support.
36994 * Makerules: Likewise.
36995 * config.h.in: Likewise.
36996 * config.make.in: Likewise.
36997 * configure: Likewise.
36998 * configure.in: Likewise.
36999 * csu/Makefile: Likewise.
37000 * csu/version.c: Likewise.
37001 * debug/Makefile: Likewise.
37002 * dlfcn/Makefile: Likewise.
37003 * elf/Makefile: Likewise.
37004 * extra-lib.mk: Likewise.
37005 * iconv/Makefile: Likewise.
37006 * include/libc-symbols.h: Likewise.
37007 * include/shlib-compat.h: Likewise.
37008 * resolv/Makefile: Likewise.
37009 * resolv/res_libc.c: Likewise.
37010 * rt/Makefile: Likewise.
37011 * sysdeps/i386/asm-syntax.h: Likewise.
37012 * sysdeps/i386/sysdep.h: Likewise.
37013 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37014 * sysdeps/mach/sysdep.h: Likewise.
37015 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37016 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37017 * sysdeps/s390/asm-syntax.h: Likewise.
37018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37020 * sysdeps/sh/sysdep.h: Likewise.
37021 * sysdeps/unix/sparc/sysdep.h: Likewise.
37022 * sysdeps/wordsize-32/divdi3.c: Likewise.
37023 * sysdeps/x86_64/sysdep.h: Likewise.
37025 * argp/Versions: Remove _argp_unlock_xxx.
37028 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37029 * abilist/libBrokenLocale.abilist: Likewise.
37030 * abilist/libanl.abilist: Likewise.
37031 * abilist/libc.abilist: Likewise.
37032 * abilist/libcrypt.abilist: Likewise.
37033 * abilist/libdl.abilist: Likewise.
37034 * abilist/libm.abilist: Likewise.
37035 * abilist/libnsl.abilist: Likewise.
37036 * abilist/libpthread.abilist: Likewise.
37037 * abilist/libresolv.abilist: Likewise.
37038 * abilist/librt.abilist: Likewise.
37039 * abilist/libthread_db.abilist: Likewise.
37040 * abilist/libutil.abilist: Likewise.
37041 * abilist/libnss_db.abilist: New file.
37043 * scripts/abilist.awk: Add support for indirect functions.
37045 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37047 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37049 * shlib-versions: Remove entries for ports architectures.
37051 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37053 * elf/stackguard-macros.h: Remove support for IA-64.
37054 * elf/tst-auditmod1.c: Likewise.
37055 * sysdeps/generic/ldsodefs.h: Likewise.
37057 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37058 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37062 * configure.in: Remove --enable-omitfp support.
37064 * config.make.in: Likewise.
37065 * Makeconfig: Likewise.
37066 * manual/install.texi: Likewise.
37068 In case anyone cares, the IA-64 architecture could move to ports.
37069 * sysdeps/ia64/*: Removed.
37070 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37071 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37074 * configure.in: Remove entries for unsupported architectures.
37077 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37078 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37080 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37081 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37082 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37083 fall back to using wcrtomb.
37084 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37085 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37087 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37088 * wcsmbs/tst-c16c32-1.c: New file.
37090 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37093 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37095 * elf/tst-unique3.cc: Add explicit declaration of gets.
37096 * elf/tst-unique3lib.cc: Likewise.
37097 * elf/tst-unique3lib2.cc: Likewise.
37098 * elf/tst-unique4.cc: Likewise.
37100 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37102 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37105 * assert/assert.h (static_assert): Don't define for C++.
37106 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37107 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37109 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37111 * iconv/loop.c (single loop): Fix assertion in storing of
37114 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37116 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37118 * posix/getconf.c: Update copyright year.
37119 * nss/getent.c: Likewise.
37120 * nss/makedb.c: Likewise.
37121 * iconv/iconvconfig.c: Likewise.
37122 * iconv/iconv_prog.c: Likewise.
37123 * elf/ldconfig.c: Likewise.
37124 * elf/pldd.c: Likewise.
37125 * elf/sotruss.ksh: Likewise.
37126 * catgets/gencat.c: Likewise.
37127 * csu/version.c: Likewise.
37128 * elf/ldd.bash.in: Likewise.
37129 * elf/sprof.c (print_version): Likewise.
37130 * locale/programs/locale.c: Likewise.
37131 * locale/programs/localedef.c: Likewise.
37132 * login/programs/pt_chown.c: Likewise.
37133 * nscd/nscd.c (print_version): Likewise.
37134 * debug/xtrace.sh: Likewise.
37135 * malloc/memusage.sh: Likewise.
37136 * malloc/mtrace.pl: Likewise.
37137 * debug/catchsegv.sh: Likewise.
37139 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37141 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37144 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37147 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37148 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37150 * iconv/gconv_int.h: Likewise.
37151 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37152 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37153 from libc for GLIBC_2.16.
37154 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37155 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37156 * wcsmbs/uchar.h: Really define mbstate_t.
37157 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37158 * wcsmbs/c16rtomb.c: New file.
37159 * wcsmbs/mbrtoc16.c: New file.
37160 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37161 for C/POSIX locale.
37162 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37163 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37165 * wcsmbs/wchar.h: Add missing __restrict.
37167 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37170 * time/Makefile (routines): Add timespec_get.
37171 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37172 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37173 timespec for ISO C11.
37174 * time/timespec_get.c: New file.
37175 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37176 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37179 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37180 * stdlib/stdlib.h: Declare aligned_alloc.
37181 * Versions.def: Add GLIBC_2.16 for libc.
37182 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37185 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37188 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37192 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37195 * assert/assert.h (static_assert): Define.
37197 * version.h: Update for 2.16 development version.
37200 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37203 * version.h (RELEASE): Bump for 2.15 release.
37204 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37206 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37207 Patch by Marek Polacek <mpolacek@redhat.com>.
37209 * bits/byteswap.h: Protect long long constants with __extension__.
37210 * sysdeps/i386/bits/byteswap.h: Likewise.
37211 * sysdeps/ia64/bits/byteswap.h: Likewise.
37212 * sysdeps/s390/bits/byteswap.h: Likewise.
37213 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37215 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37219 destination buffer.
37220 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37222 2011-12-23 Marek Polacek <polacek@redhat.com>
37224 * elf/dl-addr.c (determine_info): Add inline keyword.
37225 * elf/tst-auditmod4b.c (check_avx): Likewise.
37226 * elf/tst-auditmod6b.c (check_avx): Likewise.
37227 * elf/tst-auditmod6c.c (check_avx): Likewise.
37228 * elf/tst-auditmod7b.c (check_avx): Likewise.
37230 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37232 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37235 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37238 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37239 processing for last bytes.
37241 2011-08-06 Bruno Haible <bruno@clisp.org>
37244 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37245 U+0385, not to U+1FEE.
37248 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37249 entry for U+00A5 U+0301.
37251 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37254 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37255 buffer for the output is too small.
37257 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37261 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37262 SSE flags if possible.
37264 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37268 processing for last bytes.
37270 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37272 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37273 (syscall-list-default-options, syscall-list-default-condition)
37274 (syscall-list-includes): Define.
37275 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37276 list of ABIs and options and #if conditions for each ABI. Do not
37277 handle common syscalls between ABIs specially.
37278 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37280 (syscall-list-variants, syscall-list-32bit-options)
37281 (syscall-list-32bit-condition, syscall-list-64bit-options)
37282 (syscall-list-64bit-condition): Define.
37283 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37284 (syscall-list-variants, syscall-list-32bit-options)
37285 (syscall-list-32bit-condition, syscall-list-64bit-options)
37286 (syscall-list-64bit-condition): Define.
37287 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37289 (syscall-list-variants, syscall-list-32bit-options)
37290 (syscall-list-32bit-condition, syscall-list-64bit-options)
37291 (syscall-list-64bit-condition): Define.
37292 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37294 (syscall-list-variants, syscall-list-32bit-options)
37295 (syscall-list-32bit-condition, syscall-list-64bit-options)
37296 (syscall-list-64bit-condition): Define.
37298 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37300 * locale/iso-639.def: Add brx entry.
37303 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37304 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37306 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37307 __feraiseexcept_renamed.
37309 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37312 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37313 EPOLLET with unsigned values.
37314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37317 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37318 to large cancellation.
37319 * math/s_cacoshf.c: Likewise.
37320 * math/s_cacoshl.c: Likewise.
37322 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37326 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37327 * math/s_cacoshf.c: Likewise.
37328 * math/s_cacoshl.c: Likewise.
37330 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37333 * iconv/gconv.h: Define __GCONV_SWAP.
37334 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37335 * iconvdata/utf-16.c: Likewise.
37336 * iconvdata/utf-32.c: Likewise.
37338 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37342 numerator after shifting it by one limb.
37344 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37346 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37347 under [__USE_EXTERN_INLINES].
37349 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37352 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37354 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37356 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37357 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37359 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37360 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37361 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37362 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37363 for strncasecmp/strncasecmp_l compilation.
37364 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37365 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37367 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37370 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37373 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37376 * time/tzfile.c (__tzfile_read): Check values from file header.
37378 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37380 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37381 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37382 * powerpc/powerpc32/dl-start.S: Likewise.
37383 * powerpc/powerpc32/elf/start.S: Likewise.
37384 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37385 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37386 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37387 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37388 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37389 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37390 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37391 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37392 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37393 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37394 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37395 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37396 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37397 * powerpc/powerpc32/memset.S: Likewise.
37398 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37399 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37400 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37401 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37402 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37403 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37404 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37405 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37406 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37407 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37408 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37409 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37410 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37412 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37414 * math/libm-test.inc: Added more nearbyint tests.
37415 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37420 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37422 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37425 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37427 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37428 Add wcscpy-ssse3 wcscpy-c.
37429 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37430 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37431 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37432 * sysdeps/x86_64/wcschr.S: New file.
37433 * sysdeps/x86_64/wcsrchr.S: New file.
37434 * string/test-strcmp.c: Remove checking of wcscmp function for
37436 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37437 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37438 wcsrchr-sse2 wcsrchr-c.
37439 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37440 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37441 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37442 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37443 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37444 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37445 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37446 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37447 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37448 * wcsmbc/wcschr.c (WCSCHR): New macro.
37450 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37452 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37453 * wcsmbs/test-wcsrchr.c: New file.
37454 * string/test-strrchr.c: Add wcsrchr support.
37456 * wcsmbs/test-wcscpy.c: New file.
37457 * string/test-strcpy.c: Add wcscpy support.
37460 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37462 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37465 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37468 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37470 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37473 Minor optimizations.
37475 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37476 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37477 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37479 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37481 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37482 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37483 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37484 for gcc to avoid warnings.
37485 * inet/Makefile (tests): Add tst-checks.
37486 * inet/tst-checks.c: New file.
37488 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37491 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37494 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37495 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37497 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37499 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37501 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37504 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37506 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37508 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37509 conditional on GCC version.
37510 (__arch_compare_and_exchange_val_8_acq)
37511 (__arch_compare_and_exchange_val_16_acq)
37512 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37513 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37514 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37516 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37518 * sysdeps/sh/backtrace.c: New file.
37520 2011-12-02 Andreas Schwab <schwab@redhat.com>
37522 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37525 2011-12-01 Andreas Schwab <schwab@redhat.com>
37527 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37528 falling back to utime.
37530 2011-11-30 Andreas Schwab <schwab@redhat.com>
37532 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37533 expectations for float.
37535 2011-11-29 Andreas Schwab <schwab@redhat.com>
37537 * locale/weight.h (findidx): Add parameter len.
37538 * locale/weightwc.h (findidx): Likewise.
37539 * posix/fnmatch_loop.c (FCT): Adjust caller.
37540 * posix/regcomp.c (build_equiv_class): Likewise.
37541 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37542 * posix/regexec.c (check_node_accept_bytes): Likewise.
37543 * string/strcoll_l.c (STRCOLL): Likewise.
37544 * string/strxfrm_l.c (STRXFRM): Likewise.
37546 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37548 * Makefile.in: Remove CVSOPT handling.
37549 * configure.in: Remove use of AC_REVISION.
37550 * iconvdata/Makefile (distribute): No need to filter out CVS.
37551 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37554 2011-11-16 Andreas Schwab <schwab@redhat.com>
37556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37557 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37558 [USE_AS_STRNCASECMP_L]: Likewise.
37559 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37560 NO_TLS_DIRECT_SEG_REFS.
37561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37562 Fix argument offsets for non-PIC.
37563 [USE_AS_STRNCASECMP_L]: Likewise.
37564 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37565 NO_TLS_DIRECT_SEG_REFS.
37567 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37569 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37571 * locale/loadlocale.c (_nl_load_locale): Likewise.
37573 2011-11-15 Andreas Schwab <schwab@redhat.com>
37575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37576 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37577 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37578 (SYSCALL_GETTIME): Set errno on error.
37580 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37581 count references to noai6ai_cached.
37583 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37585 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37587 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37588 FD_CLOEXEC for /proc/self/maps.
37590 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37591 FD_CLOEXEC for /proc/meminfo.
37593 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37596 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37597 FD_CLOEXEC for given file.
37599 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37601 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37602 FD_CLOEXEC for /etc/hosts.
37603 (_gethtent): Likewise.
37605 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37607 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37608 cancellation and set FD_CLOEXEC for /etc/netgroup.
37610 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37611 reading /etc/publickey.
37613 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37614 allow cancellation when reading /etc/group.
37616 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37618 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37620 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37621 when using data file.
37623 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37625 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37626 (write_nis_obj): Use "c" and "e" in fopen.
37628 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37630 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37632 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37634 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37636 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37639 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37641 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37643 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37645 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37646 file parsing and set FD_CLOEXEC.
37648 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37650 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37652 2011-11-14 Andreas Schwab <schwab@redhat.com>
37654 * malloc/arena.c (arena_get2): Don't call reused_arena when
37655 _int_new_arena failed.
37657 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37659 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37660 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37661 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37662 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37665 to compile strcasecmp and strncasecmp.
37666 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37667 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37671 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37673 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37674 locale-defines.sym to gen-as-const-headers.
37675 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37676 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37678 to compile strcasecmp and strncasecmp.
37679 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37680 strcasecmp_l and strncasecmp_l.
37681 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37682 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37683 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37684 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37685 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37686 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37687 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37688 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37689 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37690 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37691 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37693 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37695 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37696 result of SYSDEP_GETTIME_CPU to retval.
37697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37698 parameter list to macro. Remove trailing semicolon. Adjust users.
37700 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37703 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37705 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37707 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37708 from unused variable.
37710 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37712 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37715 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37718 * sunrpc/rpc_prot.c (rejected): Fix case value.
37720 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37721 unsigned long long int to avoid warnings in shift.
37723 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37725 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37728 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37729 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37730 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37732 * nis/nis_table.c (nis_list): Use variable of correct type for
37733 result of __follow_path call.
37735 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37737 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37738 of math functions ceil, trunc, floor, round, and sqrt, when
37739 avaliable on the platform.
37740 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37742 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37743 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37744 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37746 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37748 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37751 2011-11-11 Roland McGrath <roland@hack.frob.com>
37753 * include/unistd.h: Fix __readlink return type.
37754 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37756 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37758 * stdlib/ucontext.h: Undo last change for makecontext.
37760 2011-11-11 Andreas Schwab <schwab@redhat.com>
37762 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37764 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37765 * setjmp/setjmp.h: Mark functions as non-leaf.
37766 * setjmp/bits/setjmp2.h: Likewise.
37767 * stdlib/ucontext.h: Likewise.
37769 2011-11-10 Andreas Schwab <schwab@redhat.com>
37771 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37772 (reused_arena): Don't check arena limit.
37773 (arena_get2): Atomically check arena limit.
37775 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37777 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37778 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37783 2011-11-07 Andreas Schwab <schwab@redhat.com>
37785 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37786 handler when locking.
37788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37789 Fix size of allocated buffer.
37791 2011-11-04 Andreas Schwab <schwab@redhat.com>
37794 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37795 declarations for long double functions.
37796 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37798 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37800 2011-11-03 Andreas Schwab <schwab@redhat.com>
37802 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37805 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37808 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37810 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37812 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37814 * include/alloca.h (stackinfo_alloca_round): Define.
37815 (extend_alloca): Use it.
37816 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37817 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37820 * scripts/check-local-headers.sh: Ignore libaudit.h.
37822 * nscd/Makefile (extra-objs): Make recursively expanded.
37824 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37826 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37829 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37830 * posix/tst-rfc3484-2.c: Likewise.
37831 * posix/tst-rfc3484-3.c: Likewise.
37833 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37835 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37837 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37838 process_vm_writev from libc using GLIBC_2.15 version.
37840 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37842 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37844 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37847 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37850 * nss/getent.c (initgroups_keys): Show error message in case no group
37853 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37854 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37855 __bump_nl_timestamp.
37856 * nscd/connections (nscd_init): When host database is served open
37857 netlink socket and request notification about configuration changes.
37858 (main_loop_poll): Track netlink file descriptor and bump timestamp
37859 in case data becomes available.
37860 (main_loop_epoll): Likewise.
37861 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37862 (database_pers_head): Add extra_data fileds.
37863 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37864 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37865 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37868 in6ai data, call __free_in6ai.
37869 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37870 Add -DHAVE_NETLINK.
37871 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37872 interface information. Reuse previous data if netlink timestamp
37874 (__bump_nl_timestamp): New function.
37875 (__free_in6ai): New function.
37877 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37880 close_not_cancel_no_status here.
37881 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37883 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37886 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37889 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37890 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37891 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37893 2011-07-03 Andreas Jaeger <aj@suse.de>
37896 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37897 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37898 * math/libm-test.inc (sin_test): Add test case.
37900 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37903 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37904 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37906 * elf/chroot_canon.c (chroot_canon): Cleanups.
37908 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37911 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37912 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37914 * string/test-strchr.c: Make usable for strchrnul testing.
37915 * string/test-strchrnul.c: New file.
37916 * string/Makefile (strop-tests): Add strchrnul.
37918 * po/it.po: Update from translation team.
37919 * po/es.po: Likewise.
37921 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37923 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37924 the three constants needed as parameters. Drop the others.
37925 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37926 __m128i_strloadu_tolower.
37927 Create and initialize variable zero and use it in all the places
37928 where _mm_setzero_si128 was used.
37930 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37931 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37932 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37935 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37936 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37937 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37938 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37939 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37940 __mpranred, __mptan.
37941 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37942 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37943 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37944 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37945 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37946 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37948 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37949 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37951 2011-10-28 Andreas Schwab <schwab@redhat.com>
37953 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37954 redefine if SHARED.
37955 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37958 wide char related routines to wcsmbs subdir.
37960 2011-10-27 Andreas Schwab <schwab@redhat.com>
37963 * misc/sys/cdefs.h (__THROWNL): Define.
37964 * posix/unistd.h: Use __THREADNL instead of __THREAD
37965 for memory synchronization functions.
37967 2011-10-26 Roland McGrath <roland@hack.frob.com>
37970 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37972 * manual/stdio.texi (Obstack Streams): Node removed.
37974 2011-10-26 Andreas Schwab <schwab@redhat.com>
37976 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37978 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37980 * math/math_private.h (math_force_eval): Allow non-addressable
37982 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37984 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37986 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37987 file is not needed.
37989 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37996 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37998 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37999 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38000 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38001 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38002 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38003 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38004 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38005 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38006 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38007 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38008 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38009 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38011 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38012 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38013 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38014 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38015 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38016 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38018 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38019 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38022 place. Use VEX encoding when compiling for AVX.
38024 2011-10-25 Andreas Schwab <schwab@redhat.com>
38026 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38027 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38029 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38031 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38033 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38034 useless if() expression.
38035 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38043 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38047 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38049 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38050 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38053 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38055 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38057 2011-10-25 Andreas Schwab <schwab@redhat.com>
38059 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38061 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38063 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38065 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38066 .text section. Avoid duplicate constants.
38067 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38077 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38079 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38084 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38091 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38092 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38093 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38094 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38096 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38098 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38099 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38100 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38101 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38102 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38103 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38105 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38106 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38107 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38108 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38109 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38111 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38113 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38115 * sysdeps/x86_64/dla.h: Move to ...
38116 * sysdeps/x86_64/fpu/dla.h: ...here.
38117 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38118 situations. Use __builtin_fma only for gcc 4.6 and up.
38120 * config.make.in: Add have-mfma4 entry.
38121 * configure.in: Substitute libc_cv_cc_fma4.
38122 * math/Makefile (dbl-only-routines): Add sincostab.
38123 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38124 Use __sincostab not sincos.
38125 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38132 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38133 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38134 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38135 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38137 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38138 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38140 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38141 define aliases when function name is a macro.
38142 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38143 sysdeps/ieee754/dbl-64/sincos.tbl.
38144 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38145 fma4-enabled routines.
38146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38147 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38148 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38149 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38151 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38153 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38155 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38156 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38157 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38158 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38159 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38160 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38161 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38162 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38163 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38164 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38165 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38166 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38177 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38188 2011-10-24 Andreas Schwab <schwab@redhat.com>
38190 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38192 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38196 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38200 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38201 Remove unused variable magic_bits.
38202 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38204 * string/strnlen.c: Define and use STRNLEN macro.
38205 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38206 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38208 * wcsmbs/wcslen.c: Define and use WCSLEN.
38209 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38210 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38211 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38212 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38213 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38214 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38215 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38217 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38220 strnlen-sse2-no-bsf.
38221 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38223 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38224 Add strnlen support.
38225 (USE_AS_STRNLEN): New macro.
38226 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38227 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38228 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38229 * sysdeps/x86_64/wcslen.S: New file.
38231 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38234 XMM-moves are used for copying on small sizes.
38236 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38238 * wcsmbs/Makefile (strop-tests): Add wcschr.
38239 * wcsmbs/test-wcschr.c: New file.
38240 * string/test-strchr.c: Update.
38241 Add wcschr support.
38244 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38246 * wcsmbs/Makefile (strop-tests): Add wcslen.
38247 * wcsmbs/test-wcslen.c: New file.
38248 * string/test-strlen.c: Update.
38249 Add wcslen support.
38252 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38254 * po/it.po: Update from translation team.
38256 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38258 * sysdeps/x86_64/wcscmp.S: Update.
38259 Fix wrong comparison semantics.
38260 wcscmp shall use signed comparison not unsigned.
38261 Don't use substraction to avoid overflow bug.
38262 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38263 * wcsmbc/wcscmp.c: Likewise.
38264 * string/test-strcmp.c: Likewise.
38265 Add new tests to check cases with negative values.
38267 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38269 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38270 * sysdeps/x86_64/dla.h: ...here. New file.
38271 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38281 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38284 __ynl_finite aliases.
38286 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38290 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38292 [DLA_FMA] (EMULV): Use DLA_FMA.
38293 [DLA_FMA] (MUL12): Use EMULV.
38294 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38295 that are not needed.
38296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38304 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38306 * math/s_nan.c: Undef __nan.
38307 * math/s_nanf.c: Undef __nanf.
38308 * math/s_nanl.c: Undef __nanl.
38309 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38312 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38314 * math/s_catan.c: Add branch predictions.
38315 * math/s_catanf.c: Likewise.
38316 * math/s_catanh.c: Likewise.
38317 * math/s_catanhf.c: Likewise.
38318 * math/s_catanhl.c: Likewise.
38319 * math/s_catanl.c: Likewise.
38320 * math/s_cexp.c: Likewise.
38321 * math/s_cexpf.c: Likewise.
38322 * math/s_cexpl.c: Likewise.
38323 * math/s_clog.c: Likewise.
38324 * math/s_clog10.c: Likewise.
38325 * math/s_clog10f.c: Likewise.
38326 * math/s_clog10l.c: Likewise.
38327 * math/s_clogf.c: Likewise.
38328 * math/s_clogl.c: Likewise.
38329 * math/s_csqrt.c: Likewise.
38330 * math/s_csqrtf.c: Likewise.
38331 * math/s_csqrtl.c: Likewise.
38332 * math/s_ctanf.c: Likewise.
38333 * math/s_ctanh.c: Likewise.
38334 * math/s_ctanhf.c: Likewise.
38335 * math/s_ctanhl.c: Likewise.
38336 * math/s_ctanl.c: Likewise.
38338 * math/math_private.h: Define __nan, __nanf, __nanl.
38339 * math/s_cacosh.c: Include <math_private.h>.
38340 * math/s_cacoshl.c: Likewise.
38341 * math/s_casinh.c: Likewise.
38342 * math/s_casinhf.c: Likewise.
38343 * math/s_casinhl.c: Likewise.
38344 * math/s_ccos.c: Rely entire on ccosh.
38345 * math/s_ccosf.c: Rely entire on ccoshf.
38346 * math/s_ccosl.c: Rely entirely on ccoshl.
38347 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38348 Remove tests for FE_INVALID.
38349 * math/s_ccoshf.c: Likewise.
38350 * math/s_ccoshl.c: Likewise.
38351 * math/s_csin.c: Likewise.
38352 * math/s_csinf.c: Likewise.
38353 * math/s_csinh.c Likewise.
38354 * math/s_csinhf.c: Likewise.
38355 * math/s_csinhl.c: Likewise.
38356 * math/s_csinl.c: Likewise.
38357 * math/s_ctan.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38359 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38360 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38362 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38365 compilation problems.
38367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38370 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38372 * sysdeps/i386/configure.in: Test for -mfma4 option.
38373 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38374 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38375 COMMON_CPUID_INDEX_80000001.
38376 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38377 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38378 use it if FMA3 is not supported.
38379 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38381 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38382 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38384 2011-10-20 Andreas Schwab <schwab@redhat.com>
38387 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38388 it would create a cycle with a link time dependency.
38390 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38392 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38394 * string/Makefile (strop-tests): Add rawmemchr.
38395 * string/test-rawmemchr.c: New file.
38397 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38398 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38399 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38400 when compiling str{,n}casecmp and when AVX is available. Hook up
38401 new optimized code in initializers.
38403 2011-10-19 Andreas Schwab <schwab@redhat.com>
38405 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38406 __feraiseexcept instead of feraiseexcept.
38408 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38410 * math/math_private.h: Define defaults for libc_fetestexcept and
38412 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38413 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38414 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38417 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38418 libc_fetestexcept and libc_feupdateenv.
38420 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38421 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38422 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38423 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38424 libc_feholdexcept_setround.
38426 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38427 Add s_nearbyint-c and s_nearbyintf-c.
38428 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38429 nearbyintf inlines.
38430 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38431 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38432 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38433 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38435 * math/math_private.h: Define defaults for libc_fegetround,
38436 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38437 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38438 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38440 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38441 standard functions.
38442 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38443 Remove comments and hacks for old compiler versions.
38444 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38445 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38446 libc_feholdexceptl.
38448 2011-10-18 Andreas Schwab <schwab@redhat.com>
38450 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38451 (__feraiseexcept_renamed): Add __NTH.
38452 (feraiseexcept): Add __NTH. Rename local variables to fix
38453 namespace violations.
38455 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38457 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38461 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38462 recently added interfaces.
38463 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38465 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38466 about macro parameter expansion.
38468 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38469 __NO_MATH_INLINES is defined. Cleanups.
38471 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38472 and __floorf is target has SSE4.1.
38473 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38474 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38475 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38476 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38478 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38480 (floorf): Likewise.
38482 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38484 2011-10-17 Andreas Schwab <schwab@redhat.com>
38486 * misc/sys/cdefs.h: Fix last change.
38488 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38491 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38493 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38495 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38497 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38498 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38502 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38503 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38504 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38505 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38506 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38507 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38508 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38509 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38510 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38511 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38512 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38513 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38514 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38515 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38516 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38518 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38519 ceil, ceilf, floor, floorf.
38521 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38522 Perform IRELATIVE relocations last.
38524 * elf/do-rel.h: Add another parameter nrelative, replacing the
38525 local variable with the same name. Change name of the function
38526 to end in Rel or Rela (uppercase).
38527 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38528 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38529 elf_dynamic_do_##reloc function.
38531 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38533 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38534 is sufficient, at least on modern CPUs.
38536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38538 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38541 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38543 * math/bits/math-finite.h: Add entries for exp.
38544 * math/e_expl.c: Add __*_finite alias.
38545 * sysdeps/i386/fpu/e_exp.S: Likewise.
38546 * sysdeps/i386/fpu/e_expf.S: Likewise.
38547 * sysdeps/i386/fpu/e_expl.c: Likewise.
38548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38549 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38552 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38554 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38556 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38557 is sufficient, at least on modern CPUs.
38559 * ctype/ctype-info.c (__ctype_init): Define.
38560 * include/ctype.h (__ctype_init): Declare.
38561 (__ctype_b_loc): The variable is always initialized.
38562 (__ctype_toupper_loc): Likewise.
38563 (__ctype_tolower_loc): Likewise.
38564 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38565 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38567 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38569 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38571 * configure.in: Also look in $cxxmachine/include for C++ system
38574 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38576 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38577 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38578 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38579 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38581 (USE_AS_WMEMCMP): New macro.
38583 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38584 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38585 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38586 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38588 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38589 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38590 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38591 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38592 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38594 (USE_AS_WMEMCMP): New macro.
38595 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38596 * sysdeps/string/test-memcmp.c: Update.
38597 Fix simple_wmemcmp.
38599 * wcsmbs/wmemcmp.c: Update.
38600 (WMEMCMP): New macro.
38603 2011-10-12 Andreas Jaeger <aj@suse.de>
38606 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38608 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38610 * libio/iofwide.c (do_length): Avoid warning.
38612 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38614 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38616 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38618 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38619 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38620 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38621 * sysdeps/i386/i686/fpu/e_log.S: New file.
38622 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38623 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38625 * ctype/ctype.h: Add support for inlined isXXX functions when
38626 compiling C++ code.
38628 2011-10-14 Andreas Schwab <schwab@redhat.com>
38630 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38632 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38634 2011-10-13 Roland McGrath <roland@hack.frob.com>
38637 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38639 2011-10-13 Andreas Schwab <schwab@redhat.com>
38641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38642 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38645 * sysdeps/x86_64/memrchr.S: Check for zero size.
38647 * string/stratcliff.c: Add memrchr tests.
38649 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38652 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38653 rawmemchr-sse2 rawmemchr-sse2-bsf.
38654 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38655 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38656 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38657 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38658 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38659 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38660 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38661 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38662 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38663 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38664 * string/memrchr.c (MEMRCHR): New macro.
38666 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38668 Add integration with gcc's -ffinite-math-only and optimize wrapper
38670 * Versions.def: Define GLIBC_2.15 version for libm.
38671 * math/Makefile (headers): Add bits/math-finite.h.
38672 * math/bits/math-finite.h: New file.
38673 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38674 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38675 * math/e_acoshl.c: Add __*_finite alias.
38676 * math/e_acosl.c: Likewise.
38677 * math/e_asinl.c: Likewise.
38678 * math/e_atan2l.c: Likewise.
38679 * math/e_atanhl.c: Likewise.
38680 * math/e_coshl.c: Likewise.
38681 * math/e_exp10.c: Likewise.
38682 * math/e_exp10f.c: Likewise.
38683 * math/e_exp10l.c: Likewise.
38684 * math/e_exp2l.c: Likewise.
38685 * math/e_fmodl.c: Likewise.
38686 * math/e_gammal_r.c: Likewise.
38687 * math/e_hypotl.c: Likewise.
38688 * math/e_j0l.c: Likewise.
38689 * math/e_j1l.c: Likewise.
38690 * math/e_jnl.c: Likewise.
38691 * math/e_lgammal_r.c: Likewise.
38692 * math/e_log10l.c: Likewise.
38693 * math/e_log2l.c: Likewise.
38694 * math/e_logl.c: Likewise.
38695 * math/e_powl.c: Likewise.
38696 * math/e_sinhl.c: Likewise.
38697 * math/e_sqrtl.c: Likewise.
38698 * math/e_scalb.c: Completely rewritten and optimized.
38699 * math/e_scalbf.c: Likewise.
38700 * math/e_scalbl.c: Likewise.
38701 * math/w_acos.c: Likewise.
38702 * math/w_acosf.c: Likewise.
38703 * math/w_acosl.c: Likewise.
38704 * math/w_acosh.c: Likewise.
38705 * math/w_acoshf.c: Likewise.
38706 * math/w_acoshl.c: Likewise.
38707 * math/w_asin.c: Likewise.
38708 * math/w_asinf.c: Likewise.
38709 * math/w_asinl.c: Likewise.
38710 * math/w_atan2.c: Likewise.
38711 * math/w_atan2f.c: Likewise.
38712 * math/w_atan2l.c: Likewise.
38713 * math/w_atanh.c: Likewise.
38714 * math/w_atanhf.c: Likewise.
38715 * math/w_atanhl.c: Likewise.
38716 * math/w_exp10.c: Likewise.
38717 * math/w_exp10f.c: Likewise.
38718 * math/w_exp10l.c: Likewise.
38719 * math/w_fmod.c: Likewise.
38720 * math/w_fmodf.c: Likewise.
38721 * math/w_fmodl.c: Likewise.
38722 * math/w_j0.c: Likewise.
38723 * math/w_j0f.c: Likewise.
38724 * math/w_j0l.c: Likewise.
38725 * math/w_j1.c: Likewise.
38726 * math/w_j1f.c: Likewise.
38727 * math/w_j1l.c: Likewise.
38728 * math/w_jn.c: Likewise.
38729 * math/w_jnf.c: Likewise.
38730 * math/w_log.c: Likewise.
38731 * math/w_logf.c: Likewise.
38732 * math/w_logl.c: Likewise.
38733 * math/w_log10.c: Likewise.
38734 * math/w_log10f.c: Likewise.
38735 * math/w_log10l.c: Likewise.
38736 * math/w_log2.c: Likewise.
38737 * math/w_log2f.c: Likewise.
38738 * math/w_log2l.c: Likewise.
38739 * math/w_pow.c: Likewise.
38740 * math/w_powf.c: Likewise.
38741 * math/w_powl.c: Likewise.
38742 * math/w_remainder.c: Likewise.
38743 * math/w_remainderf.c: Likewise.
38744 * math/w_remainderl.c: Likewise.
38745 * math/w_scalb.c: Likewise.
38746 * math/w_scalbf.c: Likewise.
38747 * math/w_scalbl.c: Likewise.
38748 * math/w_sqrt.c: Likewise.
38749 * math/w_sqrtf.c: Likewise.
38750 * math/w_sqrtl.c: Likewise.
38751 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38752 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38754 * math/math_private.h: Declare __kernel_standard_f.
38755 * math/w_cosh.c: Remove cruft and optimize a bit.
38756 * math/w_coshf.c: Likewise.
38757 * math/w_coshl.c: Likewise.
38758 * math/w_exp2.c: Likewise.
38759 * math/w_exp2f.c: Likewise.
38760 * math/w_exp2l.c: Likewise.
38761 * math/w_hypot.c: Likewise.
38762 * math/w_hypotf.c: Likewise.
38763 * math/w_hypotl.c: Likewise.
38764 * math/w_lgamma.c: Likewise.
38765 * math/w_lgamma_r.c: Likewise.
38766 * math/w_lgammaf.c: Likewise.
38767 * math/w_lgammaf_r.c: Likewise.
38768 * math/w_lgammal.c: Likewise.
38769 * math/w_lgammal_r.c: Likewise.
38770 * math/w_sinh.c: Likewise.
38771 * math/w_sinhf.c: Likewise.
38772 * math/w_sinhl.c: Likewise.
38773 * math/w_tgamma.c: Likewise.
38774 * math/w_tgammaf.c: Likewise.
38775 * math/w_tgammal.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38778 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38779 Minor optimizations. Pretty printing. Remove cruft.
38780 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38782 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38784 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38785 * sysdeps/i386/fpu/e_asin.S: Likewise.
38786 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38787 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38788 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38789 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38790 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38791 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38792 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38793 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38794 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38795 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38796 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38797 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38798 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38799 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38800 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38801 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38802 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38803 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38804 * sysdeps/i386/fpu/e_log.S: Likewise.
38805 * sysdeps/i386/fpu/e_log10.S: Likewise.
38806 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38807 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38808 * sysdeps/i386/fpu/e_log2.S: Likewise.
38809 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38811 * sysdeps/i386/fpu/e_logf.S: Likewise.
38812 * sysdeps/i386/fpu/e_logl.S: Likewise.
38813 * sysdeps/i386/fpu/e_pow.S: Likewise.
38814 * sysdeps/i386/fpu/e_powf.S: Likewise.
38815 * sysdeps/i386/fpu/e_powl.S: Likewise.
38816 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38817 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38818 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38820 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38821 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38822 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38823 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38824 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38846 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38849 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38850 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38851 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38852 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38853 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38854 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38856 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38857 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38859 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38860 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38861 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38862 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38863 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38918 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38920 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38921 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38922 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38923 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38924 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38925 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38926 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38927 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38928 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38933 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38935 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38936 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38937 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38938 (__isnanf): Likewise.
38939 (__isinf_ns): Likewise.
38940 (__isinf_nsf): Likewise.
38941 (__finite): Likewise.
38942 (__finitef): Likewise.
38943 (__ieee754_sqrt): Define as macro.
38944 (__ieee754_sqrtf): Define as macro.
38945 (__ieee754_sqrtl): Define as macro.
38946 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38948 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38949 __FINITE_MATH_ONLY__ consistent.
38950 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38952 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38954 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38957 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38959 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38961 * po/ja.po: Update from translation team.
38963 2011-10-08 Roland McGrath <roland@hack.frob.com>
38965 * locale/programs/locarchive.c (prepare_address_space): New function.
38966 (create_archive, enlarge_archive, open_archive): Use it.
38968 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38969 inside [SHARED], where it is used.
38971 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38973 * nss/getent.c (netgroup_keys): Remove unused variable.
38974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38976 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38978 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38979 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38981 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38982 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38983 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38984 * math/Makefile (libm-calls): Add s_isinf_ns.
38985 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38986 * math/multc3.c: Likewise.
38987 * math/s_casin.c: Likewise.
38988 * math/s_casinf.c: Likewise.
38989 * math/s_casinl.c: Likewise.
38990 * math/s_ccos.c: Likewise.
38991 * math/s_ccosf.c: Likewise.
38992 * math/s_ccosl.c: Likewise.
38993 * math/s_ctan.c: Likewise.
38994 * math/s_ctanf.c: Likewise.
38995 * math/s_ctanh.c: Likewise.
38996 * math/s_ctanhf.c: Likewise.
38997 * math/s_ctanhl.c: Likewise.
38998 * math/s_ctanl.c: Likewise.
38999 * math/w_fmod.c: Likewise.
39000 * math/w_fmodf.c: Likewise.
39001 * math/w_fmodl.c: Likewise.
39002 * math/w_remainder.c: Likewise.
39003 * math/w_remainderf.c: Likewise.
39004 * math/w_remainderl.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39006 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39009 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39010 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39011 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39012 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39014 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39016 * stdio-common/printf_fphex.c: Likewise.
39017 * stdio-common/printf_size.c: Likewise.
39019 * math/e_exp10.c: Include math_private.h using <...> not "...".
39020 * math/e_exp10f.c: Likewise.
39021 * math/e_exp10l.c: Likewise.
39022 * math/e_exp2l.c: Likewise.
39023 * math/e_j0l.c: Likewise.
39024 * math/e_j1l.c: Likewise.
39025 * math/e_jnl.c: Likewise.
39026 * math/e_lgammal_r.c: Likewise.
39027 * math/e_rem_pio2l.c: Likewise.
39028 * math/e_scalb.c: Likewise.
39029 * math/e_scalbf.c: Likewise.
39030 * math/e_scalbl.c: Likewise.
39031 * math/k_cosl.c: Likewise.
39032 * math/k_sinl.c: Likewise.
39033 * math/k_tanl.c: Likewise.
39034 * math/s_cacoshf.c: Likewise.
39035 * math/s_catan.c: Likewise.
39036 * math/s_catanf.c: Likewise.
39037 * math/s_catanh.c: Likewise.
39038 * math/s_catanhf.c: Likewise.
39039 * math/s_catanhl.c: Likewise.
39040 * math/s_catanl.c: Likewise.
39041 * math/s_ccosh.c: Likewise.
39042 * math/s_ccoshf.c: Likewise.
39043 * math/s_ccoshl.c: Likewise.
39044 * math/s_cexp.c: Likewise.
39045 * math/s_cexpf.c: Likewise.
39046 * math/s_cexpl.c: Likewise.
39047 * math/s_clog.c: Likewise.
39048 * math/s_clog10.c: Likewise.
39049 * math/s_clog10f.c: Likewise.
39050 * math/s_clog10l.c: Likewise.
39051 * math/s_clogf.c: Likewise.
39052 * math/s_clogl.c: Likewise.
39053 * math/s_csin.c: Likewise.
39054 * math/s_csinf.c: Likewise.
39055 * math/s_csinh.c: Likewise.
39056 * math/s_csinhf.c: Likewise.
39057 * math/s_csinhl.c: Likewise.
39058 * math/s_csinl.c: Likewise.
39059 * math/s_csqrt.c: Likewise.
39060 * math/s_csqrtf.c: Likewise.
39061 * math/s_csqrtl.c: Likewise.
39062 * math/s_ctan.c: Likewise.
39063 * math/s_ctanf.c: Likewise.
39064 * math/s_ctanh.c: Likewise.
39065 * math/s_ctanhf.c: Likewise.
39066 * math/s_ctanhl.c: Likewise.
39067 * math/s_ctanl.c: Likewise.
39068 * math/s_ldexp.c: Likewise.
39069 * math/s_ldexpf.c: Likewise.
39070 * math/s_ldexpl.c: Likewise.
39071 * math/s_significand.c: Likewise.
39072 * math/s_significandf.c: Likewise.
39073 * math/s_significandl.c: Likewise.
39074 * math/w_acos.c: Likewise.
39075 * math/w_acosf.c: Likewise.
39076 * math/w_acosh.c: Likewise.
39077 * math/w_acoshf.c: Likewise.
39078 * math/w_acoshl.c: Likewise.
39079 * math/w_acosl.c: Likewise.
39080 * math/w_asin.c: Likewise.
39081 * math/w_asinf.c: Likewise.
39082 * math/w_asinl.c: Likewise.
39083 * math/w_atan2.c: Likewise.
39084 * math/w_atan2f.c: Likewise.
39085 * math/w_atan2l.c: Likewise.
39086 * math/w_atanh.c: Likewise.
39087 * math/w_atanhf.c: Likewise.
39088 * math/w_atanhl.c: Likewise.
39089 * math/w_cosh.c: Likewise.
39090 * math/w_coshf.c: Likewise.
39091 * math/w_coshl.c: Likewise.
39092 * math/w_dremf.c: Likewise.
39093 * math/w_exp10.c: Likewise.
39094 * math/w_exp10f.c: Likewise.
39095 * math/w_exp10l.c: Likewise.
39096 * math/w_exp2.c: Likewise.
39097 * math/w_exp2f.c: Likewise.
39098 * math/w_fmod.c: Likewise.
39099 * math/w_fmodf.c: Likewise.
39100 * math/w_fmodl.c: Likewise.
39101 * math/w_hypot.c: Likewise.
39102 * math/w_hypotf.c: Likewise.
39103 * math/w_hypotl.c: Likewise.
39104 * math/w_j0.c: Likewise.
39105 * math/w_j0f.c: Likewise.
39106 * math/w_j0l.c: Likewise.
39107 * math/w_j1.c: Likewise.
39108 * math/w_j1f.c: Likewise.
39109 * math/w_j1l.c: Likewise.
39110 * math/w_jn.c: Likewise.
39111 * math/w_jnf.c: Likewise.
39112 * math/w_jnl.c: Likewise.
39113 * math/w_lgamma.c: Likewise.
39114 * math/w_lgamma_r.c: Likewise.
39115 * math/w_lgammaf.c: Likewise.
39116 * math/w_lgammaf_r.c: Likewise.
39117 * math/w_lgammal.c: Likewise.
39118 * math/w_lgammal_r.c: Likewise.
39119 * math/w_log.c: Likewise.
39120 * math/w_log10.c: Likewise.
39121 * math/w_log10f.c: Likewise.
39122 * math/w_log10l.c: Likewise.
39123 * math/w_log2.c: Likewise.
39124 * math/w_log2f.c: Likewise.
39125 * math/w_log2l.c: Likewise.
39126 * math/w_logf.c: Likewise.
39127 * math/w_logl.c: Likewise.
39128 * math/w_pow.c: Likewise.
39129 * math/w_powf.c: Likewise.
39130 * math/w_powl.c: Likewise.
39131 * math/w_remainder.c: Likewise.
39132 * math/w_remainderf.c: Likewise.
39133 * math/w_remainderl.c: Likewise.
39134 * math/w_scalb.c: Likewise.
39135 * math/w_scalbf.c: Likewise.
39136 * math/w_scalbl.c: Likewise.
39137 * math/w_sinh.c: Likewise.
39138 * math/w_sinhf.c: Likewise.
39139 * math/w_sinhl.c: Likewise.
39140 * math/w_sqrt.c: Likewise.
39141 * math/w_sqrtf.c: Likewise.
39142 * math/w_sqrtl.c: Likewise.
39143 * math/w_tgamma.c: Likewise.
39144 * math/w_tgammaf.c: Likewise.
39145 * math/w_tgammal.c: Likewise.
39147 * po/ja.po: Update from translation team.
39149 2011-09-29 Andreas Jaeger <aj@suse.de>
39152 * sunrpc/netname.c (netname2host): Fix logic.
39156 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39158 * math/w_remainder.c (__remainder): Likewise.
39159 * math/w_remainderf.c (__remainderf): Likewise.
39160 * math/libm-test.inc (remainder_test): Add test cases.
39162 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39164 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39167 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39169 * string/test-memcmp.c: Avoid unncessary #defines.
39170 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39172 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39174 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39175 Use new sse2 version for core i3 - i7 as it's faster
39176 than sse42 version.
39177 (bit_Prefer_PMINUB_for_stringop): New.
39178 * sysdeps/x86_64/rawmemchr.S: Update.
39179 Replace with faster SSE2 version.
39180 * sysdeps/x86_64/memrchr.S: New file.
39181 * sysdeps/x86_64/memchr.S: Update.
39182 Replace with faster SSE2 version.
39184 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39186 * elf/dl-load.c (lose): Add cast to avoid warning.
39188 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39190 * po/ca.po: Update from translation team.
39192 * inet/getnetgrent_r.c: Hook up nscd.
39193 * nscd/Makefile (routines): Add nscd_netgroup.
39194 (nscd-modules): Add netgroupcache.
39195 (CFLAGS-netgroupcache.c): Define.
39196 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39197 (cache_search): Add const to second parameter.
39198 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39200 (dbs): Add netgrdb entry.
39201 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39202 (verify_persistent_db): Handle netgrdb.
39203 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39204 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39206 (netgroup_response_header): Define.
39207 (innetgroup_response_header): Define.
39208 (datahead): Add netgroup_response_header and innetgroup_response_header
39210 * nscd/nscd.conf: Add entries for netgroup cache.
39211 * nscd/nscd.h (dbtype): Add netgrdb.
39212 (_PATH_NSCD_NETGROUP_DB): Define.
39213 (netgroup_iov_disabled): Declare.
39214 (xmalloc, xcalloc, xrealloc): Move declarations here.
39215 (cache_search): Adjust prototype.
39216 Add netgroup-related prototypes.
39217 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39218 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39219 (__nscd_innetgr): Declare.
39220 * nscd/selinux.c (perms): Use access_vector_t as element type and
39221 add netgroup-related initializers.
39222 * nscd/netgroupcache.c: New file.
39223 * nscd/nscd_netgroup.c: New file.
39224 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39225 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39226 For four parameters use innetgr.
39227 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39228 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39229 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39230 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39232 * nscd/connections.c (register_traced_file): Don't register file
39233 for disabled databases.
39235 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39237 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39239 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39240 from tree and freeing node.
39242 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39244 * nss/nsswitch.c (__nss_database_lookup): Handle
39245 nss_parse_service_list out of memory case.
39247 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39249 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39250 out of memory case.
39252 2011-10-04 Andreas Schwab <schwab@redhat.com>
39254 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39255 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39257 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39258 elf_machine_rela, elf_machine_lazy_rel.
39259 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39260 (ELF_DYNAMIC_DO_REL): Likewise.
39261 (ELF_DYNAMIC_DO_RELA): Likewise.
39262 (ELF_DYNAMIC_RELOCATE): Likewise.
39263 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39264 to ELF_DYNAMIC_DO_REL.
39265 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39266 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39267 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39270 skip_ifunc, don't call ifunc function if non-zero.
39271 (elf_machine_rela): Likewise.
39272 (elf_machine_lazy_rel): Likewise.
39273 (elf_machine_lazy_rela): Likewise.
39274 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39275 (elf_machine_lazy_rel): Likewise.
39276 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39278 (elf_machine_lazy_rel): Likewise.
39279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39281 (elf_machine_lazy_rel): Likewise.
39282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39283 (elf_machine_lazy_rel): Likewise.
39284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39285 (elf_machine_lazy_rel): Likewise.
39286 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39287 (elf_machine_lazy_rel): Likewise.
39288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39289 (elf_machine_lazy_rel): Likewise.
39290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39291 (elf_machine_lazy_rel): Likewise.
39292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39293 (elf_machine_lazy_rel): Likewise.
39295 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39297 * nss/nss_files/files-init.c (_nss_files_init): Use static
39298 initialization for all the *_traced_file variables.
39300 2011-09-28 Andreas Schwab <schwab@redhat.com>
39302 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39304 2011-09-27 Roland McGrath <roland@hack.frob.com>
39307 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39309 2011-09-27 Andreas Schwab <schwab@redhat.com>
39311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39312 Reread the line before reparsing it.
39314 2011-09-26 Andreas Schwab <schwab@redhat.com>
39316 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39318 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39319 Maxim Kuvyrkov <maxim@codesourcery.com>
39320 Joseph Myers <joseph@codesourcery.com>
39322 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39323 if needed for __stack_chk_guard.
39325 2011-09-19 Roland McGrath <roland@hack.frob.com>
39327 * sysdeps/posix/spawni.c (script_execute): Always define it.
39328 It will be optimized away if unused.
39329 (maybe_script_execute): New function.
39330 (__spawni): Call it.
39332 * Makerules: Don't include tls.make.
39333 (config-tls): Always set to thread.
39334 * tls.make.c: File removed.
39336 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39338 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39339 * config.make.in (CPPFLAGS-config): New substituted variable.
39341 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39346 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39347 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39349 2011-09-15 Roland McGrath <roland@hack.frob.com>
39351 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39352 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39353 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39354 (CALL_FAIL): Likewise.
39355 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39356 (CALL_FAIL): Macro removed.
39357 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39359 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39361 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39362 for __FINITE_MATH_ONLY__ == 1.
39364 2011-09-15 Andreas Schwab <schwab@redhat.com>
39366 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39367 __ieee754_sqrt instead of sqrt.
39368 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39369 __ieee754_sqrtf instead of sqrtf.
39370 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39371 __floorf instead of floorf.
39372 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39373 __floorf, __truncf instead of floorf, truncf.
39375 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39377 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39379 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39380 __extern_always_inline.
39381 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39384 2011-09-14 Andreas Schwab <schwab@redhat.com>
39386 * elf/rtld.c (dl_main): Also relocate in dependency order when
39387 doing symbol dependency testing.
39389 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39392 Always define `refsym'.
39394 2011-09-13 Andreas Schwab <schwab@redhat.com>
39396 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39397 (__FD_ELT): Renamed from __FDELT.
39398 * misc/bits/select2.h (__FD_ELT): Likewise.
39399 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39400 __FD_MASK instead of __FDELT, __FDMASK.
39401 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39403 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39406 * elf/Makefile (gen-ldd): Fix pattern.
39408 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39409 (init_tls): Likewise.
39411 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39415 2011-09-12 Andreas Schwab <schwab@redhat.com>
39417 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39418 `struct cmsghdr *' instead of `void *'.
39419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39422 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39424 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39426 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39427 ldd_rewrite_script.
39429 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39431 * configure.in: Remove --with-tls option.
39432 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39433 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39434 out in case it is missing.
39435 * sysdeps/ia64/elf/configure.in: Likewise.
39436 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39437 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39438 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39439 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39440 * sysdeps/sh/elf/configure.in: Likewise.
39441 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39442 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39443 * sysdeps/x86_64/elf/configure.in: Likewise.
39444 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39445 * sysdeps/mach/hurd/tls.h: Likewise.
39448 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39451 * configure.in: Fix use of AC_INIT.
39453 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39455 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39457 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39459 * malloc/hooks.c: Likewise.
39462 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39463 variables statically.
39464 (narenas): Initialize.
39465 (list_lock): Initialize.
39466 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39467 initializtion of main_arena and list_lock. Small cleanups.
39468 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39469 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39470 Add initializers to main_arena and mp_.
39471 (malloc_state): Remove pagesize member. Change all users to use
39474 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39475 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39476 is always initialized.
39478 * malloc/malloc.c: Removed unused configurations and dead code.
39479 * malloc/arena.c: Likewise.
39480 * malloc/hooks.c: Likewise.
39481 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39483 * include/tls.h: Removed. USE___THREAD must always be defined.
39484 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39485 * elf/dl-libc.c: Likewise.
39486 * elf/dl-tsd.c: Likewise.
39487 * include/errno.h: Likewise.
39488 * include/netdb.h: Likewise.
39489 * include/resolv.h: Likewise.
39490 * inet/herrno-loc.c: Likewise.
39491 * inet/herrno.c: Likewise.
39492 * malloc/arena.c: Likewise.
39493 * malloc/hooks.c: Likewise.
39494 * malloc/malloc.c: Likewise.
39495 * resolv/res-state.c: Likewise.
39496 * resolv/res_libc.c: Likewise.
39497 * sysdeps/i386/dl-machine.h: Likewise.
39498 * sysdeps/ia64/dl-machine.h: Likewise.
39499 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39500 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39501 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39502 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39503 * sysdeps/sh/dl-machine.h: Likewise.
39504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39505 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39506 * sysdeps/unix/i386/sysdep.S: Likewise.
39507 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39508 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39518 * sysdeps/x86_64/dl-machine.h: Likewise.
39519 * tls.make.c: Likewise.
39521 * configure.in: Remove --with-__thread option. Make tests for
39522 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39523 tls_model attribute fail if no support is available. Remove
39525 * Makeconfig: Adjust for dropped configure option. All features are
39527 * Makerules: Likewise.
39528 * Versions.def: Likewise.
39529 * argp/argp-fmtstream.c: Likewise.
39530 * argp/argp-fmtstream.h: Likewise.
39531 * argp/argp-help.c: Likewise.
39532 * assert/assert.c: Likewise.
39533 * config.h.in: Likewise.
39534 * config.make.in: Likewise.
39535 * configure: Likewise.
39536 * configure.in: Likewise.
39537 * csu/Versions: Likewise.
39538 * csu/init.c: Likewise.
39539 * elf/tst-audit2.c: Likewise.
39540 * elf/tst-tls10.c: Likewise.
39541 * elf/tst-tls10.h: Likewise.
39542 * elf/tst-tls11.c: Likewise.
39543 * elf/tst-tls12.c: Likewise.
39544 * elf/tst-tls14.c: Likewise.
39545 * elf/tst-tlsmod11.c: Likewise.
39546 * elf/tst-tlsmod12.c: Likewise.
39547 * elf/tst-tlsmod13.c: Likewise.
39548 * elf/tst-tlsmod13a.c: Likewise.
39549 * elf/tst-tlsmod14a.c: Likewise.
39550 * elf/tst-tlsmod15b.c: Likewise.
39551 * elf/tst-tlsmod16a.c: Likewise.
39552 * elf/tst-tlsmod16b.c: Likewise.
39553 * elf/tst-tlsmod7.c: Likewise.
39554 * elf/tst-tlsmod8.c: Likewise.
39555 * elf/tst-tlsmod9.c: Likewise.
39556 * gmon/gmon.c: Likewise.
39557 * grp/fgetgrent_r.c: Likewise.
39558 * grp/putgrent.c: Likewise.
39559 * hurd/fopenport.c: Likewise.
39560 * include/libc-symbols.h: Likewise.
39561 * include/tls.h: Likewise.
39562 * intl/gettextP.h: Likewise.
39563 * intl/loadinfo.h: Likewise.
39564 * locale/global-locale.c: Likewise.
39565 * locale/localeinfo.h: Likewise.
39566 * mach/devstream.c: Likewise.
39567 * malloc/arena.c: Likewise.
39568 * malloc/set-freeres.c: Likewise.
39569 * misc/err.c: Likewise.
39570 * misc/getttyent.c: Likewise.
39571 * misc/mntent_r.c: Likewise.
39572 * posix/getopt.c: Likewise.
39573 * posix/wordexp.c: Likewise.
39574 * pwd/fgetpwent_r.c: Likewise.
39575 * resolv/Versions: Likewise.
39576 * resolv/res_hconf.c: Likewise.
39577 * shadow/fgetspent_r.c: Likewise.
39578 * shadow/putspent.c: Likewise.
39579 * stdio-common/printf_fphex.c: Likewise.
39580 * stdio-common/tmpfile.c: Likewise.
39581 * stdlib/abort.c: Likewise.
39582 * stdlib/fmtmsg.c: Likewise.
39583 * sunrpc/auth_unix.c: Likewise.
39584 * sunrpc/clnt_perr.c: Likewise.
39585 * sunrpc/clnt_tcp.c: Likewise.
39586 * sunrpc/clnt_udp.c: Likewise.
39587 * sunrpc/clnt_unix.c: Likewise.
39588 * sunrpc/openchild.c: Likewise.
39589 * sunrpc/svc_simple.c: Likewise.
39590 * sunrpc/svc_tcp.c: Likewise.
39591 * sunrpc/svc_udp.c: Likewise.
39592 * sunrpc/svc_unix.c: Likewise.
39593 * sunrpc/xdr.c: Likewise.
39594 * sunrpc/xdr_array.c: Likewise.
39595 * sunrpc/xdr_rec.c: Likewise.
39596 * sunrpc/xdr_ref.c: Likewise.
39597 * sunrpc/xdr_stdio.c: Likewise.
39599 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39601 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39603 2011-07-03 Andreas Jaeger <aj@suse.de>
39605 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39606 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39607 regenerate with gen-libm-tests.pl.
39609 2010-05-12 Petr Baudis <pasky@suse.cz>
39612 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39613 around j0() zero points by switching to j1().
39614 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39619 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39621 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39623 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39626 Patch in part by Pavel Roskin <proski@gnu.org>.
39629 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39631 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39632 Free memory block if necessary.
39635 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39636 be NULL. Don't lock in this case.
39638 2011-09-09 Roland McGrath <roland@hack.frob.com>
39640 * elf/elf.h (ELFOSABI_GNU): New macro.
39641 (ELFOSABI_LINUX): Define to that.
39643 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39645 * string/strncat.c (strncat): Undef the symbol in case it has been
39646 defined in bits/string.h.
39648 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39650 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39652 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39655 2011-08-17 Andreas Jaeger <aj@suse.de>
39657 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39659 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39660 Ian Lance Taylor <iant@google.com>
39662 * math/libm-test.inc (lround_test): New testcase.
39663 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39665 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39667 * Makefile: Remove support for automatic cvs check-ins.
39668 * Makerules: Likewise.
39669 * config.make.in: Likewise.
39670 * configure.in: Likewise.
39671 * intl/Makefile: Likewise.
39672 * locale/Makefile: Likewise.
39673 * po/Makefile: Likewise.
39674 * posix/Makefile: Likewise.
39675 * sysdeps/gnu/Makefile: Likewise.
39676 * sysdeps/mach/hurd/Makefile: Likewise.
39677 * sysdeps/sparc/sparc32/Makefile: Likewise.
39680 * posix/Makefile (bug-regex32-ENV): Define.
39681 Patch by John Stanley <jpsinthemix@verizon.net>.
39683 * misc/Makefile (headers): Add bits/select2.h.
39684 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39685 * misc/bits/select2.h: New file.
39686 * include/bits/select2.h: New file.
39687 * debug/Makefile (routines): Add fdelt_chk.
39688 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39689 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39691 * debug/fdelt_chk.c: New file.
39693 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39694 * wcsmbs/test-wmemcmp.c: Likewise.
39695 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39696 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39698 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39700 * string/Makefile (strop-tests): Add memcmp.
39701 * string/test-wmemcmp.c: New file.
39702 * string/test-memcmp.c: Add wmemcmp support.
39704 2011-09-08 Roland McGrath <roland@hack.frob.com>
39707 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39710 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39711 garbage value in a __mach_port_mod_refs call in the cases of the
39712 task-self and thread-self ports.
39714 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39716 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39718 2011-09-08 Andreas Schwab <schwab@redhat.com>
39720 * elf/dl-load.c (lose): Check for non-null L.
39722 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39724 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39726 * elf/dl-libc.c (dlerror_run): Pass back error code from
39730 * elf/dl-load.c (lose): Free l_origin if it is valid.
39732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39734 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39736 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39737 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39738 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39739 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39741 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39743 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39744 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39745 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39746 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39747 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39748 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39749 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39750 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39751 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39752 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39754 2011-08-15 Alan Modra <amodra@gmail.com>
39757 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39758 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39759 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39760 ppc_mcount to static-only-routines.
39761 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39763 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39764 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39766 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39768 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39769 for finite and infinity parameters.
39771 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39773 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39774 and add nop instructions for throughput optimization.
39775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39777 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39780 aligned copy for power7 with vector-scalar instructions.
39781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39783 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39788 2011-09-07 Andreas Schwab <schwab@redhat.com>
39791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39794 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39796 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39797 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39798 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39799 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39802 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39805 Forgot to demangle the pointer.
39807 * sysdeps/i386/sysdep.h: Define atom_text_section.
39808 * sysdeps/x86_64/sysdep.h: Likewise.
39809 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39810 section with atom_text_section.
39811 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39813 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39815 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39817 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39819 already be defined. Change to take two parameters and don't assign
39820 result to variable. Adjust all users.
39821 Define INTERNAL_GETTIME if not already defined.
39822 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39825 HAVE_CLOCK_GETTIME_VSYSCALL.
39826 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39829 gettimeofday vsyscall, just use time.
39831 2011-09-06 Andreas Schwab <schwab@redhat.com>
39833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39836 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39838 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39840 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39842 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39844 syscall if possible.
39846 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39848 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39849 e_ident. Don't pass to find_mapsXX.
39850 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39852 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39855 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39856 * sysdeps/x86_64/multiarch/strchr.S: Update.
39857 Check bit_slow_BSF bit.
39858 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39859 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39862 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39865 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39867 (tryshell): Define.
39868 (__spawni): Change last parameter to be flag. Test
39869 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39870 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39871 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39872 * posix/spawni.c: Likewise.
39873 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39874 * posix/spawnp.c: Likewise. Change normal version to use
39875 SPAWN_XFLAGS_USE_PATH.
39876 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39877 SPAWN_XFLAGS_TRY_SHELL.
39880 * posix/glob.h: Remove gcc 1.x support.
39883 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39885 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39888 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39890 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39891 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39892 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39894 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39895 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39897 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39899 * sysdeps/x86_64/wcscmp.S: New file.
39901 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39902 wcscmp-c wcscmp-sse2
39903 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39904 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39906 * wcsmbs/wcscmp.c: Allow renaming.
39908 2011-09-05 David S. Miller <davem@davemloft.net>
39910 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39911 stack slot, rather than the struct return pointer slot.
39912 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39913 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39915 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39917 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39919 * po/ja.po: Update from translation team.
39922 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39923 kernel in 64-bit binaries.
39925 2011-09-01 David S. Miller <davem@davemloft.net>
39927 * elf/elf.h (HWCAP_SPARC_*): Move to..
39928 * sysdeps/sparc/sysdep.h: this new file and add new values.
39929 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39930 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39931 _DL_HWCAP_COUNT to 24.
39932 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39934 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39935 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39936 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39938 instead of magic constants.
39939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39941 2011-08-31 David S. Miller <davem@davemloft.net>
39943 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39945 Reimplement to do errno handling inline.
39946 (SYSCALL_ERROR_HANDLER): New macro.
39947 (__SYSCALL_STRING): Do not do errno handling in asm.
39948 (__CLONE_SYSCALL_STRING): Delete.
39949 (__INTERNAL_SYSCALL_STRING): Delete.
39950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39951 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39952 (PSEUDO): Reimplement to do errno handling inline.
39953 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39954 (SYSCALL_ERROR_HANDLER): New macro.
39955 (__SYSCALL_STRING): Do not do errno handling in asm.
39956 (__CLONE_SYSCALL_STRING): Delete.
39957 (__INTERNAL_SYSCALL_STRING): Delete.
39958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39959 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39961 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39962 (inline_syscall*): Add 'err' argument.
39963 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39964 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39965 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39966 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39968 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39969 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39971 2011-08-30 Andreas Schwab <schwab@redhat.com>
39973 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39975 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39977 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39980 2011-08-24 David S. Miller <davem@davemloft.net>
39982 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39984 2011-08-24 Andreas Schwab <schwab@redhat.com>
39986 * elf/Makefile: Add rules to build and run unload8 test.
39987 * elf/unload8.c: New file.
39988 * elf/unload8mod1.c: New file.
39989 * elf/unload8mod1x.c: New file.
39990 * elf/unload8mod2.c: New file.
39991 * elf/unload8mod3.c: New file.
39993 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39996 2011-08-23 David S. Miller <davem@davemloft.net>
39998 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39999 subtract stack bias.
40000 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40001 %sp not %fp in calculations.
40002 (_JMPBUF_UNWINDS_ADJ): Likewise.
40004 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40005 (aio_suspend): Call it to force an exception region around the
40006 AIO_MISC_WAIT() invocation.
40008 2011-08-23 Andreas Schwab <schwab@redhat.com>
40010 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40013 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40015 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40017 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40018 and <dl-machine.h>.
40019 (Elf64_FuncDesc): Remove.
40021 2011-08-22 David S. Miller <davem@davemloft.net>
40023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40024 sigaltstack check, add missing cfi directives.
40025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40026 missing cfi directives, and sigaltstack handling.
40028 2011-08-16 Andreas Schwab <schwab@redhat.com>
40031 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40032 object is seen twice.
40033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40035 * elf/Makefile (distribute): Add tst-initorder2.c.
40036 (tests): Add tst-initorder2.
40037 (modules-names): Add tst-initorder2a tst-initorder2b
40038 tst-initorder2c tst-initorder2d. Add rules to build them.
40039 ($(objpfx)tst-initorder2.out): New rule.
40040 * elf/tst-initorder2.c: New file.
40041 * elf/tst-initorder2.exp: New file.
40043 2011-08-22 Andreas Schwab <schwab@redhat.com>
40045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40047 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40048 dependencies back to end of function.
40050 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40051 $(elfobjdir)/ld.so.
40053 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40056 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40058 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40059 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40060 of __vdso_gettimeofday.
40061 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40062 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40064 (_libc_vdso_platform_setup): Remove initialization of
40065 __vdso_gettimeofday and __vdso_time.
40067 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40069 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40070 and fgetc_unlocked.
40071 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40074 * elf/dl-open.c (add_to_global): Report additions to the global scope
40075 for LD_DEBUG=scopes.
40076 (dl_open_worker): Also print scope of newly loaded dependencies.
40077 (_dl_show_scope): Indicate if there is no scope.
40080 * stdio-common/Makefile (tests): Add bug24.
40081 * stdio-common/bug24.c: New file.
40083 2011-08-19 Andreas Jaeger <aj@suse.de>
40086 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40087 non-existant file when using close-on-exec mode.
40089 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40092 the very first instruction.
40094 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40095 the CFI state in the end.
40096 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40097 inclusion of dl-trampoline.h.
40098 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40100 2011-08-19 Andreas Schwab <schwab@redhat.com>
40102 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40103 expectations for long double.
40105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40106 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40108 2011-08-14 David S. Miller <davem@davemloft.net>
40110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40111 artificual limit depends upon the system page size.
40113 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40115 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40116 * resolv/Makefile: Define CFLAGS-libresolv.
40118 2011-08-17 Andreas Schwab <schwab@redhat.com>
40120 * nss/makedb.c (compute_tables): Make variables used in nested
40123 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40125 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40126 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40127 if buffer was too small.
40129 * elf/pldd.c (main): Attach to all threads in the process.
40130 Rewrite /proc handling to use *at functions.
40132 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40134 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40135 specifies first scope to show.
40136 (dl_open_worker): Update callers. Move printing scope of new
40137 object to before the relocation.
40138 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40139 * sysdeps/generic/ldsodefs.h: Update declaration.
40141 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40142 string for the scope number.
40144 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40146 * nscd/servicescache.c (cache_addserv): Make sure written is always
40149 2011-08-14 Roland McGrath <roland@hack.frob.com>
40151 * sysdeps/i386/i486/bits/atomic.h
40152 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40153 statement expression, so as to suppress "set but not used" warning.
40154 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40156 * string/strncat.c (STRNCAT): Use prototype definition.
40158 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40159 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40161 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40162 (localedef-modules): Add localedef.
40163 (locale-modules): Add locale.
40165 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40166 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40167 to avoid a warning.
40169 2011-08-14 David S. Miller <davem@davemloft.net>
40171 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40172 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40174 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40176 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40177 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40178 * elf/rtld.c (dl_main): Set l_name of vDSO.
40179 Call _dl_show_scope when DL_DEBUG_SCOPES.
40180 (process_dl_debug): Recognize scopes flag and also set it for all.
40181 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40182 Declare _dl_show_scope.
40184 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40185 (do_dlopen): Pass caller_dlopen to dl_open.
40186 (__libc_dlopen_mode): Initialize caller_dlopen.
40188 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40189 of libc. Make tolower call locale-independent. Optimize a bit by
40190 using isdigit instead of isalnum.
40191 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40193 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40195 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40196 was a dependency or dynamically loaded.
40198 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40200 * intl/l10nflist.c: Allow architecture-specific pop function.
40201 * sysdeps/x86_64/l10nflist.c: New file.
40203 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40206 2011-08-10 Andreas Schwab <schwab@redhat.com>
40208 * include/dirent.h: Add libc_hidden_proto for scandirat and
40209 scandirat64. Don't declare __scandirat64.
40210 * dirent/scandirat.c: Add libc_hidden_def.
40211 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40212 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40214 2011-08-10 David S. Miller <davem@davemloft.net>
40216 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40220 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40222 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40224 * Versions.def [libc]: Add GLIBC_2.15.
40225 * dirent/Makefile (routines): Add scandirat and scandirat64.
40226 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40228 * dirent/dirent.h: Declare scandirat and scandirat64.
40229 * dirent/scandirat.c: New file.
40230 * dirent/scandirat64.c: New file.
40231 * sysdeps/wordsize-64/scandirat.c: New file.
40232 * sysdeps/wordsize-64/scandirat64.c: New file.
40233 * dirent/opendir.c: Define opendirat.
40234 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40236 * dirent/scandir64.c: Adjust for scandir.c change.
40237 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40238 __scandirat64, and __scandir_cancel_handler.
40239 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40240 additional parameter and use openat instead of open (outside of ld.so).
40241 Add new __opendir as wrapper around __opendirat.
40242 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40243 here without requiring old scandirat implementation.
40245 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40247 * dirent/scandir.c (cancel_handler): Renamed to
40248 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40249 defined. Adjust users.
40250 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40253 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40255 * string/test-string.h (IMPL): Use __STRING to expand name and then
40258 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40261 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40263 * string/Makefile: Update.
40264 (strop-tests): Append strncat.
40265 * string/test-wcscmp.c: New file.
40266 New comprehensive test for wcscmp.
40267 * string/test-strcmp.c: Update.
40268 (WIDE): New define.
40270 2011-07-22 Andreas Schwab <schwab@redhat.com>
40272 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40275 2011-07-26 Andreas Schwab <schwab@redhat.com>
40277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40278 encoding to ACE if AI_IDN.
40280 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40283 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40285 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40288 Fix overflow bug in strncat.
40289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40291 * string/test-strncat.c: Update.
40292 Add new tests for checking overflow bugs.
40294 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40297 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40298 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40299 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40300 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40301 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40302 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40303 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40304 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40306 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40307 (USE_AS_STRCAT): Define.
40308 Add strcat and strncat support.
40309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40311 2011-07-25 Andreas Schwab <schwab@redhat.com>
40313 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40314 __n bigger than INT_MAX+1.
40315 (__strncmp_g): Likewise.
40317 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40319 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40320 * libio/stido.h: Likewise.
40322 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40327 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40330 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40334 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40339 (_dl_x86_64_save_sse): Likewise.
40341 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40345 (_dl_x86_64_save_sse): Likewise.
40347 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40349 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40351 2011-07-21 Andreas Schwab <schwab@redhat.com>
40353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40355 (_dl_x86_64_save_sse): Use correct AVX check.
40357 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40360 bug in strncpy/strncat.
40361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40363 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40365 * string/tester.c (test_strcat): Add tests for different alignments
40366 of source and destination.
40367 (test_strncat): Likewise.
40369 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40372 * posix/glob.c (glob): Check passed in values before using them in
40373 expressions to avoid some overflows.
40374 (glob_in_dir): Likewise.
40377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40378 check for AVX enablement so that we don't crash with old kernels and
40380 * elf/tst-audit4.c: Add same checks here.
40381 * elf/tst-audit6.c: Likewise.
40383 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40385 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40387 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40389 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40391 * po/cs.po: Update from translation team.
40392 * po/bg.po: Likewise.
40394 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40396 * misc/sys/cdefs.h: Add support for const attribute.
40397 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40398 to gnu_dev_{major,minor,makedev} functions.
40400 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40402 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40404 2011-07-20 Andreas Schwab <schwab@redhat.com>
40406 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40409 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40412 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40413 register in order to avoid conflicts with the soft frame pointer
40414 being held in r11 when necessary.
40415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40416 (INTERNAL_VSYSCALL_NCS): Likewise.
40418 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40420 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40421 * elf/dl-fini.c (_dl_fini): Adjust caller.
40422 * elf/dl-close.c (_dl_close_worker): Likewise.
40423 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40425 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40427 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40428 "aux_cache->nlibs < 0".
40430 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40431 in the reload-count case.
40433 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40436 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40437 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40439 * sysdeps/x86_64/multiarch/strcat.S: New file.
40440 * sysdeps/x86_64/multiarch/strncat.S: New file.
40441 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40442 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40443 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40444 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40446 (USE_AS_STRCAT): Define.
40447 Add strcat and strncat support.
40448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40450 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40451 * string/strncat.c: Update.
40452 (USE_AS_STRNCAT): Define.
40453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40454 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40456 * sysdeps/x86_64/multiarch/init-arch.h
40457 (bit_Prefer_PMINUB_for_stringop): New.
40458 (index_Prefer_PMINUB_for_stringop): Likewise.
40459 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40460 bit_Prefer_PMINUB_for_stringop.
40462 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40464 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40466 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40467 of casting of buffer.
40468 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40469 buffer32 and buffer64.
40470 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40471 writes instead of casting of buffer.
40472 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40474 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40477 2011-07-19 Andreas Schwab <schwab@redhat.com>
40479 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40481 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40483 * nscd/nscd.c (termination_handler): Don't do anything for a database
40484 if it has not yet been initialized.
40486 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40488 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40490 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40492 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40494 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40496 * po/nl.po: Update from translation team.
40497 * po/sv.po: Likewise.
40499 2011-07-16 Roland McGrath <roland@hack.frob.com>
40501 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40502 now disallowed by GCC.
40504 * configure.in (use-default-link): Default to yes if a test -shared
40505 link meets our qualifications.
40506 * configure: Regenerated.
40508 * config.make.in (output-format): New variable.
40509 * configure.in: Check for ld --print-output-format support.
40510 * configure: Regenerated.
40511 * Makerules ($(common-objpfx)format.lds)
40512 [$(output-format) != unknown]: Just use $(output-format),
40513 instead of the linker-script munging.
40515 2011-07-14 Roland McGrath <roland@hack.frob.com>
40517 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40518 of $(common-objpfx)shlib.lds.
40519 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40521 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40522 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40524 * configure.in (-z relro check): Adjust test code to add a large
40525 writable data section after it.
40526 * configure: Regenerated.
40528 2011-07-11 Roland McGrath <roland@hack.frob.com>
40530 * configure.in (-z relro check): Fix test code to make the variable
40532 * configure: Regenerated.
40534 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40536 * nscd/nscd.h (struct traced_file): Define.
40537 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40538 elements. Add traced_files.
40539 (inotify_fd): Declare.
40540 (register_traced_file): Declare.
40541 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40542 (inotify_fd): Export.
40543 (resolv_conf_descr): Remove.
40544 (nscd_init): Move inotify descriptor creation to main.
40545 Don't register files for notification here.
40546 (register_traced_file): New function.
40547 (invalidate_cache): Don't use reset_res to determine whether to call
40548 res_init, go through the list of registered files.
40549 (main_loop_poll): The inotify descriptors are now stored in the
40550 structures for the traced files.
40551 (main_loop_epoll): Likewise
40552 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40553 to __nss_disable_nscd.
40554 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40555 for a database anymore. Check the records for all the registered
40557 * nss/Makefile (libnss_files-routines): Add files-init.
40558 (libnss_db-routines): Add db-init.
40559 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40560 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40561 * nss/nss_db/db-init.c: New file.
40562 * nss/nss_files/files-init.c: New file.
40563 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40564 __nss_lookup_function.
40565 (__nss_lookup_function): Call nss_load_library.
40566 (nss_load_all_libraries): New function.
40567 (__nss_disable_nscd): Take parameter with callback function for files
40568 to register. Set is_nscd. Load all the DSOs for the NSS modules
40569 used for the cached services.
40570 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40571 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40572 options for features to all the files in nscd.
40574 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40576 2011-07-10 Roland McGrath <roland@hack.frob.com>
40578 * csu/elf-init.c (__libc_csu_init): Comment typo.
40580 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40582 * po/pl.po: Update from translation team.
40583 * po/ja.po: Likewise.
40584 * po/ru.po: Likewise.
40585 * po/ko.po: Likewise.
40586 * po/fr.po: Likewise.
40588 2011-07-09 Roland McGrath <roland@hack.frob.com>
40590 * configure.in (.ctors/.dtors header and trailer check):
40591 Use an empirical test on a built program.
40592 * configure: Regenerated.
40594 * configure.in (-z relro check): Use an empirical test on a built DSO.
40595 Detect, but do not require, on ia64.
40596 * configure: Regenerated.
40598 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40599 Update tests that use readelf to use $READELF instead.
40600 * configure: Regenerated.
40602 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40604 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40605 if the result is not used.
40607 2011-07-05 Andreas Jaeger <aj@suse.de>
40610 * stdlib/tst-strtod.c: Add testcase.
40612 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40614 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40615 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40616 The latter has a higher limit. Take additional parameter to pass to
40618 (__pathconf): Pass file to __statfs_link_max.
40619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40621 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40625 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40629 (__statfs_filesize_max): Likewise.
40630 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40632 2011-07-05 Andreas Jaeger <aj@suse.de>
40634 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40636 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40638 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40640 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40643 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40645 * Makefile (strop-tests): Add strncat.
40646 * string/test-strncat.c: New file.
40648 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40650 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40652 2011-06-21 Andreas Jaeger <aj@suse.de>
40654 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40655 Copy rule from iconvdata/Makefile.
40657 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40660 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40661 but no long options are defined, just return 'W'.
40663 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40666 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40668 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40670 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40672 (innetgr): Likewise.
40674 2011-07-05 Roland McGrath <roland@hack.frob.com>
40676 * config.make.in (install_root): Default to $(DESTDIR).
40678 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40680 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40682 2011-07-02 Roland McGrath <roland@hack.frob.com>
40684 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40686 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40687 containing directory rather than embedding absolute directory names.
40689 * scripts/check-local-headers.sh: Rewritten using awk.
40690 Match by word, not by line. Print error messages for matches.
40691 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40693 * Makerules [shlib-lds-flags empty]:
40694 ($(common-objpfx)libc_pic.opts): New target.
40695 ($(common-objpfx)libc_pic.os.clean): New target.
40696 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40698 * config.make.in (OBJCOPY): New variable.
40699 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40700 * configure: Regenerated.
40702 * config.make.in (use-default-link): New variable.
40703 * configure.in (use_default_link): Grok --with-default-link to set it.
40704 * configure: Regenerated.
40705 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40706 (shlib-lds, shlib-lds-flags): Define to empty.
40708 * Makerules (shlib-lds): New variable.
40709 (shlib-lds-flags): New variable.
40710 (build-shlib, build-moduile, build-module-asneeded): Use it.
40711 ($(common-objpfx)libc.so): Use $(shlib-lds).
40712 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40713 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40715 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40716 DT_FLAGS/DT_FLAGS_1 with zero flags.
40718 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40719 linker script munging.
40721 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40723 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40725 * crypt/sha512.c (sha512_process_block): Perform total addition using
40726 128-bit if possible.
40727 (__sha512_finish_ctx): Likewise.
40728 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40730 * crypt/sha256.c (SWAP64): Define.
40731 (sha256_process_block): Perform total addition using 64-bit if
40733 (__sha256_finish_ctx): Likewise.
40735 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40737 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40739 * nscd/hstcache.c (cache_addhst): Likewise.
40740 * nscd/grpcache.c (cache_addgr): Likewise.
40741 * nscd/aicache.c (addhstaiX): Likewise
40742 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40744 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40746 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40748 * nscd/hstcache.c (cache_addhst): Likewise.
40749 * nscd/grpcache.c (cache_addgr): Likewise.
40750 * nscd/aicache.c (addhstaiX): Likewise
40752 2011-07-01 Andreas Schwab <schwab@redhat.com>
40754 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40755 domain only when needed.
40757 2011-06-30 Andreas Schwab <schwab@redhat.com>
40759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40760 is always restored.
40762 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40764 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40765 are re-adding the entry.
40766 * nscd/servicescache.c (cache_addserv): Likewise.
40768 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40770 * sysdeps/generic/dl-irel.h: fix protection against multiple
40772 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40774 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40777 * malloc/memusage.sh: Fix quoting in message.
40778 * debug/xtrace.sh: Likewise.
40780 * configure.in: Remove support for --experimental-malloc option, make
40782 * config.make.in: Likewise.
40783 * malloc/Makefile: Likewise.
40785 2011-06-27 Andreas Schwab <schwab@redhat.com>
40787 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40788 two-byte characters.
40790 2011-06-27 Roland McGrath <roland@hack.frob.com>
40792 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40793 AC_CACHE_CHECK invocation.
40794 * configure: Regenerated.
40796 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40798 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40801 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40802 bit from old_res_options.
40804 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40806 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40807 value type for setfct.
40809 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40812 __gettimeofday instead of gettimeofday.
40814 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40816 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40818 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40825 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40828 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40829 strcpy-sse2-unaligned strncpy-sse2-unaligned
40830 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40831 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40832 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40833 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40834 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40837 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40838 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40839 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40840 (STRCPY): Support SSE2 and SSSE3 versions.
40842 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40846 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40847 kernels which artificially limit size of requests.
40849 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40852 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40853 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40854 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40855 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40856 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40857 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40858 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40859 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40860 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40861 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40862 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40863 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40864 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40865 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40867 Enable unaligned load optimization for Intel Core i3, i5 and i7
40869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40871 (index_Fast_Unaligned_Load): Define.
40872 (HAS_FAST_UNALIGNED_LOAD): Define.
40874 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40876 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40878 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40882 until it is clear that the information is realy needed.
40883 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40885 2011-06-22 Andreas Schwab <schwab@redhat.com>
40887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40889 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40892 /sys/devices/system/cpu/online if it is usable.
40894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40895 reading the information from the /proc filesystem to once a second.
40897 2011-06-21 Andreas Jaeger <aj@suse.de>
40899 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40900 NULL after inclusion of kernel headers.
40902 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40904 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40905 calls to internal_setent.
40908 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40909 addresses using gethostbyname4_r ignore IPv4 addresses.
40911 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40912 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40914 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40916 2011-06-20 David S. Miller <davem@davemloft.net>
40918 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40920 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40922 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40923 (elf_irel): Use it.
40924 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40925 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40926 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40927 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40928 * sysdeps/x86_64/dl-irel.h: Likewise.
40930 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40931 * elf/dl-sym.c: Likewise.
40933 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40935 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40936 need to dereference resplen2.
40938 2011-06-14 Andreas Schwab <schwab@redhat.com>
40940 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40942 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40944 * Makeconfig: Define vardbdir and inst_vardbdir.
40945 * nss/Makefile: Add rules to install db-Makefile.
40947 * nss/nss_db/db-XXX.c: Cleanup.
40949 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40950 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40952 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40953 * nss/makedb.c: Implement -g option to specify that value strings
40954 are generated and should not be added to table iterated over for
40956 * nss/nss_db/db-initgroups.c: New file.
40958 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40961 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40962 (internal_getgrouplist): Adjust to name change.
40963 Update use_initgroups_entry if this is not the first call.
40964 * nss/databases.def: Add initgroups entry.
40966 * nss/makedb.c (compute_tables): Check result of multiple hash table
40967 sizes to minimize maximum chain length.
40969 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40971 * Versions.def: Add entry for libnss_db.
40972 * shlib-versions: Likewise.
40973 * nss/Makefile: Add rules to build libnss_db.
40974 * nss/Versions: Add libnss_db information. Organize libnss_files
40976 * nss/db-Makefile: Add gshadow support. Change rules for the new
40977 makedb progra. Some minor improvements to generate smaller files.
40978 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40980 * nss/makedb.c: ...here.
40981 Improve database format to be smaller and require less memory at
40983 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40985 * nss/nss_db/db-netgrp.c: Likewise.
40986 * nss/nss_db/db-open.c: Likewise.
40987 * nss/nss_files/flies-XXX.x: Adjust comments.
40988 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40989 * nss/nss_files/files-grp.c: Likewise.
40990 * nss/nss_files/files-hosts.c: Likewise.
40991 * nss/nss_files/files-network.c: Likewise.
40992 * nss/nss_files/files-proto.c: Likewise.
40993 * nss/nss_files/files-pwd.c: Likewise.
40994 * nss/nss_files/files-rpc.c: Likewise.
40995 * nss/nss_files/files-service.c: Likewise.
40996 * nss/nss_files/files-sgrp.c: Likewise.
40997 * nss/nss_files/files-spwd.c: Likewise.
40998 * nss/nss_db/db-alias.c: Removed.
40999 * nss/nss_db/dummy-db.h: Removed.
41001 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41003 * nss/makedb.c: Rewritten to not use database library.
41004 * nss/Makefile: Update to build new makedb program.
41006 2011-06-14 Andreas Jaeger <aj@suse.de>
41008 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41009 memset declaration.
41011 2011-06-10 Andreas Schwab <schwab@redhat.com>
41013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41016 2011-06-10 Roland McGrath <roland@hack.frob.com>
41018 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41019 * elf/Makefile ($(objpfx)ld.so): Likewise.
41021 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41022 Don't list ld.so twice in dependencies.
41024 * posix/bug-regex31.c: Include <stdlib.h>.
41026 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41028 * nis/nss_compat/compat-spwd.c
41029 (getspent_next_nss_netgr): Remove unused variable.
41030 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41032 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41033 nonmembers" output to use the right array.
41035 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41037 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41039 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41040 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41041 * catgets/gencat.c (read_input_file): Likewise.
41042 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41044 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41045 variable definition inside #if's controlling its use.
41047 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41049 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41051 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41053 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41056 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41058 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41059 * configure: Regenerated.
41061 * Makerules: Revert last change.
41062 * elf/Makefile: Likewise.
41064 2011-06-09 Roland McGrath <roland@hack.frob.com>
41066 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41067 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41068 (reloc-link): Likewise.
41070 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41072 * elf/Makefile: Add rules to build pldd.
41073 * elf/pldd.c: New file.
41074 * elf/pldd-xx.c: New file.
41076 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41078 * version.h: Update for 2.15 development version.
41080 2011-06-07 David S. Miller <davem@davemloft.net>
41082 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41084 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41085 elf_machine_lazy_rel): Likewise.
41086 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41087 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41088 elf_machine_lazy_rel): Likewise.
41089 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41090 dl_hwcap via passed in argument.
41091 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41094 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41096 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41098 2011-06-06 Roland McGrath <roland@hack.frob.com>
41101 * manual/fdl-1.1.texi: New file, verbatim from:
41102 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41103 * manual/lgpl-2.1.texi: New file, verbatim from:
41104 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41105 * manual/Makefile (licenses): New variable, list those new file names.
41107 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41109 * manual/fdl.texi: File removed.
41110 * manual/lesser.texi: File removed.
41111 * manual/libc.texinfo (Copying, Documentation License):
41112 Use new @include file names, put @appendix directive before @include.
41114 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41117 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41118 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41119 (mq_open): Add __NTH.
41121 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41124 Assume Intel Core i3/i5/i7 processor if AVX is available.
41126 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41131 2011-05-31 Andreas Schwab <schwab@redhat.com>
41133 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41134 memory. Use alloca_account. Fix memory leak when retrying.
41136 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41138 * version.h (RELEASE): Bump for 2.14 release.
41139 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41141 * config.make.in (RANLIB): Remove entry.
41143 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41145 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41146 (libc.pot): Work around missing support for .ksh extension in xgettext.
41149 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41150 if both request failed.
41151 (send_dg): In case of server errors clear resplen or *resplen2.
41154 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41155 when there are multiple maps.
41156 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41157 (_dl_fini): Remove test here.
41159 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41161 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41164 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41165 bit from old_res_options.
41166 (gaih_inet): Likewise.
41169 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41172 * resolv/res_init.c (res_setoptions): Make the code more compact.
41175 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41179 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41181 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41184 * malloc/malloc.h: Declare malloc hook variables as volatile.
41186 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41190 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41191 raise in the comment.
41192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41194 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41196 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41199 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41200 grow the buffers more if it already has to be sufficient.
41201 (build_wcs_upper_buffer): Likewise.
41202 * posix/regexec.c (check_matching): Likewise.
41203 (clean_state_log_if_needed): Likewise.
41204 (extend_buffers): Don't enlarge buffers beyond size of the input
41206 Patches mostly by Emil Wojak <emil@wojak.eu>.
41207 * posix/bug-regex32.c: New file.
41208 * posix/Makefile (tests): Add bug-regex32.
41210 * locale/findlocale.c (_nl_find_locale): Return right away if
41211 _nl_explode_name failed.
41212 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41214 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41216 * debug/xtrace.sh: Unify messages.
41217 * malloc/memusage.sh: Likewise.
41220 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41221 time symbol from vDSO. Substitute with vsyscall if not available.
41222 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41225 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41226 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41227 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41228 Add sendmmsg and internal_sendmmsg.
41229 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41230 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41231 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41233 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41234 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41237 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41240 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41241 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41247 * iconvdata/Makefile (tests): Add bug-iconv9.
41248 * iconvdata/bug-iconv9.c: New file.
41250 2011-05-27 Andreas Schwab <schwab@redhat.com>
41253 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41255 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41258 (struct user_regs_struct): Change intcs field back to cs.
41260 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41262 * po/ja.po: Update from translation team.
41264 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41267 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41268 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41270 2011-05-20 Andreas Schwab <schwab@redhat.com>
41272 * stdlib/longlong.h: Update from GCC.
41274 2011-05-23 Andreas Schwab <schwab@redhat.com>
41276 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41278 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41279 Add parameter name.
41280 (__sysconf): Pass it down.
41282 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41285 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41287 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41288 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41289 add in in __libc_use_alloca calls. Adjust callers.
41290 (glob): Use malloc in some situations.
41292 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41293 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41296 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41298 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41299 and CLOCK_BOOTTIME_ALARM.
41302 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41305 * string/_strerror.c (__strerror_r): Print negative errors as signed
41309 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41310 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41311 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41313 * configure.in: Fix typo in redirection and correct removal of test
41314 files in two cases.
41317 * locale/setlocale.c (new_composite_name): Fix test to check for
41318 identical name of all categories.
41321 * libio/filedoalloc.c (local_isatty): New function.
41322 (_IO_file_doallocate): Use local_isatty.
41323 * stdio-common/perror.c (perror): In case a new stream is used
41324 forward the stream error.
41325 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41328 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41333 * include/alloca.h (extend_alloca_account): Define.
41336 * posix/regex.h: Fix comments with documentation of user-accessible
41337 fields after compilation and describe correct free'ing of pattern
41338 after re_compile_pattern.
41339 Patch by Reuben Thomas <rrt@sc3d.org>.
41341 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41343 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41344 and -mno-altivec to prevent the compiler from using Altivec and/or
41345 VSX instructions when the corresponding registers are not available.
41347 2011-05-19 Andreas Schwab <schwab@redhat.com>
41349 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41351 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41353 * libio/freopen.c (freopen): Use __dup2, not dup2.
41354 * libio/freopen64.c (freopen64): Likewise.
41356 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41359 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41360 * math/Makefile (tests): Add test-powl.
41361 (CFLAGS-test-powl.c): Define.
41362 * math/test-powl.c: New file.
41364 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41366 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41368 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41371 * iconvdata/gb18030.c: Update to GB18020-2005.
41373 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41375 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41376 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41377 Patch by Aharon Robbins <arnold@skeeve.com>.
41380 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41384 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41385 through underflows.
41388 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41389 point to strings before performing equality test for error_one_per_line
41393 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41397 (struct user_fpregs_struct): Avoid __uint*_t types.
41400 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41401 symbol info. Use it instead of calling _dl_addr locally.
41402 (lock_and_info): New function.
41403 (tr_freehook): Call lock_and_info and pass symbol info as additional
41404 parameter to tr_where.
41405 (tr_mallochook): Likewise.
41406 (tr_reallochook): Likewise.
41407 (tr_memalignhook): Likewise.
41409 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41410 used and couldn't be at all thread-safe.
41412 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41414 * libio/freopen.c (freopen): Don't close old file descriptor
41415 before the new one is opened. Instead dup the new file descriptor
41416 to the old one after the new stream is created.
41417 * libio/freopen64.c (freopen64): Likewise.
41418 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41419 * libio/fileops.c (_IO_new_file_close_it): Handle new
41420 _IO_FLAGS2_NOCLOSE flag.
41421 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41422 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41423 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41424 _IO_FLAGS2_NOCLOSE flag.
41425 * include/unistd.h: Add hidden_proto for dup3.
41426 Define __have_dup3.
41427 * io/dup3.c: Define hidden symbol.
41428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41431 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41432 when an incomplete long option is used.
41433 * posix/tst-getopt_long1.c: New file.
41434 * posix/Makefile (tests): Add tst-getopt_long1.
41437 * scripts/config.guess: Update from autoconf-2.68.
41438 * scripts/config.sub: Likewise.
41441 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41443 (has_cpuclock): ...this. New function.
41444 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41445 macro here based on has_cpuclock code.
41448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41449 First byte (not low byte) is now always NUL.
41450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41453 Use non-cancelable interfaces.
41456 * locale/iso-639.def: Add entry for Sorani.
41459 * include/stdlib.h: Move include protection to the right place.
41460 Define abort_msg_s. Declare __abort_msg with it.
41461 * stdlib/abort.c (__abort_msg): Adjust type.
41462 * assert/assert.c (__assert_fail_base): New function. Majority
41463 of code from __assert_fail. Allocate memory for __abort_msg with
41465 (__assert_fail): Now call __assert_fail_base.
41466 * assert/assert-perr.c: Remove bulk of implementation. Use
41467 __assert_fail_base.
41468 * include/assert.hL Declare __assert_fail_base.
41469 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41471 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41473 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41477 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41478 until all modules are registered in the DTV.
41479 * elf/Makefile: Add rules to build and run tst-tls19.
41480 * elf/tst-tls19.c: New file.
41481 * elf/tst-tls19mod1.c: New file.
41482 * elf/tst-tls19mod2.c: New file.
41483 * elf/tst-tls19mod3.c: New file.
41484 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41487 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41491 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41492 two-byte sequence errors.
41493 * iconvdata/Makefile (tests): Add bug-iconv8.
41494 * iconvdata/bug-iconv8.c: New file.
41497 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41500 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41503 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41504 (dummy_getcfa): New function.
41505 (init): Get _Unwind_GetCFA address, use dummy if not found.
41506 (backtrace_helper): In recursion check, also check whether CFA changes.
41507 (__backtrace): Completely initialize arg.
41509 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41510 storing incomplete byte sequence in state object. Avoid testing for
41511 guaranteed too small input if we know there is enough data available.
41513 2011-05-11 Andreas Schwab <schwab@redhat.com>
41515 * Makeconfig (+link-pie): Indent.
41516 * Rules (binaries-pie): Define if $(have-fpie) and
41518 (binaries-shared): Also filter out $(binaries-pie).
41519 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41520 * nscd/Makefile (others-pie): Add nscd.
41521 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41522 ($(objpfx)nscd): Remove command override.
41523 * login/Makefile (others-pie): Add pt_chown.
41524 ($(objpfx)pt_chown): Remove command override.
41525 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41526 remove command overrides.
41528 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41530 * libio/tst_putwc.c: Fix error messages.
41533 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41534 currently writing and seek to current position when not.
41535 * libio/Makefile (tests): Add bug-fclose1.
41536 * libio/bug-fclose1.c: New file.
41538 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41541 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41542 don't set DF_1_NODELETE here.
41543 (do_lookup_x): When entering new entry test for copy relocation
41544 and if necessary set DF_1_NODELETE flag.
41545 * elf/tst-unique4.cc: New file.
41546 * elf/tst-unique4.h: New file.
41547 * elf/tst-unique4lib.cc: New file.
41548 * elf/Makefile: Add rules to build and run tst-unique4.
41549 Patch by Piotr Bury <pbury@goahead.com>.
41551 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41554 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41557 * misc/mntent_r.c (addmntent): Flush the stream after the output
41560 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41561 (is_trusted_path_normalize): Skip initial colon. Append slash
41562 to empty buffer. Duplicate is_trusted_path code but allow
41563 constructed patch to be prefix.
41564 (is_dst): Allow $ORIGIN followed by /.
41565 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41566 Correct testing of result of is_trusted_path_normalize
41567 (decompose_rpath): Fix warning.
41569 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41572 * grp/initgroups.c (internal_getgrouplist): When we found the service
41573 list through the initgroups entry in nsswitch.conf do not always
41574 continue on a successful lookup. Don't always use the
41575 __nss_group_database value if it is set.
41576 * nss/nsswitch.conf (initgroups): Change action for successful db
41577 lookup to continue for compatibility.
41579 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41582 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41584 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41586 * iconvdata/tst-tables.sh: Likewise.
41587 * iconvdata/cp770.c: New file.
41588 * iconvdata/cp771.c: New file.
41589 * iconvdata/cp772.c: New file.
41590 * iconvdata/cp773.c: New file.
41591 * iconvdata/cp774.c: New file.
41592 * iconvdata/testdata/CP770: New file.
41593 * iconvdata/testdata/CP770..UTF8: New file.
41594 * iconvdata/testdata/CP771: New file.
41595 * iconvdata/testdata/CP771..UTF8: New file.
41596 * iconvdata/testdata/CP772: New file.
41597 * iconvdata/testdata/CP772..UTF8: New file.
41598 * iconvdata/testdata/CP773: New file.
41599 * iconvdata/testdata/CP773..UTF8: New file.
41600 * iconvdata/testdata/CP774: New file.
41601 * iconvdata/testdata/CP774..UTF8: New file.
41603 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41605 * iconvdata/gen-8bit-gap.sh: Likewise.
41606 * iconvdata/gen-8bit.sh: Likewise.
41608 * locale/iso-639.def: Add ary entry.
41611 * locale/C-translit.h.in: Add U20A1 transliteration.
41614 * locale/iso-639.def: Add wae entry.
41615 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41618 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41622 * locale/C-translit.h.in: Add entry for U20B9.
41623 Patch by pravin.d.s@gmail.com.
41625 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41628 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41629 ENAMETOOLONG use generic getcwd.
41630 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41631 in rtld. Use *stat64.
41632 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41633 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41634 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41635 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41636 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41637 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41638 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41639 __fstatat64 macros.
41640 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41641 * dirent/rewinddir.c: Add libc_hidden_def.
41642 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41643 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41645 * include/dirent.h (__alloc_dir): Add flags parameter.
41646 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41647 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41649 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41650 from fdopendir if O_CLOEXEC is already set.
41652 2011-03-15 Alan Modra <amodra@gmail.com>
41654 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41655 l_tls_firstbyte_offset non-zero. Save padding offset in
41656 l_tls_firstbyte_offset for later use.
41657 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41658 freeing static tls block.
41660 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41662 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41663 where #ifdef was intended. The intent is to prevent ARG_MAX from
41664 being defined by the kernel headers.
41666 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41669 * resolv/resolv.h: Define RES_NOTLDQUERY.
41670 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41671 no-tld-query and set RES_NOTLDQUERY.
41672 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41673 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41674 modern BIND to search name as TLD unless forbidden.
41676 2011-05-07 Petr Baudis <pasky@suse.cz>
41677 Ulrich Drepper <drepper@gmail.com>
41680 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41681 (is_trusted_path): ...to here.
41682 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41683 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41684 using is_trusted_path_normalize() in setuid scripts.
41686 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41688 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41689 __BEGIN/__END_DECLS.
41691 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41694 NSS_STATUS_NOTFOUND if no record was found.
41696 2011-05-05 Andreas Schwab <schwab@redhat.com>
41698 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41699 (headers-not-in-tirpc): Remove rpc/netdb.h
41700 * resolv/netdb.h: Revert last change.
41702 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41704 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41705 circular dependency between libgcc.a and libc.a.
41707 2011-05-05 Andreas Schwab <schwab@redhat.com>
41709 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41710 * nis/Makefile: Don't install rpcsvc/*.
41711 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41712 instead of <rpc/types.h>.
41713 (MAXHOSTNAMELEN): Define.
41715 2011-05-03 Andreas Schwab <schwab@redhat.com>
41717 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41719 2011-04-28 Maciej Babinski <mbabinski@google.com>
41722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41723 gethostbyname4_r when IPv6 results are possible.
41725 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41728 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41729 _PC_PIPE_BUF handling.
41731 2011-04-30 Bruno Haible <bruno@clisp.org>
41734 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41735 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41737 * inet/getnameinfo.c (getnameinfo): Likewise.
41739 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41741 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41742 to groups setting in database lookup.
41743 * nss/nsswitch.conf: Add initgroups entry.
41745 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41748 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41750 Patch by Eric Blake <eblake@redhat.com>.
41752 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41754 * sunrpc/Makefile (need-export-routines): Add svc_run.
41755 (routines): Remove svc_run.
41756 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41757 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41758 * sunrpc/svc_run.c (svc_run): Likewise.
41759 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41761 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41764 problem in reallocation in last patch.
41766 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41768 * sunrpc/Makefile: Move inclusion of Rules.
41770 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41772 * nss/nss_files/files-initgroups.c: New file.
41773 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41774 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41775 _nss_files_initgroups_dyn.
41777 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41779 * elf/elf.h (R_ARM_IRELATIVE): Define.
41781 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41783 * po/ru.po: Update from translation team.
41785 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41787 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41790 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41793 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41794 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41795 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41796 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41799 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41801 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41807 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41812 * stdlib/bug-getcontext.c: New file.
41813 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41815 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41817 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41818 instructions into .machine "z9-109".
41819 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41820 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41822 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41824 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41825 between environment variables and auxiliary vector.
41827 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41829 * Makefile: Add rules to build linkobj/libc.so.
41830 * include/libc-symbols.h: Define libc_hidden_nolink.
41831 * include/rpc/auth.h: Mark functions which are to be hidden.
41832 * include/rpc/auth_des.h: Likewise.
41833 * include/rpc/auth_unix.h: Likewise.
41834 * include/rpc/clnt.h: Likewise.
41835 * include/rpc/des_crypt.h: Likewise.
41836 * include/rpc/key_prot.h: Likewise.
41837 * include/rpc/pmap_clnt.h: Likewise.
41838 * include/rpc/pmap_prot.h: Likewise.
41839 * include/rpc/pmap_rmt.h: Likewise.
41840 * include/rpc/rpc_msg.h: Likewise.
41841 * include/rpc/svc.h: Likewise.
41842 * include/rpc/svc_auth.h: Likewise.
41843 * include/rpc/xdr.h: Likewise.
41844 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41845 * nss/Makefile: Likewise.
41846 * sunrpc/Makefile: Don't install headers. Build library with normal
41847 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41848 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41849 for the compat linking library. Remove use of INTDEF/INTUSE.
41850 * sunrpc/auth_none.c: Likewise.
41851 * sunrpc/auth_unix.c: Likewise.
41852 * sunrpc/authdes_prot.c: Likewise.
41853 * sunrpc/authuxprot.c: Likewise.
41854 * sunrpc/clnt_gen.c: Likewise.
41855 * sunrpc/clnt_perr.c: Likewise.
41856 * sunrpc/clnt_raw.c: Likewise.
41857 * sunrpc/clnt_simp.c: Likewise.
41858 * sunrpc/clnt_tcp.c: Likewise.
41859 * sunrpc/clnt_udp.c: Likewise.
41860 * sunrpc/clnt_unix.c: Likewise.
41861 * sunrpc/des_crypt.c: Likewise.
41862 * sunrpc/des_soft.c: Likewise.
41863 * sunrpc/get_myaddr.c: Likewise.
41864 * sunrpc/key_call.c: Likewise.
41865 * sunrpc/key_prot.c: Likewise.
41866 * sunrpc/netname.c: Likewise.
41867 * sunrpc/pm_getmaps.c: Likewise.
41868 * sunrpc/pm_getport.c: Likewise.
41869 * sunrpc/pmap_clnt.c: Likewise.
41870 * sunrpc/pmap_prot.c: Likewise.
41871 * sunrpc/pmap_prot2.c: Likewise.
41872 * sunrpc/pmap_rmt.c: Likewise.
41873 * sunrpc/publickey.c: Likewise.
41874 * sunrpc/rpc_cmsg.c: Likewise.
41875 * sunrpc/rpc_common.c: Likewise.
41876 * sunrpc/rpc_dtable.c: Likewise.
41877 * sunrpc/rpc_prot.c: Likewise.
41878 * sunrpc/rpc_thread.c: Likewise.
41879 * sunrpc/rtime.c: Likewise.
41880 * sunrpc/svc.c: Likewise.
41881 * sunrpc/svc_auth.c: Likewise.
41882 * sunrpc/svc_authux.c: Likewise.
41883 * sunrpc/svc_raw.c: Likewise.
41884 * sunrpc/svc_run.c: Likewise.
41885 * sunrpc/svc_simple.c: Likewise.
41886 * sunrpc/svc_tcp.c: Likewise.
41887 * sunrpc/svc_udp.c: Likewise.
41888 * sunrpc/svc_unix.c: Likewise.
41889 * sunrpc/svcauth_des.c: Likewise.
41890 * sunrpc/xcrypt.c: Likewise.
41891 * sunrpc/xdr.c: Likewise.
41892 * sunrpc/xdr_array.c: Likewise.
41893 * sunrpc/xdr_float.c: Likewise.
41894 * sunrpc/xdr_intXX_t.c: Likewise.
41895 * sunrpc/xdr_mem.c: Likewise.
41896 * sunrpc/xdr_rec.c: Likewise.
41897 * sunrpc/xdr_ref.c: Likewise.
41898 * sunrpc/xdr_sizeof.c: Likewise.
41899 * sunrpc/xdr_stdio.c: Likewise.
41901 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41904 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41905 * sysdeps/ia64/dl-tls.h: Likewise.
41906 * sysdeps/powerpc/dl-tls.h: Likewise.
41907 * sysdeps/s390/dl-tls.h: Likewise.
41908 * sysdeps/sh/dl-tls.h: Likewise.
41909 * sysdeps/sparc/dl-tls.h: Likewise.
41910 * sysdeps/x86_64/dl-tls.h: Likewise.
41911 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41913 2011-03-14 Andreas Schwab <schwab@redhat.com>
41915 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41916 rpath element also skip the following colon.
41917 (expand_dynamic_string_token): Add is_path parameter and pass
41918 down to DL_DST_REQUIRED and _dl_dst_substitute.
41919 (decompose_rpath): Call expand_dynamic_string_token with
41920 non-zero is_path. Ignore empty rpaths.
41921 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41924 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41929 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41932 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41933 Patch by Filipe David Manana <fdmanana@apache.org>.
41935 2011-04-07 Andreas Schwab <schwab@redhat.com>
41937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41938 Maintain aligned stack.
41939 (CHECK_RSP): Remove unused macro.
41941 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41943 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41946 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41948 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41950 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41952 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41955 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41956 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41957 * sysdeps/x86_64/memmove.c: New file.
41958 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41959 (memcpy): Renamed to ...
41960 (__new_memcpy): This.
41961 (memcpy): Provide GLIBC_2_14 memcpy.
41962 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41963 (memcpy): Provide GLIBC_2_2_5 memcpy.
41965 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41968 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41970 2011-03-30 Andreas Schwab <schwab@redhat.com>
41972 * misc/syncfs.c: New file.
41973 * misc/Makefile (routines): Add syncfs.
41974 * posix/unistd.h: Declare syncfs.
41975 * sysdeps/unix/syscalls.list: Add syncfs.
41977 2011-04-01 Andreas Schwab <schwab@redhat.com>
41979 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41986 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41989 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41993 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41999 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42000 sync_file_range.c with -fexceptions.
42001 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42002 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42003 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42004 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42005 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42006 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42008 sync_file_range as cancellation point
42009 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42010 now a wrapper around __call_sync_file_range with cancellation handling.
42011 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42012 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42013 function name to __call_sync_file_range.
42014 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42015 Add call_sync_file_range.
42017 2011-04-01 Andreas Schwab <schwab@redhat.com>
42019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42022 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42024 * iconv/iconv.h: Fix typo in comment.
42025 * io/fcntl.h: Likewise.
42026 * libio/stdio.h: Likewise.
42027 * posix/spawn.h: Likewise.
42028 * posix/unistd.h: Likewise.
42029 * stdlib/stdlib.h: Likewise.
42030 * time/time.h: Likewise.
42031 * wcsmbs/wchar.h: Likewise.
42033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42034 open_by_handle): Add.
42035 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42036 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42037 Augment a few comments.
42038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42043 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42046 * io/fcntl.h (AT_EMPTY_PATH): Define.
42048 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42050 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42051 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42052 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42054 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42055 * Versions.def: Add GLIBC_2.14.
42056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42059 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42061 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42063 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42065 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42068 * string/test-strncmp.c (do_page_test): New function.
42069 (check2): Likewise.
42070 (test_main): Call check2.
42071 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42073 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42077 Handle cache information in CPU leaf 4.
42078 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42080 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42083 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42084 character representation.
42085 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42087 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42089 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42090 END(__isnan) to END(__isnanf) to match function entry point/label
42091 EALIGN(__isnanf,...).
42093 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42095 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42097 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42100 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42101 copy from the symbol referenced in the relocation to initialize the
42103 Patch by Piotr Bury <pbury@goahead.com>.
42104 * elf/Makefile: Add rules to build and tst-unique3.
42105 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42106 * elf/tst-unique3.cc: New file.
42107 * elf/tst-unique3.h: New file.
42108 * elf/tst-unique3lib.cc: New file.
42109 * elf/tst-unique3lib2.cc: New file.
42111 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42113 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42115 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42116 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42119 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42121 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42122 to-be-loaded object along a path to loader is ld.so.
42124 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42125 Ulrich Drepper <drepper@gmail.com>
42127 * sysdeps/x86_64/memset.S: After aligning destination, code
42128 branches to different locations depending on the value of
42129 misalignment, when multiarch is enabled. Fix this.
42131 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42133 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42134 Set _x86_64_preferred_memory_instruction for AMD processsors.
42135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42136 Set bit_Prefer_SSE_for_memop for AMD processors.
42138 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42140 * libio/fmemopen.c (fmemopen): Optimize a bit.
42142 2011-03-03 Andreas Schwab <schwab@redhat.com>
42144 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42146 2011-03-03 Roland McGrath <roland@redhat.com>
42148 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42150 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42152 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42153 __bzero_ultra1 instead of __memset_ultra1.
42155 2011-02-23 Andreas Schwab <schwab@redhat.com>
42156 Ulrich Drepper <drepper@gmail.com>
42159 * include/link.h (struct link_map): Add l_orig_initfini.
42160 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42161 returning unsuccessfully.
42162 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42163 close of a file loaded at startup, restore the original l_initfini
42165 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42166 list, store the pointer.
42167 * elf/Makefile ($(objpfx)noload-mem): New rule.
42168 (noload-ENV): Define.
42169 (tests): Add $(objpfx)noload-mem.
42170 * elf/noload.c: Include <memcheck.h>.
42171 (main): Call mtrace. Close all opened handles.
42173 2011-02-17 Andreas Schwab <schwab@redhat.com>
42176 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42177 dependencies are missing.
42179 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42181 Fix __if_freereq crash: Unlike the generic version which uses free,
42183 * sysdeps/mach/hurd/ifreq.h: New file.
42185 2011-01-27 Petr Baudis <pasky@suse.cz>
42186 Ulrich Drepper <drepper@gmail.com>
42189 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42190 to extend_alloca().
42191 * stdio-common/bug23.c: New file.
42192 * stdio-common/Makefile (tests): Add bug23.
42194 2010-09-28 Andreas Schwab <schwab@redhat.com>
42195 Ulrich Drepper <drepper@gmail.com>
42198 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42199 before performing relro protection. At old place add assertion
42200 to make sure nothing changed.
42202 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42203 Glauber de Oliveira Costa <glommer@gmail.com>
42205 * elf/elf.h: Add new ARM TLS relocs.
42207 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42210 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42212 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42214 * sysdeps/wordsize-64/tst-writev.c: New file.
42216 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42218 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42219 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42220 insns in _dl_start to prevent a TOC reference before relocs are
42223 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42226 * Makeconfig: Remove RANLIB definition.
42227 * Makerules: Don't use RANLIB.
42228 * aclocal.m4: Remove ranlib test.
42229 * configure.in: No need to check for ranlib.
42230 * elf/rtld-Rules: Don't use RANLIB.
42232 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42234 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42236 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42237 inclusion protection macro.
42239 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42240 SIGRTMIN and SIGRTMAX and print information in that case only when
42241 SIGRTMIN is defined.
42243 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42245 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42246 arginfo fn returning -1.
42248 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42249 and thousands string is zero terminated.
42251 2011-02-03 Andreas Schwab <schwab@redhat.com>
42253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42254 sysdeps/unix/sysv/linux/bits/socket.h.
42256 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42258 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42259 (__CPU_COUNT): Remove old macros.
42260 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42261 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42262 (__CPU_ALLOC, __CPU_FREE): Add macros.
42263 (__sched_cpualloc, __sched_cpufree): Add declarations.
42265 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42267 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42268 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42269 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42270 (readdhstai): Return value of addhstaiX call.
42271 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42272 (addgrbyX): Return value returned by cache_addgr.
42273 (readdgrbyname): Return value returned by addgrbyX.
42274 (readdgrbygid): Likewise.
42275 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42276 (addpwbyX): Return value returned by cache_addpw.
42277 (readdpwbyname): Return value returned by addhstbyX.
42278 (readdpwbyuid): Likewise.
42279 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42280 (addservbyX): Return value returned by cache_addserv.
42281 (readdservbyname): Return value returned by addservbyX:
42282 (readdservbyport): Likewise.
42283 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42284 (addhstbyX): Return value returned by cache_addhst.
42285 (readdhstbyname): Return value returned by addhstbyX.
42286 (readdhstbyaddr): Likewise.
42287 (readdhstbynamev6): Likewise.
42288 (readdhstbyaddrv6): Likewise.
42289 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42290 (readdinitgroups): Return value returned by addinitgroupsX.
42291 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42292 (prune_cache): Keep track of timeout value of re-added entries.
42293 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42294 * nscd/nscd.h: Adjust prototypes of readd* functions.
42296 2011-02-04 Roland McGrath <roland@redhat.com>
42298 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42299 (nis_stats): Likewise.
42300 * nis/nis_modify.c (nis_modify): Likewise.
42301 * nis/nis_remove.c (nis_remove): Likewise.
42302 * nis/nis_add.c (nis_add): Likewise.
42304 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42306 * posix/fnmatch_loop.c: Add some consts.
42308 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42310 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42313 * config.make.in (config-cflags-novzeroupper): Define.
42314 * configure.in: Substitute libc_cv_cc_novzeroupper.
42315 * elf/Makefile (AVX-CFLAGS): Define.
42316 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42317 (CFLAGS-tst-auditmod4a.c): Likewise.
42318 (CFLAGS-tst-auditmod4b.c): Likewise.
42319 (CFLAGS-tst-auditmod6b.c): Likewise.
42320 (CFLAGS-tst-auditmod6c.c): Likewise.
42321 (CFLAGS-tst-auditmod7b.c): Likewise.
42322 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42324 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42326 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42327 function to the callback.
42328 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42330 2011-02-02 Andreas Schwab <schwab@redhat.com>
42332 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42335 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42338 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42340 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42342 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42345 * elf/Makefile: Add rules to build and run new test.
42346 * elf/tst-initorder.c: New file.
42347 * elf/tst-initorder.exp: New file.
42348 * elf/tst-initordera1.c: New file.
42349 * elf/tst-initordera2.c: New file.
42350 * elf/tst-initordera3.c: New file.
42351 * elf/tst-initordera4.c: New file.
42352 * elf/tst-initorderb1.c: New file.
42353 * elf/tst-initorderb2.c: New file.
42354 * elf/tst-order-a1.c: New file.
42355 * elf/tst-order-a2.c: New file.
42356 * elf/tst-order-a3.c: New file.
42357 * elf/tst-order-a4.c: New file.
42358 * elf/tst-order-b1.c: New file.
42359 * elf/tst-order-b2.c: New file.
42360 * elf/tst-order-main.c: New file.
42361 New test case by George Gensure <werkt0@gmail.com>.
42363 2010-10-01 Andreas Schwab <schwab@redhat.com>
42365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42366 decoding ACE if AI_CANONIDN.
42368 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42370 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42372 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42374 * version.h (RELEASE): Bump for 2.13 release.
42375 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42377 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42381 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42384 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42388 * posix/getconf.c: Update copyright year.
42389 * catgets/gencat.c: Likewise.
42390 * csu/version.c: Likewise.
42391 * debug/catchsegv.sh: Likewise.
42392 * debug/xtrace.sh: Likewise.
42393 * elf/ldconfig.c: Likewise.
42394 * elf/ldd.bash.in: Likewise.
42395 * elf/sprof.c (print_version): Likewise.
42396 * iconv/iconv_prog.c: Likewise.
42397 * iconv/iconvconfig.c: Likewise.
42398 * locale/programs/locale.c: Likewise.
42399 * locale/programs/localedef.c: Likewise.
42400 * malloc/memusage.sh: Likewise.
42401 * malloc/mtrace.pl: Likewise.
42402 * nscd/nscd.c (print_version): Likewise.
42403 * nss/getent.c: Likewise.
42405 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42406 PF_CAIF, and PF_ALG.
42407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42409 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42411 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42412 (modules-names): Use them.
42413 (ifunc-test-modules, ifunc-pie-tests): Define.
42414 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42415 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42416 (test-extras): Likewise.
42417 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42418 $(compile-command.c).
42419 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42420 (all-built-dso): Define.
42421 (check-textrel.out, check-execstack.out): Depend on it.
42423 * configure.in: Don't override --enable-multi-arch.
42425 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42428 * nscd/hstcache.c (tryagain): Define.
42429 (cache_addhst): Return tryagain not notfound for temporary errors.
42430 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42433 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42436 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42437 to make the syscall.
42438 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42441 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42442 and fall back to matching as normal character if the string ends before
42443 the matching ']' is found. This is what POSIX requires.
42444 * posix/testfnm.c: Adjust test result.
42445 * posix/globtest.sh: Adjust test result. Add new test.
42446 * posix/tst-fnmatch.input: Likewise.
42447 * posix/tst-fnmatch2.c: Add new test.
42449 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42451 * elf/Makefile (check-execstack): Revert last change. Depend on
42453 (check-execstack.h): New target.
42454 (generated): Add check-execstack.h.
42455 * elf/check-execstack.c: Include "check-execstack.h".
42456 (main): Revert last change.
42457 (handle_file): Return zero if GNU_STACK is absent and
42458 DEFAULT_STACK_PERMS doesn't include PF_X.
42460 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42462 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42463 in child fails because the descriptor is already closed.
42464 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42465 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42469 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42473 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42474 temporary buffer used to handle multi lookups locally.
42475 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42477 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42479 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42482 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42484 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42485 alignment for SSE2.
42487 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42490 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42491 characters. When rounding increased number of integer digits recompute
42493 * stdio-common/tst-grouping.c: New file.
42494 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42496 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42498 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42499 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42501 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42503 * bits/select.h: Likewise.
42505 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42507 * po/ja.po: Update from translation team.
42509 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42512 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42513 implementation just like for lxstat, fxstatat, et al.
42515 2010-12-27 Jim Meyering <meyering@redhat.com>
42518 * posix/regexec.c (build_trtable): Return failure indication upon
42519 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42521 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42524 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42525 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42526 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42527 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42530 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42533 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42534 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42536 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42538 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42539 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42540 script has SORT_BY_INIT_PRIORITY.
42541 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42542 NO_CTORS_DTORS_SECTIONS is defined.
42543 * elf/soinit.c: Likewise.
42544 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42545 NO_CTORS_DTORS_SECTIONS is defined.
42546 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42547 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42548 * sysdeps/sh/init-first.c: Likewise.
42549 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42551 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42553 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42554 always use the slow path.
42556 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42558 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42559 similar rule which adds the sysdep directories to the header search in
42560 order to pick up the correct platform stackinfo.h.
42561 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42562 perform test if it is, otherwise return successfully without testing.
42563 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42564 DEFAULT_STACK_PERMS define in stackinfo.h.
42565 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42566 defined in stackinfo.h.
42567 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42568 DEFAULT_STACK_PERMS defined in stackinfo.h.
42569 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42570 * sysdeps/ia64/stackinfo.h: Likewise.
42571 * sysdeps/s390/stackinfo.h: Likewise.
42572 * sysdeps/sh/stackinfo.h: Likewise.
42573 * sysdeps/sparc/stackinfo.h: Likewise.
42574 * sysdeps/x86_64/stackinfo.h: Likewise.
42575 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42576 PF_X for powerpc64. Retain PF_X for powerpc32.
42578 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42580 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42582 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42583 GETDENTS_64BIT_ALIGNED.
42585 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42587 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42589 2010-12-10 Andreas Schwab <schwab@redhat.com>
42591 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42594 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42595 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42597 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42598 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42600 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42603 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42606 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42608 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42610 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42612 * po/it.po: Update from translation team.
42614 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42619 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42621 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42623 2010-11-24 Andreas Schwab <schwab@redhat.com>
42625 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42627 (gaih_getanswer_slice): Likewise.
42629 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42633 2010-05-31 Petr Baudis <pasky@suse.cz>
42636 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42637 silently even in the chroot mode.
42639 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42641 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42642 last patch a bit. Pretty printing
42644 2010-05-31 Petr Baudis <pasky@suse.cz>
42647 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42648 initialization of skip_initgroups_dyn.
42650 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42653 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42655 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42657 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42659 2010-11-11 Andreas Schwab <schwab@redhat.com>
42661 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42662 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42663 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42664 ($(objpfx)tst-fnmatch-mem): New rule.
42665 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42666 * posix/tst-fnmatch.c (main): Call mtrace.
42668 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42671 Support Intel processor model 6 and model 0x2c.
42673 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42678 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42681 * string/test-strncasecmp.c (check_result): New function.
42682 (do_one_test): Use it.
42683 (check1): New function.
42684 (test_main): Use it.
42685 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42686 Support strcasecmp and strncasecmp.
42688 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42691 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42692 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42694 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42696 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42700 * sysdeps/x86_64/multiarch/bzero.S: New file.
42701 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42702 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42703 * sysdeps/x86_64/multiarch/memset.S: New file.
42704 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42706 Set bit_Prefer_SSE_for_memop for Intel processors.
42707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42709 (index_Prefer_SSE_for_memop): Define.
42710 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42712 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42715 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42717 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42720 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42721 (__x86_64_raw_data_cache_size_half): Likewise.
42722 (__x86_64_raw_shared_cache_size): Likewise.
42723 (__x86_64_raw_shared_cache_size_half): Likewise.
42725 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42726 (__x86_64_raw_data_cache_size_half): Likewise.
42727 (__x86_64_raw_shared_cache_size): Likewise.
42728 (__x86_64_raw_shared_cache_size_half): Likewise.
42729 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42730 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42731 and __x86_64_raw_shared_cache_size_half. Round
42732 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42733 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42734 to multiple of 256 bytes.
42736 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42740 of inacessible symlinks. Verify result of symlink before returning it.
42741 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42742 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42744 2010-10-28 Erich Ritz <erichritz@gmail.com>
42746 * math/math.h (isinf): Fix typo in comment.
42748 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42750 * po/da.po: Update from translation team.
42752 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42754 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42755 is added to the list.
42757 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42758 Ulrich Drepper <drepper@gmail.com>
42760 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42761 the global list here. Move code to...
42762 (_dl_add_to_namespace_list): ...here. New function.
42763 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42764 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42765 * elf/dl-load.c (lose): Don't remove the element from the list.
42766 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42767 (_dl_map_object): Likewise.
42769 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42772 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42773 into all bytes of SSE register.
42774 Patch by Richard Li <richardpku@gmail.com>.
42776 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42779 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42782 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42784 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42785 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42786 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42787 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42792 2010-10-22 Andreas Schwab <schwab@redhat.com>
42794 * include/dlfcn.h (__RTLD_SECURE): Define.
42795 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42796 mode & __RTLD_SECURE instead.
42797 (open_path): Rename preloaded parameter to secure.
42798 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42799 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42800 * elf/dl-deps.c (openaux): Likewise.
42801 * elf/rtld.c (struct map_args): Remove is_preloaded.
42802 (map_doit): Don't use it.
42803 (dl_main): Likewise.
42804 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42805 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42807 2010-09-09 Andreas Schwab <schwab@redhat.com>
42809 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42810 (sysd-rules-targets): Remove duplicates.
42811 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42812 rtld-%.$o dependency.
42814 2010-10-18 Andreas Schwab <schwab@redhat.com>
42816 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42817 _dl_map_object do it.
42819 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42821 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42822 fast fma builtins, define the macros in the C99 standard.
42823 (FP_FAST_FMAF): Likewise.
42824 (FP_FAST_FMAL): Likewise.
42825 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42827 * bits/mathdef.h: Update copyright year.
42828 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42830 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42832 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42833 builtins, define the macros in the C99 standard.
42834 (FP_FAST_FMAF): Likewise.
42835 (FP_FAST_FMAL): Likewise.
42836 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42838 (FP_FAST_FMAF): Likewise.
42840 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42843 * math/libm-test.inc (fma_test): Some new testcases.
42844 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42846 y and infinite z. Do multiplication by C already in long double.
42847 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42849 y and infinite z. Do bitwise or of inexact bit into u.d.
42850 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42851 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42852 * sysdeps/i386/fpu/s_fma.S: Removed.
42853 * sysdeps/i386/fpu/s_fmal.S: Removed.
42855 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42858 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42860 computation is not scheduled after fetestexcept. Fix value
42861 of minimum denormal long double.
42863 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42866 * math/libm-test.inc (fma_test): Add some more tests.
42867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42870 2010-10-15 Andreas Schwab <schwab@redhat.com>
42872 * scripts/data/localplt-s390-linux-gnu.data: New file.
42873 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42875 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42878 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42879 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42881 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42883 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42885 if one of x and y is very large and the other is subnormal.
42886 * sysdeps/s390/fpu/s_fmaf.c: New file.
42887 * sysdeps/s390/fpu/s_fma.c: New file.
42888 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42889 * sysdeps/powerpc/fpu/s_fma.S: New file.
42890 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42891 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42892 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42894 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42897 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42900 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42901 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42902 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42903 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42904 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42905 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42907 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42910 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42911 * posix/bug-regex31.input: Add test case.
42913 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42915 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42916 * posix/bug-regex31.input: New file.
42919 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42920 (parse_sub_exp): Fix last change, use postorder.
42922 * posix/bug-regex31.c: New file.
42923 * posix/Makefile: Add rules to build and run bug-regex31.
42925 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42928 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42931 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42932 to have entries in sys_siglist.
42935 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42938 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42941 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42942 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42943 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42944 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42945 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42946 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42947 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42948 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42949 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42950 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42951 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42952 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42953 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42954 * math/ftestexcept.c (fetestexcept): Likewise.
42955 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42956 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42957 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42958 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42959 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42960 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42961 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42963 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42966 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42969 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42971 * string/bug-strstr1.c: New file.
42972 * string/Makefile: Add rules to build and run bug-strstr1.
42974 2010-10-05 Eric Blake <eblake@redhat.com>
42977 * string/str-two-way.h (two_way_long_needle): Always clear memory
42978 when skipping input due to the shift table.
42980 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42983 * malloc/mcheck.c: Handle large requests.
42986 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42987 for strncmp and strncasecmp.
42988 * string/stratcliff.c: Add tests for strcmp and strncmp.
42989 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42991 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42993 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42996 2010-09-30 Andreas Jaeger <aj@suse.de>
42998 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42999 (CGROUP_SUPER_MAGIC): Define.
43000 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43001 Handle btrfs and cgroup file systems.
43002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43005 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43007 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43008 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43010 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43013 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43014 trying to locate the ELF header.
43016 2010-09-27 Andreas Schwab <schwab@redhat.com>
43019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43020 Mask out sign-bit copies when constructing f_fsid.
43022 2010-09-24 Petr Baudis <pasky@suse.cz>
43024 * debug/stack_chk_fail_local.c: Add missing licence exception.
43025 * debug/warning-nop.c: Likewise.
43027 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43029 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43030 implementing getdents64 using getdents syscall, set d_type if
43031 __ASSUME_GETDENTS32_D_TYPE.
43033 2010-09-16 Andreas Schwab <schwab@redhat.com>
43035 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43036 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43038 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43041 * posix/unistd.h: Undo change of feature selection for ftruncate from
43044 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43046 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43049 2010-09-20 Andreas Schwab <schwab@redhat.com>
43051 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43053 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43055 2010-09-14 Andreas Schwab <schwab@redhat.com>
43057 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43058 variables after CHECK_SP call.
43059 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43061 2010-09-13 Andreas Schwab <schwab@redhat.com>
43062 Ulrich Drepper <drepper@redhat.com>
43064 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43065 re-relocationg ld.so.
43066 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43067 _dl_init_paths call.
43068 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43071 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43073 * resolv/res_init.c (__res_vinit): Count the default server we added.
43075 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43076 Ulrich Drepper <drepper@redhat.com>
43079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43080 (____longjmp_chk): Use %ebx for saving value across system call.
43083 2010-09-06 Andreas Schwab <schwab@redhat.com>
43085 * manual/Makefile: Don't mix pattern rules with normal rules.
43087 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43089 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43091 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43092 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43093 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43094 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43098 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43101 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43102 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43104 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43106 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43107 * sysdeps/x86_64/addmul_1.S: Likewise.
43108 * sysdeps/x86_64/lshift.S: Likewise.
43109 * sysdeps/x86_64/mul_1.S: Likewise.
43110 * sysdeps/x86_64/rshift.S: Likewise.
43111 * sysdeps/x86_64/sub_n.S: Likewise.
43112 * sysdeps/x86_64/submul_1.S: Likewise.
43114 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43116 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43117 Define __sched_param instead of SCHED_* and sched_param when
43118 <bits/sched.h> is included with __need_schedparam defined.
43119 * bits/sched.h [__need_schedparam]
43120 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43121 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43122 (__defined_schedparam): Define to 1.
43123 (__sched_param): New structure, identical to sched_param.
43124 (__need_schedparam): Undefine.
43126 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43129 (epoll_create1): Declare.
43131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43133 2010-08-31 Andreas Schwab <schwab@redhat.com>
43136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43137 shifting retval into place.
43139 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43141 * nis/rpcsvc/nis.h: Update copyright notice.
43142 * nis/rpcsvc/nis.x: Likewise.
43143 * nis/rpcsvc/nis_callback.h: Likewise.
43144 * nis/rpcsvc/nis_callback.x: Likewise.
43145 * nis/rpcsvc/nis_object.x: Likewise.
43146 * nis/rpcsvc/nis_tags.h: Likewise.
43147 * nis/rpcsvc/yp.h: Likewise.
43148 * nis/rpcsvc/yp.x: Likewise.
43149 * nis/rpcsvc/ypupd.h: Likewise.
43150 * nis/yp_xdr.c: Likewise.
43151 * nis/ypupdate_xdr.c: Likewise.
43153 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43154 mainly the body of pmap_getport. Add parameters to specify timeouts.
43155 (pmap_getport): Use __libc_rpc_getport.
43156 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43157 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43158 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43160 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43165 2010-08-27 Roland McGrath <roland@redhat.com>
43167 * sysdeps/i386/i686/multiarch/Makefile
43168 (CFLAGS-varshift.c): New variable.
43170 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43172 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43173 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43177 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43179 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43181 * sysdeps/x86_64/strlen.S: Unroll the loop.
43182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43183 strlen-sse2 strlen-sse2-bsf.
43184 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43185 __strlen_no_bsf if bit_Slow_BSF is set.
43186 (__strlen_sse42): Removed.
43187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43188 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43190 2010-08-25 Roland McGrath <roland@redhat.com>
43192 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43193 * sysdeps/x86_64/multiarch/varshift.c: New file.
43194 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43195 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43196 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43197 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43199 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43202 strlen-sse2 strlen-sse2-bsf.
43203 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43204 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43205 (__strlen_sse2): Removed.
43206 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43209 bit_Slow_BSF for Atom.
43210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43211 (index_Slow_BSF): Define.
43212 (HAS_SLOW_BSF): Define.
43214 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43217 * resolv/res_init.c (__res_vinit): When no server address at all
43218 is given default to loopback.
43220 2010-08-24 Roland McGrath <roland@redhat.com>
43222 * configure.in: Remove config-name.h generation.
43223 * configure: Regenerated.
43224 * config-name.in: File removed.
43225 * scripts/config-uname.sh: New file.
43226 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43227 ($(objdir)config-name.h): New target.
43229 * sunrpc/rpc_parse.h: Avoid nested comment.
43231 2010-08-24 Richard Henderson <rth@redhat.com>
43232 Ulrich Drepper <drepper@redhat.com>
43233 H.J. Lu <hongjiu.lu@intel.com>
43235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43237 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43238 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43239 _mm_alignr_epi8 with _mm_loadu_si128.
43240 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43241 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43242 (__m128i_shift_right): Removed.
43243 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43244 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43245 * sysdeps/x86_64/multiarch/varshift.h: New file.
43246 * sysdeps/x86_64/multiarch/varshift.S: New file.
43248 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43250 * configure.in: Move assembler checks to before sysdep dir checking.
43252 2010-08-20 Petr Baudis <pasky@suse.cz>
43254 * LICENSES: Sync the sunrpc license.
43256 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43258 * sunrpc/auth_des.c: Update copyright notice once again.
43259 * sunrpc/auth_none.c: Likewise.
43260 * sunrpc/auth_unix.c: Likewise.
43261 * sunrpc/authdes_prot.c: Likewise.
43262 * sunrpc/authuxprot.c: Likewise.
43263 * sunrpc/bindrsvprt.c: Likewise.
43264 * sunrpc/clnt_gen.c: Likewise.
43265 * sunrpc/clnt_perr.c: Likewise.
43266 * sunrpc/clnt_raw.c: Likewise.
43267 * sunrpc/clnt_simp.c: Likewise.
43268 * sunrpc/clnt_tcp.c: Likewise.
43269 * sunrpc/clnt_udp.c: Likewise.
43270 * sunrpc/clnt_unix.c: Likewise.
43271 * sunrpc/des_crypt.c: Likewise.
43272 * sunrpc/des_soft.c: Likewise.
43273 * sunrpc/get_myaddr.c: Likewise.
43274 * sunrpc/getrpcport.c: Likewise.
43275 * sunrpc/key_call.c: Likewise.
43276 * sunrpc/key_prot.c: Likewise.
43277 * sunrpc/openchild.c: Likewise.
43278 * sunrpc/pm_getmaps.c: Likewise.
43279 * sunrpc/pm_getport.c: Likewise.
43280 * sunrpc/pmap_clnt.c: Likewise.
43281 * sunrpc/pmap_prot.c: Likewise.
43282 * sunrpc/pmap_prot2.c: Likewise.
43283 * sunrpc/pmap_rmt.c: Likewise.
43284 * sunrpc/rpc/auth.h: Likewise.
43285 * sunrpc/rpc/auth_unix.h: Likewise.
43286 * sunrpc/rpc/clnt.h: Likewise.
43287 * sunrpc/rpc/des_crypt.h: Likewise.
43288 * sunrpc/rpc/key_prot.h: Likewise.
43289 * sunrpc/rpc/netdb.h: Likewise.
43290 * sunrpc/rpc/pmap_clnt.h: Likewise.
43291 * sunrpc/rpc/pmap_prot.h: Likewise.
43292 * sunrpc/rpc/pmap_rmt.h: Likewise.
43293 * sunrpc/rpc/rpc.h: Likewise.
43294 * sunrpc/rpc/rpc_des.h: Likewise.
43295 * sunrpc/rpc/rpc_msg.h: Likewise.
43296 * sunrpc/rpc/svc.h: Likewise.
43297 * sunrpc/rpc/svc_auth.h: Likewise.
43298 * sunrpc/rpc/types.h: Likewise.
43299 * sunrpc/rpc/xdr.h: Likewise.
43300 * sunrpc/rpc_clntout.c: Likewise.
43301 * sunrpc/rpc_cmsg.c: Likewise.
43302 * sunrpc/rpc_common.c: Likewise.
43303 * sunrpc/rpc_cout.c: Likewise.
43304 * sunrpc/rpc_dtable.c: Likewise.
43305 * sunrpc/rpc_hout.c: Likewise.
43306 * sunrpc/rpc_main.c: Likewise.
43307 * sunrpc/rpc_parse.c: Likewise.
43308 * sunrpc/rpc_parse.h: Likewise.
43309 * sunrpc/rpc_prot.c: Likewise.
43310 * sunrpc/rpc_sample.c: Likewise.
43311 * sunrpc/rpc_scan.c: Likewise.
43312 * sunrpc/rpc_scan.h: Likewise.
43313 * sunrpc/rpc_svcout.c: Likewise.
43314 * sunrpc/rpc_tblout.c: Likewise.
43315 * sunrpc/rpc_util.c: Likewise.
43316 * sunrpc/rpc_util.h: Likewise.
43317 * sunrpc/rpcinfo.c: Likewise.
43318 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43319 * sunrpc/rpcsvc/key_prot.x: Likewise.
43320 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43321 * sunrpc/rpcsvc/mount.x: Likewise.
43322 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43323 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43324 * sunrpc/rpcsvc/rex.x: Likewise.
43325 * sunrpc/rpcsvc/rstat.x: Likewise.
43326 * sunrpc/rpcsvc/rusers.x: Likewise.
43327 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43328 * sunrpc/rpcsvc/spray.x: Likewise.
43329 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43330 * sunrpc/rtime.c: Likewise.
43331 * sunrpc/svc.c: Likewise.
43332 * sunrpc/svc_auth.c: Likewise.
43333 * sunrpc/svc_authux.c: Likewise.
43334 * sunrpc/svc_raw.c: Likewise.
43335 * sunrpc/svc_run.c: Likewise.
43336 * sunrpc/svc_simple.c: Likewise.
43337 * sunrpc/svc_tcp.c: Likewise.
43338 * sunrpc/svc_udp.c: Likewise.
43339 * sunrpc/svc_unix.c: Likewise.
43340 * sunrpc/svcauth_des.c: Likewise.
43341 * sunrpc/xcrypt.c: Likewise.
43342 * sunrpc/xdr.c: Likewise.
43343 * sunrpc/xdr_array.c: Likewise.
43344 * sunrpc/xdr_float.c: Likewise.
43345 * sunrpc/xdr_mem.c: Likewise.
43346 * sunrpc/xdr_rec.c: Likewise.
43347 * sunrpc/xdr_ref.c: Likewise.
43348 * sunrpc/xdr_sizeof.c: Likewise.
43349 * sunrpc/xdr_stdio.c: Likewise.
43351 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43354 2010-08-19 Andreas Schwab <schwab@redhat.com>
43356 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43358 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43360 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43361 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43362 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43363 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43364 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43365 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43367 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43368 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43369 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43370 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43371 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43372 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43373 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43375 2010-07-26 Anton Blanchard <anton@samba.org>
43377 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43378 * malloc/arena.c (heap_trim): Likewise.
43380 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43382 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43385 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43387 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43389 * sysdeps/i386/elf/Makefile: New file.
43391 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43393 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43394 from fanotify_init.
43395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43398 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43400 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43402 * sysdeps/multiarch/strcmp.S: Likewise.
43404 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43406 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43407 strncase_l-nonascii.
43408 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43409 Add strncase_l-ssse3.
43410 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43411 * sysdeps/x86_64/strcmp.S: Likewise.
43412 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43413 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43414 * sysdeps/x86_64/strncase.S: New file.
43415 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43416 * sysdeps/x86_64/strncase_l.S: New file.
43417 * string/Makefile (strop-tests): Add strncasecmp.
43418 * string/test-strncasecmp.c: New file.
43420 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43423 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43424 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43426 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43428 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43430 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43432 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43433 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43436 2010-05-01 Alan Modra <amodra@gmail.com>
43438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43439 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43440 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43441 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43442 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43443 tidying. Don't tail-call __sigjmp_save for static lib.
43444 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43446 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43447 (CALL_MCOUNT): Add eh info, and nop after bl.
43448 (TAIL_CALL_SYSCALL_ERROR): New macro.
43449 (PSEUDO_RET): Use it.
43450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43451 Correct save location of integer regs and cr.
43452 (_dl_profile_resolve): Correct cr save location. Delete nops
43453 after bl when SHARED. Reduce cfi size a little by better
43454 placement of cfi directives.
43455 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43456 make a stack frame. Instead use parm save area as a temp.
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43458 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43460 Don't make a stack frame for parent, use parm save area.
43461 Increase child stack frame to 112 bytes. Don't save unused reg,
43462 and adjust reg usage. Set up cfi on error recovery and
43463 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43465 (__makecontext): Add dummy nop after jump to exit.
43466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43467 Use correct parm save area and cr save, reduce stack frame.
43468 Correct cfi for possible PSEUDO_RET frame setup.
43469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43470 Branch to local label emitted by PSEUDO_RET rather than
43473 2010-08-12 Andreas Schwab <schwab@redhat.com>
43476 * locale/programs/locale.c (print_assignment): New function.
43477 (show_locale_vars): Use it.
43479 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43481 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43483 (struct statfs64): Likewise.
43484 (_STATFS_F_FLAGS): Define.
43485 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43487 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43488 (ST_VALID): Define locally.
43489 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43490 __statvfs_getflags, use the provided value.
43491 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43492 __ASSUME_STATFS_F_FLAGS.
43494 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43496 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43497 Add sys/fanotify.h.
43498 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43499 fanotify_mask for GLIBC_2.13.
43500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43501 fanotify_init and fanotify_mark.
43502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43503 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43507 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43508 prlimit64 for GLIBC_2.13.
43509 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43515 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43516 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43519 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43522 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43523 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43525 * nss/Makefile: Add rules to build and run tst-nss-test1.
43526 * shlib-versions: Add entry for libnss_test1.
43527 * nss/nss_test1.c: New file.
43528 * nss/tst-nss-test1.c: New file.
43530 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43531 (__nss_configure_lookup): Set appropriate entry in
43532 __nss_configure_lookup to true.
43533 * nss/nsswitch.h: Define enum with indeces of databases in
43534 databases and __nss_database_custom arrays. Declare
43535 __nss_database_custom.
43536 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43537 to avoid using nscd when custom rules are installed.
43538 * nss/getXXbyYY_r.c: Likewise.
43539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43541 * nss/nss_files/files-parse.c: Whitespace fixes.
43543 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43546 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43547 * posix/fnmatch_loop.c: Likewise.
43549 2010-07-17 Andi Kleen <ak@linux.intel.com>
43551 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43552 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43553 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43554 * Versions.def [GLIBC_2.13]: Add.
43556 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43558 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43559 Also fail if tpwd after pwuid call is NULL.
43561 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43563 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43564 when converting to ms.
43566 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43568 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43569 EOPNOTSUPP errors with ENOTTY.
43570 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43571 EOPNOTSUPP errors with ENOTTY.
43573 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43575 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43576 Add strcasecmp_l-ssse3.
43577 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43579 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43580 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43581 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43583 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43585 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43587 * string/Makefile (strop-tests): Add strcasecmp.
43588 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43589 strcasecmp_l-nonascii.
43590 (gen-as-const-headers): Add locale-defines.sym.
43591 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43592 * sysdeps/x86_64/strcasecmp.S: New file.
43593 * sysdeps/x86_64/strcasecmp_l.S: New file.
43594 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43595 * sysdeps/x86_64/locale-defines.sym: New file.
43596 * string/test-strcasecmp.c: New file.
43598 * string/test-strcasestr.c: Test both ends of the range of characters.
43599 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43601 2010-07-29 Roland McGrath <roland@redhat.com>
43604 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43606 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43608 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43611 2010-07-27 Andreas Schwab <schwab@redhat.com>
43613 * manual/memory.texi (Malloc Tunable Parameters): Document
43616 2010-07-26 Roland McGrath <roland@redhat.com>
43619 * configure.in (-fgnu89-inline check): Set and substitute
43620 gnu89_inline, not libc_cv_gnu89_inline.
43621 * configure: Regenerated.
43622 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43624 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43626 * string/test-strnlen.c: New file.
43627 * string/Makefile (strop-tests): Add strnlen.
43628 * string/tester.c (test_strnlen): Add a few more test cases.
43629 * string/tst-strlen.c: Better error reporting.
43631 * sysdeps/x86_64/strnlen.S: New file.
43633 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43635 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43636 lower-latency instructions.
43638 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43640 * string/test-strcasestr.c: New file.
43641 * string/test-strstr.c: New file.
43642 * string/Makefile (strop-tests): Add strstr and strcasestr.
43643 * string/str-two-way.h: Don't undefine MAX.
43644 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43646 2010-07-21 Andreas Schwab <schwab@redhat.com>
43648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43649 strcasestr-nonascii.
43650 (CFLAGS-strcasestr-nonascii.c): Define.
43651 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43653 Remove unused attribute.
43655 2010-07-20 Roland McGrath <roland@redhat.com>
43657 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43658 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43659 ld.so.cache was broken. With it, there is no way to disable dsocaps
43660 like LD_HWCAP_MASK can disable hwcaps.
43662 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43664 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43666 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43668 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43669 call in strcasestr.
43670 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43671 __strcasestr_sse42_nonascii.
43672 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43673 strcasestr-nonascii.c.
43674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43676 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43678 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43679 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43680 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43683 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43685 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43688 2010-07-06 Andreas Schwab <schwab@redhat.com>
43691 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43694 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43697 _PC_PIPE_BUF using F_GETPIPE_SZ.
43699 2010-07-05 Roland McGrath <roland@redhat.com>
43701 * manual/arith.texi (Rounding Functions): Fix rint description
43702 implicit in round description.
43704 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43706 * elf/Makefile: Fix linking for a few tests to make recent linker
43709 2010-06-30 Andreas Schwab <schwab@redhat.com>
43711 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43712 $(common-objpfx)libc_nonshared.a.
43714 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43716 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43717 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43718 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43719 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43720 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43721 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43722 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43723 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43738 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43739 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43740 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43741 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43742 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43743 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43744 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43745 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43746 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43747 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43748 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43749 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43765 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43767 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43768 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43769 * string/memmove.c (memmove): Renamed to ...
43770 (MEMMOVE): ...this. Default to memmove.
43771 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43772 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43775 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43776 mempcpy-ssse3-back memmove-ssse3-back.
43777 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43778 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43780 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43781 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43782 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43783 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43784 * sysdeps/x86_64/multiarch/memmove.c: New file.
43785 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43786 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43787 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43788 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43789 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43792 (index_Fast_Copy_Backward): Define.
43793 (HAS_ARCH_FEATURE): Define.
43794 (HAS_FAST_REP_STRING): Define.
43795 (HAS_FAST_COPY_BACKWARD): Define.
43797 2010-06-21 Andreas Schwab <schwab@redhat.com>
43799 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43800 Restore proper fallback handling.
43802 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43805 * posix/group_member.c (__group_member): Correct checking loop.
43807 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43808 OOM in getpwuid_r correctly. Return error number when the caller
43809 should return, otherwise -1.
43810 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43811 call returning > 0 value.
43812 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43814 2010-06-07 Andreas Schwab <schwab@redhat.com>
43816 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43817 libc_nonshared.a from targets in modules-names.
43819 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43821 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43824 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43827 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43828 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43829 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43831 2010-06-02 Andreas Schwab <schwab@redhat.com>
43833 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43835 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43837 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43846 2010-06-14 Roland McGrath <roland@redhat.com>
43848 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43850 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43852 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43853 __REDIRECT followed by __THROW.
43854 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43855 * posix/getopt.h (getopt): Likewise.
43857 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43859 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43860 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43861 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43863 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43864 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43866 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43870 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43874 Properly check family and model.
43876 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43880 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43882 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43884 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43886 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43889 2010-05-19 Andreas Schwab <schwab@redhat.com>
43891 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43894 2010-05-21 Andreas Schwab <schwab@redhat.com>
43896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43897 and internal_recvmmsg.
43898 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43899 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43900 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43901 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43903 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43904 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43905 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43907 2010-05-20 Andreas Schwab <schwab@redhat.com>
43909 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43911 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43913 POWER7 optimizations.
43914 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43915 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43917 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43919 * version.h: Update for 2.13 development version.
43921 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43923 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43924 exceptions. Return 0.
43926 2010-05-07 Roland McGrath <roland@redhat.com>
43928 * elf/ldconfig.c (main): Add a const.
43930 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43932 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43933 (args_options): Add no-idn option.
43934 (ahosts_keys_int): Add idn_flags to ai_flags.
43935 (parse_option): Handle 'i' option to clear idn_flags.
43937 * malloc/malloc.c (_int_free): Possible race in the most recently
43938 added check. Only act on the data if no current modification
43941 See ChangeLog.17 for earlier changes.